1 2001-01-06 Michael Hayes <mhayes@redhat.com>
3 * rtl.h (print_simple_rtl): New.
4 * print-rtl.c (print_simple_rtl): New.
6 (print_rtx): Disable printing of flags and modes, etc.,
7 if `flag_simple` nonzero.
9 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
11 * function.c (fixup_var_refs): Use push_to_full_sequence where
14 2001-01-05 Michael Meissner <meissner@redhat.com>
16 * flags.h (flag_reorder_blocks): Add declaration.
17 (flag_rename_block): Ditto.
19 2001-01-05 DJ Delorie <dj@redhat.com>
21 * function.c (reorder_blocks): Make sure the flags are all reset
22 before using them to mark blocks, else a second invocation will
23 corrupt the block chain.
24 (reorder_blocks_0): New, resets the flags.
26 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
28 * cse.c (find_comparison_args): Stop if the argument is known to
31 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
33 * config/sh/sh.md (movdf): When splitting load into pair of
34 registers, don't clobber the register used in the address too
37 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
39 * varasm.c (mark_constant_pool): Improve initial comments.
40 (mark_constants): Move marking of constants to mark_constant.
41 (mark_constant): New function to recursively mark all constants
42 referred to by a constant.
44 2001-01-05 Catherine Moore <clm@redhat.com>
46 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
48 2001-01-05 Phil Edwards <pme@sources.redhat.com>
50 * cp/lang-options.h: Bring comment in line with reality.
51 * f/lang-options.h: Likewise.
52 * java/lang-options.h: Likewise.
53 * objc/lang-options.h: Likewise.
54 * ch/lang-options.h: Likewise.
55 * f/g77.texi: And update the manual.
57 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
58 Denis Chertykov <denisc@overta.ru>
60 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
61 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
62 * config/avr/avr.md (all peepholes that request a scratch register):
63 Call it, FAIL the peephole if not safe (in interrupt functions).
65 2001-01-05 Mark Mitchell <mark@codesourcery.com>
67 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
69 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
71 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
73 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
74 BUILT_IN_CREAL and BUILT_IN_CIMAG.
75 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
76 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
77 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
79 * extend.texi: Document these builtins.
81 2001-01-05 Daniel Berlin <dberlin@redhat.com>
83 * c-common.c (lang_get_alias_set): Say we know nothing of
86 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
88 2001-01-05 Bruce Korb <bkorb@gnu.org>
90 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
91 their x* equivalent versions for atexit-less systems
92 * fixinc/fixincl.c(main): do not return from main() on atexit-less
93 systems (or any other system any more).
95 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
97 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
98 output operands. Use arm_hard_register_operand for operand 4.
99 (stmsi_postinc): Similarly.
100 (ldmsi): Use arm_hard_register_operand for opernand 2.
102 * arm.c (arm_hard_register_operand): New function.
103 * arm-protos.h (arm_hard_register_operand): Prototype it.
105 * arm.h (HARD_REGNO_RENAME_OK): Define.
107 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
109 * simplify-rtx.c (cfc_args): add "unordered" field.
110 (check_fold_consts): Set unordered field.
111 (simplify_relational_operation): Simplify the unordered
114 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
117 * emit-rtl.c (try_split): Fix code to mark labels.
118 * jump.c (mark_jump_label): Make global.
119 * rtl.h (mark_jump_label): Declare.
121 * predict.c (estimate_probability): Handle unordred comparisons.
123 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
125 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
126 * cppinit.c (initialize_dependency_output): Update.
127 (cpp_finish): Output dummy targets for -MP.
129 (cpp_handle_option): Handle -MP. Don't quote -MT options.
130 * cpplib.h (struct cpp_options): Add deps_phony_targets.
131 * gcc.c (cpp_options): Update to handle -MP.
132 * mkdeps.c (deps_add_target, deps_add_default_target): Update
133 to quote only the default target.
134 (deps_phony_targets): Insert a preceding newline. Rename from
135 deps_dummy_targets for consistency.
138 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
140 * calls.c (emit_library_call_value_1): Support
141 INIT_CUMULATIVE_LIBCALL_ARGS.
142 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
144 2001-01-04 Richard Henderson <rth@redhat.com>
146 * c-decl.c (finish_struct): Detect flexible array members
147 used in an inappropriate context.
148 * c-typeck.c (really_start_incremental_init): Special case
149 constructor_max_index for zero length arrays.
150 (pop_init_level): Allow initialization of flexible array
151 members. Deprecate initialization of zero length arrays.
152 Don't issue missing initializer warning for flexible array
153 members or zero length arrays.
154 (process_init_element): Don't dereference null DECL_SIZE.
155 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
156 Don't abort for empty constructors. Use size_binop
157 (output_constructor): Add commentary regarding zero length
158 array futures. Abort if we try to initialize an array of
159 unspecified length with a non-empty constructor in the middle
162 * extend.texi (Zero Length): Update and clarify documentation
163 on static initialization.
165 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
167 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
168 with more than 32767 words of local storage.
170 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
172 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
173 for 'abs', 'labs', and 'fabs'.
174 (c4x_expand_builtin): Likewise.
175 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
177 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
179 * config/sh/sh.md (prget, prset): New insn types.
180 (return delay slot): Dont' allow prset.
181 (call, sfunc delay slot): Don't allow prget.
182 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
185 2001-01-05 Michael Hayes <mhayes@redhat.com>
187 * loop.h (struct loop_reg): New.
188 (struct loop_regs): Change to use array of `struct loop_reg'.
189 * loop.c: Replace assortment of varrays with single regs array.
190 (count_one_set): Delete may_not_move array argument
191 and use regs array instead. All caller's changed.
192 (count_loop_regs_set): Delete may_not_move and single_usage
193 arguments and use regs array instead. All caller's changed.
194 (find_single_use_in_loop): Replace usage array argument with pointer
195 to regs structure. All caller's changed.
196 (loop_optimize): Delete `moved_once' array.
198 2001-01-05 Michael Hayes <mhayes@redhat.com>
200 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
201 Use it instead of loop_info->has_call for scanning loop mems.
202 (check_dbra_loop): Replace loop_info->has_call test with
203 loop_info->has_nonconst_call.
205 2000-01-04 Matthew Hiller <hiller@redhat.com>
207 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
210 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
212 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
213 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
215 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
217 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
218 (flag_short_double, flag_short_wchar): Define.
219 (c_common_nodes_and_builtins): Create many tree nodes shared
220 between C and C++ here instead of in cp/decl.c and ...
221 * c-decl.c (init_decl_processing): ... here.
222 (SIZE_TYPE, WCHAR_TYPE): Don't define.
223 (flag_short_double, flag_short_wchar): Don't define.
224 (record_builtin_type): New function.
225 (build_void_list_node): New function.
226 * c-common.h (flag_short_double, flag_short_wchar,
227 record_builtin_type, build_void_list_node): Declare.
229 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
231 * integrate.c (expand_inline_function): Don't put a virtual
232 register into the reg map.
234 * function.c (fixup_var_refs_1): If force_operand didn't put
235 the address into the target, move it there.
237 2001-01-04 Mark Mitchell <mark@codesourcery.com>
239 Special-case tree_decl/tree_list allocations.
240 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
241 (OBJECT_SIZE): New macro.
242 (NUM_EXTRA_ORDER): Likewise.
243 (extra_order_size_table): New variable.
244 (NUM_ORDERS): New macro.
245 (objects_per_page_table): New variable.
246 (object_size_table): New variable.
247 (G.pages): Use NUM_ORDERS to bound the array.
248 (G.page_tails): Likewise.
249 (DIV_ROUND_UP): Remove.
250 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
251 (alloc_page): Use OBJECT_SIZE.
252 (size_lookup): Don't make it const.
253 (ggc_alloc): Use OBJECT_SIZE.
254 (ggc_set_mark): Likewise.
255 (ggc_get_size): Likewise.
256 (init_ggc): Set up the object_size_table, objects_per_page_table,
257 and adjust size_lookup.
258 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
259 (ggc_pop_context): Use NUM_ORDERS.
260 (clear_marks): Likewise.
261 (sweep_pages): Likewise.
262 (poison_pages): Likewise.
263 (ggc_print_statistics): Use OBJECT_SIZE.
265 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
267 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
268 Only call array_size_for_constructor if last field and array type
271 2001-01-04 Philip Blundell <philb@gnu.org>
273 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
274 from bit 31 downwards, if this requires no more insns.
275 (count_insns_for_constant): New helper function for above.
277 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
279 * gencodes.c (output_predicate_decls): Remove empty initializer.
281 2001-01-04 Mark Mitchell <mark@codesourcery.com>
283 * tree.c (copy_node): Remove documentation about obstacks.
284 (buidl1): Check that nobody tries to build 2-argument nodes this
287 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
289 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
292 * gencodes.c (output_predicate_decls): Fill empty initializer
295 2001-01-04 Jakub Jelinek <jakub@redhat.com>
297 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
298 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
300 (do_include): Handle missing headers like cpp0.
301 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
302 paths with first include pathname. Don't strcat to uninitialized
305 2001-01-04 Bernd Schmidt <bernds@redhat.com>
307 * regrename.c (regrename_optimize): Don't rename from frame pointer
308 if frame_pointer_needed.
309 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
310 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
311 (ia64_reorg): Use it instead of scheduling if ! optimize.
312 (errata_emit_nops): Properly call asm_noperands.
313 (ia64_sched_reorder): Finish cycle if we see an asm.
314 (ia64_variable_issue): Clear scheduling state after asms.
316 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
318 * cpp.texi: Update for -MT.
319 * cppinit.c (initialize_dependency_output): Add a default
320 target if none has been given already.
321 (no_tgt, OPT_MT): New.
322 (cpp_handle_option): Handle -MT. Update -M etc.
323 * cpplib.h (struct cpp_options): Remove deps_target.
324 * gcc.c (cpp_options): Handle -MT.
325 * mkdeps.c (struct deps): Move from mkdeps.h.
326 (deps_calc_target): Rename deps_add_default_target. Add a
327 default target if none has been specified already.
328 * mkdeps.h (struct deps): Move to mkdeps.c.
329 (deps_calc_target): Rename deps_add_default_target.
331 2000-01-03 Richard Henderson <rth@redhat.com>
333 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
335 * c-typeck.c (push_init_level): Move checks for flexible array
336 members and zero length arrays ...
337 (pop_init_level): ... here. Silently discard empty initializations.
339 * varasm.c (output_constructor): Update for sizeof change to
342 * extend.texi (Zero Length): Clarify semantics.
344 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
346 * configure.in (tm.h): Include isns-codes.h last.
347 * configure: Rebuilt.
349 2001-01-03 Richard Henderson <rth@redhat.com>
351 * config/alpha/alpha.md (addvsi3, addvdi3): New.
352 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
354 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
356 * tradcpp.c (main): Make sure finclude() is called with a valid
357 indepth value while handling -include.
359 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
361 * gencodes.c (output_predicate_decls): New function.
363 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
364 even if it is not the first time machmode.h is #included.
365 * config/sh/sh.c (fpul_operand): Declare MODE argument.
366 * tm.texi (PREDICATE_CODES): Document predicate declarations.
367 * gcc.texi (Copyright): Added 2001.
369 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
371 * c-common.c (c_common_lang_init): New function. Warn if format
372 warning options which only have effects when used with -Wformat
373 are used without -Wformat.
374 * c-common.h (c_common_lang_init): Declare.
375 * c-lang.c (lang_init): Call c_common_lang_init.
376 * objc/objc-act.c (lang_init): Call c_common_lang_init.
378 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
380 * configure.in: Check for the mktemp command.
381 * configure: Regenerate.
382 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
383 $TEMP. Create temporary files with mktemp, if available at
384 configure time; otherwise use set -C. Remove temporary files
387 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
389 * configure.in: Require at least texinfo 4.0. Check for whether
390 Pod::Man is sufficiently recent to regenerate GCC manpages.
391 * configure: Regenerate.
392 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
394 (GENERATED_MANPAGES): Define.
395 (generated-manpages): New target. Depend on cpp.1 as well as
397 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
398 configure to generated-manpages or empty) rather than on the
399 manpages directly. Remove execute permission from installed
400 gcov.1 as well as cpp.1.
401 * cpp.1, gcov.1: Regenerate.
403 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
405 * builtins.c (expand_builtin_strncmp): Use host_integerp and
406 tree_low_cst. Allow using cmpstrsi in more cases.
408 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
410 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
413 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
415 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
416 * Makefile.in (HOST_CFLAGS): Mention build-make.
418 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
420 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
423 2001-01-01 Bernd Schmidt <bernds@redhat.com>
425 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
428 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
431 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
432 reg_base_value and reg_known_value arrays.
433 (init_alias_analysis): Add more cases to detect known values.
434 * sched-deps.c (deps_may_trap_p): New function.
435 (sched_analyze_2): Use it.
437 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
439 * combine.c (simplify_shift_const): Even if we're sign-extracting,
440 don't discard an ASHIFTRT if we're shifting in a wider mode.
442 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
444 * toplev.c (rest_of_compilation): Don't print basic block information
445 when CFG isn't up to date.
447 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
449 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
450 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
451 (UNALIGNED_SHORT_ASM_OP): Define.
452 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
454 2001-01-02 Mark Mitchell <mark@codesourcery.com>
456 * fold-const.c (fold_convert): Fix typo.
458 2001-01-02 Richard Henderson <rth@redhat.com>
460 * c-common.h (ASM_INPUT_P): New.
461 * c-parse.in (asm): Set it when needed.
462 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
463 existance of an operand.
465 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
467 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
468 (dwarf2out_frame_debug_expr): Likewise.
469 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
471 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
473 * i386.c (ix86_split_to_parts): Return number of part required;
475 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
477 (ix86_split_long_move): Use number of part returned
478 by ix86_split_to_parts
479 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
481 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
482 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
483 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
484 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
485 (ALIGN_MODE_128): Add TFmode.
486 (IS_STACK_MODE): Likewise.
487 (HARD_REGNO_NREGS): TFmode needs 3 registers.
488 (HARD_REGNO_OK): Support TFmodes.
489 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
490 * i386.md (scheduler definitions): Use memory operand to determine
491 fst/fld instructions; use mode attribute to determine real mode of
493 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
494 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
496 2001-01-02 Mark Mitchell <mark@codesourcery.com>
498 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
500 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
502 * expr.c (store_constructor_field): Update ALIGN before calling
505 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
507 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
510 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
512 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
515 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
517 * c-decl.c (start_function): Don't warn on third parameter to main.
519 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
521 * tsystem.h: Define HAVE_DECL_GETOPT.
523 2001-01-02 Philip Blundell <pb@futuretv.com>
525 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
528 2001-01-02 Richard Henderson <rth@redhat.com>
530 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
532 2001-01-02 Andreas Jaeger <aj@suse.de>
534 * c-decl.c (c_decode_option): Remove support of
537 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
538 (W_options): Add -Wmissing-noreturn here.
540 * flow.c: Define lang_missing_noreturn_ok_p.
541 (check_function_return_warnings): Use it.
543 * c-common.h: Declare lang_missing_noreturn_ok_p.
545 * c-lang.c (c_missing_noreturn_ok_p): New function.
546 (lang_init): Set lang_missing_noreturn_ok_p.
548 * invoke.texi (Warning Options): Document this.
550 2000-12-27 Phil Edwards <pme@sources.redhat.com>
552 * extend.texi (C++ Extensions): New node for C++ attributes;
553 describe init_priority and com_interface.
554 * invoke.texi: Remove -finit-priority as it now has zero effect.
555 * install.texi: Fix xref syntax.
558 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
560 * config.gcc (sparc64-wrs-vxworks*): New case.
561 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
563 * config/sparc/sparc.c (sparc_override_options): Do support different
564 pointer and architecture size.
565 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
566 (POINTERS_EXTEND_UNSIGNED): Define.
567 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
568 (FUNCTION_MODE): Define to be Pmode.
569 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
571 * function.c (expand_function_end): Properly handle DECL_RESULT
572 and copy when ptr_mode != Pmode.
573 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
575 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
577 * c-common.c (c_common_nodes_and_builtins): Set prototype
578 parameters for __builtin_fputs, __builtin_fputc and
579 __builtin_fwrite. Don't declare plain fputc as a builtin.
581 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
583 * loop.c (add_label_notes): Increment the label usage count when
584 a note is added to an insn which refers to a CODE_LABEL.
585 * gcse.c (add_label_notes): Likewise.
587 2001-01-01 Andreas Jaeger <aj@suse.de>
589 * loop.c (scan_loop): Use xmalloc to allocate movables.
591 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
593 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
594 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
595 * reload1.c (REGISTER_MOVE_COST): Likewise.
596 * regclass.c (REGISTER_MOVE_COST): Likewise.
597 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
598 dimension. Adjust all users.
599 (init_reg_sets_1): Iterate on all modes.
600 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
601 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
602 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
603 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
604 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
605 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
606 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
607 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
608 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
609 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
610 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
611 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
612 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
613 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
614 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
615 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
616 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
617 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
618 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
619 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
620 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
621 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
622 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
623 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
624 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
625 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
626 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
628 2001-01-01 Bernd Schmidt <bernds@redhat.com>
630 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
631 arg VARIES_P. Call it with extra arg.
632 (true_dependence): Likewise.
633 * rtl.h (rtx_addr_can_trap_p): Declare.
634 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
636 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
637 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
638 pic offset table register if it's zero. All callers changed.
639 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
641 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
643 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
644 STRING_POOL_ADDRESS_P.
646 * config/sparc/sparc.c (input_operand): Properly test for short op.
648 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
649 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
650 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
651 * config/sparc/elf.h: No longer include sol2.h.
652 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
653 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
655 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
657 2001-01-01 Michael Hayes <mhayes@redhat.com>
659 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
660 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
661 (record_initial): Likewise.
662 * unroll.c (copy_loop_body, loop_iterations): Likewise.
663 (remap_split_bivs): Likewise.
665 2001-01-01 Michael Hayes <mhayes@redhat.com>
667 * loop.c (loop_ivs_free): New function.
668 (strength_reduce): Break out from...
670 2001-01-01 Michael Hayes <mhayes@redhat.com>
672 * loop.h (struct iv): New.
673 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
674 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
675 'reg_biv_class' fields with 'regs' and 'n_regs'.
676 (struct ivs): Rename 'loop_iv_list' field to 'list'.
677 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
678 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
680 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
682 * resource.c (mark_referenced_resources): Abort() before
683 attempting to mark a pseudo register.
684 (mark_set_resources): Likewise.
686 2001-01-01 Michael Hayes <mhayes@redhat.com>
688 * loop.h (REG_IV_CLASS): New accessor macro.
689 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
690 * unroll.c (REG_IV_CLASS): Likewise.
692 Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
694 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
695 (loc_descriptor_from_tree, case SAVE_EXPR): New.
697 2001-01-01 Michael Hayes <mhayes@redhat.com>
699 * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
700 (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
701 (prescan_loop): Set pre_header_has_call in loop_info.
702 * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
703 (struct loop_info): Add `pre_header_has_call'.
705 * loop.c (loop_bivs_find): Break out from strength_reduce.
706 (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
707 (loop_givs_check, loop_biv_eliminable_p): Likewise.
709 * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
710 (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
712 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
713 * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
714 direct access to uid_luid array.
715 * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
717 * loop.h (struct loop_movables): New.
718 (LOOP_MOVABLES): New.
719 (struct loop_info): Add movables field.
720 * loop.c (struct movables): Delete. Replace all uses
721 with struct loop_movables.
722 (the_movables): Delete. Replace all uses with movables
724 (loop_movables_add, loop_movables_free): New functions.
725 (scan_loop): Use xmalloc instead of alloca for movables.
726 Call loop_movables_free.
728 * loop.c (debug_loops): New.
730 2000-12-31 Philip Blundell <philb@gnu.org>
732 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
735 2000-12-30 Richard Henderson <rth@redhat.com>
737 * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
738 Initialize variables properly for DBX_LBRAC_FIRST.
740 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
742 * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
744 2000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
746 * builtins.c (validate_arglist): New function, use it.
748 2000-12-30 Philip Blundell <philb@gnu.org>
750 * config/arm/arm.c (arm_expand_prologue): Fix typos in error
751 message and comment. Note location of testcase for an unhandled
754 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
756 * defaults.h (BUILD_VA_LIST_TYPE): New definition.
757 * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
758 is a copy, not an alias.
760 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
762 * calls.c (calls_function_1, case CONSTRUCTOR): New case.
764 * alias.c (alias_sets_conflict_p): New function.
765 (mems_in_disjoint_alias_sets_p): Use it.
766 (readonly_fields_p): Moved from expr.c; check for record type.
767 (objects_must_conflict_p): New function.
768 * calls.c (expand_call): Use assign_temp as much as possible, use
769 readonly variant if assigned once, and don't set memory attributes.
770 (emit_library_call_value_1, store_one_arg): Likewise.
771 * integrate.c (expand_inline_function): Likewise.
772 * stmt.c (expand_asm_operands, expand_return): Likewise.
773 * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
774 (store_field, save_noncopied_parts, expand_expr): Likewise.
775 (expand_expr_unaligned): Likewise.
776 (readonly_fields_p): Moved to alias.c.
777 (safe_from_p): Rework handling of SAVE_EXPR.
778 MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
779 * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
780 (assign_stack_for_temp): Use objects_must_confict_p.
781 Set all memory attributes from type, if specified.
782 (mark_temp_slot): Mark TYPE field.
783 * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
784 (objects_must_conflict_p): Likewise.
786 * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
787 (add_case_node): No need to copy nodes anymore.
789 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
791 * config/sh/sh.c (split_branches): Don't dereference re-computed
792 `beyond' before checking it's non-NULL.
794 2000-12-29 Robert Lipe <robertl@sco.com>
796 Remove COFF support from i?86-pc-sco3.2v5.
797 * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
798 (TARGET_ELF): Now always true.
799 (SUBTARGET_SWTICHES: )Remove -mcoff.
801 * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
802 MULTILIB_EXCEPTION): Nuke coff.
803 (CRTSTUFF_T_CFLAGS_S): Deleted.
804 (TARGET_LIBGCC2_CFLAGS): Added.
806 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
808 * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
809 twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
812 2000-12-29 Bernd Schmidt <bernds@redhat.com>
814 * ia64.c (ia64_expand_load_address): Accept additional scratch
815 register argument. All callers & prototype changed.
816 Use scratch register when generating load_symptr insns.
817 * ia64.md (movdi_symbolic): Clobber a scratch register. Use it
818 when calling ia64_expand_load_address.
819 (movdi): Generate movdi_symbolic with additional operand.
820 (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
821 (load_symptr): Likewise. Use additional operand as a scratch
822 register instead of generating it here.
824 * basic-block.h: Add a comment.
825 * flow.c (PROP_POSTRELOAD): New macro.
826 (update_life_info): Add it to prop_flags.
827 (mark_set_1): If it is set, compute REG_N_SETS for the original
828 register number of a hard reg.
830 * emit-rtl.c (gen_raw_REG): New function.
831 (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
833 * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
834 * final.c (alter_subreg): Update it.
835 * regrename.c (do_replace): Likewise. Use gen_raw_REG.
836 * rtl.def (REG): Update comment.
837 * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
838 (gen_raw_REG): Declare.
840 2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
842 * tree.c (get_set_constructor_bits): Use host_integerp and
845 * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
847 * toplev.c (main): Call xmalloc_set_program_name.
848 * gcc.c (main): Likewise.
850 2000-12-29 Philip Blundell <philb@gnu.org>
852 * config/arm/arm.c (arm_override_options): Fix typo in warning
855 2000-12-29 Richard Henderson <rth@redhat.com>
857 * config/alpha/alpha.c (alpha_expand_block_move): Initialize
858 src_align and dst_align in bits. Do unaligned quadword loads
859 if possible for BWX too.
860 (alpha_expand_block_clear): Initialize align in bits. Track
861 small leading offsets into a larger alignment. Play games with
862 stq_u for large 4-byte aligned blocks. Use load/mask/store
863 for appropreately aligned heads and tails.
865 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
867 * function.c (assign_parms): Convert arguments passed by
868 reference to the right mode.
870 2000-12-28 Geoffrey Keating <geoffk@redhat.com>
872 * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
873 on the condition of a FOR statement, so that it gets typechecked
876 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
878 * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
881 * calls.c (emit_library_call_value_1): Add to call_fusage the
882 stack slot assigned to argument passed by reference.
884 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
886 * toplev.h (extern really_sorry): Remove extern declaration for
887 nonexistent function.
889 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
891 * varasm.c (initializer_constant_valid_p): Indicate subtraction of
892 pointers to the same string constant is absolute.
894 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
896 * c-common.c (enum format_type): Add strfmon_format_type.
897 (decl_attributes): Handle format attributes strfmon and
899 (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
900 FMT_FLAG_EMPTY_PREC_OK): Define.
901 (format_char_info): Update comment for flag_chars.
902 (format_flag_spec): Add skip_next_char.
903 (format_kind_info): Add left_precision_char.
904 (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
905 format_types): Update for these new structure members and flags.
906 (time_char_table): Make const.
907 (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
908 monetary_char_table): New.
909 (format_types): Add details of strfmon formats.
910 (init_function_format_info): Create default attribute for strfmon.
911 (check_format_info_main): Check the new flags. Handle
912 skip_next_char and left precision.
913 * toplev.c (documented_lang_options): Update description of
915 * extend.texi: Document strfmon format attributes. Document
916 attribute forms such as __printf__. Clarify format_arg attribute
918 * invoke.texi (-Wformat): Update for strfmon formats.
920 2000-12-28 Andreas Jaeger <aj@suse.de>
922 * expmed.c (store_bit_field): Fix last patch.
924 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
926 * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
929 2000-12-28 Alan Lehotsky <lehotsky@tiac.net>
931 * expmed.c (store_bit_field): Correctly compute smallest mode that
932 is sufficient to contain all bits we are storing.
934 2000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
936 * builtins.c (build_function_call_expr): New function. Use it
937 everywhere in lieu of manually constructing a CALL_EXPR.
939 2000-12-27 Chandrakala Chavva <cchavva@redhat.com>
941 * calls.c (store_one_arg): If parm is passed both in stack and in
942 register and offset is greater than reg_parm_stack_space, split
943 the offset and call emit_push_insn().
945 2000-12-27 Nick Clifton <nickc@redhat.com>
947 * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
950 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
952 * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
955 2000-12-27 Bruce Korb <bkorb@gnu.org>
957 * fixinc/Makefile.in: fix for ancient Bourne shell
958 * fixinc/Makefile.BEOS: obsolete
959 * fixinc/Makefile.DOS: obsolete
960 * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
962 2000-12-27 Bernd Schmidt <bernds@redhat.com>
964 * sched-deps.c (get_condition, conditions_mutex_p): New functions.
965 (add_dependence): Use them to avoid adding unnecessary dependencies
966 between conditionally executed insns.
967 (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
968 dependency lists if current insn is a COND_EXEC.
970 2000-12-27 Geoffrey Keating <geoffk@redhat.com>
972 * config/rs6000/rs6000.md (define_attr "length"): Correct
975 2000-12-26 Kazu Hirata <kazu@hxi.com>
977 * config/h8300/h8300.c: Fix a comment typo.
978 (get_shift_alg): Fix a typo in the assembly code for 12-bit
979 ASHIFTRT in HImode. Do not output extra whitespace after one line
980 of assembly code. Output a tab after an opcode instead of a
982 (emit_a_shift): Output a tab after an opcode instead of a space.
984 2000-12-23 Marek Michalkiewicz <marekm@linux.org.pl>
986 * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
987 out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
988 %4 in output templates, do not modify operands passed by the caller.
990 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
992 * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
994 * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
995 BUILT_IN_LLABS and BUILT_IN_IMAXABS.
996 * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
997 builtin labs, llabs and imaxabs.
998 (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
999 and BUILT_IN_IMAXABS.
1001 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
1003 * c-common.c (builtin_function_2): New function.
1004 (c_common_nodes_and_builtins): Use it to define each pair (foo,
1005 __builtin_foo) of builtins in one place.
1007 2000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
1009 * gccbug.in: Add libgcj and preprocessor categories.
1011 2000-12-22 Bernd Schmidt <bernds@redhat.com>
1013 * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
1014 the final scheduling pass.
1016 2000-12-22 Nick Clifton <nickc@redhat.com>
1018 * config/arm/arm.h (struct machine_function): Add new field
1019 'lr_save_eliminated'.
1020 * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
1021 link register if its save has been eliminated.
1022 (output_arm_prologue): Mention if the save of the link register
1023 has been eliminated.
1024 (output_arm_epilogue): Rename 'live_regs_mask' to
1026 Test 'saved_regs_mask' for the link register, not regs_ever_live.
1027 (arm_expand_prologue): If the link register has not been saved set
1028 lr_save_eliminated and emit a USE to prevent later passes from
1031 * dwarf2out_frame_debug_expr: Allow the (scratch) frame
1032 pointer to be initialised from the stack pointer plus a
1035 2000-12-22 Bernd Schmidt <bernds@redhat.com>
1037 * regrename.c (struct du_chain): New field "earlyclobber".
1038 (enum scan_actions): Remove unused entry "note_reference".
1039 (enum scan_actions_name): Likewise.
1040 (note_sets, clear_dead_regs, merge_overlapping_regs): New static
1042 (regrename_optimize): Use them to compute unavailable regs; get
1043 rid of the more simpleminded code we used to have here.
1044 Use a tick array to ensure registers are allocated in a more
1045 round-robin way. Disable code that only optimizes registers
1046 that were seen more than once.
1047 (referenced_regs): Remove variable.
1048 (scan_rtx_reg): New arg "earlyclobber". All callers changed.
1049 Store its value in newly generated du_chain structures.
1050 Add new du_chains at the end, not the start, of the list.
1051 Don't handle the "note_reference" action.
1052 (scan_rtx): New arg "earlyclobber". All callers changed.
1053 (build_def_use): Lose code to keep track of referenced regs.
1055 2000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1057 * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
1059 * fp-bit.h (usi_to_float): Add prototype.
1061 * i386.c (ix86_expand_builtin): Delete unused label.
1063 * dwarf2out.c (file_info_cmp): Prototype.
1064 (dwarf2out_line): Hide variable `old_in_use'.
1066 * objc-act.c (objc_fatal): Delete.
1068 * sched-vis.c (visualize_stall_cycles): Remove unused variable.
1070 * system.h (getopt): Fix error in last change.
1072 * varasm.c (assemble_trampoline_template): Constify.
1074 2000-12-22 Jason Merrill <jason@redhat.com>
1076 * collect2.c (main): Use auto_demangling.
1078 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1080 * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
1081 when optimizing PARALLEL to REG.
1083 2000-12-22 Graham Stott <grahams@redhat.com>
1085 * reload.c (update_auto_inc_notes): New, broken out from ...
1086 (find_reloads_address_1): ... use here, also correct possible
1087 use of uninitialised reloadnum.
1089 2000-12-21 David O'Brien <obrien@FreeBSD.org>
1091 * config/freebsd.h (LIB_SPEC): remove -kthread option.
1093 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1095 * resource.c (mark_set_resources): Use MARK_SRC_DEST for
1096 PRE_MODIFY and POST_MODIFY cases.
1098 * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
1100 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1102 * md.texi (Looping Patterns): New node.
1104 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1106 * gcc.texi, cpp.texi: Update last-updated dates.
1108 2000-12-21 Chandrakala Chavva <cchavva@redhat.com>
1110 * varasm.c (output_addressed_constants): Use language specific
1111 expander on unknown nodes.
1113 2000-12-21 Graham Stott <grahams@redhat.com>
1115 * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
1117 2000-12-21 Bernd Schmidt <bernds@redhat.com>
1119 * Makefile.in (out_object_file): Depend on sched-int.h.
1120 * rtl.h (single_set_1): New macro.
1121 (single_set_2): Renamed from single_set_1 and extra argument added.
1122 * rtlanal.c (single_set_2): Likewise.
1124 * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
1125 ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
1126 ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
1128 * config/ia64/ia64.c: Include "sched-int.h".
1129 (hard_regno_rename_ok): Also disallow renaming from the various
1131 (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
1132 ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
1133 safe_group_barrier_needed_p, fixup_errata): New static functions.
1134 (rtx_needs_barrier): Handle bundle selector and cycle display
1136 (emit_insn_group_barriers): Accept additional FILE * arg. All
1137 callers changed. Rework to only generate stop bits between
1138 basic blocks that haven't been inserted by scheduling.
1139 (struct bundle, struct ia64_packet): New structures.
1140 (NR_BUNDLES, NR_PACKETS): New macros.
1141 (bundle, packets, type_names): New static arrays.
1142 (ia64_final_schedule): New variable.
1143 (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
1144 gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
1145 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
1146 find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
1147 New static functions.
1148 (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
1149 ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
1151 (ia64_reorg): Perform a final scheduling pass.
1152 * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
1153 (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
1154 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
1155 MD_SCHED_VARIABLE_ISSUE): Define macros.
1156 (ia64_final_schedule): Declare variable.
1157 * config/ia64/ia64.md (attr itanium_class): Add some more classes.
1158 (attr type): Account for them.
1159 (itanium_requires_unit0): New attribute.
1160 (function units): Rewrite.
1161 (some splitters): Don't create scheduling barriers here.
1162 (gr_spill_internal, gr_restore_internal): Don't predicate the
1164 (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
1165 bundle_selector): New patterns.
1166 (insn_group_barrier): Now has an operand.
1168 2000-12-21 DJ Delorie <dj@redhat.com>
1170 * dwarf2out.c (simple_decl_align_in_bits): new
1171 (field_byte_offset): Try both the type align and the
1172 decl align, use whichever works, preferring the type align.
1174 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1176 * gccbug.in: Fix typo.
1178 2000-12-20 Benjamin Kosnik <bkoz@redhat.com>
1180 * Makefile.in (gcc_gxx_target_include_dir): Use instead of
1181 build_tooldir and libstdcxx_incdir.
1183 2000-12-20 Robert Lipe <robertlipe@usa.net>
1185 * haifa-sched.c (schedule_block): Provide empty source statement
1186 if not MD_SCHED_REORDER2.
1188 2000-12-20 Richard Henderson <rth@redhat.com>
1190 * rtl.h (REG_NON_LOCAL_GOTO): New.
1191 * rtl.c (reg_note_name): Update.
1192 * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
1193 * builtins.c (expand_builtin_longjmp): Likewise.
1194 * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
1197 2000-12-20 Marek Michalkiewicz <marekm@linux.org.pl>
1199 * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
1200 Do not output undefined opcodes where source or destination register
1201 overlaps with modified pointer register. Handle (X + d) addresses.
1202 * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
1203 in alternatives with memory operand.
1205 2000-12-20 Richard Henderson <rth@redhat.com>
1207 * c-typeck.c (build_asm_stmt): New, broken out from ...
1208 (c_expand_asm_operands): ... here. Just do rtl expansion.
1209 (c_expand_return): Return the new stmt node.
1210 (c_start_case, do_case): Likewise.
1211 * c-common.c (c_expand_expr_stmt): Likewise.
1212 * c-common.h: Update declarations.
1213 * c-tree.h: Likewise.
1214 * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
1215 * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
1216 (nested_function, notype_nested_function): Likewise.
1217 (compstmt): Return the compound statement not the binding level.
1218 (lineno_labeled_stmt): Simplify.
1219 (lineno_stmt, lineno_label): Set STMT_LINENO.
1220 (stmt, label): Return the new stmt node.
1222 2000-12-20 Bernd Schmidt <bernds@redhat.com>
1224 * Makefile.in (OBJS): Add sched-ebb.o.
1225 (sched-ebb.o): New rule.
1226 (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
1227 (haifa-sched.o): Depend on insn-flags.h.
1228 * haifa-sched.c: Include "insn-flags.h".
1229 (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
1231 * rtl.h (schedule_ebbs): Declare.
1232 * sched-int.h (struct sched_info): Add new members
1233 contributes_to_priority and compute_jump_reg_dependencies.
1234 * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
1236 (region_sched_info): Add them.
1237 * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
1238 * sched-ebb.c: New file.
1239 * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
1241 * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
1242 handle all relational operators.
1244 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1246 * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
1247 * tm.texi: Document it.
1249 2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
1251 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
1252 instead of gcc_tooldir.
1254 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1256 * system.h (getopt): Update prototype to match include/getopt.h.
1258 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1261 * pa.c (basereg_operand): Simplify.
1263 2000-12-19 Bernd Schmidt <bernds@redhat.co.uk>
1265 * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
1266 not block number. All callers and prototype changed.
1267 (set_priorities): Likewise.
1268 (save_line_notes): Add head and tail arguments; all callers and
1270 (restore_line_notes): Likewise. Don't crash on insns generated
1272 (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
1273 Call MD_SCHED_INIT with additional argument.
1274 When starting a new cycle, emit cycle_display insns if available.
1275 Don't stop scheduling when encountering a JUMP_INSN, but add another
1276 call to schedule_more_p in the inner loop.
1277 Call MD_SCHED_REORDER2 after scheduling an insn.
1278 Call MD_SCHED_FINISH once all insns are scheduled.
1279 (sched_init): Compensate for the fact that get_block_head_tail
1280 doesn't include leading notes.
1281 * sched-deps.c (free_deps): Free vectors here.
1282 * sched-rgn.c (compute_block_backward_dependencies): Not here.
1283 (last_was_jump): New static variable.
1284 (schedule_more_p): Test it.
1285 (init_ready_list): Initialize it.
1286 (can_schedule_ready_p): Set it if we have a JUMP_INSN.
1288 * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
1289 * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
1290 * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
1292 * md.texi (cycle_display): Document.
1293 * tm.texi (MD_SCHED_INIT): Document new arg.
1294 (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
1296 * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
1297 to use different representation. All callers changed.
1298 (and_reg_cond): Renamed from nand_reg_cond; caller changed.
1299 (init_propagate_block_info): Don't test flags to determine
1300 whether to compute conditional lifetimes.
1301 Adjust code for new representation of conditional lifetimes.
1302 (mark_regno_cond_dead): Similar adjustment.
1303 (free_reg_cond_life_info): Similar adjustment.
1304 (elim_reg_cond): New function.
1305 (flush_reg_cond_1): Use it.
1307 2000-12-19 Catherine Moore <clm@redhat.com>
1309 * reload1.c (reload_combine): Take multi-hard-regs into account
1310 when processing CALL_INSN_FUNCTION_USAGE.
1312 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1314 * invoke.texi (-print-search-dirs): Make references to cpp refer
1317 2000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1319 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
1322 Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
1324 * reload.c (push_reload): When using a dying register for the reload
1325 register in an in-out reload, use outmode if wider than inmode.
1327 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1329 * config/d30v/d30v.h (EXIT_BODY): Update comment.
1331 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1333 * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
1334 * tm.texi (EXIT_BODY): Update documentation.
1335 * config/freebsd.h, config/netware.h, config/arm/coff.h,
1336 config/arm/conix-elf.h, config/arm/unknown-elf.h,
1337 config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
1338 sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
1339 commented out) and associated comments.
1341 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1343 * c-common.c (STD_C9L, ADJ_STD): Define.
1344 (printf_length_specs, scanf_length_specs): Mark "ll" as standard
1346 (T99_LL): Rename to T9L_LL.
1347 (T99_ULL): Rename to T9L_ULL.
1348 (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
1349 instead of T99_LL and T99_ULL.
1350 (check_format_info_main): Use ADJ_STD on all format standard
1351 versions being compared.
1352 * c-common.h: Declare warn_long_long.
1353 * c-tree.h: Don't declare warn_long_long.
1355 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1357 * COPYING: Update to current
1358 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
1359 to 19yy as example year in copyright notice).
1361 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1363 * c-lex.c (cb_file_change): Treat in_system_header as strictly
1366 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1368 * cppmain.c: Update print.lineno with -P.
1370 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1372 * c-lex.c: s/change_file/file_change.
1373 * cpplib.h: Similarly.
1374 * cppmain.c: Similarly.
1375 * fix-header.c: Similarly.
1376 * cppfiles.c (stack_include_file): Pass the buffer location and
1377 size to cpp_push_buffer. Generate the file_change callback,
1378 so that sysp is already set.
1379 * cpphash.h: Add _cpp_do_file_change.
1380 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
1381 file_change callback after setting sysp.
1382 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
1384 (cpp_push_buffer): Don't generate a callback. Clear sysp.
1385 (cpp_pop_buffer): Clean up logic.
1387 2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
1389 * configure.in (gcc_gxx_include_dir): Simplify.
1390 (libstdcxx_incdir): Export.
1391 * configure: Regenerate.
1392 * Makefile.in (PREPROCESSOR_DEFINES): Add in
1393 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
1394 (libstdcxx_incdir): Add.
1395 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
1397 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1399 * c-lex.c (lex_lineno): Remove.
1400 (init_c_lex, c_lex): Remove lex_lineno.
1401 (cb_change_file): Update lineno correctly, both before calling
1402 push_srcloc and before leaving the function.
1403 (cb_def_pragma): Set lineno before outputting diagnostics.
1405 Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1407 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
1408 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
1409 Use print_node_brief to print bounds.
1411 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1413 * cpplib.h (struct cpp_reader): Remove references to string_pool
1414 and temp_string_pool.
1415 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
1416 ident_pool in place.
1417 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
1418 save_comment, cpp_token_as_text): Similarly.
1419 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
1420 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
1421 unlock_pools, stringify_arg, paste_tokens): Similarly.
1423 Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1425 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
1426 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
1427 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
1429 2000-12-17 Richard Earnshaw <rearnsha@arm.com>
1431 * Makefile.in (check-po): Use $(MAKE).
1432 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
1434 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1436 * cppmain.c (check_multiline_token): New function.
1437 (scan_buffer): Use it.
1438 (cb_change_file): Restructure to avoid warning.
1439 * cpperror.c (print_location): Initialize col.
1441 2000-12-14 Philipp Thomas <pthomas@suse.de>
1443 * protoize.c (main): Correctly set locale categories.
1444 * gcc.c (main): Likewise.
1445 * cppmain.c (general_init): Likewise.
1446 * toplev.c (main): Likewise.
1447 * gcov.c (main): Likewise.
1448 * collect2.c (main): Likewise.
1450 2000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1452 * c-common.c (c_common_nodes_and_builtins): Create a
1453 cstring_endlink, use it. Rename int_ftype_string_string to
1454 int_ftype_cstring_cstring, string_ftype_string_int to
1455 string_ftype_cstring_int, and string_ftype_string_string to
1456 string_ftype_cstring_cstring. Prefer sizetype_endlink and
1457 int_endlink to manually recreating them. Fix the prototype
1458 set for __builtin_strspn/__builtin_strcspn.
1460 2000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
1462 * config/avr/avr.c (out_set_stack_ptr): Update comment.
1463 (print_operand): Add support for %~ and %o.
1465 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1467 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
1469 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1471 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
1472 * cpperror.c (print_containing_files): Get right line number.
1473 (print_location): Output column of 1 if 0.
1474 * cppfiles.c (stack_include_file): cpp_push_buffer handles
1476 * cpphash.h (_cpp_do_file_change): No longer external.
1477 * cpplib.c (do_file_change): Now local to cpplib.c.
1478 (do_line): Fake a buffer stack for preprocessed files.
1479 (cpp_push_buffer): Create a file_change callback. Handle faked
1481 (cpp_pop_buffer): Similarly.
1482 * cpplib.h: BUF_FAKE: New buffer type.
1483 * cppmain.c: Update to handle correct file renaming where a
1484 #line is the first line of the main file, and produce only
1485 the renamed file, not the original file, as output.
1487 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1489 * config/c4x/c4x.md: Remove redundant @s from output patterns.
1491 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1492 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1494 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
1496 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
1498 * config/c4x/c4x.c (c4x_init_pragma): New function.
1499 (c_lex_func): New variable.
1500 (c4x_parse_pragma): Use c_lex_func.
1502 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1503 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1505 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
1506 to c4x_init_builtins.
1508 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
1510 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
1511 (c4x_output_ascii): Fix.
1513 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1514 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1516 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
1518 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
1519 (c4x_expand_builtin): Likewise.
1521 * config/c4x/c4x.c (c4x_init_builtins): New function.
1522 (c4x_expand_builtin): Likewise.
1524 * config/c4x/c4x.md (floatunsqihf2): New pattern.
1525 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
1526 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
1527 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
1528 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
1530 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1532 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
1533 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
1534 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
1535 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
1537 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1539 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
1540 statement in do/while(0).
1542 Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
1544 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
1545 lshrhi3_cmpno): Remove redundant '@' from the template.
1547 * i386.md (cmpstrsi_1): Fix type of the compare.
1549 * genattrtab.c (attr_rtx_cost): New function.
1550 (simplify_test_exp): Avoid overactive inlining; use temporary
1553 Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1555 * diagnostic.c (finish_abort): Deleted.
1556 (fatal): Add code from finish_abort.
1557 (error_recursion, fancy_abort): Call fatal, not finish_abort.
1558 (trim_filename): Remove leading "../".
1559 * diagnostic.h (finish_abort): Deleted.
1560 * toplev.c (crash_signal): Call fatal, not finish_abort.
1562 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
1563 as if size were variable.
1565 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
1567 2000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1569 * tradcpp.c: T_WARNING: New.
1570 (do_warning): New function.
1571 (finclude): Skip past the newline and increase the line number
1572 before calling output_line_command.
1573 (do_line): Skip the new line after output_line_command. Don't
1574 pre-decrement the line number.
1576 2000-12-15 Diego Novillo <dnovillo@redhat.com>
1578 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
1579 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
1581 2000-12-15 Jakub Jelinek <jakub@redhat.com>
1583 * gcc.c (cpp_options): Pass -fno-operator-names.
1584 * cpplib.h (struct cpp_options): Add operator_names.
1585 * cppinit.c (cpp_create_reader): Initialize it.
1586 (initialize_builtins): If -fno-operator-names, don't add
1587 C++ alternate operator names.
1588 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
1589 (cpp_handle_option): Clear operator_names.
1591 2000-12-15 Jason Merrill <jason@redhat.com>
1593 * jump.c (jump_optimize_1): Don't delete the line note after the
1594 prologue even if it seems redundant.
1596 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
1597 on all insns used to adjust the stack.
1599 Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
1601 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
1602 hardreg<->reg moves.
1604 Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
1606 * genrecog.c (add_to_sequence): Remove special case for
1608 (maybe_both_true): Return 1 when falling out of sequence when
1609 trying to find common possition in the pattern.
1611 Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
1613 * integrate.c (copy_rtx_and_substitute): Copy mode too.
1615 Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
1617 * flow.c (notice_stack_pointer_modification_1): Cleanup.
1619 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
1621 * function.c (adjust_trampoline_addr): New function.
1622 (trampoline_address): Call it instead of round_trampoline_addr().
1623 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
1625 2000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
1627 * cppfiles.c (hack_vms_include_specification): Delete function
1628 (not used since 1998).
1630 Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
1632 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
1634 2000-12-14 Jim Wilson <wilson@redhat.com>
1636 * alias.c (get_alias_set): Call record_component_aliases for
1638 (record_component_aliases): Handle COMPLEX_TYPE.
1640 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1642 * fixinc/gnu-regex.c: Disable NLS.
1644 2000-12-14 Richard Henderson <rth@redhat.com>
1646 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
1647 comparison operands when that would create non-canonical rtl.
1649 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
1650 (smulsi3_highpart): Likewise.
1652 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1654 * gcc.c (cpp_options): Add -remap.
1656 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1658 * gcc.c (cpp_options): Update to use '&'.
1659 (struct switchstr): Change type of validated to save space.
1660 New member 'ordering'.
1661 (handle_braces, validate_switches): Update to handle '&'.
1663 2000-12-13 Laurynas Biveinis <lauras@softhome.net>
1665 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
1667 * fixinc/fixincl.x: regenerated.
1669 2000-12-13 DJ Delorie <dj@redhat.com>
1671 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
1673 2000-12-13 Tom Tromey <tromey@redhat.com>
1675 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
1677 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
1679 * function.c (assign_parms): Optimize incoming PARALLELs into
1682 2000-12-13 Bruce Korb <bkorb@gnu.org>
1684 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
1685 that cannot handle bi-directional pipes, viz. BeOS and DOS.
1686 * fixinc/fixlib.h(IGNORE_ARG): new macro
1687 (STATIC): define for all of fixinc to use
1688 * fixinc/fixfixes.c(*): eliminate unused arg warnings
1689 * fixinc/fixtests.c(*): ditto
1690 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
1691 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
1692 warning. Also, eliminate the ``#ifdef emacs'' stuff.
1693 (re_syntax_options): make global as it is declared so.
1694 * fixinc/mkfixinc.sh: process the argument list more consistently
1695 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
1696 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
1697 * fixinc/server.c(globals): ditto
1698 * fixinc/server.h(defines): ditto
1700 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1702 * tradcpp.c (special_symbol): Improve test for definedness,
1703 though it is still not perfect.
1704 (do_define): Don't define illegal macro names.
1706 2000-12-07 Aldy Hernandez <aldyh@redhat.com>
1708 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
1709 if changing into .bss section.
1710 * config/mips/elf64.h: same.
1711 * config/mips/iris6.h: same.
1712 * config/mips/netbsd.h: same.
1713 * config/mips/openbsd.h: same.
1715 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1717 * cppfiles.c (read_name_map): Return null if open () fails.
1718 (remap_filename): Simplify logic. Add ICE if it doesn't work
1719 as expected. Perform secondary lookup attempt on base filename
1722 Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
1724 * flow.c (notice_stack_pointer_modification_1): Notice midifications
1725 using PRE_MODIFY and POST_MODIFY.
1727 Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
1729 * genoutput.c (process_template): Add sanity checking for '@' templates.
1731 2000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
1733 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
1736 2000-12-12 Mike Stump <mrs@wrs.com>
1738 * Makefile.in (distclean): Remove safe-ctype.c as well.
1740 2000-12-12 Brad Lucier <lucier@math.purdue.edu>
1742 * tradcpp.c (do_error): Cast difference of pointers to int
1745 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1747 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
1748 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
1750 2000-12-12 Jim Wilson <wilson@redhat.com>
1752 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
1754 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
1756 * configure.in: Simplify language enabling/disabling code.
1757 * configure: Rebuilt.
1758 * ch/config-lang.in (target_libs): Set.
1759 (build_by_default): Set to no.
1760 * cp/config-lang.in (target_libs): Set.
1761 * f/config-lang.in (target_libs): Set.
1762 * java/config-lang.in (target_libs): Set.
1763 * objc/config-lang.in (target_libs): Set.
1765 2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
1767 * tradcpp.c (enum node_type): Add T_ERROR.
1768 (do_error): New function.
1769 (directive_table): Add #error handler.
1771 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1773 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
1775 * configure: Regenerated.
1776 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1777 * config/rs6000/rs6000.c (rs6000_unique_section): Use
1778 STRIP_NAME_ENCODING.
1780 Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
1782 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
1783 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
1786 2000-12-11 Bruce Korb <bkorb@gnu.org>
1788 * fixinc/fixincl.tpl: initialize all fields for warnings
1789 * fixinc/fixincl.x: regenerate
1791 2000-12-11 Neil Booth <neilb@earthling.net>
1793 * tradcpp.h: For tradcpp, NUL is not whitespace.
1795 2000-12-11 Neil Booth <neilb@earthling.net>
1797 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
1799 2000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
1801 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
1802 (compare_diff_p, compare_eq_p): Call compare_condition.
1803 (out_tsthi, out_tstsi): Call compare_sign_p.
1804 (avr_progmem_p): Check for error_mark_node.
1806 2000-12-11 Neil Booth <neilb@earthling.net>
1808 * cpperror.c (print_location): New function.
1809 (print_containing_files): Simplify.
1810 (_cpp_begin_message): Simplify and use print_location.
1811 * cppfiles.c (stack_include_file): Update.
1812 (_cpp_pop_file_buffer): Update.
1813 * cpphash.h (struct cpp_buffer): New members
1814 include_stack_listed and type.
1815 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
1816 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
1817 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
1818 handle_assertion): Update.
1819 (cpp_push_buffer): Take a buffer type and file name.
1820 (cpp_pop_buffer): Update. Clear include_stack_listed.
1821 * cpplib.h (input_stack_listing_current): Remove.
1822 (enum cpp_buffer_type): New.
1823 (cpp_push_buffer): New prototype.
1824 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
1825 * fix-header.c (read_scan_file): Update.
1827 2000-12-10 Robert Lipe <robertlipe@usa.net>
1829 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
1832 2000-12-10 Richard Henderson <rth@redhat.com>
1834 * genrecog.c (find_operand): Handle 'V' format code.
1835 (find_matching_operand): New.
1836 (validate_pattern): Accept '=' for an in-out operand if there
1837 is another operand with a matching constraint.
1839 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
1842 2000-12-10 Richard Henderson <rth@redhat.com>
1844 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
1846 2000-12-09 Richard Henderson <rth@redhat.com>
1848 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
1849 STRICT_LOW_PART as SET_DEST have in-out constraints.
1851 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1853 * c-common.c (check_function_format): Don't suggest adding format
1854 attributes to functions with no parameter to which to add them.
1856 2000-12-09 Nick Clifton <nickc@redhat.com>
1858 * config/arm/arm.c (arm_expand_prologue): Mark the generated
1859 insn not the set as being DWARF2_FRAME_RELATED_P.
1861 2000-12-09 Laurynas Biveinis <lauras@softhome.net>
1863 * Makefile.in: use $(build_exeext) for all build
1864 system executable targets.
1866 2000-12-09 Laurynas Biveinis <lauras@softhome.net>
1868 * install.texi: remove i[345]86-*-winnt3.5 section.
1869 * configur.bat: removed.
1870 * config/msdos: directory removed.
1872 2000-12-09 Neil Booth <neilb@earthling.net>
1874 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
1875 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
1876 * cpplex.c (parse_identifier): Improve diagnostic.
1877 (_cpp_lex_token): Return unconditionally at the end of a directive.
1878 * cpplib.c (read_flag): Verify legality of each flag.
1879 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
1880 (do_line): Use the new read_flag.
1881 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
1882 check_macro_redefinition, parse_params): Rename var_args to
1885 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1887 * .cvsignore: Add info files.
1889 2000-12-08 Laurynas Biveinis <lauras@softhome.net>
1891 * config/winnt: Remove obsolete directory.
1892 * install.texi (Configurations): Remove obsolete documentation for
1895 2000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
1897 * configure.in: Don't define INSTALL_INFO.
1898 * configure: Regenerate.
1899 * Makefile.in (INSTALL_INFO): Remove.
1900 (info): Depend on info files in source directory.
1901 (cpp.info, gcc.info, c-tree.info): Build info files in source
1903 (distclean): Don't remove info files.
1904 (maintainer-clean): Remove info files from source directory.
1905 (install-normal): Depend on install-info.
1906 (install-info): Install info files from source directory, if they
1908 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
1910 2000-12-08 Alexandre Oliva <aoliva@redhat.com>
1912 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
1913 before taking its NOTE_LINE_NUMBER.
1915 2000-12-08 Nick Clifton <nickc@redhat.com>
1917 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
1919 * extend.texi: Document ARM "interrupt" function attribute.
1920 Mention that the ARM also support the "naked" function
1923 * config/arm/arm-protos.h (arm_current_func_type): Add
1926 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
1927 (struct machine_function): Add 'func_type' field.
1928 Define bit values for 'func_type' field.
1929 (ARM_FUNC_TYPE): New macro.
1930 (IS_INTERRUPT): New macro.
1931 (IS_VOLATILE): New macro.
1932 (IS_NAKED): New macro.
1933 (IS_NESTED): New macro.
1934 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
1936 * config/arm/arm.c (isr_attribute_args): New Structure. A
1937 list of "interrupt" function attribute modifiers.
1938 (arm_isr_value): New Function: Returns the type of the current
1940 (arm_compute_func_type): New Function: Computes the type of
1941 the current function.
1942 (arm_current_func_type): New Function: Returns the type of the
1944 (use_return_insn): Use arm_current_func_type.
1945 (arm_valid_type_attribute_p): Accept "interrupt" function
1947 (arm_comp_type_attributes): Check "interrupt" attributes.
1948 (arm_valid_machine_decl): Accept "interrupt" function
1950 (arm_function_ok_for_sibcall): Do not allow interrupt
1951 functions to use sibcalls.
1952 (arm_naked_function_p): Delete.
1953 (print_multi_reg): Remove redundant parameter 'hat'.
1954 (arm_compute_save_reg_mask): New Function: Compute a bit mask
1955 of registers saved during the current function's prologue.
1956 (output_arm_return_instruction): Use arm_current_func_type.
1957 Generate return instruction when LR is not poppsed off the
1959 (arm_volatile_func): Delete.
1960 (output_arm_prologue): Use arm_current_func_type and
1961 arm_compute_save_reg_mask.
1962 Note presernce of interrupt functions.
1963 (arm_output_epilogue): Use arm_current_func_type and
1964 arm_compute_save_reg_mask.
1965 (arm_expand_prologue): Use arm_current_func_type and
1966 arm_compute_save_reg_mask.
1967 (arm_init_machine_status): Initialise func_type field, if
1969 (thumb_expand_prologue): Use arm_current_func_type.
1970 (output_thumb_prologue): Use arm_current_func_type.
1972 2000-12-08 Brad Lucier <lucier@math.purdue.edu>
1974 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
1976 Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
1978 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
1981 2000-12-07 Mike Stump <mrs@wrs.com>
1983 * Makefile.in (distclean): Remove alloca.c hashtab.c.
1985 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1987 * Makefile.in (HOST_RTL): Add safe-ctype.o.
1988 (safe-ctype.o): New rule.
1989 * system.h: Include safe-ctype.h, not ctype.h. No need to
1992 * cpphash.h: Zap IStable and related macros. Define is_* in
1993 terms of safe-ctype.h macros.
1994 * cppinit.c: Delete the IStable and all related code.
1996 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
1997 is_space arrays. Delete initialize_char_syntax. Change all
1998 references to the above arrays to use macros instead.
1999 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
2000 is_nvspace in terms of safe_ctype.h's macros.
2001 * tradcif.y: is_idchar, is_idstart are macros not arrays.
2003 * config/i370/i370.c, config/winnt/dirent.c,
2004 config/winnt/fixinc-nt.c, config/winnt/ld.c:
2005 Use uppercase ctype macros. If we included ctype.h,
2006 include safe-ctype.h instead.
2008 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
2009 ISLOWER(c) before calling TOUPPER(c).
2010 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
2011 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
2012 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
2014 2000-12-07 DJ Delorie <dj@redhat.com>
2016 * c-decl.c (grokdeclarator): preserve previous alignments when
2017 rebuilding array types.
2019 2000-12-07 Neil Booth <neilb@earthling.net>
2021 * cppfiles.c (struct include_file): Move from cpphash.h.
2022 (_cpp_never_reread): New function.
2023 (open_file, read_include_file): Use it.
2024 (stack_include_file): Set the buffer's sysp according to the
2025 path in which the file was found.
2026 (find_include_file): Don't set sysp.
2027 (cpp_make_system_header, actual_directory): Update.
2028 (_cpp_execute_include): Do #include_next lookup handling here,
2029 not in cpplib.c. Use _cpp_never_reread.
2030 * cpphash.h (struct_include_file): Remove.
2031 (struct cpp_buffer): New member sysp.
2032 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
2033 (_cpp_never_reread): New.
2034 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
2035 (end_directive): Clear line_extension flag.
2036 (_cpp_handle_directive): Set line_extension flag for #number.
2037 (do_include_next): Handle path lookup in _cpp_execute_include.
2038 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
2039 (_cpp_do_file_change): Update.
2040 (do_pragma_once): Use cpp_never_reread. Clean up.
2041 * cpplib.h (struct lexer_state): New member line_extension.
2043 2000-12-07 Richard Henderson <rth@redhat.com>
2045 * flow.c (calculate_global_regs_live): Force the stack pointer live
2046 after reload as well.
2048 2000-12-07 Bruce Korb <bkorb@gnu.org>
2050 * fixinc/Makefile.*(exeext): the variables are exeext, the
2051 substitution expression is build_exeext.
2053 2000-12-07 Neil Booth <neilb@earthling.net>
2055 * c-common.c (parse_in): Make a cpp_reader *.
2056 * cppfiles.c (_cpp_fake_include): Remove.
2057 * cpphash.h: Similarly.
2058 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
2059 #line always creates a callback; FC_RENAME if there are no
2061 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
2062 The first EOF must be our get_char buffer.
2064 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2066 * c-common.c (warn_format_security): New variable.
2067 (check_format_info): Warn about non-literal formats with no format
2068 arguments if either -Wformat-nonliteral or -Wformat-security is
2070 (set_Wformat): Set warn_format_security for settings other than 1.
2071 * c-common.h (warn_format_security): Declare.
2072 * c-decl.c (c_decode_option): Decode -Wformat-security and
2073 -Wno-format-security.
2074 * invoke.texi: Document -Wformat-security.
2075 * toplev.c (documented_lang_options): Include -Wformat-security
2076 and -Wno-format-security.
2078 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2080 * c-common.c (check_format_info): Warn for non-constant format
2081 strings with strftime formats if -Wformat-nonliteral. Where the
2082 format can convert arguments, if the format is not a string
2083 literal and there are no arguments to the format, give a different
2084 warning message from the general non-string-literal case.
2086 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2088 * c-common.c (format_wanted_type): Add reading_from_flag.
2089 (print_char_table): Mark %s and %S formats with flag "R".
2090 (check_format_info_main): Set up reading_from_flag appropriately.
2091 If aflag, always set writing_in_flag rather than relying on the
2092 format used being a scanf format and so having it set.
2093 (check_format_types): Check for formats reading through null
2096 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2098 * invoke.texi (-Wformat): Document what format features are
2101 2000-12-06 Kazu Hirata <kazu@hxi.com>
2103 * config/h8300/h8300.h: Fix formatting.
2105 2000-12-06 Joel Sherrill <joel@OARcorp.com>
2107 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
2108 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
2109 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
2110 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2111 config/h8300/rtems.h, config/mips/rtems.h: New files.
2113 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2115 * config.gcc: Reorganize handling of *-*-gnu*, to share target
2116 specific make details with Linux. Update comments to clarify
2117 the distinction between GNU/Linux and GNU/Hurd.
2119 Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
2121 * contrib.texi: Fix my email address. Update Per's
2122 list of contributions.
2124 2000-12-06 Rodney Brown <RodneyBrown@mynd.com>
2126 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
2127 * collect2.c (scan_libraries): Remove unused `ch'.
2128 (COFF specific stuff): Prototype ldgetname. Declare and prototype
2129 ldbtread and ldclose.
2131 * config/alpha/osf.h: Standarize copyright statement.
2132 * config/arc/arc.h: Likewise.
2133 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
2134 * config/arm/arm.c config/arm/arm.h: Likewise.
2135 * config/elxsi/elxsi.h: Likewise.
2136 * config/i386/sco.h: Likewise.
2137 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
2138 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
2139 * config/m68k/sun3.h: Likewise.
2140 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
2141 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
2142 * config/romp/romp.h: Likewise.
2143 * config/rs6000/aix41.h: Likewise.
2144 * config/sparc/sysv4.h: Likewise.
2145 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
2146 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
2147 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
2148 * longlong.h: Likewise.
2149 * libgcc2.c: Likewise.
2151 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2153 * machmode.def: Use correct definition for BITSIZE on targets where
2156 2000-12-06 Bruce Korb <bkorb@gnu.org>
2158 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
2161 2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2163 * pa.c: Include expr.h before c-tree.h.
2164 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
2165 instead of reverse_condition.
2166 (print_operand): Correct predicates for GT, GE, LT and LE. Add
2167 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
2169 (cmpib_comparison_operator): Add GEU and LTU codes.
2170 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
2171 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
2172 bordered): New float conditional branch patterns.
2174 Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
2176 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
2178 2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2180 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
2181 backslash and newline, when inside a comment.
2183 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
2185 * invoke.texi: Use @table @samp instead of @itemize @minus for
2186 table of language standards. Fix use of @pxref. From Zack
2187 Weinberg. Also exclude specs documentation from generated
2188 manpage, and create separate ENVIRONMENT section.
2190 2000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
2192 * gcse.c (compute_pre_data): Kill trapping expressions in
2193 destination blocks of abnormal edges.
2195 2000-12-05 Richard Sandiford <r.sandiford@redhat.com>
2197 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
2198 (mn10300_get_live_callee_saved_regs): Likewise.
2199 (mn10300_gen_multiple_store): Likewise.
2200 (store_multiple_operation): Likewise.
2201 (expand_prologue): Use mn10300_gen_multiple_store().
2202 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
2203 (mn10300_get_live_callee_saved_regs): Likewise.
2204 (mn10300_gen_multiple_store): Likewise.
2205 (store_multiple_operation): Likewise.
2206 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
2207 tied to store_multiple_operation().
2209 Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
2211 * builtins.c (expand_builtin_setjmp_setup): Set
2212 current_function_has_nonlocal_label.
2214 2000-12-05 Neil Booth <neilb@earthling.net>
2216 * cppfiles.c (stack_include_file): Push zero-length buffers
2217 in case of failure. Return void, as we don't fail any more.
2218 (read_include_file): Check for files we shouldn't re-read.
2219 Don't return an error code; errors are implied by marking the
2221 (_cpp_execute_include): Move the recursion and in-macro checks
2222 here. Update for stack_include_file not failing.
2223 * cpplib.c (cpp_push_buffer): Always succeed, since
2224 _cpp_execute_include performs the recursion check. Tidy up.
2225 * cpplib.h (cpp_push_buffer): Update prototype.
2227 2000-12-05 Alexandre Oliva <aoliva@redhat.com>
2229 * sched-vis.c (visual_tbl_line_length): New variable.
2230 (get_visual_tbl_length): Set it.
2231 (visualize_stall_cycles): Don't let stalls overrun
2232 visual_tbl_line_length.
2234 2000-12-05 Geoffrey Keating <geoffk@redhat.com>
2236 * global.c (global_conflicts): Allow for a REG_UNUSED note
2237 with a different mode to the REG set in the insn.
2239 2000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2241 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
2243 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
2245 2000-12-05 Bruce Korb <bkorb@gnu.org>
2247 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
2250 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
2252 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
2253 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
2254 to cope with aliased copies.
2255 * fixinc/fixincl.x: Regenerate.
2257 2000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
2259 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
2260 * sched-rgn.c: Likewise.
2261 (rgn_print_insn): Fix output.
2263 2000-12-05 Bruce Korb <bkorb@gnu.org>
2265 * fixinc/Makefile.*: make these more consistent
2266 * fixinc/mkfixincl.sh: enable BeOS fixincludes
2268 2000-12-05 Richard Henderson <rth@redhat.com>
2270 * stmt.c (warn_if_unused_value): Move side effects test earlier.
2272 2000-12-05 Alan Modra <alan@linuxcare.com.au>
2274 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
2277 2000-12-05 Richard Henderson <rth@redhat.com>
2279 * flow.c (calculate_global_regs_live): Only force stack pointer
2280 live before reload. Force pic register live before reload.
2281 (insn_dead_p): Don't protect pic references from deletion.
2283 2000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
2285 * invoke.texi: Add support for using texi2pod.pl. Don't use
2288 2000-12-04 Nick Clifton <nickc@redhat.com>
2290 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
2291 'tune_flags' for XScale nature.
2292 Remove spurious test of HARD_FLOAT and XScale flags.
2294 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
2295 contraint, accidentally changed during XScale contribution.
2297 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
2298 not create these functions if the target architecture does not
2299 support Thumb instructions.
2301 2000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2303 * ONEWS: New file with the current contents of NEWS up to EGCS
2305 * NEWS: Generate automatically from online release notes from EGCS
2306 1.0 to GCC 2.95.2, using ../contrib/gennews.
2308 2000-12-04 Neil Booth <neilb@earthling.net>
2310 * tradcif.y: Move lexptr to top of file. Add rule to handle
2311 assertions in conditional expressions.
2312 * tradcpp.c (parse_answer): Assertions do not need to go to
2313 end of line in conditional directives.
2314 (parse_assertion): Get first character of identifiers correct.
2315 (test_assertion): New function.
2316 * tradcpp.h (test_assertion): New prototype.
2318 2000-12-01 Rodney Brown <RodneyBrown@mynd.com>
2320 * config.gcc: Fix typo for UnixWare 7.
2322 2000-12-03 Phil Edwards <pme@sources.redhat.com>
2324 * invoke.texi: Replace `pedwarns' with clearer text.
2326 2000-12-04 Bruce Korb <bkorb@gnu.org>
2328 * fixinc/Makefile.*(clean): don't clean autogenerated files.
2329 (mainainer-clean): clean autogenerated files
2331 2000-12-04 DJ Delorie <dj@redhat.com>
2333 * md.texi: Add overview, clarify match_dup and define_expand.
2335 2000-12-04 DJ Delorie <dj@redhat.com>
2337 * print-tree.c (print_node): Target-specific builtins print
2340 2000-12-04 Jason Merrill <jason@redhat.com>
2342 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
2345 * diagnostic.c (report_problematic_module): s/function/module/.
2347 * c-lex.h: Remove decl for check_newline.
2349 2000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2351 * README.APOLLO: Remove obsolete file.
2353 2000-12-04 Neil Booth <neilb@earthling.net>
2355 * cppinternals.texi: New file.
2357 2000-12-04 Neil Booth <neilb@earthling.net>
2359 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
2360 and operate on current buffer.
2361 (cpp_read_file): Rename _cpp_read_file.
2362 * cpplib.c (do_line, do_pragma_system_header): Update calls to
2363 cpp_make_system_header.
2364 * fix-header.c: Similarly.
2365 * cpphash.h (_cpp_read_file): Move from...
2366 * cpplib.h: ... here.
2367 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
2369 2000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2371 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
2372 Handle another transformation.
2374 2000-12-03 Nick Clifton <nickc@redhat.com>
2376 * config.gcc: Add support for StrongARM targets.
2377 * config/arm/t-strongarm-elf: New file.
2378 * config/arm/t-strongarm-coff: New file.
2379 * config/arm/t-strongarm-pe: New file.
2380 * config/arm/strongarm-pe.h: New file.
2382 2000-12-03 Nick Clifton <nickc@redhat.com>
2384 * NEWS: Mention XScale has been added.
2385 * config.gcc: Add support for XScale targets.
2386 * config/arm/arm.h: Add support for XScale processor.
2387 * config/arm/arm.c: Add support for XScale processor.
2388 * config/arm/arm.md: Add support for XScale processor.
2389 * config/arm/t-xscale-elf: New file.
2390 * config/arm/t-xscale-coff: New file.
2391 * config/arm/xscale-elf.h: New file.
2392 * config/arm/xscale-coff.h: New file.
2394 2000-12-03 Richard Henderson <rth@redhat.com>
2396 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
2397 unless exception handling is enabled, and if not using sjlj.
2399 * builtins.c (expand_builtin_setjmp_setup): New.
2400 (expand_builtin_setjmp_receiver): New.
2401 (expand_builtin_setjmp): Split out _setup and _receiver functions.
2402 Move argument parsing in from ...
2403 (expand_builtin): ... here.
2404 * except.c (receive_exception_label): Branch around receiver
2405 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
2406 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
2407 * expr.h: Update builtin setjmp decls.
2409 2000-12-03 Bruce Korb <bkorb@gcc.org>
2411 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
2412 build machine name. Default to the target.
2414 2000-12-03 Laurynas Biveinis <lauras@softhome.net>
2416 * Makefile.in: use $(build_canonical), not $(canonical_build).
2418 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2420 * Makefile.in (OBJS): Add sched-rgn.o.
2421 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
2423 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2424 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2425 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2426 MAX_BLOCKAGE_COST): Move to sched-int.h.
2427 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
2428 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
2429 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
2430 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
2431 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
2432 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
2433 debug_regions, find_single_block_region, find_rgns, too_large,
2434 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
2435 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
2436 extract_bitlst, bblst, struct candidate, candidate_table,
2437 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
2438 SRC_PROB, target_bb, split_edges, compute_trg_info,
2439 debug_candidate, debug_candidates, bbset, bbset_size, dom,
2440 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
2441 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
2442 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
2443 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
2444 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
2445 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
2446 update_live, set_spec_fed, is_pfree, find_conditional_protection,
2447 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
2448 is_prisky, is_exception_free, add_branch_dependences,
2449 propagate_deps, compute_block_backward_dependences,
2450 debug_dependencies, is_cfg_nonregular, build_control_flow,
2451 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
2452 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
2453 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
2454 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
2455 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
2456 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
2457 rgn_rank, region_sched_info): Move to sched-rgn.c.
2458 (debug_reg_vector): Delete useless function.
2459 (get_bb_head_tail): Likewise.
2460 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
2461 no_real_insns_p, rm_line_notes, save_line_notes,
2462 restore_line_notes, rm_redundant_line_notes, sched_init): No
2464 (rm_line_notes, save_line_notes, restore_line_notes,
2465 schedule_block, set_priorities): Change argument to be a real
2466 basic block, not one of haifa's "bb"s. All callers changed
2467 (rm_other_notes): Initialize note_list here, not in
2469 (sched_finish): New function, called from schedule_insn. * *
2470 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2471 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2472 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2473 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
2474 (get_block_head_tail, no_real_insns_p, rm_line_notes,
2475 save_line_notes, restore_line_notes, rm_redundant_line_notes,
2476 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
2477 sched_init, sched_finish, ready_add, insn_cost): Declare.
2479 2000-12-03 Laurynas Biveinis <lauras@softhome.net>
2480 Bruce Korb <bkorb@gnu.org>
2482 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
2483 * fixinc/mkfixinc.sh: accept build system name as an argument.
2484 Use it for choosing the fix build method. Use the target for
2485 selecting special fix rules.
2487 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2489 * Makefile.in (OBJS): Add sched-deps.o.
2490 (sched-deps.o): New rule.
2491 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
2493 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
2495 (SIZE_FOR_MODE): Delete unused macro.
2496 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
2497 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
2498 anti_dependency_cache, output_dependency_cache,
2499 forward_dependency_cache): Variables moved to sched-deps.c.
2500 (add_dependence, remove_dependence, find_insn_list,
2501 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
2502 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
2503 sched_analyze, group_leader, compute_forward_dependences,
2504 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
2505 Functions moved to sched-deps.c.
2506 (schedule_region): Call init_deps_global and finish_deps_global
2507 instead of directly manipulating dependency data structures.
2508 * sched-deps.c: New file.
2509 (init_deps_global, finish_deps_global): New functions.
2510 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
2513 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
2516 * Makefile.in (OBJS): Add sched-vis.o.
2517 (sched-vis.o): New rule.
2518 * haifa-sched.c (get_unit_last_insn): New function.
2519 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
2521 (schedule_block): Call visualize_alloc and visualize_free. Delete
2522 spurious return statement.
2523 (init_target_units, insn_print_units, get_visual_tbl_length,
2524 init_block_visualization, print_block_visualization, safe_concat,
2525 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
2526 print_exp, print_value, print_pattern, print_insn, target_units,
2527 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
2528 n_vis_no_unit, vis_no_unit): Move scheduling visualization
2529 functions/variables...
2530 * sched-vis.c: ...here. New file.
2531 (visualize_alloc, visualize_free): New functions.
2532 (visualize_scheduled_insns, visualize_stall_cycles,
2533 print_block_visualization): Lose basic block argument. All callers
2535 (visualize_scheduled_insns): Use new function get_unit_last_insn.
2536 * sched-int.h (current_sched_info, sched_dump): Declare.
2537 (init_target_units, insn_print_units, init_block_visualization,
2538 print_block_visualization, visualize_scheduled_inns,
2539 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
2540 visualize_free): Declare functions.
2542 * sched-int.h: New file.
2543 * Makefile.in (haifa-sched.o): Depend on it.
2544 * haifa-sched.c: Include it.
2545 (no_real_insns_p): New function.
2546 (current_sched_info): New static variable.
2547 (__inline, HAIFA_INLINE): Moved to sched-int.h.
2548 (get_block_head_tail): Minor cleanup.
2549 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
2550 rgn_print_insn, rgn_rank): New functions, broken out of
2551 rank_for_schedule, schedule_insn and schedule_block, where they
2552 are now called through function pointers in current_sched_info.
2553 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
2554 print_insn): To display uid and block number, call the print_insn
2555 function pointer in current_schedule_info.
2556 (region_sched_info): New static variable.
2557 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
2558 variables, moved out of schedule_block.
2559 (schedule_block): Return void. All callers changed.
2560 Move some of the setup code into schedule_region. Get head/tail
2561 from current_sched_info, and update it when done.
2562 (schedule_region): Slightly rearranged, some code moved here from
2563 schedule_block. Call no_real_insns_p to avoid doing work for a
2564 block that consists only of notes and labels.
2565 (schedule_insns): Initialize current_sched_info.
2567 2000-12-03 Neil Booth <neilb@earthling.net>
2569 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
2570 by contexts drops AFTER argument pre-expansion, so that they
2571 remain enabled during argument pre-expansion.
2572 (_cpp_pop_context): Unconditionally re-enable a macro when
2573 dropping a context level.
2575 2000-12-03 Manfred Hollstein <manfredh@redhat.com>
2577 * arm/t-linux (MULTILIB_OPTIONS): Comment.
2578 (MULTILIB_DIRNAMES): Likewise.
2579 (EXTRA_MULTILIB_PARTS): Likewise.
2581 (INSTALL_LIBGCC): Likewise.
2583 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2585 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
2586 expand_builtin_strspn, expand_builtin_strcspn): New functions.
2587 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2588 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
2590 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2591 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
2593 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2594 strcat, strncat, strspn and strcspn.
2595 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
2597 * extend.texi (strcat, strcspn, strncat, strspn): Document new
2600 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2602 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
2603 expanding strcmp at compile-time. Add another transformation.
2604 (expand_builtin_strncmp): Add more transformations. Call
2605 expand_builtin_memcmp, not expand_builtin_strcmp, under
2606 appropriate conditions if HAVE_cmpstrsi.
2608 2000-12-02 David Edelsohn <edelsohn@gnu.org>
2610 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
2612 (cr logic): Really make operands sequential.
2614 2000-12-02 Geoffrey Keating <geoffk@redhat.com>
2616 * c-common.c (combine_strings): When the ISO C standard specifies
2617 the maximum length of a string, it doesn't include the trailing
2620 * cpplib.c (do_ifdef): Add check_eol() call.
2621 (do_ifndef): Likewise.
2623 2000-12-02 Daniel Berlin <dberlin@redhat.com>
2624 Bruce Korb <bkorb@gnu.org>
2626 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
2627 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
2628 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
2629 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
2630 use the "__need_" hackery. It breaks them.
2631 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
2632 Sometimes on DOS and BeOS the temp output file cannot be opened.
2633 Skip the file noisily. Ought to be fixed instead.
2635 2000-12-02 Bruce Korb <bkorb@gnu.org>
2637 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2639 * fixfixes.c (emit_gnu_type, format_write): Prototype.
2640 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
2641 custom uppercase ctype macros.
2642 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
2643 Use gcc's custom uppercase ctype macros.
2645 (machine_matches): Add static prototype and constify variable.
2646 (create_file, test_test, egrep_test): Add static prototype.
2647 (quoted_file_exists): Likewise, and constify parameters.
2648 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
2649 write_replacement, test_for_changes): Add static prototype.
2650 (write_replacement, test_for_changes): Delete excess argument to
2652 * fixtests.c (test): Make static.
2653 * server.c (load_data, sig_handler, server_setup, find_shell): Add
2655 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
2657 2000-12-02 Bruce Korb <bkorb@gnu.org>
2659 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
2660 (per Laurynas Biveinis <lauras@softhome.net>)
2662 2000-12-02 Richard Earnshaw <rearnsha@arm.com>
2664 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
2666 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
2667 (REGNO_OK_FOR_FOR_BASE_P): Delete.
2668 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
2669 both strict and non-strict uses.
2670 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
2671 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
2672 (REG_OK_FOR_INDEX_P): Define in terms of above.
2673 (REG_OK_FOR_BASE_P): Delete.
2674 (REG_OK_FOR_PRE_POST_P): Delete.
2675 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
2676 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
2677 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
2678 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
2679 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
2680 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
2681 in pre/post increment cases.
2682 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
2683 (ARM_LEGITIMIZE_ADDRESS): Similarly.
2684 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
2685 * arm.c (legitimate_pic_address): Similarly.
2687 2000-12-02 Neil Booth <neilb@earthling.net>
2689 * tradcpp.c (struct answer, parse_assertion, parse_answer,
2690 canonicalize_text, find_answer): New.
2691 (do_assert, do_unassert): Provide appropriate function bodies.
2692 (union hashval): New member answers.
2694 2000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
2696 * config/avr/avr.md: Document UNSPEC usage.
2697 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
2698 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
2699 MEM for program memory word reference. Do not add the label to
2700 the table index in each of the asm output templates, instead ...
2701 (casesi): ... do it in RTL. Adjust to match the above change.
2703 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2705 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
2706 * c-decl.c: ... not here.
2708 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
2709 (old_max_uid): New variable.
2710 (compute_forward_dependences): Renamed from
2711 compute_block_forward_dependences; changed to accept block head and
2712 tail instead of block number. Caller changed.
2713 (free_deps, init_dependency_caches, free_dependency_caches,
2714 init_regions, sched_init): New functions, split out from
2715 schedule_insns and compute_block_backward_dependences.
2717 2000-12-02 Neil Booth <neilb@earthling.net>
2719 * cppexp.c (parse_number): Update diagnostic test.
2721 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2723 * reload1.c (free_for_value_p): New function, frontend to
2724 reload_reg_free_for_value_p. All callers of the latter now call
2725 this function with an additional mode argument.
2727 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2729 * install.texi (Configurations): Remove obsolete documentation for
2732 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2734 * install.texi (Installation): Remove obsolete description for
2735 libstdc++ which is now an integral part of GCC.
2737 2000-12-01 Jim Blandy <jimb@redhat.com>
2739 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
2740 invisible reference in registers, but then spilled to the stack.
2741 Remove code to emit a second stab for such parameters; it attempts
2742 to describe the value's location by introducing a synthetic C++
2743 `reference' type, and then saying the stack slot has that
2744 reference type. This loses type information (breaking GDB's
2745 `ptype' command, among other things) just to describe a location
2746 which stabs can represent correctly in other ways.
2748 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2750 * final.c (output_addr_const) <PLUS>: Don't assume at least one
2751 operand is a CONST_INT.
2753 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
2754 (machine_dependent_reorg): Split all insns.
2755 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
2756 reg_class_contents[SIBCALL_REGS].
2757 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
2758 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
2759 call_value_pcrel, call, call_value, sibcall): Match even when
2761 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
2763 (sibcalli): Likewise.
2765 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2767 * c-common.c (warn_format, warn_format_y2k,
2768 warn_format_extra_args, warn_format_nonliteral): Define.
2769 (check_format_info): Check warn_format_nonliteral and
2770 warn_format_extra_args.
2771 (check_format_info_main): Check warn_format_y2k.
2772 (set_Wformat): New function.
2773 * c-common.h (warn_format_y2k, warn_format_extra_args,
2774 warn_format_nonliteral, set_Wformat): Declare.
2775 * c-decl.c (warn_format): Remove definition.
2776 (c_decode_option): Handle -Wformat-nonliteral,
2777 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
2779 * invoke.texi: Document these new options and -Wformat=2.
2780 * toplev.c (documented_lang_options): Add these new options.
2782 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2784 * builtins.def (BUILT_IN_IMAXABS): Add.
2785 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
2786 * c-common.c (c_common_nodes_and_builtins): Create builtin
2787 functions __builtin_imaxabs, and plain imaxabs unless
2788 flag_no_nonansi_builtin outside C99 mode.
2789 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
2790 * extend.texi: Document builtin imaxabs.
2792 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2794 * c-common.c: Include "defaults.h".
2795 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
2796 (c_common_nodes_and_builtins): Create string_type_node,
2797 const_string_type_node, wint_type_node, intmax_type_node,
2798 uintmax_type_node, default_function_type, ptrdiff_type_node and
2799 unsigned_ptrdiff_type_node.
2800 * c-common.h (identifier_global_value): Declare.
2801 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
2802 (init_decl_processing): Don't create string_type_node,
2803 const_string_type_node, wint_type_node, intmax_type_node,
2804 uintmax_type_node, default_function_type, ptrdiff_type_node and
2805 unsigned_ptrdiff_type_node.
2806 (identifier_global_value): New function.
2808 2000-12-01 Neil Booth <neilb@earthling.net>
2810 * cppinit.c (initialize): Forgotten prototype.
2811 * cpplex.c (_cpp_lex_token): Loop until not skipping.
2812 Always clear PREV_WHITE upon meeting a new line.
2813 * cpplib.c (end_directive): Set pfile->skipping after
2815 * cpplib.h (cpp_reader): Remove macro_pos.
2816 * cppmacro.c (cpp_get_line): Don't do anything special inside
2818 (parse_arg): Add PREV_WHITE if a token appears after new lines.
2819 (funlike_invocation_p): Save and restore the output position
2820 over a successful check for a '('.
2821 (enter_macro_context): Delete uses of macro_pos.
2822 (cpp_get_token): Don't use pfile->skipping.
2824 2000-12-01 Phil Edwards <pme@sources.redhat.com>
2826 * diagnostic.c: Fix typos in comments.
2827 * diagnostic.h: Likewise.
2829 2000-11-30 Phil Edwards <pme@sources.redhat.com>
2831 * rtl.texi (Machine Modes): Document BImode and OImode.
2833 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2835 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
2838 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2840 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
2841 incomplete element type.
2842 (grokparms): Before checking for incomplete parameter type, check
2843 the type isn't error_mark_node.
2845 2000-12-01 Jakub Jelinek <jakub@redhat.com>
2847 * builtins.c (target_char_cast): New function.
2848 (expand_builtin_strchr): Use it.
2849 (expand_builtin_strrchr): Use it.
2850 (builtin_memset_read_str): New function.
2851 (expand_builtin_memset): Use target_char_cast.
2852 Try to optimize memset with second argument non-zero using
2855 2000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
2857 * install.texi (avr): Replace incomplete list of supported MCU
2858 types with a link to the current one ...
2859 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
2860 all supported MCU types. Document -minit-stack= default.
2861 Document new options -mno-tablejump, -mtiny-stack.
2862 * md.texi (AVR family): Fix typo in 'w' constraint letter
2863 description. Document 'q'. Update 'O'.
2865 2000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
2867 * combine.c (cant_combine_insn_p): Only disallow insns involving
2868 hard regs if they are reg-reg moves.
2869 (try_combine, can_combine_p, combinable_i3pat): Delete old
2870 SMALL_REGISTER_CLASSES tests.
2872 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2874 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
2875 whether X is a CONST_INT.
2876 (addsubcosts): Likewise.
2878 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
2880 (ARG_POINTER_REGNUM): Set to AP_REG.
2882 2000-11-30 Alexandre Oliva <aoliva@redhat.com>
2884 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
2885 splits): Only match on TARGET_SH4.
2887 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
2888 of subsequent insns.
2890 2000-11-30 Richard Henderson <rth@redhat.com>
2892 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
2893 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
2895 2000-11-30 Richard Henderson <rth@redhat.com>
2897 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
2898 (DO_SELECT_SECTION): New.
2899 (SELECT_SECTION): Use it.
2900 (UNIQUE_SECTION_P): New.
2901 (UNIQUE_SECTION): New.
2903 2000-11-30 Alexandre Oliva <aoliva@redhat.com>
2905 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
2906 from va_list before using it.
2908 2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
2910 * flow.c (make_edge): Early out, if no flags to set.
2911 (calculate_global_regs_live): Clear out garbage only when necessary.
2913 * simplify-rtx.c (varray_type used_regs): New.
2914 (clear_table): Use it to only clear necessary items.
2915 (cselib_lookup, cselib_record_set): Remember newly set items.
2916 (cselib_update_varray_sizes, cselib_init): Initialize and grow
2919 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
2920 Move clearing of dead regs out of insn-loop.
2922 2000-11-30 Richard Henderson <rth@redhat.com>
2924 * calls.c (expand_call): Emit queued insns before creating
2925 the tail recursion sequence.
2927 2000-11-30 J. David Anglin <dave.anglin@nrc.ca>
2928 Bruce Korb <bkorb@gnu.org>
2930 * fixinc/inclhack.def(): prevent dual double definition protection
2931 * fixinc/fixincl.x: regenerate
2933 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
2935 * fixinc/Makefile.in (fixincl.x): Explicitly state the
2936 location of the generated file.
2938 2000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2940 * README.FRESCO: Remove obsolete file.
2942 2000-11-30 Mark Kettenis <kettenis@gnu.org>
2944 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
2945 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
2946 config/t-linux for the Hurd.
2948 2000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2950 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
2951 config/mn10200/udivmodsi4.c: Moved from here.
2952 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
2953 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
2954 C division functions.
2955 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
2957 Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
2959 * pa.md (conditional moves): Avoid holes in operand list.
2960 (mod, umod patterns): Similarly.
2961 (variable extract/shift patterns): Similarly.
2963 2000-11-30 Neil Booth <neilb@earthling.net>
2965 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
2966 maybe_objc_check_decl, build_objc_string_object,
2967 objc_declare_alias, objc_declare_class, build_message_expr,
2968 build_protocol_expr, build_selector_expr, build_encode_expr,
2969 get_class_ivars, start_class, start_protocol): Remove
2970 redundant code, assuming doing_objc_thang is true.
2972 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2974 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
2975 (record_unscaled_index_insn_codes): Likewise.
2976 (unscaled_index_insn_codes): Delete.
2977 (max_unscaled_index_insn_codes_uid): Delete.
2978 (output_function_prologue, output_function_epilogue, pa_reorg):
2979 Don't use the unscaled index insn hack.
2981 * pa.md: Remove hack from all index insns to reverse the operand
2982 order of frame and stack pointer references incorrectly created
2985 * function.h (emit_status): Delete member regno_pointer_flag and
2986 rename regno_pointer_flag_length to regno_pointer_align_length.
2987 Delete define for REGNO_POINTER_FLAG.
2988 * integrate.h (inline_remap): Delete member regno_pointer_flag.
2989 Add member x_regno_reg_rtx.
2990 * rtl.h (rtx_def): Use frame_related bit to indicate register is
2991 a pointer in REG expressions. Define REG_POINTER macro.
2992 * alias.c (find_base_value, find_base_term): Use REG_POINTER
2993 instead of REGNO_POINTER_FLAG.
2994 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
2995 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
2996 of regno_pointer_flag_length. Remove code which refers to
2998 (mark_reg_pointer): Use REG_POINTER.
2999 (free_emit_status): Remove code which refers to regno_pointer_flag.
3000 (init_emit, mark_emit_status): Likewise.
3001 * flow.c (dump_flow_info): Likewise.
3002 * function.c (preserve_temp_slots): Likewise.
3003 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
3004 Use x_regno_reg_rtx instead of regno_pointer_flag for function
3005 pointer determination in map.
3006 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
3007 * predict.c (estimate_probability): Likewise.
3008 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
3009 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
3010 regno_pointer_flag for function pointer determination in map.
3011 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
3013 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
3015 (restore_unscaled_index_insn_codes): Revise comment.
3017 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
3019 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
3021 * extend.texi: Update documentation for attributes.
3023 2000-11-29 David O'Brien <obrien@FreeBSD.org>
3025 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
3026 (ASM_DECLARE_OBJECT_NAME): Same.
3027 (ASM_FILE_END): Same.
3028 (ASM_FINISH_DECLARE_OBJECT): Same.
3029 (ASM_IDENTIFY_GCC): Same.
3030 (ASM_IDENTIFY_LANGUAGE): Same.
3031 (ASM_OUTPUT_CONSTRUCTOR): Same.
3032 (ASM_OUTPUT_DEF): Same.
3033 (ASM_OUTPUT_DESTRUCTOR): Same.
3034 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
3035 (ASM_OUTPUT_SECTION_NAME): Same.
3036 (ASM_WEAKEN_LABEL): Same.
3037 (BSS_SECTION_ASM_OP): Same.
3038 (COMMON_ASM_OP): Same.
3039 (CONST_SECTION_ASM_OP): Same.
3040 (CONST_SECTION_FUNCTION): Same.
3041 (CTORS_SECTION_ASM_OP): Same.
3042 (DTORS_SECTION_ASM_OP): Same.
3044 (FINI_SECTION_ASM_OP): Same.
3045 (IDENT_ASM_OP): Same.
3046 (IDENT_ASM_OP): Same.
3047 (INIT_SECTION_ASM_OP): Same.
3049 (MAX_OFILE_ALIGNMENT): Same.
3050 (SBSS_SECTION_ASM_OP): Same.
3051 (SDATA_SECTION_ASM_OP): Same.
3052 (SECTION_FUNCTION_TEMPLATE): Same.
3053 (SELECT_SECTION): Same.
3054 (SE_CONST_SECTION): Same.
3055 (SIZE_ASM_OP): Same.
3056 (SKIP_ASM_OP): Same.
3057 (STRING_ASM_OP): Same.
3058 (STRING_LIMIT): Same.
3059 (TYPE_ASM_OP): Same.
3060 (TYPE_OPERAND_FMT): Same.
3062 2000-11-29 Neil Booth <neilb@earthling.net>
3064 * c-decl.c (c_decode_option): Don't handle -lang-objc.
3065 * objc/lang-options.h: Remove -lang-objc.
3066 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
3067 * objc/objc-act.c (lang_init_options): Set c_language.
3069 2000-11-29 Jakub Jelinek <jakub@redhat.com>
3071 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
3074 2000-11-29 Neil Booth <neilb@earthling.net>
3076 * c-pragma.c (init_pragma): Update for parse_in type change.
3078 2000-11-29 Laurynas Biveinis <lauras@softhome.net>
3080 * configure.in: recognize DOS-style absolute paths.
3082 2000-11-29 Jakub Jelinek <jakub@redhat.com>
3084 * expr.h (store_by_pieces): Add prototype.
3085 (can_store_by_pieces): Likewise.
3086 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
3087 (can_store_by_pieces): New.
3088 (store_by_pieces): New.
3089 (clear_by_pieces): New.
3090 (clear_by_pieces_1): New.
3091 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
3092 arbitrary compiler generated constants into memory block.
3093 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
3094 * builtins.c (c_readstr): New.
3095 (builtin_memcpy_read_str): New.
3096 (expand_builtin_memcpy): If src is string constant and
3097 emit_block_move would move it by pieces, compute integer constants
3098 from the string and store it into memory block instead.
3099 (builtin_strncpy_read_str): New.
3100 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
3101 not return INTEGER_CST, don't optimize.
3102 If N is larger than strlen(src) + 1, try to copy the string
3103 including padding with store_by_pieces.
3104 (expand_builtin_strcmp): If both arguments have side effects, don't
3106 (expand_builtin_fputs): If STR has side effects, don't optimize.
3108 2000-11-29 Richard Earnshaw <rearnsha@arm.com>
3110 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
3111 Add use of link register.
3113 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3115 * extend.texi: Update documentation for default format attributes.
3117 Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
3119 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3120 a list, to keep track of the sections.
3122 2000-11-28 Nick Clifton <nickc@redhat.com>
3124 * config/arm/arm.md (pic_load_addr): Split into
3125 pic_load_addr_arm and pic_load_addr_thumb.
3127 * config/arm/arm.c (legitimize_pic_address): Generate either
3128 ARM or Thumb versions of pic_load_addr.
3129 (arm_finalize_pic): Generate either ARM or Thumb versions of
3132 2000-11-28 Richard Henderson <rth@redhat.com>
3134 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
3135 after sibcall do_pending_stack_adjust.
3137 Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
3139 * jump.c (delete_insn): Check that REG_LABEL note actually contains
3142 2000-11-28 Neil Booth <neilb@earthling.net>
3144 * c-common.h: Remove flag_digraphs.
3145 * c-decl.c: Remove flag_digraphs.
3146 (c_decode_option): Don't set it.
3147 * c-lex.c (init_c_lex): Don't do anything for digraphs.
3149 2000-11-28 Richard Henderson <rth@redhat.com>
3151 * c-parse.in (finish_parse): Update for parse_in type change.
3154 2000-11-28 Neil Booth <neilb@earthling.net>
3156 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
3157 indicating whether to scan all buffers on the stack or
3159 * cppinit.c (do_includes): Update.
3160 * cppmain.c (main): Update.
3161 * cpplib.h: Update prototype.
3163 2000-11-28 Richard Henderson <rth@redhat.com>
3165 * genoutput.c (validate_insn_operands): New.
3166 (gen_insn): Call it.
3168 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
3169 (divmoddi_internal): Likewise.
3170 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
3171 * config/i960/i960.md (branch patterns): Likewise.
3172 * config/ia64/ia64.md (tbit_and_0): Likewise.
3173 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
3174 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
3175 * config/mips/mips.md (divmodsi4_internal): Likewise.
3176 (divmoddi4_internal): Likewise.
3177 * config/rs6000/rs6000.md (call patterns): Likewise.
3178 * config/sh/sh.md (movsi_y): Likewise.
3179 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
3181 2000-11-28 Richard Henderson <rth@redhat.com>
3183 * config.gcc: Kill residual pyramid support.
3185 2000-11-28 Neil Booth <neilb@earthling.net>
3187 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
3188 * c-decl.c (c_decode_option): Update to match.
3189 * c-lex.c (init_c_lex, yyparse): Update to match.
3190 * c-lang.c (lang_init_options): Use cpp_create_reader.
3191 * cppinit.c (cpp_init): Rename initialize.
3192 (cpp_reader_init): Rename cpp_create_reader. Create the
3193 reader. Initialize cpplib if appropriate.
3194 * cpplib.h (cpp_create_reader) New prototype.
3195 (cpp_init, cpp_reader_init): Delete prototypes.
3196 * cppmain.c (general_init, setup_callbacks): New functions.
3198 * fix-header.c (scan_in): Change type to cpp_reader *.
3199 (read_scan_file): Update for new cpplib interface and scan_in type.
3201 * cp/decl.c (parse_in): Change to cpp_reader *.
3202 (lang_decode_option): Update.
3203 * cp/lex.c (lang_init_options): Use new cpplib interface.
3204 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
3205 * cp/spew.c (read_token): Update.
3206 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
3208 2000-11-28 Jakub Jelinek <jakub@redhat.com>
3210 * loop.c (load_mems): Avoid using next_label to find end_label. If
3211 jumping outside of the loop (other than loop end), don't hoist MEMs
3214 2000-11-28 Jan Hubicka <jh@suse.cz>
3216 * calls.c (expand_call): Don't disable tail recursion based
3219 2000-11-28 Neil Booth <neilb@earthling.net>
3221 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
3222 (struct directive): Drop 4th argument from handlers.
3223 (do_define, do_line, do_include, do_undef, do_else, do_elif,
3224 do_endif): Similarly.
3225 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
3226 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
3227 (make_definition, make_undef): Take a const char*.
3228 (make_assertion): New function.
3229 (struct directive_table): Update.
3230 (main): Handle -A command line argument.
3231 (handle_directive): Drop fourth handler argument.
3233 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
3235 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
3236 is anything but REG or MEM, but look inside STRICT_LOW_PART.
3238 Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3240 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
3241 (IS_ABSOLUTE_PATHNAME): New macro.
3242 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
3244 2000-11-28 Jakub Jelinek <jakub@redhat.com>
3246 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
3248 2000-11-27 Jim Wilson <wilson@redhat.com>
3250 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
3252 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
3254 * extend.texi (Nested Functions): Update URL of Usenix paper.
3256 2000-11-27 Mark Mitchell <mark@codesourcery.com>
3258 * function.c (free_after_compilation): Clear x_clobber_return_insn.
3260 2000-11-27 Neil Booth <neilb@earthling.net>
3262 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
3263 command line options.
3264 (cpp_handle_option): Similarly.
3265 * cpplib.h (struct cpp_options): Remove warn_paste.
3266 * cppmacro.c (paste_tokens): Apart from assembler, make
3267 unpasteable token warning mandatory.
3269 2000-11-27 Neil Booth <neilb@earthling.net>
3271 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
3272 (main): Allocate a pending directive set of these. Use it.
3273 Merge handling of -D and -U. Update handling of pending
3274 directives. Free the memory after use.
3276 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3278 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
3279 (struct propagate_block_info): Add new member cond_local_set.
3280 (propagate_block): Accept new arg cond_local_set. All callers
3282 (init_propagate_block_info): Likewise.
3283 (calculate_global_regs_live): Allocate & free cond_local_set. Always
3284 rescan if there's overlap between cond_local_set and new_live_at_end.
3285 (mark_set_1): Set bits either in cond_local_set or local_set, as
3287 * basic-block.h (struct basic_block_def): New field cond_local_set.
3288 (propagate_block, init_propagate_block_info): Update prototypes.
3290 Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
3292 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
3295 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
3297 * arm.c (select_dominance_cc_mode): Handle new way that combine
3298 canonicalizes conditional compares.
3299 (arm_select_cc_mode): Likewise.
3300 * arm.md: Garbage collect some dead code.
3301 (cmp_and, cmp_ior): New patterns.
3302 (splitter for conditional move with inverted false): Use cond_exec
3303 and handle unordered comparisons.
3305 Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
3307 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
3308 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
3309 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
3310 ix86_force_to_memory and ix86_free_from_memory.
3312 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
3314 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
3315 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
3316 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
3317 one_cmpldi2): Merge with splitters to create define_insn_and_split
3318 patterns. Remove redundant splits.
3319 (peephole2 for add:SI of invalid immediate): New.
3320 (peephole2 for minus:SI of invalid immediate): New.
3321 (peephole2 for ior:SI of invalid immediate): New.
3322 (peephole for merge of move and compare): Convert ot peephole2.
3323 (addsf3, adddf3): Mark as commutative.
3325 * arm.md (thumb peephole for merging stack adjustments): Convert to
3328 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3330 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
3332 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
3333 (reload_cse_simplify_operands): Do nothing about operands where both
3334 the operand and the match_operand fail to give us a mode.
3335 * simplify-rtx.c (wrap_constant): New function.
3336 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
3337 CONST describing the proper mode.
3338 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
3340 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
3341 htab_find_slot_with_hash.
3342 (cselib_lookup): Likewise.
3344 Based on a patch from Geoff Keating <geoffk@redhat.com>:
3345 * loop.c (basic_induction_var): If a REG is set from something
3346 that is not a biv, then the REG is not a biv. Even if it is
3347 earlier set from something that is a biv.
3349 2000-11-27 Alexandre Oliva <aoliva@redhat.com>
3351 * configure.in (extra_objs): Enclose extra_headers in quotes.
3352 * configure: Rebuilt.
3354 2000-11-27 Neil Booth <neilb@earthling.net>
3356 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
3357 Combine into the new function cb_change_file.
3358 (init_c_lex): Update.
3359 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
3360 (cpp_syshdr_flags): Delete.
3361 * cpphash.h (_cpp_do_file_change): New prototype.
3362 Move struct cpp_buffer here from...
3363 * cpplib.h (struct cpp_buffer): ... here.
3364 (enum cpp_fc_reason, struct cpp_file_loc,
3365 struct_cpp_file_change, change_file): New.
3366 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
3367 * cpplib.c (do_line): Update for new cb_change_file callback.
3368 (_cpp_do_file_change): New function.
3369 (_cpp_pop_buffer): Update to use it.
3370 * cppmain.c (move_printer): Delete.
3371 (main): Set up single callback cb_change_file.
3372 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
3373 (cb_change_file): New.
3374 * fix-header.c (cur_file, cb_change_file): New.
3375 (recognized_function, read_scan_file): Update.
3376 * scan-decls.c (scan_decls): Update.
3377 * scan.h (recognized_function): Update prototype.
3379 2000-11-26 Mark Mitchell <mark@codesourcery.com>
3381 * tree.h (mark_tree_hashtable): New function.
3382 * tree.c (mark_tree_hashtable_entry): New function.
3383 (mark_tree_hashtable): Likewise.
3385 2000-11-27 Michael Meissner <meissner@redhat.com>
3387 * d30v-protos.h (srelational_si_operator): Correctly spell
3389 (urelational_si_operator): Ditto.
3390 (relational_si_operator): Ditto.
3391 (d30v_expand_prologue): Add prototype.
3392 (d30v_expand_epilogue): Ditto.
3394 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
3396 * d30v.md (movcccc_*): Delete now unused patterns.
3397 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
3399 (define_cond_exec): Use 'b' to select branch flags.
3401 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3403 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
3405 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
3407 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
3409 * c-common.c (c_common_nodes_and_builtins): Declare builtin
3410 strncpy and strncmp.
3412 * extend.texi (strncmp, strncpy): Document new builtins.
3414 2000-11-26 Mark Mitchell <mark@codesourcery.com>
3416 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3417 a list, to keep track of the sections.
3418 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
3419 parameter provided will always be a canonical string.
3421 2000-11-26 Neil Booth <neilb@earthling.net>
3423 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
3426 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
3428 * makefile.vms: Remove EGCS references.
3430 2000-11-26 Ulrich Drepper <drepper@redhat.com>
3432 * dwarf2out.c (output_file_names): New function. Compute minimal
3433 combination of directory and file name table and emit them.
3434 (output_line_info): Remove code to emit directory and file name
3435 table and call output_file_names instead.
3436 (file_info_cmp): Helper function to sort directory names.
3438 2000-11-26 Neil Booth <neilb@earthling.net>
3440 * cpplib.h (struct cpp_reader): Remove lang_asm.
3441 (struct cpp_options): Remove c89. New members lang,
3443 * cppexp.c (parse_number): Use them.
3444 * cpphash.h (VALID_SIGN): Use them.
3445 * cppinit.c (set_lang, cpp_start_read): Update.
3446 * cpplex.c (parse_string, _cpp_lex_token): Update.
3447 * cpplib.c (_cpp_handle_directive): Update.
3448 * cppmacro.c (parse_args): Update.
3449 * cppmain.c (scan_buffer): Update.
3451 Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3453 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
3456 2000-11-26 Neil Booth <neilb@earthling.net>
3458 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
3459 * c-decl.c: Remove parse_in declaration.
3460 * c-lang.c: Similarly.
3461 * c-lex.c: Similarly.
3462 * c-parse.in: Similarly.
3463 * c-pragma.c: Similarly.
3464 * configure.in: Similarly.
3465 * cp/Make-lang.in: Similarly.
3466 * cp/spew.c: Similarly.
3467 * cp/decl2.c: Remove check for lang-c++ option.
3468 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
3469 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
3470 * c-lex.h: Add declaration of parse_in.
3471 * cppinit.c: Call set_lang after allocating pfile->pending.
3472 * configure: Regenerate.
3474 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
3476 * combine.c (try_combine): Remove redundant test.
3478 2000-11-25 Richard Henderson <rth@redhat.com>
3480 * c-common.h (DECL_C_HARD_REGISTER): New.
3481 * c-decl.c (finish_decl): Set it for asm register variables.
3482 * c-semantics.c (emit_local_var): Test it when instantiating one.
3484 2000-11-25 Richard Henderson <rth@redhat.com>
3486 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
3487 lineno for the start of the function.
3489 2000-11-25 Richard Henderson <rth@redhat.com>
3491 * dwarf2out.c (file_table, file_table_allocated): Remove.
3492 (file_table_allocated): Remove.
3493 (struct file_table): New.
3494 (decl_file_table, line_file_table): New.
3495 (print_dwarf_line_table): Use them.
3496 (size_of_line_prolog): Likewise.
3497 (output_line_info): Likewise.
3498 (add_src_coords_attributes): Likewise.
3499 (gen_subprogram_die): Likewise.
3500 (gen_variable_die): Likewise.
3501 (dwarf2out_add_library_unit_info): Likewise.
3502 (dwarf2out_line): Likewise.
3503 (lookup_filename): Take a struct file_table argument.
3504 (init_file_table): New.
3505 (dwarf2out_init): Use it.
3507 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3509 * invoke.texi: Update sequence points references.
3511 2000-11-25 Neil Booth <neilb@earthling.net>
3513 * c-common.c: Remove USE_CPPLIB conditional inclusions.
3514 * c-common.h: Similarly.
3515 * c-decl.c: Similarly.
3516 * c-lang.c: Similarly.
3517 * c-lex.c: Similarly.
3518 * c-parse.in: Similarly.
3519 * c-pragma.c: Similarly.
3520 * c-pragma.h: Similarly.
3522 * toplev.c: Similarly.
3523 * cp/cp-tree.h: Similarly.
3524 * cp/decl2.c: Similarly.
3525 * cp/lang-specs.h: Similarly.
3526 * cp/lex.c: Similarly.
3527 * cp/lex.h: Similarly.
3528 * cp/spew.c: Similarly.
3529 * java/lang-options.h: Similarly.
3530 * objc/lang-specs.h: Similarly.
3531 * objc/objc-act.c: Similarly.
3533 * configure.in: Remove configure option.
3534 * config.in: Regenerate.
3535 * configure: Regenerate.
3537 2000-11-25 Richard Henderson <rth@redhat.com>
3539 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
3540 Revert 2000-11-22 change.
3542 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
3544 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
3547 2000-11-25 Philipp Thomas <pthomas@suse.de>
3548 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
3549 * configure: Rebuilt.
3551 2000-11-25 Jakub Jelinek <jakub@redhat.com>
3553 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
3554 Handle CONST_INT as second argument.
3555 * config/sparc/sparc.c (set_extends): Remove first argument.
3556 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
3558 (sparc_check_64): Abort if first argument is not REG.
3559 If it is DImode REG, look at the lower register of the register
3562 * config/sparc/sparc.c (load_pic_register, restore_regs,
3563 output_return, sparc_v8plus_shift, sparc_function_profiler,
3564 sparc_function_block_profiler, sparc_block_profiler): Fix output
3567 2000-11-25 Alexandre Oliva <aoliva@redhat.com>
3569 * config/sh/sh.h (TARGET_NONE): New.
3570 (TARGET_SWITCHES): For all variant-selecting switch, use
3571 TARGET_NONE to reset all other variant-selecting switch. Added
3572 empty strings to avoid warnings.
3573 (TARGET_DEFAULT): Set to SH1_BIT.
3575 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
3578 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
3579 (sibcall_pcrel): New insn_and_split.
3580 (sibcall, sibcall_value, sibcall_epilogue): New expands.
3582 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
3583 symPLT_label2reg, call, call_value): Don't set
3584 current_function_uses_pic_offset_table.
3585 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
3586 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
3587 takes it into account.
3588 (FINALIZE_PIC): Delete, useless.
3589 (LEGITIMATE_CONSTANT_P): Delete, unused.
3590 * config/sh/sh.c (sh_expand_prologue): Don't use
3591 current_function_uses_pic_offset_table. Don't special-case
3592 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
3594 (sh_expand_epilogue, initial_elimination_offset): Don't
3595 special case PIC_OFFSET_TABLE_REGNUM.
3597 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
3599 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
3600 * config/sh/sh.md (UNSPEC_CALLER): New constant.
3601 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
3602 (call_pcrel, call_value_pcrel): New insn_and_splits.
3603 (call, call_value): Use them.
3604 (call_site): New expand.
3605 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
3606 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
3607 Output call_site label.
3608 (PREDICATE_CODES): Added symbol_ref_operand.
3609 * config/sh/sh.c (symbol_ref_operand): Define.
3610 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
3611 to CALL_INSNs in the split sequence.
3613 2000-11-24 Nick Clifton <nickc@redhat.com>
3615 * config.gcc (v850-*-*): Define c_target_objs and
3618 * config/v850/t-v850: Define how to build v850-c.o
3620 * config/v850/v850.h (struct data_area_stack_element): Move
3621 definition here from v850.c.
3623 * config/v850v850.c: Include gcc.h to avoid compile time
3625 (push_data_area): Move to v850-c.c.
3626 (pop_data_area): Move to v850-c.c.
3627 (mark_current_function_as_interrupt): Move to v850-c.c.
3628 (GHS_default_section_names): Allow to be exported.
3629 (GHS_current_section_names): Allow to be exported.
3630 (data_area_stack_elements): Allow to be exported.
3631 (ghs_pragma_section): Move to v850-c.c.
3632 (ghs_pragma_interrupt): Move to v850-c.c.
3633 (ghs_pragma_starttda): Move to v850-c.c.
3634 (ghs_pragma_startsda): Move to v850-c.c.
3635 (ghs_pragma_startzda): Move to v850-c.c.
3636 (ghs_pragma_endtda): Move to v850-c.c.
3637 (ghs_pragma_endsda): Move to v850-c.c.
3638 (ghs_pragma_endzda): Move to v850-c.c.
3640 * config/v850/v850-c.c: New file: Contains v850 specific
3641 pragma parsing functions.
3643 2000-11-24 Nick Clifton <nickc@redhat.com>
3645 * config.gcc (extra_objs): Remove duplicate description.
3646 (c_target_objs): New variable. Contains target specific
3647 object files for the gcc C compiler only.
3648 (cxx_target_objs): New variable. Contains target specific
3649 object files for the gxx C++ compiler only.
3651 * configure.in (c_target_objs): Substitute in the makefile.
3652 (cxx_target_objs): Substitute in the makefile.
3653 * configure: Regenerate.
3655 * Makefile.in (C_TARGET_OBJS): Define and initialise from
3657 (CXX_TARGET_OBJS): Define and initialise from
3659 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
3661 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
3663 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
3664 about how the use of the 'c_lex' function requires the use of
3665 the target specific, language specific object files feature of
3666 the configuration mechanism.
3668 Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3670 * gcc.c (process_command): Use F_OK, not R_OK.
3672 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
3674 * flow.c (print_rtl_and_abort): Remove ANSIism.
3676 Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
3678 * config/sh/sh.h (GENERAL_REGISTER_P,
3679 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
3680 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
3682 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
3683 * config/sh/sh.c: Use new macros.
3684 * config/sh/sh.md: Likewise.
3686 Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
3688 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
3689 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
3692 Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
3694 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
3696 (machine_dependent_reorg): Wrong optimization based on
3697 NOTICE_UPDATE_CC removed.
3699 Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
3701 * jump.c (delete_computation): Re-instate deletion of feeding insn.
3702 (delete_insn): Look for REG_LABEL notes.
3703 (redirect_tablejump): Delete feeding insns.
3705 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
3707 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
3708 call_value_pop_1): Make sure operand numbers are contiguous.
3710 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
3712 * reload1.c (conflicts_with_override): New function.
3713 (emit_input_reload_insns): Use it to tighten test for validity
3714 of substituting into output of previous insn.
3716 * haifa-sched.c (struct ready_list): New.
3717 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
3719 (schedule_insn): Replace args READY and N_READY with a pointer to a
3720 ready_list; return void. Use the new functions to access the ready
3721 list. All callers changed.
3722 (queue_to_ready, debug_ready_list): Likewise.
3723 (schedule_block): Initialize a ready_list structure. Use new
3724 functions to access it.
3725 (max_priority): Remove unused variable.
3726 (schedule_insn): Don't set it.
3728 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
3730 * combine.c (cant_combine_insn_p): New function.
3731 (try_combine): Use it.
3733 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
3734 * c-common.c (c-obstack.c): Include "obstack.h".
3735 (struct reverse_tree): Delete.
3736 (reverse_list, reverse_max_depth): Delete.
3737 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
3738 (struct tlist, struct tlist_cache): New.
3739 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
3740 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
3741 warn_for_collisions, warn_for_collisions_1, new_tlist): New
3743 (verify_sequence_points): Rewritten.
3744 * fold-const.c (fold): Don't lose possibly important sequence
3745 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
3747 2000-11-24 Richard Sandiford <rsandifo@redhat.com>
3749 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
3750 when reversing a register-to-register copy. Reversal now disabled
3751 when the previous instruction has a REG_EQUIV.
3753 2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
3755 * c-parse.in (unary_expr): Move VA_ARG from here ...
3756 (primary): ... to here.
3758 2000-11-23 Graham Stott <grahams@redhat.com>
3760 * expr.c (store_constructor): If a field is non addressable and
3761 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
3763 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
3765 * flow.c (print_rtl_and_abort): New function.
3766 (verify_wide_reg, verify_local_live_at_start): Try to dump more
3767 information before aborting.
3769 2000-11-23 Alexandre Oliva <aoliva@redhat.com>
3771 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
3772 is narrower than requested mode.
3773 (gen_highpart): Abort if register mode is narrower than
3776 2000-11-23 Graham Stott <grahams@redhat.com>
3778 * cse.c (cse_insn): Initialise all regcost variables.
3779 Fix a typo add missing '='.
3780 Only compare costs if there is a replacement insn.
3782 Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
3784 * final.c (output_addr_const) [LABEL_REF]: Simplify.
3785 [MINUS]: Enclose non-CONST_INTs in parentheses.
3786 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
3787 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
3788 * varasm.c (decode_rtx_const) [CONST]: If it's not something
3789 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
3790 instead of abort()ing.
3791 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
3792 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
3793 formerly handled in output_pic_addr_const.
3794 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
3795 operands of MINUS in CONSTs so that decode_rtx_const() will
3798 Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
3800 * config/sh/sh.md (mova_const): New pattern.
3801 (GOTaddr2picreg): Use it.
3802 * config/sh/sh.c (broken_move): Match it.
3803 (mova_p): Don't match it.
3804 (machine_dependent_reorg): Adjust it.
3806 Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
3808 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
3809 Moved most register-number #defines...
3810 * config/sh/sh.md (define_constants): ... here. Use macros to
3811 refer to registers and unspecs.
3812 * config/sh/sh.c: Likewise.
3814 Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
3816 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
3817 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
3818 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3819 (splay-tree.o, hash.o): Likewise.
3821 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
3822 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3823 (hashtab.o): Likewise.
3824 (gcov.o): Depend on $(CONFIG_H).
3825 * configure.in: #include insn-codes.h in tm.h.
3827 2000-11-22 Nick Clifton <nickc@redhat.com>
3829 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
3830 const char * to avoid a compile time warning.
3832 * config/arm/arm.md (define_constants): Define symbolic names for
3833 the link register, last integer register and the fake CC register.
3834 Update patterns to use these symbolic names.
3836 2000-11-22 Neil Booth <neilb@earthling.net>
3838 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
3839 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
3841 2000-11-22 Richard Henderson <rth@redhat.com>
3843 * haifa-sched.c (sched_analyze_1): Don't special-case calls
3844 for clobbering registers.
3845 (sched_analyze_2): Likewise.
3846 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
3848 2000-11-22 Chris Demetriou <cgd@sibyte.com>
3849 Neil Booth <neilb@earthling.net>
3851 * gcc.c (validate_switches): Validate multiple switches named
3852 in '|' (or) expressions in specs.
3853 (handle_braces): If more than 1 alternative in a '|' spec
3854 matches, call do_spec1 just once.
3856 2000-11-22 Michael Meissner <meissner@redhat.com>
3858 * d30v.h (TARGET_SWITCHES): Add documentation strings.
3859 (TARGET_OPTIONS): Ditto.
3860 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
3863 Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
3865 * pa.c (hppa_encode_label): Account for addition of encoding
3866 character when allocating persistent space for the new label
3869 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3871 * Makefile.in, config.gcc, configure.in: Expunge remaining
3872 traces of facility for running MD files through C preprocessor.
3874 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
3876 * gcov.texi: Add magic comments for texi2pod.pl.
3877 * Makefile.in: Add rules to generate and install gcov.1.
3878 * gcov.1: New (generated) file.
3880 2000-11-21 Richard Henderson <rth@redhat.com>
3882 * regrename.c (scan_rtx_reg): Terminate the chain rather than
3883 abort on mark_read with NO_REGS.
3885 2000-11-21 Mike Stump <mrs@wrs.com>
3887 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
3888 compilation with older compilers, such as /bin/cc on SunOS.
3889 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
3891 2000-11-21 Richard Henderson <rth@redhat.com>
3893 * varasm.c (record_constant): Pad the constructed
3894 constant_descriptor appropriately.
3896 Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
3898 * rtl.h (traverse_md_constants): Declare.
3899 (struct md_constant): Define.
3900 * Makefile.in (HOST_RTL): Add hashtab.o .
3901 (OBJS): Add hashtab.o .
3902 (hashtab.o): New rule.
3903 (rtl.o): Depends on HASHTAB_H.
3904 * rtl.c (hashtab.h): #include.
3905 (md_constants): New static variable.
3906 (def_hash, def_name_eq_p, read_constants): New static functions.
3907 (traverse_md_constants): New function.
3908 (read_name): Do constant expansion.
3909 (read_rtx): Recognize define_constants.
3910 * gencodes.c (print_md_constant): New function.
3911 (main): Emit #defines for all constant definitions encountered.
3912 * md.texi (Constant Definitions): New node.
3913 * gensupport.c (xcalloc): New function.
3915 2000-11-21 Richard Henderson <rth@redhat.com>
3917 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
3918 * config/alpha/alpha-protos.h: Declare it.
3919 * config/alpha/alpha.md (abstf_internal): Use it.
3920 (negtf_internal): Likewise.
3921 (andnotdi3): Unstar the name.
3922 (movtf_internal): Add o/G alternative.
3924 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
3926 * stringpool.c (stringpool_statistics): Also report number and
3927 percentage of entries which are identifiers.
3929 2000-11-21 Diego Novillo <dnovillo@redhat.com>
3931 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
3932 visited before visiting it.
3934 2000-11-21 Nick Clifton <nickc@redhat.com>
3936 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
3937 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
3939 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
3941 2000-11-21 Richard Henderson <rth@redhat.com>
3943 * c-common.c (c_unsafe_for_reeval): New function.
3944 (add_c_tree_codes): Register it.
3945 * c-common.h: Declare it.
3946 * tree.c (lang_unsafe_for_reeval): New hook.
3947 (unsafe_for_reeval): Call it.
3948 * tree.h: Declare it.
3950 2000-11-21 Richard Henderson <rth@redhat.com>
3952 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
3955 2000-11-21 Neil Booth <neilb@earthling.net>
3957 * do_includes: Revert to using cpp_read_file.
3959 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
3961 * loop.c (consec_sets_giv): If the reg we're examining is anything
3962 but UNKNOWN_INDUCT, do nothing.
3963 Reset the reg's type to UNKNOWN_INDUCT before returning.
3965 Mostly from Vladimir Makarov (vmakarov@redhat.com)
3966 * ia64.md (attr itanium_class): Define insn types as described in
3968 (all insn patterns): Use itanium_class, not type attributes.
3969 Occasionally split alternatives as necessary.
3970 (attr type): Compute from new attr itanium_class.
3972 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3974 * tradcpp.c (output_line_command): Mark system headers as such in
3977 2000-11-21 Jakub Jelinek <jakub@redhat.com>
3979 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
3980 support in as as well.
3981 * configure: Regenerate.
3983 2000-11-20 Richard Henderson <rth@redhat.com>
3985 * c-lex.c (orig_filename): New variable.
3986 (init_c_lex): Set it. Move call to cpp_start_read ...
3987 (yyparse): ... here. New function.
3988 * c-parse.in (yyparse_1): Rename the parser entry point.
3989 * c-tree.h: Declare it.
3991 2000-11-21 Jakub Jelinek <jakub@redhat.com>
3993 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
3994 integer constant, use type of op1 for comparison.
3996 2000-11-20 Stan Shebs <shebs@apple.com>
3998 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
3999 * config/rs6000/x-darwin: New file, Darwin host fragment.
4000 * config.gcc (powerpc-*-darwin*): New host.
4001 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
4002 overridden by a config file.
4004 2000-11-20 Neil Booth <neilb@earthling.net>
4006 * cppmacro.c (paste_tokens): Rename from paste_payloads.
4007 Change token type after pasting spellings.
4008 (paste_all_tokens): Use it.
4009 * gcc.dg/cpp/paste2.c: Update test.
4010 * objc/execute/paste.m: New test.
4012 2000-11-20 Richard Henderson <rth@redhat.com>
4014 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
4015 dwarf_subscr_data_formats bits.
4016 * dwarfout.c (simple_type_size_in_bits): Handle a type with
4017 no computed size as size zero.
4018 (field_byte_offset): Likewise.
4019 (subscript_data_attribute): Handle a range with no upper bound.
4021 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4023 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
4025 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
4027 * c-typeck.c (build_conditional_expr): When merging type
4028 qualifiers for conditional expressions between a pointer and a
4029 pointer to a void type, merge the qualifiers on the target types
4030 rather than the pointer type. Remove obsolete conditioned out
4033 2000-11-20 Neil Booth <neilb@earthling.net>
4035 * c-lang.c (lang_init_options): Update call to
4037 * cppmain.c (main): Similarly.
4038 * fix-header.c (read_scan_file): Similarly.
4039 * cp/lex.c (lang_init_options): Similarly.
4040 * objc/objc-act.c (lang_init_options): Similarly.
4041 * cppexp.c (parse_number): Only warn for unextended C89.
4042 * cppinit.c (set_lang): New function.
4043 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
4044 (COMMAND_LINE_OPTIONS): New option std=c++98.
4045 (cpp_handle_option): Use set_lang.
4046 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
4047 * cppib.h (enum_c_lang): New enumeration. Update comments.
4049 2000-11-20 Will Cohen <wcohen@redhat.com>
4051 * calls.c (expand_call): Clear target only when target is in
4052 hard register and current_function_check_memory_usage is set.
4054 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
4056 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
4058 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
4060 2000-11-19 Richard Henderson <rth@redhat.com>
4062 * crtstuff.c (force_to_data): Use array size 1 not 0.
4064 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
4065 no computed size as size zero.
4066 (field_byte_offset): Likewise.
4068 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
4070 * config.gcc: Fix another typo.
4072 2000-11-19 Richard Henderson <rth@redhat.com>
4074 * c-decl.c (grokdeclarator): Support flexible array members.
4075 Use open-ended ranges for these and zero-length arrays.
4076 * c-typeck.c (push_init_level): Validate the context of
4077 initialization of a zero-length array.
4078 * tree.c (int_fits_type_p): Be prepared for missing bounds.
4079 * varasm.c (array_size_for_constructor): New.
4080 (output_constructor): Use it for arrays of unspecified length.
4081 * extend.texi (Zero Length): Mention C99 flexible array members.
4082 Document initialization in a top-level struct as valid.
4084 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4086 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
4088 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
4089 stdarg and varargs functions.
4091 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
4093 * gcc.c (process_command): Define 'j' variable when
4094 MODIFY_TARGET_NAME is defined.
4096 2000-11-19 Richard Henderson <rth@redhat.com>
4098 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
4100 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4102 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
4103 calculation and allocation.
4105 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4107 * builtins.c (c_getstr): Constify variable.
4108 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
4109 * conflict.c (const_conflict_graph_arc): New typedef.
4110 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
4111 * cppmacro.c (builtin_macro): Likewise.
4112 * dwarf2out.c (output_comp_unit): Constify variable.
4113 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
4114 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
4115 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
4117 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
4118 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
4119 * varasm.c (const_str_htab_hash, const_str_htab_eq,
4120 compare_constant_1, record_constant_1): Constify.
4122 2000-11-18 Richard Henderson <rth@redhat.com>
4124 * c-decl.c (grokdeclarator): Special case the creation of an
4125 index for a zero-length array.
4126 * tree.c (build_index_type): Revert Oct 20 change.
4128 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
4130 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
4131 * config/avr/avr.c (jump_tables_size): New variable.
4132 (function_prologue): Initialize it as 0.
4133 (function_epilogue): Add it to function_size.
4134 (avr_output_addr_vec_elt): New function. Count words in jump
4135 tables in jump_tables_size. Move code ...
4136 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
4137 Call avr_output_addr_vec_elt instead.
4138 * config/avr/avr.md (tablejump): Remove disabled define_expand.
4140 2000-11-18 Mark Mitchell <mark@codesourcery.com>
4142 * configure.in: Make --enable-new-gxx-abi the default.
4143 * configure: Likewise.
4145 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4147 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
4149 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
4150 Move extern function declarations to tradcpp.h.
4152 * tradcpp.c: Likewise.
4154 * tradcpp.h: New file.
4156 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4158 * c-decl.c (check_for_loop_decls): New function.
4159 * c-parse.in (for_init_stmt): New.
4160 (select_or_iter_stmt): Use for_init_stmt.
4161 * c-tree.h (check_for_loop_decls): New declaration.
4163 2000-11-18 Neil Booth <neilb@earthling.net>
4165 * cppinit.c: Update comments.
4166 (cpp_reader_init): Make -imacro and -include use the standard
4167 #include "" search path.
4168 (do_includes): New function.
4170 2000-11-18 Ben Elliston <bje@redhat.com>
4172 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
4173 out of a branch delay slot.
4175 2000-11-17 Richard Henderson <rth@redhat.com>
4177 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
4178 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
4179 (ASM_FILE_START): Only write out ecoff .file directive if
4180 emitting mdebug debugging.
4182 2000-11-17 Richard Henderson <rth@redhat.com>
4184 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
4185 whether as accepts .file/.loc and produces dwarf2 line info.
4186 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
4187 the assembler supports it.
4188 * config.in, configure: Regenerate.
4190 2000-11-17 Richard Henderson <rth@redhat.com>
4192 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
4194 2000-11-17 Jim Wilson <wilson@redhat.com>
4196 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
4197 Don't clear need_barrier is next_insn is a CALL_INSN, or has
4198 instruction type B or UNKNOWN.
4200 2000-11-17 Neil Booth <neilb@earthling.net>
4202 * cpperror.c (print_file_and_line): Don't display line number if 0.
4204 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
4206 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
4207 digit_vector and digit_string.
4208 * stringpool.c (digit_vector): New.
4209 (ggc_alloc_string): Use digit_string.
4211 * stmt.c (digit_strings): Delete.
4212 (init_stmt): Do not initialize digit_strings.
4213 (expand_asm_operands): Use ggc.h's digit_string macro.
4214 * toplev.c (mark_file_stack): Delete.
4215 (compile_file): Don't call init_tree_codes.
4216 (main): No need to make the file stack a GC root.
4217 * tree.c (init_tree_codes): Delete.
4218 * tree.h (init_tree_codes): Delete.
4220 * c-lex.c: Don't include ggc.h.
4221 (mark_splay_tree_node, mark_splay_tree): Delete.
4222 (init_c_lex): No need to ggc_strdup string constant. Don't add
4223 file_info_tree to GGC roots.
4224 (cb_enter_file, cb_rename_file): No need to ggc_strdup
4227 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
4229 * dbxout.c (dbxout_init),
4230 dwarf2out.c (dwarf2out_line),
4231 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
4232 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
4233 xcoffout.c (xcoffout_source_file),
4234 i386.c (load_pic_register):
4235 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
4237 * except.c (create_rethrow_ref),
4238 profile.c (init_edge_profiler),
4239 toplev.c (compile_file),
4240 varasm.c (named_section, assemble_static_space,
4241 assemble_trampoline_template, output_constant_def, force_const_mem),
4242 i386.c (load_pic_register),
4243 ia64.c (ia64_encode_section_info),
4244 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
4245 rs6000_emit_prologue, rs6000_emit_epilogue),
4246 rs6000.md (load_toc_aix_si, load_toc_aix_di):
4247 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
4249 * profile.c (output_func_start_profiler),
4251 i386.c (load_pic_register): No need to ggc_strdup string constant.
4253 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
4255 * Makefile.in (config.status): Depend on config.gcc.
4256 * configure.in <for machine in $build $host $target>: Move
4257 contents of loop into config.gcc, removing autoconf quoting.
4258 Fix changequote bug for alpha*-*-vxworks*.
4259 * configure: Regenerate.
4262 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4264 * c-parse.in (if_prefix): Find the filename and line number at
4265 $-2 and $-1 respectively.
4266 * diagnostic.c (error_recursion): Add missing newline, use
4267 fputs, translate string.
4269 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4271 * stringpool.c: New file.
4272 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
4273 (ggc_alloc_string): Now in stringpool.o.
4274 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
4275 * ggc.h: Delete prototype of ggc_add_string_root. #define
4276 ggc_add_string_root and ggc_mark_string to nothing. Prototype
4277 init_stringpool and stringpool_statistics.
4278 (ggc_alloc_string): Returns a const char *.
4279 * tree.c (hash_table, do_identifier_warnings): Delete.
4280 (init_obstacks): Don't initialize the identifier hash table.
4281 (get_identifier, maybe_get_identifier, start_identifier_warnings,
4282 set_identifier_size): Now in stringpool.c.
4283 * tree.h (struct tree_string): Constify pointer field.
4284 (approx_sqrt): Prototype.
4286 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
4288 * toplev.c (approx_sqrt): New function.
4289 (compile_file): Call stringpool_statistics if mem_report is on.
4290 (main): Call init_stringpool.
4292 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
4293 (process_directive), c-typeck.c (constructor_asmspec, struct
4294 initializer_stack, start_init), except.c (create_rethrow_ref),
4295 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
4296 (built_in_filename), varasm,c (in_named_name,
4297 assemble_static_space, struct constant_descriptor, struct
4298 deferred_string, struct pool_constant, force_const_mem),
4299 i386.c (pic_label_name, global_offset_table_name), rs6000.c
4300 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
4302 * c-common.c (combine_strings): Combine strings in scratch
4303 buffer, then pass to build_string.
4304 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
4305 output_func_start_profiler), stmt.c (init_stmt), alpha.c
4306 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
4307 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
4308 rs6000.c (rs6000_encode_section_info): Create string in
4309 scratch buffer, then pass to ggc_alloc_string.
4311 * stmt.c (expand_asm_operands): If we must adjust the
4312 constraint strings, do so by creating a new one, not by
4313 modifying the old one in place. Constify some char *s.
4314 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
4315 argument. Create string in scratch buffer, then pass to
4317 * config/pa/pa-protos.h: Update prototype.
4318 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
4319 hppa_encode_label takes only one argument.
4321 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4323 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
4326 * cpplib.c (glue_header_name): Likewise.
4328 * fixincl.c (run_compiles, start_fixer): Likewise.
4330 * fixlib.c (load_file_data): Likewise.
4332 * mkdeps.c (munge): Likewise.
4334 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
4336 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
4337 trailing ';'. Fix formatting.
4339 2000-11-16 Jim Wilson <wilson@redhat.com>
4341 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
4342 Shift masks left by one to avoid conflict.
4344 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
4347 2000-11-16 Nick Clifton <nickc@redhat.com>
4349 * config/arm/arm.c (output_arm_prologue): Note nested functions.
4350 (arm_expand_prologue): For nested functions preserve the
4351 static chain register during stack frame creation.
4353 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
4354 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
4355 with a stack frame there is a 4 byte gap between the arg
4356 pointer and the hard frame pointer (used to preserve the
4357 static chain register during stack frame creation).
4359 2000-11-16 DJ Delorie <dj@redhat.com>
4361 * rtl.c (read_rtx): Provide suitable names for unnamed
4362 define_insn and define_insn_and_split patterns, based on file
4365 2000-11-15 Neil Booth <neilb@earthling.net>
4367 * cpplib.c (start_directive, end_directive): New functions.
4368 (_cpp_handle_directive, run_directive): Use them.
4369 (_cpp_handle_directive): Don't -Wtraditional on indented
4371 (_cpp_push_buffer): Don't re-clear was_skipping.
4372 * cpplib.h (struct cpp_reader): New member la_saved.
4373 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
4376 gcc.dg/cpp/_Pragma1.c: Update.
4377 gcc.dg/cpp/_Pragma2.c: New test.
4379 2000-11-15 Mark Mitchell <mark@codesourcery.com>
4381 * toplev.c (wrapup_global_declarations): Don't write out
4382 artificial static variables that aren't needed.
4384 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
4386 * ia64.c (struct group): New structure.
4387 (last_group): New static array.
4388 (group_idx): New static variable.
4389 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
4390 New static functions.
4391 (emit_insn_group_barriers): Initialize and keep track of group_idx
4393 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
4394 Replace all calls to emit_insn_after that emit a group barrier to use
4395 emit_group_barrier_after.
4396 * ia64.h (MASK_B_STEP): New.
4397 (other MASK_XXX macros): Renumbered.
4398 (TARGET_B_STEP): New.
4399 (TARGET_SWITCHES): Add -mb-step.
4401 2000-11-15 Fred Fish <fnf@be.com>
4403 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
4404 machines for which fixincludes is not needed.
4405 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
4407 2000-11-15 Jason Merrill <jason@redhat.com>
4409 * diagnostic.c (finish_abort): New fn.
4410 (fancy_abort, error_recursion): Use it.
4411 * toplev.c (crash_signal): Likewise.
4412 * diagnostic.h: Declare it.
4414 2000-11-13 Andrew Haley <aph@redhat.com>
4416 * tree.c (build_type_no_quals): New function.
4417 * tree.h (build_type_no_quals): Declare.
4418 * c-common.c (c_get_alias_set): When considering type
4419 compatibility for pointer types, ignore cv-qualifiers anywhere in
4422 2000-11-15 Graham Stott <grahams@redhat.com>
4424 * regrename.c (scan_rtx_rtx): Skip to the next chain on
4425 encountering a terminated chain.
4427 2000-11-14 Mark Mitchell <mark@codesourcery.com>
4429 * configure.in: Move check for V3 above check for C++ header-file
4431 * configure: Regenerated.
4433 2000-11-14 DJ Delorie <dj@redhat.com>
4435 * config/v850/v850.c: Remove obstacks.
4437 Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
4439 * config/avr/avr.c (avr_case_values_threshold): New.
4440 (avr_override_options): Set it depending on options, make it large
4441 when not optimizing to work around "unable to generate reloads".
4443 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
4444 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
4445 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
4446 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
4447 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
4448 (avr_case_values_threshold): Declare as extern int.
4449 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
4451 * config/avr/avr.md (tablejump): Removed.
4452 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
4453 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
4454 index in the table, not multiplied by 2.
4455 (casesi): Change to match the above insns. Always enable.
4457 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
4458 Change to expect the word address of the table, multiply it by 2
4459 here and not in the caller. Change "adiw" to faster "inc".
4461 2000-11-14 Neil Booth <neilb@earthling.net>
4463 * cppexp.c (parse_defined): Call cpp_get_token not
4466 * cpplex.c (cpp_output_line): Similarly.
4467 * cpplib.c (glue_header_name, do_line, do_ident,
4468 parse_answer, parse_assertion): Similarly.
4469 (_cpp_handle_diretive): Don't save to lookaheads
4470 when processing directives.
4471 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
4473 (funlike_invocation_p): Don't save to lookaheads
4474 when pre-expanding arguments.
4475 (_cpp_get_token): Delete.
4476 (cpp_get_token): Merge contents of _cpp_get_token.
4478 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4480 * builtins.c (expand_builtin_setjmp): Set
4481 current_function_calls_setjmp.
4482 (expand_builtin_longjmp): Set current_function_calls_longjmp.
4484 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
4485 (do_builtin_setjmp_setup): New insn.
4487 Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4489 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
4490 (int_fits_type_p): For variable bounds, call force_fit_type.
4492 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4494 * varasm.c (struct deferred_string): New structure.
4495 (const_str_htab): New variable.
4496 (STRHASH): New macro.
4497 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
4498 constr_str_htab_eq, const_str_htab_del): New functions.
4499 (output_constant_def): Add DEFER argument, defer string
4500 constants until mark_constant_pool time if requested.
4501 (mark_constant_pool): Walk the insn chain even if const_str_htab is
4503 (mark_constants): If a SYMBOL_REF for deferred string is found,
4504 output it and remove from hash table.
4505 (output_addressed_constants): Set DEFER to 0 in call to
4506 output_constant_def.
4507 * rtl.h (STRING_POOL_ADDRESS_P): Define.
4508 (output_constant_def): Adjust prototype.
4509 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
4511 2000-11-14 Chandrakala Chavva <cchavva@redhat.com>
4513 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
4514 signed types if flag_trapv.
4516 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
4518 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
4521 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
4523 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
4525 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4527 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
4528 to array of pool_constnat pointers.
4529 (struct pool_constant): Add next_sym and label members.
4530 (struct pool_sym): Remove.
4531 (init_varasm_status): Change pool_sym into pool_constant.
4532 (mark_pool_constant): Mark pc->label string as well.
4533 (mark_pool_sym_hash_table): Remove.
4534 (mark_varasm_status): Remove it from caller as well.
4535 (free_varasm_status): Don't free pool_sym structures.
4536 (force_const_mem): Don't allocate pool_sym structure, instead
4537 fill pool->label and chain it into rtx_sym hash table.
4538 (find_pool_constant, mark_constant_pool): Use pool_constant instead
4541 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4543 * reload1.c (emit_input_reload_insns): Honour forcing of constants
4544 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
4546 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
4548 * dominance.c: New file.
4549 * Makefile.in (OBJS): Add dominance.o.
4551 * flow.c (compute_flow_dominators): Remove.
4552 (compute_immediate_dominators): Remove.
4553 (compute_immediate_postdominators): Remove.
4554 * basic-block.h: Remove their prototypes.
4555 (calculate_dominance_info): Add prototype.
4557 * dce.c (eliminate_dead_code): Change calls to above functions.
4558 Don't compute dominators but only immediate dominators.
4559 * flow.c (flow_loops_find): Change callers.
4560 * gcse.c (compute_code_hoist_data): Likewise.
4561 * haifa-sched.c (schedule_insns): Likewise.
4562 * ifcvt.c (if_convert): Likewise.
4563 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
4566 2000-11-14 Richard Henderson <rth@redhat.com>
4568 * stmt.c (warn_if_unused_value): Don't warn if the expression
4571 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
4572 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
4574 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4576 * loop.c (basic_induction_var): Revert accidental checkin.
4578 2000-11-13 Hans-Peter Nilsson <hp@axis.com>
4580 * c-lex.c (cb_leave_file): Harmonize conditions and order of
4581 statements to those of process_directive for (action == act_pop).
4583 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
4585 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
4588 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4590 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
4593 2000-11-13 Neil Booth <neilb@earthling.net>
4595 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
4596 cases return without MI check.
4597 * cpplib.c (do_diagnostic): Take boolean of whether to
4598 print the directive name.
4599 (do_error, do_warning): Update.
4600 (do_pragma_dependency): Use it.
4601 * cpplib.h (VARARGS_FIRST): Delete.
4602 (struct cpp_token): Delete integer.
4603 * cppmacro.c (enter_macro_context): Move disabled check
4605 (_cpp_get_token): Simplify into a single loop.
4607 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4609 * configure.in: Use 'test -f' not '[ -e'.
4610 * configure: Regenerated.
4612 2000-11-13 DJ Delorie <dj@redhat.com>
4614 * config/mn10300/mn10300.md (store_movm): Note which registers are
4615 really used or clobbered.
4617 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4619 * c-parse.in (ends_in_label): Remove from %union and %type.
4620 (decls, stmts, lineno_stmt_or_labels, xstmts,
4621 lineno_stmt_or_label, stmt_or_label): Remove.
4622 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
4623 lineno_stmt_decl_or_labels_ending_decl,
4624 lineno_stmt_decl_or_labels_ending_label,
4625 lineno_stmt_decl_or_labels_ending_error,
4626 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
4627 lineno_stmt, lineno_label): New.
4628 (compstmt_nostart): Use compstmt_contents_nonempty.
4630 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4632 * c-common.c (boolean_increment): New function.
4633 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
4634 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
4635 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
4636 (boolean_increment): Declare.
4637 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
4638 * c-decl.c (init_decl_processing): Create boolean nodes.
4639 (finish_struct): Allow for _Bool bitfields.
4640 * c-parse.in (reswords): Add _Bool.
4641 (rid_to_yy): Allow for RID_BOOL.
4642 * c-typeck.c (default_conversion): Make booleans promote to int.
4643 (convert_arguments, build_unary_op, build_modify_expr,
4644 convert_for_assignment): Allow for booleans.
4645 * ginclude/stdbool.h: Make conforming to C99.
4647 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4649 * c-parse.in (c99_block_start, c99_block_end,
4650 c99_block_lineno_labeled_stmt): New.
4651 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
4652 (stmt): Split off selection and iteration statements into...
4653 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
4655 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4657 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
4660 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4662 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
4663 Rewrite to avoid use of match_dup. Don't try to tie registers that
4664 are not in the same mode.
4666 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4668 * invoke.texi: Update lists of languages and suffixes supported.
4670 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4672 * configure.in: Take toplevel configure arguments from the
4673 environment to create configargs.h and substitute
4674 gcc_config_arguments, taking account of any existing configargs.h
4676 * configure: Regenerate.
4677 * gccbug.in: Include toplevel configure arguments in gccbug.
4679 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4681 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
4682 union to make it well-aligned. Update all uses.
4684 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4686 * c-parse.in (initelt): Give appropriate pedantic warnings,
4687 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
4689 (designator): If pedantic, pedwarn for a designator specifying a
4691 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
4693 * extend.texi: Document the C99 syntax as the preferred syntax,
4694 and the pre-2.5 syntax as obsolete. Mention use of designator
4695 lists for nested subobjects.
4697 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4699 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
4700 Add ATTRIBUTE_PRINTF.
4701 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
4702 Add ATTRIBUTE_PRINTF*.
4704 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4706 * function.c (assign_parms): When calling put_var_into_stack, make
4707 sure that there are no hidden pending sequences.
4709 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4711 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
4712 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
4715 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
4717 * c-common.c (c_common_nodes_and_builtins): Declare index and
4718 rindex when nonansi builtins are allowed.
4720 * extend.texi (index, rindex): Document new builtins.
4722 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4724 * configure.in: Turn on libstdc++ V3 by default.
4725 * configure: Regenerated.
4727 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
4729 2000-11-12 Jakub Jelinek <jakub@redhat.com>
4731 * reload1.c (set_label_offsets): Go inside of PARALLELs.
4733 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
4735 * invoke.texi: Clean up option summary.
4737 2000-11-12 Nick Clifton <nickc@redhat.com>
4739 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
4740 of #include headers.
4742 2000-11-12 Marc Espie <espie@openbsd.org>
4744 * configure.in: Fix filds test.
4747 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4749 * jump.c (delete_computation): Don't assume that just becuase an
4750 instruction sets a register, that register is dead.
4752 2000-11-12 Neil Booth <neilb@earthling.net>
4754 * cppexp.c: Don't worry about pfile->skipping.
4755 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
4756 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
4757 for handled directives.
4758 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
4759 and releasing lookaheads.
4760 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
4761 (do_else, do_elif, push_conditional): Update logic.
4762 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
4763 (unwind_if_stack): Inline into cpp_pop_buffer.
4764 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
4765 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
4766 multiple-include optimisation.
4767 * cpplib.h (struct cpp_buffer): New member was_skipping.
4768 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
4769 works because skipping == 0 in directives.
4770 (_cpp_release_lookahead): Renamed from release_lookahead.
4771 (cpp_get_token): No need to check skipping as _cpp_get_token does
4772 this for us. No need to handle MI optimisation.
4774 Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
4776 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
4777 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
4778 * fixinc/fixincl.x: Regenerated.
4780 2000-11-11 Bruce Korb <bkorb@gnu.org>
4782 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
4783 (avoid_wchar_t_type): ditto
4784 * fixinc/fixinc.irix: obsoleted
4786 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
4788 * configure.in: Don't add $outputs to all_lang_makefiles. Add
4789 $srcdir/$s/Makefile.in if it exists.
4790 * configure: Regenerate.
4792 Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
4794 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
4796 2000-11-11 Jason Merrill <jason@redhat.com>
4798 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
4799 give the parm a register and then call put_var_into_stack.
4800 * stmt.c (expand_decl): Likewise.
4802 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4804 * gcc.texi: Adjust wording.
4806 2000-11-11 Mark Mitchell <mark@codesourcery.com>
4808 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
4809 * fininc/fixincl.x: Regenerated.
4811 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4813 * invoke.texi: Correct spelling of -foptimize-register-move.
4815 2000-11-11 Neil Booth <neilb@earthling.net>
4817 Remove CPP_PLACEMARKERs.
4819 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
4820 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
4821 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
4823 * cpplib.h: Remove CPP_PLACEMARKER.
4824 (struct lexer_state): Rename skip_newlines to next_bol.
4825 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
4826 Simplify prev_white handling as a result.
4827 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
4828 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
4829 (parse_args): Similarly. Update argument count tests.
4830 (enter_macro_context): Return 2 to indicate an empty macro.
4831 (replace_args): Don't bother pre-expanding an empty argument.
4832 Handle placemarkers and ## extension during pre-expansion.
4833 (cpp_get_token): Handle empty macro expansions. Don't worry
4834 about CPP_PLACEMARKERs.
4835 (_cpp_create_definition): Empty macros are now empty.
4836 (cpp_macro_defintion): Don't special case empty macros.
4837 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
4838 * c-lex.c: Similarly.
4840 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4842 * gcc.texi, invoke.texi: Add new section discussing language
4843 standards; link to it where appropriate; refer to ISO C instead of
4846 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
4848 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
4851 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
4854 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4856 * gcc.texi, gcov.texi: Update dates and version numbers.
4858 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
4860 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
4861 flex and bison, specifically, first in a unified build and
4862 then installed on the system.
4863 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
4864 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
4867 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
4868 cppdefault.o): Remove pointless sed munging of source file
4871 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
4873 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
4874 for address reloads. Push replacements for REG_INC notes.
4875 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
4877 * reload1.c (choose_reload_regs): Registers set in the insn can't be
4878 used for RELOAD_OTHER reloads.
4880 2000-11-10 Mark Mitchell <mark@codesourcery.com>
4882 * c-dump.h: New file.
4884 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4886 * alpha.c (check_float_value): Use memcpy, not bcopy.
4887 * arm.c (output_move_double): Likewise.
4889 * m88k.c (legitimize_operand): Likewise.
4890 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4891 * m88k.md: Likewise.
4892 * mips.c (override_options): Likewise.
4893 * mips.md: Likewise.
4894 * romp.c (output_fpops): Likewise.
4895 * rs6000.c (rs6000_override_options): Likewise.
4897 * vax.c (check_float_value): Likewise.
4899 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
4900 * expmed.c (synth_mult): Likewise.
4901 * final.c (add_bb_string): Likewise.
4902 * genattr.c (main): Likewise.
4903 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
4905 * jump.c (thread_jumps): Likewise.
4906 * prefix.c (save_string): Likewise.
4907 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
4908 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
4909 * reload1.c (reload, eliminate_regs): Likewise.
4911 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4913 * gcc.texi (Service): Update to reflect current practice and
4914 location of the GNU service directory.
4916 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
4918 * regrename.c (build_def_use): Mark contents of REG_INC notes as
4919 needing replacement.
4921 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
4922 a no-op move if regs are equal.
4923 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
4924 when calling jump after post-reload splitting.
4926 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
4928 * c-tree.texi: Fix typos.
4929 * extend.texi: Likewise
4930 * gcov.texi: Likewise
4931 * rtl.texi: Likewise
4934 2000-11-09 Hans-Peter Nilsson <hp@axis.com>
4936 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
4937 in_system_header and flags[1] before dereferencing flags[2].
4939 2000-11-09 Matthew Hiller <hiller@redhat.com>
4941 * reload1.c (reload_combine): Fixed calculation of
4942 first_index_reg, last_index_reg.
4944 2000-11-09 Mark Mitchell <mark@codesourcery.com>
4946 * c-dump.c (dequeue_and_dump): Dump function bodies.
4948 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
4949 (c-dump.o): New target.
4950 * c-common.h (flag_dump_translation_unit): New variable.
4951 (C_TYPE_QUALS): New macro.
4952 (strip_array_types): New function.
4953 (DECL_C_BIT_FIELD): New macro.
4954 (SET_DECL_C_BIT_FIELD): Likewise.
4955 (CLEAR_DECL_C_BIT_FIELD): Likewise.
4956 (dump_info_p): New typedef.
4957 (dump_tree_fn): Likewise.
4958 (lang_dump_tree): New variable.
4959 (dump_node_to_file): New function.
4960 * c-common.c (flag_dump_translation_unit): Define it.
4961 (strip_array_types): New function.
4962 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
4963 * c-lang.c (finish_file): Call dump_node_to_file if
4964 flag_dump_translation_unit.
4965 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
4966 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
4967 * c-dump.c: New file.
4969 2000-11-09 Christopher Faylor <cgf@cygnus.com>
4971 * config/i386/cygwin.h: Add mingw startfile prefix.
4973 2000-11-09 Richard Henderson <rth@redhat.com>
4975 * flow.c (invalidate_mems_from_set): Split out from ...
4976 (mark_set_1): ... here.
4977 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
4978 instead of turning insn into a NOTE_INSN_DELETED.
4980 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4982 * extend.texi, invoke.texi: Move documentation of builtin versions
4983 of C library functions to one place and update.
4985 2000-11-09 Richard Henderson <rth@redhat.com>
4987 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
4988 the types themselves to discover type equivalence.
4990 2000-11-09 Mike Stump <mrs@wrs.com>
4992 * Makefile.in (distclean): Remove a few extra leftovers.
4994 2000-11-09 Richard Henderson <rth@redhat.com>
4996 * recog.c (validate_replace_rtx_1): Consider subregs when
4997 replacing a register with a constant inside a sign/zero_extend.
4999 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5001 2000-11-09 Geoffrey Keating <geoffk@redhat.com>
5003 * c-decl.c (finish_struct): When a structure is completed,
5004 check all its variant types for completeness.
5006 2000-11-09 Neil Booth <neilb@earthling.net>
5008 * cpphash.c: Move cpp_defined here from cpplib.c.
5009 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
5010 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
5011 * cppmacro.c (cpp_get_token): Update comments, no need now
5012 to catch the CPP_EOF meaning EOL case.
5014 2000-11-08 Geoffrey Keating <geoffk@redhat.com>
5016 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
5017 is more than that provided, copy to a temporary.
5019 2000-11-09 Alexandre Oliva <aoliva@redhat.com>
5021 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
5022 interpreting $out as a macro assignment.
5023 * Makefile.in (T_TARGET): New auxiliary macro and target.
5024 (all): Add a target right in the beginning, so that we don't build
5025 T_TARGET by default.
5027 2000-11-09 Graham Stott <grahams@redhat.com>
5029 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
5030 order for -mintel-syntax. Remove comment now that the operand
5031 order has been checked.
5032 (mmx_pextrw): Likewise.
5033 (mmx_pshufw): Likewise.
5035 2000-11-09 Jakub Jelinek <jakub@redhat.com>
5037 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
5038 (c_getstr): New function.
5039 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
5040 If both arguments are constant string, optimize out.
5041 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
5042 (expand_builtin_strpbrk): Use c_getstr, do nothing if
5043 -fcheck-memory-usage.
5044 (expand_builtin_fputs): Likewise.
5045 (expand_builtin_strcmp): Add MODE argument.
5046 Use even if !HAVE_cmpstrsi.
5047 Optimize the case when both arguments are constant strings.
5048 (expand_builtin): Adjust expand_builtin_strcmp caller.
5049 Call expand_builtin_strchr and expand_builtin_strrchr.
5050 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
5052 * builtins.def (BUILT_IN_STRRCHR): Add.
5054 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5056 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
5058 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
5060 * calls.c (expand_call, emit_library_call_value_1), collect2.c
5061 (scan_prog_file), config/a29k/a29k.c (print_operand),
5062 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
5063 instead of bcopy ().
5064 * real.h: Use memcmp () instead of bcmp ().
5065 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
5066 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
5067 ultrasparc_sched_init, ultrasparc_sched_reorder),
5068 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
5069 instead of bzero ().
5070 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
5071 instead of rindex ().
5072 * configure.in: Don't check for bzero, bcmp, index or rindex.
5073 * configure, config.in: Regenerate.
5074 * system.h: Don't include declarations for bzero, bcmp, index or
5076 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
5077 bzero, bcmp, index or rindex.
5079 Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
5081 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
5082 include and library paths from -mcygwin case. Parameterize some
5083 declarations to avoid warnings. Use standard locations for include and
5086 2000-11-08 Nick Clifton <nickc@redhat.com>
5088 * config/arm/arm.md (mulsidi3adddi): Change output operand
5089 constraint from "=&" to "+&".
5090 (umulsidi3adddi): Change output operand constraint from "=&" to
5093 2000-11-08 Richard Henderson <rth@redhat.com>
5095 * flow.c (init_propagate_block_info): Protect the rtx stored in
5096 mem_set_list from modification by find_auto_inc.
5097 (mark_set_1): Likewise.
5099 2000-11-08 Neil Booth <neilb@earthling.net>
5101 Move directive handling into the lexer itself.
5103 * cpplex.c (_cpp_lex_token): Handle directives directly.
5104 In the case of a directive interrupting a function-like
5105 macro invocation, use extra_char since read_ahead is
5106 used to store the '#'. Return a CPP_EOF in this case.
5107 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
5108 (cpp_get_token): Don't handle directives here.
5109 * cpplib.h: Remove CPP_DHASH token type.
5111 Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
5113 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
5114 formed using PRE_MODIFY too.
5116 2000-11-08 Mark Mitchell <mark@codesourcery.com>
5118 * c-tree.texi (VAR_DECL): Describe representation of GCC's
5119 extension for placing variables in particular registers.
5121 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
5122 unprototyped C functions with no parameters.
5124 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5126 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
5127 before passing to fprintf.
5129 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5131 * function.c (expand_function_start): Cast GET_MODE_SIZE to
5132 HOST_WIDE_INT before negating it.
5134 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5136 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
5137 passed in multiple non-contiguous locations.
5139 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5141 * README.gnat: Remove file.
5143 2000-11-08 Alexandre Oliva <aoliva@redhat.com>
5145 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
5148 2000-11-07 Richard Henderson <rth@redhat.com>
5150 * dwarfout.c (INSN_LABEL_FMT): Remove.
5151 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5152 (dwarfout_label): Remove.
5153 * dwarfout.h: Remove it's prototype.
5154 * dwarf2out.c (INSN_LABEL_FMT): Remove.
5155 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5156 (dwarf2out_label): Remove.
5157 * dwarf2out.h: Remove it's prototype.
5158 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
5160 2000-11-07 Richard Henderson <rth@redhat.com>
5162 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
5163 search on the unwind region section.
5165 * config/ia64/ia64.md (movbi): Add r/r alternative.
5166 (cmovdi_internal_astep): Describe all combinations of register
5167 classes for sources & destinations; remove matching constraints.
5168 (cmovdi_internal): Likewise.
5170 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
5172 2000-11-07 Richard Henderson <rth@redhat.com>
5174 * c-lang.c (start_cdtor, finish_cdtor): New functions.
5175 (finish_file): Use them in building constructor/destructor functions.
5177 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
5178 LD_FINI_SWITCH): Move ...
5179 * config/alpha/osf.h: ... here.
5180 * config/alpha/alpha-interix.h: Don't undef them.
5182 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
5184 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
5185 included in libgcc.a.
5187 (dp-bit.c): Likewise.
5188 (fp-bit.c): Likewise.
5190 2000-11-07 Nick Clifton <nickc@redhat.com>
5192 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
5193 (INTERNAL_ASM_OP): Add missing tab.
5195 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5197 * alias.c (init_alias_analysis), calls.c (expand_call,
5198 emit_library_call_value_1), combine.c (init_reg_last_arrays),
5199 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
5200 (init_output_buffer, set_diagnostic_context), dwarf2out.c
5201 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
5202 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
5203 function.c (assign_parms), gcse.c (compute_can_copy,
5204 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
5205 compute_hash_table, compute_set_hash_table,
5206 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
5207 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
5208 clear_units, schedule_block), integrate.c (initialize_for_inline,
5209 expand_inline_function), jump.c (thread_jumps), local-alloc.c
5210 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
5211 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
5212 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
5213 record_reg_classes, allocate_reg_info), reload.c
5214 (get_secondary_mem, remove_address_replacements, find_reloads),
5215 reload1.c (reload, set_initial_label_offsets, finish_spills,
5216 reload_as_needed, choose_reload_regs_init,
5217 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
5218 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
5219 (rename_registers), stmt.c (expand_end_case), unroll.c
5220 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
5221 () instead of bzero ().
5223 2000-11-07 Neil Booth <neilb@earthling.net>
5225 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
5227 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5229 * c-common.c (combine_strings): Only warn about long strings for C.
5231 Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
5233 * combine.c (distribute_notes): Fix typo in last change.
5235 2000-11-07 Geoff Keating <geoffk@redhat.com>
5237 * config/rs6000/rs6000.md (movdi_internal32+1): Use
5238 operand_subreg_force rather than gen_rtx_SUBREG.
5239 (movdi_internal32+2): Likewise.
5241 2000-11-07 Philip Blundell <philb@gnu.org>
5243 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
5244 * config/arm/linux-aout.h: Likewise.
5245 * configure: Regenerate.
5247 2000-11-07 Philipp Thomas <pthomas@suse.de>
5249 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
5250 accepted my the gettext maintainer.
5252 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5254 * builtins.c (expand_builtin_strpbrk): New function.
5255 (expand_builtin): Handle BUILT_IN_STRPBRK.
5257 * builtins.def (BUILT_IN_STRPBRK): New entry.
5259 * c-common.c (c_common_nodes_and_builtins): Declare builtin
5262 2000-11-07 David O'Brien <obrien@dragon.nuxi.com>
5264 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
5265 * POTFILES.in: Add config/alpha/freebsd.h
5266 * configure.in: Add alpha*-freebsd support.
5267 * configure: Regenerate.
5269 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5271 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
5272 copy of ptr_type_node rather than ptr_type_node itself.
5274 Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
5276 * combine.c (recog_for_combine): Allocate uninitialized vector with
5278 * recog.c (apply_change_group): Likewise.
5280 Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
5282 * flow.c (verify_local_live_at_start): Back out last change.
5283 * combine.c (distribute_notes): When parts of a hard reg are
5284 neither set nor referenced in PLACE, search backwards for a
5285 place to put a REG_UNUSED note; if none found, ask for flow
5288 Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
5290 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
5291 with (clobber (match_scratch...)).
5293 2000-11-06 Neil Booth <neilb@earthling.net>
5295 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
5298 2000-11-06 Neil Booth <neilb@earthling.net>
5300 * tradcpp.c (special_symbol): Assign an null string rather
5301 than writing to an unallocated buffer.
5303 2000-11-06 Neil Booth <neilb@earthling.net>
5305 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
5308 2000-11-06 Neil Booth <neilb@earthling.net>
5310 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
5311 tok.val.arg_no as appropriate.
5312 * cppexp.c (lex): Similarly.
5313 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
5314 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
5315 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
5316 cpp_macro_definition): Similarly.
5317 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5319 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5321 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
5322 operands[1] is constant, calculate the sum and generate movdi.
5323 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
5324 (subsi3): Use SImode in call to arith_4096_operand.
5326 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5328 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
5329 adjust %o1, not %o0 if the return type is large structure.
5331 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5333 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
5334 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
5336 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
5338 * expmed.c (expand_divmod): For signed divide by 2, prefer
5339 a branch and fewer shifts if branches are very cheap.
5341 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
5343 * Makefile.in: Remove all targets related to building
5344 distributions and diffs, or INSTALL.
5345 * INSTALL, install1.texi: Remove.
5346 * configure.in: Remove mention of distdir.
5347 * configure: Regenerate.
5348 * objc/Make-lang.in: Remove mention of distdir.
5350 2000-11-04 Neil Booth <neilb@earthling.net>
5352 * cpp.texi: Update for _Pragma.
5354 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
5356 * gcc.texi (Contributing): Update URL for projects web page.
5358 2000-11-04 Neil Booth <neilb@earthling.net>
5360 * cpplex.c (parse_string): Don't allow multiline strings in
5361 #include family directives.
5363 2000-11-04 Neil Booth <neilb@earthling.net>
5365 * cpplib.c (do_line): Only warn pedantically if not reading
5368 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
5370 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
5373 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
5375 * builtins.c (expand_builtin_strlen): Remove unused mode
5377 * gcc.c (process_command): Remove unused variable.
5378 * fold-const.c: Include expr.h.
5379 * recog.c: Include reload.h.
5380 * Makefile.in (recog.o, fold-const.o): Update deps.
5382 2000-11-02 Geoffrey Keating <geoffk@cygnus.com>
5384 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
5386 Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
5388 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
5390 (STARTFILE_SPEC): Likewise.
5391 (LINK_SPEC): Likewise.
5393 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5395 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
5396 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
5397 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
5399 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
5401 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
5402 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
5403 perm_calloc, get_identifier, maybe_get_identifier,
5404 real_value_from_int_cst, simple_cst_equal), varasm.c
5405 (assemble_name, assemble_real, immed_real_const_1,
5406 compare_constant_1, decode_rtx_const, output_constant_pool): Use
5407 strrchr () instead of rindex (). Use memcmp () instead of bcmp
5408 (). Use memcpy () instead of bcopy (). Use memset () instead of
5411 2000-11-03 Nathan Sidwell <nathan@codesourcery.com>
5413 * cppfiles.c (open_file): If already read, then don't reopen.
5414 Immediately close an empty file.
5416 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5418 * expr.h (fold_builtin): Move declaration...
5419 * tree.h (fold_builtin): ... here.
5421 Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
5423 * flow.c (verify_local_live_at_start): Allow hard regs to die.
5425 2000-11-02 Neil Booth <neilb@earthling.net>
5428 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
5429 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
5430 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
5431 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
5432 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
5433 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
5434 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
5435 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
5436 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
5437 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
5438 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
5439 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
5440 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
5441 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
5442 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5443 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
5444 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
5445 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
5446 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
5447 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
5448 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
5449 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
5450 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
5451 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
5452 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
5453 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
5454 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
5455 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
5456 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
5457 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
5458 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
5459 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
5460 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
5461 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
5462 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
5463 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
5464 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
5465 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
5466 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
5467 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
5468 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
5469 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
5470 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
5471 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
5472 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
5473 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
5474 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
5475 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
5476 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
5477 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
5478 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
5479 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
5480 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
5481 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
5482 vax/vaxv.h, vax/vms.h, we32k/we32k.h
5484 Replace -A() with -A=, the new assertion syntax.
5486 Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
5488 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
5490 In REG_DEAD handling: When handling parts of multi-hard-reg hard
5491 registers, increment the loop counter by the size of the parts;
5492 use recursion to handle individual parts.
5494 2000-11-02 Neil Booth <neilb@earthling.net>
5496 * configure.in: Make integrated CPP the default.
5497 * configure: Regenerate.
5499 Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
5501 * reload.c (find_equiv_reg): Test all hard registers for membership
5502 in the requested class.
5504 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5506 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
5507 process_command, main), gcov.c (open_files, output_data), tlink.c
5508 (frob_extension, scan_linker_output), toplev.c
5509 (file_name_nondirectory): Use strchr () and strrchr () instead of
5510 index () and rindex ().
5512 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5514 * c-common.c (get_flag_spec, check_format_info_main,
5515 check_format_types): Use strchr () instead of index (). Compare
5516 against error_mark_node instead of comparing the TREE_CODE against
5519 2000-11-02 Zack Weinberg <zackw@Stanford.EDU>
5523 * c-lex.c (init_c_lex): Update cpp_start_read call.
5524 (cb_ident): Update for new callback prototype.
5525 (cb_def_pragma): Update for new cpp_get_token prototype.
5526 (c_lex): Similarly. Use cpp_get_line.
5528 * c-parse.in (finish_parse): Update for new cpp_finish
5531 * cp/lex.c (finish_parse): Similarly.
5533 2000-11-01 Geoff Keating <geoffk@cygnus.com>
5535 * machmode.def: Add V16QImode.
5537 2000-11-01 Richard Henderson <rth@redhat.com>
5539 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
5540 from rtl_for_decl_location.
5541 (add_location_or_const_value_attribute): Likewise.
5543 2000-11-01 Neil Booth <neilb@earthling.net>
5545 * cpplib.c (run_directive): Use correct line number for output
5546 of _Pragma. Remember any in-progress directive.
5548 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
5550 2000-11-01 Richard Henderson <rth@redhat.com>
5552 * stmt.c (expand_start_null_loop): Set continue_label.
5554 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5556 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
5557 (expand_builtin_constant_p): Move parts of the code into
5558 fold_builtin_constant_p.
5559 (expand_builtin_strlen): Move parts of the code into fold_builtin.
5560 * expr.h (fold_builtin): Declare.
5561 * fold-const.c (fold): Handle builtin calls.
5563 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
5565 2000-11-01 Richard Henderson <rth@redhat.com>
5567 * stmt.c (expand_start_null_loop): New.
5568 (expand_end_null_loop): New.
5569 * c-semantics.c (genrtl_do_stmt): Use them.
5570 * tree.h: Declare them.
5572 2000-11-01 Richard Henderson <rth@redhat.com>
5574 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
5576 2000-11-01 Neil Booth <neilb@earthling.net>
5578 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
5579 * cp/spew.c: Similarly.
5580 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
5581 * cppmacro.c (stringify_arg): Similarly.
5582 * cpplib.h (CPP_BACKSLASH): Delete.
5584 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5586 * builtins.c (expand_builtin_strstr): New function.
5587 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
5589 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
5591 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
5594 2000-10-31 Richard Henderson <rth@redhat.com>
5596 * config/i386/i386.c (fcmov_comparison_operator): Check for
5597 CCFPmode or CCFPUmode instead of CCmode.
5598 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
5599 unordered operations as well.
5601 2000-10-31 Richard Henderson <rth@redhat.com>
5603 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
5604 of integer_zero_node.
5606 2000-10-31 Richard Henderson <rth@redhat.com>
5608 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
5610 2000-10-31 Nick Clifton <nickc@redhat.com>
5612 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
5613 -fdata-sections to override the section attribute of a DECL.
5615 2000-10-31 Chris Demetriou <cgd@sibyte.com>
5617 * libgcc2.c (__shtab): Remove __shtab variable.
5618 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
5619 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
5622 2000-10-31 Jim Wilson <wilson@redhat.com>
5624 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
5625 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
5626 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
5627 instead of ASM_OUTPUT_INTERNAL_LABEL.
5628 (dwarf2out_end_block, dwarf2out_label): Likewise.
5629 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
5630 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
5632 2000-10-31 Richard Henderson <rth@redhat.com>
5634 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
5635 (size_of_locs): Set it.
5636 (output_loc_operands): Use it to compute branch displacement.
5637 (int_loc_descriptor): New.
5638 (mem_loc_descriptor): Dereference memory in the proper size.
5639 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
5640 (loc_descriptor_from_tree): New.
5641 (rtl_for_decl_location): Break out from ...
5642 (add_location_or_const_value_attribute): ... here.
5643 (add_bound_info): Use loc_descriptor_from_tree.
5645 2000-10-31 Neil Booth <neilb@earthling.net>
5647 * cpp.texi: Update for new command line assertion syntax.
5648 * cpplib.c (cpp_define): Simplify a bit.
5649 (cpp_assert, cpp_unassert): Use handle_assertion.
5650 (handle_assertion): New function; accept new command line
5652 * testsuite/gcc.dg/cpp/assert3.c: New tests.
5654 2000-10-31 Neil Booth <neilb@earthling.net>
5656 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
5657 undefined. Remove #ifdef check.
5658 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
5659 Define STDC_0_IN_SYSTEM_HEADERS to 1.
5661 2000-10-31 Jan Hubicka <jh@suse.cz>
5662 Jakub Jelinek <jakub@redhat.com>
5664 * config/i386/i386.h: Clarify CCNOmode description in comment.
5665 (EXTRA_CC_MODES): Remove CCRCmode.
5666 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
5667 (put_condition_code, ix86_match_ccmode): Likewise.
5668 (ix86_cc_mode): Likewise. Fix comment.
5669 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
5670 * config/i386/i386.md: Add unspec 12 description.
5671 (adddi3 split): Use unspec 12 instead of CCRCmode.
5672 (addsi3_carry_rc): Remove.
5673 (addsi3_cc, addqi3_cc): New patterns.
5674 (addsi_3): Swap operands, match CCZmode.
5675 (addsi_4): Rewritten.
5676 (addsi_5): Renamed from addsi_6.
5678 (addhi_3): Swap operands, match CCZmode.
5679 (addhi_4): Rewritten.
5680 (addhi_5): Renamed from addhi_6.
5682 (addqi_3): Swap operands, match CCZmode.
5683 (addqi_4): Rewritten.
5684 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
5685 (subsi3_carry_rc): Removed.
5686 (iorqi_3): Use =q constraint for clobber.
5687 (xorqi_cc_2): Likewise.
5688 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
5689 (x86_movsicc_0_m1_rc): Removed.
5690 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
5692 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
5694 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
5695 and decrement of complex types.
5697 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5699 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
5700 builtin fputs, ensure we still evaluate the stream in case it
5703 2000-10-31 Jakub Jelinek <jakub@redhat.com>
5705 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
5708 Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
5710 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
5711 (fp_extended_operand, emit_fpscr_use): Likewise.
5712 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
5713 (fpul_operand): New function.
5714 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
5715 fp_extended_operand. Add fpul_operand.
5716 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
5717 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
5718 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
5719 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
5720 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
5721 (divdf3_i): Likewise.
5722 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
5723 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
5724 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
5725 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
5726 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
5728 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
5730 * config/i386/i386.c (ix86_init_builtins): Correct return type
5731 building v4hi_ftype_v4hi_int_int tree node.
5732 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
5733 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
5735 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
5737 (mmx__uavgv8qi3): Correct insn mnemonic.
5738 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
5739 (mmx_punpckhwd): Correct insn mnemonic.
5740 (mmx_punpckhdq): Likewise.
5741 (mmx_punpcklwd): Likewise.
5742 (mmx_punpckldq): Likewise.
5743 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
5744 Renumber case labels to match the _mm_prefetch constants defined in
5747 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
5748 if the splitter didn't emit new insns.
5749 Make sure we call cleanup_subreg_operands even when splitting the last
5750 insn in a basic block.
5752 * invoke.texi (Debugging Options): Describe -do.
5753 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
5754 (dump_file): Likewise.
5755 (rest_of_compilation): Split .greg dump into .greg and .postreload.
5757 2000-10-30 Neil Booth <neilb@earthling.net>
5759 * cppfiles.c (stack_include_file): Check for stacked contexts
5761 * cpphash.h (_cpp_do__Pragma): New prototype.
5762 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
5764 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
5765 escaped newlines if !(buffer->from_stage3).
5766 (_cpp_lex_token): Warn about missing newlines iff
5767 !buffer->from_stage3.
5769 * cpplib.c (get__Pragma_string, destringize,
5770 _cpp_do__Pragma): New functions.
5771 (run_directive): Set output_line for _Pragma to avoid line
5772 markers in output. Set from_stage3 and prevent macro expansion
5773 for _Pragma and command-line options. Check buffer exhaustion.
5774 (cpp_push_buffer): Don't check for stacked macro contexts, as
5775 this is perfectly legitimate for _Pragma. Move the check to
5776 stack_include_file instead. Set from_stage3 iff buffer is
5779 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
5780 unsigned. New boolean from_stage3.
5781 (struct spec_nodes): Add n__Pragma.
5783 * cppmacro.c (enter_macro_context): Flip sense of return value.
5784 (_cpp_get_token): Handle _Pragma operator.
5786 2000-10-30 Phil Edwards <pme@sources.redhat.com>
5788 * gcc.texi: The C++ standard isn't "draft" anymore.
5790 2000-10-30 Mark Mitchell <mark@codesourcery.com>
5792 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
5794 2000-10-29 Neil Booth <neilb@earthling.net>
5796 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
5798 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5800 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
5801 fixinc/inclhack.def: Change comments mentioning C9X to refer to
5804 * invoke.texi: Document that -V will only work for very similar
5805 versions of driver and compiler.
5807 2000-10-29 Neil Booth <neilb@earthling.net>
5809 * cppmacro.c (_cpp_create_definition): Optimize the case of
5810 a macro defined to itself.
5812 2000-10-29 Neil Booth <neilb@earthling.net>
5814 * cpplex.c (save_comment): Don't store new lines in C++ comments.
5816 2000-10-29 Michael Hayes <mhayes@redhat.com>
5818 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
5820 2000-10-28 Geoffrey Keating <geoffk@cygnus.com>
5822 * cpphash.c (cpp_forall_identifiers): Add context variable
5823 for callback routine.
5824 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
5826 (main): Call cpp_forall_identifiers with null context.
5827 * cpplib.h (cpp_forall_identifiers): Update prototype.
5829 * cppmain.c: Make `parse_in' and `print' static.
5831 2000-10-28 Alan Modra <alan@linuxcare.com.au>
5833 * c-decl.c (finish_function): Clear c_function_name_declared_p.
5835 2000-10-28 Richard Henderson <rth@redhat.com>
5837 * regrename.c (scan_rtx_address): Frob action, not class,
5838 when trying to disable optimization.
5840 2000-10-28 Mark Mitchell <mark@codesourcery.com>
5842 * c-semantics.c (make_rtl_for_local_static): Don't clobber
5843 DECL_ASSEMBLER_NAME.
5845 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5847 * configure.in: Determine and substitute gcc_version_full.
5848 * configure: Regenerate.
5849 * gccbug.in: Use it to give full version. Don't allow
5852 2000-10-28 Richard Henderson <rth@redhat.com>
5854 * recog.c (split_all_insns): Run cleanup_subreg_operands
5857 * regrename.c (regrename_optimize): Verify that all registers of
5858 a multiple register mode are available.
5859 (scan_rtx_address): Accept the mode of the address; all callers
5862 * cpplib.c (run_directive): Fix prototype.
5864 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
5866 * reload.c (find_reloads): Distinguish "wins" so that we know whether
5867 a given operand won because of a matching constraint or not; then use
5868 that information to compute goal_alternative_matched properly.
5869 * reload1.c (choose_reload_regs): Never set reload_override_in for an
5872 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
5873 accurate value for MULT.
5874 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
5875 2% or > 98% before using static branch prediction bits.
5877 2000-10-28 Neil Booth <neilb@earthling.net>
5881 * cpplib.c (struct answer): New.
5882 (struct if_stack): Use cpp_lexer_pos rather than line and col.
5883 Rename cmacro mi_cmacro.
5884 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
5885 IN_I): New directive and flags.
5886 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
5887 parse_answer, parse_assertion, find_answer): New functions.
5888 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
5889 (lex_macro_node): New function to replace parse_ifdef and
5892 (_cpp_handle_directive): New function, combines _cpp_check_directive
5893 and _cpp_check_linemarker.
5895 (do_define, do_undef, parse_include, do_include, do_import,
5896 do_include_next, read_line_number, do_line, do_ident, do_pragma,
5897 do_pragma_once, do_pragma_poison, do_pragma_dependency):
5898 Update for new token getting interface.
5900 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
5901 : Update for new multiple-include optimisation technique.
5902 (do_elif): Don't forget to invalidate controlling macros.
5904 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
5905 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
5906 Functions to handle assertions with the new token interface.
5907 (do_assert, do_unassert): Use them.
5909 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
5912 (_cpp_init_stacks): Register directive names. Don't register special
5915 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
5916 new position recording regime.
5917 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5918 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5919 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
5920 (cpp_type2name): Move to cpplex.c.
5922 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
5923 (parse_defined): Update to handle new multiple include optimisation
5924 method. Remove poisoned identifier warning.
5925 (parse_assertion, TYPE_NAME): Delete.
5926 (lex): Update for multiple include optimisation, removal of
5927 CPP_DEFINED, to use _cpp_test_assertion for assertions and
5929 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
5930 (op_as_text): New function, to wrap cpp_token_as_text.
5932 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
5933 Update for MI optimisation.
5934 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
5935 segfault on diagnostic.
5936 (_cpp_compare_file_date): Take a token rather than 3 args.
5937 (cpp_read_file): Work correctly for zero-length files.
5939 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
5940 _cpp_init_hashtable and _cpp_cleanup_hashtable.
5941 (cpp_lookup): Place identifiers at front of identifier pool
5942 for _cpp_lookup_with_hash.
5943 (_cpp_lookup_with_hash): Require identifiers to be at the front of
5944 the identifier pool. Commit the memory if not already in the
5947 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
5948 Initialise various members of cpp_reader, memory pools, and the
5950 (cpp_printer_init): Delete.
5951 (cpp_cleanup): Update.
5952 (struct builtin, builtin_array, initialize_builtins): Update for new
5953 hashnode definition and builtin handling.
5954 (cpp_start_read, cpp_finish): Don't take or initialise a
5957 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
5958 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
5959 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
5960 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
5961 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
5962 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
5963 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
5964 struct toklist, struct cpp_context, struct specnodes,
5965 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
5966 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
5967 enum builtin_type, cpp_can_paste): New.
5968 (struct cpp_token): Delete line and col members.
5969 (struct cpp_buffer): New member output_lineno.
5970 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
5971 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
5972 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
5973 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
5974 base_context, context, directive, mi_state, mi_if_not_defined,
5975 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
5976 mlstring_pos, macro_buffer, macro_buffer_len.
5977 Delete members mls_line, mls_column, token_list, potential_control_macro,
5978 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
5979 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
5980 save_parameter_spellings, need_newline, .
5981 Change type of date, time and spec_nodes members.
5982 Change prototypes for include and ident callbacks.
5983 (struct cpp_hashnode): Change type of name. Remove union members
5984 expansion and code. Add members macro, operator and builtin.
5986 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
5987 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
5988 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
5989 cpp_stop_lookahead): New prototypes.
5990 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
5992 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
5993 Move from cpphash.h.
5995 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
5996 ufputs): Move to cpplib.h.
5997 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
5998 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
5999 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
6000 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
6001 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
6002 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
6003 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
6004 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
6005 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
6006 _cpp_parse_assertion, _cpp_find_answer): Delete.
6007 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
6008 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
6009 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
6010 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
6011 _cpp_handle_directive, DSC): New.
6012 (struct include_file): New member defined.
6014 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
6015 _cpp_compare_file_date): Update.
6016 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
6017 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
6018 _cpp_cleanup_hashtable.
6020 * Makefile.in: Remove cppoutput.c.
6022 * cppoutput.c: Delete
6024 * fixheader.c (read_scan_file): Update for new cpp_get_token
6026 (recognized_function): New argument LINE.
6028 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
6029 new cpp_get_token prototype.
6031 * scan.h (recognized_function): Update prototype.
6033 * po/POTFILES.in: Remove cppoutput.c.
6035 2000-10-27 Mark Mitchell <mark@codesourcery.com>
6037 * c-typeck.c (check_init_type_bitfields): Remove.
6038 (constructor_incremental): Likewise.
6039 (struct constructor_stack): Remove incremental bit.
6040 (struct initializer_stack): Likewise.
6041 (start_init): Don't play with constructor_incremental.
6042 (finish_init): Likewise.
6043 (really_start_incremental_init): Likewise.
6044 (push_init_level): Likewise.
6045 (pop_init_level): Likewise.
6046 (output_init_level): Likewise.
6047 (output_pending_init_elements): Likewise.
6049 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
6051 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
6052 Improve error messages. Correct parsing of
6053 #pragma pack(pop [,id]). Do not check the user-supplied
6054 alignment if we're popping.
6056 * gcc.dg/pack-test-1.c: New test case.
6057 * gcc.dg/pack-test-2.c: New test case.
6058 * gcc.dg/pack-test-1.h: New file.
6060 2000-10-27 Neil Booth <neilb@earthling.net>
6064 2000-10-27 Kelley Cook <kelley.cook@home.com>
6066 * invoke.texi: Document -mintel-syntax
6068 2000-10-27 Richard Henderson <rth@redhat.com>
6070 * invoke.texi: Document -frename-registers. Add it to -O3.
6071 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
6072 (enum dump_file_index, dump_file): Update order.
6073 (main): Set flag_rename_registers at -O3.
6075 2000-10-27 Richard Henderson <rth@redhat.com>
6077 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
6078 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
6079 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
6080 * config/alpha/alpha.md (call_osf_1): Use it.
6081 (call_value_osf_1): Likewise.
6083 * config/ia64/ia64.c: Revert 10-23 patch.
6084 (ia64_hard_regno_rename_ok): New.
6085 * config/ia64/ia64-protos.h: Declare it.
6086 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
6088 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
6089 Richard Henderson <rth@redhat.com>
6091 * regrename.c: Rewrite to handle multi-register modes and
6092 cond_exec instructions.
6093 * Makefile.in (regrename.o): Update dependancies.
6094 * recog.h (struct operand_alternative): Add is_address.
6095 * recog.c (preprocess_constraints) [case 'p']: Set it.
6097 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
6099 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
6100 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
6101 top level. Kill oldstyle_subdirs. Do not include
6102 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
6103 $outputs. Do not run configure.lang from config.status.
6104 Rearrange warning-flag logic to correspond to what the
6105 makefile wants. Put special vax stage1 options in
6106 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
6107 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
6108 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
6109 switch is given, nothing otherwise.
6110 * configure.lang: Delete.
6112 * Makefile.in: Expunge all traces of extra_c_objs,
6113 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
6114 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
6115 warning options via a three level scheme so that -pedantic and
6116 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
6117 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
6118 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
6119 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
6120 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
6121 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
6122 generation rules. Wrap all rules that change the current
6123 directory in parentheses; pmake doesn't spawn a new shell for
6124 each command. Expunge all references to $(P). When one
6125 command depends on another and they're run all at once, use &&
6126 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
6127 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
6130 * objc/Make-lang.in: Wrap all rules that change the current
6131 directory in parentheses. Expunge all references to $(P).
6132 When one command depends on another and they're run all at
6133 once, use && to separate them, not ;. Add OUTPUT_OPTION to
6134 all object-file generation rules. Delete obsolete variables.
6135 * objc/Makefile.in: Delete.
6137 2000-10-27 Jakub Jelinek <jakub@redhat.com>
6139 * calls.c (expand_call): If sibcall_failure is set during pass 1,
6140 clear tail_call_insns as well.
6142 2000-10-27 Nick Clifton <nickc@redhat.com>
6144 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
6147 2000-10-26 Richard Henderson <rth@redhat.com>
6149 * calls.c (expand_call): Supress sibcall if we have a
6150 BLKmode return in registers.
6152 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
6154 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
6157 2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
6159 * tree.c (make_node, case 't'): Set alignment to that of
6161 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
6163 2000-10-25 Mark Mitchell <mark@codesourcery.com>
6165 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
6166 * configure.in (enable-libstdcxx-v3): Arrange to have
6167 HAVE_LIBSTDCXX_V3 substituted into the output files.
6169 2000-10-25 Richard Henderson <rth@redhat.com>
6171 * recog.c (constrain_operands): Initialize which_alternative
6172 before no alternatives early exit.
6174 * cse.c (find_comparison_args): Check that we can reverse a
6175 comparison if needed before accepting the substitution.
6177 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
6179 * simplify-rtx.c (simplify_relational_operation): Sign extend
6180 low words before sign extending to high words.
6182 2000-10-25 Nick Clifton <nickc@redhat.com>
6184 * config/mcore/mcore.c: Include config.h before system.h.
6186 2000-10-25 Ray Essick <essick@ddna.labs.mot.com>
6188 * config/mcore/mcore.md (return): Force function epilogue to
6189 always be generated to work around epilogue suppression bug in
6192 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
6194 * c-decl.c (grokdeclarator): Move warning for qualified void
6195 return types with -pedantic to when the function type is
6196 constructed. At -W, warn in general for qualified function return
6197 types, except for volatile void.
6198 * invoke.texi: Document this new warning at -W.
6200 2000-10-25 Neil Booth <neilb@earthling.net>
6202 * cpp.texi: Update with implementation-defined behavior and
6205 2000-10-25 Jakub Jelinek <jakub@redhat.com>
6207 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
6208 incomplete type force it into alias set 0.
6210 Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
6212 * alias.c: Include basic-block.h.
6213 (loop_p): New function.
6214 (mark_constant_function): Use it.
6215 * Makefile.in (alias.o): Update dependencies.
6217 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
6219 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
6222 2000-10-24 Jim Wilson <wilson@cygnus.com>
6224 * expmed.c (store_bit_field): Move integer pun code down after
6225 code that calls emit_move_insn for entire register move.
6226 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
6227 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
6229 2000-10-24 Richard Henderson <rth@cygnus.com>
6231 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
6232 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
6234 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
6236 * gcse.c (cprop_insn): do not propagate constants into jump_insn
6237 for machines with CC0 more than once.
6239 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
6241 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
6242 pseudos just like memory.
6244 2000-10-24 Alexandre Oliva <aoliva@redhat.com>
6246 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
6247 when deleting libcall sequence collapsed to a single instruction.
6249 2000-10-24 Andrew Haley <aph@cygnus.co.uk>
6251 * expr.c (do_store_flag): Don't crash if either side of a
6252 comparison is error_mark_node.
6254 2000-10-24 Jakub Jelinek <jakub@redhat.com>
6256 * sibcall.c (purge_mem_unchanging_flag): New function.
6257 (optimize_sibling_and_tail_recursive_calls): Call it.
6259 2000-10-24 Philipp Thomas <pthomas@suse.de>
6261 * Makefile.in (check-po): New target for doing checks in the po
6262 subdir if all languages configured.
6263 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
6264 configure if NLS is enabled.
6265 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
6266 otherwise leave empty.
6267 * configure: Regenerate.
6269 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6271 * i386.c (print_operand): Handle new 'A' formatting code.
6272 387 opcodes need suffixes even with -mintel-syntax.
6273 Check for explicit size override (codes 'b', 'w' and 'k').
6274 (print_operand_address): Check if register prefix is needed when
6275 emitting `ds' segment override.
6276 * i386.h: Add comment about new 'A' formatting code.
6277 * i386.md (jump and call patterns): Emit absolute references using %A.
6279 2000-10-23 Richard Henderson <rth@cygnus.com>
6281 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
6282 output registers as fixed.
6283 (ia64_function_epilogue): Undo output fixation.
6285 2000-10-23 Richard Henderson <rth@cygnus.com>
6287 * config/alpha/alpha.md: Add names for all unnamed insns; use
6288 define_insn_and_split in some obvious places.
6290 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
6291 (zero_extendqisi2, zero_extendqidi2): Likewise.
6292 (zero_extendhisi2, zero_extendhidi2): Likewise.
6293 (abs splitters): Fix match_scratch operand number.
6294 (bcc_reverse): Swap pc & label instead of non-canonical compare.
6296 2000-10-23 Jim Wilson <wilson@cygnus.com>
6298 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
6300 * ia64.md (cmpsi_adjusted): Use %r3.
6301 (cmpdi_adjusted): Likewise.
6303 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6305 * config/i386/att.h (ASM_FILE_START): Define.
6307 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6309 * config/i386/linux.h (ASM_FILE_START): Define.
6311 Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
6313 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
6314 since this (only) drags in a crt0.o reference that the .ld files
6317 2000-10-23 Geoff Keating <geoffk@cygnus.com>
6319 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
6320 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
6321 reloads just like an RELOAD_FOR_OUTPUT would.
6323 * local-alloc.c (update_equiv_regs): Add an abort(). When
6324 deleting or moving insns, update reg_equiv[regno].init_insns.
6326 2000-10-23 Mark Mitchell <mark@codesourcery.com>
6328 * c-tree.texi: Improve documentation for IF_STMTs and related
6329 conditional statements.
6331 2000-10-22 Mark Mitchell <mark@codesourcery.com>
6333 * expr.c (do_preexpand_calls): Remove.
6334 (same_from_p): Don't use CALL_EXPR_RTL.
6335 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
6336 (preexpand_calls): Remove.
6337 * tree.c (first_rtl_op): Remove CALL_EXPR case.
6338 (unsave_expr_1): Likewise.
6339 * tree.def (CALL_EXPR): Give it only two slots.
6340 * tree.h (CALL_EXPR_RTL): Remove.
6342 2000-10-21 Chandrakala Chavva <cchavva@redhat.com>
6344 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
6345 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6348 2000-10-22 Alexandre Oliva <aoliva@redhat.com>
6350 * calls.c (combine_pending_stack_adjustment_and_call): Don't
6351 adjust stack when unadjusted_alignment ends up as zero.
6353 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
6355 * fixinc/genfixes: Remove EGCS reference.
6356 * install.texi: Remove EGCS reference.
6357 * INSTALL: Regenerate.
6359 2000-10-22 Mark Mitchell <mark@codesourcery.com>
6361 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
6363 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
6365 * diagnostic.c: Remove EGCS reference in comment.
6367 Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6369 * loop.c (strength_reduce): Fix error in last change.
6371 2000-10-20 David Edelsohn <edelsohn@gnu.org>
6373 * Makefile.in (SHLIB_NM_FLAGS): New.
6374 (libgcc.mk): Pass it.
6375 * mklibgcc.in (libgcc.map): Use it.
6377 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
6378 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
6380 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6382 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
6384 * sparc.c (load_pic_register): Delete unused varaible.
6386 * libgcc2.c (__addvsi3): Delete unused variable.
6388 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
6389 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
6390 __negvdi2): Prototype.
6392 * ssa.c (apply_delayed_renames): Avoid undefined operation.
6394 * toplev.c (display_target_options): Make static to match
6395 prototype. Delete empty declaration.
6397 2000-10-20 Tom Tromey <tromey@cygnus.com>
6399 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6400 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6402 Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6404 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
6406 (expand_expr_unaligned, case ARRAY_REF): Check that index is
6407 a constant before comparing it; use tree_low_cst.
6408 * tree.c (save_expr): Set TREE_READONLY.
6409 (substitute_expr): Return inside of NON_LVALUE_EXPR.
6410 (build, build1): Set TREE_READONLY if all operands are.
6411 (build_index_type): If upper bound is a negative number, lower
6412 bound is zero and sizetype is unsigned, use upper bound of one and
6415 2000-10-20 David Edelsohn <edelsohn@gnu.org>
6417 * gcc.c (process_command, main): Use "because" instead of
6418 "since" in error messages.
6420 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6422 * stor-layout.c (compute_record_mode): Use tree_low_cst.
6423 Don't use mode of field for record unless sizes are the same.
6424 (layout_type, case ARRAY_TYPE): Remove special bounds handling
6425 previously added for Ada; also change to using host_integerp
6428 * loop.c (strength_reduce): Show when new register made for
6429 giv is known to be a pointer and its aligment if so and known.
6430 (loop_dump_aux): Show VERBOSE parameter unused.
6432 * gcse.c (set_hash_table_size): Now unsigned.
6433 * sdbout.c (template_name_p): Add "const" to avoid warnings.
6434 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
6435 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
6436 (sdbout_end_epilogue): Remove variable NAME.
6437 * system.h (getopt): Add default definition.
6438 * config/alpha/alpha.c (print_operand): Don't continue processing
6439 after issuing error.
6440 (summarize_insn): Avoid use of UL in constant.
6442 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
6444 * fold-const.c (force_fit_type): Unsigned values can overflow
6445 if they are sizetype.
6446 (int_const_binop): Don't use cache if overflows.
6448 2000-10-20 Richard Henderson <rth@cygnus.com>
6450 * function.c (locate_and_pad_parm): Zero alignment_pad.
6452 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
6453 perform substitutions, and apply_change_group to see if it worked.
6455 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6457 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
6459 * combine.c (struct undo): Change int to unsigned int.
6460 (do_SUBST_INT): Args are unsigned int.
6461 (make_extraction, force_to_mode): Use proper type when forming mask.
6462 (make_field_assignment): Likewise.
6464 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
6466 * c-common.c (check_format_info_recurse): Extract string constant
6467 initializers from non-volatile constant arrays and check them as
6469 * c-typeck.c (decl_constant_value): Don't check pedantic or check
6470 for DECL_MODE (decl) != BLKmode.
6471 (decl_constant_value_for_broken_optimization): New function which
6472 includes these checks.
6473 (default_conversion, convert_for_assignment, digest_init): Use
6474 decl_constant_value_for_broken_optimization instead of
6475 decl_constant_value.
6477 2000-10-20 Mark Mitchell <mark@codesourcery.com>
6479 * tree.h (DECL_ALIGN_UNIT): New macro.
6481 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
6483 * config/avr/avr-protos.h (avr_output_bld): New.
6484 (out_shift_with_cnt): Add t_len argument.
6485 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
6486 (output_movqi, output_movhi, output_movsisf): Optimize loading
6487 any constant with exactly one bit set to NO_LD_REGS.
6488 (out_shift_with_cnt): Optimize output code for size or speed,
6489 depending on optimize_size. Handle small shift counts as well
6490 (if not hand-optimized in ?sh??i3_out). Shifts can be done
6491 with or without a scratch register, with help of __tmp_reg__
6492 or __zero_reg__ if necessary. Add T_LEN argument to pass the
6493 length of TEMPLATE in words, return total insn length in *LEN.
6494 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
6495 out_shift_with_cnt to work with the above change.
6496 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
6497 lshrsi3_out): Likewise. Optimize more known shift count cases.
6498 Remove cases already well optimized in out_shift_with_cnt.
6499 (avr_output_bld): New function.
6500 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
6501 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
6502 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
6503 Add reload_completed to insn condition - only for peepholes.
6504 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
6505 in a register or memory.
6506 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
6507 Do not require a scratch register.
6508 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
6509 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
6510 Optimize shifts by known count using a scratch register, but only
6511 if one is still available after register allocation.
6513 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6515 * t-vax: New file. Don't build modules from libgcc1.c.
6517 Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
6519 * alias.c: (mark_constant_function): Don't check pure functions.
6520 Initialize and end alias analysis.
6521 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
6522 Don't make a special exception for recursion. Handle
6523 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
6524 unless it's volatile.
6526 * local-alloc.c (equivalence): New structure.
6527 (reg_equiv): Define.
6528 (contains_replace_regs): Remove array and use
6530 (memref_referenced_p): Likewise.
6531 (no_equiv): Likewise.
6532 (update_equiv_regs): Likewise.
6534 (equiv_init_varies_p,
6535 equiv_init_movable_p): New functions.
6536 (update_equiv_regs): Use them. Use rtx_varies_p
6537 instead of function_invariant_p. Process insns
6538 from end to beginning. Allow a REG_EQUIV insn
6539 within the same loop as a use to be moved, also
6540 allow it to be moved out of a loop. Update
6541 REG_DEAD notes when substituting into an insn.
6543 2000-10-19 Jim Wilson <wilson@cygnus.com>
6545 * c-decl.c (start_decl): Check for error_mark_node type before using
6547 (finish_decl): Likewise. Don't give an error if decl type is
6548 already error_mark_node.
6550 * haifa-sched.c (compute_trg_info): Add explanatory comments.
6551 New local update_blocks. Use update_blocks to remove duplicates
6552 when computing update blocks. Check for bblst_table overflow.
6553 (schedule_block): Add explanatory comment. Reduce bblst_size by
6555 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
6558 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6560 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
6562 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6564 * expmed.c: Minor corrections in comments.
6565 * invoke.texi: Added desciption for the new option -ftrapv.
6567 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6569 * libgcc2.c: Added the missing #endif.
6571 Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
6573 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
6575 2000-10-18 Chandrakala Chavva <cchavva@redhat.com>
6577 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
6578 Use smulv_optab for -ftrapv.
6579 (expand_mult_highpart): Use unsigned multiply.
6580 (expand_divmod): Special-case division by -1.
6581 For EXACT_DIV_EXPR, do right shift first, then the multiply.
6582 For complex divide, use abs with unsigned result.
6583 * expr.c (force_operand): Use unsigned multiply.
6584 (expand_expr): Use overflow-trapping optabs for signed types if
6586 If flag_trapv, don't generate a recursive call with EXPAND_SUM
6587 if the type is signed and the original call wasn't EXPAND_SUM or
6589 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
6590 (negv_optab, absv_optab): Declare.
6591 * flags.h (flag_trapv): Declare.
6592 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
6593 smulv_optab, sdivv_optab, negv_optab and absv_optab.
6594 (gen_insn): Interpret '$P' as requiring an integer mode,
6595 including partial integer modes.
6596 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
6597 (product_cheap_p): Use unsigned expand_mult.
6598 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
6599 (negv_optab, absv_optab): Define.
6600 (expand_binop): Use overflow-trapping optabs for signed types if
6602 Handle negv_optab libe neg_optab.
6603 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
6604 Use overflow-trapping optabs for signed result if flag_trapv.
6605 (expand_complex_abs): Use overflow-trapping optabs for signed types if
6607 Don't open-code complex absolute-value operation for flag_trapv.
6608 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
6609 sdivv_optab, negv_optab and absv_optab.
6610 * toplev.c (flag_trapv): Define.
6611 (lang_independent_options f_options): Include flag_trapv.
6612 * tree.h (TYPE_TRAP_SIGNED): Define.
6613 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
6614 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6616 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
6617 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
6619 2000-10-18 Geoffrey Keating <geoffk@cygnus.com>
6620 David V. Henkel-Wallace <gumby@cygnus.com>
6622 * config/i386/t-netware: Bring in from the Red Hat tree.
6623 * config/i386/netware.h: Likewise.
6624 * config/netware.h: Likewise.
6625 * config/rs6000/netware.h: Delete.
6626 * configure.in: Add i[34567]86-*-netware.
6627 * configure: Hand-edit to match configure.in change.
6629 2000-10-18 Mark Mitchell <mark@codesourcery.com>
6631 * c-common.h (flag_no_builtin): Declare.
6632 (flag_no_nonansi_builtin): Likewise.
6633 (c_common_nodes_and_builtins): Change prototype.
6634 * c-common.c (flag_no_builtin): New variable.
6635 (flag_no_nonansi_builtin): Likewise.
6636 (c_common_nodes_and_builtins): Remove parameters. Adjust
6638 * c-decl.c (flag_no_builtin): Remove.
6639 (flag_no_nonansi_builtin): Likewise.
6640 (init_decl_processing): Adjust call to
6641 c_common_nodes_and_builtins.
6643 2000-10-18 Marc Espie <espie@openbsd.org>
6645 * tm.texi (LIBGCC_SPEC): Synch with reality.
6647 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6649 * c-common.c (check_format_types): Check for writing through a
6650 NULL pointer argument.
6652 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
6654 * tm.texi (Exception Region Output): Document
6655 DWARF_CIE_DATA_ALIGNMENT.
6656 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
6658 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
6659 DWARF_CIE_DATA_ALIGNMENT.
6661 2000-10-18 Michael Hayes <mhayes@cygnus.com>
6663 * basic-block.h (struct loop): Delete fields pre_header_root
6664 and pre_header_trace and replace with pre_header_edges
6665 and num_pre_header_edges.
6666 * flow.c (flow_loop_dump): Dump pre_header_edges.
6667 (flow_loops_free): Free pre_header_edges.
6668 (flow_loop_pre_header_scan): Calculate pre_header_edges.
6670 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6672 * contrib.texi: Update references to steering committee members
6673 and Jeff Law's entry.
6675 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6677 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
6678 (maybe_read_dollar_number, check_format_info_main): Use them for
6679 pedantic warning messages.
6681 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6683 * c-common.c (check_format_info_main): Minor cleanup: move
6684 variables into inner scopes; initialize declarations where
6685 appropriate; don't hardcode "scanf" name on warning for zero
6688 2000-10-17 Mark Mitchell <mark@codesourcery.com>
6690 * c-common.c (back_end_hook): New variable.
6691 * c-common.h (back_end_hook): Declare it.
6692 * c-lang.c (finish_file): Use it.
6694 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
6697 2000-10-18 Jan Hubicka <jh@suse.cz>
6699 * i386.c (ix86_comparison_operator, put_condition_code,
6700 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
6701 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
6702 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
6703 * i386.md (adddi and negdi splitter): Use CCRCmode.
6704 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
6705 (subsi3_carry): add '*'
6706 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
6707 (cmp to add peep2): Use CCRCmode; swap operands.
6709 2000-10-18 Kazu Hirata <kazu@hxi.com>
6711 * h8300.c: Fix a comment typo.
6712 (round_frame_size): New.
6713 (compute_saved_regs): Likewise.
6716 (push_order): Remove.
6717 (pop_order): Likewise.
6718 (function_prologue): Rearrange code for readability.
6719 (function_epilogue): Likewise.
6721 * config/h8300/h8300.md: Remove an unnecessary sign_extend
6722 expander that is used when not optimizing. Output a tab after
6723 each assembly insns.
6725 * reorg.c: Fix formatting.
6727 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
6729 * reload1.c (move2add_note_store): Check for simple
6730 auto-inc in destination.
6732 2000-10-17 Michael Chastain <chastain@redhat.com>
6734 * config/i386/i386-aout.h: define INT_ASM_OP.
6736 Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
6738 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
6740 Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
6742 * i370.md: Fix spelling typo.
6744 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6746 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
6747 Fixes execute/20001017-1.c on powerpc-linux-gnu.
6749 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
6750 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
6753 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
6754 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
6756 * rs6000/aix.h: ...to here.
6757 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
6759 2000-10-17 Jakub Jelinek <jakub@redhat.com>
6761 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
6763 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
6764 sure linker can relax even the delay slot mov %g1,%o7, fix output
6767 2000-10-17 Kazu Hirata <kazu@hxi.com>
6769 * config/h8300/h8300.md: Remove an unnecessary zero_extend
6770 expander that is used when not optimizing. Output a tab after
6771 each assembly insns.
6773 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
6775 * gcc.c: New options --target-help.
6776 (process_command): Added code to parse this new option.
6777 * toplev.c (display_target_options): New function to support the
6779 * cppinit.c (new_pending_directive) : New option OPT_target__help.
6780 (cpp_handle_option): Support this new option.
6781 * invoke.texi: Added notes about --target-help option.
6783 2000-10-17 Graham Stott <grahams@redhat.com>
6785 * config/i386/i386.md (testqi_1): Add missing operand prefix
6787 * config/i386/i386-protos.h: Add missing prototype.
6789 2000-10-17 Diego Novillo <dnovillo@cygnus.com>
6791 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
6792 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
6793 using -mintel-syntax.
6795 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6797 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
6798 (format_types): Use it for printf.
6799 (maybe_read_dollar_number): Add parameter for the kind of format
6800 involved. Warn for multiple use for arguments if this is
6801 inappropriate for the kind of format involved.
6802 (check_format_info_main): Update calls to maybe_read_dollar_number.
6804 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6806 * inclhack.def (hpux_maxint): Also apply fix to values.h.
6807 * fixincl.x: Rebuilt.
6809 2000-10-17 Alexandre Oliva <aoliva@redhat.com>
6811 * genrecog.c (write_switch): Return the first condition that needs a
6814 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
6816 * c-tree.h (warn_sequence_point): Move declaration to...
6817 * c-common.h (warn_sequence_point): ... here.
6818 * c-decl.c (warn_sequence_point): Move definition to...
6819 * c-common.c (warn_sequence_point): ... here.
6820 (struct reverse_tree): New.
6821 (reverse_list, reverse_max_depth): New static variables.
6822 (build_reverse_tree, common_ancestor, modify_ok
6823 verify_sequence_points): New functions.
6824 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
6825 * c-typeck.c (check_modify_expr): Delete.
6826 (build_modify_expr): Don't call it.
6828 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6830 * c-common.h (warn_missing_format_attribute): New variable.
6831 * c-decl.c (warn_missing_format_attribute): New variable.
6832 (c_decode_option): Decode -Wmissing-format-attribute and
6833 -Wno-missing-format-attribute.
6834 * c-common.c (check_function_format): If
6835 -Wmissing-format-attribute, give a warning where a vprintf or
6836 vscanf function is called by a function without its own printf or
6838 * toplev.c (documented_lang_options): Add
6839 -Wmissing-format-attribute.
6840 * invoke.texi: Document -Wmissing-format-attribute.
6842 2000-10-17 Marc Espie <espie@openbsd.org>
6844 * invoke.texi (-shared): Insist on requiring code generation flags
6845 to be used along with -shared, and document the subtle failure that
6846 may occur otherwise.
6848 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6850 * pa.md (return_internal): Move `use' after `return'.
6852 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6854 * machmode.def: Correct comment.
6856 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
6858 * print-rtl.c (print_rtx_head): Constify.
6859 * rtl.h (print_rtx_head): Similarly.
6861 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
6862 Constify char * return value.
6864 (output_64bit_and, output_64bit_ior): Constify char * return value.
6865 (pa_can_combine_p): Make static.
6866 (function_arg): Decorate unused `named' argument. Fix comment typo.
6867 (function_arg_partial_nregs): Decorate unused `named' argument.
6869 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
6871 * c-common.c (format_check_results): New structure.
6872 (finish_dollar_format_checking): Adjust to take a
6873 format_check_results * parameter.
6874 (check_format_info, check_format_info_recurse,
6875 check_format_info_main): Split check_format_info into three
6876 functions, the main checking going in check_format_info_main.
6877 Recurse when any reduction of the format string argument towards a
6878 string literal is done; go down both branches of a conditional
6879 expression. Don't warn for extra format arguments or empty format
6880 strings if they only occur in some branches of a conditional
6883 2000-10-16 Kazu Hirata <kazu@hxi.com>
6885 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
6887 2000-10-16 Jakub Jelinek <jakub@redhat.com>
6889 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
6891 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
6893 * i386.md (*movsi_or): Switch operand order for intel syntax.
6895 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
6899 * gcc.texi (Contributing): Update.
6901 2000-10-13 Diego Novillo <dnovillo@cygnus.com>
6903 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
6904 appropriate assembler dialect.
6906 2000-10-13 Alexandre Oliva <aoliva@redhat.com>
6908 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
6910 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
6912 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
6913 constants 1 and 2 to NO_LD_REGS.
6915 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6917 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
6919 * objc/Make-lang.in (objc-parse.c): Likewise.
6921 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
6923 * arm.c: Include obstack.h
6924 (minipool_obstack, minipool_startobj): Define.
6925 (arm_add_gc_roots): Initialize them.
6926 (create_fix_barrier): Use our new obstack.
6927 (push_minipool_barrier, push_minipool_fix): Likewise.
6928 (arm_reorg): Release obstack memory.
6930 2000-10-13 Jakub Jelinek <jakub@redhat.com>
6932 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
6933 (prologue, exception_receiver, builtin_setjmp_receiver): New
6935 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
6936 * config/sparc/sparc-protos.h (finalize_pic): Remove.
6937 (load_pic_register): New prototype.
6938 * config/sparc/sparc.c (pic_setup_code): Remove.
6939 (finalize_pic): Rename to...
6940 (load_pic_register): ...this function.
6941 Don't look for nonlocal_goto_receivers and emit pic setup code
6942 directly. Don't check current_function_uses_pic_offset_table.
6944 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
6946 * tree.h (struct obstack): Declare.
6948 2000-10-12 Mark Mitchell <mark@codesourcery.com>
6951 * Makefile.in (ggc-callbacks.o): Remove target.
6952 (flow.o): Depend on GGC_H.
6953 * alias.c (init_alias_analysis):
6954 Remove ggc_p conditionals.
6955 (end_alias_analysis): Likewise.
6956 * basic-block.h (init_flow): New function.
6957 (allocate_reg_life_data): Declare.
6958 * bb-reorder.c (function_obstack): Replace with ...
6959 (flow_obstack): ... new variable.
6960 (fixup_reorder_chain): Use it.
6961 * c-decl.c (ggc_p): Remove.
6962 (caller-save.c): Don't call oballoc/obfree.
6964 undobuf): Remove storage.
6965 (try_combine): Don't call oballoc.
6966 (undo_all): Don't call obfree.
6967 * cse.c (insert): Use xmalloc, not
6969 (cse_main): Adjust accordingly.
6970 * dwarf2out.c (save_rtx): Remove
6972 (dwarf2out_init): Remove ggc_p conditionals.
6973 * emit-rtl.c (rtl_obstack): Remove.
6974 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
6975 (make_insn_raw): Likewise.
6976 (emit_insn_before): Likewise.
6977 (emit_insn_after): Likewise.
6978 (emit_insn): Likewise.
6979 (gen_sequence): Likewise.
6980 (copy_insn_1): Remove handling of `b' RTL components.
6981 (init_emit_once): Remove ggc_p conditionals.
6982 * except.c (create_rethrow_ref): Don't fool with obstacks.
6983 (add_partial_entry): Likewise.
6984 (call_get_eh_context): Likewise.
6985 (begin_protect_partials): Likewise.
6986 (protect_with_terminate): Likewise.
6988 (plus_constant_wide): Likewise.
6989 * expr.c (init_expr_once):
6991 (emit_block_move): Likewise.
6992 (clear_storage): Likewise.
6993 (expand_expr): Likewise.
6994 * flow.c (function_obstack): Remove.
6995 (flow_obstack): New variable.
6996 (flow_firstobj): Likewise.
6997 (create_base_block): Use the flow_obstack.
6998 (split_block): Likewise.
6999 (split_edge): Likewise.
7000 (calculate_global_regs_live): Likewise.
7001 (allocate_bb_life_data): Make it static. Likewiwse.
7002 (init_flow): New function.
7003 (size_int_type_wide): Remove ggc_p conditionals.
7005 (push_function_context_to): Don't call save_tree_status.
7006 (pop_function_context_from): Or restore_tree_status.
7007 (assign_stack_local_1): Don't call push_obstacks.
7008 (find_fixup_replacement): Use xmalloc.
7009 (fixup_var_refs_insns): Free the storage.
7010 (insns_for_mem_walk): Don't mess with obstacks.
7011 (instantiate_decls): Likewise.
7012 (trampoline_address): Likewise.
7013 (expand_function_end): Likewise.
7014 * function.h (sturct function):
7015 Remove obstack-related variables.
7016 (save_tree_status): Don't declare.
7017 (restore_tree_status): Likewise.
7018 * gcse.c (compute_can_copy):
7019 Don't call oballoc/obfree.
7020 * genattrtab.c (operate_exp): Remove
7022 (simplify_cond): Likewise.
7023 (simplify_test_exp): Don't mess with obstacks.
7024 (optimize_attrs): Likewise.
7025 * gengenrtl.c (gendef): Don't include
7027 * ggc-callbacks.c (ggc_p): Remove.
7028 * ggc-none.c (ggc_p): Remove.
7029 * ggc.h (ggc_p): Don't declare.
7030 * integrate.c (save_for_inline): Don't mess with obstacks.
7031 (integrate_decl_tree): Likewise.
7032 (output_inline_function): Likewise.
7034 (init_EXPR_INSN_LIST_cache): Likewise.
7035 * loop.c (temp_obstack):
7037 (rtl_obstack): Likewise.
7038 (init_loop): Don't mess with obstacks.
7039 (reg_address_cost): Free BIVs and GIVs.
7040 (check_insns_for_bivs): Use xmalloc, not oballoc.
7041 (find_mem_givs): Likewise.
7042 (record_biv): Likewise.
7043 (general_induction_var): Likewise.
7044 (product_cheap_p): Likewse.
7045 * optabs.c (init_one_libfunc): Remove
7047 * print-tree.c (debug_tree): Don't use
7049 (print_node): Likewise.
7050 * profile.c (output_func_start_profiler):
7051 Remove call to temporary_allocation.
7053 (eliminate_regs_in_insn): Don't mess with obstacks.
7055 (mark_target_live_regs): Use xmalloc.
7056 (free_resource_info): Free the memory.
7057 * rtl.c (rtl_obstack):
7059 (rtvec_alloc): Don't mess with obstacks.
7060 (rtx_alloc): Likewise.
7062 (copy_rtx): Don't handle `b' cases.
7063 (read_rtx): Use a local rtl_obstack.
7064 * rtl.h (oballoc): Remove.
7066 (pop_obstacks): Likewise.
7067 (push_obstacks): Likewise.
7068 (allocate_bb_life_data): Likewise.
7069 (allocate_reg_life_data): Likewise.
7070 (rtx_free): Likewise.
7071 * sdbout.c (sdbout_queue_anonymous_type):
7072 Use tree_cons, not saveable_tree_cons.
7074 (cselib_init): Don't mess with obstacks.
7076 (mark_block_nesting): Mark the label_chain.
7077 (epxand_label): Use ggc_alloc, not oballoc.
7078 (clear_last_expr): Don't mess with obstacks.
7079 (expand_decl_cleanup): Likewise.
7080 (expand_dcc_cleanup): Likewise.
7081 (expand_dhc_cleanup): Likewise.
7082 (expand_anon_union_decl): Likewise.
7083 (add_case_node): Use xmalloc, not oballoc.
7084 (free_case_nodes): New function.
7085 (expand_end_case): Call it.
7086 * stor-layout.c (layout_type): Don't
7088 (layout_type): Likewise.
7089 * toplev.c (wrapup_global_declarations):
7091 (compile_file): Remove ggc_p conditionals.
7092 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
7093 (decode_f_option): Remove ggc_p conditionals.
7095 (function_maybepermanent_obstack): Remove.
7096 (maybepermanent_obstack): Likewise.
7097 (function_obstack): Likewise.
7098 (tmeporary_obstack): Likewise.
7099 (momentary_obstack): Likewise.
7100 (temp_decl_obstack): Likewise.
7101 (saveable_obstack): Likewise.
7102 (rtl_obstack): Likewise.
7103 (current_obstack): Likewise.
7104 (expression_obstack): Likewise.
7105 (struct obstack_stack): Likewise.
7106 (obstack_stack): Likewise.
7107 (obstack_stack_obstack): Likewise.
7108 (maybepermanent_firstobj): Likewise.
7109 (temporary_firstobj): Likewise.
7110 (momentary_firstobj): Likewise.
7111 (temp_decl_firstobj): Likewise.
7112 (momentary_function_firstobj): Likewise.
7113 (all_types_permanent): Likewise.
7114 (struct momentary_level): Likewise.
7115 (momentary_stack): Likewise.
7116 (init_obstacks): Remove initialization of removed obstacks.
7117 (save_tree_status): Remove.
7118 (restore_tree_status): Likewise.
7119 (temporary_allocation): Liekwise.
7120 (end_temporary_allocation): Liekwise.
7121 (resume_temporary_allocation): Likewise.
7122 (saveable_allocation): Likewise.
7123 (push_obstacks): Likewise.
7124 (push_obstacks_nochange): Likewise.
7125 (pop_obstacks): Likewise.
7126 (allocation_temporary_p): Likewise.
7127 (permanent_allocation): Likewise.
7128 (preserve_data): Likewise.
7129 (preserve_initializer): Likewise.
7130 (rtl_in_current_obstack): Likewise.
7131 (rtl_in_saveable_obstack): Likewise.
7132 (oballoc): Likewise.
7134 (savealloc): Likewise.
7135 (expralloc): Likewise.
7136 (print_obstack_name): Likewise.
7137 (debug_obstack): Likewise.
7138 (object_permanent_p): Likewise.
7139 (push_momentary): Likewise.
7140 (perserve_momentary): Likewise.
7141 (clear_momentary): Likewise.
7142 (pop_momentary): Likewise.
7143 (pop_momentary_nofree): Likewise.
7144 (suspend_momentary): Likewise.
7145 (resume_momentary): Likewise.
7146 (make_node): Don't set TREE_PERMANENT.
7147 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
7148 Don't set TREE_PERMANENT.
7149 (get_identifier): Remove ggc_p conditionals.
7150 (build_string): Likewise.
7151 (make_tree_vec): Likewise.
7152 (build_decl_list): Remove.
7153 (build_expr_list): Likewise.
7154 (tree_cons): Remove ggc_p conditionals.
7155 (decl_tree_cons): Remove.
7156 (expr_tree_cons): Likewise.
7157 (perm_tree_cons): Likewise.
7158 (temp_tree_cons): Likewise.
7159 (saveable_tree_cons): Likewise.
7160 (build1): Remove ggc_p conditionals.
7161 (build_parse_node): Likewise.
7162 (build_type_attribute_variant): Don't mess with obstacks.
7163 (build_type_copy): Likewise.
7164 (type_hash_canon): Likewise.
7165 (build_pointer_type): Likewise.
7166 (build_reference_type): Likewise.
7167 (build_index_type): Likewise.
7168 (build_range_type): Likewise.
7169 (dump_tree_statistics): Don't print obstack information.
7171 (struct tree_common): Remove permanent_flag.
7172 (TREE_PERMANENT): Remove.
7173 (TREE_SET_PERMANENT): Likewise.
7174 (TYPE_OBSTACK): Likewise.
7175 (struct tree_type): Remove obstack.
7177 (savealloc): Likewise.
7178 (build_decl_list): Likewise.
7179 (build_expr_list): Likewise.
7180 (perm_tree_cons): Likewise.
7181 (temp_tree_cons): Likewise.
7182 (saveable_tree_cons): Likewise.
7183 (decl_tree_cons): Likewise.
7184 (expr_tree_cons): Likewise.
7185 (suspend_momentary): Likewise.
7186 (allocation_temporary_p): Likewise.
7187 (resume_momentary): Likewise.
7188 (push_obstacks_nochange): Likewise.
7189 (permanent_allocation): Likewise.
7190 (push_momentary): Likewise.
7191 (clear_momentary): Likewise.
7192 (pop_momentary): Likewise.
7193 (end_temporary_allocation): Likewise.
7194 (pop_obstacks): Likewise.
7195 (push_obstacks): Likewise.
7196 (pop_momentary_nofree): LIkewise.
7197 (preserve_momentary): Likewise.
7198 (saveable_allocation): Likewise.
7199 (temporary_allocation): Likewise.
7200 (resume_temporary_allocation): Likewise.
7201 (perserve_initializer): Likewise.
7202 (debug_obstack): Likewise.
7203 (rtl_in_current_obstack): Likewise.
7204 (rtl_in_saveable_obstack): Likewise.
7206 * varasm.c (current_obstack): Remove.
7207 (saveable_obstack): Remove.
7208 (rtl_obstack): Remove.
7209 (immed_double_const): Don't mess with obstacks.
7210 (immed_real_cons): Likewise.
7211 (output_constant_def): Likewise.
7212 (init_varasm_status): Use xcalloc.
7213 (mark_pool_constant): Mark the pool constant itself.
7214 (free_varasm_status): Free memory.
7215 (decode_rtx_const): Call bzero directly, rather than expanding it
7217 (record_rtx_const): Don't mess with obstacks.
7218 (force_const_mem): Likewise.
7219 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
7221 (aof_pic_entry): Likewise.
7222 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7223 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
7224 * config/pa/pa.c (saveable_obstack): Remove.
7225 (rtl_obstack): Likewise.
7226 (current_obstack): Likewise.
7227 (output_call): Don't mess with obstacks.
7228 (hppa_encode_label): Remove ggc_p conditionals.
7229 * config/romp/romp.c (get_symref): Don't mess with obstacks.
7230 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
7231 (rs6000_encode_section_info): Likewise.
7232 * config/sh/sh.c (get_fpscr_rtx): Likewise.
7234 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
7236 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
7237 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
7238 (addsi3_carry): Canonicalize.
7239 (addqi_5): Remove '*'.
7240 (sbb pattern): Canonicalize.
7242 * i386.md (cmp to inc/add peep2): New.
7244 2000-10-12 Richard Earnshaw <rearnsha@arm.com>
7246 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
7249 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7251 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
7252 * README.TRAD, TESTS.FLUNK: Remove.
7254 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7256 * c-common.c (decl_attributes): Don't allow strftime formats with
7257 first_arg_num nonzero.
7258 (check_format_info): Set wanted_type and wanted_type_name to zero
7259 before they are possibly assigned and used.
7261 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7263 * c-common.c (scanf_flag_specs): Add flags ' and I.
7264 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
7265 or the ^ and # flags together.
7266 (scan_char_table): Handle the ' and I flags.
7267 (format_types): Add ' and I flags for scanf.
7269 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7271 * c-common.c (print_char_table): Use the unpromoted type for
7272 lengths "h" and "hh" with conversions dioxXu.
7273 (check_format_types): Apply the default argument promotions where
7274 the wanted type is not a pointer target.
7276 2000-10-11 Michael Meeks <mmeeks@gnu.org>
7277 Joseph S. Myers <jsm28@cam.ac.uk>
7279 * c-typeck.c (check_modify_expr): New function.
7280 (build_modify_expr): Call it if warn_sequence_point.
7281 * c-decl.c (warn_sequence_point): New variable.
7282 (c_decode_option): Handle -Wsequence-point and
7283 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
7284 * c-tree.h (warn_sequence_point): Declare.
7285 * invoke.texi (-Wsequence-point): Document.
7286 * toplev.c (documented_lang_options): Add -Wsequence-point and
7287 -Wno-sequence-point.
7288 Original work by Michael Meeks, 16 Jun 1998.
7290 Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7292 * tree.c (get_narrower): Don't look at precision of field if
7295 Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
7297 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
7298 declaration for data with "progmem" attribute.
7300 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
7302 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
7303 Correct insn length if shift count is a memory operand.
7304 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
7305 (*iorhi3_clobber): Change lo8 to hi8.
7306 (zero_extendhisi2): Change %B0 to %A1.
7307 (ashlhi3, ashrhi3): Correct insn length.
7308 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
7309 from "clobber" to "set_n" in some alternatives.
7311 2000-10-10 Jakub Jelinek <jakub@redhat.com>
7313 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
7314 remove its insn_chain structure as well.
7316 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7318 * dbxout.c (dbxout_source_line): Remove extra tab.
7320 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
7322 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
7324 2000-10-09 Richard Henderson <rth@cygnus.com>
7326 * Makefile.in (LANG_LIB2FUNCS): Remove.
7327 (LIB2FUNCS): Remove _pure.
7328 (LIB2ADD): Remove LANG_LIB2FUNCS.
7329 (stage_a): Don't set LANG_LIB2FUNCS.
7330 * libgcc2.c (__terminate): Mark noreturn.
7331 (__pure_virtual): Remove.
7332 * mklibgcc.in: Remove LIB2ADD .txt processing.
7334 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7336 * arm.md (push_multi): Revert unintended change.
7338 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7340 * arm.c: Miscellaneous white space and comment clean-ups. No
7344 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7346 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
7347 STRING_CST by calling combine_strings.
7349 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7351 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
7352 (thumb_output_move_mem_multiple): Support new insn format.
7353 * arm.md (movmem12b): Use SSA compatible format.
7354 (movmem8b): Likewise.
7356 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7358 * arm.md (predicable): New attribute, default to "no".
7359 (all patterns): Mark as predicable if appropriate.
7360 (conditional execution splits): Split using predication format.
7361 (define_cond_exec): Define.
7362 * arm.c (arm_print_operand): handle insn predicate.
7364 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7366 * README.NS32K: Remove file.
7368 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7370 * README-bugs: Remove file.
7372 2000-10-08 Philipp Thomas <pthomas@suse.de>
7373 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
7375 * configure: Rebuilt.
7377 2000-10-08 Philipp Thomas <pthomas@suse.de>
7378 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
7379 disable catalog building if no suitable program was found.
7380 Move warning message from here
7381 (AM_GNU_GETTEXT): To here.
7382 * configure: Rebuilt.
7384 2000-10-08 Philipp Thomas <pthomas@suse.de>
7385 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
7386 different cache variables.
7387 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
7388 uses different cache variables.
7389 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
7390 * configure: Regenerated.
7392 2000-10-08 Richard Henderson <rth@cygnus.com>
7394 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
7395 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
7396 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
7399 * config/t-linux (SHLIB_EXT): New.
7400 (SHLIB_LINK): Use the entire build command, with substitutions.
7401 (SHLIB_LIBS): Remove.
7402 * config/alpha/t-osf4: Likewise.
7403 * config/mips/t-iris6: Likewise.
7404 * config/sparc/t-sol2: Likewise, but move shlib stuff...
7405 * config/sparc/t-slibgcc-sld: ...here.
7406 * config/sparc/t-slibgcc: New file.
7408 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7410 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
7411 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
7413 (intmax_type_node, uintmax_type_node): Define.
7414 * c-common.c (decl_attributes): If pedantic, warn if `mode'
7415 attributes create a type wider than intmax_t.
7416 (T_IM, T_UIM): Define properly.
7417 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
7419 (init_decl_processing): Initialize intmax_type_node and
7421 * c-lex.c (lex_number): When pedantic and warning for integer
7422 constants that are too large, in C99 mode warn for those that have
7423 a type wider than long long.
7425 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7427 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
7428 FMT_FLAG_FANCY_PERCENT_OK): Define.
7429 (format_char_info): Add flag "4" to comment.
7430 (format_flag_spec, format_flag_pair): New structures.
7431 (format_kind_info): Add additional fields to control format
7433 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
7434 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
7436 (time_char_table): Use "4" flag to handle %Ey.
7437 (format_types): Add entries for new fields.
7438 (get_flag_spec): New function.
7439 (check_format_info): Increase size of flag_chars[] to 256.
7440 Control format checking using the new fields of a format_kind_info
7441 and the new tables; remove all conditionals on printf_format_type,
7442 scanf_format_type or strftime_format_type. Handle all details of
7443 bad combinations of flags (including width, precision and strftime
7444 modifiers) through data rather than ad hoc code. Handle all
7445 details of standard versions in which flags appeared through
7446 data. Use the "4" flag.
7448 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
7450 * config/h8300/h8300.md: Remove the memory alternative and correct
7451 the insn lengths in the templates for sign extention and zero
7454 2000-10-07 Richard Henderson <rth@cygnus.com>
7456 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
7457 * flow.c (make_edges): Revert last change.
7459 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
7461 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7463 2000-10-06 David O'Brien <obrien@dragon.nuxi.com>
7465 * config/alpha/elf.h: Standardize the formatting.
7467 2000-10-06 David O'Brien <obrien@FreeBSD.org>
7469 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
7472 2000-10-06 Richard Henderson <rth@cygnus.com>
7474 * function.c (diddle_return_value): Examine
7475 current_function_return_rtx instead of the DECL_RESULT.
7476 (expand_function_end): Handle reloading DECL_RESULT from memory
7477 into a hard register. Query promote_mode for sign of mismatched
7480 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7482 * haifa-sched.c (schedule_insns): Fix typo in freeing
7483 forward_dependency_cache.
7485 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
7487 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
7488 `TARGET_SH2' as a condition.
7490 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7492 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
7493 forward_dependency_cache): New variables.
7494 (add_dependence, remove_dependence): Use anti_dependency_cache and
7495 output_dependency_cache.
7496 (compute_block_forward_dependences): Use forward_dependency_cache.
7497 (schedule_insns): Allocate and free memory for anti/output/forward
7498 dependencies caches.
7500 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
7502 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
7503 `! TARGET_SH1'. Reindent.
7505 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7507 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
7508 Move functions from here ...
7510 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
7512 (c_expand_builtin): New function.
7513 (init_function_format_info): Don't set `check_function_format_ptr'.
7514 (c_common_nodes_and_builtins): Set built_in_class type for
7515 printf/__builtin_printf to BUILT_IN_FRONTEND.
7516 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
7518 * c-common.h (build_function_call): Declare.
7520 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
7521 to `lang_expand_expr' rather than `expand_builtin'.
7523 * tree.c (check_function_format_ptr): Delete.
7525 * tree.h (check_function_format_ptr): Likewise.
7527 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
7529 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
7530 DW_OP_bregx when cfa->reg > 31.
7532 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
7535 2000-10-05 Richard Henderson <rth@cygnus.com>
7537 * c-decl.c (warn_missing_noreturn): Remove.
7538 (c_expand_body): Don't set or check can_reach_end.
7539 * c-tree.h (warn_missing_noreturn): Move ...
7540 * flags.h: ... here.
7541 (can_reach_end): Remove.
7542 * flow.c (check_function_return_warnings): New.
7543 (make_edges): No edge to exit for noreturn sibcalls.
7544 * function.c (expand_function_end): Save the return value
7545 clobber instruction.
7546 (mark_function_status): Mark it.
7547 * function.h (struct function): Add x_clobber_return_insn.
7548 * jump.c (can_reach_end): Remove.
7549 (calculate_can_reach_end): Remove.
7550 (jump_optimize_1): Don't call it.
7551 * output.h (check_function_return_warnings): Declare.
7552 * toplev.c (warn_missing_noreturn): Move from c-decl.c
7553 (rest_of_compilation): Call check_function_return_warnings.
7555 2000-10-05 Richard Henderson <rth@cygnus.com>
7557 * Makefile.in (NM_FOR_TARGET): New.
7558 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
7559 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
7560 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
7561 shared library build on that and EXTRA_MULTILIB_PARTS.
7562 * mkmap-flat.awk: New file.
7563 * mkmap-symver.awk: New file.
7564 * libgcc-std.ver: New file.
7565 * config/libgcc-glibc.ver: New file.
7566 * config/ia64/libgcc-ia64.ver: New file.
7567 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7568 (SHLIB_LINK): Add --version-script.
7569 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
7570 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7571 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7572 (SHLIB_LINK): Add -M.
7574 2000-10-05 Richard Henderson <rth@cygnus.com>
7576 * Makefile.in (LIB2FUNCS): Add _clz.
7577 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
7578 (__clz_tab): Put in its own unit, non-static.
7579 * libgcc2.h: Always include longlong.h.
7581 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
7582 a zero instead of -1.
7583 (count_trailing_zeros): Likewise.
7585 2000-10-05 Richard Henderson <rth@cygnus.com>
7587 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
7588 when second op1 is const0_rtx. Validate op0 as a register.
7589 * config/alpha/alpha.md (setcc_internal): Don't allow constants
7590 in the first argument of the compare.
7591 (setcc_swapped_internal): Likewise.
7592 (setne_internal): Likewise.
7594 2000-10-05 Geoff Keating <geoffk@cygnus.com>
7596 * tree.c (tree_size): New function split out of copy_node.
7597 (make_node): Remove obstack handling. Use tree_size.
7598 (copy_node): Use tree_size.
7599 * tree.h: Prototype tree_size.
7601 2000-10-05 Richard Henderson <rth@cygnus.com>
7603 * diagnostic.c (output_format): Add missing break.
7605 2000-10-05 Jim Wilson <wilson@cygnus.com>
7607 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
7608 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
7609 sequence insn to INSN, and delete last sequence insn.
7611 2000-10-05 Phil Edwards <pme@gcc.gnu.org>
7613 * gcc.c (main): Include generated configargs.h header
7614 and use arguments in '-v' output.
7616 Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7618 * gcc.c: Move data on prefixes forward in file and reorganize.
7619 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
7620 Always define, but make null if no value.
7621 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
7622 and "md_startfile_prefix_1".
7623 (main): Check whether md_exec_prefix and the others are the
7624 null string rather than whether the macro is defined.
7626 Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7628 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
7629 from PSImode to SImode.
7631 2000-10-05 Jakub Jelinek <jakub@redhat.com>
7633 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
7634 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
7635 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
7638 Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7640 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
7641 negation in proper type.a
7643 2000-10-04 Richard Henderson <rth@cygnus.com>
7645 * configure.in (enable-shared): New.
7646 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
7647 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
7648 * mklibgcc.in: Use them to link shared a libgcc.
7649 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
7650 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
7651 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
7652 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
7654 * configure.in (alpha-osf*): Use t-osf and x-osf.
7655 * config/alpha/t-osf: New file.
7656 * config/alpha/t-osf4: New file.
7657 * config/alpha/x-osf: New file.
7658 * config/alpha/x-alpha: Remove file.
7660 2000-10-04 Will Cohen <wcohen@redhat.com>
7662 * c-typeck.c (process_init_element): Added warning for zero-length
7665 * extend.texi (Zero Length): State that static initializers for
7666 zero-length arrays are not allowed.
7668 Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
7670 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
7673 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7675 * config/float-c4x.h: New.
7676 * configure.in (c4x-*): Set float_format to c4x.
7677 * configure: Regenerate.
7679 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7681 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
7682 compilation for solaris versions 2.7 and greater.
7684 2000-10-02 Marc Espie <espie@openbsd.org>
7686 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
7687 instead of redefining from scratch.
7689 2000-10-02 David O'Brien <obrien@dragon.nuxi.com>
7691 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
7693 2000-10-01 Mark Mitchell <mark@codesourcery.com>
7695 * config/ns32k/genix.h: Remove.
7696 * config/ns32k/x-genix: Likewise.
7697 * config/ns32k/xm-genix.h: Likewise.
7698 * config/fx80: Remove all filee in directory.
7699 * config/pyr: Likewise.
7700 * config/tahoe: Likewise.
7701 * config/gmicro: Likewise.
7702 * config/spur: Likewise.
7703 * configure.in: Remove configury bits for above targets.
7704 * configure: Regenerated.
7706 * configure.in: Don't configure chill by default.
7707 * configure: Regenerated.
7709 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
7710 (lang_mark_false_label_stack): Remove.
7711 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
7712 <top level> string in GC area.
7713 (mark_splay_tree_node): New function.
7714 (mark_splay_tree): Likewise.
7715 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
7717 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
7718 * ggc-common.c (lang_mark_false_label_stack): Change type.
7719 * ggc.h (ggc_alloc_string): Add comment.
7720 (ggc_strdup): New function.
7722 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
7724 * config/avr/avr.h (BRANCH_COST): Define as 0.
7726 * config/pdp11/pdp11.c: #include "tree.h" added.
7728 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
7730 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
7731 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
7732 with known shift count.
7733 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
7734 New alternative for shift count 2 with no scratch register.
7735 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
7736 "set_n" for shift counts 1 and 2.
7738 2000-09-30 Geoff Keating <geoffk@cygnus.com>
7740 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
7741 the mask value from the individual SET operations.
7742 (return_internal_si): Move the USE after the RETURN.
7743 (return_internal_di): Likewise.
7744 (return_and_restore_fpregs_si): Likewise.
7745 (return_and_restore_fpregs_di): Likewise.
7746 (return_eh_si): Likewise.
7747 (return_eh_di): Likewise.
7748 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
7750 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
7751 Don't generate a PARALLEL around a single operation movsi_to_cr.
7752 Generate the RETURN first in any PARALLELs.
7754 * rtlanal.c (single_set_1): Use fatal_insn to display the
7755 invalid insn. Check for more cases when a USE or CLOBBER occurs
7757 * Makefile.in: Update dependencies for rtlanal.o.
7759 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7761 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
7763 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7765 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
7766 Consistently use @email for formatting email addresses.
7768 2000-09-29 Richard Henderson <rth@cygnus.com>
7770 * cse.c (notreg_cost): New argument outer.
7771 (COST): Pass in SET to notreg_cost
7773 (fold_rtx): Use COST_IN. Prefer constants when costs
7776 2000-09-29 David Edelsohn <edelsohn@gnu.org>
7778 * fixinc/inclhack.def (broken_cabs): Generalize regex.
7779 * fixinc/fixincl.x: Regenerate.
7781 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7783 * loop.c (check_final_value): A GIV is not replaceable if used
7786 Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
7788 * version.c: Bump to gcc-2.97.
7790 Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
7792 * final.c (final_scan_insn): Remove extra extract_insn call;
7793 Use caching for constrain_operands.
7794 (cleanup_subreg_operands): Use caching for extract_insn.
7795 * recog.c (constrain_operands_cached): New.
7796 * recog.h (constrain_operands_cached): Declare.
7797 * i386.c (ix86_attr_length_immediate_default,
7798 ix86_attr_length_address_default, ix86_agi_dependant): Cache
7801 * recog.c (asm_noperands): Tweak.
7802 (extract_insn): Do not call asm_noperads for non-asm instructions.
7804 Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
7806 * recog.c (recog_memoized): Rename to recog_memoized_1.
7807 * recog.h (recog_memoized): Rename to recog_memoized_1.
7808 (recog_memoized): New macro.
7809 * rtl.h (single_set): Rename to single_set_1
7810 (single_set): New macro.
7811 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
7814 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
7815 Do not use match_dup of input operands at outputs.
7816 Use register_operand for memory expression.
7817 (rep_movsi): Put use last, canonicalize.
7818 Use register_operand for memory expression.
7819 (rep_movqi): Put use last.
7820 Use register_operand for memory expression.
7821 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
7822 of input operands at outputs. Use register_operand for memory
7824 (rep_stossi): Put use last; canonicalize; fix match_dup in
7825 the address expression
7826 (rep_stosqi): Likewise.
7827 (memcmp expander): Update calls.
7828 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
7831 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
7833 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
7835 2000-09-28 David O'Brien <obrien@FreeBSD.org>
7837 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
7838 Contains the old contents of config/i386/freebsd.h
7839 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
7840 Contains the old contents of config/i386/freebsd-elf.h
7841 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
7842 config/i386/freebsd.h.
7843 * configure.in: Adjust for above changes.
7844 * po/POTFILES.in: Likewise.
7845 * po/en_GB.po: Likewise.
7846 * po/gcc.pot: Likewise.
7847 * configure: Rebuilt.
7849 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7851 * doloop.c (doloop_modify): Prevent delete_insn() from
7852 deleting too much. Prefer loop->top over loop->start as
7853 target for the new JUMP insn.
7854 (doloop_valid_p): Ignore loop with exit_count != 0.
7856 2000-09-28 Philipp Thomas <pthomas@suse.de>
7858 * invoke.texi (i386 Options): Add athlon to table of possible
7861 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
7863 * diagnostic.h (output_clear_message_text): New function.
7864 (output_message_text): New macro.
7866 * diagnostic.c (clear_text_info): Rename to
7867 output_clear_message_text.
7868 (output_clear): Adjust.
7869 (output_finish): Rename to output_finalize_message. Tweek.
7870 (output_to_stream): Adjust.
7872 2000-09-28 Neil Booth <neilb@earthling.net>
7874 * cpperror.c (_cpp_begin_message): Do the test for suppression
7875 of warnings and pedantic warnings before the "is a warning an
7877 * cppinit.c (cpp_handle_option): Remove surplus \n.
7878 * cpplex.c (ON_REST_ARG): Delete.
7879 (skip_block_comment): Initialise prevc.
7880 (parse_args): Improve error messages.
7881 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
7883 * cpplib.c (cpp_push_buffer): Fix grammar in message.
7884 * cppmain.c (main): Set callbacks for #ident and #pragma
7885 only if no_output option is false.
7886 (do_pragma_implementation): Only call the #pragma handler
7887 if it is set in the cpp_reader structure.
7889 Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
7891 * integrate.c (copy_insn_list): if an ignored return value
7892 is being clobbered, skip cloning that into the inline copy.
7894 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
7896 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
7897 use @uref for formatting URLs.
7899 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
7901 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
7904 Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
7906 * gcc.c (cpp_options): Add spec for -ftabstop=.
7907 (invoke_as): New spec that handles invoking as.
7908 Update specs to handle -save-temps and -traditional.
7909 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
7911 * cp/lang-specs.h, objc/lang-specs.h: Update to use
7912 invoke_as, and handle -save-temps and -traditional (if
7915 2000-09-26 Jakub Jelinek <jakub@redhat.com>
7917 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
7919 (function_arg_slotno): Accept TImode/CTImode.
7920 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
7923 2000-09-26 Michael Hayes <mhayes@cygnus.com>
7925 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
7928 2000-09-25 Jim Wilson <wilson@cygnus.com>
7930 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
7931 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
7932 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
7933 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
7935 Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
7937 * cpplex.c (parse_args): Don't set VOID_REST flag.
7938 (CONTEXT_VARARGS): New flag.
7939 (maybe_paste_with_next): Set context earlier in loop. Use
7940 it. Do varargs test with CONTEXT_VARARGS flag.
7941 (push_arg_context): Set CONTEXT_VARARGS flag if we're
7942 pushing an argument context for a varargs argument.
7943 * cpplib.h (VOID_REST): Delete.
7944 * gcc.dg/cpp/vararg1.c: Add test case.
7946 2000-09-25 Branko Cibej <branko.cibej@hermes.si>
7948 * flags.h: Declare warning flag warn_system_headers.
7949 * toplev.c: Define it.
7950 (W_options): Add option -Wsystem-headers.
7951 * diagnostic.c (count_error): Test warn_system_headers.
7952 * invoke.texi: Add description for -Wsystem-headers.
7953 * cpplib.h (cpp_options): New member warn_system_headers.
7954 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
7955 CPP_IN_SYSTEM_HEADER.
7956 * cpplib.c (do_import, do_pragma_once): Likewise.
7957 * cpperror.c (_cpp_begin_message): Test warn_system_headers
7958 and CPP_IN_SYSTEM_HEADER.
7959 * cppinit.c (handle_option): Recognize -Wsystem_headers.
7960 (print_help): Describe -Wsystem_headers.
7961 * cpplex.c (lex_line): Reorganize condition so that warnings
7962 about C++ comments in system headers can be enabled. Remove
7963 label do_line_comment.
7965 Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
7967 * cpplex.c (save_comment): Only store the initial '/'
7969 (lex_token): Combine handling of the two comment types.
7970 Pass everything but the initial '/' to save_comment.
7972 Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
7974 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
7975 _cpp_can_paste): New library-internal prototypes.
7976 * cpplex.c (dump_param_spelling, output_line_command,
7977 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
7978 cpp_printf, cpp_output_list): Move to cppoutput.c.
7979 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
7980 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
7982 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
7983 dump_param_spelling, output_line_command, cpp_scan_buffer,
7984 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
7986 * Makefile.in: Add cppoutput.c.
7987 * po/POTFILES.in: Add cppoutput.c.
7989 2000-09-25 Richard Henderson <rth@cygnus.com>
7991 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
7992 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
7993 split until after reload.
7994 (rotlsi3, rotldi3): New.
7996 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
7998 * diagnostic.c (output_last_position): Define.
7999 (set_real_maximum_length): Tweek.
8000 * diagnostic.h (output_last_position): Declare.
8002 2000-09-25 Kazu Hirata <kazu@hxi.com>
8004 * config/i386/i386.c: Fix formatting.
8006 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
8008 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
8009 UNITS_PER_WORD is small.
8011 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
8013 * c-common.c (format_char_info): Add flags2; update comments.
8014 (print_char_table, scan_char_table, time_char_table): Split some
8015 flags out into flags2.
8016 (check_format_info): Use flags2 for those flags, for identifying
8017 the initial character of a scanf scanset, and for identifying
8018 printf formats where the '0' flag is ignored with precision.
8020 2000-09-25 Hans-Peter Nilsson <hp@axis.com>
8022 Changes below marked "here" add TABs on either or both sides,
8023 covering start of line, up to any operand for all noted .*ASM.*_OP
8024 definitions. All callers changed.
8025 * tm.texi: Make documented *_ASM.*_OP:s include spacing
8026 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
8027 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8028 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8029 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
8030 Fix typos in description for LONG_LONG_TYPE_SIZE and
8031 FINI_SECTION_ASM_OP.
8032 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
8033 why these defaults don't have leading spacing.
8034 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
8035 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8036 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
8037 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
8038 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
8039 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
8040 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
8041 * varasm.c (ASM_STABS_OP): Here.
8042 * xcoffout.h (ASM_STABS_OP): Here.
8043 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8044 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8045 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
8046 STRING_ASM_OP): Here.
8047 * config/freebsd.h (IDENT_ASM_OP): Here.
8048 * config/linux-aout.h (SET_ASM_OP): Here.
8049 * config/linux.h (SET_ASM_OP): Here.
8050 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8052 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8053 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
8054 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8055 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8057 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8058 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8059 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
8060 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8061 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
8062 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8063 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8064 * config/a29k/udi.h (INT_ASM_OP): Here.
8065 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
8066 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8068 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
8069 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8070 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8071 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
8072 ASM_STABD_OP): Here.
8073 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
8074 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
8075 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8076 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
8077 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
8078 SIZE_ASM_OP, STRING_ASM_OP): Here.
8079 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
8080 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
8081 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
8082 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8083 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8084 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
8086 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8087 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
8088 * config/arm/coff.h (INT_ASM_OP): Here.
8089 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8090 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
8091 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
8092 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
8093 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8094 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8095 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
8096 STRING_ASM_OP): Here. Update documentation copy in comments.
8097 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
8098 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
8099 DATA_SECTION_ASM_OP): Here.
8100 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
8102 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
8103 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8104 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8105 BSS_SECTION_ASM_OP): Here.
8106 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8107 BSS_SECTION_ASM_OP): Here.
8108 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8110 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
8111 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8112 * config/h8300/h8300.h (ASM_WORD_OP): Here.
8113 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8114 BSS_SECTION_ASM_OP): Here.
8115 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
8116 * config/i386/bsd.h (ASM_BYTE_OP): Here.
8117 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
8118 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
8119 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
8121 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
8122 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
8124 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
8125 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8126 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
8127 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8129 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
8130 * config/i386/netbsd.h (INT_ASM_OP): Here.
8131 * config/i386/openbsd.h (INT_ASM_OP): Here.
8132 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
8133 IDENT_ASM_OP): Here.
8134 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
8135 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
8136 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
8137 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
8138 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
8139 SHARED_BSS_SECTION_ASM_OP): Here.
8140 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
8141 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8142 DATA_SECTION_ASM_OP): Here.
8143 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8144 CONST_SECTION_ASM_OP): Here.
8145 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
8146 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8147 BSS_SECTION_ASM_OP): Here.
8148 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
8149 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
8150 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
8151 BSS_ASM_OP): Here, but use trailing spaces.
8152 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8153 DATA_SECTION_ASM_OP): Here.
8154 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
8156 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
8157 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
8158 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8159 TDESC_SECTION_ASM_OP): Here.
8160 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
8161 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8162 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8164 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8165 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8166 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8167 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8168 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
8169 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
8170 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8171 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
8172 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
8173 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
8174 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8175 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8177 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8178 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8179 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
8180 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
8181 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
8182 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
8183 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
8184 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8185 GLOBAL_ASM_OP): Here.
8186 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
8187 BSS_SECTION_ASM_OP): Here.
8188 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
8189 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8190 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
8191 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
8193 * config/m68k/newsgas.h (SET_ASM_OP): Here.
8194 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
8195 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8196 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8197 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8198 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
8199 but use trailing spaces.
8200 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
8201 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
8202 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
8204 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8205 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8206 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8207 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8208 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8209 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
8210 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
8211 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
8212 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
8213 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
8214 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8215 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
8217 * config/m88k/openbsd.h (SET_ASM_OP): Here.
8218 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8219 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8220 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
8221 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
8222 DTORS_SECTION_ASM_OP): Here.
8223 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
8224 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8225 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
8226 BSS_SECTION_ASM_OP): Here.
8227 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
8228 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
8229 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
8230 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
8231 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
8232 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8233 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
8234 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
8236 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
8238 * config/mips/osfrose.h (SET_ASM_OP): Here.
8239 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
8240 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
8241 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
8242 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8244 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
8245 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
8246 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
8247 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
8248 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
8249 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8251 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8253 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
8254 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
8255 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
8257 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
8258 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
8259 * config/sparc/linux.h (COMMON_ASM_OP): Here.
8260 * config/sparc/linux64.h (COMMON_ASM_OP,
8261 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8262 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
8263 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8264 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
8265 * config/sparc/pbd.h (ASM_INT_OP): Here.
8266 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
8267 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8268 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
8269 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
8270 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
8271 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
8272 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
8273 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
8274 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8275 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8276 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8277 EH_FRAME_SECTION_ASM_OP): Here.
8278 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
8279 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8281 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8283 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
8284 TCOMMON_ASM_OP): Here.
8285 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8287 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8290 2000-09-25 Richard Henderson <rth@cygnus.com>
8292 * expmed.c (store_bit_field): Adjust last change to not consider
8293 any word-sized field naturally aligned.
8295 2000-09-24 Richard Henderson <rth@cygnus.com>
8297 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
8298 TFmode unordered compares properly. Revalidate integer compare
8300 (alpha_emit_setcc): New.
8301 (alpha_emit_conditional_move): Revalidate integer compare operands.
8302 * config/alpha/alpha-protos.h: Update.
8303 * config/alpha/alpha.md (cmpdi): Allow general operands.
8304 (sne): Use alpha_emit_setcc.
8305 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
8306 (sunordered, sordered): New.
8308 2000-09-24 Richard Henderson <rth@cygnus.com>
8310 * config/ia64/ia64-protos.h: Update.
8311 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
8312 (ia64_expand_call): New.
8313 (ia64_expand_prologue): Emit an alloc if we need extra input
8315 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
8316 instruction if true.
8317 (struct reg_flags): Add is_sibcall.
8318 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
8319 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
8320 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
8321 * config/ia64/ia64.h (PREDICATE_CODES): Update.
8322 * config/ia64/ia64.md (call): Use ia64_expand_call.
8323 (call_value): Likewise.
8324 (sibcall, sibcall_value): New.
8325 (call patterns): Remove extra expanders; tidy.
8326 (sibcall_epilogue): New.
8327 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
8329 2000-09-24 Richard Henderson <rth@cygnus.com>
8331 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
8333 * sibcall.c (skip_pic_restore): New.
8334 (identify_call_return_value): Use it.
8336 2000-09-24 Mark Mitchell <mark@codesourcery.com>
8338 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
8339 functions. Generalize to handle both C and C++.
8340 * Makefile.in (c-tree.info): New target.
8341 (info): Add c-tree.info.
8343 Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8345 * expr.c (store_field): If BITSIZE is negative, use size of type.
8346 (expand_expr, case COMPONENT_EXPR): Likewise.
8348 Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
8350 * cpplex.c: Update TODO comment.
8351 * cpplib.c (do_error, do_warning): Merge common code of
8352 do_error and do_warning into do_diagnostic. Use it.
8353 (do_diagnostic): New function.
8354 * cpplib.h: Fix comment typo.
8356 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8358 * c-common.c (check_format_info): Warn for a wide character string
8359 used as a non-wide format argument.
8361 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8363 * builtins.def (BUILT_IN_LLABS): Add.
8364 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
8365 * c-common.c (c_common_nodes_builtins): Create builtin functions
8366 __builtin_llabs, and plain llabs unless no_nonansi_builtins
8367 outside of C99 mode.
8368 (expand_tree_builtin): Handle BUILT_IN_LLABS.
8370 Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
8372 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
8373 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
8374 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
8375 _cpp_free_toklist): No need to worry about extra dummy token
8376 at the start of token lists any more.
8377 (trigraph_ok): Only warn outside comments.
8378 (skip_block_comment): Set and clear lexing_comment.
8379 (skip_line_comment): Take a cpp_reader not cpp_buffer.
8380 Set and clear lexing_comment.
8381 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
8382 (check_long_token): Delete.
8383 (lex_percent, lex_dot): New subroutines of lex_token to
8384 handle lexing of '.' and '%' without lookback.
8385 (lex_token): Use lex_dot and lex_percent.
8386 (lex_line): Don't check for LIST_OFFSET.
8387 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
8388 * cpplib.c (_cpp_parse_assertion): Similarly.
8389 (cpp_push_buffer): Initialize extra_char.
8390 * cpplib.h (LIST_OFFSET): Delete.
8391 (struct cpp_buffer): New member extra_char.
8392 (struct lexer_state): New members lexing_comment and seen_dot.
8394 2000-09-23 Jason Merrill <jason@redhat.com>
8396 * config/rs6000/x-aix41 (CLIB): Define here.
8397 * config/rs6000/t-aix43: Not here.
8398 * config/rs6000/t-aix41: Or here. Remove.
8399 * configure.in: Don't use it.
8401 2000-09-22 Jason Merrill <jason@redhat.com>
8403 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
8404 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
8405 * config.in: Regenerate.
8407 * configure.in: Fix checks for assembler features when using a
8408 one-tree assembler that has not yet been built.
8409 Fix --disable-threads.
8411 2000-09-19 Geoff Keating <geoffk@cygnus.com>
8413 * stmt.c (expand_asm_operands): Allow # in constraints.
8415 2000-09-22 Jason Merrill <jason@redhat.com>
8417 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
8419 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
8420 function-local names.
8422 2000-09-22 Brad Lucier <lucier@math.purdue.edu>
8423 Mark Mitchell <mark@codesourcery.com>
8425 * toplev.c (warn_disabled_optimization): Declare new warning flag.
8426 * flags.h (warn_disabled_optimization): Add it here.
8427 * gcse.c (gcse_main): Add warning when disabled.
8428 * invoke.texi: Document -Wdisabled-optimization.
8430 2000-09-21 Jason Merrill <jason@redhat.com>
8432 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
8434 * dwarf2out.c (tree_add_const_value_attribute): New fn.
8435 (gen_variable_die): Call it for non-definitions.
8437 * dwarf2out.c (die_struct): Add die_mark field.
8438 (mark_dies, unmark_dies): New fns.
8439 (clear_die_sizes): Remove.
8440 (print_die): Check die_symbol rather than die_offset.
8441 (build_abbrev_table, output_pubnames, output_aranges): Check
8442 die_mark rather than die_offset.
8443 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
8446 Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
8448 * cppfiles.c (lookup_include_file): Rename to open_file.
8449 Always create a splay tree value, even on syscall failures.
8450 Negative entries indicated by fd == -2.
8451 Re-open files closed in the meantime.
8452 (_cpp_fake_include): Create a negative splay tree entry.
8453 (find_include_file, cpp_read_file): Update for function name
8455 * gcc.gd/cpp/mi4.c: Testcase.
8457 2000-09-21 Nick Clifton <nickc@redhat.com>
8459 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
8460 ARM and THUMB modes.
8462 * config/mcore/mcore.c: Fix compile time warnings.
8463 * config/mcore/mcore-protos.h: Fix compile time warnings.
8465 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8467 * configure.in: Correct test of gcc_cv_glibc.
8468 * configure: Rebuilt.
8469 * config.in: Rebuilt.
8471 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8473 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
8474 (expand_builtin): Handle BUILT_IN_FWRITE.
8476 * builtins.def (BUILT_IN_FWRITE): New entry.
8478 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
8480 Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8482 * gcc.c (modify_target): New variable and struct.
8483 (process_command): Handle MODIFY_TARGET_NAME.
8484 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
8485 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
8487 * c-decl.c (finish_decl): Add else's to avoid referencing
8488 TYPE_DOMAIN of an ERROR_MARK.
8490 Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
8492 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
8495 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
8497 * config/avr/avr.md (neghi2): Add alternative for input and output
8498 operands in different registers, as in negsi2.
8499 (*negsi2): Remove '*' from the name. Use "movw" if available.
8501 2000-09-19 Jim Wilson <wilson@cygnus.com>
8503 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
8504 HAVE_GAS_HIDDEN macro.
8506 Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
8508 * cpplex.c (lex_line): Drop the EOF token for unknown
8509 directives in assembler.
8511 2000-09-19 David Edelsohn <edelsohn@gnu.org>
8513 * configure.in: Allow enable_threads_flag value of "aix". Define
8514 thread_file as "aix" for AIX 4.3 and above.
8515 * configure: Regenerated.
8517 * gthr-aix.h: New file.
8519 * rs6000/t-aix43: Replace soft-float multilib with pthread.
8520 Remove 403 processor multilib match. Fix rios2 processor multilib
8523 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
8524 to return to appropriate csect.
8526 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8528 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
8530 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
8531 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
8534 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
8537 * c-common.c (init_function_format_info): Handle __builtin_printf.
8538 Set `check_function_format_ptr'.
8539 (c_common_nodes_and_builtins): Set `puts_ftype' and
8540 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
8541 __builtin_printf and printf.
8543 * tree.c, tree.h (check_function_format_ptr): Declare.
8545 Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
8547 * cppfiles.c (read_include_file): Take no special action for
8550 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
8552 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
8553 rather than that of branch.
8554 (shorten_branches): Don't increment insn_current_address twice.
8556 Undo most of the Wed Jan 27 23:39:53 1999 patch:
8557 * loop.h (struct induction): Delete members derived, ix and last_use.
8558 (struct loop_ivs): Delete members first_increment_giv and
8560 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
8561 recombine_givs): Delete functions.
8562 (find_and_verify_loops): Don't initialize cont_dominator.
8563 (strength_reduce): Lose code to try to find bivs that can be
8564 expressed as givs of another biv, and to convert biv increments
8566 Lose loop_scan_start variable, always use loop->scan_start.
8567 Don't call recombine_givs. Don't handle derived givs.
8568 (record_giv): Don't initialize derived and last_use fields.
8569 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
8571 * unroll.c (derived_regs): Delete static variable.
8572 (unroll_loop): Don't initialize it.
8573 (copy_loop_body): Lose code to handle derived givs.
8574 (find_splittable_givs): Don't check for givs made from biv
8576 Don't set derived_regs.
8578 Fix misapplied earlier patch:
8579 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
8581 (floatsisf2): Generate floatsisf_ie by default.
8582 (floatsisf_i4): Conditional on TARGET_SH4.
8584 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
8585 predicate for the expanders.
8587 2000-09-19 Richard Henderson <rth@cygnus.com>
8589 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
8590 in addition to pentium and pentiumpro symbols.
8591 (CPP_CPU_DEFAULT_SPEC): Likewise.
8593 * c-typeck.c (c_expand_asm_operands): Restore the output tree
8596 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
8597 if the tree has side effects.
8598 (warn_if_unused_value): Do not warn about void constructs.
8600 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
8602 * unroll.c (copy_loop_body): Update LABEL_NUSES before
8603 calling invert_jump.
8605 2000-09-18 Geoff Keating <geoffk@cygnus.com>
8607 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
8610 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8612 * Makefile.in (c-common.o): Depend on diagnostic.h.
8614 * c-common.c: Include diagnostic.h.
8616 (status_warning): New function.
8617 (check_format_info, maybe_read_dollar_number, check_format_types,
8618 finish_dollar_format_checking, check_function_format): Accept a
8619 `status' parameter. All callers changed.
8621 * c-common.h (check_function_format): Accept a `status' parameter.
8623 * c-typeck.c: Update call to `check_function_format'.
8625 2000-09-18 Richard Henderson <rth@cygnus.com>
8627 * c-decl.c (c_expand_body): Call mark_varargs before
8628 expand_function_start.
8630 2000-09-18 Geoff Keating <geoffk@cygnus.com>
8632 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
8633 * config/rs6000/eabi-ci.asm: Likewise.
8635 2000-09-18 Richard Henderson <rth@cygnus.com>
8637 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
8640 2000-09-18 Jim Wilson <wilson@cygnus.com>
8642 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
8643 before passing it to fold_rtx_mult_add.
8645 * unroll.c (final_giv_value): Pass increment through
8646 extend_value_for_giv before passing it to emit_iv_add_mult.
8648 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
8649 paradoxical subreg, then directly substitute the replacement and
8652 Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
8654 * cpp.texi: Update documentation, including some clarifications,
8655 the treatment of various newline combinations, and space between
8656 backslash and newline.
8658 Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8660 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
8661 Replace ASM_OUTPUT_LABELREF with assemble_name.
8663 Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8665 * sh.c (addsubcosts): CONST is not cheap.
8666 (find_barrier): For Sh1, take alignment after jumps into account.
8668 2000-09-15 Andrew Haley <aph@redhat.com>
8670 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
8671 remove all SETs of SUBREGs of hard registers.
8672 * function.c (purge_hard_subreg_sets): New function.
8673 (purge_single_hard_subreg_set): New function.
8674 * rtl.h: (purge_hard_subreg_sets): New function.
8676 2000-09-18 Richard Henderson <rth@cygnus.com>
8678 * config/ia64/ia64-protos.h: Update.
8679 * config/ia64/ia64.c (signed_inequality_operator): New.
8680 (ia64_expand_compare): New.
8681 (ia64_register_move_cost): Handle PR_REGS moves.
8682 (ia64_secondary_reload_class): Require a GR when moving to a PR.
8683 (struct reg_write_state): Add written_by_and/or.
8684 (struct reg_flags): Add is_and/or.
8685 (rws_update): Set them.
8686 (rws_access_regno): Test them to allow parallel comparisons.
8687 (rtx_needs_barrier): Recognize parallel comparisons.
8688 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
8689 Call recog_memoized; ignore pred_rel_mutex.
8690 (emit_predicate_relation_info): Don't call find_basic_blocks here.
8691 (ia64_reorg): Do it here instead.
8692 * config/ia64/ia64.h: s/CCmode/BImode/g
8693 (MODES_TIEABLE_P): Don't tie BImode.
8694 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
8695 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
8696 (RTX_COSTS): Make multiply 4 insns.
8697 (MEMORY_MOVE_COST): New.
8698 (PREDICATE_CODES): Update.
8699 * config/ia64/ia64.md: s/CCmode/BImode/g
8700 (movcci, movbi): New.
8701 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
8702 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
8703 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
8704 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
8705 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
8706 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
8707 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
8708 (mulsi, muldi): Use xmpy not xma.
8710 (movcc, movcc_internal): Remove.
8711 (branch expanders): Use ia64_expand_compare.
8712 (setcc expanders): Likewise.
8713 (cmov insns): Use move_operand and ia64_move_ok.
8714 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
8715 scheduler from moving it past a use.
8716 * config/ia64/build.hacks: Remove.
8718 Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
8720 * cpphash.h (HASHSTEP): Take character rather than pointer
8722 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
8724 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
8726 * cpplex.c (auto_expand_name_space, trigraph_replace,
8727 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
8728 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
8729 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
8730 KNOWN_DIRECTIVE): Delete.
8732 (handle_newline, check_long_token, skip_escaped_newlines,
8733 unterminated): New functions.
8734 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
8736 (parse_identifier): Was parse_name, new implementation.
8737 (skip_line_comment, skip_block_comment, skip_whitespace,
8738 parse_number, parse_string, trigraph_ok, save_comment,
8739 adjust_column, _cpp_get_line): New implementations.
8741 (lex_token): New function. Lexes a token at a time, looking
8742 forwards. Contains most of the guts of the old lex_line.
8743 (lex_line): New implementation, using lex_token to obtain
8745 (cpp_scan_buffer): Use the token's line, not the list's line.
8747 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
8748 New implementations.
8749 (do_assert): Don't bother setting the answer's list's line.
8750 (cpp_push_buffer): Initialise new pfile and read_ahead members
8751 of struct cpp_buffer.
8753 * cpplib.h (cppchar_t): New typedef.
8754 (struct cpp_buffer): read_ahead, pfile and col_adjust are
8756 (struct lexer_state): New structure that determines the state
8757 and behaviour of the lexer.
8758 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
8759 (struct cpp_reader): New member "state". Rename
8760 multiline_string_line and multiline_string_column. Delete
8761 col_adjust, in_lex_line members.
8762 (CPP_BUF_COLUMN): Update.
8764 2000-09-18 Richard Henderson <rth@cygnus.com>
8766 * combine.c (simplify_comparison): Shift a NOT out of a single
8769 * combine.c (if_then_else_cond): Canonicalize BImode true to
8771 * explow.c (trunc_int_for_mode): Likewise.
8773 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
8774 the NOT for De Morgan's rule.
8775 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
8776 of a comparison to the reverse comparison.
8778 * combine.c (try_combine): Allow split to create a single insn.
8780 * machmode.def: Add BImode. Add a column for bitsize.
8781 * machmode.h (DEF_MACHMODE): Adjust for extra column.
8782 (GET_MODE_BITSIZE): Use it.
8783 * rtl.c (DEF_MACHMODE): Adjust for extra column.
8784 (mode_bitsize): New.
8785 (mode_mask_array): Use bitsize.
8786 * combine.c (combine_simplify_rtx): Require inner and outer
8787 modes to match on nonzero_bits optimizations.
8789 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8791 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
8792 its entry in spill_reg_store.
8793 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
8794 * sh.c (reg_no_subreg_operand): New function.
8795 * sh-protos.h (reg_no_subreg_operand): Declare it.
8796 * sh.h (PREDICATE_CODES): Add it.
8797 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
8798 input operand that needs to be in fpul.
8799 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
8800 * sh.c (find_barrier): Take into account that machine_dependent_reorg
8801 might add new insns.
8803 2000-09-18 Alexandre Oliva <aoliva@redhat.com>
8805 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
8807 (sh_expand_epilogue): Take the PIC register into account when
8808 computing the frame size.
8810 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
8811 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
8812 LABEL_REFs with a PIC-safe unspec.
8814 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8816 * c-common.c (check_format_info): Properly save the argument
8817 number and parameter for $ operand number formats in case width
8818 and precision arguments are also used. Allow printf width and
8819 precision arguments to have operand numbers even if none was
8820 specified for the main format, since this is OK for %*.*m. Only
8821 object to missing $ operand number if the format used requires an
8824 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8826 * c-common.c (format_char_info): Add 'W' flag to comment.
8827 (print_char_table, scan_char_table): Use it.
8828 (check_format_info): Use the 'W' flag to determine whether a
8829 format argument is written into.
8831 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8833 * c-common.c (check_format_types): Reorganise and clean up,
8834 checking earlier for ERROR_MARKs and making cur_type into its
8835 TYPE_MAIN_VARIANT where convenient.
8837 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8839 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
8841 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8843 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
8845 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
8846 * i386.c (struct builtin_description): New.
8847 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
8848 (mmx_reg_operand): Declare MODE arg as unused.
8849 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
8850 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
8851 ix86_expand_binop_builtin, ix86_expand_store_builtin,
8852 ix86_init_builtins, ix86_expand_builtin): New functions.
8853 * i386.h (ix86_builtins): New enumeration.
8854 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
8855 * i386.md (attr length_immediate): 0 for mmx/sse types.
8856 (attr prefix_0f): 1 for mmx/sse types.
8857 (setcc_2): Remove "*" so we get gen_setcc_2.
8858 (emms): Account for changed register numbering. Set "memory" attr
8860 (sfence): Set "memory" attr to unknown.
8862 2000-09-18 Andreas Jaeger <aj@suse.de>
8864 * configure.in: Define _GNU_SOURCE only when using the GNU C
8866 * configure: Regenerated.
8867 * config.in: Regenerated.
8869 2000-09-17 Mark Mitchell <mark@codesourcery.com>
8871 * cppinit.c (cpp_init): Don't use ANSI prototypes.
8872 * flow.c (flow_dump_loop): Likewise.
8873 (flow_loops_dump): Likewise.
8875 * c-typeck.c (c_start_case): Fix typo.
8877 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8879 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
8880 to int for plain complex which defaults to complex double. Do
8881 warn about defaulting to complex double if pedantic. Warn about
8882 complex integer types if pedantic. Warn about complex types if
8883 pedantic and not in C99 mode.
8884 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
8885 for complex conjugation.
8887 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8889 * contrib.texi: Update my entry.
8891 Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
8893 * config/avr/avr.md (mcu_enhanced): New attribute.
8894 (mcu_mega): Likewise.
8895 (extendhisi2): Use mcu_enhanced.
8896 (zero_extendhisi2): Likewise.
8897 (call_insn): Use mcu_enhanced and mcu_mega.
8898 (call_value_insn): Likewise.
8899 (*sbrx_branch): Use mcu_mega.
8900 (*sbrx_and_branchsi): Likewise.
8901 (*sbrx_and_branchhi): Likewise.
8902 (*tablejump_lib): Likewise.
8904 Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8906 * alias.c (true_dependence): Allow non-unchanging read to conflict
8907 with unchanging write.
8909 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
8910 (store_constructor): Pass alias_set to it.
8912 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
8913 TYPE_MAIN_VARIANT of ERROR_MARK.
8914 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
8916 * simplify-rtx.c (simplify_unary_operation): Add cases
8917 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
8919 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
8921 * expr.h (emit_library_call, emit_library_call_value): Delete
8923 * rtl.h (enum libcall_type): New.
8924 (emit_library_call, emit_library_call_value): Change fn_type arg to
8925 be of type enum libcall_type.
8926 * calls.c: Likewise for the function definitions. Several callers
8927 throughout changed to use the new enumeration appropriately.
8928 (emit_library_call_value_1): Likewise. Put back code to make libcall
8929 blocks of equal form, but only use it for the two new higher
8932 2000-09-16 Mark Mitchell <mark@codesourcery.com>
8934 Convert the C front-end to use function-at-a-time mode.
8935 * c-common.h: Include splay-tree.h.
8936 (C_DECLARED_LABEL_FLAG): New macro.
8937 (struct language_function): Add x_scope_stmt_stack and
8938 x_function_name_declared_p.
8939 (RECHAIN_STMTS): Move definition.
8940 (lang_statment_code_p): Likewise.
8941 (lang_expand_stmt): Likewise.
8942 (lang_expand_decl_stmt): New variable.
8943 (lang_expand_function_end): Likewise.
8944 (current_scope_stmt_stack): New function.
8945 (add_decl_stmt): Likewise.
8946 (add_scope_stmt): Likewise.
8947 (mark_stmt_tree): Likewise.
8948 (struct c_lang_decl): New structure.
8949 (DECL_SAVED_TREE): Define.
8950 (c_mark_lang_decl): New function.
8951 (c_expand_start_cond): Change prototype.
8952 (c_finish_then): New function.
8953 (c_finish_else): Likewise.
8954 (current_function_name_declared): Remove.
8955 (set_current_function_name_declared): Likewise.
8956 (mark_c_language_function): Declare.
8957 (case_compare): Likewise.
8958 (c_add_case_label): Likewise.
8959 (c_expand_expr): Likewise.
8960 (c_safe_from_p): Likewise.
8961 * c-common.c (lang_expand_function_end): New variable.
8962 (struct if_elt): Add if_stmt.
8963 (c_expand_start_cond): Add the if-statement to the statement-tree,
8964 rather than generating RTL.
8965 (c_finish_then): New function.
8966 (c_expand_start_else): Don't generate RTL.
8967 (c_finish_else): New function.
8968 (c_expand_expr_stmt): Don't generate RTL.
8969 (statement_code_p): Add SCOPE_STMT.
8970 (case_compare): New function.
8971 (c_add_case_label): Likewise.
8972 (mark_stmt_tree): Likewise.
8973 (c_mark_lang_decl): Likewise.
8974 (mark_c_language_function): Likewise.
8975 (c_expand_expr): Likewise.
8976 (c_safe_from_p): Likewise.
8977 * c-decl.c (c_stmt_tree): New variable
8978 (c_scope_stmt_stack): Likewise.
8979 (c_function_name_declared_p): Likewise.
8980 (lang_expand_expr_stmt): Remove.
8981 (poplevel): Don't call output_inline_function for nested
8983 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
8985 (redeclaration_error_message): Change means of computing whether
8986 or not a function is nested.
8987 (lookup_label): Don't call label_rtx.
8988 (init_decl_processing): Add more GC roots.
8989 (start_decl): Add DECL_STMTs to the statement-tree, rather than
8990 calling rest_of_decl_compilation.
8991 (finish_decl): Don't call expand_decl.
8992 (store_parm_decls): Begin the statement-tree, but don't generate
8994 (finish_function): Tie off the statement-tree. Call c_expand_body
8996 (c_expand_body): New function.
8997 (push_c_function_context): Save more information.
8998 (pop_c_function_contxt): Likewise.
8999 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
9000 (lang_mark_tree): Mark it.
9001 (current_stmt_tree): Adjust.
9002 (current_scope_stmt_stack): New function.
9004 (set_current_name_declared): Likewise.
9005 (c_begin_compound_stmt): Define.
9006 (c_expand_decl_stmt): Likewise.
9007 * c-lang.c: Include rtl.h and expr.h.
9008 (lang_init): Set more language-specific hooks.
9009 * c-lex.c: Include expr.h.
9010 * c-parse.in: Changes throughout to add statements to the
9011 statement-tree, rather than generating RTL after every statement.
9012 * c-semantics.c (lang_expand_decl_stmt): Define.
9013 (add_decl_stmt): New function.
9014 (add_scope_stmt): Likewise.
9015 (finish_stmt_tree): Tweak.
9016 (genrtl_expr_stmt): Likewise.
9017 (genrtl_decl_stmt): Handle local labels, and call
9018 lang_expand_decl_stmt if required.
9019 (genrtl_for_stmt): Fix line-number handling.
9020 (genrtl_case_label): Handle cleanups.
9021 (genrtl_asm_stmt): Don't call combine_strings.
9022 (genrtl_compound_stmt): Simplify.
9023 (expand_stmt): Handle SCOPE_STMTs.
9024 * c-tree.h (struct lang_decl): New structure.
9025 (C_DECLARED_LABEL_FLAG): Remove.
9026 (c_begin_compound_stmt): Declare.
9027 (c_expand_decl_stmt): Likewise.
9028 (c_expand_start_case): Rename to c_start_case.
9029 (c_finish_case): New function.
9030 * c-typeck.c (start_init): Tweak setting of
9031 constructor_incremental.
9032 (c_expand_asm_operands): Tweak error-handling. Add to the
9034 (c_expand_return): Add to the statement-tree.
9035 (c_expand_start_case): Rename to ...
9036 (c_start_case): ... this.
9037 (struct c_switch): New type.
9038 (switch_stack): New variable.
9039 (do_case): Simplify.
9040 (c_finish_case): New function.
9041 * dependence.c: Include expr.h.
9042 (enum dependence_type): Change spelling of enumerals.
9043 (check_node_dependence): Adjust.
9044 * expr.h (lang_safe_from_p): Declare.
9045 (safe_from_p): Likewise.
9046 * expr.c (lang_safe_from_p): New variable.
9047 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
9048 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
9049 * toplev.c (rest_of_decl_compilation): Robustify.
9050 * tree.c (contains_placeholder_p): Likewise.
9051 * Makefile.in: Update dependencies.
9052 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
9053 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
9054 (objc_expand_function_end): New function.
9055 (finish_method_def): Use it.
9056 (init_objc): Initialize more language-specific hooks.
9057 * objc/Make-lang.in: Update dependencies.
9059 2000-09-16 Geoffrey Keating <geoffk@cygnus.com>
9061 * configure.in: Define macros that affect features before
9062 testing for features. Don't define _XOPEN_SOURCE.
9063 * configure: Regenerated.
9064 * config.in: Regenerated.
9066 Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
9068 * rtlanal.c (rtx_varies_p): Volatile asms vary.
9069 (rtx_unstable_p): Restructure code. Volatile asms
9072 Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9074 * function.h (no_debugging_symbols): New field.
9075 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
9076 Initialize no_debugging_symbols.
9077 (output_inline_function): Save and restore write_symbols and set from
9078 no_debugging_symbols.
9079 * toplev.c (rest_of_compilation): Call save_for_inline.
9080 * tree.h: Update comment.
9082 * stor-layout.c (place_field): Don't do anything if field or
9083 its type are ERROR_MARK.
9085 Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
9087 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
9088 (read_include_file): Ensure inc->mmaped is initialized.
9090 2000-09-16 Richard Henderson <rth@cygnus.com>
9092 * cppiles.c (purge_cache): Use PTR not caddr_t.
9094 2000-09-16 Hans-Peter Nilsson <hp@axis.com>
9096 * gcc.c: In description for %{<S}, say the option removed is -S.
9097 * invoke.texi (Spec Files): Ditto.
9099 2000-09-16 Andreas Jaeger <aj@suse.de>
9101 * configure.in: Always define _GNU_SOURCE to make interfaces
9102 visible that were hidden by only defining _GNU_SOURCE.
9103 * configure: Regenerated.
9105 Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
9107 * cpplex.c (push_macro_context): Set an argument's level after
9108 calling parse_args. We could loop infinitely otherwise.
9110 2000-09-15 Tom Tromey <tromey@cygnus.com>
9112 * configure, config.in: Rebuilt.
9113 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
9115 2000-09-15 Greg McGary <greg@mcgary.org>
9117 * cppmacro.c (check_trad_stringification): Check token
9118 text pointers against limit before dereferencing.
9120 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
9122 * c-common.c (format_wanted_type): New structure.
9123 (check_format_types): New function.
9124 (check_format_info): Pass all checking of types of format
9125 arguments, including width and precision arguments, to this new
9128 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9130 * BUGS: Remove file.
9132 2000-09-15 Jakub Jelinek <jakub@redhat.com>
9134 * config/alpha/alpha.c (override_options): ev6 cache latencies
9135 from Richard Henderson. Don't allow -mmemory-latency=L0.
9137 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
9138 (TARGET_OPTIONS): Add tune=.
9139 (alpha_tune_string): Declare.
9140 * config/alpha/alpha.c (override_options): Add cpu_table.
9141 Use alpha_cpu_string first to set both alpha_cpu and target_flags
9142 and then alpha_tune_string to set alpha_cpu only.
9143 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
9144 * config/alpha/elf.h (ASM_FILE_START): Likewise.
9145 * config/alpha/osf.h (ASM_FILE_START): Likewise.
9146 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
9148 Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
9150 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
9152 (ix86_comparison_operator, ix86_cc_mode): Declare
9153 * i386.h (CCGC, CCGCO): New modes.
9154 (SELECT_CC_MODE): Move offline to ....
9155 * i386.c (ix86_cc_mode): .... here; use new modes.
9156 (ix86_comparison_operator): New.
9157 (fcmov_comparison_operator): Ensure proper mode.
9158 (put_condition_mode): More sanity checking.
9159 (ix86_match_ccmode): Handle new modes.
9160 (ix86_expand_fp_compare): GEU requires CCmode.
9161 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
9163 * i386.md (cmp?i_ccz_1): Remove
9164 (cmp?i_ccno_1): Use ix86_match_ccmode.
9165 (cmp?i_minus_1): New.
9166 (cmpsi_1): New expander.
9167 (cmpqi_ext_1): Use match_ccmode
9168 (cmpqi_ext_3): New expander.
9169 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
9170 (cmpqi_ext_4): Use match_ccmode.
9171 (add?i_?): Use match_ccmode.
9173 (test?i_ccz_1): Remove
9175 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
9176 (testqi_ext_0): Use ix86_match_ccmode.
9177 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
9178 (xorqi_cc_ext_1): New expander.
9179 (shift patterns): Use CCGOCmode for all shifts except for sar.
9180 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
9181 (setcc_3, jcc_3, miv?icc_c): Remove.
9183 2000-09-15 Will Cohen <wcohen@redhat.com>
9185 * dwarf2out.c (add_const_value_attribute): Changed array into a
9186 xmalloced object, so it exists after function exit.
9187 (free_AT): Added case for dw_val_class_float to free allocated
9190 2000-09-15 Kazu Hirata <kazu@hxi.com>
9192 * config/i386/i386.md: Fix a comment typo.
9193 * gcc.c: Fix formatting.
9195 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9197 * optabs.c (emit_libcall_block): If target is a user variable,
9198 copy to a temporary first.
9199 * expr.c (convert_move): When generating a libcall, make a libcall
9201 * calls.c (emit_library_call_value_1): Don't create a libcall
9202 sequence here; our caller will in most cases do it.
9204 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
9206 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
9207 * sh.md (reload_outsf): Generate recognizable patterns for
9209 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
9210 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
9211 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
9212 truncdfsf2_i4): Change not to use explicit references to fpul.
9213 (floatsisf2_ie): Remove USE of fpscr.
9214 (floatsisf2): Change default expansion to match this.
9215 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
9218 2000-09-15 Richard Henderson <rth@cygnus.com>
9220 * expmed.c (store_bit_field): Consider naturally aligned
9221 memory for direct reference.
9223 2000-09-15 Richard Henderson <rth@cygnus.com>
9225 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
9226 AND addresses into alias set 0.
9227 (alpha_expand_unaligned_store): Likewise.
9228 (alpha_expand_unaligned_load_words): Likewise.
9229 (alpha_expand_unaligned_store_words): Likewise.
9231 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9233 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
9234 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
9236 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
9237 rsize of UNITS_PER_WORD.
9239 Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
9241 * cpplex.c (ON_REST_ARG): Correct the test.
9242 (maybe_paste_with_next): Duplicate a token that fail pasting,
9243 and clear its PASTE_LEFT flag, so that nested pasting attempts
9246 2000-09-14 Richard Henderson <rth@cygnus.com>
9248 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
9249 * cse.c (rtx_cost): Likewise.
9250 * optabls.c (expand_binop): Likewise.
9251 (expand_twoval_binop, prepare_cmp_insn): Likewise.
9252 * regclass.c (copy_cost): Likewise.
9253 * reload1.c (reload_cse_move2add): Likewise.
9255 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
9257 * c-parse.in (reswords): Add _Complex.
9259 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9261 * gcc.1: Delete documentation for -undef preprocessor option.
9263 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
9265 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9266 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
9267 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9268 Remove undefine before config/elfos.h.
9269 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
9271 2000-09-14 Kazu Hirata <kazu@hxi.com>
9273 * invoke.texi (H8/300 Options): Add -ms2600.
9274 * config/h8300.c (h8300_init_once): Output an error when -ms2600
9275 is used without -ms.
9276 * config/h8300.h (TARGET_MAC): New.
9277 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
9278 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
9279 machine other than H8/S2600.
9280 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
9283 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
9285 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
9286 pseudos that refer to the original pseudos, not only to their
9287 equivalent memory locations.
9289 Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9291 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
9292 when making new MEM.
9294 * Makefile.in (LN): Remove duplicate definition.
9296 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9298 From Joern Rennecke:
9299 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
9300 on an insn and function_invariant_p returns nonzero for the source,
9301 add a REG_EQUAL note.
9303 Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
9305 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
9306 conflict with frame_pointer_rtx.
9308 2000-09-13 Kazu Hirata <kazu@hxi.com>
9310 * loop.c: Fix formatting.
9313 2000-09-13 Richard Henderson <rth@cygnus.com>
9315 * config/ia64/ia64.md (divsf3): New.
9316 (divsf3_internal_lat, divsf3_internal_thr): New.
9317 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
9318 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
9319 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
9320 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
9321 (nmadddf4_alts, nmadddf4_trunc): New.
9322 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
9323 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
9324 (multf3_truncsf_alts, multf3_truncdf_alts): New.
9325 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
9326 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
9327 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
9328 (nmaddtf4_truncdf_alts): New.
9329 (recip_approx): Don't predicate.
9331 2000-09-13 Richard Henderson <rth@cygnus.com>
9333 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
9335 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9337 * flags.h (flag_dump_rtl_in_asm): Declare.
9338 * toplev.c (flag_dump_rtl_in_asm): Define.
9339 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
9340 if -dP is specified.
9341 * rtl.h (print_rtx_head): Declare.
9342 * print-rtl.c (print_rtx_head): Define.
9343 (print_rtx): Print the string pointed to by print_rtx_head
9344 at beginning of each dump line.
9345 (print_rtl): Likewise.
9346 (print_rtl_single): Likewise.
9347 * final.c (final_scan_insn): Dump the insn in the assembly
9349 * gcc.1: Document -dP option.
9350 * invoke.texi (Debugging Options): Likewise.
9352 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9354 * md.texi (Machine Constraints): Document the 68HC11 constraints.
9355 * install.texi (Configurations): Document the 68HC11&68HC12 port.
9356 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
9358 Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
9360 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
9361 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
9362 (*clrstrqi): Likewise.
9363 (xorhi3,xorsi3,absqi2): Likewise.
9364 (one_cmplhi2,one_cmplsi2): Likewise.
9365 (addsi3): Two stupid constraint alternatives removed.
9366 (extendhisi2): Use `movw' for enhanced avr cores.
9367 (zero_extendhisi2): Likewise.
9369 Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
9371 * alias.c (find_base_term): Use frame_pointer_rtx
9372 when handling an ADDRESSOF.
9374 * cse.c (canon_hash): Handle USE of BLKmode memory.
9375 (cse_insn): Outgoing arguments for a libcall don't
9376 affect any recorded expressions.
9378 2000-09-12 Tom Tromey <tromey@cygnus.com>
9380 * configure, config.in: Rebuilt.
9381 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
9383 2000-09-12 Jakub Jelinek <jakub@redhat.com>
9385 * c-lex.c (lex_string): Use charwidth to compute bytemask.
9386 * expr.c (expand_expr): Don't optimize constant array references
9387 initialized with wide string constants.
9389 2000-09-13 Michael Hayes <mhayes@cygnus.com>
9391 * loop.c (note_set_pseudo_multiple_uses): Correct.
9393 2000-09-12 Jim Wilson <wilson@cygnus.com>
9395 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
9396 else block, and X has side-effects, then fail.
9398 2000-09-12 Greg McGary <greg@mcgary.org>
9400 * config/mips/mips-protos.h
9401 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
9402 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
9403 (PREDICATE_CODES): Add "trap_cmp_op".
9404 * config/mips/mips.c
9405 (trap_cmp_op, mips_gen_conditional_trap): New functions.
9406 * config/mips/mips.md (trap, conditional_trap): New patterns.
9408 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9410 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
9413 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9415 * builtins.c (built_in_decls): New array.
9416 (expand_builtin_fputs): New function.
9417 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
9419 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
9421 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
9423 * tree.h (built_in_decls): New array.
9425 Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
9427 * convex.md: Use "+" instead of "=" for outputs wrapped in a
9429 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
9431 2000-09-12 Kazu Hirata <kazu@hxi.com>
9433 * haifa-sched.c: Fix formatting.
9435 * genattrtab.c: Fix formatting.
9437 * unroll.c: Fix formatting.
9439 2000-09-12 Bruce Korb <bkorb@gnu.org>
9441 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
9442 remove obsolete code
9443 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
9444 * fixinc/fixincl.tpl: make non-exported arrays static scope
9445 * fixinc/fixincl.x: regenerate
9446 * fixinc/fixlib.h: Use PARAMS, not _P_
9447 * fixinc/fixtests.c: make a type for the test proc & use it
9448 * fixinc/server.h: Use PARAMS, not _P_
9450 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9452 * c-typeck.c (process_init_element): Avoid union init warnings on
9453 floating point zero. Don't crash on unions containing structs.
9455 2000-09-12 Alexandre Oliva <aoliva@redhat.com>
9457 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
9458 general_movsrc_operand, and remove CONST_INT from
9459 general_movdst_operand.
9461 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9463 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
9464 if a reference to non-fixed hardreg is seen. Otherwise, count hard
9465 regs with a higher cost.
9466 (preferrable): Deal with cases where either cost or regcost is
9468 (cse_insn): Use MAX_COST rather than 10000. Always initialize
9470 (COSTS_N_INSNS): Move definition...
9472 (MAX_COST): New macro.
9473 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
9476 2000-09-11 Mark Mitchell <mark@codesourcery.com>
9478 * c-common.h (genrtl_clear_out_block): Remove.
9479 * c-semantics.c (genrtl_clear_out_block): Remove.
9480 (genrtl_while_stmt): Don't call it.
9481 (genrtl_for_stmt): Likewise.
9483 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9485 * cppfiles.c: Move all default-#defines to top of file.
9486 (open_include_file): Replace by lookup_include_file.
9487 (read_with_read, read_file): Merged into read_include_file.
9488 (stack_include_file, purge_cache): New functions.
9489 (close_cached_fd): Delete.
9490 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
9491 Cache the in-memory buffer, not the file descriptor.
9493 * cpphash.h (struct include_file): Add buffer, st, refcnt,
9495 (xcnew): New utility macro.
9496 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
9497 * cpplib.h (struct cpp_buffer): Remove mapped field.
9499 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9501 * cpplex.c (parse_string): Accept backslash space newline as a
9503 (lex_line): Likewise.
9504 (_cpp_get_token): Remove hard limit on macro nesting.
9506 2000-09-12 Philipp Thomas <pthomas@suse.de>
9508 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
9509 * configure: Rebuilt.
9511 2000-09-13 Michael Hayes <mhayes@cygnus.com>
9513 * flow.c (split_block): Fix update of registers live at
9516 Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
9518 * i386.md (add?i_3, add?i_5): New.
9519 (add?i_4): Rename from add?i_3; Fix compare pattern.
9520 (sub?i_3, xor?i_3, ior?i_3): New.
9522 * genrecog.c (write_tree): Output code to clear insn_extract cache.
9523 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
9524 instead of extract_insn and extract_constrain_insn_cache instead of
9525 extract_insn and constrain_operands.
9526 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
9528 (extract_insn): Clear which_alternative.
9529 (constrain_operands): Set which_alternative to -1 when failed.
9530 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
9533 2000-09-11 Matthew Hiller <hiller@redhat.com>
9535 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
9536 on operand 0 to '+'.
9537 (movstricthi): Likewise.
9539 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9541 * loop.h (LOOP_IVS): New macro.
9542 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
9543 (struct loop_ivs): New.
9544 (struct loop_info): Add ivs field.
9545 (reg_iv_type, reg_iv_info): Delete prototype.
9546 (reg_biv_class, loop_iv_list): Likewise.
9547 * loop.c (record_biv, find_life_end): Pass loop argument.
9548 (reg_iv_type): Remove global array and use
9549 field in loop_regs structure within loop_ivs structure.
9550 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
9551 (first_increment_giv, last_increment_giv): Use entry in
9553 (record_initial): Pass ivs pointer.
9554 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
9556 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9558 * loop.h (LOOP_REGS): New macro.
9559 (struct loop_regs): New.
9560 (struct loop_info): Add regs field.
9561 * loop.c (set_in_loop): Remove global array and store
9562 in loop_regs structure as part of loop_info structure.
9563 (n_times_set, may_not_optimize): Likewise.
9564 (reg_single_usage, moved_once): Likewise.
9565 (count_one_set): Add regs argument.
9566 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
9567 (set_pseudo_multiple_uses): Pass regs pointer.
9569 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9571 * unroll.c (iteration_info): Subsume into loop_iterations.
9572 * loop.h (loop_info): New field iv.
9574 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9576 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
9577 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
9578 (flow_loops_update): New prototype.
9579 (flow_loops_find): Add flags to prototype.
9580 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
9581 * flow.c (flow_loop_pre_header_scan): New.
9582 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
9583 (flow_loop_free): Free pre-header root and trace and exit dominators.
9584 (flow_loops_find): New argument flags.
9585 (flow_loops_update): New function.
9586 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
9588 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9590 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
9591 * flow.c (split_block, update_bb_for_insn): New functions.
9593 2000-09-11 Richard Henderson <rth@cygnus.com>
9595 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
9597 2000-09-11 Richard Henderson <rth@cygnus.com>
9599 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
9600 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
9601 (ia64_override_options): Prevent optimizing division for both
9602 latency and throughput.
9603 (rtx_needs_barrier): Handle frcpa.
9604 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
9605 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
9606 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
9607 (TARGET_SWITCHES): Add -minline-divide-min-latency and
9608 -minline-divide-max-throughput.
9609 (PREDICATE_CODES): Update.
9610 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
9611 (zero_extendsidi2): Likewise. Fix typo in f case insn.
9612 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
9613 (extendsftf2): Likewise.
9614 (extenddftf2): Likewise.
9615 (fix_trunctfdi2_alts): New.
9616 (fixuns_trunctfdi2_alts): New.
9617 (madd*4): Rename from madd*3.
9618 (divsi3, modsi3, udivsi3, umodsi3): New.
9619 (divsi3_internal): New.
9620 (divdi3, moddi3, udivdi3, umoddi3): New.
9621 (divdi3_internal_lat, divdi3_internal_thr): New.
9622 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
9623 (recip_approx): New.
9625 2000-09-11 Alexandre Oliva <aoliva@redhat.com>
9627 * print-rtl.c (debug_call_placeholder_verbose): New variable.
9628 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
9630 * integrate.c (copy_rtx_and_substitute): Don't share
9631 LEAF_REG_REMAPpable registers with the inlined function. Don't
9632 share the function value with calling sequences.
9634 2000-09-11 Jakub Jelinek <jakub@redhat.com>
9636 * c-decl.c (do_case): Fix a typo.
9638 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
9639 to a if the comparison is floating mode and not -ffast-math.
9640 * simplify-rtx.c (simplify_ternary_operation): Likewise.
9642 Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9644 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
9645 gen_ic_invalidate_line.
9647 2000-09-11 Philip Blundell <pb@futuretv.com>
9649 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
9651 Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
9653 * install.texi (LANGUAGES): Update to include new languages.
9656 2000-09-11 DJ Delorie <dj@redhat.com>
9658 * gcc.c (main): Don't warn about unused -B prefixes
9659 (unused_prefix_warnings): remove
9661 2000-09-11 Kazu Hirata <kazu@hxi.com>
9663 * final.c: Fix formatting.
9665 * integrate.c: Fix formatting.
9667 2000-09-11 Geoff Keating <geoffk@cygnus.com>
9669 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
9671 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
9673 * reload.c (regno_clobbered_p): Fix thinko in previous change.
9675 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9677 * gcc.1: Document 68hc11 specific options.
9679 2000-09-10 Geoff Keating <geoffk@cygnus.com>
9681 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
9682 (TARGET_LONG_DOUBLE_128): Define.
9683 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
9684 (LONG_DOUBLE_TYPE_SIZE): Redefine.
9685 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9686 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
9687 of __LONG_DOUBLE_128__.
9688 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
9690 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
9691 (CPP_SYSV_DEFAULT_SPEC): Define.
9692 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
9693 (INIT_TARGET_OPTABS): Define.
9695 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
9696 (RS6000_UITRUNC): Likewise.
9697 (INIT_TARGET_OPTABS): New macro.
9698 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
9699 (trunc_defined): Delete.
9700 (output_prolog): Don't output .extern definitions for fp->int
9701 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
9702 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
9703 (trunc_defined): Delete.
9704 (RS6000_ITRUNC): Moved to aix.h.
9705 (RS6000_UITRUNC): Likewise.
9706 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
9707 only emit a libcall.
9708 (fixuns_truncdfsi2): Delete.
9709 (trunc_call): Delete.
9710 (trunc_call_rtl): Delete.
9712 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9714 * varasm.c (make_decl_rtl): Restore leading star on
9715 DECL_ASSEMBLER_NAME set for decls with an asmspec.
9717 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9719 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
9720 won't give a spurious error for '#pragma pack()'. Simplify
9721 control flow for readability. 'reset' action is not necessary.
9723 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9725 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
9726 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
9727 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
9728 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
9730 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
9731 profile.c, sdbout.c, tradcif.y, tree.c:
9732 Include defaults.h if not already included.
9733 Don't define the above macros.
9735 * Makefile.in: Update dependencies.
9737 2000-09-10 Mark Mitchell <mark@codesourcery.com>
9739 * c-common.h (add_stmt): Change prototype.
9740 (RECHAIN_STMTS): New macro.
9741 (CASE_LABEL_DECL): Likewise.
9742 (genrtl_case_label): Change prototype.
9743 (c_expand_start_case): Remove prototype.
9744 (build_case_label): Change prototype.
9745 (decl_constant_value): Declare.
9746 * c-common.c (check_case_value): Handle C++'s extensions to C
9748 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
9750 * c-parse.in (stmt): Adjust handling of return statements and case
9752 * c-semantics.c (add_stmt): Return the new statement.
9753 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
9754 returned expression. Directly generate RTL, rather than calling
9756 (genrtl_switch_stmt): Don't call c_expand_start_case.
9757 (build_case_label): Take the LABEL_DECL as input, too.
9758 (genrtl_case_label): Just call add_case_node.
9759 (expand_stmt): Adjust calls to genrtl_return_stmt and
9761 * c-tree.h (c_expand_start_case): Declare.
9762 * c-typeck.c (decl_constant_value): Give it external linkage.
9763 (c_expand_return): Don't call expand_return or expand_null_return;
9764 use genrtl_return_stmt instead.
9765 * stmt.c (struct nesting): Remove num_ranges field.
9766 (add_case_node): Give it external linkage.
9767 (expand_start_case): Don't set num_ranges.
9768 (expand_start_case_dummy): Don't clear it.
9769 (pushcase): Rely on add_case_node to handle `default' labels.
9770 (add_case_node): Handle `default' labels.
9771 * tree.c (tree_int_cst_compare): New function.
9772 * tree.h (tree_int_cst_compare): Declare.
9773 (add_case_node): Likewise.
9775 2000-09-10 Richard Henderson <rth@cygnus.com>
9777 * c-parse.in: Revert last change.
9778 (init_reswords): Do not enter disabled keywords into the ridpointers
9779 table, modulo objc weirdness.
9780 (_yylex): Return the canonical spelling for a keyword.
9782 2000-09-10 Philip Blundell <philb@gnu.org>
9784 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
9785 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
9787 Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
9789 * alias.c (find_base_term): Handle ADDRESSOF.
9790 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
9792 2000-09-10 Denis Chertykov <denisc@overta.ru>
9794 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
9795 outputting templates with many lines.
9797 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9799 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
9800 to decide whether 64-bit support must be generated.
9802 2000-09-10 Richard Henderson <rth@cygnus.com>
9804 * c-parse.in (asm patterns): Fix volatile check.
9806 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9808 * cppmacro.c (check_trad_stringification): New function.
9809 (save_expansion): If -Wtraditional, warn about stringification of
9812 2000-09-11 Michael Hayes <mhayes@cygnus.com>
9814 * loop.h (struct loop_mem_info): Move from loop.c
9815 (struct loop_info): Add fields store_mems, mems, mems_idx,
9816 mems_allocated, unknown_address_altered,
9817 unknown_constant_address_altered, num_mem_sets, and
9818 first_loop_store_insn.
9820 * loop.c (loop_store_mems): Replace with field in loop_info struct.
9821 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
9822 (unknown_address_altered, unknown_constant_address_altered): Likewise.
9823 (num_mem_sets): Likewise.
9824 (replace_loop_mems, replace_loop_regs): New.
9825 (struct loop_replace_args): New.
9826 (load_mems): Use replace_loop_mems.
9827 (try_copy_prop): Use replace_loop_regs.
9828 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
9830 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9832 * configure.in: Recognize m6811-elf and m6812-elf.
9833 * configure: Regenerate.
9835 2000-09-09 Geoff Keating <geoffk@cygnus.com>
9837 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
9840 2000-09-10 Michael Hayes <mhayes@cygnus.com>
9842 * loop.c (struct movables): New.
9843 (num_movables): Move into struct movables.
9844 (the_movables): Change type to struct movables.
9845 (ignore_some_movables): Change struct movable arg to struct movables.
9846 (force_movables, combine_movables, regs_match_p): Likewise.
9847 (rtx_equal_for_loop_p, move_movables): Likewise.
9848 (scan_loop): Change movables to be of type struct movables.
9849 Replace last_movable with field in movables structure.
9851 2000-09-08 Zack Weinberg <zack@wolery.cumb.org>
9853 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
9854 (init_pragma): Avoid warning if pfile happens to be unused.
9855 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
9856 define init_pragma to nothing. Always prototype
9857 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
9859 * c-lex.c (process_directive): Always call dispatch_pragma.
9860 Initialize entering_c_header to 0.
9862 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9864 * config/m68hc11/m68hc11.md: New file, machine description for
9866 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
9867 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
9868 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
9869 * config/m68hc11/m68hc11-protos.h: New file.
9870 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
9871 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
9872 * config/m68hc11/xm-m68hc11.h: New file, target defs.
9873 * config/m68hc11/larith.asm: New file, libgcc routines.
9875 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9877 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
9878 (FPBIT_FUNCS): Add _usi_to_sf.
9879 * config/fp-bit.c (usi_to_float): New function.
9880 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
9881 (usi_to_float): Add appropriate #define.
9883 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9885 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
9887 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
9888 * i386.md (attr "type"): Add sse and mmx types.
9889 (attr "memory"): Handle them without a crash.
9890 (movsi_1, movdi_2): Allow MMX regs.
9891 (movdi splits): Don't split moves involving MMX regs.
9892 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
9893 (movv4sf_internal, movv4si_internal, movv8qi_internal,
9894 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
9895 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
9896 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
9897 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
9898 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
9899 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
9900 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
9901 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
9902 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
9903 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
9904 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
9905 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
9906 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
9907 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
9908 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
9909 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
9910 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
9911 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
9912 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
9913 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
9914 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
9915 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
9916 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
9917 mmx_clrdi): New patterns.
9919 2000-09-08 Richard Earnshaw <rearnsha@arm.com>
9921 * arm.c: Don't include tm.h directly.
9923 Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
9925 * recog.c (validate_replace_rtx_1): Fix confusion about equality
9926 testing; simplify subregs of constants and nested subregs.
9928 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
9930 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
9932 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9934 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
9936 * rtl.texi (description of USE): Add note about possible pitfalls
9938 From Richard Henderson:
9939 * reload1.c (choose_reload_regs): Compute need_mode properly.
9941 2000-09-07 Richard Henderson <rth@cygnus.com>
9943 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
9944 (__modsi3, __umodsi3): Likewise.
9945 (__udivsi3): Likewise. Normalize the TFmode values.
9947 2000-09-07 Geoff Keating <geoffk@cygnus.com>
9949 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
9951 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
9954 Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9956 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
9957 (cmpeqdi_t): Add output pattern.
9958 (cmpeqdi_t+1): Don't split when not optimizing.
9959 Restore proper splitting operation.
9961 2000-09-07 Richard Henderson <rth@cygnus.com>
9963 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
9964 do not call dispatch_pragma.
9966 2000-09-07 Jim Wilson <wilson@cygnus.com>
9968 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
9969 to CLASS_CANNOT_CHANGE_MODE.
9970 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
9971 mode classes are different.
9973 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9975 * cpplib.h (struct cpp_options): Add user_label_prefix member,
9976 left out of commit which removed cppulp.c.
9978 2000-09-07 Richard Henderson <rth@cygnus.com>
9980 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
9981 after switch for CASE_DROPS_THROUGH.
9983 2000-09-07 Richard Henderson <rth@cygnus.com>
9985 * loop.c (strength_reduce): Call check_ext_dependant_givs.
9986 Properly extend the biv initial value for the giv.
9987 (record_biv): Zero ext_dependant.
9988 (record_giv): New argument ext_val. Update all callers.
9989 (general_induction_var): Likewise.
9990 (consec_sets_giv): Likewise.
9991 (simplify_giv_expr): Likewise. Fill in ext_val if we find
9992 a sign-extend, zero-extend, or truncate.
9993 (combine_givs_p): Make sure modes are compatible.
9994 (check_ext_dependant_givs): New.
9995 (extend_value_for_giv): New.
9996 * loop.h (struct induction): Add ext_dependant.
9997 * unroll.c (iteration_info): Extend the biv initial value for the giv.
9998 (find_splittable_givs): Likewise.
9999 (final_giv_value): Likewise.
10001 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
10003 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
10004 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
10005 definitions from cpplib.h.
10006 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
10008 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
10009 documentation for REGISTER_TARGET_PRAGMAS.
10011 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
10012 default-pragma callback to implement -Wunknown-pragmas if
10014 * c-parse.in: Move all includes to top of file.
10015 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
10017 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
10019 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
10021 * arm.h, arm-protos.h, arm.c,
10022 c4x.h, c4x-protos.h, c4x.c,
10023 h8300.h, h8300-protos.h, h8300.c,
10024 i370.h, i370-protos.h, i370.c,
10025 i960.h, i960-protos.h, i960.c,
10026 sh.h, sh-protos.h, sh.c,
10027 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
10028 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
10030 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
10031 multiple include guard.
10032 * i370.md (untyped_call): Use GEN_CALL.
10033 (umodsi3): Remove unused variable.
10034 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
10035 * v850.c (output_move_single, output_move_double): Constify
10037 (print_operand): Constify a char *.
10038 * v850.h (struct small_memory_info): Constify name member.
10040 2000-09-07 Kazu Hirata <kazu@hxi.com>
10042 * config/h8300.h: Fix comment typos.
10043 * config/h8300/h8300.md: Likewise.
10044 * config/h8300/lib1funcs.asm: Likewise.
10046 Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
10048 * Makefile.in: Remove references to cppulp.{c,o}.
10049 * cppinit.c (initialize_builtins, cpp_start_read,
10050 cpp_handle_option): Update to use cpp_options structure.
10051 * cppulp.c: Remove.
10053 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
10055 * c-common.c (time_char_table): Allow %#b and %#h.
10057 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10059 * reorg.c (find_end_label): If the basic block reorder pass moves the
10060 return insn to some other place try to locate it again and put our
10061 end_of_function_label there.
10062 * reorg.c (relax_delay_slots): Check if find_end_label created a
10063 new label that invalidates the current optimazation.
10065 2000-09-07 Catherine Moore <clm@redhat.com>
10067 * unroll.c (unroll_loop): Check for unconditional jumps
10068 to loop continuation. Delete if n_iterations is 1.
10069 (ujump_to_loop_cont): New routine.
10071 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
10073 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
10075 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
10076 to handle multiword modes correctly. All callers and the declaration
10079 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10081 * c-common.h (prep_stmt): Declare.
10082 (lang_expand_stmt): Likewise.
10083 * c-decl.c (lang_expand_stmt): Remove.
10084 * c-semantics.c (lang_expand_stmt): Define.
10085 (prep_stmt): New function.
10086 (expand_stmt): Handle common statement types here.
10088 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
10090 * configure.in (sh-*-linux*): Added.
10091 * configure: Rebuilt.
10092 * config/sh/t-linux: New file.
10093 * config/sh/sh.h (USERMODE_BIT): Define.
10094 (TARGET_USERMODE): Likewise.
10095 (TARGET_SWITCHES): New switches for the bits above.
10096 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
10097 * config/sh/linux.h: New file.
10098 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
10099 underscore on linux.
10100 (L_sdivsi3, L_udivsi3): Define for linux.
10101 (L_ic_invalidate): Define.
10102 * invoke.texi (SH Options): Document -musermode.
10104 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
10106 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
10107 CSE unless generating PIC.
10109 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
10112 2000-09-06 H.J. Lu (hjl@gnu.org)
10114 * Makefile.in (clean_s1): Depend on stage_b.
10115 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
10116 stage2. They are used for "make compare".
10118 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10120 Move statement-tree facilities from C++ to C front-end.
10121 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
10122 (void_zero_node): New macro.
10123 (struct stmt_tree_s): New type.
10124 (stmt_tree): New typedef.
10125 (struct language_function): New type.
10126 (last_tree): New macro.
10127 (last_expr_type): Likewise.
10128 (walk_tree_fn): New typedef.
10129 (current_stmt_tree): New function.
10130 (begin_stmt_tree): Likewise.
10131 (add_stmt): Likewise.
10132 (finish_stmt_tree): Likewise.
10133 (statement_code_p): Likewise.
10134 (lang_statement_code_p): New variable.
10135 (walk_stmt_tree): New function.
10136 (STMT_IS_FULL_EXPR_P): New macro.
10137 * c-common.c (lang_statement_code_p): New variable.
10138 (c_common_nodes_and_builtins): Initialize void_zero_node.
10139 (statement_code_p): New function.
10140 (walk_stmt_tree): Likewise.
10141 * c-decl.c (language_function): Rename to ...
10142 (c_language_function): ... this. Include language_function.
10143 (push_c_function_context): Adjust accordingly.
10144 (pop_c_function_context): Likewise.
10145 (mark_c_function_context): Likewise.
10146 (current_stmt_tree): Define.
10147 * c-semantics.c (begin_stmt_tree): New function.
10148 (add_stmt): Likewise.
10149 (prune_unused_decls): Likewise.
10150 (finish_stmt_tree): Likewise.
10152 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10154 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
10156 2000-09-06 Kazu Hirata <kazu@hxi.com>
10158 * calls.c: Fix formatting.
10160 2000-09-06 Graham Stott <grahams@cygnus.co.uk>
10162 * config/i386/i386.h (ADDRESS_COST): Fix typo.
10164 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10166 Integrated preprocessor.
10168 * Makefile.in: Remove all references to c-parse.gperf,
10169 c-gperf.h, and c-parse.h. Remove -d from yacc command line
10170 generating c-parse.c. Update dependencies.
10171 * c-parse.gperf, c-gperf.h: Delete.
10173 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
10174 yy_lim, or yy_get_token. Don't define get_directive_line if
10176 * c-common.h: Add multiple include guard. Define RID values
10177 for every keyword in C, C++, and Objective C. Put all the
10179 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
10180 * c-decl.c (c_decode_option): Handle -lang-objc here.
10181 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
10182 (grokdeclarator): Adjust for new RID scheme.
10183 (extract_interface_info): New stub.
10184 * c-lang.c: Don't declare yy_cur or parse_options.
10185 (lang_init_options): Call cpp_init. Don't call
10187 (lang_init): Don't call check_newline if USE_CPPLIB.
10189 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
10190 Elide lots of unnecessary code if USE_CPPLIB. Delete code
10191 rendered unnecessary by new architecture. Move routines not
10192 shared with C++ to c-parse.in. Maintain a local idea of the
10193 line number. Handle C++ as well as C.
10194 [USE_CPPLIB]: Declare and register callbacks for #ident and
10195 for entering/leaving files.
10196 (init_c_lex, c_lex): Are now the entry points to this file.
10197 (check_newline): Break out directive handling to
10199 (read_ucs, is_extended_char, utf8_extend_token): Moved here
10200 from C++ front end.
10201 (readescape, parse_float): Overhaul.
10202 (lex_number, lex_string, lex_charconst): Break out of c_lex
10204 (get_fileinfo, update_header_times, dump_one_header,
10205 dump_time_statistics): New and/or moved here from C++.
10206 Support per-file data needed by C++ and per-header timing
10207 statistics (C++ only, at the moment).
10208 * c-lex.h: Update prototypes. Add multiple include guard.
10209 * c-tree.h (struct lang_identifier): Add rid_code field.
10210 (C_IS_RESERVED_WORD, C_RID_CODE): New.
10212 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
10213 reinit_parse_for_function and/or position_after_white_space.
10214 (save_filename, save_lineno): Look ahead before saving.
10215 (label -> identifier ':'): Save file and line before shifting ':'.
10216 (reservedwords): No need to call get_identifier.
10217 (init_parse, finish_parse, yyerror, yylex, yyprint,
10218 make_pointer_declarator): Are now here for C/ObjC.
10219 (rid_to_yy): Conversion table from RID constants to Yacc codes.
10221 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
10222 #pragma registry. Provide dummy implementation of that
10223 interface if !USE_CPPLIB.
10224 * c-pragma.h: Update to match.
10226 * flags.h: Add multiple include guard.
10227 (flag_detailed_statistics): Moved here from C++.
10228 * toplev.c: Define flag_detailed_statistics.
10230 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
10232 * timevar.def (TV_CPP, TV_LEX): New.
10233 * timevar.h: Add multiple include guard.
10235 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
10237 * objc/objc-act.c: Don't mention yy_cur or parse_options.
10238 Initialize cpplib properly. Force lineno to 0 after first
10239 call to check_newline. Don't handle -lang-objc here.
10240 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
10242 2000-09-06 David Edelsohn <edelsohn@gnu.org>
10244 * rs6000.md: Correct function unit definitions for cr_logical and
10246 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
10247 and use portable method for >=0 and floating point >=. Remove
10248 associated matchers.
10250 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10252 * extend.texi: Mark named return value extension as deprecated.
10254 2000-09-06 Geoff Keating <geoffk@cygnus.com>
10256 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
10259 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
10261 * toplev.c (display_help): Fix thinko in documentation.
10263 * diagnostic.h (output_buffer::indent_skip): New fields.
10264 (output_indentation): New macro.
10266 * diagnostic.c (output_indent): New function.
10267 (output_set_prefix, clear_diagnostic_info): Use.
10268 (output_emit_prefix): Predict future indentation.
10270 2000-09-06 DJ Delorie <dj@redhat.com>
10272 * Makefile.in (stage_*): add more dependencies to ensure parallel
10273 builds build correctly
10275 2000-09-06 Manfred Hollstein <manfredh@redhat.com>
10277 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
10278 not bootstrap-lean_f.
10280 2000-09-06 Andreas Schwab <schwab@suse.de>
10282 * mklibgcc.in: Emit rule for libgcc-stage-start.
10283 * Makefile.in (stage1-start, stage2-start, stage3-start,
10284 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
10286 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
10288 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
10289 (update_equiv_regs): Likewise, except for the mn10200 kludge.
10290 (combine_regs): Likewise.
10292 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
10293 * cse.c: Include "basic-block.h".
10294 (struct table_elt): New field REGCOST.
10295 (CHEAP_REG): Delete macro.
10296 (COST): Return 0 for REGs.
10297 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
10298 (notreg_cost): Return 0 for appropriate SUBREGs.
10299 (COSTS_N_INSNS): Return N * 2.
10300 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
10302 (CHEAPER): Use new function preferrable.
10303 (insert): Initialize REGCOST member.
10304 (find_best_addr): Use approx_reg_cost for estimation of register
10306 (cse_insn): Likewise.
10307 * loop.c (iv_add_mult_cost): New function.
10308 (add_cost, shift_cost, mult_cost): Delete variables.
10309 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
10310 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
10311 Make code that detects autoinc opportunities slightly less optimistic.
10312 (simplify_giv_expr): If expression contains other reg that is also a
10313 giv, only increment benefit if this is the only use of that reg.
10314 (consec_sets_giv): Take that change into account.
10315 (combine_givs): Slightly more verbose output.
10317 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
10318 not the cost of an equivalent shift.
10319 * sh-protos.h (addsubcosts): Declare.
10320 * sh.c (addsubcosts): New function.
10321 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
10322 (RTX_COSTS): Tweak. Use addsubcosts.
10323 (ADDRESS_COST): Return higher cost for reg+reg addressing.
10325 2000-09-06 Geoff Keating <geoffk@cygnus.com>
10327 * config/rs6000/rs6000.c (validate_condition_mode): New function.
10328 (branch_comparison_operator): Call validate_condition_mode to
10329 abort rather than returning 0.
10330 (branch_positive_comparison_operator): New function.
10331 (scc_comparison_operator): Call validate_condition_mode to abort
10332 rather than returning 0.
10333 (ccr_bit): Call validate_condition_mode. Update for
10335 (print_operand): Delete %C modifier. Update %E case
10336 to use EQ bit not SO bit.
10337 (rs6000_reverse_condition): New function.
10338 (rs6000_generate_compare): New function.
10339 (rs6000_emit_sCOND): New function.
10340 (rs6000_emit_cbranch): New function.
10341 (output_cbranch): The length of a long branch insn is
10342 now only 8 bytes. Add validate_condition_mode. Use
10343 rs6000_reverse_condition. Remove cror generation.
10345 * config/rs6000/rs6000.h: Update comments.
10346 (PREDICATE_CODES): Add new predicate. Update codes used
10347 by branch_comparison_operator and scc_comparison_operator.
10348 * config/rs6000/rs6000-protos.h: Add prototypes for
10349 new external functions.
10350 * config/rs6000/rs6000.md: Add new scheduling parameters
10351 for cr_logical instructions. Change length of branch
10353 (bCOND patterns): Call rs6000_emit_cbranch.
10354 (sCOND patterns): Call rs6000_emit_sCOND.
10355 (branch patterns): Change lengths to 4.
10356 (cr logical patterns): New.
10358 2000-09-06 Richard Henderson <rth@cygnus.com>
10360 * config/i386/i386.md (call_pop): Fix test for setting
10361 current_function_uses_pic_offset_table.
10362 (call, call_value_pop, call_value): Likewise.
10364 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10366 * timevar.c (timevar_add): Delete.
10367 (timevar_get): Also count time since the selected timer was
10368 last updated. Do not examine the timevar stack if the
10369 selected timer is standalone.
10371 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10373 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
10375 2000-09-05 Jason Merrill <jason@redhat.com>
10377 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
10378 for 'extern' arrays.
10380 2000-09-05 Richard Henderson <rth@cygnus.com>
10382 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
10383 Eliminate final copy from non-trapping case.
10384 (__divdf3, __divsf3): Likewise.
10386 2000-09-05 Richard Henderson <rth@cygnus.com>
10388 * config/ia64/ia64.md (mulhi3): Fix typo last change.
10389 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
10391 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
10393 * Makefile.in: Restructure bootstrap stages to allow clean
10394 restart after failure.
10396 2000-09-05 Richard Henderson <rth@cygnus.com>
10398 * config/ia64.md (movsi and movdi patterns): Allow moves from
10399 8-bit constants to AR registers.
10401 2000-09-05 Richard Henderson <rth@cygnus.com>
10403 * config/ia64/ia64.md (mulhi3): New.
10405 2000-09-05 Richard Henderson <rth@cygnus.com>
10407 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
10408 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
10409 Optimization Guide, minimum latency alternative.
10410 (__moddi3, __udivdi3, __umoddi3): Likewise.
10411 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
10413 2000-09-05 Bruce Korb <bkorb@gnu.org>
10415 * fixinc/fixincl.c (load_file): always read header files
10416 with sizes that are a multiple of the page size.
10417 & use libiberty's getpagesize for determining that.
10419 2000-09-05 Alexandre Oliva <aoliva@redhat.com>
10421 * gcse.c (hash_string_1): Add prototype.
10422 * cse.c (canon_hash_string): Likewise.
10424 2000-09-04 Craig Newell <CraigN@ieee.org>
10426 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
10428 2000-09-04 Andreas Schwab <schwab@suse.de>
10430 * Makefile.in (STAGESTUFF): Remove libgcc.
10431 (stage1-start, stage2-start, stage3-start): Copy the contents of
10432 the libgcc directory explicitly.
10433 (mostlyclean): Clean libgcc.
10435 2000-09-04 Andrew Haley <aph@redhat.com>
10437 * dwarf2out.c: (stack_adjust_offset): New prototype.
10439 Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
10441 * combine.c (make_extraction): Fix rtx_cost comparison to
10444 Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
10446 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
10447 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
10448 Add '*' to insn pattern name.
10450 2000-09-04 Jakub Jelinek <jakub@redhat.com>
10452 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
10453 use posn - 1 to index into tokens array.
10454 (maybe_paste_with_next): Adjust caller.
10456 2000-09-03 Geoff Keating <geoffk@cygnus.com>
10458 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
10460 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
10461 (REGNO_REG_CLASS): Use symbolic register
10464 2000-09-03 Richard Earnshaw <rearnsha@arm.com>
10466 * arm.c (final_prescan_insn): If the form of a jump insn isn't
10467 recognized, don't try to conditionally execute it.
10469 Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
10471 * config/avr/avr.md ("*tablejump_lib"): New pattern.
10472 (call_value_insn): Right length claculation.
10473 (call_insn): Likewise.
10475 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
10477 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
10478 gas_output_limited_string, gas_output_ascii, output_movqi,
10479 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
10480 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
10481 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
10482 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
10483 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
10484 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
10485 Add "const" as needed to remove warnings.
10487 * config/avr/avr.c (avr_override_options, avr_init_once,
10488 function_prologue, function_epilogue, frame_pointer_required_p,
10489 class_likely_spilled_p, order_regs_for_local_alloc,
10490 avr_address_cost, avr_ret_register): Use K&R style arguments.
10491 (initial_elimination_offset, gas_output_limited_string):
10492 Remove ATTRIBUTE_UNUSED from the used arguments.
10493 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
10494 Use local variables src, dest, base to access operands[].
10495 Rename reg_dest to reg_src if that's what it is.
10496 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
10497 constants to LD_REGS if reg_was_0.
10498 (output_reload_insisf): Change arg 3 to insn length and set it.
10499 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
10500 access to 16-bit I/O register pairs.
10501 (avr_address_cost): Lower cost for the above case.
10502 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
10503 may be clobbered, also for LD_REGS.
10504 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
10507 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
10509 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
10510 macro to test_hard_reg_class function.
10511 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
10512 for loading immediate constants to LD_REGS.
10513 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
10516 Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10518 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
10519 * config/avr/libgcc.S: Lost part of the previous patch.
10521 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10523 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
10524 object before calling pthread_mutex_init.
10526 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
10528 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
10529 config/sh/crtn.asm: New files.
10530 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
10531 (crt1.o, crti.o, crtn.o): New targets.
10532 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
10534 * configure: Rebuilt.
10535 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10536 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
10537 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10538 Undefine for config/elfos.h to redefine.
10539 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
10541 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
10543 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
10544 legitimize_pic_address, output_pic_addr_const): Declare.
10545 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
10546 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
10547 (TARGET_SWITCHES): New switch -mprefergot.
10548 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
10549 (PIC_OFFSET_TABLE_REGNUM): Define.
10550 (GOT_SYMBOL_TABLE): Likewise.
10551 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
10552 (ENCODE_SECTION_INFO): Define.
10553 (FINALIZE_PIC): New macros.
10554 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
10555 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
10556 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
10557 (prepare_move_operands): Call emit_pic_move or
10558 emit_pic_const_move if appropriate.
10559 (output_far_jump): For PIC, use braf and output long offset.
10560 (machine_dependent_reorg):
10561 (sh_expand_prologue): Save and initialize the PIC register.
10562 (sh_expand_epilogue): Restore it.
10563 (initial_elimination_offset): Account for it.
10564 (nonpic_symbol_mentioned_p): New function.
10565 (legitimize_pic_address): Likewise.
10566 (output_pic_addr_const): Likewise.
10567 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
10568 (call, call_value): Use them.
10569 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
10570 symPLT_label2reg): New expands.
10571 * invoke.texi (SH Options): Document -mprefergot.
10573 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
10575 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
10576 * gcse.c (hash_string_1): New function.
10577 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
10578 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
10579 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
10580 (canon_hash_string): New function.
10581 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
10582 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
10583 (fold_rtx): Use ASM_OPERANDS accessor macros.
10584 * emit-rtl.c (copy_insn_1): Likewise.
10585 * integrate.c (copy_rtx_and_substitute): Likewise.
10586 * stmt.c (expand_asm_operands): Likewise. Give an
10587 ASM_OPERANDS rtx the mode of the output reg being set from it.
10589 2000-09-01 Fred Fish <fnf@be.com>
10591 * fix-header.c (write_rbrac): Add putc and getc to list of
10592 functions to protect against prior definition as a macro.
10594 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
10596 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
10597 (c_size_type_node): Define.
10598 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
10599 * c-common.c (enum format_lengths, enum format_std_version,
10600 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
10601 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
10602 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
10603 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
10604 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
10605 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
10606 format_types): Define.
10607 (format_char_info, print_char_table, scan_char_table,
10608 time_char_table): Rearrange for new organization of information
10609 about format length modifiers and standard versions.
10610 (T_ST): Redefine to use c_size_type_node.
10611 (check_format_info): Obtain information about length modifiers and
10612 standard versions from tables. Adjust warning message wordings.
10613 Use the name from the user's program for `ll' and `hh' length
10614 modifiers in warning messages. Use more informative names for
10615 wanted types where available (for wchar_t, wint_t, size_t, signed
10616 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
10618 2000-09-01 Jim Wilson <wilson@cygnus.com>
10620 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
10621 * combine.c (distribute_notes): Handle REG_NORETURN.
10622 * rtl.c (reg_note_name): Add REG_NORETURN.
10623 * rtl.h (enum reg_note): Likewise.
10625 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
10627 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
10628 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
10629 (emit_predicate_relation_info): Handle conditional calls with
10631 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
10632 instead of ia64_file_start.
10633 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
10634 * config/ia64/ia64.md (safe_across_calls_all,
10635 save_across_calls_normal): New patterns.
10637 * loop.c (check_final_value): Check for biv use before checking for
10638 giv use. Check for both biv and giv uses. Always set last_giv_use
10639 if there is a giv use.
10641 2000-09-01 Richard Henderson <rth@cygnus.com>
10643 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
10644 (madddi3): Likewise.
10647 Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10649 * expr.c (clear_storage): Don't use emit_move_insn unless
10650 either BLKmode or proper size.
10651 (store_constructor): Don't call clear_storage if REG of wrong size.
10653 * flow.c (init_propagate_block_info): Don't mark frame dead at end
10654 of function if returns wiht stack pointer depressed.
10656 2000-09-01 Andrew Haley <aph@redhat.com>
10658 * dwarf2out.c (stack_adjust_offset): New function.
10659 (dwarf2out_stack_adjust): Break out stack adjust logic into
10660 new stack_adjust_offset function. Look inside parallels and
10661 sequences for stack adjustments.
10663 2000-08-31 Jeff Law <law@cygnus.com>
10665 * arm.md: Use no_new_pseudos to determine when it is safe
10666 to create new pseudo registers.
10668 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
10669 when we can safely allocate new registers.
10671 2000-08-31 Geoffrey Keating <geoffk@cygnus.com>
10673 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
10674 so that CONCATs are not generated for ASMs.
10675 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
10676 not generating_concat_p.
10677 * function.c (pop_function_context_from): Reset
10678 generating_concat_p.
10679 (prepare_function_start): Likewise.
10680 * rtl.c (generating_concat_p): Define.
10681 * rtl.h (generating_concat_p): Declare.
10682 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
10684 2000-08-22 Philipp Thomas <pthomas@suse.de>
10685 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
10687 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
10690 2000-08-30 Greg McGary <greg@mcgary.org>
10692 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
10693 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
10694 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
10696 2000-08-30 Greg McGary <greg@mcgary.org>
10698 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
10699 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
10700 (TREE_INT_CST): New macro.
10701 * varasm.c (const_hash, compare_constant_1, record_constant_1):
10702 Use new macro TREE_INT_CST.
10704 Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
10706 * contrib.texi: Add self.
10708 2000-08-30 Alexandre Oliva <aoliva@redhat.com>
10710 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
10711 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
10714 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10716 * fixinc/gnu-regex.c: Don't define `const'.
10718 Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10720 * expr.c (store_constructor): Allow variable bounds of array type.
10721 (expand_expr): Don't blow up if type is ERROR_MARK.
10722 * varasm.c (output_constructor): Don't access lower bound of array
10723 type unless need it if index is supplied (so it can be a variable
10724 if no index is supplied).
10725 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
10726 Other minor cleanups.
10728 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10730 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
10731 for compilations in stage 1 and subsequent stages, respectively.
10732 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
10733 * configure: Rebuilt.
10734 * x-vax, x-vax-gcc: Deleted.
10736 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10738 * c-common.c (declare_function_name): Use func_id_node,
10739 function_id_node, and pretty_function_id_node. Do not make
10740 __func__ visible at file scope.
10741 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
10742 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
10743 (function_id_node, pretty_function_id_node, func_id_node): New
10745 * c-decl.c (init_decl_processing): Initialize function_id_node,
10746 pretty_function_id_node, and func_id_node.
10747 (c_make_fname_decl): Correct comment.
10749 * tree.h (struct tree_identifier): Constify pointer member.
10751 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
10752 * c-pragma.h (struct weak_syms): Constify name and value members.
10753 (add_weak): Constify arguments.
10755 * calls.c (special_function_p): Constify a char *.
10756 (expand_call): Remove variable which is initialized and then
10758 * dependence.c (struct def_use, struct induction, struct subscript):
10759 Constify 'variable' member.
10760 (get_low_bound, have_induction_variable): Constify char * argument.
10761 (find_induction_variable): Add braces to avoid dangling else.
10762 (classify_dependence): Constify char * arrays.
10763 * profile.c (output_func_start_profiler): Constify a char *.
10764 * stor-layout.c (finalize_record_size): Constify a char *.
10765 * tree.c (is_attribute_p): Constify a char *.
10766 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
10768 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
10769 for comprehensibility. Do not call get_identifier if we did
10770 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
10771 create temporary string constants, not ggc_alloc_string. No
10772 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
10773 char * to hold IDENTIFIER_POINTERs.
10775 2000-08-29 Richard Henderson <rth@cygnus.com>
10777 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
10780 2000-08-29 Richard Henderson <rth@cygnus.com>
10782 * reload.c (push_secondary_reload): Allow class == reload_class
10783 if we're using a reload_in/out pattern.
10785 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
10786 the half that does not conflict with the reload register.
10787 (reload_outti): Likewise.
10789 2000-08-29 Kazu Hirata <kazu@hxi.com>
10791 * reload.c: Fix formatting.
10793 * stmt.c: Fix formatting.
10795 * gcc.c: Fix formatting.
10797 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10799 * flags.h (time_report, mem_report): New global flags.
10800 * toplev.c: Define time_report and mem_report.
10801 (f_options): Add -ftime-report and -fmem-report.
10802 (compile_file): Turn on time_report if quiet_flag is off.
10803 Call ggc_print_statistics at very end if mem_report is on.
10804 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
10806 * ggc-common.c (ggc_print_statistics): Rename to
10807 ggc_print_common_statistics; all callers changed. Scale
10808 quantities above 10K to kilobytes and above 10M to megabytes.
10809 * ggc-page.c (ggc_page_print_statistics): Rename to
10810 ggc_print_statistics. Report memory consumed by internal data
10811 structures for each allocation bucket. Scale quantities above
10812 10K to kilobytes and above 10M to megabytes.
10813 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
10814 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
10815 Define tally_leaves always.
10816 (ggc_print_statistics): New function.
10817 * ggc.h: Adjust for renamed functions.
10819 Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
10821 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
10822 output_movsisf instead of which_alternative.
10824 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
10826 Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
10828 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
10829 (avr_progmem_p): New prototype.
10830 (output_movsisf): Prototype declaration changed.
10831 (output_movqi): New prototype.
10832 (output_movhi): New prototype.
10833 (call_insn_operand): Likewise.
10834 (final_prescan_insn): Likewise.
10835 (avr_simplify_comparision_p): Likewise.
10836 (avr_normalize_condition): Likewise.
10837 (compare_eq_p): Likewise.
10838 (out_shift_with_cnt): Likewise.
10839 (const_int_pow2_p): Likewise.
10840 (output_reload_inhi): Prototype declaration changed.
10842 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
10843 (ldi_reg_rtx): New. rtx for r31.
10844 (avr_init_stack): Initialize as "__stack".
10845 (function_prologue): Use it.
10846 Replace all TARGET_ENHANCED with AVR_ENHANCED.
10847 (avr_mcu_name): Initialize as "avr2".
10848 (avr_enhanced_p, avr_mega_p): New variables.
10849 (mcu_types, avr_override_options): Handle all known MCU types.
10850 Also handle avr1 (only preprocess, assemble and link).
10851 (print_operand): Using of `%K' in output template removed.
10852 (out_movqi_r_mr): Optimized.
10853 (out_movhi_r_mr): Likewise.
10854 (output_movqi): New function.
10855 (output_movhi): Likewise.
10856 (out_movsi_r_mr): Optimized.
10857 (output_movsisf): Compute insn length for `adjust_insn_length'
10858 (out_movqi_mr_r): Optimized.
10859 (out_movhi_mr_r): Optimized.
10860 (adjust_insn_length): Use output_movsisf, output_movqi,
10861 output_movhi for insn length adjusting.
10862 (reg_unused_after): Use dead_or_set_p.
10863 (preferred_reload_class): Now havn't any restriction.
10864 (reg_was_0): New function.
10865 (io_address_p): Likewise.
10866 (const_int_pow2_p): Likewise.
10867 (output_reload_inhi): Likewise.
10868 (output_reload_insisf): Likewise.
10870 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
10871 (LIB_SPEC): Use -lc for all supported devices.
10872 (LIBGCC_SPEC): Use -lgcc for all supported devices.
10873 (AVR_MEGA): Define as avr_mega_p.
10874 (AVR_ENHANCED): New, define as avr_enhanced_p.
10875 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
10876 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
10877 (CRT_BINUTILS_SPECS): Handle all known MCU types.
10878 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
10879 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
10880 (ASM_SPEC): Pass -mmcu=... to the assembler.
10881 Change all -DAVR_* to -D__AVR_*__.
10882 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
10883 Rename library functions to start with two underscores.
10884 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
10886 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
10887 (SUPPORTS_WEAK): Likewise.
10888 (LDI_REG_REGNO): New. Register r31 will be used as temporary
10889 register for loading constants to r0-r14.
10891 * config/avr/avr.md: Replace all TARGET_ENHANCED with
10893 (*mov_r_sp): Removed. Handled by output_movhi.
10894 (*mov_sp_r): Likewise.
10895 (*mov_sp_r_no_interrupts): Likewise
10896 (*mov_sp_r_tiny): Likewise.
10897 (*movqi): Use output_movqi.
10898 (*reload_inqi): New.
10899 (*movhi): Use output_movhi.
10900 (*reload_inhi): New.
10901 (*negsi2): Optimized.
10902 (*negsf2): Likewise.
10903 Added peepholes (define_peephole2) for loading constants to r0-r14
10904 and for using `cpse' command.
10906 * config/avr/libgcc.S: Rename library functions to start with two
10908 Add support for enhanced core.
10909 (_moqhi3): Fix typo, now _modqi3.
10910 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
10911 (__prologue_saves__): Remove test for stack adjust by 0.
10912 (__tablejump__): New.
10914 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
10915 Add multilib support.
10917 Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
10919 * loop.c (prescan_loop): Don't check unknown_address_altered
10920 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
10921 to loop_store_mems as necessary.
10922 (loop_invariant_p): Don't check unknown_address_altered
10923 or unknown_constant_address_altered.
10925 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10927 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
10929 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10931 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
10932 print just the filename.
10933 * cpplex.c (_cpp_run_directive): Add additional argument, the
10934 name to give the synthetic buffer. This defaults to
10935 translated "<command line>".
10936 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
10938 (_cpp_define_builtin): New function.
10939 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
10940 * cpphash.h: Update prototypes.
10942 * tradcpp.c (main): Process -D and -U simultaneously, in the
10943 order they appeared on the command line.
10945 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10947 * c-decl.c (define_label): Call warning_with_file_and_line and
10948 error_with_file_and_line instead of plain warning or error.
10950 * c-parse.in (label): Use save_filename/save_lineno to ensure
10951 correct values for calls to define_label.
10953 2000-08-29 Mark Mitchell <mark@codesourcery.com>
10955 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
10957 * expr.c (expand_expr, case TARGET_EXPR): Don't call
10959 * tree.h (get_file_function_name): Remove two duplicate
10962 2000-08-28 Kazu Hirata <kazu@hxi.com>
10964 * tree.c: Fix formatting.
10966 * xcoffout.c: Fix formatting.
10968 2000-08-28 Jason Merrill <jason@redhat.com>
10970 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
10972 2000-08-28 Daniel Berlin <dberlin@redhat.com>
10974 * dwarf2out.c (dwarf2out_finish): Don't bother calling
10975 break_out_includes if it won't do anything.
10977 2000-08-28 Richard Henderson <rth@cygnus.com>
10979 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
10980 (find_reloads): Likewise.
10981 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
10982 (reload_inhi): Likewise.
10984 2000-08-28 Richard Henderson <rth@cygnus.com>
10986 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
10987 (call_insn_operand): Don't expect a surrounding mem.
10988 (constant_call_address_operand): Likewise.
10989 * config/i386/i386.h (PREDICATE_CODES): Update.
10990 * config/i386/i386.md (call patterns): Move the match_operand
10991 for the call destination inside the mem.
10993 2000-08-28 Richard Henderson <rth@cygnus.com>
10995 * local-alloc.c (requires_inout): Don't use reserved range for
10996 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
10997 * recog.c (asm_operand_ok): Likewise.
10998 (preprocess_constraints, constrain_operands): Likewise.
10999 * regclass.c (record_reg_classes): Likewise.
11000 * reload.c (find_reloads): Likewise.
11001 * reload1.c (maybe_fix_stack_asms): Likewise.
11002 (reload_cse_simplify_operands): Likewise.
11003 * stmt.c (expand_asm_operands): Likewise.
11005 * md.texi: Update constraints documentation.
11006 * tm.texi (EXTRA_CONSTRAINT): Update.
11008 2000-08-28 Daniel Berlin <dberlin@redhat.com>
11010 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
11011 (print_die): If we don't know the offset of the
11012 target die, try the symbol. Add a trailing newline.
11013 (reverse_all_dies): New fn.
11014 (dwarf2out_finish): Call it.
11015 (break_out_includes): Reorganize for clarity.
11016 (add_sibling_attributes): Don't call reverse_die_lists.
11017 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
11019 * flags.h: Add flag_eliminate_dwarf2_dups.
11020 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
11022 2000-08-28 Jason Merrill <jason@redhat.com>
11024 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
11025 * dwarf2out.c: #include "md5.h".
11026 (DIE_LABEL_PREFIX): New macro.
11027 (dw_val_struct): Add 'external' flag to val_die_ref.
11028 (add_AT_die_ref, AT_ref): Adjust.
11029 (AT_ref_external, set_AT_ref_external): New fns.
11030 (build_abbrev_table): Call set_AT_ref_external.
11031 (value_format): Call AT_ref_external.
11032 (die_struct): Add die_symbol field.
11033 (new_die): Clear it.
11034 (dwarf_tag_name): Handle BINCL/EINCL.
11035 (dwarf2out_start_source_file): Add BINCL DIE.
11036 (dwarf2out_end_source_file): Add EINCL DIE.
11037 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
11038 (loc_checksum, attr_checksum, die_checksum): New fns.
11039 (is_type_die, is_comdat_die, is_symbol_die): New fns.
11040 (compute_section_prefix, assign_symbol_names): New fns.
11041 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
11042 (output_die): Call output_die_symbol and AT_ref_external.
11043 (output_comdat_comp_unit): New fn, split out from...
11044 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
11046 (output_pubnames, output_aranges): Abort if we see entries from
11048 * toplev.h: Declare file_name_nondirectory.
11049 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
11050 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
11051 (debug_start_source_file): Call dwarf2out_start_source_file
11052 regardless of debug verbosity.
11053 (debug_end_source_file): Similarly.
11054 * tree.h: Declare clean_symbol_name.
11055 * tree.c (clean_symbol_name): Split out from...
11056 (get_file_function_name_long): ...here.
11058 * dwarf2out.c (new_loc_descr): Use calloc.
11059 (splice_child_die): Remove the die from the right parent.
11060 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
11062 Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11064 * toplev.c (decode_g_option): Don't give warning for unknown -g
11065 option; return 0 instead.
11066 (main): If -g option is not recognized by front end or
11067 language-independent code, give warning.
11069 2000-08-28 Greg McGary <greg@mcgary.org>
11071 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
11072 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
11073 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
11075 2000-08-27 Greg McGary <greg@mcgary.org>
11077 * cpplex.c (parse_string): Don't look for backslash
11078 before first char in `namebuf'.
11079 * loop.c (strength_reduce): Skip NOTEs.
11081 2000-08-27 Jason Merrill <jason@redhat.com>
11083 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
11084 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
11085 TREE_ASM_WRITTEN, either.
11086 (finish_decl): Adjust.
11088 2000-08-28 Philipp Thomas <pthomas@suse.de>
11090 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
11091 they have been incorporated into the gettext CVS. Change the text to
11092 reflect the current status of NLS. Add instructions for accessing
11093 the gettext CVS and add the patch from Martin v. Loewis.
11095 2000-08-27 Geoff Keating <geoffk@cygnus.com>
11097 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
11098 by using gen_lowpart_common.
11099 (movdi_internal64+6): Likewise.
11101 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
11103 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
11106 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
11107 numbers to the ranges used by GDB.
11109 2000-08-25 Richard Henderson <rth@cygnus.com>
11111 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
11112 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
11113 (ia64_expand_prologue): Likewise.
11114 (ia64_setup_incoming_varargs): Set it. Properly skip the current
11115 argument for stdargs.
11117 2000-08-25 Jason Merrill <jason@redhat.com>
11119 * integrate.c (expand_inline_function): Pull out the original decl.
11121 2000-08-25 Jim Wilson <wilson@cygnus.com>
11123 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
11125 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
11127 2000-08-25 Greg McGary <greg@mcgary.org>
11129 * flow.c (dump_edge_info): Use ARRAY_SIZE.
11130 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
11132 2000-08-25 Richard Earnshaw <rearnsha@arm.com>
11134 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
11136 Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
11138 * i386.c (ix86_find_base_term): New.
11139 * i386-protos.h (ix86_find_base_term): Prototype.
11140 * i386.h (FIND_BASE_TERM): Define.
11141 * alias.c (find_base_term): Use it.
11142 * tm.texi (FIND_BASE_TERM): Document it.
11144 * alias.c (true_dependence, write_dependence_p): Unchanging
11145 memory can't conflict with non-unchanging memory.
11147 * alias.c (memrefs_conflict_p): A BLKmode reference
11148 to a symbol (or CONST_INT address) always conflicts
11149 with a reference to another symbol.
11151 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
11153 * c-common.c (time_char_table): Don't allow width and flags with
11156 2000-08-25 Jakub Jelinek <jakub@redhat.com>
11158 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
11159 way as LT and LTU when the second operand has 0 in low word.
11161 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11163 * basic-block.h (struct loop): Rename `exits' field to
11164 `exit_edges'. Add `entry_edges' and `num_entries' fields.
11166 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
11167 (flow_loop_entry_edges_find): Add.
11168 (flow_edge_list_print): Rename from flow_exits_print.
11169 (flow_loops_find): Call flow_loop_entry_edges_find.
11170 (flow_loop_dump): Dump entry_edges list.
11171 (flow_loops_free): Free entry_edges.
11173 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11175 * loop.c (loop_dump_aux, debug_loop): New functions.
11176 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
11178 * flow.c (flow_loops_dump): Add callback parameter.
11179 (flow_loop_dump): Add callback parameter and call it. Move
11180 loop note debugging code to loop_dump_aux.
11182 * basic-block.h (flow_loop_dump): Add callback parameter
11183 (flow_loops_dump): Likewise.
11185 * toplev.c (rest_of_compilation): Add NULL callback function pointer
11186 to call to flow_loops_dump.
11188 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11190 * loop.c (count_loop_regs_set): Replace start and end arguments
11191 with loop argument. All callers udated.
11193 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11195 * loop.c (constant_high_bytes): Delete.
11197 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11199 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
11200 and NOTE_INSN_LOOP_VTOP to...
11201 (find_and_verify_loops) ...here.
11203 Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
11205 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
11206 (fini_dummy, init_dummy): Use it.
11208 Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
11210 * cpplex.c (is_macro_disabled): Caller has already checked
11211 that we're not a preprocessed file.
11213 2000-08-24 Mark Mitchell <mark@codesourcery.com>
11215 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
11216 (c-iterate.o): Remove target.
11217 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
11218 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
11219 (finish_decl): Don't handle iterators.
11220 (grokdeclarator): Likewise.
11221 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
11222 * gcc/c-gperf.h: Regenerated.
11223 * gcc/c-iterate.c: Removed.
11224 * gcc/c-lex.c (init_lex): Don't handle iterators.
11225 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
11226 (compstmt_primary_start): Remove push_iterator_stack call.
11227 (stmt): Don't allow iterator statements. Replace iterator_expand
11228 with expand_expr_stmt.
11229 (all_iter_stmt): Remove.
11230 (all_iter_stmt_simple): Likewise.
11231 (all_iter_stmt_with_decl): Likewise.
11232 * gcc/c-tree.h (ITERATOR_P): Remove.
11233 (ITERATOR_BOUND_P): Likewise.
11234 (init_iterators): Remove declaration.
11235 (iterator_expand): Likewise.
11236 (iterator_for_loop_start): Likewise.
11237 (iterator_for_loop_end): Likewise.
11238 (iterator_for_loop_record): Likewise.
11239 (push_iterator_stack): Likewise.
11240 (pop_iterator_stack): Likewise.
11241 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
11242 (readonly_warning): Likewise.
11243 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
11245 2000-08-24 Jim Wilson <wilson@cygnus.com>
11247 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
11248 Copy type in a TYPE_DECL, just like pushdecl does.
11250 2000-08-24 Richard Henderson <rth@cygnus.com>
11252 * toplev.c (main): Enable flag_reorder_blocks at -O2.
11254 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11256 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
11257 asked for one page, allocate GGC_QUIRE_SIZE of them and put
11258 the extras on the free list.
11259 (release_pages): Clean up.
11260 (ggc_set_mark): Don't adjust G.allocated here...
11261 (sweep_pages): ... do it here.
11263 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11265 * cppfiles.c (read_include_file): Rearrange initializations.
11267 2000-08-24 Richard Henderson <rth@cygnus.com>
11269 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
11271 * config/ia64/ia64-protos.h: Update.
11272 * config/ia64/ia64.c (gr_register_operand): New.
11273 (fr_register_operand, grfr_register_operand): New.
11274 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
11275 (grfr_reg_or_8bit_operand): New.
11276 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
11277 use gr_register_operand.
11278 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
11279 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
11280 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
11281 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
11282 (fr_reg_or_fp01_operand): Likewise.
11283 (not_postinc_memory_operand): New.
11284 (ia64_split_timode): Remove unused variables.
11285 (rtx_needs_barrier): Check arguments to cmpxchg.
11286 (builtin_description): Remove.
11287 (bdesc_2argsi, bdesc_2argdi): Remove.
11288 (ia64_init_builtins): Declare all builtins directly.
11289 (ia64_expand_fetch_and_op): Rewrite to be called from
11290 ia64_expand_builtin directly. Use expand_binop and co.
11291 (ia64_expand_op_and_fetch): Likewise.
11292 (ia64_expand_compare_and_swap): Likewise.
11293 (ia64_expand_binop_builtin): Remove.
11294 (ia64_expand_lock_test_and_set): New.
11295 (ia64_expand_lock_release): New.
11296 (ia64_expand_builtin): Use them.
11297 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
11298 (EXTRA_CONSTRAINT): Use it.
11299 (PREDICATE_CODES): Update.
11300 * config/ia64/ia64.md (*): Use gr_register_operand and co.
11301 (mf): Indicate that we set memory as well as use it.
11302 (fetchadd_acq_si): Show memory being modified as well.
11303 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
11304 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
11305 (lock_test_and_set_si, lock_test_and_set_di): Remove.
11306 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
11307 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
11308 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
11309 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
11310 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
11311 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
11312 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
11313 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
11314 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
11315 return type. Pretty print definitions.
11317 2000-08-24 Jim Wilson <wilson@cygnus.com>
11319 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
11320 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
11322 2000-08-24 Jason Merrill <jason@redhat.com>
11324 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
11325 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
11326 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
11327 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
11329 2000-08-24 Greg McGary <greg@mcgary.org>
11331 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
11332 and extendtab within their proper array boundaries.
11333 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
11334 for the entire array.
11336 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
11337 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
11338 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
11339 * config/fr30/fr30.c (fr30_print_operand): Likewise.
11340 * config/i386/dgux.c (output_options): Likewise.
11341 * config/i386/dgux.h (ASM_FILE_START): Likewise.
11342 * config/m88k/m88k.c (output_options): Likewise.
11343 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
11344 * config/mcore/mcore.c (mcore_output_inline_const_forced,
11345 layout_mcore_frame, handle_structs_in_regs): Likewise.
11346 * config/mips/mips.c (output_block_move): Likewise.
11347 * config/rs6000/rs6000.c (rs6000_override_options,
11348 rs6000_file_start): Likewise.
11349 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
11350 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
11351 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
11352 * builtins.c (expand_builtin_setjmp): Likewise.
11353 * expr.c (safe_from_p): Likewise.
11354 * flow.c (life_analysis): Likewise.
11355 * fold-const.c (size_int_type_wide): Likewise.
11356 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
11357 * genattrtab.c (make_length_attrs): Likewise.
11358 * genopinit.c (gen_insn): Likewise.
11359 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
11360 * global.c (global_alloc): Likewise.
11361 * local-alloc.c (find_free_reg): Likewise.
11362 * mips-tdump.c (print_symbol): Likewise.
11363 * mips-tfile.c (parse_def, parse_input): Likewise.
11364 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
11365 * stmt.c (expand_nl_goto_receiver): Likewise.
11366 * stor-layout.c (set_sizetype): Likewise.
11367 * varasm.c (decode_reg_name): Likewise.
11368 * toplev.c (decode_f_option, decode_W_option,
11369 set_target_switch, print_switch_values): Likewise.
11370 (NUM_ELEM): Remove macro.
11371 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
11373 2000-08-24 Greg McGary <greg@mcgary.org>
11375 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
11376 (MAIN_NAME_P, main_identifier_node): New macros.
11377 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
11378 * c-decl.c (start_decl, grokdeclarator, start_function,
11379 store_parm_decls, finish_function): Use MAIN_NAME_P.
11380 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
11381 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
11382 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11383 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
11385 2000-08-24 Greg McGary <greg@mcgary.org>
11387 * cppfiles.c (actual_directory): Don't write beyond `dir'
11388 when it contains "".
11389 * real.c (asctoeg): Stay within bounds of etens[][].
11391 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11393 * dependence.c (dependence_string, direction_string,
11394 dump_one_node, dump_node_dependence): Hide unused identifiers.
11395 (get_low_bound, normalize_coefficients): Match definition to
11397 (get_one_coefficient): Initialize variables `value0_is_idx' and
11399 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
11400 (ziv_test): Delete variable `idx', use parameter `sub' instead.
11401 (direction_merge): Avoid automatic aggregate initialization.
11402 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
11403 Initialize variables `dest_idx' and `src_idx'.
11404 (end_dependence_analysis): Avoid C89 style function definition.
11406 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
11408 * c-common.c (time_char_table): Don't allow width with %F.
11409 (check_format_info): Don't allow "Z" length with scanf.
11411 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
11413 * diagnostic.c (finish_diagnostic): Define.
11414 (output_do_printf): Use wrap_text instead of output_add_string.
11415 (default_print_error_function): Avoid embedded '\n'.
11417 * diagnostic.h (flush_diagnostic_buffer): Declare.
11419 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
11421 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
11423 2000-08-23 Hans-Peter Nilsson <hp@axis.com>
11425 * Makefile.in (GCC_PASSES): Add specs.
11427 2000-08-23 Jim Wilson <wilson@cygnus.com>
11429 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
11430 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
11431 EHANDLER nor UHANDLER bit is set.
11432 (__get_except_table): Likewise.
11434 2000-08-23 Nick Clifton <nickc@redhat.com>
11436 * config/arm/lib1funcs.asm: Replace upper case condition codes
11437 with lower case versions.
11439 * config/arm/arm.h (STRUCT_VALUE): Define.
11440 (STRUCT_VALUE_REGNUM): Delete.
11442 2000-08-23 Zack Weinberg <zack@wolery.cumb.org>
11444 * cpphash.h (IN_I): New flag for directive table.
11445 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
11447 (_cpp_check_directive): If -fpreprocessed, execute directives
11448 marked with IN_I. Issue no warnings in this case.
11449 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
11451 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
11453 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
11455 (check_format_info): Support printf 'I' flag; warn about it with
11458 2000-08-23 Richard Earnshaw (rearnsha@arm.com)
11460 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
11461 barrier can't be ignored by the alias analysis code.
11463 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
11465 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
11466 works inside fixincl.
11468 Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
11470 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
11471 simplify_relational_operation() unless both operands are of
11473 * cse.c (fold_rtx): Likewise.
11475 Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
11477 * rtlanal.c (rtx_unstable_p): The pic register is stable
11478 (within one function) and the actual rtx should be used
11479 when checking the registers.
11480 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
11482 * alias.c (true_dependence, write_dependence_p): Fix
11483 bug in previous patch.
11485 * i386.c (ix86_GOT_alias_set): New.
11486 (legitimize_pic_address): Use it.
11488 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
11489 only stable if its address is stable.
11490 (rtx_varies_p): An unchanging MEM can't vary if
11491 its address doesn't vary.
11493 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11495 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
11497 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
11499 * vax.h (ASM_SPEC): Pass `-J' to assembler.
11500 * x-vax-gcc: New file for bootstrapping with gcc.
11501 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
11502 * configure.in: Use x-vax-gcc with gcc.
11503 * configure: Rebuilt.
11505 Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11507 * toplev.c (rest_of_compilation): Rebuild label notes after
11508 post-reload splitting pass if new labels have been created.
11510 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11512 * diagnostic.h (output_buffer_state): New macro.
11513 * diagnostic.c (diagnostic_for_decl, sorry,
11514 default_print_error_function, output_do_verbatim,
11515 report_diagnostic, report_problematic_module): Use it.
11516 (wrap_text): Tweak.
11517 (output_format): Use wrap_text instead of maybe_wrap_text.
11519 2000-08-22 Nick Clifton <nickc@redhat.com>
11521 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
11522 Common code for ARM divide and modulus functions.
11523 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
11525 (FUNC_END): New macro: Common code at the end of the division and
11527 (THUMB_FUNCTION_START): New macro: Common code at the start of
11529 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
11531 Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11533 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
11535 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
11536 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
11539 2000-08-22 Nick Clifton <nickc@redhat.com>
11541 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
11542 restorative additions, test for bottom bits of IP being set,
11543 rather than relying upon the RORs not matching.
11546 2000-08-22 David Edelsohn <edelsohn@gnu.org>
11548 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
11549 text_section() as appropriate instead of emitting text csect
11550 pseudo-op directly.
11551 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
11552 (UNIQUE_SECTION): Define macro.
11553 (ASM_OUTPUT_SECTION_NAME): Define macro.
11554 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
11555 on AIX if debugging and -fdata-sections always.
11557 2000-08-22 Steven King <sxking@uswest.net>
11559 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
11561 (LDBL_MAX): Same here.
11563 2000-08-22 Richard Henderson <rth@cygnus.com>
11565 * flow.c (tidy_fallthru_edge): Update b->end properly.
11567 2000-08-22 Stan Cox <scox@redhat.com>
11569 * Makefile.in (OBJS): Add dependence.o.
11570 * dependence.c: New file.
11572 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
11574 * calls.c (check_sibcall_argument_overlap_1): Adjust for
11575 ARGS_GROW_DOWNWARD.
11576 (check_sibcall_argument_overlap): Likewise.
11578 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
11580 * invoke.texi (SH Options): Document -m4-nofpu,
11581 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
11582 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
11584 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
11586 * c-common.c (check_format_info): Give the 'some locales' warning
11587 for strftime %Ey rather than the unconditional 'only last 2 digits
11590 2000-08-22 Richard Henderson <rth@cygnus.com>
11592 * alias.c (init_alias_analysis): Do not register
11593 struct_value_incoming_rtx or static_chain_rtx as pointing
11596 Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
11598 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
11600 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11602 * diagnostic.h (report_problematic_module): Declare.
11603 * diagnostic.c (report_problematic_module): New function.
11604 (report_error_function): Tweak.
11606 Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11608 * stmt.c (expand_goto_internal, fixup_gotos): Only check
11609 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11611 2000-08-21 Richard Henderson <rth@cygnus.com>
11613 * flow.c (calculate_global_regs_live): Mark frame pointer live
11614 everywhere before reload.
11616 2000-08-21 Jim Wilson <wilson@cygnus.com>
11618 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
11619 INTEL_EXTENDED_IEEE_FORMAT.
11620 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
11621 clear last two bytes of output FP value.
11623 2000-08-21 Graham Stott <grahams@cygnus.co.uk>
11625 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
11627 2000-08-21 Jakub Jelinek <jakub@redhat.com>
11629 * unroll.c (loop_find_equiv_value): If ret is modified between
11630 insn and loop_start, ret might not be equivalent to reg.
11632 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11634 * c-common.c (init_dollar_format_checking,
11635 maybe_read_dollar_number, finish_dollar_format_checking): New
11637 (dollar_arguments_used, dollar_arguments_count,
11638 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
11640 (check_format_info): Support $ formats for scanf and printf width
11641 and precision. Always increment format_chars to advance past the
11642 '*' of precision, not just when the format parameters are
11643 available to check.
11645 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11647 * mips.c (block_move_loop, expand_block_move,
11648 function_arg_partial_nregs, save_restore_insns, function_prologue,
11649 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
11651 (function_arg_advance, function_arg): Match argument to format
11654 2000-08-21 Nix <nix@esperi.demon.co.uk>
11656 * gcc.c (do_spec_1): Implement %j spec flag.
11657 Remove dead comment.
11659 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
11660 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
11661 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
11662 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
11664 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
11665 writable) instead of hardcoded value.
11667 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
11669 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
11672 * gcc.c (cc1_options): Do not process -o or run the assembler if
11674 * objc/lang-spec.h: Likewise.
11676 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
11678 * fixinc/fixincl.c (fix_with_system): Pipe the output of
11679 "external" fixes through `cat', to avoid truncating the input
11680 file by redirection.
11682 2000-08-21 Jakub Jelinek <jakub@redhat.com>
11684 * config/i386/i386.md (lea_general_1): Copy insn condition to split
11686 (lea_general_2, lea_general_3): Likewise.
11688 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11690 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
11691 warnings to user code.
11693 * c-lex.c (readescape, yylex): Likewise.
11695 * c-typeck.c (store_init_value, process_init_element): Likewise
11696 (c_expand_start_case): Format.
11698 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11700 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
11702 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
11703 and linker_endian_spec to endian_spec.
11704 (ENDIAN_SPEC): Add %{EB} and %{EL}.
11705 (LINK_SPEC): Remove %{EB} and %{EL}.
11706 (ASM_SPEC): Likewise. Use %(endian_spec).
11708 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11710 * c-tree.h (flag_hosted): Move declaration from here...
11711 * c-common.h (flag_hosted): ... to here.
11712 (flag_noniso_default_format_attributes): New declaration.
11713 * c-decl.c (flag_noniso_default_format_attributes): New variable.
11714 (c_decode_option): Set it appropriately for options choosing
11715 language standard variant.
11716 * c-common.c (init_function_format_info): Only provide default
11717 format attributes if flag_hosted. Only provide the gettext
11718 formats if flag_noniso_default_format_attributes. Update
11720 (check_format_info): Disable treatment of %a as a scanf flag in
11723 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11725 * c-common.c (scan_char_table): Add 'w' to flags for all formats
11727 (check_format_info): Set 'wide' for scanf format widths. Warn for
11728 a zero scanf width. Make the check for writing into a constant
11729 object at the first level of indirection; at later levels, warn if
11730 any type qualifiers are encountered.
11732 Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
11734 * reload.c (reload_inner_reg_of_subreg): New function broken out of
11736 (push_reload): Use reload_inner_reg_of_subreg.
11737 (combine_reloads): Do not combine reloads if the input reload
11738 is a SUBREG in which the inner part will need reloading.
11740 * global.c (global_alloc): Avoid passing dumpfile argument to
11742 * toplev.c (rest_of_compilation): Likewise.
11743 * reload.h (reload): Remove dumpfile argument. Callers changed.
11744 (debug_reload, debug_reload_to_stream): Move prototypes here.
11745 * rtl.h (reload): Remove dumpfile argument.
11746 * reload.c (debug_reload): Remove prototype.
11747 (debug_reload_to_stream): Likewise.
11748 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
11751 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11753 * diagnostic.c (context_as_prefix): Export.
11754 (need_error_newline): Remove.
11755 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
11756 (error_module_changed, record_last_error_module,
11757 error_function_changed, record_last_error_function): New functions.
11758 (initialize_diagnostics): Default intialize
11759 lang_diagnostic_starter, lang_diagnostic_finalizer.
11760 (init_output_buffer): Tweak.
11761 (file_name_as_prefix): New function.
11762 (announce_function, default_print_error_function,
11763 report_error_function, set_diagnostic_context): Tweak.
11765 2000-08-21 Richard Earnshaw <rearnsha@arm.com>
11767 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
11768 condition expression.
11770 2000-08-20 Richard Henderson <rth@cygnus.com>
11772 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
11774 2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
11776 * cppinit.c (cpp_init): Set global flag when called.
11777 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
11779 Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
11781 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
11782 before `process_directive' so that newlines won't be missed
11784 (cpp_printf): Increment `print->lineno' when newline is emitted.
11786 * cppmain.c (cb_ident): Likewise.
11787 (cb_define): Likewise.
11788 (cb_undef): Likewise.
11789 (cb_include): Likewise.
11790 (cb_def_pragma): Likewise.
11791 (dump_macros_helper): Likewise.
11793 2000-08-20 Richard Henderson <rth@cygnus.com>
11795 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
11796 assigned before a loop.
11798 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
11799 (ashrsi3, lshrsi3): Likewise.
11801 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11803 * c-lang.c: #include diagnostic.h
11804 (c_tree_printer): New function.
11805 (lang_init): Initialize lang_printer.
11807 * Makefile.in (c-lang.o): Depends on diagnostic.h
11809 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11811 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
11813 * diagnostic.c (default_diagnostic_starter,
11814 default_diagnostic_finalizer): New functions.
11815 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
11816 (pedwarn, pedwarn_with_file_and_line, error,
11817 error_with_file_and_line, fatal, warning,
11818 warning_with_file_and_line): Adjust call to report_diagnostic.
11819 (report_diagnostic): Rework.
11820 (set_diagnostic_context): New function.
11822 * diagnostic.h (struct diagnostic_context): New data structure.
11823 (diagnostic_message, diagnostic_argument_list,
11824 diagnostic_file_location, diagnostic_line_location,
11825 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
11826 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
11827 (set_diagnostic_context): Declare.
11828 (report_diagnostic): Change prototype.
11830 Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
11832 * fix-header.c (main): Initialize cpplib.
11834 2000-08-19 Michael Meissner <meissner@redhat.com>
11836 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
11837 instructions in it before checking for indirect jumps.
11839 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
11840 in a indirect jump as a potential for conditional execution.
11842 * d30v.h (d30v_init_expanders): Don't declare here.
11843 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
11846 Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
11848 * cpp.texi: Add @section for assertions.
11850 Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
11852 * loop.c (scan_loop): Use CONST_CALL_P instead of
11853 checking for REG_LIBCALL / REG_RETVAL.
11855 Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
11857 * reload1.c (reload_as_needed): Accept dumpfile argument,
11858 pass it to emit_reload_insns.
11859 (emit_reload_insns): Add new dumpfile argument. If non-null
11860 then dump the reloads for each insn into the dumpfile.
11861 (reload): Pass dumpfile to reload_as_needed.
11863 * invoke.texi: Clean up linux-gnu vs linux comments.
11865 2000-08-19 Richard Henderson <rth@cygnus.com>
11867 * config/ia64/ia64.c (reg_or_5bit_operand): New.
11868 (ia64_depz_field_mask): New.
11869 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
11870 (PREDICATE_CODES): Update.
11871 * config/ia64/ia64.md: Update commentary.
11872 (depz_internal): New.
11873 (ashlsi3): Implement directly.
11874 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
11875 (ashldi3): Use shladd.
11876 * config/ia64/ia64-protos.h: Update.
11878 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11880 * toplev.c (independent_decode_option): Always process -g.
11881 Remove third argument, now unused. Adjust caller to match.
11883 2000-08-18 Richard Henderson <rth@cygnus.com>
11885 * combine.c (make_compound_operation): Break after creating
11888 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11890 * cpplib.c (cpp_register_pragma_space): Just return if the
11891 namespace is already registered.
11893 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
11895 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
11896 constant amount. Do not generate ROTL instruction.
11898 Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
11900 * config/sh/elf.h: Do not include sh/sh.h.
11901 * config/sh/rtems.h: Likewise.
11902 * config/sh/rtemself.h: Do not include sh/elf.h.
11903 * configure.in: Get them included with `tm_file's.
11904 * configure: Rebuilt.
11906 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
11907 * config/sh/sh.c (fpscr_set_from_mem): Use them.
11909 Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11911 * stor-layout.c (compute_record_type): Don't use mode of single
11912 field as mode of record if not integer mode of same type.
11914 * regmove.c (perhaps_ends_bb_p): New function.
11915 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
11916 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
11917 (fixup_match_1): Likewise.
11918 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
11919 avoid signed/unsigned warnings.
11921 * function.c (fixup_var_refs_1, case MEM): Update CODE after
11924 Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
11926 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
11927 (_cpp_trigraph_map): Declaration moved from cpplex.c
11929 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
11930 instead of 256. Use consistent test for designated initializers.
11931 (cpp_init): Initialize trigraph_map.
11932 (initialize_standard_includes, parse_option): Use memcmp
11933 instead of strncmp.
11935 * cpplex.c (init_trigraph_map): Remove.
11936 (trigraph_ok, trigraph_replace, lex_line): Refer to
11939 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
11940 (do_unassert): Remove unused "next" local.
11942 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
11944 2000-08-18 Emmanuel Marty <emarty@suntech.fr>
11946 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
11949 2000-08-17 Richard Henderson <rth@cygnus.com>
11951 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
11952 the first insn in a sequence.
11954 Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
11956 * alias.c (true_dependence, write_dependence_p): A read
11957 involving a label_ref or the constant pool doesn't create
11960 * rtl.h (unchanging): Improve documentation.
11962 2000-08-17 Rodney Brown <RodneyBrown@mynd.com>
11964 * cse.c (insert_regs): Remove unused `regno'.
11966 2000-08-17 Neil Booth <NeilB@earthling.net>
11968 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
11969 remove_dup_dirs. If qtail == brack, remove brack not
11971 (remove_dup_dir, remove_dup_dirs): New functions.
11973 2000-08-17 Neil Booth <NeilB@earthling.net>
11975 * cppinit.c (cpp_cleanup): Free include dir chains.
11976 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
11977 (do_unassert): Free the assert with _cpp_free_definition.
11978 * cppmacro.c (_cpp_free_definition): Free memory allocated for
11979 assertions. Make the node a T_VOID node.
11981 2000-08-17 Neil Booth <NeilB@earthling.net>
11983 * cppinit.c (path_include, append_include_chain):
11984 Remove 2nd parameter (struct cpp_pending *).
11985 (path_include, initialize_standard_includes, cpp_handle_option):
11986 Update callers appropriately.
11987 (cpp_handle_option): Use pend.
11989 2000-08-17 Neil Booth <NeilB@earthling.net>
11991 * cppinit.c (sort_options): Remove, put functionality in
11994 (initialize_builtins): Free memory.
11995 (cpp_start_read): Move init_IStable to cpp_init.
11997 * cpplib.h (cpp_init): New prototype.
11998 * cppmain.c (main): Call cpp_init.
12000 Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
12002 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
12003 (rtx_unstable_p, rtx_varies_p): Process vectors.
12005 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
12007 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
12008 references to GLOBAL symbols. Use LOCAL where appropriate.
12010 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12012 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
12013 use t-aix41 when host == target.
12015 2000-08-16 Richard Henderson <rth@cygnus.com>
12017 * reload.c (push_secondary_reload): Revert last change.
12018 If we use a reload_in/out pattern, make the when the same
12019 as the primary reload.
12020 (find_reloads): Likewise.
12022 2000-08-16 Manfred Hollstein <manfredh@redhat.com>
12024 * configure.in (libstdcxx-v3): Fix test.
12025 * configure: Regenerate.
12027 Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12029 * calls.c (calls_function_1, expand_call): Only test
12030 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
12031 * function.c (thread_prologue_and_epilogue_insns): Likewise.
12033 2000-08-16 Richard Henderson <rth@cygnus.com>
12035 * combine.c (simplify_shift_const): Revert previous two
12036 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
12037 before the main loop.
12039 2000-08-15 Richard Henderson <rth@cygnus.com>
12041 * combine.c (simplify_shift_const): Bound shift count when
12044 Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12046 * calls.c (ECF_SP_DEPRESSED): New macro.
12047 (calls_function_1): Treat calling sp-depressed function as alloca.
12048 (emit_call_1): Don't adjust SP if calling sp-depressed function.
12049 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
12050 If sp-depressed, ensure block saves and restores SP.
12051 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
12053 * function.c (keep_stack_depressed): New function.
12054 (thread_prologue_and_epilogue_insns): Call it.
12055 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
12056 to print DECL_OFFSET_ALIGN.
12057 Print no-force-blk and transparent-union flags properly.
12058 * stmt.c (expand_goto_internal): Don't restore stack if last block
12059 and function returns with sp depressed.
12060 (fixup_gotos): Likewise.
12061 (save_stack_pointer): New function, from code in expand_decl.
12062 (expand_decl): Call new function.
12063 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
12064 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
12065 (save_stack_pointer): New declaration.
12067 * diagnostic.c (fatal_function): New variable.
12068 (set_fatal_function): New function.
12070 * diagnostic.h (set_fatal_function): New declaration.
12072 2000-08-15 William Cohen <wcohen@redhat.com>
12074 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
12075 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
12076 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
12078 2000-08-15 Richard Henderson <rth@cygnus.com>
12080 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
12082 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12084 * arm.c (arm_function_ok_for_sibcall): New function.
12085 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
12086 * arm.md (call expanders): Don't check here for calls that can't
12089 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12091 * arm.md (splits generating cond_exec): Disable.
12093 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12095 * arm/linux-elf.h (text_section): Delete declaration.
12097 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12099 ARM support for unordered FP operations.
12100 * arm-protos.h (arm_comparison_operator): Declare.
12101 * arm.c (arm_comparison_operator): New function.
12102 (arm_select_cc_mode): Add unordered comparison codes.
12103 (get_arm_condition_code): Likewise.
12104 (arm_final_prescan_insn): Can't handle unordered jumps that can't
12105 be done in one insn.
12106 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
12107 * arm.md (all uses of comparison_operator): Replace with
12108 arm_comparison_operator.
12109 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
12111 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
12114 Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12116 * gthr-posix.h: Conditionally include <sched.h>; include
12117 <config.h> from libobjc/.
12119 2000-08-14 Richard Henderson <rth@cygnus.com>
12121 * config/i386/i386.c (legitimize_pic_address): Use Pmode
12124 2000-08-14 Richard Henderson <rth@cygnus.com>
12126 * configure.in (ia64-*): Set float_format for i386 long double.
12128 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
12129 as we would for i386 XFmode.
12130 (PUT_REAL): Likewise.
12131 (endian, ereal_atof, real_value_truncate): Likewise.
12132 (ereal_isneg, toe64, etens, make_nan): Likewise.
12133 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
12135 * config/ia64/ia64-protos.h: Update.
12136 * config/ia64/ia64.c (general_tfmode_operand): New.
12137 (destination_tfmode_operand): New.
12138 (tfreg_or_fp01_operand): New.
12139 (ia64_split_timode): New.
12140 (spill_tfmode_operand): New.
12141 (ia64_expand_prologue): Use TFmode not XFmode.
12142 (ia64_expand_epilogue): Likewise.
12143 (ia64_function_arg): Likewise.
12144 (ia64_function_arg_advance): Likewise.
12145 (ia64_return_in_memory): Likewise.
12146 (ia64_function_value): Likewise.
12147 (ia64_print_operand): Likewise.
12148 (ia64_register_move_cost): Set GR<->FR to 5.
12149 (ia64_secondary_reload_class): Get GR for TImode memory op.
12150 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
12151 (ROUND_TYPE_ALIGN): Remove.
12152 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
12153 (INTEL_EXTENDED_IEEE_FORMAT): Define.
12154 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
12155 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
12156 (MODES_TIEABLE_P): Use TFmode, not XFmode.
12157 (CLASS_MAX_NREGS): Likewise.
12158 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
12159 (PREDICATE_CODES): Update.
12160 * config/ia64/ia64.md (movti): New.
12161 (movti_internal): Use a clobber for memory alternatives.
12162 (reload_inti, reload_outti): New.
12163 (movsfcc_astep): Predicate properly.
12164 (movdfcc_astep): Likewise.
12167 (extendsftf2, extenddftf2): New.
12168 (trunctfsf2, trunctfdf2): New.
12169 (floatditf2, fix_trunctfdi2): New.
12170 (floatunsditf2, fixuns_trunctfdi2): New.
12171 (addtf3, subtf3, multf3, abstf2): New.
12172 (negtf2, nabstf2, mintf3, maxtf3): New.
12173 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
12175 (fr_spill): Use TFmode, not XFmode.
12176 (fr_restore): Likewise.
12177 * config/ia64/lib1funcs.asm (__divtf3): New.
12178 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
12180 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12182 * cse.c (fold_rtx): Avoid empty body in an if-statement.
12184 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
12185 `U' integer constant suffix.
12187 * dwarf2out.c (add_subscript_info): Avoid empty body in an
12190 * sparc/sol2.h (__enable_execute_stack): Prototype.
12192 2000-08-14 David Edelsohn <edelsohn@gnu.org>
12194 * collect2.c: Remove use of AIX import file.
12196 * longlong.h: Test ARCH_PWR not ARCH_POWER.
12198 * rs6000.c (print_operand, case 'E'): Add else.
12200 2000-08-14 Richard Henderson <rth@cygnus.com>
12202 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
12203 (movdi_symbolic): New.
12205 2000-08-14 Jim Wilson <wilson@cygnus.com>
12207 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12208 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
12209 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12212 2000-08-14 Richard Henderson <rth@cygnus.com>
12214 * expr.c (emit_group_load): Don't force constants into registers.
12215 Special case source already in the correct mode.
12217 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
12219 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
12220 * fixinc/inclhack.def: Likewise.
12221 * fixinc/mkfixinc.sh: Likewise.
12222 * configure: Regenerate.
12223 * fixinc/fixincl.x: Regenerate.
12224 * install.texi: Document equivalence of linux and linux-gnu.
12226 Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12228 * cse.c (insert_regs): Also in REG case: When finding an invalid
12229 value, and we make a new quantity, make sure that it won't be
12230 mistaken by for a valid one by mention_regs.
12232 2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de>
12234 * h8300.md: Remove obsolete peepholes.
12236 2000-08-13 Kazu Hirata <kazu@hxi.com>
12238 * invoke.texi (H8/300 Options): Fix typos.
12239 * config/h8300.c: Fix formatting.
12240 * config/h8300.h: Fix comment typos.
12241 (OVERRIDE_OPTIONS): Fix formatting.
12243 * function.c: Fix formatting.
12245 * cse.c: Fix formatting.
12247 2000-08-13 Geoff Keating <geoffk@cygnus.com>
12249 * flow.c (attempt_auto_inc): Remove unused variable `bb'.
12250 (attempt_auto_inc): Suppress parentheses warning.
12251 * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
12252 * loop.c (load_mems): Remove `u' suffix in two places.
12253 * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
12255 * config/rs6000/rs6000.h: Likewise.
12256 * config/rs6000/sol-c0.c: Prototype some functions. Remove the
12257 __eabi dummy routine.
12258 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
12259 variable `buf_ptr'.
12261 * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
12262 not put stuff in .sdata unnecessarily.
12263 (rs6000_unique_section): New function.
12264 * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
12265 * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
12267 * c-typeck.c (build_array_ref): Don't complain about non-lvalue
12268 arrays in C99. Don't try to look at DECL_REGISTER of a
12269 COMPONENT_REF. Don't complain twice about the same error.
12271 * fixinc/inclhack.def (aix_pthread): New fix.
12272 (aix_sysmachine): New fix.
12273 * fixinc/fixincl.x: Regenerate.
12275 * expr.c (expand_expr): Call convert_modes when turning a large
12276 multiply into a small one.
12278 2000-08-12 Geoff Keating <geoffk@cygnus.com>
12280 * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
12281 the tree structure an exponent rather than an explicit alignment
12282 so it doesn't overflow.
12283 (SET_DECL_OFFSET_ALIGN): New macro.
12284 * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
12285 rather than DECL_OFFSET_ALIGN.
12286 (place_field): Likewise.
12287 * expmed.c (store_bit_field): Abort on align==0 to avoid
12288 antisocial machine behaviour.
12290 2000-08-12 Richard Henderson <rth@cygnus.com>
12292 * sibcall.c (uses_addressof): Accept both addressof and
12293 current_function_internal_arg_pointer inside a mem.
12294 (optimize_sibling_and_tail_recursive_call): Fail tail recursion
12295 if current_function_uses_addressof.
12296 * stmt.c (expand_return): Kill tail recursion and HAVE_return
12299 2000-08-11 Richard Henderson <rth@cygnus.com>
12301 * config/ia64/ia64.md (addsi3): Remove expander.
12302 (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
12303 (*addsi3_shladd): New.
12305 2000-08-11 Richard Henderson <rth@cygnus.com>
12307 * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
12308 (do_restore): Likewise.
12309 (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
12310 (ia64_expand_prologue, ia64_expand_epilogue): Use them.
12311 (rtx_needs_barrier): Track actual bit manipulation for
12312 ar.unat moves, gr_spill, and gr_restore.
12313 (emit_insn_group_barriers): Special case gr_spill/gr_restore.
12314 (process_set): Don't handle varargs spills.
12315 * config/ia64/ia64.md (gr_spill): Accept cfa offset. Emit
12316 .mem.offset here instead of in process_set.
12317 (gr_restore): Likewise.
12319 2000-08-11 Richard Henderson <rth@cygnus.com>
12321 * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
12323 2000-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12325 * gcc.texi (The Configuration File): Document
12326 COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
12327 UPDATE_PATH_HOST_CANONICALIZATION.
12329 2000-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12331 * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
12332 unprototyped function pointer casts on integer constants.
12334 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
12336 * fixproto: Recognize DOS paths with drive letters as absolute paths.
12338 2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
12340 * extend.texi (Volatiles): Fix typos.
12342 2000-08-11 Kazu Hirata <kazu@hxi.com>
12344 * flow.c: Fix formatting.
12346 2000-08-11 Richard Henderson <rth@cygnus.com>
12348 * reload.c (push_secondary_reload): When invoking a reload_{in,out}
12349 pattern, always allocate a tertiary scratch register.
12351 * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
12352 (reload_inhi): Likewise.
12354 2000-08-11 Richard Henderson <rth@cygnus.com>
12356 * function.c (put_reg_into_stack): Allow type to be NULL.
12357 (schedule_fixup_var_refs): Likewise.
12358 (gen_mem_addressof): Allow decl to be NULL.
12359 (put_addressof_into_stack): Likewise.
12361 * flow.c (merge_blocks_nomove): Be more careful about
12362 locating the beginning of block A.
12364 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
12366 Thu Aug 10 22:47:09 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12371 * config.in: Reverted the check for <sched.h>.
12373 2000-08-10 Chris Demetriou <cgd@sibyte.com>
12375 * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
12376 macros define the name of CTOR and DTOR sections.
12377 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12378 DTOR_LIST_END): Change to use attributes to specify
12380 * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
12381 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12382 DTOR_LIST_END): Same as in mips/elf.h.
12384 2000-08-10 Drew Moseley <dmoseley@redhat.com>
12386 * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
12387 disabling just crt0.o.
12389 2000-08-10 Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton <nickc@cygnus.com>
12391 * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
12392 (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
12393 (EXTRA_SPECS): Add them.
12394 * arm/lib1funcs.asm: Support builds for interworking.
12395 Use macros to eliminate duplicated pieces of code.
12397 2000-08-10 Kazu Hirata <kazu@hxi.com>
12399 * h8300.c (expand_a_rotate): New.
12400 (emit_a_rotate): Likewise.
12401 (h8300_adjust_insn_length): Add support for the rotate insns.
12402 * h8300.md (rotlqi3): New.
12403 (*rotlqi3_1): Likewise.
12404 (rotlhi3): Likewise.
12405 (*rotlhi3_1): Likewise.
12406 (rotlhi3): Likewise.
12407 (*rotlhi3_1): Likewise.
12408 * h8300-proto.h: Add prototypes for expand_a_rotate and
12411 * h8300.c: Fix comment typos.
12412 (dosize): Declare the variable amount as unsigned.
12413 (get_shift_alg): Fix a comparison between signed and unsigned.
12414 (emit_a_shift): Likewise.
12415 (h8300_adjust_insn_length): Simplify the code.
12417 * c-decl.c: Fix formatting.
12419 2000-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12421 * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
12422 warning about non-traditional numeric constant suffixes.
12424 * cppexp.c (parse_number): Likewise.
12426 * invoke.texi: (-Wtraditional): Document new behavior.
12428 Thu Aug 10 00:11:04 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12430 * gthr-posix.h: Include auto-host.h. Conditionally include
12432 * configure.in: Check for the <sched.h> header file.
12433 * config.in: Added define for HAVE_SCHED_H.
12435 2000-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12437 * c-typeck.c (process_init_element): For -Wtraditional, warn about
12438 initialization of unions.
12440 * invoke.texi (-Wtraditional): Document new behavior.
12442 2000-08-09 Zack Weinberg <zack@wolery.cumb.org>
12444 * configure.in (--enable-c-cpplib): Uncomment. Use AC_DEFINE
12445 instead of extra_c_flags.
12446 (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
12447 * configure: Regenerate.
12448 * config.in: Regenerate.
12450 * cpperror.c (cpp_type2name): New function.
12451 * cpplex.c (lex_line): If we issued an error for an invalid
12452 preprocessing directive, discard that logical line.
12453 * cpplib.c (do_line): Call a hook function if the current file
12454 is renamed by #line.
12455 (do_ident): Pass the contents of the string, not the entire
12456 token, to the callback function.
12457 * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
12458 (cb.rename_file): New hook function.
12459 (cb.ident): Adjust prototype.
12460 (cpp_type2name): Prototype.
12461 * cppmacro.c (dump_macro_args): Correct precedence lossage.
12463 * cppmain.c (cb_ident): Update for changed interface.
12464 (cb_rename_file): New function.
12465 (main): Set rename callback.
12467 2000-08-09 Alexandre Oliva <aoliva@redhat.com>
12469 * caller-save.c (mark_referenced_regs): Mark partially-overwritten
12470 multi-word registers.
12472 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
12474 * c-common.c (combine_strings, check_format_info): Refer to ISO C
12475 or ISO C89 instead of ANSI C.
12476 * c-decl.c (grokdeclarator, xref_tag, finish_struct,
12477 build_enumerator, do_case): Likewise.
12478 * c-lex.c (parse_float, yylex): Likewise.
12479 * c-parse.in: Likewise.
12480 * c-typeck.c (common_type, build_array_ref, build_binary_op,
12481 build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
12482 build_c_cast, convert_for_assignment, set_init_index,
12483 set_init_label, c_expand_start_case): Likewise.
12484 * toplev.c (documented_lang_options, display_help): Likewise.
12486 2000-08-08 Kazu Hirata <kazu@hxi.com>
12488 * h8300.c: Fix formatting.
12489 * h8300.h: Likewise.
12490 * h8300.md: Likewise.
12491 (movsi_h8300hs): Fix formatting of the resulting assembly code.
12493 * reload1.c: Fix formatting.
12495 2000-08-08 Rodney Brown <RodneyBrown@mynd.com>
12497 * alpha/alpha.c (alpha_emit_xfloating_libcall):
12498 Use GEN_CALL_VALUE define.
12499 * alpha/alpha.md (untyped_call): Use GEN_CALL define.
12500 * clipper/clipper.md (untyped_call): Likewise.
12501 * dsp16xx/dsp16xx.md (untyped_call): Likewise.
12502 * fx80/fx80.md (untyped_call): Likewise.
12503 * mips/mips.md (untyped_call): Likewise.
12504 * ns32k/ns32k.md (untyped_call): Likewise.
12505 * pa/pa.md (untyped_call): Likewise.
12506 * romp/romp.md (untyped_call): Likewise.
12507 * sparc/sparc.md (untyped_call): Likewise.
12509 2000-08-08 Jason Eckhardt <jle@cygnus.com>
12511 * config/i860/i860.c (singlemove_string): Do not generate assembler
12512 pseudo instructions that must be expanded (that is, with signed
12513 constants larger than 16 bits).
12515 2000-08-08 Richard Henderson <rth@cygnus.com>
12517 * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
12518 PROP_AUTOINC at -O0. Don't collect alias info at -O0.
12519 (init_propagate_block_info): Don't kill memory stores at -O0.
12520 (mark_set_1, mark_used_regs): Likewise.
12522 2000-08-08 David Edelsohn <edelsohn@gnu.org>
12524 * rs6000.c (optimization_options): Decorate 'level' as
12526 (mask64_operand): Remove sign-extend thinko.
12527 (rldic_operand): New function.
12528 (load_multiple_operation): regno's are unsigned ints.
12529 (store_multiple_operation): Likewise.
12530 (lmw_operation): Likewise.
12531 (stmw_operation): Likewise.
12532 (includes_lshift_p): shift_mask is unsigned int.
12533 (includes_lshift64_p): New function.
12534 (addrs_ok_for_quad_peep): unsigned int reg1.
12535 (print_operand): Consistently add "else" after
12536 output_operand_lossage().
12537 (print_operand, case 'b'): Fold in case 'W'.
12538 (print_operand, case 'W'): Print rldic MB value.
12539 (output_epilogue): Update Objective-C language string.
12540 (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
12541 * rs6000.h (PREDICATE_CODES): Add rldic_operand.
12542 * rs6000.md (ashldi3): Add rldic instruction.
12543 (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
12544 (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
12547 2000-08-08 Richard Henderson <rth@cygnus.com>
12549 * config/ia64/ia64-protos.h: Remove duplicates. Update
12550 for massive code rearrangements.
12551 * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
12552 (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
12553 (ia64_local_regs, ia64_need_regstk): Remove.
12554 (ar_ccv_reg_operand): New.
12555 (ia64_gp_save_reg): New.
12556 (struct ia64_frame_info): Combine most of the size elements;
12557 add new gr save elements.
12558 (find_gr_spill): New.
12559 (next_scratch_gr_reg): New.
12560 (mark_reg_gr_used_mask): New.
12561 (ia64_compute_frame_size): Rewrite. Allocate special AR regs
12562 to GR backing store regs when possible.
12563 (ia64_initial_elimination_offset): New.
12564 (ia64_rap_fp_offset): Remove.
12565 (save_restore_insns): Remove.
12566 (setup_spill_pointers): New.
12567 (finish_spill_pointers): New.
12568 (spill_restore_mem): New.
12569 (do_spill, do_restore): New.
12570 (ia64_expand_prologue): Rewrite to use them.
12571 (ia64_expand_epilogue): Likewise.
12572 (ia64_direct_return): Update for current_frame_info changes.
12573 (ia64_function_prologue): Simplify .prologue emission. Emit
12574 .spill when needed.
12575 (ia64_setup_incoming_varargs): Don't ever emit rtl.
12576 (ia64_dbx_register_number): New.
12577 (ia64_initialize_trampoline): New.
12578 (ia64_secondary_reload_class): Request GR_REGS for integer
12579 arithmetic destined for FR_REGS.
12580 (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
12581 (ia64_mark_machine_status): Mark ia64_gp_save.
12582 (rws_access_regno): Rename from rws_access_reg; don't treat
12583 predicates specially.
12584 (rws_access_reg): New. Update all callers.
12585 (rtx_needs_barrier): Remove dead unspecs.
12586 (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
12587 (ia64_encode_section_info): Silence signed/unsigned warnings.
12588 (spill_offset, sp_offset, spill_offset_emitted): Remove.
12589 (tmp_reg, tmp_saved): Remove.
12590 (process_set): Rewrite to expect complicated bits via
12591 REG_FRAME_RELATED_EXPR.
12592 (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
12593 in the use of ar.ccv; never set RTX_UNCHANGING_P.
12594 (ia64_expand_op_and_fetch): Likewise.
12595 (ia64_expand_compare_and_swap): Likewise.
12596 (ia64_expand_builtin): Likewise.
12597 * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
12598 (FIRST_PSEUDO_REGISTER): Update.
12599 (AR_M_REGNO_P): Update.
12600 (FIXED_REGS): Don't mark three local registers as used.
12601 (EXTRA_CC_MODES): New.
12602 (SELECT_CC_MODE): New.
12603 (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
12604 (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
12605 (FRAME_GROWS_DOWNWARD): Unset.
12606 (STARTING_FRAME_OFFSET): Zero.
12607 (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
12608 (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
12609 (HARD_FRAME_POINTER_REGNUM): New.
12610 (CAN_DEBUG_WITHOUT_FP): Define.
12611 (TRAMPOLINE_TEMPLATE): Remove.
12612 (TRAMPOLINE_SIZE): Lower to 32.
12613 (TRAMPOLINE_ALIGNMENT): Lower to 64.
12614 (INITIALIZE_TRAMPOLINE): Defer to out of line function.
12615 (PREDICATE_CODES): Update.
12616 (struct machine_function): Add ia64_gp_save.
12617 * config/ia64/ia64.md: Purge unused unspecs.
12618 (movsi patterns): Allow moves to/from AR_M_REGS.
12619 (movdi patterns): Allow moves to/from p0.
12620 (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
12621 (gr_spill, gr_restore): Indicate ar.unat read/written.
12622 (nonlocal_goto): Don't pass old frame_pointer.
12623 (nonlocal_goto_receiver): Remove.
12624 (exception_receiver): New.
12625 (builtin_setjmp_setup): New.
12626 (builtin_setjmp_receiver): New.
12627 * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
12628 (__ia64_nonlocal_goto): Bundle. Don't kill r7.
12629 (__ia64_restore_stack_nonlocal): Likewise.
12630 (__ia64_trampoline): New.
12631 * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
12633 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
12635 2000-08-08 Richard Henderson <rth@cygnus.com>
12637 * frame.h (ia64_frame_state): Add my_psp.
12638 * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
12639 (__throw): Pass it in. Don't clobber r7.
12640 * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
12641 (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
12642 and nothing to do with sp.
12643 (normalize_reg_loc): Use frame->my_psp.
12644 (frame_translate): Handle frame-pointer-less functions. Set
12645 spill_base correctly, in absence of being told.
12646 (__build_ia64_frame_state): New sp argument. Fill in frame->my_sp.
12647 (__ia64_backtrace_helper): New sp argument. Use
12648 builtin_return_address instead of label addresses.
12649 (print_record) [mem_stack_v]: No size member.
12651 2000-08-08 Richard Henderson <rth@cygnus.com>
12653 * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
12655 2000-08-08 Richard Henderson <rth@cygnus.com>
12657 * tm.texi (LOCAL_REGNO): Document.
12658 * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
12659 (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
12660 * reload1.c (reload): Likewise when considering nonlocal labels.
12662 * config/ia64/ia64.h (LOCAL_REGNO): New.
12663 * config/sparc/sparc.h (LOCAL_REGNO): New.
12665 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
12667 * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
12669 2000-08-07 Nick Clifton <nickc@redhat.com>
12671 * config/mips/mips.c: Fix compile time warning messages.
12672 * config/mips/mips-protos.h: Add prototype for equality_op.
12674 * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
12676 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
12678 * mn10300.md: Use nonimmediate_operand instead of general_operand
12679 on output operands.
12681 * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
12683 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
12685 * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
12686 * sh.c (expand_block_move): Break long lines.
12687 (expand_ashiftrt, fpscr_set_from_mem): Likewise.
12688 * sh.md (mulsi3): Likewise.
12689 (movdi): Adjust spacing.
12691 2000-08-07 Richard Henderson <rth@cygnus.com>
12693 * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
12694 * expr.c (emit_group_store): Don't set it.
12696 2000-08-07 Kazu Hirata <kazu@hxi.com>
12698 * invoke.texi (Options for Debugging Your Program or GCC): Remove
12699 duplicate entries for 'w' and 'z'.
12701 * flow.c: Fix a comment typo.
12703 Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12705 * c-parse.in: Changed the language string for Objective-C to "GNU
12708 Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12710 * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
12711 to improve the Posix thread support for Objective-C.
12713 2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
12715 * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
12716 CTI_UNSIGNED_PTRDIFF_TYPE.
12717 (signed_size_type_node): Define.
12718 (unsigned_ptrdiff_type_node): Define.
12719 * c-decl.c (init_decl_processing): Create the
12720 signed_size_type_node and unsigned_ptrdiff_type_node types.
12721 * c-common.c (T_SC): Define.
12724 (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for
12725 %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for
12727 (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for
12728 %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the
12729 flags for %c, %s and %[.
12730 (check_format_info): Only allow leniency for signedness of targets
12731 of character pointers (when pedantic) for formats flagged with
12732 "c", so for strings but not for %hh formats. When pedantic, don't
12733 allow character pointers to substitute for void pointers if a
12734 second level of indirection is present.
12736 2000-08-06 Kazu Hirata <kazu@hxi.com>
12738 * invoke.texi (Options for Debugging Your Program or GCC): Update
12739 the names of dump files.
12741 * h8300.c (dosize): Rearrange code for conciseness.
12742 (split_adds_subs): Likewise.
12744 * loop.c: Fix formatting.
12746 * dwarf2out.c: Fix formatting.
12748 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
12750 * expr.c: Fix formatting.
12752 2000-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12754 * rs6000.c (rs6000_maybe_dead): Prototype.
12756 2000-08-06 Richard Henderson <rth@cygnus.com>
12758 * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
12759 HAVE_nonlocal_goto as well.
12760 * config/i960/i960.md (nonlocal_goto): Don't do it here.
12761 * config/pj/pj.md (nonlocal_goto): Likewise.
12763 2000-08-07 Michael Hayes <mhayes@cygnus.com>
12765 * loop.c (try_swap_copy_prop): New function.
12766 (load_mems): Rename copies to load_copies and add new regset
12767 store_copies. Check for sets of shadow registers and mark
12768 in store_copies. Call try_swap_copy_prop for registers
12769 marked in store_copies.
12771 Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12773 * objc/objc-act.c: New command line option -fconstant-string-class
12774 to allow specifying a user defined constant string class,
12775 different from NXConstantString.
12777 * toplev.c: Moved the Objective-C specific options to
12778 objc/lang-options.h.
12780 * objc/lang-options.h: Moved the Objective-C specific options from
12781 toplev.c. Added -fconstant-string-class.
12783 2000-08-05 Chris Demetriou <cgd@sibyte.com>
12785 * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
12786 DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
12787 __CTOR_LIST__ from func_ptr array to just func_ptr, to
12788 avoid extra alignment imposed on arrays.
12789 * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
12790 DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
12792 * mips.h: Clean up comments and spacing near MASKs.
12793 (TARGET_UNIX_ASM): Delete.
12794 (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
12795 MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
12798 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
12800 * c-common.c (print_char_table): Add entries for the X/Open '
12801 format flag (print decimals with locale's thousands grouping
12802 character). Make %C expect wint_t.
12803 (check_format_info): If pedantic, warn when the %n$ operand
12804 number form is used. Allow for the ' flag; warn about it if
12807 2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
12809 * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
12810 type is a float mode, cfun->decl's return type is not, and
12811 TARGET_FLOAT_RETURNS_IN_80387.
12813 2000-08-04 Andreas Schwab <schwab@suse.de>
12815 * cppmain.c (cb_def_pragma): Skip the first two tokens from the
12816 token list, which are always `#' and `pragma'.
12818 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
12820 * tree.c (tree_expr_nonnegative_p): Move to...
12821 * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
12822 (rtl_expr_nonnegative_p): New.
12823 * tree.h: Add prototype for rtl_expr_nonnegative_p.
12825 * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
12826 CONST_DOUBLE_CHAIN: Move to...
12827 * rtl.h: ...here. Use XCINT/XCEXP.
12829 * Makefile.in: Remove toplev.o from OBJS. Add rule to make
12830 libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
12831 variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
12834 * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
12836 2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12838 * config/c4x/c4x.md (return_indirect_internal): New.
12839 * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
12841 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
12843 * c-common.c (time_char_table): Mark up formats added in C99 and
12844 make other corrections. %D and %g were added in C99. %Og is an
12845 extension. %EX is permitted. %R, %T, %n, %r, %t were added in
12846 C99. %e was added in C99. %Oj is an extension. %G and %z are in
12847 C99 rather than GNU extensions, but %OG and %Oz are extensions.
12848 %h was added in C99. %C was added in C99. %OY and %OC are
12849 extensions. Add the C99 format %F.
12850 (check_format_info): If pedantic and not in C99 mode, warn for C99
12851 formats, %E and %O.
12853 Fri Aug 4 23:01:58 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12855 * function.c (schedule_fixup_var_refs): New function, broken out
12856 of put_reg_into_stack.
12857 (put_reg_into_stack): Use it.
12858 (put_var_into_stack): In CONCAT case, fixup up references for
12859 components only after fixing up references to the whole concat.
12861 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
12863 * alias.c (mark_constant_function): Use INSN_P.
12864 (init_alias_analysis): Likewise.
12865 * combine.c (combine_instructions): Use INSN_P.
12866 (can_combine_p): Likewise.
12867 (try_combine): Likewise.
12868 (distribute_notes): Likewise.
12869 (distribute_links): Likewise.
12870 * cse.c (cse_around_loop): Use INSN_P.
12871 (invalidate_skipped_block): Likewise.
12872 (cse_set_around_loop): Likewise.
12873 (cse_end_of_basic_block): Likewise.
12874 (delete_trivially_dead_insns): Likewise.
12875 * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
12876 (unshare_all_rtl_1): Likewise.
12877 (next_cc0_user): Likewise.
12878 (try_split make_insn_raw): Likewise.
12879 (remove_unnecessary_notes): Likewise.
12880 * final.c (shorten_branches): Use INSN_P.
12881 (leaf_renumber_regs): Likewise.
12882 (leaf_renumber_regs_insn): Likewise.
12883 * flow.c (find_label_refs): Use INSN_P.
12884 (verify_wide_reg): Likewise.
12885 (notice_stack_pointer_modification): Likewise.
12886 (count_or_remove_death_notes): Likewise.
12887 (verify_flow_info): Likewise.
12888 (clear_log_links): Likewise.
12889 * function.c (fixup_var_refs_insns): Use INSN_P.
12890 (compute_insns_for_mem): Likewise.
12891 * gcse.c (alloc_gcse_mem): Use INSN_P.
12892 (compute_sets): Likewise.
12893 (compute_hash_table): Likewise.
12894 (classic_gcse): Likewise.
12896 (insert_insn_end_bb): Likewise.
12897 (delete_null_pointer_checks_1): Likewise.
12898 * global.c (expand_preferences): Use INSN_P.
12899 (build_insn_chain): Likewise.
12900 * graph.c (node_data): Use INSN_P.
12901 * haifa-sched.c (priority): Use INSN_P.
12902 (rm_line_notes): Likewise.
12903 (rm_other_notes): Likewise.
12904 (find_insn_reg_weight): Likewise.
12905 (init_target_units): Likewise.
12906 (schedule_block): Likewise.
12907 (compute_block_forward_dependences): Likewise.
12908 (debug_dependencies): Likewise.
12909 (set_priorities): Likewise.
12910 * integrate.c (function_cannot_inline_p): Use INSN_P.
12911 (save_parm_insns): Likewise.
12912 (copy_insn_list): Likewise.
12913 * jump.c (mark_all_labels): Use INSN_P.
12914 (never_reached_warning): Likewise.
12915 * lcm.c (optimize_mode_switching): Use INSN_P.
12916 * local-alloc.c (validate_equiv_mem): Use INSN_P.
12917 (memref_used_between_p): Likewise.
12918 (update_equiv_regs): Likewise.
12919 (block_alloc): Likewise.
12920 (no_conflict_p): Likewise.
12921 * loop.c (scan_loop): Use INSN_P.
12922 (find_and_verify_loops): Likewise.
12923 (count_loop_regs_set): Likewise.
12924 (loop_reg_used_before_p): Likewise.
12925 (strength_reduce): Likewise.
12926 (recombine_givs): Likewise.
12927 (check_dbra_loop): Likewise.
12928 (load_mems): Likewise.
12929 (try_copy_prop): Likewise.
12930 * print-rtl.c (print_rtx): Use INSN_P.
12931 * recog.c (find_single_use): Use INSN_P.
12932 * reg-stack.c (stack_regs_mentioned): Use INSN_P.
12933 (next_flags_user): Likewise.
12934 (swap_rtx_condition): Likewise.
12935 * regmove.c (mark_flags_life_zones): Use INSN_P.
12936 (optimize_reg_copy_1): Likewise.
12937 (optimize_reg_copy_2): Likewise.
12938 (optimize_reg_copy_3): Likewise.
12939 (reg_is_remote_constant_p): Likewise.
12940 (fixup_match_2): Likewise.
12941 (regmove_optimize): Likewise.
12942 (fixup_match_1): Likewise.
12943 * regrename.c (build_def_use): Use INSN_P.
12944 (replace_reg_in_block): Likewise.
12945 (consider_use): Likewise.
12946 * reload.c (find_equiv_reg): Use INSN_P.
12947 * reload1.c (reload): Use INSN_P.
12948 (maybe_fix_stack_asms): Likewise.
12949 (calculate_needs_all_insns): Likewise.
12950 (reload_as_needed): Likewise.
12951 (emit_output_reload_insns): Likewise.
12952 (delete_address_reloads_1): Likewise.
12953 (reload_cse_regs_1): Likewise.
12954 (reload_combine): Likewise.
12955 (reload_cse_move2add): Likewise.
12956 * reorg.c (redundant_insn): Use INSN_P.
12957 (dbr_schedule): Likewise.
12958 * resource.c (find_dead_or_set_registers): Use INSN_P.
12959 (mark_target_live_regs): Likewise.
12960 * rtlanal.c (reg_used_between_p): Use INSN_P.
12961 (reg_referenced_between_p): Likewise.
12962 (reg_set_between_p): Likewise.
12963 (reg_set_p): Likewise.
12964 (single_set): Likewise.
12965 (multiple_sets): Likewise.
12966 (find_last_value): Likewise.
12967 (reg_set_last): Likewise.
12968 (find_reg_note): Likewise.
12969 (find_regno_note): Likewise.
12970 * sibcall.c (sequence_uses_addressof): Use INSN_P.
12971 * simplify-rtx.c (cselib_process_insn): Use INSN_P.
12972 * ssa.c (find_evaluations): Use INSN_P.
12973 (rename_block): Likewise.
12974 (rename_equivalent_regs): Likewise.
12975 * unroll.c (loop_find_equiv_value): Use INSN_P.
12976 (set_dominates_use): Likewise.
12977 * varasm.c (mark_constant_pool): Use INSN_P.
12978 (mark_constants): Likewise.
12979 * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
12980 (alphaev4_next_group): Likewise.
12981 (alphaev5_next_group): Likewise.
12982 * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
12983 (c4x_rptb_rpts_p): Likewise.
12984 * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
12985 * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
12986 (rs6000_adjust_priority): Likewise.
12987 * config/sh/sh.c (sh_loop_align): Use INSN_P.
12988 (machine_dependent_reorg): Likewise.
12989 (split_branches): Likewise.
12990 * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
12992 Fri Aug 4 11:43:49 2000 John Wehle (john@feith.com)
12994 * combine.c (recog_for_combine): Remove the old notes
12995 prior to attempting to recognize the new pattern.
12996 (distribute_notes): Ignore REG_NONNEG notes.
12998 2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
13000 * varasm.c (output_constructor): Add .align 0 for packed vars.
13002 2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
13004 * configure.in: Use default thread_file even when enable_threads is
13005 yes or dce because hpux10.20 pa port uses MULTILIB implementation.
13006 * configure: Rebuilt.
13008 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
13010 2000-08-04 Donn Terry (donnte@microsoft.com)
13012 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
13014 2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13016 * i386/x-djgpp: Delete code that conditionally modifies target_alias.
13017 Delete code that conditionally modifies 'version'.
13018 Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
13019 * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
13020 * gcc.c (main): Use it.
13021 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
13022 * prefix.c (update_path): Use it.
13023 * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
13024 (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
13025 (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
13027 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
13028 (SUBTARGET_SWITCHES): Adjust.
13029 (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
13031 (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
13033 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13035 * c-common.h (flag_isoc94): Declare.
13036 * c-decl.c (flag_isoc94): Define.
13037 (c_decode_option): Set flag_isoc94 as appropriate.
13038 * c-common.c (T_PD, T_IM, T_UIM): Define.
13039 (format_char_info): Add tlen and jlen.
13040 (print_char_table): Add entries for %t and %j. Allow %zn. Allow
13042 (scan_char_table): Add entries for %t and %j. Allow %F. Allow
13044 (time_char_table): Add NULL entries for %t and %j.
13045 (check_format_info): Allow for %t and %j. Warn for %F if pedantic
13046 and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
13047 Warn for printf %lf if pedantic and not C99. Don't warn for empty
13048 precision. Allow precision argument to be unsigned int. If
13049 pedantic, warn for %p passed an argument not a pointer to possibly
13050 qualified void or a possibly qualified character type, and for
13051 pointer targets of the wrong sign, except for character pointers.
13053 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13055 * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
13056 * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
13057 (wint_type_node): Define.
13058 * c-decl.c (WINT_TYPE): Define.
13059 (init_decl_processing): Create the wint_type_node type.
13060 * c-common.c (T_WI): Define.
13061 (print_char_table): Use T_WI for %lc format.
13063 2000-08-04 Bruce Korb <bkorb@gnu.org>
13065 * fixinc/: Verified that the MSDOS patch does not break
13066 the UNIX functionality and applied the next three patches
13069 2000-07-28 Eli Zaretskii <eliz@is.elta.co.il>
13071 * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
13072 output file with the temporary one by appending ".X" to generate
13073 the temporary fuile's name. If the output file already has an
13074 extension, replace it with ".X".
13076 * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
13077 not $DESTDIR, to find applyfix. Use sprintf instead of snprintf;
13078 reallocate the command buffer while copying the command-line
13079 argument. Redirect the output directly to the temporary file,
13080 instead of going through another temporary file.
13081 (process): Close the temporary file before unlinking it.
13082 (machine_matches) [__MSDOS__]: If the machine doesn't match, set
13083 the FD_SKIP_TEST flag. Pay attention to the FD_MACH_IFNOT flag.
13084 (run_compiles): Pass p_fixd argument to machine_matches, as it
13087 * fixinc/fixincl.sh: Export ORIGDIR. If $DJDIR is set in the
13088 environment, assume there are no symlinks in the include
13089 directory. When cleaning up the DONE files, look for them
13090 case-insensitively. Don't try to remove symlinks if they aren't
13093 * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
13094 all callers changed. Declare pz "const char *", to avoid compiler
13097 * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
13098 Change prototype of make_raw_shell_str.
13100 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il>
13102 * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
13103 (initialize) [__MSDOS__]: Use tempnam.
13104 (initialize): Don't use SIGPIPE if it is not defined.
13106 * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
13109 2000-07-25 Bruce Korb <bkorb@gnu.org>
13111 * fixinc/fix*.[ch]: substantially reworked to make it possible
13112 to run this program without using fork(2) or pipe(2) (i.e. in
13113 a DOS environment).
13115 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13117 * cppdefault.h (WINT_TYPE): Define.
13118 * cppinit.c (builtin_array): Define __WINT_TYPE__.
13119 * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
13120 * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
13122 Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
13124 * (mips_legitimate_address_p): Don't allow register+offset
13125 if the offset is large and negative, and we are compiling
13126 for 64 bit registers.
13128 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13130 * gencodes.c (main): Define CODE_FOR_nothing as the last possible
13131 insn_code_number + 1.
13133 2000-08-04 Kazu Hirata <kazu@hxi.com>
13135 * h8300.c (function_prologue): Rearrange code for conciseness.
13136 (function_epilogue): Likewise.
13137 * h8300.h (OK_FOR_U): Fix formatting.
13139 * cse.c: Fix a comment typo. Fix formatting.
13141 2000-08-03 Richard Henderson <rth@cygnus.com>
13143 * config/i386/i386.md (return_indirect_internal): New.
13144 * config/i386/i386.c (ix86_expand_epilogue): Use it.
13146 2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
13148 * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
13150 (lex_line): Glue @ onto the beginning of identifiers and
13151 string constants, in Objective-C mode.
13152 (output_token, spell_token): Handle CPP_OSTRING.
13153 (can_paste, maybe_paste_with_next): Handle pasting @ onto the
13154 beginning of a NAME or a STRING, in objc mode.
13156 * cpplib.c (get_define_node): Do not permit identifiers that
13157 begin with @ to be #defined.
13158 * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
13159 * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
13161 * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
13162 * c-tree.h (build_objc_string): Delete prototype.
13163 * objc/objc-tree.def: Delete OBJC_STRING_CST.
13164 * c-lex.c (yylex): Use build_string for all three kinds of strings.
13166 * c-parse.in, objc/objc-act.c: Update commentary.
13168 2000-08-03 Mark Mitchell <mark@codesourcery.com>
13170 * extend.texi: Fix typo in last change.
13172 * extend.texi: Add commentary on statement-expressions and their
13173 interactions with C++.
13175 2000-08-03 Nick Clifton <nickc@cygnus.com>
13177 * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
13178 * dwarf.h (LANG_JAVA): Change value to 0x000b.
13180 2000-08-03 Anthony Green <green@cygnus.com>
13182 * dwarf2out.c (gen_compile_unit_die): Add java language support.
13183 (add_bound_info): Check for java language.
13184 (is_java): New function.
13185 * dwarfout.c (output_compile_unit_die): Ditto.
13186 * dwarf.h (dwarf_source_language): Add java source language type.
13187 * dwarf2.h (dwarf_source_language): Ditto.
13189 Thu Aug 3 20:32:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
13191 * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
13194 * i386.c (ix86_expand_branch): Mode of comparison in
13195 IF_THEN_ELSE is VOIDmode.
13197 Thu Aug 3 10:05:53 2000 Akiko Matsushita <matusita@sra.co.jp>
13199 * gengenrtl.c, rtl.c: Avoid #elif.
13201 2000-08-03 Michael Poole <poole@troilus.org>
13203 * tm.texi (Register Classes): Clarify order of sub-initializers
13204 in REG_CLASS_CONTENTS.
13206 Thu Aug 3 15:53:03 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13208 From SAITOH Masanobu:
13209 * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
13211 2000-08-03 David Billinghurst <David.Billinghurst@riotinto.com.au>
13213 * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
13214 is not supported by tradcpp and isn't actually needed for cygwin.
13216 2000-08-03 Kazu Hirata <kazu@hxi.com>
13218 * h8300.c: Fix a comment typo.
13219 * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
13221 * jump.c: Fix formatting.
13223 * toplev.c: Fix formatting.
13225 Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
13227 * flow.c (find_auto_inc): Verify that we've got a REG before
13228 peeking at its regno. Fail, don't abort if we can't find
13229 the increment of the desired register.
13231 * pa.md (shadd height reduction patterns/splitters): Remove.
13233 2000-08-02 Jim Wilson <wilson@cygnus.com>
13235 * config/ia64/ia64-protos.h (flag_ssa): Declare.
13236 * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
13238 2000-08-02 Mark Mitchell <mark@codesourcery.com>
13240 * dce.c: Remove all uses of assert.
13241 * dwarf2out.c: Likewise.
13242 * dwarfout.c: Likewise.
13245 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13247 * gcc.h (lang_specific_driver): Constify second argument.
13248 * gcc.c (translate_options, process_command, main): Likewise.
13249 Constify variables to match. Cast second argument to
13252 * cppspec.c, gccspec.c: Adjust type of second argument to
13253 lang_specific_driver, and update code as necessary.
13255 2000-08-02 Jakub Jelinek <jakub@redhat.com>
13257 * loop.c (scan_loop): Ensure update_end label does not
13258 go away until reg_scan_update is run.
13260 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13262 * c-common.h: Prototype min_precision and c_build_qualified_type here...
13263 * c-tree.h: ... not here.
13264 * errors.h: Prototype fancy_abort.
13266 * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
13267 HOST_BITS_PER_WIDE_INT == 64 ifdef block.
13268 * regrename.c (regrename_optimize): Make control flow explicit.
13269 (replace_reg_in_block): Initialize reg_use to 0.
13271 * i386.c (legitimate_address_p): Rename error label to
13272 report_error to avoid namespace clash.
13274 2000-08-02 Kazu Hirata <kazu@hxi.com>
13276 * fold-const.c: Fix formatting.
13278 Wed Aug 2 16:26:15 MET DST 2000 Jan Hubicka <jh@suse.cz>
13280 * i386.c (legitimate_address_p): Accept other bases than
13281 pic_offset_table_rtx for GOTOFF constructs.
13283 Wed Aug 2 15:59:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
13285 * i386.md (shift to lea splitter): Use const_int_operand.
13287 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13289 * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
13290 cppspec.c: Do not use 'legal' or 'illegal' in error messages
13293 * cppmain.c (cb_define, cb_undef): Don't generate any output
13294 if not done_initializing.
13295 * cpplex.c (maybe_paste_with_next): When the token after a ##
13296 is an omitted rest argument, only delete the token before it
13297 if that token is a comma. Do not warn about bogus token
13298 pastes for , ## rest_arg.
13300 * cpp.texi: Update.
13301 * cpp.1: Regenerate.
13303 2000-08-02 Fred Fish <fnf@be.com>
13305 * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
13306 when user gives -p option. Add init_term_dyn.o for BeOS 5.0
13309 * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
13310 Be directories to search path.
13312 Remove support for __declspec(dllimport) and __declspec(dllexport).
13313 This is leftover cruft from the earlier BeOS gcc port when BeOS
13314 used Microsoft's PE object file format.
13315 * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
13316 * config/i386/t-beos (winnt.o): Remove Makefile frag.
13317 * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
13318 (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
13319 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
13320 (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
13321 (REDO_SECTION_INFO_P): Remove.
13322 (ASM_EXPORT_DECL): Remove.
13323 (ASM_DECLARE_FUNCTION_NAME): Remove.
13324 (ASM_DECLARE_OBJECT_NAME): Remove.
13325 (ASM_OUTPUT_ALIGNED_COMMON): Remove.
13326 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
13327 (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
13328 (STRIP_NAME_ENCODING): Remove.
13330 Remove support for obsolete version of BeOS that is no longer
13332 * configure.in (i*86-*-beospe*): Remove.
13333 * config/i386/beos-pe.h: Remove.
13335 2000-08-01 Jeffrey Oldham <oldham@codesourcery.com>
13336 Mark Mitchell <mark@codesourcery.com>
13338 * Makefile.in (OBJS): Added dce.o.
13339 (ssa.o): Updated target to include ssa.h.
13340 (flow.o): Likewise.
13341 (toplev.o): Likewise.
13342 (dce.o): Created target.
13343 * basic-block.h: Added comments.
13344 (INVALID_BLOCK): Added definition.
13345 (connect_infinite_loops_to_exit): Added declaration.
13346 Moved SSA declarations to ssa.h.
13347 * flow.c: Added inclusion of ssa.h.
13348 (struct depth_first_search_dsS, depth_first_search_ds):
13350 (compute_immediate_postdominators): Added definition.
13351 (connect_infinite_loops_to_exit): Likewise.
13352 (flow_dfs_compute_reverse_init): Likewise.
13353 (flow_dfs_compute_reverse_add_bb): Likewise.
13354 (flow_dfs_compute_reverse_execute): Likewise.
13355 (flow_dfs_compute_reverse_finish): Likewise.
13356 * rtl.h (rtx/in_struct): Added use to determine insn necessity.
13357 (LABEL_P): Added definition.
13358 (JUMP_P): Likewise.
13359 (NOTE_P): Likewise.
13360 (BARRIER_P): Likewise.
13361 (JUMP_TABLE_DATA_P): Likewise.
13362 (INSN_DEAD_CODE_P): Likewise.
13363 * ssa.c: Replaced inclusions with ssa.h inclusion.
13364 (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
13365 (rename_registers): Removed unnecessary variables.
13366 * ssa.h: Created by moving declarations from ssa.c and
13368 * timevar.def: Defined TV_DEAD_CODE_ELIM.
13369 * toplev.c: Added ssa.h inclusion.
13370 (dump_file_index): Added DFI_dce.
13371 (dump_file): Added "dce" entry.
13373 (f_options): Added dce entry.
13374 * invoke.texi: Document -fdce. Emphasize experimental status of
13378 2000-08-01 Zack Weinberg <zack@wolery.cumb.org>
13380 * cpperror.c (v_message): Split into _cpp_begin_message and
13381 v_message macro. All callers updated.
13382 (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
13385 * cppfiles.c (cpp_syshdr_flags): New function.
13386 (read_include_file): Don't call cpp_output_tokens. Call
13388 * cppinit.c (dump_macros_helper): Moved to cppmain.c.
13389 (cpp_reader_init): Don't initialize token_buffer. Call
13390 _cpp_init_internal_pragmas.
13391 (cpp_cleanup): Don't clear token_buffer.
13392 (cpp_start_read): Don't worry about output from -D processing.
13393 Don't call cpp_output_tokens.
13394 (cpp_finish): Don't dump macros here. Don't call
13396 * cppmacro.c (_cpp_dump_definition): Rename
13397 cpp_dump_definition. Write directly to a FILE *.
13398 (dump_funlike_macro): Delete.
13399 (dump_macro_args): New.
13401 * cpplex.c (TOKEN_LEN): Convert to inline function.
13402 (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
13403 cpp_scan_line, _cpp_dump_list): Delete.
13404 (cpp_printf, cpp_output_list): New.
13405 (output_line_command): Don't worry about entering or leaving files.
13406 (cpp_scan_buffer): Just output each token as we hit it.
13407 (process_directive): Don't call cpp_output_tokens.
13408 (_cpp_glue_header_name): Don't use token_buffer.
13409 (output_token, dump_param_spelling): Write directly to a FILE *.
13411 * cpplib.c (pass_thru_directive, dump_macro_name,
13412 pragma_dispatch, do_pragma_gcc): Delete.
13413 (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
13414 do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
13416 (do_error, do_warning, pragma_dependency): Call
13417 _cpp_begin_message, then cpp_output_list.
13418 (cpp_register_pragma, cpp_register_pragma_space,
13419 _cpp_init_internal_pragmas): New.
13420 (do_pragma): Walk the pragmas table here.
13421 (do_pragma_once, do_pragma_poison, do_pragma_system_header,
13422 do_pragma_dependency): Return void.
13423 (do_pragma_implementation): Moved to cppmain.c.
13425 * cpplib.h: Update prototypes.
13426 (struct cpp_reader): Remove printer, token_buffer,
13427 token_buffer_size, and limit. Add struct cb, and pragmas.
13428 (struct cpp_printer): Remove last_id and written.
13429 (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
13430 CPP_ADJUST_WRITTEN): Delete.
13431 * cpphash.h: Update prototypes.
13432 (ufputs): New wrapper.
13434 * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
13435 cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
13436 (main): Set up callbacks. Register #pragma implementation.
13437 Dump macros from here.
13439 2000-08-01 Geoff Keating <geoffk@cygnus.com>
13441 * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
13442 * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
13443 * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
13444 insns if they have a REG_MAYBE_DEAD note attached.
13445 * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
13446 (rs6000_emit_load_toc_table): TOC loads may go dead.
13448 2000-08-01 Jim Wilson <wilson@cygnus.com>
13450 * config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
13451 type exists before using it. Use number of words as alignment
13453 (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
13454 ia64_va_arg): Propagate ia64_function_args changes here.
13456 2000-08-01 Richard Henderson <rth@cygnus.com>
13458 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
13459 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
13461 2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
13463 From Joern Rennecke:
13464 * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
13465 * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
13466 unless TARGET_SH3E is set.
13467 * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
13469 * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
13470 (ashlsi3_std): New pattern.
13471 (ashlsi3 expander): Use it for TARGET_SH3.
13472 * sh.c (gen_ashift): Use it instead of ashlsi3_k.
13474 Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13476 * loop.c (canonicalize_condition): Use destination, not source to
13477 determine SET's mode.
13479 2000-07-31 Mark Mitchell <mark@codesourcery.com>
13481 * flow.c (clear_log_links): Fix typo.
13483 Mon Jul 31 22:19:24 2000 Jeffrey A Law (law@cygnus.com)
13485 * loop.c (check_dbra_loop): Make change from July 17, 2000 work
13486 on targets which need more than one insn for a compare/cbranch
13489 2000-07-31 Jim Wilson <wilson@cygnus.com>
13491 * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
13492 when computing offset.
13494 Mon Jul 31 20:35:50 2000 Denis Chertykov <denisc@overta.ru>
13496 * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
13498 2000-07-31 Geoff Keating <geoffk@cygnus.com>
13500 * flow.c (clear_log_links): Nuke global_live_at_start and
13501 global_live_at_end data, since if the log_links stuff is invalid
13502 so is global_live_at_*.
13504 2000-07-31 Richard Henderson <rth@cygnus.com>
13506 * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
13508 2000-07-31 Jakub Jelinek <jakub@redhat.com>
13510 * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
13511 (_cpp_get_token): Don't macro expand a just pasted token if it
13512 was pasted at no_expand_level.
13514 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13516 * cppmacro.c (find_param, count_params, save_expansion):
13517 Permit 'defined' as a macro parameter name.
13519 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13521 * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
13522 xcpp to cpp throughout.
13523 (native): Remove unnecessary dependency on cpp.
13525 * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
13526 tradcpp to tradcpp0.
13527 (.i spec): Add missing output-file spec to cc1 command line.
13528 * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
13530 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13532 * c-decl.c (mesg_implicit_function_declaration): Init to -1.
13533 (implicit_decl_warning): New function.
13534 (implicitly_declare): Use it.
13535 * c-typeck.c (build_external_ref): Use implicit_decl_warning
13536 to complain about implicit decls of builtins.
13538 * c-lang.c (lang_init): Set mesg_implicit_function_declaration
13539 based on pedantic && flag_isoc99, if not already set.
13540 * c-tree.h: Declare mesg_implicit_function_declaration.
13541 Prototype implicit_decl_warning.
13543 2000-07-30 Jeffrey D. Oldham <oldham@codesourcery.com>
13545 * Makefile.in (ssa.o): Updated header files in dependences.
13546 * basic-block.h: Added compute_immediate_postdominators declaration.
13547 * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
13549 * flow.c (compute_immediate_dominators): Updated comment.
13550 (compute_immediate_postdominators): Added definition.
13551 * rtl.h (HARD_REGISTER_P): Added definition.
13552 * ssa.c: Include additional header files.
13553 (assert): Added definition.
13554 (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
13555 include select hard registers.
13556 (ssa_rename_to_insert): Likewise.
13557 (ssa_rename_from_initialize): Likewise.
13558 (ssa_rename_from_lookup): Likewise.
13559 (original_register): Likewise.
13560 (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
13561 include select hard reigsters.
13562 (ssa_rename_from_traverse): Likewise.
13563 (ssa_rename_from_free): Likewise.
13564 (ssa_rename_from_print): Likewise.
13565 (ssa_rename_from_print_1): Likewise.
13566 (ssa_rename_from_hash_function): Likewise.
13567 (ssa_rename_from_equal): Likewise.
13568 (ssa_rename_from_delete): Likewise.
13569 (simplify_to_immediate_dominators): Removed in favor of
13570 flow.c:compute_immediate_dominators.
13571 (find_evaluations_1): Modified to work with hard registers.
13572 (insert_phi_node): Likewise.
13573 (insert_phi_nodes): Likewise.
13574 (struct rename_set_data): Updated prev_reg comment.
13575 (create_delayed_rename): Modified to work with hard registers.
13576 (RENAME_NO_RTX): Updated comment.
13577 (apply_delayed_renames): Modified to work with hard registers.
13578 (rename_insn_1): Likewise and added handling of CLOBBER rtls.
13579 (rename_block): Updated to use revised ssa_rename_to interface.
13580 (rename_registers): Updated to use revised ssa_rename_to and
13581 ssa_rename_from interface.
13582 (convert_to_ssa): Revised to use compute_immediate_dominators and
13583 deal with hard registers.
13584 (make_regs_equivalent_over_bad_edges): Modified to work with hard
13585 registers. Added check for illegal unification of hard register.
13586 (make_equivalent_phi_alternatives_equivalent): Modified to work
13587 with hard registers.
13588 (compute_conservative_reg_partition): Likewise.
13589 (coalesce_if_unconflicting): Modified to work with hard registers
13590 and check for conflicting hard registers.
13591 (mark_phi_and_copy_regs): Revised loop to work only on pseudo
13593 (rename_equivalent_regs_in_insn): Modified to work with hard
13595 (record_canonical_element_1): Added definition.
13596 (check_hard_regs_in_partition): Added definition.
13597 (convert_from_ssa): Added data structure deallocation and check
13598 for illegal hard register unification.
13599 (conflict_hard_regs_p): Added definition.
13600 * toplev.c (rest_of_compilation): Added comment.
13602 2000-07-31 Anthony Green <green@redhat.com>
13604 * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
13606 2000-07-31 Jason McMullan <jmcmullan@linuxcare.com>
13608 * builtins.c (expand_builtin_apply): Don't defer pop during
13611 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13613 * calls.c (combine_pending_stack_adjustment_and_call): Only use
13614 preferred_unit_stack_boundary when it is > 1.
13616 2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
13618 * c-common.c (init_function_format_info): Add C99 format functions
13621 * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
13622 void' or 'register void' as being the special case of 'void' alone
13623 in a parameter list.
13625 * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
13626 discarding qualifiers into a plain warning.
13628 2000-07-31 Kazu Hirata <kazu@hxi.com>
13630 * combine.c: Fix formatting.
13632 * h8300.md: Fix formatting.
13634 * local-alloc.c: Fix formatting.
13636 * h8300.c (get_shift_alg): Remove the variable alg.
13637 (emit_a_shift): Rearrange code to improve readability.
13639 * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
13641 * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
13642 HImode on all architectures and a combination of HImode and SImode
13643 on H8/300H and H8/S.
13645 * h8300.c (split_adds_subs): Rearrange code for conciseness.
13647 Mon Jul 31 12:27:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
13649 * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
13650 in my last checkin.
13652 Mon Jul 31 10:41:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
13654 * recog.c (extract_insn): Set operand_mode according to
13655 operand if match_operand is VOIDmode.
13657 Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
13659 * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
13661 2000-07-31 Geoff Keating <geoffk@cygnus.com>
13663 * c-parse.in (extdefs): Call ggc_collect between external
13666 2000-07-30 Michael Hayes <mhayes@cygnus.com>
13667 Richard Henderson <rth@cygnus.com>
13669 * Makefile.in (OBJS): Add doloop.o.
13670 * doloop.c: New file.
13672 * final.c (insn_current_reference_address): Return 0 before final.
13673 * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
13674 * jump.c (any_uncondjump_p): Likewise.
13675 * loop.c (indirect_jump_in_function): Make static.
13676 (strength_reduce): Call doloop_optimize.
13677 (insert_bct, instrument_loop_bct): Remove.
13678 * loop.h (doloop_optimize): Prototype.
13679 * recog.c (split_all_insns): Split all INSN_P.
13680 * toplev.c (flag_branch_on_count_reg): Default on.
13682 * config/c4x/c4x.c (c4x_optimization_options): Don't set
13683 flag_branch_on_count_reg.
13684 * config/i386/i386.c (override_options): Likewise.
13685 * config/rs6000/rs6000.c (optimization_options): Likewise.
13687 * config/i386/i386.md (decrement_and_branch_on_count): Remove.
13689 (dbra_ge): Remove, as well as all it's splitters.
13691 * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
13694 * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
13695 (ia64_register_move_cost): Declare.
13696 * config/ia64/ia64.c (ar_lc_reg_operand): New.
13697 (struct ia64_frame_info): Add ar_size.
13698 (ia64_compute_frame_size): Set it.
13699 (save_restore_insns): Save and restore ar.lc.
13700 (ia64_register_move_cost): New, moved from header file. Handle
13701 application registers.
13702 (REG_AR_PFS, REG_AR_EC): Remove. Replace with AR_*_REGNUM numbers.
13703 (emit_insn_group_barriers): Special case doloop_end_internal.
13704 (ia64_epilogue_uses): Mark ar.lc live at end.
13705 * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
13706 (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
13707 (FIRST_PSEUDO_REGISTER): Make room.
13708 (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
13709 (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
13710 (REG_ALLOC_ORDER): Update.
13711 (HARD_REGNO_MODE_OK): Update.
13712 (REGISTER_NAMES): Update.
13713 (enum reg_class): Add AR_M_REGS and AR_I_REGS.
13714 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
13715 (REGNO_REG_CLASS): Update.
13716 (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
13717 (REGISTER_MOVE_COST): Move out of line.
13718 (PREDICATE_CODES): Update.
13719 * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
13720 (addsi3_plus1_alt, adddi3_plus1_alt): New.
13721 (shladd_elim splitter): Allow constants in the predicate.
13722 (doloop_end, doloop_end_internal): New.
13724 2000-07-30 Richard Henderson <rth@cygnus.com>
13726 * genattrtab.c (struct insn_def): Add lineno member.
13727 (struct insn_ent): Likewise.
13728 (struct attr_desc): Likewise.
13729 (struct delay_desc): Likewise.
13730 (struct function_unit_op): Likewise.
13731 (struct function_unit): Likewise.
13732 (check_attr_value): Use message_with_line.
13733 (check_defs): Likewise.
13734 (expand_units): Likewise.
13735 (check_attr_test): Take a lineno argument.
13736 (gen_attr): Likewise.
13737 (gen_insn): Likewise.
13738 (gen_delay): Likewise.
13739 (gen_unit): Likewise.
13740 (main): Give it to them.
13741 (convert_set_attr_alternative): Take an insn_def argument
13742 instead of num_alt and insn_index.
13743 (convert_set_attr): Likewise.
13744 (write_test_expr): Protect INSN_ADDRESSES load
13745 with INSN_ADDRESSES_SET_P.
13747 2000-07-30 Richard Henderson <rth@cygnus.com>
13749 * flow.c (init_propagate_block_info): Use pc_set.
13751 Sun Jul 30 20:58:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
13753 * i386.md (*lea_general_[123]) New insns and splits.
13754 (addsi3 to lea splitter): Handle other modes too.
13755 (shlsi3 to lea splitter): Likewise.
13756 (addhi_1_lea, shlhi_1_lea): New patterns.
13757 (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
13759 Sun Jul 30 20:51:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
13761 * recog.c (general_operand, nonimmediate_operand): Accept
13762 any mode for VOIDmode CONSTANT_P operands.
13764 Sun Jul 30 20:42:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13766 * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
13767 instead of replace_rtx.
13768 * recog.c (validate_replace_rtx_subexp): New function.
13769 * recog.h (validate_replace_rtx_subexp): Declare.
13771 Sun Jul 30 20:38:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
13773 * combine.c (simplify_set, make_extraction, make_compound_operation
13774 make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
13775 as force_to_mode argument.
13777 Sun Jul 30 20:30:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
13779 * combine.c (if_then_else_cond): Be sure that mode fits in
13782 Sun Jul 30 20:27:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
13784 * combine.c (record_promoted_value): Allow bitsize of mode
13785 to be equivalent to HOST_BITS_PER_WISE_INT.
13787 Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13789 * function.c (assign_stack_local_1, assign_stack_temp_for_type):
13790 Do not call gen_mode_alignment when mode is BLKmode.
13792 Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
13794 * loop.c (express_from_1): Fix call of simplify_gen_binary.
13796 Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
13798 * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
13799 VOIDmode implies both operands to be VOIDmode.
13800 (simplify_ternary_operation): Compute properly the mode of comparison.
13801 * combine.c (combine_simplify_rtx): Likewise.
13803 2000-07-25 Michael Hayes <mph@paradise.net.nz>
13805 * basic-block.h (struct loops): New field rc_order.
13806 * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
13807 (flow_loops_free): Free rc_order.
13808 (flow_depth_first_order_compute): New parameter rc_order.
13809 (flow_loops_find): Allocate rc_order and swap usage with
13812 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13813 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13815 * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
13816 (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
13817 (nodb_call, return_from_epilogue): Likewise.
13818 (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
13819 * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
13820 * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
13821 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
13822 (c4x_valid_type_attribute_p): Likewise.
13823 * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
13824 (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
13826 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13828 * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
13829 and loadhi_big_constant if applicable.
13830 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
13831 and add new splitter.s
13833 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13835 * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
13837 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13839 * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
13841 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13843 * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
13845 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13847 * config/c4x/libgcc.S (divqf3): Improve accuracy.
13849 2000-07-27 Mark Mitchell <mark@codesourcery.com>
13851 Put phi nodes after NOTE_INSN_BASIC_BLOCK.
13852 * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
13853 * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
13854 (get_prev_bb_note): Likewise.
13855 (remove_scope_notes): Likewise.
13856 * flow.c (commit_one_edge_insertion): Likewise.
13857 (merge_blocks_nomove): Likewise.
13858 (verify_flow_info): Likewise.
13859 * gcse.c (insert_insn_end_bb): Likewise.
13860 * reg-stack.c (emit_swap_insn): Likewise.
13861 * ssa.c (first_insn_after_basic_block_note): New function.
13862 (insert_phi_node): Use it.
13863 (rename_block): Likewise.
13864 (eliminate_phi): Likewise.
13865 (make_regs_equivalent_over_bad_edges): Likewise.
13866 (make_equivalent_phi_alternatives_equivalent): Likewise.
13867 (for_each_successor_phi): Likewise.
13868 (convert_from_ssa): Modify phi-node deletion algorithm.
13870 2000-07-29 Andreas Jaeger <aj@suse.de>
13872 * configure.in (mips*-*-linux*): Use mips*el to check for little
13873 endian MIPS, add tmake_file.
13875 * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
13876 (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
13877 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
13879 2000-07-28 Richard Henderson <rth@cygnus.com>
13881 * config/ia64/ia64.c (ia64_print_operand): Fix typos.
13882 Sign extend mode size before negating.
13884 2000-07-28 Richard Henderson <rth@cygnus.com>
13886 * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
13888 2000-07-28 Bernd Schmidt <bernds@cygnus.co.uk>
13890 * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
13891 (cse_insn): Likewise.
13892 (addr_affects_sp_p): Likewise.
13893 * expr.c (move_by_pieces): Likewise.
13894 (clear_by_pieces): Likewise.
13895 * gcse.c (oprs_unchanged_p): Likewise.
13896 * haifa-sched.c (sched_analyze_2): Likewise.
13897 * recog.c (offsettable_address_p): Likewise.
13898 * regclass.c (record_address_regs): Likewise.
13899 * reload.c (find_reusable_reload): Likewise.
13900 (push_reload): Likewise.
13901 (operands_match_p): Likewise.
13902 (decompose): Likewise.
13903 (find_reloads_address_1): Likewise.
13904 (find_inc_amount): Likewise.
13905 * reload1.c (elimination_effects): Likewise.
13906 * resource.c (mark_set_resources): Likewise.
13907 * flow.c (attempt_auto_inc): New function; mostly broken out
13909 (find_auto_inc): Split into two functions and enhanced to
13910 generate POST_MODIFY.
13911 * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
13912 * rtl.h (count_all_occurrences): Declare.
13913 (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
13915 * rtlanal.c (count_all_occurrences): New function.
13916 * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
13917 HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
13919 * config/ia64/ia64-protos.h (destination_operand): Declare.
13920 * config/ia64/ia64.c (destination_operand): New function.
13921 (ia64_print_operand): Handle POST_MODIFY.
13922 (rtx_needs_barrier): Likewise.
13923 * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
13924 (HAVE_POST_MODIFY_REG): Define to 1.
13925 (MAX_REGS_PER_ADDRESS): Change to 2.
13926 (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
13927 (LEGITIMATE_ADDRESS_REG): New helper macro.
13928 (LEGITIMATE_ADDRESS_DISP): Likewise.
13929 (PREDICATE_CODES): Add entry for destination_operand.
13930 * config/ia64/ia64.md (all mov patterns): Use destination_operand
13931 predicate for operand 0.
13933 2000-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13935 * dwarf2out.c: Indent #error directive.
13937 * gbl-ctors.h: Fix typo in comment.
13938 (__do_global_ctors): Prototype.
13940 * gcse.c (record_one_set, pre_delete): Remove unused variables.
13942 * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
13943 (print_operand): Initialize variable `t'.
13945 2000-07-27 Aldy Hernandez <aldyh@redhat.com>
13947 * config/arm/arm.md ("call_value"): removed constraints.
13948 Constraints are ignored in expanders.
13949 (*call_value_reg): split =rf into various constraints.
13950 (*call_value_mem): same
13951 (*call_value_symbol): same
13952 (*sibcall_value_insn): same
13954 2000-07-28 Philipp Thomas <pthomas@suse.de>
13956 * install.texi (--enable-nls): Change the description of the NLS
13957 related configure options to match the current state.
13958 (--with-included-gettext): Likewise.
13959 (--enable-maintainer-mode): New description added.
13960 * extend.texi (-fstrict-prototype): Add missing '.'.
13962 2000-07-27 Jim Wilson <wilson@cygnus.com>
13964 * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
13965 DECL_INITIAL (decl) == NULL_TREE.
13967 2000-07-27 Alexandre Oliva <aoliva@redhat.com>
13969 * Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
13970 on insn-attr.h with it.
13971 * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
13972 * insn-addr.h: New header.
13973 (insn_addresses_): Renamed from insn_addresses.
13974 (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
13975 INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
13976 INSN_ADDRESSES_NEW): New macros.
13977 * genattrtab.c (write_test_expr): Use new macros.
13978 * final.c (insn_addresses, init_insn_lengths): Likewise.
13979 (align_fuzz, shorten_branches): Likewise.
13980 (final): Likewise. Do not reject new insns if their addresses
13981 have been added to INSN_ADDRESSES.
13982 * config/arm/arm.c, config/avr/avr.c: Use new macros.
13983 * config/h8300/h8300.c, config/i370/i370.c: Likewise.
13984 * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
13985 * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
13986 * config/sh/sh.c: Likewise.
13987 (output_branchy_insn): Use INSN_ADDRESSES_NEW.
13989 * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
13991 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
13993 * gcc.c (struct prefix_list): Add member priority.
13994 (enum path_prefix_priority): Declare.
13995 (add_prefix): Replace ``first'' with ``priority''. Append new
13996 entry but keep list in priority order.
13997 (process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
13998 PREFIX_PRIORITY_LAST to add_prefix.
13999 (process_command): Move include kludge - foo/stageN - to before
14002 2000-07-27 Jason Merrill <jason@redhat.com>
14004 * dwarf2out.c (gen_typedef_die): Abort if we get identical
14005 TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
14007 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
14009 * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
14010 * tree.h (get_alias_set, lang_get_alias_set): Prototype.
14012 2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
14014 * c-decl.c (finish_function): Don't treat 'main' specially unless
14015 flag_hosted. In C99 mode, return 0 from 'main' unless
14016 DEFAULT_MAIN_RETURN is otherwise defined.
14018 * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
14019 parameters defaulting to int in an old-style function definition.
14021 2000-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14023 * c-parse.in (string): For -Wtraditional, warn about string
14024 concatenation only once per line.
14026 Thu Jul 27 09:25:17 2000 Akiko Matsushita <matusita@sra.co.jp>
14028 * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
14029 for HI-UX/WE2 systems.
14031 2000-07-24 Bruce Korb <bkorb@gnu.org>
14033 * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
14034 defining the __xxx_TYPE__ macros.
14035 * fixincl/fixincl.tpl(gnu_type_map): now obsolete
14036 * fixincl/fixlib.h: don't need to include "tm.h" anymore
14037 * fixincl/inclhack.def(type_map): now obsolete
14039 Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
14041 * cpp.texi: Append a trailing full-stop to xrefs where needed.
14043 2000-07-26 Dave Pitts <dpitts@cozx.com>
14045 * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
14047 (mvs_hash_alias): New function.
14048 (mvs_add_alias): Change argument spacing.
14049 (mvs_need_alias): Change aliasing criteria. Added documentation.
14050 (mvs_get_alias): Change to use hashed name. The hashed name prevents
14051 CSECT name collisions.
14052 (mvs_check_alias): Likewise.
14053 (handle_pragma): Change documentation.
14054 * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
14055 mode from SImode to DImode.
14056 (iorhi3): Changed LTORG size for insn.
14058 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
14060 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
14061 mem if the address is a mode_dependent_address_p.
14063 2000-07-26 Kazu Hirata <kazu@hxi.com>
14065 * h8300.c (print_operand): Print ":8" when the 'R' operand is
14066 suitable for 8-bit absolute.
14067 * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
14068 (OK_FOR_U): Add a case for the 8-bit constant address on the
14071 Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
14073 * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
14074 && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
14075 ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
14076 lack of implemented alignment.
14078 2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
14080 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
14081 cross-compiling between 64-bit and 32-bit machines.
14083 2000-07-27 Richard Henderson <rth@cygnus.com>
14085 * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
14086 (movhicc_astep, movhi_internal_astep): New.
14087 (movsicc_astep, movsi_internal_astep): New.
14088 (movdicc_astep, movdi_internal_astep): New.
14089 (movsfcc_astep, movsf_internal_astep): New.
14090 (movdfcc_astep, movdf_internal_astep): New.
14091 (movxfcc_astep, movxf_internal_astep): New.
14092 (cmovdi_internal_astep, cmovsi_internal_astep): New.
14093 Unify the cmov[ds]i splitters.
14095 2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
14097 * real.c (asctoeg): Rename `error' label to unexpected_char_error
14099 2000-07-26 Nick Clifton <nickc@cygnus.com>
14101 * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
14102 __arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
14104 * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
14105 well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
14107 2000-07-26 Alexandre Oliva <aoliva@redhat.com>
14109 * c-decl.c (finish_enum): Convert enumerations that fit in an
14111 (build_enumerator): In pedantic mode, cast to `int' those that
14114 2000-07-25 Rodney Brown <RodneyBrown@pmsc.com>
14116 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
14118 Tue Jul 25 23:08:33 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14120 * sh.md (cmpgtdi_t): Must be split.
14121 (cmpgtdi_t+1): New splitter.
14123 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
14125 * cpplib.c (_cpp_check_directive): Issue -Wtraditional
14126 warnings for indented directives even if we are skipping.
14128 2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
14130 * invoke.texi (strict-prototypes): Remove.
14131 * extend.texi (Deprecated Features): Add strict-prototypes.
14132 (Backwards Compatibility): New node.
14134 2000-07-25 Jakub Jelinek <jakub@redhat.com>
14136 * config/i386/i386.md (andsi_1+1): Allow HImode.
14137 (andsi_1+2): Require q_regs_operand.
14139 2000-07-25 Jakub Jelinek <jakub@redhat.com>
14141 * config/i386/i386.md (call_pop): Check operands[0],
14142 not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14144 (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14145 (call_value): Likewise.
14147 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
14149 * toplev.c (pipe_closed): Delete.
14150 (crash_signal): New. Generate ICE for a fatal signal.
14151 (float_signal): Call crash_signal outside a float-handler
14153 (main): Install crash_signal as handler for core-dumping signals.
14155 2000-07-25 David Edelsohn <edelsohn@gnu.org>
14157 * rs6000.c (print_operand, case 'T'): New case.
14159 * rs6000.md (call_indirect_aix32): Convert to expander of
14160 scheduled instructions.
14161 (call_indirect_aix64): Likewise.
14162 (call_value_indirect_aix{32,64}): Likewise.
14163 (call, call_value): Invoke expanders for AIX. Fall through to
14165 (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
14166 (call_value_indirect_nonlocal_aix{32,64}): New patterns.
14167 (call_nonlocal_aix32): Remove CALL_LONG alternative. Operand 1
14168 only "g" constraint.
14169 (call_nonlocal_aix64): Likewise.
14170 (call_value_nonlocal_aix{32,64}): Likewise.
14171 (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
14173 (call_value_nonlocal_sysv): New pattern.
14174 (indirect_jump{si,di}): Use new 'T' modifier.
14175 (tablejump{si,di} matchers): Likewise.
14176 (return_internal_{si,di}): Likewise.
14177 (return_eh_{si,di}): Likewise.
14179 2000-07-24 Richard Henderson <rth@cygnus.com>
14181 * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
14182 * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
14183 * config/ia64/ia64.md (movdi_internal): Use it.
14185 2000-07-24 Zack Weinberg <zack@wolery.cumb.org>
14187 * cppexp.c: Warn about unary + if -Wtraditional.
14188 * cpplex.c (lex_line): Always set BOL on the first token of a line.
14190 2000-07-24 Michael Meissner <meissner@redhat.com>
14192 * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
14195 2000-07-24 Nick Clifton <nickc@cygnus.com>
14197 * config/arm/arm.c (emit_multi_reg_push): Generate a
14198 REG_FRAME_RELEATED_NOTE that is compatable with the code in
14199 dwarf2out_debug_frame_expr.
14201 2000-07-24 Jason Merrill <jason@redhat.com>
14203 * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
14204 UNALIGNED_INT_ASM_OP.
14205 (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
14206 a location expression.
14207 (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff. Don't
14208 assume indirect access if we're saving the CFA address exactly.
14210 * Makefile.in (bootstrap): Move -BstageN/ to the end.
14212 2000-07-24 Jakub Jelinek <jakub@redhat.com>
14214 * tradcpp.c (main): Update max_include_len for cpp_include_defaults
14217 2000-07-24 Michael Meissner <meissner@redhat.com>
14219 * invoke.texi (D30V Options): Add d30v options.
14221 Mon Jul 24 02:04:52 2000 Jeffrey A Law (law@cygnus.com)
14223 * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
14224 needed by our gcse pass anymore.
14225 (free_pre_mem): Corresponding changes.
14226 (compute_pre_data): Do not call compute_transpout anymore.
14228 * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
14229 (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
14232 * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
14233 (compute_pre_data): Do it here instead.
14235 * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
14237 (pre_delete): Corresponding changes.
14239 2000-07-23 Mark Mitchell <mark@codesourcery.com>
14241 * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
14242 to figure out whether or not a variable has already been emitted.
14244 Sun Jul 23 14:49:12 2000 Jason Eckhardt <jle@cygnus.com>
14246 * config/i860/i860.md (untyped_call expander): Use GEN_CALL
14247 instead of gen_call.
14249 Sun Jul 23 11:52:03 2000 George Helffrich (george@gly.bris.ac.uk)
14251 * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
14253 2000-07-23 Kazu Hirata <kazu@hxi.com>
14255 * h8300.c: Fix formatting.
14257 2000-07-23 Joseph S. Myers <jsm28@cam.ac.uk>
14259 * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
14260 for `long' switch expression into a plain warning.
14262 * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
14263 (yylex): Don't pedwarn for "inline" in C99 mode.
14265 * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
14267 * ggc-page.c (debug_print_page_list, alloc_page, free_page,
14268 ggc_alloc): Likewise.
14269 * bb-reorder.c (dump_scope_forest_1): Likewise.
14271 2000-07-22 Aldy Hernandez <aldyh@redhat.com>
14273 * reload.c (find_reloads_toplev): Add new parameter
14274 "address_reloaded".
14275 (find_reloads): Add new parameter to find_reloads_toplev calls.
14277 2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
14279 * collect2.c (main): Typo fixed.
14280 * diagnostic.c: Typo fixed.
14281 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
14282 * eh-common.h: Typo fixed.
14283 * emit-rtl.c (start_sequence): Typo fixed.
14284 * flow.c (find_label_refs): Typo fixed.
14285 (calculate_global_regs_live): Typo fixed.
14286 (mark_regno_cond_dead): Typo fixed.
14287 (create_edge_list): Typos fixed.
14288 (verify_edge_list): Typo fixed.
14289 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
14290 * loop.c (strength_reduce): Typo in function name fixed.
14291 * rtl.h: Added comments. Typo in function name fixed.
14292 * rtlanal.c: Typo in function name fixed.
14293 (insn_dependant_p): Rename to ...
14294 (insn_dependent_p): ... this.
14295 (computed_jumo_p): Typo fixed.
14297 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14299 * system.h (__FUNCTION__): Wrap definition in #ifndef.
14301 2000-07-21 David Edelsohn <edelsohn@gnu.org>
14303 * rs6000.h (SIZE_TYPE): Define.
14305 2000-07-21 Mark Mitchell <mark@codesourcery.com>
14307 * ssa.c (rename_insn_1): Don't rename registers that are
14310 2000-07-21 Zack Weinberg <zack@wolery.cumb.org>
14312 * diagnostic.c (trim_filename, fancy_abort): Moved here from
14314 (fatal_function, set_fatal_function): Removed.
14315 (fatal): Don't prepare for or call the fatal_function.
14316 (diagnostic_lock, error_recursion): New.
14317 (diagnostic_for_decl, report_diagnostic): Guard against
14318 re-entering the error reporting routines.
14319 (fancy_abort): Assume function is not NULL.
14321 * errors.c (fancy_abort): New. Assume function is not NULL.
14322 * tradcpp.c (fancy_abort): Assume function is not NULL.
14324 * system.h: Provide default definition of __FUNCTION__.
14325 * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
14326 Always use __FUNCTION__ in definition of abort.
14327 * tree.h: Likewise.
14328 * varray.h: Likewise.
14329 * toplev.h: Likewise. Don't prototype set_fatal_function.
14331 2000-07-20 Geoff Keating <geoffk@cygnus.com>
14333 * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
14335 * glimits.h: Don't do #if defined for ARCH_PPC.
14337 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
14338 constants of size no larger than a pointer should go in the TOC.
14339 Add 'MODE' parameter.
14340 (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
14341 ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
14342 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
14343 * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
14344 * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
14345 * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
14346 (rs6000_legitimize_address): Likewise.
14347 (rs6000_emit_move): Likewise.
14348 (rs6000_select_rtx_section): Likewise.
14349 (output_toc): Deal properly with outputting small constants like
14350 HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
14351 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
14352 MODE parameter. Put small constants in the TOC.
14354 * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
14356 (rs6000_emit_move): When reload calls us with an illegitimate
14357 address, exit early. Move the change_address calls to one place
14358 at the end of the routine. Merge the SImode and DImode expanders.
14359 When called by reload to put an integer into a FP register, force
14362 * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
14364 (rs6000_hash_constant): Hash mode too.
14365 (toc_hash_function): Allow for key_mode.
14366 (toc_hash_eq): Structures are different if key_mode differs.
14367 (output_toc): Add 'mode' parameter. Save key_mode.
14368 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
14369 Pass 'mode' parameter.
14370 * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
14372 * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
14373 for vtable references.
14375 * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
14376 choice, don't put integer values in FP regs.
14378 Thu Jul 20 18:13:52 2000 Jeffrey A Law (law@cygnus.com)
14380 * flow.c (verify_flow_info): Revamp code to verify that the
14381 head and end of each basic block are in the insn chain.
14383 Thu Jul 20 18:02:35 2000 Michael Matz <matzmich@cs.tu-berlin.de>
14385 * gcse.c (record_one_set): Prepend instead of append onto
14386 reg_set_table, making it O(n) instead O(n^2).
14387 * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
14388 Use a queue instead of a stack as worklist.
14390 2000-07-20 Kazu Hirata <kazu@hxi.com>
14392 * h8300.c (two_insn_adds_subs_operand): Fix a typo.
14393 * h8300.h (OK_FOR_T): New.
14394 (EXTRA_CONSTRAINT): Support OK_FOR_T.
14395 * h8300.md: Use inc/dec.[wl] for increment/decrement
14396 by 1 and 2 in HI and SI modes.
14398 2000-07-20 Jim Wilson <wilson@cygnus.com>
14400 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
14401 larger than 14 bits.
14403 2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
14405 * cppmacro.c (CAN_PASTE_AFTER): New macro.
14406 (count_params): Don't set GNU_REST_ARGS on anything.
14407 (save_expansion): Set PASTE_LEFT only on tokens for which
14408 CAN_PASTE_AFTER is true, or which are named operators.
14410 * cpplex.c (parse_args): Distinguish between a rest argument
14411 given one empty argument, and a rest argument given zero arguments.
14412 (maybe_paste_with_next): Look for VOID_REST tag, and trigger
14413 deletion of previous token based on that.
14414 (get_raw_token): Flatten some control structure.
14416 * cpplib.h (CPP_LAST_EQ): Correct.
14417 (VOID_REST): New token flag.
14418 (GNU_REST_ARGS): Delete.
14420 * tradcpp.c (main): Don't munge -D options.
14421 (make_definition): Bring -D handling in line with cpplib.
14422 (do_define): Strip all leading whitespace from macro definitions.
14424 2000-07-20 David Billinghurst <David.Billinghurst@riotinto.com.au>
14426 * Makefile.in (tradcpp): Depend on intl.o and version.o.
14428 2000-07-20 Bruce Korb <bkorb@gnu.org>
14430 * fixincl/check.tpl: strip the platform specific types before testing
14431 * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
14432 * fixincl/fixincl.tpl: use platform specific types
14433 * fixincl/fixlib.h: include the platform specific types
14434 * fixincl/inclhack.def(gnu_types): don't supply the types
14435 * fixincl/fixincl.x: regen
14437 2000-07-19 Jim Wilson <wilson@cygnus.com>
14439 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
14442 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
14444 * tradcpp.c (rescan): Do not recognize directives when the #
14447 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
14449 Implement C++ named operators.
14451 * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
14452 of operators allowed in #if and having an _EQ variant. Add
14453 CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
14454 (cpp_token flags): Add NAMED_OP.
14455 (enum node_type): Add T_OPERATOR.
14456 (struct cpp_hashnode): Add code slot to value union.
14457 * cpphash.h (spec_nodes): Remove n_defined.
14459 * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
14460 (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
14461 (is_macro_disabled): Tweak error messages.
14463 * cpplib.c (get_define_node): Disallow all named operators as
14464 macro names. Tweak error messages.
14465 (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
14467 * cppinit.c (builtin_array): Add entries for the named operators.
14468 * cppexp.c (lex): Check for CPP_DEFINED token.
14469 (priority table): Add entries for CPP_MIN and CPP_MAX.
14470 (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
14472 2000-07-19 Bernd Schmidt <bernds@cygnus.co.uk>
14474 * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
14475 larger than the array of cuids.
14476 (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
14479 2000-07-19 Bruce Korb <bkorb@gnu.org>
14481 * fixinc/fixincl.c: Convert to using a table of environment variables
14482 and activate the auto-edit marker on the fixed output files.
14483 * fixinc/fixlib.h: Define the environment table
14484 * fixinc/fixincl.sh: export the ${INPUT} dir
14485 * fixinc/check.tpl: likewise
14487 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
14489 * gcc.c (.h spec): Fix typo.
14491 Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
14493 * Makefile.in: Fix tradcif.c path.
14495 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
14497 * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
14500 * cpphash.h (TOKEN_NAME): New macro.
14501 (_cpp_spell_operator): Deleted.
14502 (token_spellings): Now _cpp_token_spellings.
14504 * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
14505 * cpplex.c: Use OP and TK macros when expanding the
14506 TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
14507 store the stringification of the enumeration name (CPP_CHAR,
14508 etc.) in the name slot of token_spellings.
14509 Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
14510 token_spellings directly.
14511 * cpplib.c: Use TOKEN_SPELL.
14513 * cpplex.c (_cpp_push_token): If the token being pushed back
14514 is the previous token in this context, just subtract one from
14516 * cppmacro.c (save_expansion): Clear aux field when storing a
14519 2000-07-18 Jakub Jelinek <jakub@redhat.com>
14521 * cpplex.c (cpp_scan_buffer): Output line command even at the stop
14522 buffer, provided it is not NULL.
14524 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
14526 * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
14527 case of invalid volatile re-declaration.
14529 2000-07-18 Jakub Jelinek <jakub@redhat.com>
14531 * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
14532 (expand_call): Adjust caller.
14534 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
14536 * diagnostic.h (report_diagnostic): Change prototype.
14538 * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
14539 diagnostic_for_decl): Change prototype.
14540 (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
14541 error, warning, error_with_file_and_line,
14542 warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
14543 Adjust call to report_diagnostic, diagnostic_for_decl.
14544 (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
14545 (output_verbatim, verbatim): Adjust call to output_do_verbatim.
14547 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
14548 varaible argument list.
14550 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
14552 * cpphash.c: Don't include hashtab.h. Most macro-handling code
14553 moved to cppmacro.c.
14554 (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
14555 dump_hash_helper): Delete.
14556 (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
14557 cpp_forall_identifiers): New. Implement specialized version of
14558 Vlad's expandable hash table.
14559 (cpp_lookup): Use new functions.
14560 (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
14562 * cppmacro.c: New file.
14563 * cppinit.c (dump_macros_helper): New.
14564 (cpp_finish): Iterate over the identifier table directly.
14565 * cpplex.c (parse_name): Calculate the hash of the identifier
14566 while we scan it. Use _cpp_lookup_with_hash when we can.
14568 * cpphash.h: Update prototypes.
14569 (xcnewvec, HASHSTEP): New helper macros.
14570 * cpplib.h: Update prototypes.
14571 * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
14572 (cppmacro.o): New rule.
14573 (cpphash.o): Update deps.
14575 * cppmain.c: Do not set pfile->printer if no_output is on.
14577 2000-07-15 Neil Booth <neilb@earthling.net>
14579 * cpplib.c: Change all directive-handler functions to return
14581 * cpphash.h: Update typedefs.
14583 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
14585 * configure: Regenerate.
14587 * extend.texi (Extended Asm): Mention that a memory clobber
14588 does not count as a side-effect.
14590 * unroll.c (copy_loop_body): Fix one instance of using host
14591 arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
14594 * tlink.c (scan_linker_output): Tweak for output of AIX ld.
14596 2000-07-17 Richard Henderson <rth@cygnus.com>
14598 * config/ia64/ia64.md (movdi): Split out load address code.
14599 New post-reload splitter for symbolic operands.
14600 (movdi_internal): Abort if we didn't split symbolic operands
14601 when we should have.
14602 * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
14603 (ia64_reorg): Split insns when not optimizing.
14604 * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
14606 Mon Jul 17 23:43:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
14608 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
14609 instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
14611 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
14613 * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
14615 2000-07-17 Jason Merrill <jason@redhat.com>
14617 * Makefile.in (clean): Remove libgcc directory.
14619 * configure.in (-Wno-long-long check): Use higher-level macros.
14621 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
14623 * simplify-rtx.c (simplify_binary_operation): Recognize
14624 (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
14625 (simplify_ternary_operation): Do not examine MODE_BITSIZE of
14626 a CONST_INT, it will always be zero.
14628 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
14630 * loop.c (check_dbra_loop) : Return if more than one condition is
14631 present to control the loop.
14633 Mon Jul 17 08:26:35 2000 Clinton Popetz <cpopetz@cygnus.com>
14635 * mips.c (mips_expand_prologue): Don't calculate the last argument
14636 register unless we need it. When we are calculating this, make
14637 sure FUNCTION_ARG is giving us a REG.
14639 2000-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14641 * flow.c (libcall_dead_p): Use single_set to verify the insn
14642 has only one set and get for analysis.
14643 (propagate_one_insn): Don't pass the PATTERN of the insn.
14645 2000-07-17 Mark Klein <mklein@dis.com>
14647 * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
14649 2000-07-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
14651 * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
14652 * configure.in (TARGET_GETGROUPS_T): Evaluate.
14653 * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
14654 of second argument of getgroups.
14655 * configure, config.in: Rebuilt.
14657 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
14659 * simplify-rtx.c (simplify_relational_operation): Two signed
14660 values with equal high words are less/greater than each other if
14661 their low words are less/greater when considered as unsigned.
14663 Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
14665 * configure.in (vax-*-openbsd): Change to new style configuration,
14666 add collect2/float_format information.
14667 * configure: Rebuilt.
14668 * config/vax/openbsd1.h: New.
14669 * config/vax/openbsd.h: New.
14670 * config/vax/t-openbsd: New.
14672 2000-07-17 Chip Salzenberg <chip@valinux.com>
14674 * c-common.c (shorten_compare): Quiet warnings about unsigned
14675 comparisons with zero when they occur in a system header.
14677 2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14679 * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
14680 update to describe current practice.
14682 * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
14684 * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
14685 references to C9X. Change references to -fstd and -flang-isoc9x
14688 * c-common.c (scan_char_table): Allow "z" length modifiers on
14690 (check_format_info): Use TYPE_DOMAIN on the type matched against
14691 for "z" formats, to retrieve the language size_t rather than the
14694 * c-common.c (check_format_info): Do not make a pedantic objection
14695 to the 'L' length modifier if used with a floating point type
14698 * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
14699 constants in C99 mode.
14701 2000-07-17 Kazu Hirata <kazu@hxi.com>
14703 * h8300.md: Fix the format of mac.
14704 (movsi_h8300hs): Output a tab after stmac instead of a space.
14706 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
14707 profitable adds/subs sequences.
14709 * fold-const.c: Fix comment typos.
14711 2000-07-16 Laurynas Biveinis <lauras@softhome.net>
14713 * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
14715 2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14717 * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
14719 2000-07-16 Neil Booth <NeilB@earthling.net>
14721 * cpplex.c: Update comments.
14722 * README.Portability: Small update.
14724 2000-07-16 Neil Booth <NeilB@earthling.net>
14726 * README.Portability: Small update.
14728 2000-07-15 Richard Henderson <rth@cygnus.com>
14730 * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
14731 * config/ia64/ia64.c (ia64_move_ok): New function.
14732 * config/ia64/ia64.md (movqi, movqi_internal): Use it.
14733 (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
14735 2000-07-15 Zack Weinberg <zack@wolery.cumb.org>
14737 * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
14738 immediately following a paste operator.
14739 * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
14740 (cpp_reader_init): Call it, if HOST_EBCDIC.
14741 (cpp_handle_options): Do not sort option list here.
14742 (handle_option): Rename to cpp_handle_option and export.
14743 * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
14744 _cpp_get_token directly.
14745 (cpp_scan_line): Return 0 at EOF, 1 otherwise.
14746 * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
14747 * cpplib.h: Prototype cpp_handle_option. Update prototype of
14750 2000-07-15 Richard Henderson <rth@cygnus.com>
14752 * fold-const.c (extract_muldiv): Don't optimize past an unsigned
14753 cast around an expression. Tidy other unsigned tests.
14755 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
14757 * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
14758 v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
14759 (v_message_with_decl): Rename to ...
14760 (format_with_decl): ... this. Tweak
14761 (diagnostic_for_decl): New function.
14762 (fatal_io_error): Use verbatim in lieu of notice.
14763 (announce_function): Use verbatim.
14764 (default_print_error_function): Likewise.
14765 (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
14768 2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14770 * mips.c (function_arg_pass_by_reference): Don't do automatic
14771 aggregate initialization.
14772 (machine_dependent_reorg): Initialize variable `mode'.
14774 * mips.md (absdi2): Change variable `regno1' to unsigned int.
14775 (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
14776 conflicts with sys/param.h macro of the same name.
14777 (reload_outdi): Likewise.
14779 2000-07-15 Michael Meissner <meissner@redhat.com>
14781 * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
14782 == CONST + INCREMENT, don't overwrite the tree node for FOO++,
14783 create a new node instead.
14785 2000-07-15 Neil Booth <NeilB@earthling.net>
14787 * README.Portability: Correct example about calling a function
14788 through a pointer to function. Format wide paragraphs.
14790 2000-07-15 Michael Meissner <meissner@redhat.com>
14792 * README.Portability: Update integer suffixes and function
14793 prototype sections.
14795 2000-07-15 Neil Booth <NeilB@earthling.net>
14797 * README.Portability: Small update.
14799 2000-07-15 Neil Booth <NeilB@earthling.net>
14801 * README.Portability: New file.
14803 Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
14805 * INSTALL: Give special instructions for building GCC on Irix 6.
14806 * config/mips/x-iris6 (CC): Don't set it.
14809 2000-07-14 Jason Merrill <jason@redhat.com>
14811 * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
14812 register in the stack and later in another register, use the new
14815 Fri Jul 14 10:25:53 2000 Clinton Popetz <cpopetz@cygnus.com>
14817 * config/mips/mips.md: (absdi2): Handle sign_extend for
14820 2000-07-14 Nathan Sidwell <nathan@codesourcery.com>
14822 * cpplib.c (do_pragma_dependency): Tidy warning messages.
14824 2000-07-14 Zack Weinberg <zack@wolery.cumb.org>
14826 * .cvsignore: Correct typo.
14828 2000-07-13 Mark Mitchell <mark@codesourcery.com>
14830 * .cvsignore: Add generated YACC files.
14831 * objc/.cvsignore: New file.
14833 2000-07-14 Neil Booth <NeilB@earthling.net>
14835 * cpplex.c (adjust_column): New funcion.
14836 (skip_whitespace): Use it.
14837 (skip_block_comment): Use it, and warn about /*/* with
14840 2000-07-14 Neil Booth <NeilB@earthling.net>
14842 * cpphash.c (struct macro_info): Add new members.
14843 (_cpp_free_definition): Delete the macro directly.
14844 (count_params): Return void, with first token of
14845 expansion in struct macro_info on success.
14846 (parse_define): Return int. Hoist syntax checking from
14847 save_macro_expansion. Leave call to save_expansion to
14848 _cpp_create_definition.
14849 (alloc_macro): Needs just 2 arguments.
14850 (free_macro): Delete.
14851 (save_expansion): Don't perform syntax check.
14852 (_cpp_create_definition): Call save_expansion.
14854 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14856 * genrecog.c (write_header): Split long string.
14858 * cpphash.c (macro_info): Don't use the `signed' keyword.
14860 * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
14862 2000-07-13 Jakub Jelinek <jakub@redhat.com>
14864 * calls.c (stored_args_map): New variable.
14865 (check_sibcall_argument_overlap_1): New.
14866 (check_sibcall_argument_overlap): New.
14867 (expand_call): Initialize stored_args_map.
14868 Call check_sibcall_argument_overlap.
14870 2000-07-13 Bruce Korb <bkorb@gnu.org>
14872 * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
14873 (emit_gnu_type): utility procedure for gnu_type_fix
14874 (gnu_type_fix): implement various pre-processor guards around
14875 standard types so these types can be defined over and over
14876 * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
14877 types alluded to above will have GNU-compliant base types
14878 * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
14879 * fixinc/inclhack.def: add test_text entries and utilize the new
14880 "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
14881 * fixinc/fixincl.x: regenerate
14883 2000-07-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14885 * diagnostic.c (vline_wrapper_message_with_location,
14886 v_message_with_file_and_line, v_error_with_file_and_file,
14887 v_error_for_asm, v_warning_for_asm, vfatal,
14888 v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
14889 vsorry, verror, vwarning, vpedwarn): Remove.
14890 (diagnostic_for_asm): New function.
14891 (pedwarn, error, warning, pedwarn_with_file_and_line,
14892 error_with_file_and_line, warning_with_file_and_line, sorry,
14893 error_for_asm, warning_for_asm, fatal): Reimplement.
14894 (finish_diagnostic): Clear diagnostic info as well.
14896 2000-07-13 Neil Booth <NeilB@earthling.net>
14898 * c-common.h (flag_digraphs): New.
14899 * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
14900 * c-lex.c (yylex): Use flag_digraphs to decide whether to
14903 2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
14905 * gcc.c (do_spec_1): Add new %B operator.
14906 (set_input): Prepare for %B.
14908 (link_command_spec): Move up with the other tm.h-
14909 overrideable specs. Factor out the portion conditional on
14910 LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
14911 (struct compiler): Just have a single spec string. All users
14913 (default_compilers): Remove unnecessary braces.
14914 (static_specs): Update.
14916 (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
14918 (C and assembly specs): Use the new named specs, as appropriate.
14920 * objc/lang-specs.h: Use the new named specs.
14921 Remove unnecessary braces.
14923 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14925 * gcc.c (execute): If a subprocess gets a fatal signal, report
14926 strsignal() of the signal number, and ask for a bug report.
14927 Do not do this for SIGPIPE if there's already been an error.
14929 * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE.
14930 Delete pipe_closed.
14932 * tradcif.c: Remove.
14934 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14936 * final.c (profile_function): Do not emit profile counters in
14937 the data section, if NO_PROFILE_COUNTERS is defined.
14938 * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for
14941 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
14942 (FUNCTION_PROFILER): Just emit a call to mcount.
14944 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14946 * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
14948 * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
14949 cpplib.c, cpplib.h: Eradicate all traces of code dependent on
14950 traditional, lang_chill, or lang_fortran.
14952 * cppfiles.c: #undef strcmp to suppress warning about macros
14953 used without arguments.
14954 (_cpp_execute_include): Use f, not fname, in "No include path"
14956 (_cpp_pop_file_buffer): New function.
14957 * cpplib.c: Don't include <sys/mman.h>.
14958 (cpp_push_buffer): Set line_base and lineno in new buffer.
14959 (cpp_pop_buffer): Use _cpp_pop_file_buffer.
14961 * cpplex.c: Move all prototypes and structure declarations to the
14962 top of the file. Properly parenthesise some macro arguments.
14963 (cpp_scan_line): New function.
14964 (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
14965 don't need to walk up the stack counting.
14967 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14969 * c-common.c (combine_strings): Emit a pedantic warning when a
14970 string length is greater than the minimum ANSI C is required
14973 Wed Jul 12 13:24:30 2000 Jeffrey A Law (law@cygnus.com)
14975 * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
14976 * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
14978 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14980 * c-decl.c (define_label): Warn about identifier conflicts with
14981 labels in traditional C.
14983 * c-parse.in (unop +): Warn about the unary plus operator for
14986 * c-typeck.c (store_init_value): Warn about automatic aggregate
14987 initialization for traditional C.
14989 * invoke.texi (-Wtraditional): Document new warnings.
14991 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
14993 * Makefile.in (c-errors.o): Fix thinko in dependency.
14995 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14997 * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
14998 -traditional, -ftraditional, or -traditional-cpp was given.
14999 Do not pass -traditional to the preprocessor.
15000 (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
15001 preprocessor does it automatically.
15002 * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
15004 * ch/lang-specs.h: Always use tradcpp. Do not pass
15005 -traditional, -trigraphs, or -pedantic to the preprocessor.
15006 * f/lang-specs.h (.F spec): Likewise. Don't bother defining
15009 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
15011 * cppexp.c (LOGICAL): Delete macro.
15012 (_cpp_parse_expr): Do not use UNARY for unary +. Implement ||
15015 * cpphash.c (HASHSIZE): Increase to 4096.
15016 (struct hashdummy): Add hash field.
15017 (eq_HASHNODE): Compare unreduced hashes, then lengths, then
15018 the string values using memcmp.
15019 (cpp_lookup): Set dummy.hash.
15021 Wed Jul 12 13:15:16 2000 Marc Espie <espie@openbsd.org>
15023 * configure.in (m88k-openbsd): Express configuration using new fragment
15025 * configure: Rebuilt.
15026 * m88k/aout-dbx.h: New.
15027 * m88k/openbsd.h: New.
15028 * m88k/xm-openbsd.h: New.
15030 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15032 * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
15034 2000-07-12 Richard Henderson <rth@cygnus.com>
15036 * reload.c (push_secondary_reload): Make sure to add the new
15037 reload at the end, after acquiring secondary memory.
15039 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15041 * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
15043 * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
15044 lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
15046 * c-parse.in (stmt): Delete unused variables.
15048 * convert.c (convert_to_vector): Likewise.
15050 * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
15052 * tree.c (finish_vector_type): Prototype.
15054 2000-07-12 Bruce Korb <bkorb@gnu.org>
15056 * fixinc/fixfixes.c: use xmalloc
15057 * fixinc/fixincl.c(initialize): set program name for xmalloc
15058 * fixinc/fixlib.c(must_malloc): obsolete
15059 (is_cxx_header): no longer used - disabled
15060 (skip_quote): inserted and disabled for future use
15061 * fixinc/fixlib.h: reflects above
15062 * fixinc/fixtests.c: removed dinkleberries
15064 2000-07-12 Neil Booth <NeilB@earthling.net>
15066 * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
15067 * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
15069 * cpphash.c: (struct macro_info, alloc_macro, free_macro,
15070 struct toklist_dummy): New.
15071 (cpp_free_definition): Free macros with free_macro.
15072 (count_params): Don't save paramter spellings. Save macro
15073 information in a struct macro_info.
15074 (parse_define): Don't allocate a token list.
15075 (save_expansion): Allocate the macro's token list, and
15076 save parameter spellings if necessary. Use TOKEN_SPELL.
15077 (cpp_create_definition): Make list const.
15079 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
15081 * c-typeck.c (pedwarn_c99): Move to
15082 * c-errors.c: ... Here.
15083 * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
15084 * diagnostic.c (verror, vwarning, vpedwarn): Make static.
15085 * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
15086 (c-errors.o): List dependency.
15088 2000-07-12 Mark Mitchell <mark@codesourcery.com>
15090 * c-parse.c: Remove.
15091 * c-parse.h: Likewise.
15092 * c-parse.y: Likewise.
15093 * objc/objc-parse.c: Likewise.
15094 * objc/objc-pasre.y: Likewise.
15096 2000-07-11 Rodney Brown <RodneyBrown@pmsc.com>
15098 * gcc.texi: Fix minor typos
15099 * extend.texi: Fix minor typos
15101 2000-07-11 Marc Espie <espie@openbsd.org>
15103 * collect2.c (main): Recognize .lo as object files.
15105 2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
15107 * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
15110 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
15111 with MAP_ANONYMOUS and MAP_ANON.
15112 * configure, config.in: Rebuilt.
15114 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
15116 * diagnostic.c (save_output_state): Remove.
15117 (restore_output_state): Likewise.
15118 (clear_text_info): New function.
15119 (clear_diagnostic_info): Likewise.
15120 (output_text_length, is_starting_newline, output_prefix,
15121 line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
15122 prefixing_policy, output_buffer_ptr_to_format_args): New macros
15123 (set_real_maximum_length, output_set_maximum_length,
15124 output_set_prefix, output_get_prefix, output_set_maximum_length,
15125 output_destroy_prefix, init_output_buffer,
15126 reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
15127 output_add_newline, output_add_character, output_add_space,
15128 output_append_r, output_append, wrap_text, output_format,
15129 output_do_printf, output_printf, output_do_verbatim,
15130 output_verbatim, verbatim): Use them.
15131 (output_clear): Split into cleat_text_info and
15132 clear_diagnostic_info.
15133 (struct output_state): Move to...
15135 * diagnostic.h: ...Here
15136 (struct output_buffer): Adjust.
15138 2000-07-11 Zack Weinberg <zack@wolery.cumb.org>
15140 * cpplex.c (parse_name): No longer inline (premature optimization).
15141 (do_pop_context): Fold into pop_context.
15142 (pop_context): Returns int.
15143 (lex_next): Hoist test for end of directive into pop_context.
15144 (push_macro_context): Returns int; takes just reader and token.
15145 Hoist test for excessive nesting to caller.
15146 (push_arg_context): Returns void; takes just reader and token.
15147 Do not call stringify_arg or get_raw_token.
15148 (get_raw_token): Convert tail recursion through push_arg_context
15149 to a loop at this level. Call stringify_arg here if appropriate.
15150 (maybe_paste_with_next): Convert tail recursion to a while loop.
15151 Hoist test of paste_level to caller.
15153 (stringify_arg): Push arg context at beginning.
15154 (cpp_get_token): Split out core into _cpp_get_token. Call
15155 process_directive here. Throw away CPP_PLACEMARKER tokens.
15156 (_cpp_get_token): Convert tail recursion through
15157 push_macro_context to a loop at this level.
15158 (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
15159 _cpp_get_raw_token): Use _cpp_get_token.
15160 (_cpp_skip_rest_of_line): Drop the context stack directly; do
15161 not call pop_context.
15162 (_cpp_run_directive): Call lex_next directly.
15164 * cpphash.h: Prototype _cpp_get_token.
15165 * cppexp.c (lex): Use it.
15166 * cpphash.c (parse_define): Use it.
15167 * cpplib.c (get_define_node, do_undef, parse_include,
15168 read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
15169 do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
15170 parse_ifdef, validate_else): Use it.
15171 (cpp_push_buffer): Tweak error message; abort if anyone tries
15172 to push a buffer while macro expansions are stacked.
15174 2000-07-11 Donn Terry <donnte@microsoft.com>
15176 * cpplex.c (free_macro_args, save_token): Cast arg of free
15177 and/or xrealloc to PTR.
15178 (_cpp_init_input_buffer): Clear all fields of the base context.
15180 Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15182 * gensupport.c (process_rtx): Make rtl checking stop
15183 complaining about the define_insn while it is being
15184 converted from a define_insn_and_split.
15186 Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
15188 * config/mips/mips.c (simple_memory_operand): Access the
15189 INTVAL of the address, not it's containing MEM.
15191 2000-07-11 Bruce Korb <bkorb@gnu.org>
15193 * fixinc/fixtests.c(double_slash): obsolete
15194 (else_endif_label): likewise
15195 * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
15196 (libc1_ifdefd_memx): correct initial comment
15197 and omit the #if/#endif pair from the memxxx declarations
15198 * fixinc/fixincl.x: regen
15200 2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15202 * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
15204 2000-07-11 Neil Booth <NeilB@earthling.net>
15206 * cpp.texi: Update.
15208 2000-07-11 Neil Booth <NeilB@earthling.net>
15210 * cppinit.c: (cpp_reader_init): Allow digraphs by default.
15211 (handle_option): Set digraphs according to standard.
15212 Merge OPT_lang_c89 handler with OPT_std_c89.
15214 * cpplex.c: (lex_line, can_paste): Honour digraphs in
15215 accordance with the digraphs flag.
15217 * cpplib.h: (struct cpp_options): New option digraphs.
15219 2000-07-10 Hans-Peter Nilsson <hp@axis.com>
15220 Bruce Korb <bkorb@gnu.org>
15222 * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
15223 * fixinc/fixincl.x: Regenerate.
15224 * fixinc/tests/base/testing.h: Add testcase.
15226 2000-07-10 Richard Henderson <rth@cygnus.com>
15228 * config/ia64/ia64.c (got_symbolic_operand): New.
15229 (symbolic_operand, move_operand): Revert 0701 change.
15230 * config/ia64/ia64.h (PREDICATE_CODES): Update.
15231 * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
15232 * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
15233 split the offset into a 14-bit low part instead of a 13-bit low part.
15234 (load_fptr): Mark the mem as unchanging.
15235 (load_symptr): Use got_symbolic_operand.
15237 2000-07-10 Nick Clifton <nickc@cygnus.com>
15239 * libgcc2.c (next_stack_level): Cast result of computation to
15240 (void **) so that the assignment does not generate a warning.
15242 2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
15244 * flags.h : Add new variable flag_single_precision_constant.
15245 * toplev.c (display_help) : Add -fsingle-precision-constant option.
15246 (flag_single_precision_constant): New.
15247 * c-lex.c (yylex): Convert floating point constant to single
15248 precision constant.
15249 * invoke.texi : Add documentation for this new option.
15251 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
15253 * diagnostic.c (output_octal): Second parameter is unsigned.
15254 (output_long_octal): Likewise.
15255 (output_hexadecimal): Likewise.
15256 (output_long_hexadecimal): Likewise.
15257 (output_format): Adjust arguments extraction. Tweak.
15258 (output_verbatim, verbatim): End variable argument list.
15259 (report_diagnostic): Improve documentation.
15261 2000-07-10 Benjamin Chelf <chelf@codesourcery.com>
15263 * c-common.h (build_stmt): Declare.
15264 (build_continue_stmt): Likewise.
15265 (build_break_stmt): Likewise.
15266 (build_return_stmt): Likewise.
15268 * c-decl.c (do_case): Rewrite to do what previously done in
15271 * c-semantics.c (build_stmt): Define.
15272 (build_return_stmt): Likewise.
15273 (build_break_stmt): Likewise.
15274 (build_continue_stmt): Likewise.
15275 (build_case_label): Likewise.
15277 * c-parse.in (BREAK): Change to build tree, then generate RTL.
15278 (CONTINUE): Likewise.
15279 (RETURN): Likewise.
15281 (DEFAULT): Likewise.
15283 * c-parse.y: Regenerate.
15284 * c-pasre.c: Likewise.
15286 2000-07-09 Jason Merrill <jason@redhat.com>
15288 * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
15290 * tree.h (STRIP_NOPS): Check for error_mark_node.
15291 (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
15292 (dwarf2out_*): Remove duplicate declarations.
15294 * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
15295 DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
15297 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
15299 * diagnostic.c (wrap_text): New function.
15300 (maybe_wrap_text): Likewise.
15301 (output_add_string): Use it.
15302 (output_format): Likewise.
15303 (count_error): Use verbatim instead of notice.
15304 (report_error_function): Likewise. Don't use plain fprintf.
15305 (finish_diagnostic): New function.
15306 (output_do_verbatim): Tweak. Commonalize functionalities in
15307 output_verbatim and verbatim.
15308 (output_verbatim): Adjust.
15309 (verbatim): Likewise.
15310 (report_diagnostic): Define.
15312 * diagnostic.h (report_diagnostic): Prototype.
15314 2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
15316 * cppexp.c (_cpp_parse_expr): Don't use unary plus.
15318 2000-07-09 Neil Booth <NeilB@earthling.net>
15320 * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
15321 IShspace, ISspace: Update.
15323 * cppinit.c: ISTABLE: Update.
15326 * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
15327 (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
15328 (skip_block_comment, skip_line_comment, parse_string,
15329 lex_line): Use is_vspace rather than IS_NEWLINE.
15330 (skip_whitespace, lex_line): Clean up to use is_nvspace.
15331 (lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
15333 (lex_next): Unconditionally stop if within a directive.
15334 Treat directives within macro invocations as directives
15335 (after parse_args emits error), not as the argument.
15337 2000-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
15339 * diagnostic.c (diagnostic_args): New macro.
15340 (diagnostic_msg): Likewise.
15341 (output_formatted_integer): Likewise.
15342 (output_state): New data type.
15343 (digit_buffer): Make global.
15344 (output_add_integer): Rename to output_decimal. Squeeze
15346 (output_long_decimal, output_unsigned_decimal,
15347 output_long_unsigned_decimal, output_octal, output_long_octal,
15348 output_hexadecimal, output_long_hexadecimal): New functions.
15349 (output_append_r): New function.
15350 (output_append): Tweak.
15351 (output_flush_on): Rename to output_to_stream.
15352 (output_format): Change prototype. Improve documentation. Handle
15353 more format specifiers.
15354 (build_location_prefix): Rename to context_as_prefix.
15355 (output_notice): Rename to output_do_printf.
15356 (output_printf): Tweak.
15357 (line_wrapper_printf): Likewise.
15358 (vline_wrapper_message_with_location): Adjust call to renamed
15360 (v_message_with_decl): Likewise.
15361 (default_print_error_function): Likewise.
15362 (save_output_state): New function.
15363 (restore_output_state): Likewise.
15364 (output_do_verbatim): Likewise.
15365 (output_verbatim): Define.
15366 (verbatim): Likewise.
15368 * diagnostic.h (printer_fn): Change return type from void to int.
15369 Improve documentation.
15370 (output_add_integer): Rename to output_decimal.
15371 (output_flush_on, output_format): Don't export.
15372 (output_verbatim, verbatim): Declare.
15374 2000-07-08 Toon Moene <toon@moene.indiv.nluug.nl>
15376 * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
15377 Check whether c divides op1 exactly if operation is not
15380 2000-07-08 Richard Henderson <rth@cygnus.com>
15382 * final.c (final): Do not abort when reg-stack introduces
15385 2000-07-08 Zack Weinberg <zack@wolery.cumb.org>
15387 * cpplib.h (struct cpp_name): Now struct cpp_string.
15388 (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
15389 CPP_HEADER_NAME): Change to type S.
15390 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
15391 field, a cpp_hashnode *. All references to val.name updated
15392 to use val.str or val.node as appropriate.
15393 (struct cpp_reader): Add spec_nodes field.
15394 (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
15396 * cpphash.h (struct spec_nodes): New.
15397 (enum spell_type): Reorder. Only SPELL_STRING tokens use
15398 val.str. All references to 'spelling > SPELL_NONE' updated to
15401 (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
15402 pfile->buffer->inc are not NULL before dereferencing them.
15404 * cpplex.c (parse_name): Take a pointer to the current token,
15405 plus current position and limit as args; return the new
15406 position; don't copy the text of a name into the string
15407 buffer, instead call cpp_lookup and store the node pointer.
15408 If extending a token, copy out the text of the old into a
15409 scratch buffer, append the new, look that up and store the new
15410 node pointer. Inline.
15411 (maybe_paste_with_next): If the result of paste is a NAME,
15412 then look up the pasted text and store its node pointer.
15413 (lex_line): Adjust for new parse_name interface.
15414 Check for L"str", L'str' using spec_nodes->n_L.
15415 (spell_token): SPELL_IDENT tokens have their spelling in
15416 val.node->name. Handle SPELL_STRING tokens that don't have
15418 (_cpp_expand_name_space,
15419 (can_paste): Check for L ## "str" using spec_nodes->n_L.
15420 (cpp_get_token, special_symbol): No need to call cpp_lookup.
15421 (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
15422 return 1=equal 0=not, not a tristate.
15424 * cpphash.c (var_args_str): Delete.
15425 (find_param): Compare node fields directly.
15426 (is__va_args__): Use CPP_PEDANTIC. Just compare
15427 token->val.node with spec_nodes->n__VA_ARGS__.
15428 (dump_funlike_macro): Don't use var_args_str.
15430 * cpplib.c (_cpp_check_directive): Just walk through
15431 spec_nodes->dirs comparing pointers.
15432 (get_define_node, do_pragma_poison, detect_if_not_defined,
15433 parse_ifdef): The identifier has already been looked up.
15434 (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
15436 (do_if): Only call detect_if_not_defined at beginning of file.
15437 (_cpp_parse_assertion): Only copy string pointers for
15438 SPELL_STRING tokens.
15439 (pragma_dispatch): Take a node pointer and examine its name
15441 (_cpp_init_stacks): Also initialize the spec_nodes structure.
15443 * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
15445 (cpp_cleanup): Free pfile->spec_nodes. Call _cpp_cleanup_* in
15446 reverse order from the corresponding _cpp_init_* routines.
15448 * cppexp.c (parse_number, parse_charconst, parse_defined,
15449 lex): Check val.node->type instead of calling cpp_defined.
15450 Use spec_nodes entries where appropriate.
15452 * fix-header.c, scan-decls.c: Update for interface changes.
15454 2000-07-08 Geoffrey Keating <geoffk@cygnus.com>
15456 * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
15457 emitting aux_truncdfsf2.
15459 2000-07-03 Donn Terry (donnte@microsoft.com)
15461 * cppinit.c (print_help): split overlong line into ISO C89
15464 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
15466 * cppexp.c: Update all code for new lexer interface.
15467 (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
15468 (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
15469 * cpplex.c (token_names): Trim leading CPP_ from names; make
15470 the strings unsigned.
15471 (_cpp_spell_operator): New.
15472 (is_macro_disabled): Disable all macros if rescanning
15474 (_cpp_get_directive_token): Remove.
15476 * cppinit.c: Don't set no_macro_expand.
15477 * cpplib.c (read_line_number, do_line): Check only for EOF,
15479 * cpphash.h: Update prototypes.
15480 * cpplib.h (CPP_VSPACE): Remove.
15481 (struct cpp_reader): Remove no_macro_expand.
15483 2000-07-08 Neil Booth <NeilB@earthling.net>
15485 * cpphash.c (is__va_args__): New function.
15486 (count_params): Fix line reported in error messages. Use
15487 is__va_args__. Don't return ')' on error. Flag GNU style
15488 rest args macro definitions.
15489 (parse_define): Check macro name is not __VA_ARGS__.
15490 (save_expansion): Check identifier in non-varargs-macro is
15491 not __VA_ARGS__. Don't flag GNU_VARARGS.
15492 * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
15493 (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
15494 than per-token GNU_VARARGS.
15495 * cpplib.h (GNU_VARARGS): Remove.
15496 (GNU_REST_ARGS): New.
15498 Sat Jul 8 01:38:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
15500 * i386.md (call_pop, call, call_value_pop): Do not set
15501 current_function_uses_pic_offset_table for calls to static
15502 functions or indirect calls.
15504 2000-07-07 Jim Wilson <wilson@cygnus.com>
15506 * config/ia64/ia64.c (rws_access_reg): New local write_count. If
15507 is_predicate_reg, then take max write_count of register pair.
15509 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15511 * tradcpp.c (main): Rename label `include' to `add_include' to
15512 avoid conflicts with variable `include' in traditional C.
15514 2000-07-07 Jakub Jelinek <jakub@redhat.com>
15516 * integrate.c (copy_insn_list): Remove REG_LABEL notes.
15518 2000-07-07 Jakub Jelinek <jakub@redhat.com>
15520 * sibcall.c (uses_addressof): Add INMEM argument, check for
15521 current_function_internal_arg_pointer outside of MEM rtxs in addition
15523 (sequence_uses_addressof): Update caller.
15525 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
15527 * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
15530 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15532 * system.h (UNION_INIT_ZERO): New macro for initializing union
15533 members in structs.
15535 * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
15537 2000-07-07 Neil Booth <NeilB@earthling.net>
15539 * cpp.texi: Update.
15541 Fri Jul 7 07:47:35 2000 Jeffrey A Law (law@cygnus.com)
15543 * final.c (final): Detect out of bounds array access to
15544 the insn_lengths array.
15546 2000-07-07 Kazu Hirata <kazu@hxi.com>
15548 * fold-const.c (fold): Fix a comment typo.
15550 2000-07-07 Neil Booth <NeilB@earthling.net>
15552 * cpp.texi: Update to new lexer.
15554 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
15556 * tradcpp.c: New file.
15557 * tradcif.y: New file.
15558 * tradcif.c: New generated file.
15560 * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
15561 $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and
15562 dependencies of C. Install tradcpp from install-common, in
15565 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
15567 * cppinit.c: Include cppdefault.h. Refer to
15568 cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
15569 to GCC_INCLUDE_DIR and its length.
15570 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
15571 USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
15572 STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to
15574 (include_defaults_array): Move to cppdefault.c.
15576 * cppdefault.h: New file.
15577 * cppdefault.c: New file.
15579 * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
15580 (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
15581 (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
15584 Thu Jul 6 18:30:36 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15586 * reload.c (push_reload): When seeing if can reuse a register,
15587 check extra registers against widest of INMODE and OUTMODE.
15589 2000-07-06 Neil Booth <NeilB@earthling.net>
15591 * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
15592 based on full length of predicate.
15594 2000-07-06 Hans-Peter Nilsson <hp@axis.com>
15596 * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
15597 [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
15599 2000-07-05 Kazu Hirata <kazu@hxi.com>
15601 * h8300-proto.h: Fix formatting.
15602 * h8300.c: Likewise.
15603 * h8300.h: Likewise.
15605 2000-07-05 Jim Wilson <wilson@cygnus.com>
15607 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
15610 2000-07-05 Rodney Brown <RodneyBrown@pmsc.com>
15612 * invoke.texi: Fix minor typos
15613 * md.texi: Fix minor typos
15615 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
15617 * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
15619 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
15621 * cpplex.c: Don't include sys/mman.h.
15622 (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
15624 * cpplib.c: Include sys/mman.h and obstack.h.
15625 (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
15627 (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
15628 (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't
15629 bother freeing if stack entries (they will be freed with their buffer).
15630 (do_endif): Free if stack entries from the buffer obstack.
15631 (push_conditional): Allocate if stack entries from the buffer obstack.
15633 (find_answer): Rename to _cpp_find_answer.
15634 (do_assert, do_unassert): Update.
15636 * cpphash.h: Update prototypes.
15637 (xobnew): New convenience macro.
15638 * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
15640 (struct cpp_hashnode): Remove disabled field.
15642 * cppinit.c: Don't include hashtab.h or splay-tree.h.
15643 (report_missing_guard): Moved to cppfiles.c.
15644 (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
15646 (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
15647 cpp_cleanup_includes. Don't destroy hashtab or
15648 all_include_files here.
15649 (cpp_finish): Use _cpp_report_missing_guards.
15651 * cppfiles.c (report_missing_guard): Moved from cppinit.c.
15652 (_cpp_init_include_table): Rename _cpp_init_includes.
15653 (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
15655 * cppexp.c (parse_assertion): Update for new name of
15658 * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
15660 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
15662 * cpplib.c (do_ident): s/VSPACE/EOF/
15664 2000-07-05 Neil Booth <NeilB@earthling.net>
15666 * cpplex.c: Fix trigraph replacement within strings.
15668 2000-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15670 * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
15672 * xcoffout.c (assign_type_number): Constify.
15673 (xcoffout_source_file): Add static prototype. Don't needlessly
15674 cast away const-ness.
15676 2000-07-04 Jason Merrill <jason@redhat.com>
15678 * frame.h (frame_state): Move base_offset to end.
15680 Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
15682 * calls.c (emit_library_call_value_1): Revert previous change.
15684 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
15686 * fix-header.c (struct partial_proto): Remove unnecessary fields.
15687 (recognized_extern, recognized_function, read_scan_file):
15688 Update for new scheme.
15689 (check_protection): It's still a multiple include guard even
15690 if it doesn't always trigger.
15691 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
15693 * scan.h: Declare struct cpp_token. Update prototypes.
15695 2000-07-03 Neil Booth <neilb@earthling.net>
15696 Zack Weinberg <zack@wolery.cumb.org>
15698 Complete overhaul of the lexer and macro expander.
15700 * cpphash.c (object_defn, funct_defn, push_macro_expansion,
15701 arg, arglist, argdata, reflist, collect_objlike_expansion,
15702 collect_funlike_expansion, collect_params,
15703 warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
15704 unsafe_chars, macarg, compare_defs, special_symbol,
15705 scan_arguments, stringify, funlike_macroexpand,
15706 _cpp_quote_string, monthnames): Delete.
15707 (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
15708 _cpp_create_definition, _cpp_dump_definition,
15709 dump_hash_helper): Adjust.
15710 (find_param, count_params, parse_define, var_args_str,
15711 check_macro_redefinition, save_expansion): New.
15713 * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
15714 parse_string, output_line_command, trigraph_replace,
15715 lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
15716 cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
15717 cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
15718 _cpp_skip_rest_of_line): Modify.
15720 (maybe_macroexpand, skip_comment, copy_comment, skip_string,
15721 find_position, null_warning, bump_column, expand_name_space,
15722 pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
15723 _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
15724 _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
15725 _cpp_prescan): Delete.
15727 (dump_param_spelling, process_directive, lex_next,
15728 is_macro_disabled, stringify_arg, expand_context_stack,
15729 output_token, make_string_token, alloc_number_token,
15730 special_symbol, duplicate_token, maybe_paste_with_next,
15731 can_paste, prevent_macro_expansion, restore_macro_expansion,
15732 get_temp_token, release_temp_tokens, quote_string,
15733 token_names, token_spellings, _cpp_expand_name_space,
15734 _cpp_glue_header_name, _cpp_reserve_name_space,
15735 digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
15736 placemarker_token, eof_token, cpp_context, macro_args,
15737 get_raw_token, parse_arg, parse_args, save_token,
15738 push_arg_context, push_macro_context, pop_context,
15739 do_pop_context, free_macro_args, _cpp_get_line,
15740 _cpp_run_directive): New.
15742 * cpplib.c (validate_else, parse_include, push_conditional,
15743 pass_thru_directive, read_line_number, parse_ifdef,
15744 detect_if_not_defined, _cpp_check_directive, do_define,
15745 do_undef, do_include, do_import, do_include_next, do_error,
15746 do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
15747 top_pragmas, do_pragma_gcc, do_pragma_implementation,
15748 do_pragma_poison, do_pragma_system_header,
15749 do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
15750 dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
15751 do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
15752 cpp_defined): Update for new scheme.
15753 (strtoul_for_line, get_define_node, dump_macro_name,
15754 _cpp_check_linemarker, _cpp_parse_assertion): New.
15755 (_cpp_handle_directive, do_pragma_default): Delete.
15757 * cpphash.h (struct predicate): Now struct answer.
15758 (enum spell_type, struct token_spelling, struct directive,
15759 directive_handler): New.
15760 Update prototypes. Remove unused macros.
15761 * cpplib.h: Update prototypes. Remove unused macros,
15762 structure definitions, and fields.
15764 * cpperror.c (print_containing_files, v_message): Adjust.
15765 * cppexp.c (parse_assertion, lex, parse_escape,
15766 _cpp_parse_expr): Adjust.
15767 * cppfiles.c (open_include_file, _cpp_execute_include,
15768 _cpp_compare_file_date, cpp_read_file, read_include_file):
15770 * cppinit.c (dump_special_to_buffer): Delete.
15771 (append_include_chain, merge_include_chains, cpp_reader_init,
15772 cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
15773 cpp_finish, handle_option, print_help): Adjust.
15774 * cppmain.c (main): Adjust.
15776 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
15778 * cppspec.c (lang_specific_driver): Use double quotes in error
15781 Mon Jul 3 16:53:43 2000 Clinton Popetz <cpopetz@cygnus.com>
15783 * calls.c (emit_library_call_value_1): Use valreg instead
15784 of hard_libcall_value.
15786 2000-07-03 Geoff Keating <geoffk@cygnus.com>
15788 * config/rs6000/rs6000.c (rs6000_emit_move): New function.
15789 * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
15790 * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
15798 * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
15799 mode instead of wider_mode is being used.
15801 2000-07-03 Jakub Jelinek <jakub@redhat.com>
15803 * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
15804 of 'r'. Use q_regs_operand.
15805 (andsi_1+2): Use q_regs_operand.
15807 2000-07-03 Jakub Jelinek <jakub@redhat.com>
15809 * builtins.c (get_memory_rtx): Always put into alias set 0.
15811 2000-07-03 Nick Clifton <nickc@cygnus.com>
15813 * config/arm/arm.md: Fix post increment and pre increment
15814 peepholes so that they do not generate UNPREDICATBLE opcodes.
15815 (ie ones where the increment clobbers the source/destination).
15817 2000-07-01 Marek Michalkiewicz <marekm@linux.org.pl>
15819 * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
15820 change too big for -mtiny-stack" a warning, if larger than 63.
15821 (out_set_stack_ptr): Change the logic so -mno-interrupts is
15822 always safe to use on possible future devices.
15823 (function_prologue): Write SPH before SPL, for consistency.
15824 If interrupt_func_p true, we know we have enabled interrupts.
15825 (avr_num_arg_regs): New function. Round up to even number of
15826 bytes if no -mpack-args or if calling a libgcc function.
15827 (function_arg, function_arg_advance): Use it.
15828 (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
15829 Output "movw" if available.
15830 (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
15831 of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
15832 (asm_output_section_name): Add blanks for consistent output.
15833 (encode_section_info): Set TREE_READONLY for progmem data to
15834 avoid gas warnings about changed section attributes.
15835 (avr_hard_regno_mode_ok): Force non-QImode data to start in
15836 even numbered registers on devices with "movw".
15837 * config/avr/avr.h (MASK_*): Define bits for target_flags.
15838 (TARGET_SWITCHES): Mark help strings for translation.
15839 Add new -mpack-args and -menhanced switches.
15840 (TARGET_OPTIONS): Mark help strings for translation.
15841 (progmem_section): Add section attributes.
15842 * config/avr/avr.md (*movhi, call_insn, call_value_insn):
15843 Output "movw" if available.
15844 (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
15846 * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
15847 call convention (arguments aligned on even registers).
15848 (_cleanup, _exit): Make weak symbols libc can override.
15850 2000-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15852 * fp-bit.h: New file.
15854 * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
15855 Comment #endif statements.
15856 (__thenan_sf, __thenan_df): Add missing braces around initializer.
15858 Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
15860 * gcse.c (compute_pre_data): Compute ae_kill using other local
15861 properties instead of calling compute_ae_kill.
15863 * alias.c (init_alias_analysis): Do not call
15864 prologue_epilogue_contains until after reload has completed.
15866 2000-07-02 Benjamin Chelf <chelf@codesourcery.com>
15868 * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
15869 (genrtl_finish_compound_stmt): Likewise.
15870 (genrtl_compound_stmt): Change to return void.
15872 * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
15873 move code from here to ...
15874 (genrtl_compound_stmt): ... here.
15875 (genrtl_finish_compound_stmt): Remove.
15876 (expand_stmt): Add comment.
15878 2000-07-02 Zack Weinberg <zack@wolery.cumb.org>
15880 * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
15883 2000-07-02 Jakub Jelinek <jakub@redhat.com>
15885 * cpplib.h (struct cpp_reader): New field include_depth.
15886 (struct cpp_printer): Rename last_bsd to last_id.
15887 * cppfiles.c (read_include_file): Bump include_depth.
15888 * cpplex.c (cpp_pop_buffer): Decrement include_depth.
15889 (output_line_command): Output correct #line if a header
15890 is including itself and is not protected against multiple inclusion.
15891 Use include_depth instead of buffer_stack_depth, last_id instead of
15893 * cppinit.c (cpp_start_read): Initialize last_id instead of
15896 2000-07-01 Benjamin Chelf <chelf@codesourcery.com>
15898 * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
15899 (c-semantics.o): New target.
15901 * c-common.h (TREE_LANG_FLAG_?): Added documentation.
15902 (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
15903 (genrtl_clear_out_block): Likewise.
15904 (genrtl_goto_stmt): Likewise.
15905 (genrtl_expr_stmt): Likewise.
15906 (genrtl_decl_stmt): Likewise.
15907 (genrtl_if_stmt): Likewise.
15908 (genrtl_while_stmt): Likewise.
15909 (genrtl_do_stmt): Likewise.
15910 (genrtl_return_stmt): Likewise.
15911 (genrtl_for_stmt): Likewise.
15912 (genrtl_break_stmt): Likewise.
15913 (genrtl_continue_stmt): Likewise.
15914 (genrtl_scope_stmt): Likewise.
15915 (genrtl_switch_stmt): Likewise.
15916 (genrtl_case_label): Likewise.
15917 (genrtl_begin_compound_stmt): Likewise.
15918 (gerntl_finish_compound_stmt): Likewise.
15919 (genrtl_compound_stmt): Likewise.
15920 (genrtl_asm_stmt): Likewise.
15921 (genrtl_decl_cleanup): Likewise.
15922 (DECL_ANON_UNION_ELEMS): Likewise.
15923 (emit_local_var): Likewise.
15924 (make_rtl_for_local_static): Likewise.
15925 (expand_cond): Likewise.
15926 (expand_stmt): Likewise.
15927 (c_expand_return): Likewise.
15928 (c_expand_start_case): Likewise.
15929 (do_case): Likewise.
15930 (COMPOUND_STMT_NO_SCOPE): Likewise.
15931 (c_expand_asm_operands): Likewise.
15932 (NEW_FOR_SCOPE_P): New macro.
15933 (expand_expr_stmt_fn): New type.
15935 (set_current_function_name_declared): Likewise.
15936 (current_function_name_declared): Likewise.
15937 (lang_expand_stmt): Likewise.
15938 (stmts_are_full_exprs_p): Likewise.
15939 (anon_aggr_type_p): Likewise.
15940 (lang_expand_expr_stmt): Likewise.
15941 (build_case_label): Likewise.
15943 * c-decl.c (lang_expand_expr_stmt): Initialize.
15944 (stmts_are_full_exprs_p): Define.
15945 (current_function_name_declared): Likewise.
15946 (do_case): Likewise.
15947 (lang_expand_stmt): Likewise.
15948 (set_current_function_name_declared): Likewise.
15949 (anon_aggr_type_p): Likewise.
15951 * c-semantics.c: New file.
15952 (expand_cond): Moved from cp/semantics.c.
15953 (genrtl_do_pushlevel): Likewise.
15954 (genrtl_clear_out_block): Likewise.
15955 (genrtl_goto_stmt): Likewise.
15956 (genrtl_expr_stmt): Likewise.
15957 (genrtl_decl_stmt): Likewise.
15958 (genrtl_if_stmt): Likewise.
15959 (genrtl_while_stmt): Likewise.
15960 (genrtl_do_stmt): Likewise.
15961 (genrtl_return_stmt): Likewise.
15962 (genrtl_for_stmt): Likewise.
15963 (genrtl_break_stmt): Likewise.
15964 (genrtl_continue_stmt): Likewise.
15965 (genrtl_scope_stmt): Likewise.
15966 (genrtl_switch_stmt): Likewise.
15967 (genrtl_case_label): Likewise.
15968 (genrtl_begin_compound_stmt): Likewise.
15969 (genrtl_finish_compound_stmt): Likewise.
15970 (genrtl_compound_stmt): Likewise.
15971 (genrtl_asm_stmt): Likewise.
15972 (genrtl_decl_cleanup): Likewise.
15973 (make_rtl_for_local_static): Moved from cp/decl.c.
15974 (emit_local_var): Likewise.
15975 (expand_stmt): Define.
15977 * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
15978 (c_expand_return): Likewise.
15979 (c_expand_start_case): Likewise.
15981 2000-07-01 Richard Henderson <rth@cygnus.com>
15983 * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
15984 with the low 13 bits set.
15985 (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
15986 * config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
15987 of the low 13 bits into a CONST plus an adddi3.
15988 (load_symptr): Set RTX_UNCHANGING_P.
15990 See ChangeLog.3 for earlier changes.