1 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
3 * function.c (fixup_var_refs): Use push_to_full_sequence where
6 2001-01-05 Michael Meissner <meissner@redhat.com>
8 * flags.h (flag_reorder_blocks): Add declaration.
9 (flag_rename_block): Ditto.
11 2001-01-05 DJ Delorie <dj@redhat.com>
13 * function.c (reorder_blocks): Make sure the flags are all reset
14 before using them to mark blocks, else a second invocation will
15 corrupt the block chain.
16 (reorder_blocks_0): New, resets the flags.
18 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
20 * cse.c (find_comparison_args): Stop if the argument is known to
23 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
25 * config/sh/sh.md (movdf): When splitting load into pair of
26 registers, don't clobber the register used in the address too
29 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
31 * varasm.c (mark_constant_pool): Improve initial comments.
32 (mark_constants): Move marking of constants to mark_constant.
33 (mark_constant): New function to recursively mark all constants
34 referred to by a constant.
36 2001-01-05 Catherine Moore <clm@redhat.com>
38 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
40 2001-01-05 Phil Edwards <pme@sources.redhat.com>
42 * cp/lang-options.h: Bring comment in line with reality.
43 * f/lang-options.h: Likewise.
44 * java/lang-options.h: Likewise.
45 * objc/lang-options.h: Likewise.
46 * ch/lang-options.h: Likewise.
47 * f/g77.texi: And update the manual.
49 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
50 Denis Chertykov <denisc@overta.ru>
52 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
53 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
54 * config/avr/avr.md (all peepholes that request a scratch register):
55 Call it, FAIL the peephole if not safe (in interrupt functions).
57 2001-01-05 Mark Mitchell <mark@codesourcery.com>
59 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
61 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
63 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
65 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
66 BUILT_IN_CREAL and BUILT_IN_CIMAG.
67 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
68 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
69 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
71 * extend.texi: Document these builtins.
73 2001-01-05 Daniel Berlin <dberlin@redhat.com>
75 * c-common.c (lang_get_alias_set): Say we know nothing of
78 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
80 2001-01-05 Bruce Korb <bkorb@gnu.org>
82 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
83 their x* equivalent versions for atexit-less systems
84 * fixinc/fixincl.c(main): do not return from main() on atexit-less
85 systems (or any other system any more).
87 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
89 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
90 output operands. Use arm_hard_register_operand for operand 4.
91 (stmsi_postinc): Similarly.
92 (ldmsi): Use arm_hard_register_operand for opernand 2.
94 * arm.c (arm_hard_register_operand): New function.
95 * arm-protos.h (arm_hard_register_operand): Prototype it.
97 * arm.h (HARD_REGNO_RENAME_OK): Define.
99 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
101 * simplify-rtx.c (cfc_args): add "unordered" field.
102 (check_fold_consts): Set unordered field.
103 (simplify_relational_operation): Simplify the unordered
106 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
109 * emit-rtl.c (try_split): Fix code to mark labels.
110 * jump.c (mark_jump_label): Make global.
111 * rtl.h (mark_jump_label): Declare.
113 * predict.c (estimate_probability): Handle unordred comparisons.
115 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
117 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
118 * cppinit.c (initialize_dependency_output): Update.
119 (cpp_finish): Output dummy targets for -MP.
121 (cpp_handle_option): Handle -MP. Don't quote -MT options.
122 * cpplib.h (struct cpp_options): Add deps_phony_targets.
123 * gcc.c (cpp_options): Update to handle -MP.
124 * mkdeps.c (deps_add_target, deps_add_default_target): Update
125 to quote only the default target.
126 (deps_phony_targets): Insert a preceding newline. Rename from
127 deps_dummy_targets for consistency.
130 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
132 * calls.c (emit_library_call_value_1): Support
133 INIT_CUMULATIVE_LIBCALL_ARGS.
134 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
136 2001-01-04 Richard Henderson <rth@redhat.com>
138 * c-decl.c (finish_struct): Detect flexible array members
139 used in an inappropriate context.
140 * c-typeck.c (really_start_incremental_init): Special case
141 constructor_max_index for zero length arrays.
142 (pop_init_level): Allow initialization of flexible array
143 members. Deprecate initialization of zero length arrays.
144 Don't issue missing initializer warning for flexible array
145 members or zero length arrays.
146 (process_init_element): Don't dereference null DECL_SIZE.
147 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
148 Don't abort for empty constructors. Use size_binop
149 (output_constructor): Add commentary regarding zero length
150 array futures. Abort if we try to initialize an array of
151 unspecified length with a non-empty constructor in the middle
154 * extend.texi (Zero Length): Update and clarify documentation
155 on static initialization.
157 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
159 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
160 with more than 32767 words of local storage.
162 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
164 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
165 for 'abs', 'labs', and 'fabs'.
166 (c4x_expand_builtin): Likewise.
167 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
169 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
171 * config/sh/sh.md (prget, prset): New insn types.
172 (return delay slot): Dont' allow prset.
173 (call, sfunc delay slot): Don't allow prget.
174 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
177 2001-01-05 Michael Hayes <mhayes@redhat.com>
179 * loop.h (struct loop_reg): New.
180 (struct loop_regs): Change to use array of `struct loop_reg'.
181 * loop.c: Replace assortment of varrays with single regs array.
182 (count_one_set): Delete may_not_move array argument
183 and use regs array instead. All caller's changed.
184 (count_loop_regs_set): Delete may_not_move and single_usage
185 arguments and use regs array instead. All caller's changed.
186 (find_single_use_in_loop): Replace usage array argument with pointer
187 to regs structure. All caller's changed.
188 (loop_optimize): Delete `moved_once' array.
190 2001-01-05 Michael Hayes <mhayes@redhat.com>
192 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
193 Use it instead of loop_info->has_call for scanning loop mems.
194 (check_dbra_loop): Replace loop_info->has_call test with
195 loop_info->has_nonconst_call.
197 2000-01-04 Matthew Hiller <hiller@redhat.com>
199 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
202 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
204 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
205 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
207 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
209 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
210 (flag_short_double, flag_short_wchar): Define.
211 (c_common_nodes_and_builtins): Create many tree nodes shared
212 between C and C++ here instead of in cp/decl.c and ...
213 * c-decl.c (init_decl_processing): ... here.
214 (SIZE_TYPE, WCHAR_TYPE): Don't define.
215 (flag_short_double, flag_short_wchar): Don't define.
216 (record_builtin_type): New function.
217 (build_void_list_node): New function.
218 * c-common.h (flag_short_double, flag_short_wchar,
219 record_builtin_type, build_void_list_node): Declare.
221 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
223 * integrate.c (expand_inline_function): Don't put a virtual
224 register into the reg map.
226 * function.c (fixup_var_refs_1): If force_operand didn't put
227 the address into the target, move it there.
229 2001-01-04 Mark Mitchell <mark@codesourcery.com>
231 Special-case tree_decl/tree_list allocations.
232 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
233 (OBJECT_SIZE): New macro.
234 (NUM_EXTRA_ORDER): Likewise.
235 (extra_order_size_table): New variable.
236 (NUM_ORDERS): New macro.
237 (objects_per_page_table): New variable.
238 (object_size_table): New variable.
239 (G.pages): Use NUM_ORDERS to bound the array.
240 (G.page_tails): Likewise.
241 (DIV_ROUND_UP): Remove.
242 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
243 (alloc_page): Use OBJECT_SIZE.
244 (size_lookup): Don't make it const.
245 (ggc_alloc): Use OBJECT_SIZE.
246 (ggc_set_mark): Likewise.
247 (ggc_get_size): Likewise.
248 (init_ggc): Set up the object_size_table, objects_per_page_table,
249 and adjust size_lookup.
250 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
251 (ggc_pop_context): Use NUM_ORDERS.
252 (clear_marks): Likewise.
253 (sweep_pages): Likewise.
254 (poison_pages): Likewise.
255 (ggc_print_statistics): Use OBJECT_SIZE.
257 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
259 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
260 Only call array_size_for_constructor if last field and array type
263 2001-01-04 Philip Blundell <philb@gnu.org>
265 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
266 from bit 31 downwards, if this requires no more insns.
267 (count_insns_for_constant): New helper function for above.
269 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
271 * gencodes.c (output_predicate_decls): Remove empty initializer.
273 2001-01-04 Mark Mitchell <mark@codesourcery.com>
275 * tree.c (copy_node): Remove documentation about obstacks.
276 (buidl1): Check that nobody tries to build 2-argument nodes this
279 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
281 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
284 * gencodes.c (output_predicate_decls): Fill empty initializer
287 2001-01-04 Jakub Jelinek <jakub@redhat.com>
289 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
290 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
292 (do_include): Handle missing headers like cpp0.
293 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
294 paths with first include pathname. Don't strcat to uninitialized
297 2001-01-04 Bernd Schmidt <bernds@redhat.com>
299 * regrename.c (regrename_optimize): Don't rename from frame pointer
300 if frame_pointer_needed.
301 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
302 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
303 (ia64_reorg): Use it instead of scheduling if ! optimize.
304 (errata_emit_nops): Properly call asm_noperands.
305 (ia64_sched_reorder): Finish cycle if we see an asm.
306 (ia64_variable_issue): Clear scheduling state after asms.
308 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
310 * cpp.texi: Update for -MT.
311 * cppinit.c (initialize_dependency_output): Add a default
312 target if none has been given already.
313 (no_tgt, OPT_MT): New.
314 (cpp_handle_option): Handle -MT. Update -M etc.
315 * cpplib.h (struct cpp_options): Remove deps_target.
316 * gcc.c (cpp_options): Handle -MT.
317 * mkdeps.c (struct deps): Move from mkdeps.h.
318 (deps_calc_target): Rename deps_add_default_target. Add a
319 default target if none has been specified already.
320 * mkdeps.h (struct deps): Move to mkdeps.c.
321 (deps_calc_target): Rename deps_add_default_target.
323 2000-01-03 Richard Henderson <rth@redhat.com>
325 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
327 * c-typeck.c (push_init_level): Move checks for flexible array
328 members and zero length arrays ...
329 (pop_init_level): ... here. Silently discard empty initializations.
331 * varasm.c (output_constructor): Update for sizeof change to
334 * extend.texi (Zero Length): Clarify semantics.
336 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
338 * configure.in (tm.h): Include isns-codes.h last.
339 * configure: Rebuilt.
341 2001-01-03 Richard Henderson <rth@redhat.com>
343 * config/alpha/alpha.md (addvsi3, addvdi3): New.
344 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
346 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
348 * tradcpp.c (main): Make sure finclude() is called with a valid
349 indepth value while handling -include.
351 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
353 * gencodes.c (output_predicate_decls): New function.
355 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
356 even if it is not the first time machmode.h is #included.
357 * config/sh/sh.c (fpul_operand): Declare MODE argument.
358 * tm.texi (PREDICATE_CODES): Document predicate declarations.
359 * gcc.texi (Copyright): Added 2001.
361 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
363 * c-common.c (c_common_lang_init): New function. Warn if format
364 warning options which only have effects when used with -Wformat
365 are used without -Wformat.
366 * c-common.h (c_common_lang_init): Declare.
367 * c-lang.c (lang_init): Call c_common_lang_init.
368 * objc/objc-act.c (lang_init): Call c_common_lang_init.
370 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
372 * configure.in: Check for the mktemp command.
373 * configure: Regenerate.
374 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
375 $TEMP. Create temporary files with mktemp, if available at
376 configure time; otherwise use set -C. Remove temporary files
379 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
381 * configure.in: Require at least texinfo 4.0. Check for whether
382 Pod::Man is sufficiently recent to regenerate GCC manpages.
383 * configure: Regenerate.
384 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
386 (GENERATED_MANPAGES): Define.
387 (generated-manpages): New target. Depend on cpp.1 as well as
389 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
390 configure to generated-manpages or empty) rather than on the
391 manpages directly. Remove execute permission from installed
392 gcov.1 as well as cpp.1.
393 * cpp.1, gcov.1: Regenerate.
395 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
397 * builtins.c (expand_builtin_strncmp): Use host_integerp and
398 tree_low_cst. Allow using cmpstrsi in more cases.
400 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
402 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
405 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
407 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
408 * Makefile.in (HOST_CFLAGS): Mention build-make.
410 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
412 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
415 2001-01-01 Bernd Schmidt <bernds@redhat.com>
417 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
420 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
423 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
424 reg_base_value and reg_known_value arrays.
425 (init_alias_analysis): Add more cases to detect known values.
426 * sched-deps.c (deps_may_trap_p): New function.
427 (sched_analyze_2): Use it.
429 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
431 * combine.c (simplify_shift_const): Even if we're sign-extracting,
432 don't discard an ASHIFTRT if we're shifting in a wider mode.
434 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
436 * toplev.c (rest_of_compilation): Don't print basic block information
437 when CFG isn't up to date.
439 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
441 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
442 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
443 (UNALIGNED_SHORT_ASM_OP): Define.
444 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
446 2001-01-02 Mark Mitchell <mark@codesourcery.com>
448 * fold-const.c (fold_convert): Fix typo.
450 2001-01-02 Richard Henderson <rth@redhat.com>
452 * c-common.h (ASM_INPUT_P): New.
453 * c-parse.in (asm): Set it when needed.
454 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
455 existance of an operand.
457 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
459 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
460 (dwarf2out_frame_debug_expr): Likewise.
461 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
463 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
465 * i386.c (ix86_split_to_parts): Return number of part required;
467 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
469 (ix86_split_long_move): Use number of part returned
470 by ix86_split_to_parts
471 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
473 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
474 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
475 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
476 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
477 (ALIGN_MODE_128): Add TFmode.
478 (IS_STACK_MODE): Likewise.
479 (HARD_REGNO_NREGS): TFmode needs 3 registers.
480 (HARD_REGNO_OK): Support TFmodes.
481 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
482 * i386.md (scheduler definitions): Use memory operand to determine
483 fst/fld instructions; use mode attribute to determine real mode of
485 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
486 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
488 2001-01-02 Mark Mitchell <mark@codesourcery.com>
490 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
492 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
494 * expr.c (store_constructor_field): Update ALIGN before calling
497 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
499 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
502 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
504 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
507 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
509 * c-decl.c (start_function): Don't warn on third parameter to main.
511 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
513 * tsystem.h: Define HAVE_DECL_GETOPT.
515 2001-01-02 Philip Blundell <pb@futuretv.com>
517 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
520 2001-01-02 Richard Henderson <rth@redhat.com>
522 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
524 2001-01-02 Andreas Jaeger <aj@suse.de>
526 * c-decl.c (c_decode_option): Remove support of
529 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
530 (W_options): Add -Wmissing-noreturn here.
532 * flow.c: Define lang_missing_noreturn_ok_p.
533 (check_function_return_warnings): Use it.
535 * c-common.h: Declare lang_missing_noreturn_ok_p.
537 * c-lang.c (c_missing_noreturn_ok_p): New function.
538 (lang_init): Set lang_missing_noreturn_ok_p.
540 * invoke.texi (Warning Options): Document this.
542 2000-12-27 Phil Edwards <pme@sources.redhat.com>
544 * extend.texi (C++ Extensions): New node for C++ attributes;
545 describe init_priority and com_interface.
546 * invoke.texi: Remove -finit-priority as it now has zero effect.
547 * install.texi: Fix xref syntax.
550 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
552 * config.gcc (sparc64-wrs-vxworks*): New case.
553 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
555 * config/sparc/sparc.c (sparc_override_options): Do support different
556 pointer and architecture size.
557 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
558 (POINTERS_EXTEND_UNSIGNED): Define.
559 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
560 (FUNCTION_MODE): Define to be Pmode.
561 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
563 * function.c (expand_function_end): Properly handle DECL_RESULT
564 and copy when ptr_mode != Pmode.
565 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
567 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569 * c-common.c (c_common_nodes_and_builtins): Set prototype
570 parameters for __builtin_fputs, __builtin_fputc and
571 __builtin_fwrite. Don't declare plain fputc as a builtin.
573 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
575 * loop.c (add_label_notes): Increment the label usage count when
576 a note is added to an insn which refers to a CODE_LABEL.
577 * gcse.c (add_label_notes): Likewise.
579 2001-01-01 Andreas Jaeger <aj@suse.de>
581 * loop.c (scan_loop): Use xmalloc to allocate movables.
583 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
585 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
586 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
587 * reload1.c (REGISTER_MOVE_COST): Likewise.
588 * regclass.c (REGISTER_MOVE_COST): Likewise.
589 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
590 dimension. Adjust all users.
591 (init_reg_sets_1): Iterate on all modes.
592 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
593 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
594 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
595 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
596 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
597 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
598 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
599 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
600 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
601 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
602 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
603 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
604 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
605 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
606 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
607 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
608 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
609 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
610 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
611 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
612 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
613 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
614 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
615 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
616 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
617 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
618 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
620 2001-01-01 Bernd Schmidt <bernds@redhat.com>
622 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
623 arg VARIES_P. Call it with extra arg.
624 (true_dependence): Likewise.
625 * rtl.h (rtx_addr_can_trap_p): Declare.
626 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
628 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
629 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
630 pic offset table register if it's zero. All callers changed.
631 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
633 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
635 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
636 STRING_POOL_ADDRESS_P.
638 * config/sparc/sparc.c (input_operand): Properly test for short op.
640 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
641 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
642 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
643 * config/sparc/elf.h: No longer include sol2.h.
644 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
645 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
647 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
649 2001-01-01 Michael Hayes <mhayes@redhat.com>
651 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
652 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
653 (record_initial): Likewise.
654 * unroll.c (copy_loop_body, loop_iterations): Likewise.
655 (remap_split_bivs): Likewise.
657 2001-01-01 Michael Hayes <mhayes@redhat.com>
659 * loop.c (loop_ivs_free): New function.
660 (strength_reduce): Break out from...
662 2001-01-01 Michael Hayes <mhayes@redhat.com>
664 * loop.h (struct iv): New.
665 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
666 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
667 'reg_biv_class' fields with 'regs' and 'n_regs'.
668 (struct ivs): Rename 'loop_iv_list' field to 'list'.
669 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
670 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
672 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
674 * resource.c (mark_referenced_resources): Abort() before
675 attempting to mark a pseudo register.
676 (mark_set_resources): Likewise.
678 2001-01-01 Michael Hayes <mhayes@redhat.com>
680 * loop.h (REG_IV_CLASS): New accessor macro.
681 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
682 * unroll.c (REG_IV_CLASS): Likewise.
684 Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
686 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
687 (loc_descriptor_from_tree, case SAVE_EXPR): New.
689 2001-01-01 Michael Hayes <mhayes@redhat.com>
691 * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
692 (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
693 (prescan_loop): Set pre_header_has_call in loop_info.
694 * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
695 (struct loop_info): Add `pre_header_has_call'.
697 * loop.c (loop_bivs_find): Break out from strength_reduce.
698 (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
699 (loop_givs_check, loop_biv_eliminable_p): Likewise.
701 * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
702 (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
704 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
705 * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
706 direct access to uid_luid array.
707 * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
709 * loop.h (struct loop_movables): New.
710 (LOOP_MOVABLES): New.
711 (struct loop_info): Add movables field.
712 * loop.c (struct movables): Delete. Replace all uses
713 with struct loop_movables.
714 (the_movables): Delete. Replace all uses with movables
716 (loop_movables_add, loop_movables_free): New functions.
717 (scan_loop): Use xmalloc instead of alloca for movables.
718 Call loop_movables_free.
720 * loop.c (debug_loops): New.
722 2000-12-31 Philip Blundell <philb@gnu.org>
724 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
727 2000-12-30 Richard Henderson <rth@redhat.com>
729 * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
730 Initialize variables properly for DBX_LBRAC_FIRST.
732 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
734 * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
736 2000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
738 * builtins.c (validate_arglist): New function, use it.
740 2000-12-30 Philip Blundell <philb@gnu.org>
742 * config/arm/arm.c (arm_expand_prologue): Fix typos in error
743 message and comment. Note location of testcase for an unhandled
746 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
748 * defaults.h (BUILD_VA_LIST_TYPE): New definition.
749 * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
750 is a copy, not an alias.
752 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
754 * calls.c (calls_function_1, case CONSTRUCTOR): New case.
756 * alias.c (alias_sets_conflict_p): New function.
757 (mems_in_disjoint_alias_sets_p): Use it.
758 (readonly_fields_p): Moved from expr.c; check for record type.
759 (objects_must_conflict_p): New function.
760 * calls.c (expand_call): Use assign_temp as much as possible, use
761 readonly variant if assigned once, and don't set memory attributes.
762 (emit_library_call_value_1, store_one_arg): Likewise.
763 * integrate.c (expand_inline_function): Likewise.
764 * stmt.c (expand_asm_operands, expand_return): Likewise.
765 * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
766 (store_field, save_noncopied_parts, expand_expr): Likewise.
767 (expand_expr_unaligned): Likewise.
768 (readonly_fields_p): Moved to alias.c.
769 (safe_from_p): Rework handling of SAVE_EXPR.
770 MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
771 * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
772 (assign_stack_for_temp): Use objects_must_confict_p.
773 Set all memory attributes from type, if specified.
774 (mark_temp_slot): Mark TYPE field.
775 * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
776 (objects_must_conflict_p): Likewise.
778 * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
779 (add_case_node): No need to copy nodes anymore.
781 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
783 * config/sh/sh.c (split_branches): Don't dereference re-computed
784 `beyond' before checking it's non-NULL.
786 2000-12-29 Robert Lipe <robertl@sco.com>
788 Remove COFF support from i?86-pc-sco3.2v5.
789 * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
790 (TARGET_ELF): Now always true.
791 (SUBTARGET_SWTICHES: )Remove -mcoff.
793 * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
794 MULTILIB_EXCEPTION): Nuke coff.
795 (CRTSTUFF_T_CFLAGS_S): Deleted.
796 (TARGET_LIBGCC2_CFLAGS): Added.
798 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
800 * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
801 twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
804 2000-12-29 Bernd Schmidt <bernds@redhat.com>
806 * ia64.c (ia64_expand_load_address): Accept additional scratch
807 register argument. All callers & prototype changed.
808 Use scratch register when generating load_symptr insns.
809 * ia64.md (movdi_symbolic): Clobber a scratch register. Use it
810 when calling ia64_expand_load_address.
811 (movdi): Generate movdi_symbolic with additional operand.
812 (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
813 (load_symptr): Likewise. Use additional operand as a scratch
814 register instead of generating it here.
816 * basic-block.h: Add a comment.
817 * flow.c (PROP_POSTRELOAD): New macro.
818 (update_life_info): Add it to prop_flags.
819 (mark_set_1): If it is set, compute REG_N_SETS for the original
820 register number of a hard reg.
822 * emit-rtl.c (gen_raw_REG): New function.
823 (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
825 * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
826 * final.c (alter_subreg): Update it.
827 * regrename.c (do_replace): Likewise. Use gen_raw_REG.
828 * rtl.def (REG): Update comment.
829 * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
830 (gen_raw_REG): Declare.
832 2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
834 * tree.c (get_set_constructor_bits): Use host_integerp and
837 * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
839 * toplev.c (main): Call xmalloc_set_program_name.
840 * gcc.c (main): Likewise.
842 2000-12-29 Philip Blundell <philb@gnu.org>
844 * config/arm/arm.c (arm_override_options): Fix typo in warning
847 2000-12-29 Richard Henderson <rth@redhat.com>
849 * config/alpha/alpha.c (alpha_expand_block_move): Initialize
850 src_align and dst_align in bits. Do unaligned quadword loads
851 if possible for BWX too.
852 (alpha_expand_block_clear): Initialize align in bits. Track
853 small leading offsets into a larger alignment. Play games with
854 stq_u for large 4-byte aligned blocks. Use load/mask/store
855 for appropreately aligned heads and tails.
857 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
859 * function.c (assign_parms): Convert arguments passed by
860 reference to the right mode.
862 2000-12-28 Geoffrey Keating <geoffk@redhat.com>
864 * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
865 on the condition of a FOR statement, so that it gets typechecked
868 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
870 * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
873 * calls.c (emit_library_call_value_1): Add to call_fusage the
874 stack slot assigned to argument passed by reference.
876 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
878 * toplev.h (extern really_sorry): Remove extern declaration for
879 nonexistent function.
881 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
883 * varasm.c (initializer_constant_valid_p): Indicate subtraction of
884 pointers to the same string constant is absolute.
886 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
888 * c-common.c (enum format_type): Add strfmon_format_type.
889 (decl_attributes): Handle format attributes strfmon and
891 (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
892 FMT_FLAG_EMPTY_PREC_OK): Define.
893 (format_char_info): Update comment for flag_chars.
894 (format_flag_spec): Add skip_next_char.
895 (format_kind_info): Add left_precision_char.
896 (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
897 format_types): Update for these new structure members and flags.
898 (time_char_table): Make const.
899 (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
900 monetary_char_table): New.
901 (format_types): Add details of strfmon formats.
902 (init_function_format_info): Create default attribute for strfmon.
903 (check_format_info_main): Check the new flags. Handle
904 skip_next_char and left precision.
905 * toplev.c (documented_lang_options): Update description of
907 * extend.texi: Document strfmon format attributes. Document
908 attribute forms such as __printf__. Clarify format_arg attribute
910 * invoke.texi (-Wformat): Update for strfmon formats.
912 2000-12-28 Andreas Jaeger <aj@suse.de>
914 * expmed.c (store_bit_field): Fix last patch.
916 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
918 * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
921 2000-12-28 Alan Lehotsky <lehotsky@tiac.net>
923 * expmed.c (store_bit_field): Correctly compute smallest mode that
924 is sufficient to contain all bits we are storing.
926 2000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
928 * builtins.c (build_function_call_expr): New function. Use it
929 everywhere in lieu of manually constructing a CALL_EXPR.
931 2000-12-27 Chandrakala Chavva <cchavva@redhat.com>
933 * calls.c (store_one_arg): If parm is passed both in stack and in
934 register and offset is greater than reg_parm_stack_space, split
935 the offset and call emit_push_insn().
937 2000-12-27 Nick Clifton <nickc@redhat.com>
939 * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
942 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
944 * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
947 2000-12-27 Bruce Korb <bkorb@gnu.org>
949 * fixinc/Makefile.in: fix for ancient Bourne shell
950 * fixinc/Makefile.BEOS: obsolete
951 * fixinc/Makefile.DOS: obsolete
952 * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
954 2000-12-27 Bernd Schmidt <bernds@redhat.com>
956 * sched-deps.c (get_condition, conditions_mutex_p): New functions.
957 (add_dependence): Use them to avoid adding unnecessary dependencies
958 between conditionally executed insns.
959 (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
960 dependency lists if current insn is a COND_EXEC.
962 2000-12-27 Geoffrey Keating <geoffk@redhat.com>
964 * config/rs6000/rs6000.md (define_attr "length"): Correct
967 2000-12-26 Kazu Hirata <kazu@hxi.com>
969 * config/h8300/h8300.c: Fix a comment typo.
970 (get_shift_alg): Fix a typo in the assembly code for 12-bit
971 ASHIFTRT in HImode. Do not output extra whitespace after one line
972 of assembly code. Output a tab after an opcode instead of a
974 (emit_a_shift): Output a tab after an opcode instead of a space.
976 2000-12-23 Marek Michalkiewicz <marekm@linux.org.pl>
978 * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
979 out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
980 %4 in output templates, do not modify operands passed by the caller.
982 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
984 * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
986 * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
987 BUILT_IN_LLABS and BUILT_IN_IMAXABS.
988 * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
989 builtin labs, llabs and imaxabs.
990 (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
991 and BUILT_IN_IMAXABS.
993 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
995 * c-common.c (builtin_function_2): New function.
996 (c_common_nodes_and_builtins): Use it to define each pair (foo,
997 __builtin_foo) of builtins in one place.
999 2000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
1001 * gccbug.in: Add libgcj and preprocessor categories.
1003 2000-12-22 Bernd Schmidt <bernds@redhat.com>
1005 * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
1006 the final scheduling pass.
1008 2000-12-22 Nick Clifton <nickc@redhat.com>
1010 * config/arm/arm.h (struct machine_function): Add new field
1011 'lr_save_eliminated'.
1012 * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
1013 link register if its save has been eliminated.
1014 (output_arm_prologue): Mention if the save of the link register
1015 has been eliminated.
1016 (output_arm_epilogue): Rename 'live_regs_mask' to
1018 Test 'saved_regs_mask' for the link register, not regs_ever_live.
1019 (arm_expand_prologue): If the link register has not been saved set
1020 lr_save_eliminated and emit a USE to prevent later passes from
1023 * dwarf2out_frame_debug_expr: Allow the (scratch) frame
1024 pointer to be initialised from the stack pointer plus a
1027 2000-12-22 Bernd Schmidt <bernds@redhat.com>
1029 * regrename.c (struct du_chain): New field "earlyclobber".
1030 (enum scan_actions): Remove unused entry "note_reference".
1031 (enum scan_actions_name): Likewise.
1032 (note_sets, clear_dead_regs, merge_overlapping_regs): New static
1034 (regrename_optimize): Use them to compute unavailable regs; get
1035 rid of the more simpleminded code we used to have here.
1036 Use a tick array to ensure registers are allocated in a more
1037 round-robin way. Disable code that only optimizes registers
1038 that were seen more than once.
1039 (referenced_regs): Remove variable.
1040 (scan_rtx_reg): New arg "earlyclobber". All callers changed.
1041 Store its value in newly generated du_chain structures.
1042 Add new du_chains at the end, not the start, of the list.
1043 Don't handle the "note_reference" action.
1044 (scan_rtx): New arg "earlyclobber". All callers changed.
1045 (build_def_use): Lose code to keep track of referenced regs.
1047 2000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1049 * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
1051 * fp-bit.h (usi_to_float): Add prototype.
1053 * i386.c (ix86_expand_builtin): Delete unused label.
1055 * dwarf2out.c (file_info_cmp): Prototype.
1056 (dwarf2out_line): Hide variable `old_in_use'.
1058 * objc-act.c (objc_fatal): Delete.
1060 * sched-vis.c (visualize_stall_cycles): Remove unused variable.
1062 * system.h (getopt): Fix error in last change.
1064 * varasm.c (assemble_trampoline_template): Constify.
1066 2000-12-22 Jason Merrill <jason@redhat.com>
1068 * collect2.c (main): Use auto_demangling.
1070 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1072 * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
1073 when optimizing PARALLEL to REG.
1075 2000-12-22 Graham Stott <grahams@redhat.com>
1077 * reload.c (update_auto_inc_notes): New, broken out from ...
1078 (find_reloads_address_1): ... use here, also correct possible
1079 use of uninitialised reloadnum.
1081 2000-12-21 David O'Brien <obrien@FreeBSD.org>
1083 * config/freebsd.h (LIB_SPEC): remove -kthread option.
1085 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1087 * resource.c (mark_set_resources): Use MARK_SRC_DEST for
1088 PRE_MODIFY and POST_MODIFY cases.
1090 * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
1092 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1094 * md.texi (Looping Patterns): New node.
1096 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1098 * gcc.texi, cpp.texi: Update last-updated dates.
1100 2000-12-21 Chandrakala Chavva <cchavva@redhat.com>
1102 * varasm.c (output_addressed_constants): Use language specific
1103 expander on unknown nodes.
1105 2000-12-21 Graham Stott <grahams@redhat.com>
1107 * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
1109 2000-12-21 Bernd Schmidt <bernds@redhat.com>
1111 * Makefile.in (out_object_file): Depend on sched-int.h.
1112 * rtl.h (single_set_1): New macro.
1113 (single_set_2): Renamed from single_set_1 and extra argument added.
1114 * rtlanal.c (single_set_2): Likewise.
1116 * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
1117 ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
1118 ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
1120 * config/ia64/ia64.c: Include "sched-int.h".
1121 (hard_regno_rename_ok): Also disallow renaming from the various
1123 (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
1124 ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
1125 safe_group_barrier_needed_p, fixup_errata): New static functions.
1126 (rtx_needs_barrier): Handle bundle selector and cycle display
1128 (emit_insn_group_barriers): Accept additional FILE * arg. All
1129 callers changed. Rework to only generate stop bits between
1130 basic blocks that haven't been inserted by scheduling.
1131 (struct bundle, struct ia64_packet): New structures.
1132 (NR_BUNDLES, NR_PACKETS): New macros.
1133 (bundle, packets, type_names): New static arrays.
1134 (ia64_final_schedule): New variable.
1135 (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
1136 gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
1137 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
1138 find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
1139 New static functions.
1140 (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
1141 ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
1143 (ia64_reorg): Perform a final scheduling pass.
1144 * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
1145 (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
1146 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
1147 MD_SCHED_VARIABLE_ISSUE): Define macros.
1148 (ia64_final_schedule): Declare variable.
1149 * config/ia64/ia64.md (attr itanium_class): Add some more classes.
1150 (attr type): Account for them.
1151 (itanium_requires_unit0): New attribute.
1152 (function units): Rewrite.
1153 (some splitters): Don't create scheduling barriers here.
1154 (gr_spill_internal, gr_restore_internal): Don't predicate the
1156 (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
1157 bundle_selector): New patterns.
1158 (insn_group_barrier): Now has an operand.
1160 2000-12-21 DJ Delorie <dj@redhat.com>
1162 * dwarf2out.c (simple_decl_align_in_bits): new
1163 (field_byte_offset): Try both the type align and the
1164 decl align, use whichever works, preferring the type align.
1166 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1168 * gccbug.in: Fix typo.
1170 2000-12-20 Benjamin Kosnik <bkoz@redhat.com>
1172 * Makefile.in (gcc_gxx_target_include_dir): Use instead of
1173 build_tooldir and libstdcxx_incdir.
1175 2000-12-20 Robert Lipe <robertlipe@usa.net>
1177 * haifa-sched.c (schedule_block): Provide empty source statement
1178 if not MD_SCHED_REORDER2.
1180 2000-12-20 Richard Henderson <rth@redhat.com>
1182 * rtl.h (REG_NON_LOCAL_GOTO): New.
1183 * rtl.c (reg_note_name): Update.
1184 * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
1185 * builtins.c (expand_builtin_longjmp): Likewise.
1186 * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
1189 2000-12-20 Marek Michalkiewicz <marekm@linux.org.pl>
1191 * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
1192 Do not output undefined opcodes where source or destination register
1193 overlaps with modified pointer register. Handle (X + d) addresses.
1194 * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
1195 in alternatives with memory operand.
1197 2000-12-20 Richard Henderson <rth@redhat.com>
1199 * c-typeck.c (build_asm_stmt): New, broken out from ...
1200 (c_expand_asm_operands): ... here. Just do rtl expansion.
1201 (c_expand_return): Return the new stmt node.
1202 (c_start_case, do_case): Likewise.
1203 * c-common.c (c_expand_expr_stmt): Likewise.
1204 * c-common.h: Update declarations.
1205 * c-tree.h: Likewise.
1206 * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
1207 * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
1208 (nested_function, notype_nested_function): Likewise.
1209 (compstmt): Return the compound statement not the binding level.
1210 (lineno_labeled_stmt): Simplify.
1211 (lineno_stmt, lineno_label): Set STMT_LINENO.
1212 (stmt, label): Return the new stmt node.
1214 2000-12-20 Bernd Schmidt <bernds@redhat.com>
1216 * Makefile.in (OBJS): Add sched-ebb.o.
1217 (sched-ebb.o): New rule.
1218 (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
1219 (haifa-sched.o): Depend on insn-flags.h.
1220 * haifa-sched.c: Include "insn-flags.h".
1221 (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
1223 * rtl.h (schedule_ebbs): Declare.
1224 * sched-int.h (struct sched_info): Add new members
1225 contributes_to_priority and compute_jump_reg_dependencies.
1226 * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
1228 (region_sched_info): Add them.
1229 * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
1230 * sched-ebb.c: New file.
1231 * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
1233 * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
1234 handle all relational operators.
1236 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1238 * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
1239 * tm.texi: Document it.
1241 2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
1243 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
1244 instead of gcc_tooldir.
1246 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1248 * system.h (getopt): Update prototype to match include/getopt.h.
1250 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1253 * pa.c (basereg_operand): Simplify.
1255 2000-12-19 Bernd Schmidt <bernds@redhat.co.uk>
1257 * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
1258 not block number. All callers and prototype changed.
1259 (set_priorities): Likewise.
1260 (save_line_notes): Add head and tail arguments; all callers and
1262 (restore_line_notes): Likewise. Don't crash on insns generated
1264 (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
1265 Call MD_SCHED_INIT with additional argument.
1266 When starting a new cycle, emit cycle_display insns if available.
1267 Don't stop scheduling when encountering a JUMP_INSN, but add another
1268 call to schedule_more_p in the inner loop.
1269 Call MD_SCHED_REORDER2 after scheduling an insn.
1270 Call MD_SCHED_FINISH once all insns are scheduled.
1271 (sched_init): Compensate for the fact that get_block_head_tail
1272 doesn't include leading notes.
1273 * sched-deps.c (free_deps): Free vectors here.
1274 * sched-rgn.c (compute_block_backward_dependencies): Not here.
1275 (last_was_jump): New static variable.
1276 (schedule_more_p): Test it.
1277 (init_ready_list): Initialize it.
1278 (can_schedule_ready_p): Set it if we have a JUMP_INSN.
1280 * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
1281 * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
1282 * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
1284 * md.texi (cycle_display): Document.
1285 * tm.texi (MD_SCHED_INIT): Document new arg.
1286 (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
1288 * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
1289 to use different representation. All callers changed.
1290 (and_reg_cond): Renamed from nand_reg_cond; caller changed.
1291 (init_propagate_block_info): Don't test flags to determine
1292 whether to compute conditional lifetimes.
1293 Adjust code for new representation of conditional lifetimes.
1294 (mark_regno_cond_dead): Similar adjustment.
1295 (free_reg_cond_life_info): Similar adjustment.
1296 (elim_reg_cond): New function.
1297 (flush_reg_cond_1): Use it.
1299 2000-12-19 Catherine Moore <clm@redhat.com>
1301 * reload1.c (reload_combine): Take multi-hard-regs into account
1302 when processing CALL_INSN_FUNCTION_USAGE.
1304 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1306 * invoke.texi (-print-search-dirs): Make references to cpp refer
1309 2000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1311 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
1314 Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
1316 * reload.c (push_reload): When using a dying register for the reload
1317 register in an in-out reload, use outmode if wider than inmode.
1319 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1321 * config/d30v/d30v.h (EXIT_BODY): Update comment.
1323 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1325 * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
1326 * tm.texi (EXIT_BODY): Update documentation.
1327 * config/freebsd.h, config/netware.h, config/arm/coff.h,
1328 config/arm/conix-elf.h, config/arm/unknown-elf.h,
1329 config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
1330 sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
1331 commented out) and associated comments.
1333 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1335 * c-common.c (STD_C9L, ADJ_STD): Define.
1336 (printf_length_specs, scanf_length_specs): Mark "ll" as standard
1338 (T99_LL): Rename to T9L_LL.
1339 (T99_ULL): Rename to T9L_ULL.
1340 (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
1341 instead of T99_LL and T99_ULL.
1342 (check_format_info_main): Use ADJ_STD on all format standard
1343 versions being compared.
1344 * c-common.h: Declare warn_long_long.
1345 * c-tree.h: Don't declare warn_long_long.
1347 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1349 * COPYING: Update to current
1350 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
1351 to 19yy as example year in copyright notice).
1353 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1355 * c-lex.c (cb_file_change): Treat in_system_header as strictly
1358 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1360 * cppmain.c: Update print.lineno with -P.
1362 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1364 * c-lex.c: s/change_file/file_change.
1365 * cpplib.h: Similarly.
1366 * cppmain.c: Similarly.
1367 * fix-header.c: Similarly.
1368 * cppfiles.c (stack_include_file): Pass the buffer location and
1369 size to cpp_push_buffer. Generate the file_change callback,
1370 so that sysp is already set.
1371 * cpphash.h: Add _cpp_do_file_change.
1372 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
1373 file_change callback after setting sysp.
1374 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
1376 (cpp_push_buffer): Don't generate a callback. Clear sysp.
1377 (cpp_pop_buffer): Clean up logic.
1379 2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
1381 * configure.in (gcc_gxx_include_dir): Simplify.
1382 (libstdcxx_incdir): Export.
1383 * configure: Regenerate.
1384 * Makefile.in (PREPROCESSOR_DEFINES): Add in
1385 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
1386 (libstdcxx_incdir): Add.
1387 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
1389 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1391 * c-lex.c (lex_lineno): Remove.
1392 (init_c_lex, c_lex): Remove lex_lineno.
1393 (cb_change_file): Update lineno correctly, both before calling
1394 push_srcloc and before leaving the function.
1395 (cb_def_pragma): Set lineno before outputting diagnostics.
1397 Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1399 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
1400 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
1401 Use print_node_brief to print bounds.
1403 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1405 * cpplib.h (struct cpp_reader): Remove references to string_pool
1406 and temp_string_pool.
1407 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
1408 ident_pool in place.
1409 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
1410 save_comment, cpp_token_as_text): Similarly.
1411 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
1412 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
1413 unlock_pools, stringify_arg, paste_tokens): Similarly.
1415 Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1417 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
1418 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
1419 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
1421 2000-12-17 Richard Earnshaw <rearnsha@arm.com>
1423 * Makefile.in (check-po): Use $(MAKE).
1424 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
1426 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1428 * cppmain.c (check_multiline_token): New function.
1429 (scan_buffer): Use it.
1430 (cb_change_file): Restructure to avoid warning.
1431 * cpperror.c (print_location): Initialize col.
1433 2000-12-14 Philipp Thomas <pthomas@suse.de>
1435 * protoize.c (main): Correctly set locale categories.
1436 * gcc.c (main): Likewise.
1437 * cppmain.c (general_init): Likewise.
1438 * toplev.c (main): Likewise.
1439 * gcov.c (main): Likewise.
1440 * collect2.c (main): Likewise.
1442 2000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1444 * c-common.c (c_common_nodes_and_builtins): Create a
1445 cstring_endlink, use it. Rename int_ftype_string_string to
1446 int_ftype_cstring_cstring, string_ftype_string_int to
1447 string_ftype_cstring_int, and string_ftype_string_string to
1448 string_ftype_cstring_cstring. Prefer sizetype_endlink and
1449 int_endlink to manually recreating them. Fix the prototype
1450 set for __builtin_strspn/__builtin_strcspn.
1452 2000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
1454 * config/avr/avr.c (out_set_stack_ptr): Update comment.
1455 (print_operand): Add support for %~ and %o.
1457 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1459 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
1461 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1463 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
1464 * cpperror.c (print_containing_files): Get right line number.
1465 (print_location): Output column of 1 if 0.
1466 * cppfiles.c (stack_include_file): cpp_push_buffer handles
1468 * cpphash.h (_cpp_do_file_change): No longer external.
1469 * cpplib.c (do_file_change): Now local to cpplib.c.
1470 (do_line): Fake a buffer stack for preprocessed files.
1471 (cpp_push_buffer): Create a file_change callback. Handle faked
1473 (cpp_pop_buffer): Similarly.
1474 * cpplib.h: BUF_FAKE: New buffer type.
1475 * cppmain.c: Update to handle correct file renaming where a
1476 #line is the first line of the main file, and produce only
1477 the renamed file, not the original file, as output.
1479 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1481 * config/c4x/c4x.md: Remove redundant @s from output patterns.
1483 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1484 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1486 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
1488 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
1490 * config/c4x/c4x.c (c4x_init_pragma): New function.
1491 (c_lex_func): New variable.
1492 (c4x_parse_pragma): Use c_lex_func.
1494 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1495 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1497 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
1498 to c4x_init_builtins.
1500 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
1502 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
1503 (c4x_output_ascii): Fix.
1505 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1506 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1508 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
1510 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
1511 (c4x_expand_builtin): Likewise.
1513 * config/c4x/c4x.c (c4x_init_builtins): New function.
1514 (c4x_expand_builtin): Likewise.
1516 * config/c4x/c4x.md (floatunsqihf2): New pattern.
1517 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
1518 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
1519 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
1520 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
1522 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1524 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
1525 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
1526 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
1527 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
1529 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1531 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
1532 statement in do/while(0).
1534 Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
1536 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
1537 lshrhi3_cmpno): Remove redundant '@' from the template.
1539 * i386.md (cmpstrsi_1): Fix type of the compare.
1541 * genattrtab.c (attr_rtx_cost): New function.
1542 (simplify_test_exp): Avoid overactive inlining; use temporary
1545 Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1547 * diagnostic.c (finish_abort): Deleted.
1548 (fatal): Add code from finish_abort.
1549 (error_recursion, fancy_abort): Call fatal, not finish_abort.
1550 (trim_filename): Remove leading "../".
1551 * diagnostic.h (finish_abort): Deleted.
1552 * toplev.c (crash_signal): Call fatal, not finish_abort.
1554 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
1555 as if size were variable.
1557 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
1559 2000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1561 * tradcpp.c: T_WARNING: New.
1562 (do_warning): New function.
1563 (finclude): Skip past the newline and increase the line number
1564 before calling output_line_command.
1565 (do_line): Skip the new line after output_line_command. Don't
1566 pre-decrement the line number.
1568 2000-12-15 Diego Novillo <dnovillo@redhat.com>
1570 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
1571 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
1573 2000-12-15 Jakub Jelinek <jakub@redhat.com>
1575 * gcc.c (cpp_options): Pass -fno-operator-names.
1576 * cpplib.h (struct cpp_options): Add operator_names.
1577 * cppinit.c (cpp_create_reader): Initialize it.
1578 (initialize_builtins): If -fno-operator-names, don't add
1579 C++ alternate operator names.
1580 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
1581 (cpp_handle_option): Clear operator_names.
1583 2000-12-15 Jason Merrill <jason@redhat.com>
1585 * jump.c (jump_optimize_1): Don't delete the line note after the
1586 prologue even if it seems redundant.
1588 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
1589 on all insns used to adjust the stack.
1591 Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
1593 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
1594 hardreg<->reg moves.
1596 Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
1598 * genrecog.c (add_to_sequence): Remove special case for
1600 (maybe_both_true): Return 1 when falling out of sequence when
1601 trying to find common possition in the pattern.
1603 Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
1605 * integrate.c (copy_rtx_and_substitute): Copy mode too.
1607 Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
1609 * flow.c (notice_stack_pointer_modification_1): Cleanup.
1611 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
1613 * function.c (adjust_trampoline_addr): New function.
1614 (trampoline_address): Call it instead of round_trampoline_addr().
1615 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
1617 2000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
1619 * cppfiles.c (hack_vms_include_specification): Delete function
1620 (not used since 1998).
1622 Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
1624 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
1626 2000-12-14 Jim Wilson <wilson@redhat.com>
1628 * alias.c (get_alias_set): Call record_component_aliases for
1630 (record_component_aliases): Handle COMPLEX_TYPE.
1632 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1634 * fixinc/gnu-regex.c: Disable NLS.
1636 2000-12-14 Richard Henderson <rth@redhat.com>
1638 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
1639 comparison operands when that would create non-canonical rtl.
1641 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
1642 (smulsi3_highpart): Likewise.
1644 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1646 * gcc.c (cpp_options): Add -remap.
1648 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1650 * gcc.c (cpp_options): Update to use '&'.
1651 (struct switchstr): Change type of validated to save space.
1652 New member 'ordering'.
1653 (handle_braces, validate_switches): Update to handle '&'.
1655 2000-12-13 Laurynas Biveinis <lauras@softhome.net>
1657 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
1659 * fixinc/fixincl.x: regenerated.
1661 2000-12-13 DJ Delorie <dj@redhat.com>
1663 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
1665 2000-12-13 Tom Tromey <tromey@redhat.com>
1667 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
1669 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
1671 * function.c (assign_parms): Optimize incoming PARALLELs into
1674 2000-12-13 Bruce Korb <bkorb@gnu.org>
1676 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
1677 that cannot handle bi-directional pipes, viz. BeOS and DOS.
1678 * fixinc/fixlib.h(IGNORE_ARG): new macro
1679 (STATIC): define for all of fixinc to use
1680 * fixinc/fixfixes.c(*): eliminate unused arg warnings
1681 * fixinc/fixtests.c(*): ditto
1682 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
1683 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
1684 warning. Also, eliminate the ``#ifdef emacs'' stuff.
1685 (re_syntax_options): make global as it is declared so.
1686 * fixinc/mkfixinc.sh: process the argument list more consistently
1687 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
1688 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
1689 * fixinc/server.c(globals): ditto
1690 * fixinc/server.h(defines): ditto
1692 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1694 * tradcpp.c (special_symbol): Improve test for definedness,
1695 though it is still not perfect.
1696 (do_define): Don't define illegal macro names.
1698 2000-12-07 Aldy Hernandez <aldyh@redhat.com>
1700 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
1701 if changing into .bss section.
1702 * config/mips/elf64.h: same.
1703 * config/mips/iris6.h: same.
1704 * config/mips/netbsd.h: same.
1705 * config/mips/openbsd.h: same.
1707 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1709 * cppfiles.c (read_name_map): Return null if open () fails.
1710 (remap_filename): Simplify logic. Add ICE if it doesn't work
1711 as expected. Perform secondary lookup attempt on base filename
1714 Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
1716 * flow.c (notice_stack_pointer_modification_1): Notice midifications
1717 using PRE_MODIFY and POST_MODIFY.
1719 Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
1721 * genoutput.c (process_template): Add sanity checking for '@' templates.
1723 2000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
1725 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
1728 2000-12-12 Mike Stump <mrs@wrs.com>
1730 * Makefile.in (distclean): Remove safe-ctype.c as well.
1732 2000-12-12 Brad Lucier <lucier@math.purdue.edu>
1734 * tradcpp.c (do_error): Cast difference of pointers to int
1737 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1739 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
1740 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
1742 2000-12-12 Jim Wilson <wilson@redhat.com>
1744 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
1746 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
1748 * configure.in: Simplify language enabling/disabling code.
1749 * configure: Rebuilt.
1750 * ch/config-lang.in (target_libs): Set.
1751 (build_by_default): Set to no.
1752 * cp/config-lang.in (target_libs): Set.
1753 * f/config-lang.in (target_libs): Set.
1754 * java/config-lang.in (target_libs): Set.
1755 * objc/config-lang.in (target_libs): Set.
1757 2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
1759 * tradcpp.c (enum node_type): Add T_ERROR.
1760 (do_error): New function.
1761 (directive_table): Add #error handler.
1763 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1765 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
1767 * configure: Regenerated.
1768 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1769 * config/rs6000/rs6000.c (rs6000_unique_section): Use
1770 STRIP_NAME_ENCODING.
1772 Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
1774 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
1775 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
1778 2000-12-11 Bruce Korb <bkorb@gnu.org>
1780 * fixinc/fixincl.tpl: initialize all fields for warnings
1781 * fixinc/fixincl.x: regenerate
1783 2000-12-11 Neil Booth <neilb@earthling.net>
1785 * tradcpp.h: For tradcpp, NUL is not whitespace.
1787 2000-12-11 Neil Booth <neilb@earthling.net>
1789 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
1791 2000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
1793 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
1794 (compare_diff_p, compare_eq_p): Call compare_condition.
1795 (out_tsthi, out_tstsi): Call compare_sign_p.
1796 (avr_progmem_p): Check for error_mark_node.
1798 2000-12-11 Neil Booth <neilb@earthling.net>
1800 * cpperror.c (print_location): New function.
1801 (print_containing_files): Simplify.
1802 (_cpp_begin_message): Simplify and use print_location.
1803 * cppfiles.c (stack_include_file): Update.
1804 (_cpp_pop_file_buffer): Update.
1805 * cpphash.h (struct cpp_buffer): New members
1806 include_stack_listed and type.
1807 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
1808 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
1809 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
1810 handle_assertion): Update.
1811 (cpp_push_buffer): Take a buffer type and file name.
1812 (cpp_pop_buffer): Update. Clear include_stack_listed.
1813 * cpplib.h (input_stack_listing_current): Remove.
1814 (enum cpp_buffer_type): New.
1815 (cpp_push_buffer): New prototype.
1816 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
1817 * fix-header.c (read_scan_file): Update.
1819 2000-12-10 Robert Lipe <robertlipe@usa.net>
1821 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
1824 2000-12-10 Richard Henderson <rth@redhat.com>
1826 * genrecog.c (find_operand): Handle 'V' format code.
1827 (find_matching_operand): New.
1828 (validate_pattern): Accept '=' for an in-out operand if there
1829 is another operand with a matching constraint.
1831 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
1834 2000-12-10 Richard Henderson <rth@redhat.com>
1836 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
1838 2000-12-09 Richard Henderson <rth@redhat.com>
1840 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
1841 STRICT_LOW_PART as SET_DEST have in-out constraints.
1843 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1845 * c-common.c (check_function_format): Don't suggest adding format
1846 attributes to functions with no parameter to which to add them.
1848 2000-12-09 Nick Clifton <nickc@redhat.com>
1850 * config/arm/arm.c (arm_expand_prologue): Mark the generated
1851 insn not the set as being DWARF2_FRAME_RELATED_P.
1853 2000-12-09 Laurynas Biveinis <lauras@softhome.net>
1855 * Makefile.in: use $(build_exeext) for all build
1856 system executable targets.
1858 2000-12-09 Laurynas Biveinis <lauras@softhome.net>
1860 * install.texi: remove i[345]86-*-winnt3.5 section.
1861 * configur.bat: removed.
1862 * config/msdos: directory removed.
1864 2000-12-09 Neil Booth <neilb@earthling.net>
1866 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
1867 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
1868 * cpplex.c (parse_identifier): Improve diagnostic.
1869 (_cpp_lex_token): Return unconditionally at the end of a directive.
1870 * cpplib.c (read_flag): Verify legality of each flag.
1871 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
1872 (do_line): Use the new read_flag.
1873 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
1874 check_macro_redefinition, parse_params): Rename var_args to
1877 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1879 * .cvsignore: Add info files.
1881 2000-12-08 Laurynas Biveinis <lauras@softhome.net>
1883 * config/winnt: Remove obsolete directory.
1884 * install.texi (Configurations): Remove obsolete documentation for
1887 2000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
1889 * configure.in: Don't define INSTALL_INFO.
1890 * configure: Regenerate.
1891 * Makefile.in (INSTALL_INFO): Remove.
1892 (info): Depend on info files in source directory.
1893 (cpp.info, gcc.info, c-tree.info): Build info files in source
1895 (distclean): Don't remove info files.
1896 (maintainer-clean): Remove info files from source directory.
1897 (install-normal): Depend on install-info.
1898 (install-info): Install info files from source directory, if they
1900 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
1902 2000-12-08 Alexandre Oliva <aoliva@redhat.com>
1904 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
1905 before taking its NOTE_LINE_NUMBER.
1907 2000-12-08 Nick Clifton <nickc@redhat.com>
1909 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
1911 * extend.texi: Document ARM "interrupt" function attribute.
1912 Mention that the ARM also support the "naked" function
1915 * config/arm/arm-protos.h (arm_current_func_type): Add
1918 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
1919 (struct machine_function): Add 'func_type' field.
1920 Define bit values for 'func_type' field.
1921 (ARM_FUNC_TYPE): New macro.
1922 (IS_INTERRUPT): New macro.
1923 (IS_VOLATILE): New macro.
1924 (IS_NAKED): New macro.
1925 (IS_NESTED): New macro.
1926 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
1928 * config/arm/arm.c (isr_attribute_args): New Structure. A
1929 list of "interrupt" function attribute modifiers.
1930 (arm_isr_value): New Function: Returns the type of the current
1932 (arm_compute_func_type): New Function: Computes the type of
1933 the current function.
1934 (arm_current_func_type): New Function: Returns the type of the
1936 (use_return_insn): Use arm_current_func_type.
1937 (arm_valid_type_attribute_p): Accept "interrupt" function
1939 (arm_comp_type_attributes): Check "interrupt" attributes.
1940 (arm_valid_machine_decl): Accept "interrupt" function
1942 (arm_function_ok_for_sibcall): Do not allow interrupt
1943 functions to use sibcalls.
1944 (arm_naked_function_p): Delete.
1945 (print_multi_reg): Remove redundant parameter 'hat'.
1946 (arm_compute_save_reg_mask): New Function: Compute a bit mask
1947 of registers saved during the current function's prologue.
1948 (output_arm_return_instruction): Use arm_current_func_type.
1949 Generate return instruction when LR is not poppsed off the
1951 (arm_volatile_func): Delete.
1952 (output_arm_prologue): Use arm_current_func_type and
1953 arm_compute_save_reg_mask.
1954 Note presernce of interrupt functions.
1955 (arm_output_epilogue): Use arm_current_func_type and
1956 arm_compute_save_reg_mask.
1957 (arm_expand_prologue): Use arm_current_func_type and
1958 arm_compute_save_reg_mask.
1959 (arm_init_machine_status): Initialise func_type field, if
1961 (thumb_expand_prologue): Use arm_current_func_type.
1962 (output_thumb_prologue): Use arm_current_func_type.
1964 2000-12-08 Brad Lucier <lucier@math.purdue.edu>
1966 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
1968 Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
1970 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
1973 2000-12-07 Mike Stump <mrs@wrs.com>
1975 * Makefile.in (distclean): Remove alloca.c hashtab.c.
1977 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1979 * Makefile.in (HOST_RTL): Add safe-ctype.o.
1980 (safe-ctype.o): New rule.
1981 * system.h: Include safe-ctype.h, not ctype.h. No need to
1984 * cpphash.h: Zap IStable and related macros. Define is_* in
1985 terms of safe-ctype.h macros.
1986 * cppinit.c: Delete the IStable and all related code.
1988 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
1989 is_space arrays. Delete initialize_char_syntax. Change all
1990 references to the above arrays to use macros instead.
1991 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
1992 is_nvspace in terms of safe_ctype.h's macros.
1993 * tradcif.y: is_idchar, is_idstart are macros not arrays.
1995 * config/i370/i370.c, config/winnt/dirent.c,
1996 config/winnt/fixinc-nt.c, config/winnt/ld.c:
1997 Use uppercase ctype macros. If we included ctype.h,
1998 include safe-ctype.h instead.
2000 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
2001 ISLOWER(c) before calling TOUPPER(c).
2002 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
2003 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
2004 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
2006 2000-12-07 DJ Delorie <dj@redhat.com>
2008 * c-decl.c (grokdeclarator): preserve previous alignments when
2009 rebuilding array types.
2011 2000-12-07 Neil Booth <neilb@earthling.net>
2013 * cppfiles.c (struct include_file): Move from cpphash.h.
2014 (_cpp_never_reread): New function.
2015 (open_file, read_include_file): Use it.
2016 (stack_include_file): Set the buffer's sysp according to the
2017 path in which the file was found.
2018 (find_include_file): Don't set sysp.
2019 (cpp_make_system_header, actual_directory): Update.
2020 (_cpp_execute_include): Do #include_next lookup handling here,
2021 not in cpplib.c. Use _cpp_never_reread.
2022 * cpphash.h (struct_include_file): Remove.
2023 (struct cpp_buffer): New member sysp.
2024 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
2025 (_cpp_never_reread): New.
2026 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
2027 (end_directive): Clear line_extension flag.
2028 (_cpp_handle_directive): Set line_extension flag for #number.
2029 (do_include_next): Handle path lookup in _cpp_execute_include.
2030 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
2031 (_cpp_do_file_change): Update.
2032 (do_pragma_once): Use cpp_never_reread. Clean up.
2033 * cpplib.h (struct lexer_state): New member line_extension.
2035 2000-12-07 Richard Henderson <rth@redhat.com>
2037 * flow.c (calculate_global_regs_live): Force the stack pointer live
2038 after reload as well.
2040 2000-12-07 Bruce Korb <bkorb@gnu.org>
2042 * fixinc/Makefile.*(exeext): the variables are exeext, the
2043 substitution expression is build_exeext.
2045 2000-12-07 Neil Booth <neilb@earthling.net>
2047 * c-common.c (parse_in): Make a cpp_reader *.
2048 * cppfiles.c (_cpp_fake_include): Remove.
2049 * cpphash.h: Similarly.
2050 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
2051 #line always creates a callback; FC_RENAME if there are no
2053 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
2054 The first EOF must be our get_char buffer.
2056 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2058 * c-common.c (warn_format_security): New variable.
2059 (check_format_info): Warn about non-literal formats with no format
2060 arguments if either -Wformat-nonliteral or -Wformat-security is
2062 (set_Wformat): Set warn_format_security for settings other than 1.
2063 * c-common.h (warn_format_security): Declare.
2064 * c-decl.c (c_decode_option): Decode -Wformat-security and
2065 -Wno-format-security.
2066 * invoke.texi: Document -Wformat-security.
2067 * toplev.c (documented_lang_options): Include -Wformat-security
2068 and -Wno-format-security.
2070 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2072 * c-common.c (check_format_info): Warn for non-constant format
2073 strings with strftime formats if -Wformat-nonliteral. Where the
2074 format can convert arguments, if the format is not a string
2075 literal and there are no arguments to the format, give a different
2076 warning message from the general non-string-literal case.
2078 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2080 * c-common.c (format_wanted_type): Add reading_from_flag.
2081 (print_char_table): Mark %s and %S formats with flag "R".
2082 (check_format_info_main): Set up reading_from_flag appropriately.
2083 If aflag, always set writing_in_flag rather than relying on the
2084 format used being a scanf format and so having it set.
2085 (check_format_types): Check for formats reading through null
2088 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2090 * invoke.texi (-Wformat): Document what format features are
2093 2000-12-06 Kazu Hirata <kazu@hxi.com>
2095 * config/h8300/h8300.h: Fix formatting.
2097 2000-12-06 Joel Sherrill <joel@OARcorp.com>
2099 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
2100 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
2101 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
2102 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2103 config/h8300/rtems.h, config/mips/rtems.h: New files.
2105 2000-12-06 Mark Kettenis <kettenis@gnu.org>
2107 * config.gcc: Reorganize handling of *-*-gnu*, to share target
2108 specific make details with Linux. Update comments to clarify
2109 the distinction between GNU/Linux and GNU/Hurd.
2111 Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
2113 * contrib.texi: Fix my email address. Update Per's
2114 list of contributions.
2116 2000-12-06 Rodney Brown <RodneyBrown@mynd.com>
2118 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
2119 * collect2.c (scan_libraries): Remove unused `ch'.
2120 (COFF specific stuff): Prototype ldgetname. Declare and prototype
2121 ldbtread and ldclose.
2123 * config/alpha/osf.h: Standarize copyright statement.
2124 * config/arc/arc.h: Likewise.
2125 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
2126 * config/arm/arm.c config/arm/arm.h: Likewise.
2127 * config/elxsi/elxsi.h: Likewise.
2128 * config/i386/sco.h: Likewise.
2129 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
2130 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
2131 * config/m68k/sun3.h: Likewise.
2132 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
2133 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
2134 * config/romp/romp.h: Likewise.
2135 * config/rs6000/aix41.h: Likewise.
2136 * config/sparc/sysv4.h: Likewise.
2137 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
2138 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
2139 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
2140 * longlong.h: Likewise.
2141 * libgcc2.c: Likewise.
2143 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2145 * machmode.def: Use correct definition for BITSIZE on targets where
2148 2000-12-06 Bruce Korb <bkorb@gnu.org>
2150 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
2153 2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2155 * pa.c: Include expr.h before c-tree.h.
2156 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
2157 instead of reverse_condition.
2158 (print_operand): Correct predicates for GT, GE, LT and LE. Add
2159 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
2161 (cmpib_comparison_operator): Add GEU and LTU codes.
2162 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
2163 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
2164 bordered): New float conditional branch patterns.
2166 Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
2168 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
2170 2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2172 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
2173 backslash and newline, when inside a comment.
2175 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
2177 * invoke.texi: Use @table @samp instead of @itemize @minus for
2178 table of language standards. Fix use of @pxref. From Zack
2179 Weinberg. Also exclude specs documentation from generated
2180 manpage, and create separate ENVIRONMENT section.
2182 2000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
2184 * gcse.c (compute_pre_data): Kill trapping expressions in
2185 destination blocks of abnormal edges.
2187 2000-12-05 Richard Sandiford <r.sandiford@redhat.com>
2189 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
2190 (mn10300_get_live_callee_saved_regs): Likewise.
2191 (mn10300_gen_multiple_store): Likewise.
2192 (store_multiple_operation): Likewise.
2193 (expand_prologue): Use mn10300_gen_multiple_store().
2194 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
2195 (mn10300_get_live_callee_saved_regs): Likewise.
2196 (mn10300_gen_multiple_store): Likewise.
2197 (store_multiple_operation): Likewise.
2198 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
2199 tied to store_multiple_operation().
2201 Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
2203 * builtins.c (expand_builtin_setjmp_setup): Set
2204 current_function_has_nonlocal_label.
2206 2000-12-05 Neil Booth <neilb@earthling.net>
2208 * cppfiles.c (stack_include_file): Push zero-length buffers
2209 in case of failure. Return void, as we don't fail any more.
2210 (read_include_file): Check for files we shouldn't re-read.
2211 Don't return an error code; errors are implied by marking the
2213 (_cpp_execute_include): Move the recursion and in-macro checks
2214 here. Update for stack_include_file not failing.
2215 * cpplib.c (cpp_push_buffer): Always succeed, since
2216 _cpp_execute_include performs the recursion check. Tidy up.
2217 * cpplib.h (cpp_push_buffer): Update prototype.
2219 2000-12-05 Alexandre Oliva <aoliva@redhat.com>
2221 * sched-vis.c (visual_tbl_line_length): New variable.
2222 (get_visual_tbl_length): Set it.
2223 (visualize_stall_cycles): Don't let stalls overrun
2224 visual_tbl_line_length.
2226 2000-12-05 Geoffrey Keating <geoffk@redhat.com>
2228 * global.c (global_conflicts): Allow for a REG_UNUSED note
2229 with a different mode to the REG set in the insn.
2231 2000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2233 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
2235 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
2237 2000-12-05 Bruce Korb <bkorb@gnu.org>
2239 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
2242 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
2244 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
2245 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
2246 to cope with aliased copies.
2247 * fixinc/fixincl.x: Regenerate.
2249 2000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
2251 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
2252 * sched-rgn.c: Likewise.
2253 (rgn_print_insn): Fix output.
2255 2000-12-05 Bruce Korb <bkorb@gnu.org>
2257 * fixinc/Makefile.*: make these more consistent
2258 * fixinc/mkfixincl.sh: enable BeOS fixincludes
2260 2000-12-05 Richard Henderson <rth@redhat.com>
2262 * stmt.c (warn_if_unused_value): Move side effects test earlier.
2264 2000-12-05 Alan Modra <alan@linuxcare.com.au>
2266 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
2269 2000-12-05 Richard Henderson <rth@redhat.com>
2271 * flow.c (calculate_global_regs_live): Only force stack pointer
2272 live before reload. Force pic register live before reload.
2273 (insn_dead_p): Don't protect pic references from deletion.
2275 2000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
2277 * invoke.texi: Add support for using texi2pod.pl. Don't use
2280 2000-12-04 Nick Clifton <nickc@redhat.com>
2282 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
2283 'tune_flags' for XScale nature.
2284 Remove spurious test of HARD_FLOAT and XScale flags.
2286 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
2287 contraint, accidentally changed during XScale contribution.
2289 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
2290 not create these functions if the target architecture does not
2291 support Thumb instructions.
2293 2000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2295 * ONEWS: New file with the current contents of NEWS up to EGCS
2297 * NEWS: Generate automatically from online release notes from EGCS
2298 1.0 to GCC 2.95.2, using ../contrib/gennews.
2300 2000-12-04 Neil Booth <neilb@earthling.net>
2302 * tradcif.y: Move lexptr to top of file. Add rule to handle
2303 assertions in conditional expressions.
2304 * tradcpp.c (parse_answer): Assertions do not need to go to
2305 end of line in conditional directives.
2306 (parse_assertion): Get first character of identifiers correct.
2307 (test_assertion): New function.
2308 * tradcpp.h (test_assertion): New prototype.
2310 2000-12-01 Rodney Brown <RodneyBrown@mynd.com>
2312 * config.gcc: Fix typo for UnixWare 7.
2314 2000-12-03 Phil Edwards <pme@sources.redhat.com>
2316 * invoke.texi: Replace `pedwarns' with clearer text.
2318 2000-12-04 Bruce Korb <bkorb@gnu.org>
2320 * fixinc/Makefile.*(clean): don't clean autogenerated files.
2321 (mainainer-clean): clean autogenerated files
2323 2000-12-04 DJ Delorie <dj@redhat.com>
2325 * md.texi: Add overview, clarify match_dup and define_expand.
2327 2000-12-04 DJ Delorie <dj@redhat.com>
2329 * print-tree.c (print_node): Target-specific builtins print
2332 2000-12-04 Jason Merrill <jason@redhat.com>
2334 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
2337 * diagnostic.c (report_problematic_module): s/function/module/.
2339 * c-lex.h: Remove decl for check_newline.
2341 2000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2343 * README.APOLLO: Remove obsolete file.
2345 2000-12-04 Neil Booth <neilb@earthling.net>
2347 * cppinternals.texi: New file.
2349 2000-12-04 Neil Booth <neilb@earthling.net>
2351 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
2352 and operate on current buffer.
2353 (cpp_read_file): Rename _cpp_read_file.
2354 * cpplib.c (do_line, do_pragma_system_header): Update calls to
2355 cpp_make_system_header.
2356 * fix-header.c: Similarly.
2357 * cpphash.h (_cpp_read_file): Move from...
2358 * cpplib.h: ... here.
2359 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
2361 2000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2363 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
2364 Handle another transformation.
2366 2000-12-03 Nick Clifton <nickc@redhat.com>
2368 * config.gcc: Add support for StrongARM targets.
2369 * config/arm/t-strongarm-elf: New file.
2370 * config/arm/t-strongarm-coff: New file.
2371 * config/arm/t-strongarm-pe: New file.
2372 * config/arm/strongarm-pe.h: New file.
2374 2000-12-03 Nick Clifton <nickc@redhat.com>
2376 * NEWS: Mention XScale has been added.
2377 * config.gcc: Add support for XScale targets.
2378 * config/arm/arm.h: Add support for XScale processor.
2379 * config/arm/arm.c: Add support for XScale processor.
2380 * config/arm/arm.md: Add support for XScale processor.
2381 * config/arm/t-xscale-elf: New file.
2382 * config/arm/t-xscale-coff: New file.
2383 * config/arm/xscale-elf.h: New file.
2384 * config/arm/xscale-coff.h: New file.
2386 2000-12-03 Richard Henderson <rth@redhat.com>
2388 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
2389 unless exception handling is enabled, and if not using sjlj.
2391 * builtins.c (expand_builtin_setjmp_setup): New.
2392 (expand_builtin_setjmp_receiver): New.
2393 (expand_builtin_setjmp): Split out _setup and _receiver functions.
2394 Move argument parsing in from ...
2395 (expand_builtin): ... here.
2396 * except.c (receive_exception_label): Branch around receiver
2397 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
2398 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
2399 * expr.h: Update builtin setjmp decls.
2401 2000-12-03 Bruce Korb <bkorb@gcc.org>
2403 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
2404 build machine name. Default to the target.
2406 2000-12-03 Laurynas Biveinis <lauras@softhome.net>
2408 * Makefile.in: use $(build_canonical), not $(canonical_build).
2410 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2412 * Makefile.in (OBJS): Add sched-rgn.o.
2413 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
2415 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2416 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2417 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2418 MAX_BLOCKAGE_COST): Move to sched-int.h.
2419 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
2420 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
2421 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
2422 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
2423 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
2424 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
2425 debug_regions, find_single_block_region, find_rgns, too_large,
2426 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
2427 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
2428 extract_bitlst, bblst, struct candidate, candidate_table,
2429 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
2430 SRC_PROB, target_bb, split_edges, compute_trg_info,
2431 debug_candidate, debug_candidates, bbset, bbset_size, dom,
2432 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
2433 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
2434 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
2435 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
2436 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
2437 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
2438 update_live, set_spec_fed, is_pfree, find_conditional_protection,
2439 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
2440 is_prisky, is_exception_free, add_branch_dependences,
2441 propagate_deps, compute_block_backward_dependences,
2442 debug_dependencies, is_cfg_nonregular, build_control_flow,
2443 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
2444 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
2445 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
2446 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
2447 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
2448 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
2449 rgn_rank, region_sched_info): Move to sched-rgn.c.
2450 (debug_reg_vector): Delete useless function.
2451 (get_bb_head_tail): Likewise.
2452 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
2453 no_real_insns_p, rm_line_notes, save_line_notes,
2454 restore_line_notes, rm_redundant_line_notes, sched_init): No
2456 (rm_line_notes, save_line_notes, restore_line_notes,
2457 schedule_block, set_priorities): Change argument to be a real
2458 basic block, not one of haifa's "bb"s. All callers changed
2459 (rm_other_notes): Initialize note_list here, not in
2461 (sched_finish): New function, called from schedule_insn. * *
2462 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2463 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2464 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2465 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
2466 (get_block_head_tail, no_real_insns_p, rm_line_notes,
2467 save_line_notes, restore_line_notes, rm_redundant_line_notes,
2468 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
2469 sched_init, sched_finish, ready_add, insn_cost): Declare.
2471 2000-12-03 Laurynas Biveinis <lauras@softhome.net>
2472 Bruce Korb <bkorb@gnu.org>
2474 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
2475 * fixinc/mkfixinc.sh: accept build system name as an argument.
2476 Use it for choosing the fix build method. Use the target for
2477 selecting special fix rules.
2479 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2481 * Makefile.in (OBJS): Add sched-deps.o.
2482 (sched-deps.o): New rule.
2483 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
2485 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
2487 (SIZE_FOR_MODE): Delete unused macro.
2488 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
2489 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
2490 anti_dependency_cache, output_dependency_cache,
2491 forward_dependency_cache): Variables moved to sched-deps.c.
2492 (add_dependence, remove_dependence, find_insn_list,
2493 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
2494 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
2495 sched_analyze, group_leader, compute_forward_dependences,
2496 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
2497 Functions moved to sched-deps.c.
2498 (schedule_region): Call init_deps_global and finish_deps_global
2499 instead of directly manipulating dependency data structures.
2500 * sched-deps.c: New file.
2501 (init_deps_global, finish_deps_global): New functions.
2502 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
2505 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
2508 * Makefile.in (OBJS): Add sched-vis.o.
2509 (sched-vis.o): New rule.
2510 * haifa-sched.c (get_unit_last_insn): New function.
2511 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
2513 (schedule_block): Call visualize_alloc and visualize_free. Delete
2514 spurious return statement.
2515 (init_target_units, insn_print_units, get_visual_tbl_length,
2516 init_block_visualization, print_block_visualization, safe_concat,
2517 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
2518 print_exp, print_value, print_pattern, print_insn, target_units,
2519 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
2520 n_vis_no_unit, vis_no_unit): Move scheduling visualization
2521 functions/variables...
2522 * sched-vis.c: ...here. New file.
2523 (visualize_alloc, visualize_free): New functions.
2524 (visualize_scheduled_insns, visualize_stall_cycles,
2525 print_block_visualization): Lose basic block argument. All callers
2527 (visualize_scheduled_insns): Use new function get_unit_last_insn.
2528 * sched-int.h (current_sched_info, sched_dump): Declare.
2529 (init_target_units, insn_print_units, init_block_visualization,
2530 print_block_visualization, visualize_scheduled_inns,
2531 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
2532 visualize_free): Declare functions.
2534 * sched-int.h: New file.
2535 * Makefile.in (haifa-sched.o): Depend on it.
2536 * haifa-sched.c: Include it.
2537 (no_real_insns_p): New function.
2538 (current_sched_info): New static variable.
2539 (__inline, HAIFA_INLINE): Moved to sched-int.h.
2540 (get_block_head_tail): Minor cleanup.
2541 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
2542 rgn_print_insn, rgn_rank): New functions, broken out of
2543 rank_for_schedule, schedule_insn and schedule_block, where they
2544 are now called through function pointers in current_sched_info.
2545 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
2546 print_insn): To display uid and block number, call the print_insn
2547 function pointer in current_schedule_info.
2548 (region_sched_info): New static variable.
2549 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
2550 variables, moved out of schedule_block.
2551 (schedule_block): Return void. All callers changed.
2552 Move some of the setup code into schedule_region. Get head/tail
2553 from current_sched_info, and update it when done.
2554 (schedule_region): Slightly rearranged, some code moved here from
2555 schedule_block. Call no_real_insns_p to avoid doing work for a
2556 block that consists only of notes and labels.
2557 (schedule_insns): Initialize current_sched_info.
2559 2000-12-03 Neil Booth <neilb@earthling.net>
2561 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
2562 by contexts drops AFTER argument pre-expansion, so that they
2563 remain enabled during argument pre-expansion.
2564 (_cpp_pop_context): Unconditionally re-enable a macro when
2565 dropping a context level.
2567 2000-12-03 Manfred Hollstein <manfredh@redhat.com>
2569 * arm/t-linux (MULTILIB_OPTIONS): Comment.
2570 (MULTILIB_DIRNAMES): Likewise.
2571 (EXTRA_MULTILIB_PARTS): Likewise.
2573 (INSTALL_LIBGCC): Likewise.
2575 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2577 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
2578 expand_builtin_strspn, expand_builtin_strcspn): New functions.
2579 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2580 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
2582 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2583 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
2585 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2586 strcat, strncat, strspn and strcspn.
2587 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
2589 * extend.texi (strcat, strcspn, strncat, strspn): Document new
2592 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2594 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
2595 expanding strcmp at compile-time. Add another transformation.
2596 (expand_builtin_strncmp): Add more transformations. Call
2597 expand_builtin_memcmp, not expand_builtin_strcmp, under
2598 appropriate conditions if HAVE_cmpstrsi.
2600 2000-12-02 David Edelsohn <edelsohn@gnu.org>
2602 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
2604 (cr logic): Really make operands sequential.
2606 2000-12-02 Geoffrey Keating <geoffk@redhat.com>
2608 * c-common.c (combine_strings): When the ISO C standard specifies
2609 the maximum length of a string, it doesn't include the trailing
2612 * cpplib.c (do_ifdef): Add check_eol() call.
2613 (do_ifndef): Likewise.
2615 2000-12-02 Daniel Berlin <dberlin@redhat.com>
2616 Bruce Korb <bkorb@gnu.org>
2618 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
2619 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
2620 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
2621 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
2622 use the "__need_" hackery. It breaks them.
2623 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
2624 Sometimes on DOS and BeOS the temp output file cannot be opened.
2625 Skip the file noisily. Ought to be fixed instead.
2627 2000-12-02 Bruce Korb <bkorb@gnu.org>
2629 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2631 * fixfixes.c (emit_gnu_type, format_write): Prototype.
2632 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
2633 custom uppercase ctype macros.
2634 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
2635 Use gcc's custom uppercase ctype macros.
2637 (machine_matches): Add static prototype and constify variable.
2638 (create_file, test_test, egrep_test): Add static prototype.
2639 (quoted_file_exists): Likewise, and constify parameters.
2640 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
2641 write_replacement, test_for_changes): Add static prototype.
2642 (write_replacement, test_for_changes): Delete excess argument to
2644 * fixtests.c (test): Make static.
2645 * server.c (load_data, sig_handler, server_setup, find_shell): Add
2647 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
2649 2000-12-02 Bruce Korb <bkorb@gnu.org>
2651 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
2652 (per Laurynas Biveinis <lauras@softhome.net>)
2654 2000-12-02 Richard Earnshaw <rearnsha@arm.com>
2656 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
2658 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
2659 (REGNO_OK_FOR_FOR_BASE_P): Delete.
2660 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
2661 both strict and non-strict uses.
2662 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
2663 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
2664 (REG_OK_FOR_INDEX_P): Define in terms of above.
2665 (REG_OK_FOR_BASE_P): Delete.
2666 (REG_OK_FOR_PRE_POST_P): Delete.
2667 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
2668 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
2669 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
2670 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
2671 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
2672 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
2673 in pre/post increment cases.
2674 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
2675 (ARM_LEGITIMIZE_ADDRESS): Similarly.
2676 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
2677 * arm.c (legitimate_pic_address): Similarly.
2679 2000-12-02 Neil Booth <neilb@earthling.net>
2681 * tradcpp.c (struct answer, parse_assertion, parse_answer,
2682 canonicalize_text, find_answer): New.
2683 (do_assert, do_unassert): Provide appropriate function bodies.
2684 (union hashval): New member answers.
2686 2000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
2688 * config/avr/avr.md: Document UNSPEC usage.
2689 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
2690 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
2691 MEM for program memory word reference. Do not add the label to
2692 the table index in each of the asm output templates, instead ...
2693 (casesi): ... do it in RTL. Adjust to match the above change.
2695 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2697 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
2698 * c-decl.c: ... not here.
2700 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
2701 (old_max_uid): New variable.
2702 (compute_forward_dependences): Renamed from
2703 compute_block_forward_dependences; changed to accept block head and
2704 tail instead of block number. Caller changed.
2705 (free_deps, init_dependency_caches, free_dependency_caches,
2706 init_regions, sched_init): New functions, split out from
2707 schedule_insns and compute_block_backward_dependences.
2709 2000-12-02 Neil Booth <neilb@earthling.net>
2711 * cppexp.c (parse_number): Update diagnostic test.
2713 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2715 * reload1.c (free_for_value_p): New function, frontend to
2716 reload_reg_free_for_value_p. All callers of the latter now call
2717 this function with an additional mode argument.
2719 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2721 * install.texi (Configurations): Remove obsolete documentation for
2724 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2726 * install.texi (Installation): Remove obsolete description for
2727 libstdc++ which is now an integral part of GCC.
2729 2000-12-01 Jim Blandy <jimb@redhat.com>
2731 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
2732 invisible reference in registers, but then spilled to the stack.
2733 Remove code to emit a second stab for such parameters; it attempts
2734 to describe the value's location by introducing a synthetic C++
2735 `reference' type, and then saying the stack slot has that
2736 reference type. This loses type information (breaking GDB's
2737 `ptype' command, among other things) just to describe a location
2738 which stabs can represent correctly in other ways.
2740 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2742 * final.c (output_addr_const) <PLUS>: Don't assume at least one
2743 operand is a CONST_INT.
2745 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
2746 (machine_dependent_reorg): Split all insns.
2747 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
2748 reg_class_contents[SIBCALL_REGS].
2749 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
2750 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
2751 call_value_pcrel, call, call_value, sibcall): Match even when
2753 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
2755 (sibcalli): Likewise.
2757 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2759 * c-common.c (warn_format, warn_format_y2k,
2760 warn_format_extra_args, warn_format_nonliteral): Define.
2761 (check_format_info): Check warn_format_nonliteral and
2762 warn_format_extra_args.
2763 (check_format_info_main): Check warn_format_y2k.
2764 (set_Wformat): New function.
2765 * c-common.h (warn_format_y2k, warn_format_extra_args,
2766 warn_format_nonliteral, set_Wformat): Declare.
2767 * c-decl.c (warn_format): Remove definition.
2768 (c_decode_option): Handle -Wformat-nonliteral,
2769 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
2771 * invoke.texi: Document these new options and -Wformat=2.
2772 * toplev.c (documented_lang_options): Add these new options.
2774 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2776 * builtins.def (BUILT_IN_IMAXABS): Add.
2777 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
2778 * c-common.c (c_common_nodes_and_builtins): Create builtin
2779 functions __builtin_imaxabs, and plain imaxabs unless
2780 flag_no_nonansi_builtin outside C99 mode.
2781 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
2782 * extend.texi: Document builtin imaxabs.
2784 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2786 * c-common.c: Include "defaults.h".
2787 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
2788 (c_common_nodes_and_builtins): Create string_type_node,
2789 const_string_type_node, wint_type_node, intmax_type_node,
2790 uintmax_type_node, default_function_type, ptrdiff_type_node and
2791 unsigned_ptrdiff_type_node.
2792 * c-common.h (identifier_global_value): Declare.
2793 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
2794 (init_decl_processing): Don't create string_type_node,
2795 const_string_type_node, wint_type_node, intmax_type_node,
2796 uintmax_type_node, default_function_type, ptrdiff_type_node and
2797 unsigned_ptrdiff_type_node.
2798 (identifier_global_value): New function.
2800 2000-12-01 Neil Booth <neilb@earthling.net>
2802 * cppinit.c (initialize): Forgotten prototype.
2803 * cpplex.c (_cpp_lex_token): Loop until not skipping.
2804 Always clear PREV_WHITE upon meeting a new line.
2805 * cpplib.c (end_directive): Set pfile->skipping after
2807 * cpplib.h (cpp_reader): Remove macro_pos.
2808 * cppmacro.c (cpp_get_line): Don't do anything special inside
2810 (parse_arg): Add PREV_WHITE if a token appears after new lines.
2811 (funlike_invocation_p): Save and restore the output position
2812 over a successful check for a '('.
2813 (enter_macro_context): Delete uses of macro_pos.
2814 (cpp_get_token): Don't use pfile->skipping.
2816 2000-12-01 Phil Edwards <pme@sources.redhat.com>
2818 * diagnostic.c: Fix typos in comments.
2819 * diagnostic.h: Likewise.
2821 2000-11-30 Phil Edwards <pme@sources.redhat.com>
2823 * rtl.texi (Machine Modes): Document BImode and OImode.
2825 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2827 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
2830 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2832 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
2833 incomplete element type.
2834 (grokparms): Before checking for incomplete parameter type, check
2835 the type isn't error_mark_node.
2837 2000-12-01 Jakub Jelinek <jakub@redhat.com>
2839 * builtins.c (target_char_cast): New function.
2840 (expand_builtin_strchr): Use it.
2841 (expand_builtin_strrchr): Use it.
2842 (builtin_memset_read_str): New function.
2843 (expand_builtin_memset): Use target_char_cast.
2844 Try to optimize memset with second argument non-zero using
2847 2000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
2849 * install.texi (avr): Replace incomplete list of supported MCU
2850 types with a link to the current one ...
2851 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
2852 all supported MCU types. Document -minit-stack= default.
2853 Document new options -mno-tablejump, -mtiny-stack.
2854 * md.texi (AVR family): Fix typo in 'w' constraint letter
2855 description. Document 'q'. Update 'O'.
2857 2000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
2859 * combine.c (cant_combine_insn_p): Only disallow insns involving
2860 hard regs if they are reg-reg moves.
2861 (try_combine, can_combine_p, combinable_i3pat): Delete old
2862 SMALL_REGISTER_CLASSES tests.
2864 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2866 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
2867 whether X is a CONST_INT.
2868 (addsubcosts): Likewise.
2870 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
2872 (ARG_POINTER_REGNUM): Set to AP_REG.
2874 2000-11-30 Alexandre Oliva <aoliva@redhat.com>
2876 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
2877 splits): Only match on TARGET_SH4.
2879 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
2880 of subsequent insns.
2882 2000-11-30 Richard Henderson <rth@redhat.com>
2884 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
2885 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
2887 2000-11-30 Richard Henderson <rth@redhat.com>
2889 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
2890 (DO_SELECT_SECTION): New.
2891 (SELECT_SECTION): Use it.
2892 (UNIQUE_SECTION_P): New.
2893 (UNIQUE_SECTION): New.
2895 2000-11-30 Alexandre Oliva <aoliva@redhat.com>
2897 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
2898 from va_list before using it.
2900 2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
2902 * flow.c (make_edge): Early out, if no flags to set.
2903 (calculate_global_regs_live): Clear out garbage only when necessary.
2905 * simplify-rtx.c (varray_type used_regs): New.
2906 (clear_table): Use it to only clear necessary items.
2907 (cselib_lookup, cselib_record_set): Remember newly set items.
2908 (cselib_update_varray_sizes, cselib_init): Initialize and grow
2911 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
2912 Move clearing of dead regs out of insn-loop.
2914 2000-11-30 Richard Henderson <rth@redhat.com>
2916 * calls.c (expand_call): Emit queued insns before creating
2917 the tail recursion sequence.
2919 2000-11-30 J. David Anglin <dave.anglin@nrc.ca>
2920 Bruce Korb <bkorb@gnu.org>
2922 * fixinc/inclhack.def(): prevent dual double definition protection
2923 * fixinc/fixincl.x: regenerate
2925 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
2927 * fixinc/Makefile.in (fixincl.x): Explicitly state the
2928 location of the generated file.
2930 2000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2932 * README.FRESCO: Remove obsolete file.
2934 2000-11-30 Mark Kettenis <kettenis@gnu.org>
2936 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
2937 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
2938 config/t-linux for the Hurd.
2940 2000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2942 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
2943 config/mn10200/udivmodsi4.c: Moved from here.
2944 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
2945 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
2946 C division functions.
2947 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
2949 Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
2951 * pa.md (conditional moves): Avoid holes in operand list.
2952 (mod, umod patterns): Similarly.
2953 (variable extract/shift patterns): Similarly.
2955 2000-11-30 Neil Booth <neilb@earthling.net>
2957 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
2958 maybe_objc_check_decl, build_objc_string_object,
2959 objc_declare_alias, objc_declare_class, build_message_expr,
2960 build_protocol_expr, build_selector_expr, build_encode_expr,
2961 get_class_ivars, start_class, start_protocol): Remove
2962 redundant code, assuming doing_objc_thang is true.
2964 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2966 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
2967 (record_unscaled_index_insn_codes): Likewise.
2968 (unscaled_index_insn_codes): Delete.
2969 (max_unscaled_index_insn_codes_uid): Delete.
2970 (output_function_prologue, output_function_epilogue, pa_reorg):
2971 Don't use the unscaled index insn hack.
2973 * pa.md: Remove hack from all index insns to reverse the operand
2974 order of frame and stack pointer references incorrectly created
2977 * function.h (emit_status): Delete member regno_pointer_flag and
2978 rename regno_pointer_flag_length to regno_pointer_align_length.
2979 Delete define for REGNO_POINTER_FLAG.
2980 * integrate.h (inline_remap): Delete member regno_pointer_flag.
2981 Add member x_regno_reg_rtx.
2982 * rtl.h (rtx_def): Use frame_related bit to indicate register is
2983 a pointer in REG expressions. Define REG_POINTER macro.
2984 * alias.c (find_base_value, find_base_term): Use REG_POINTER
2985 instead of REGNO_POINTER_FLAG.
2986 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
2987 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
2988 of regno_pointer_flag_length. Remove code which refers to
2990 (mark_reg_pointer): Use REG_POINTER.
2991 (free_emit_status): Remove code which refers to regno_pointer_flag.
2992 (init_emit, mark_emit_status): Likewise.
2993 * flow.c (dump_flow_info): Likewise.
2994 * function.c (preserve_temp_slots): Likewise.
2995 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
2996 Use x_regno_reg_rtx instead of regno_pointer_flag for function
2997 pointer determination in map.
2998 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
2999 * predict.c (estimate_probability): Likewise.
3000 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
3001 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
3002 regno_pointer_flag for function pointer determination in map.
3003 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
3005 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
3007 (restore_unscaled_index_insn_codes): Revise comment.
3009 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
3011 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
3013 * extend.texi: Update documentation for attributes.
3015 2000-11-29 David O'Brien <obrien@FreeBSD.org>
3017 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
3018 (ASM_DECLARE_OBJECT_NAME): Same.
3019 (ASM_FILE_END): Same.
3020 (ASM_FINISH_DECLARE_OBJECT): Same.
3021 (ASM_IDENTIFY_GCC): Same.
3022 (ASM_IDENTIFY_LANGUAGE): Same.
3023 (ASM_OUTPUT_CONSTRUCTOR): Same.
3024 (ASM_OUTPUT_DEF): Same.
3025 (ASM_OUTPUT_DESTRUCTOR): Same.
3026 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
3027 (ASM_OUTPUT_SECTION_NAME): Same.
3028 (ASM_WEAKEN_LABEL): Same.
3029 (BSS_SECTION_ASM_OP): Same.
3030 (COMMON_ASM_OP): Same.
3031 (CONST_SECTION_ASM_OP): Same.
3032 (CONST_SECTION_FUNCTION): Same.
3033 (CTORS_SECTION_ASM_OP): Same.
3034 (DTORS_SECTION_ASM_OP): Same.
3036 (FINI_SECTION_ASM_OP): Same.
3037 (IDENT_ASM_OP): Same.
3038 (IDENT_ASM_OP): Same.
3039 (INIT_SECTION_ASM_OP): Same.
3041 (MAX_OFILE_ALIGNMENT): Same.
3042 (SBSS_SECTION_ASM_OP): Same.
3043 (SDATA_SECTION_ASM_OP): Same.
3044 (SECTION_FUNCTION_TEMPLATE): Same.
3045 (SELECT_SECTION): Same.
3046 (SE_CONST_SECTION): Same.
3047 (SIZE_ASM_OP): Same.
3048 (SKIP_ASM_OP): Same.
3049 (STRING_ASM_OP): Same.
3050 (STRING_LIMIT): Same.
3051 (TYPE_ASM_OP): Same.
3052 (TYPE_OPERAND_FMT): Same.
3054 2000-11-29 Neil Booth <neilb@earthling.net>
3056 * c-decl.c (c_decode_option): Don't handle -lang-objc.
3057 * objc/lang-options.h: Remove -lang-objc.
3058 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
3059 * objc/objc-act.c (lang_init_options): Set c_language.
3061 2000-11-29 Jakub Jelinek <jakub@redhat.com>
3063 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
3066 2000-11-29 Neil Booth <neilb@earthling.net>
3068 * c-pragma.c (init_pragma): Update for parse_in type change.
3070 2000-11-29 Laurynas Biveinis <lauras@softhome.net>
3072 * configure.in: recognize DOS-style absolute paths.
3074 2000-11-29 Jakub Jelinek <jakub@redhat.com>
3076 * expr.h (store_by_pieces): Add prototype.
3077 (can_store_by_pieces): Likewise.
3078 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
3079 (can_store_by_pieces): New.
3080 (store_by_pieces): New.
3081 (clear_by_pieces): New.
3082 (clear_by_pieces_1): New.
3083 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
3084 arbitrary compiler generated constants into memory block.
3085 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
3086 * builtins.c (c_readstr): New.
3087 (builtin_memcpy_read_str): New.
3088 (expand_builtin_memcpy): If src is string constant and
3089 emit_block_move would move it by pieces, compute integer constants
3090 from the string and store it into memory block instead.
3091 (builtin_strncpy_read_str): New.
3092 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
3093 not return INTEGER_CST, don't optimize.
3094 If N is larger than strlen(src) + 1, try to copy the string
3095 including padding with store_by_pieces.
3096 (expand_builtin_strcmp): If both arguments have side effects, don't
3098 (expand_builtin_fputs): If STR has side effects, don't optimize.
3100 2000-11-29 Richard Earnshaw <rearnsha@arm.com>
3102 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
3103 Add use of link register.
3105 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3107 * extend.texi: Update documentation for default format attributes.
3109 Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
3111 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3112 a list, to keep track of the sections.
3114 2000-11-28 Nick Clifton <nickc@redhat.com>
3116 * config/arm/arm.md (pic_load_addr): Split into
3117 pic_load_addr_arm and pic_load_addr_thumb.
3119 * config/arm/arm.c (legitimize_pic_address): Generate either
3120 ARM or Thumb versions of pic_load_addr.
3121 (arm_finalize_pic): Generate either ARM or Thumb versions of
3124 2000-11-28 Richard Henderson <rth@redhat.com>
3126 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
3127 after sibcall do_pending_stack_adjust.
3129 Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
3131 * jump.c (delete_insn): Check that REG_LABEL note actually contains
3134 2000-11-28 Neil Booth <neilb@earthling.net>
3136 * c-common.h: Remove flag_digraphs.
3137 * c-decl.c: Remove flag_digraphs.
3138 (c_decode_option): Don't set it.
3139 * c-lex.c (init_c_lex): Don't do anything for digraphs.
3141 2000-11-28 Richard Henderson <rth@redhat.com>
3143 * c-parse.in (finish_parse): Update for parse_in type change.
3146 2000-11-28 Neil Booth <neilb@earthling.net>
3148 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
3149 indicating whether to scan all buffers on the stack or
3151 * cppinit.c (do_includes): Update.
3152 * cppmain.c (main): Update.
3153 * cpplib.h: Update prototype.
3155 2000-11-28 Richard Henderson <rth@redhat.com>
3157 * genoutput.c (validate_insn_operands): New.
3158 (gen_insn): Call it.
3160 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
3161 (divmoddi_internal): Likewise.
3162 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
3163 * config/i960/i960.md (branch patterns): Likewise.
3164 * config/ia64/ia64.md (tbit_and_0): Likewise.
3165 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
3166 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
3167 * config/mips/mips.md (divmodsi4_internal): Likewise.
3168 (divmoddi4_internal): Likewise.
3169 * config/rs6000/rs6000.md (call patterns): Likewise.
3170 * config/sh/sh.md (movsi_y): Likewise.
3171 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
3173 2000-11-28 Richard Henderson <rth@redhat.com>
3175 * config.gcc: Kill residual pyramid support.
3177 2000-11-28 Neil Booth <neilb@earthling.net>
3179 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
3180 * c-decl.c (c_decode_option): Update to match.
3181 * c-lex.c (init_c_lex, yyparse): Update to match.
3182 * c-lang.c (lang_init_options): Use cpp_create_reader.
3183 * cppinit.c (cpp_init): Rename initialize.
3184 (cpp_reader_init): Rename cpp_create_reader. Create the
3185 reader. Initialize cpplib if appropriate.
3186 * cpplib.h (cpp_create_reader) New prototype.
3187 (cpp_init, cpp_reader_init): Delete prototypes.
3188 * cppmain.c (general_init, setup_callbacks): New functions.
3190 * fix-header.c (scan_in): Change type to cpp_reader *.
3191 (read_scan_file): Update for new cpplib interface and scan_in type.
3193 * cp/decl.c (parse_in): Change to cpp_reader *.
3194 (lang_decode_option): Update.
3195 * cp/lex.c (lang_init_options): Use new cpplib interface.
3196 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
3197 * cp/spew.c (read_token): Update.
3198 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
3200 2000-11-28 Jakub Jelinek <jakub@redhat.com>
3202 * loop.c (load_mems): Avoid using next_label to find end_label. If
3203 jumping outside of the loop (other than loop end), don't hoist MEMs
3206 2000-11-28 Jan Hubicka <jh@suse.cz>
3208 * calls.c (expand_call): Don't disable tail recursion based
3211 2000-11-28 Neil Booth <neilb@earthling.net>
3213 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
3214 (struct directive): Drop 4th argument from handlers.
3215 (do_define, do_line, do_include, do_undef, do_else, do_elif,
3216 do_endif): Similarly.
3217 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
3218 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
3219 (make_definition, make_undef): Take a const char*.
3220 (make_assertion): New function.
3221 (struct directive_table): Update.
3222 (main): Handle -A command line argument.
3223 (handle_directive): Drop fourth handler argument.
3225 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
3227 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
3228 is anything but REG or MEM, but look inside STRICT_LOW_PART.
3230 Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3232 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
3233 (IS_ABSOLUTE_PATHNAME): New macro.
3234 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
3236 2000-11-28 Jakub Jelinek <jakub@redhat.com>
3238 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
3240 2000-11-27 Jim Wilson <wilson@redhat.com>
3242 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
3244 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
3246 * extend.texi (Nested Functions): Update URL of Usenix paper.
3248 2000-11-27 Mark Mitchell <mark@codesourcery.com>
3250 * function.c (free_after_compilation): Clear x_clobber_return_insn.
3252 2000-11-27 Neil Booth <neilb@earthling.net>
3254 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
3255 command line options.
3256 (cpp_handle_option): Similarly.
3257 * cpplib.h (struct cpp_options): Remove warn_paste.
3258 * cppmacro.c (paste_tokens): Apart from assembler, make
3259 unpasteable token warning mandatory.
3261 2000-11-27 Neil Booth <neilb@earthling.net>
3263 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
3264 (main): Allocate a pending directive set of these. Use it.
3265 Merge handling of -D and -U. Update handling of pending
3266 directives. Free the memory after use.
3268 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3270 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
3271 (struct propagate_block_info): Add new member cond_local_set.
3272 (propagate_block): Accept new arg cond_local_set. All callers
3274 (init_propagate_block_info): Likewise.
3275 (calculate_global_regs_live): Allocate & free cond_local_set. Always
3276 rescan if there's overlap between cond_local_set and new_live_at_end.
3277 (mark_set_1): Set bits either in cond_local_set or local_set, as
3279 * basic-block.h (struct basic_block_def): New field cond_local_set.
3280 (propagate_block, init_propagate_block_info): Update prototypes.
3282 Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
3284 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
3287 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
3289 * arm.c (select_dominance_cc_mode): Handle new way that combine
3290 canonicalizes conditional compares.
3291 (arm_select_cc_mode): Likewise.
3292 * arm.md: Garbage collect some dead code.
3293 (cmp_and, cmp_ior): New patterns.
3294 (splitter for conditional move with inverted false): Use cond_exec
3295 and handle unordered comparisons.
3297 Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
3299 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
3300 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
3301 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
3302 ix86_force_to_memory and ix86_free_from_memory.
3304 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
3306 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
3307 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
3308 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
3309 one_cmpldi2): Merge with splitters to create define_insn_and_split
3310 patterns. Remove redundant splits.
3311 (peephole2 for add:SI of invalid immediate): New.
3312 (peephole2 for minus:SI of invalid immediate): New.
3313 (peephole2 for ior:SI of invalid immediate): New.
3314 (peephole for merge of move and compare): Convert ot peephole2.
3315 (addsf3, adddf3): Mark as commutative.
3317 * arm.md (thumb peephole for merging stack adjustments): Convert to
3320 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3322 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
3324 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
3325 (reload_cse_simplify_operands): Do nothing about operands where both
3326 the operand and the match_operand fail to give us a mode.
3327 * simplify-rtx.c (wrap_constant): New function.
3328 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
3329 CONST describing the proper mode.
3330 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
3332 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
3333 htab_find_slot_with_hash.
3334 (cselib_lookup): Likewise.
3336 Based on a patch from Geoff Keating <geoffk@redhat.com>:
3337 * loop.c (basic_induction_var): If a REG is set from something
3338 that is not a biv, then the REG is not a biv. Even if it is
3339 earlier set from something that is a biv.
3341 2000-11-27 Alexandre Oliva <aoliva@redhat.com>
3343 * configure.in (extra_objs): Enclose extra_headers in quotes.
3344 * configure: Rebuilt.
3346 2000-11-27 Neil Booth <neilb@earthling.net>
3348 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
3349 Combine into the new function cb_change_file.
3350 (init_c_lex): Update.
3351 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
3352 (cpp_syshdr_flags): Delete.
3353 * cpphash.h (_cpp_do_file_change): New prototype.
3354 Move struct cpp_buffer here from...
3355 * cpplib.h (struct cpp_buffer): ... here.
3356 (enum cpp_fc_reason, struct cpp_file_loc,
3357 struct_cpp_file_change, change_file): New.
3358 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
3359 * cpplib.c (do_line): Update for new cb_change_file callback.
3360 (_cpp_do_file_change): New function.
3361 (_cpp_pop_buffer): Update to use it.
3362 * cppmain.c (move_printer): Delete.
3363 (main): Set up single callback cb_change_file.
3364 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
3365 (cb_change_file): New.
3366 * fix-header.c (cur_file, cb_change_file): New.
3367 (recognized_function, read_scan_file): Update.
3368 * scan-decls.c (scan_decls): Update.
3369 * scan.h (recognized_function): Update prototype.
3371 2000-11-26 Mark Mitchell <mark@codesourcery.com>
3373 * tree.h (mark_tree_hashtable): New function.
3374 * tree.c (mark_tree_hashtable_entry): New function.
3375 (mark_tree_hashtable): Likewise.
3377 2000-11-27 Michael Meissner <meissner@redhat.com>
3379 * d30v-protos.h (srelational_si_operator): Correctly spell
3381 (urelational_si_operator): Ditto.
3382 (relational_si_operator): Ditto.
3383 (d30v_expand_prologue): Add prototype.
3384 (d30v_expand_epilogue): Ditto.
3386 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
3388 * d30v.md (movcccc_*): Delete now unused patterns.
3389 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
3391 (define_cond_exec): Use 'b' to select branch flags.
3393 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3395 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
3397 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
3399 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
3401 * c-common.c (c_common_nodes_and_builtins): Declare builtin
3402 strncpy and strncmp.
3404 * extend.texi (strncmp, strncpy): Document new builtins.
3406 2000-11-26 Mark Mitchell <mark@codesourcery.com>
3408 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3409 a list, to keep track of the sections.
3410 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
3411 parameter provided will always be a canonical string.
3413 2000-11-26 Neil Booth <neilb@earthling.net>
3415 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
3418 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
3420 * makefile.vms: Remove EGCS references.
3422 2000-11-26 Ulrich Drepper <drepper@redhat.com>
3424 * dwarf2out.c (output_file_names): New function. Compute minimal
3425 combination of directory and file name table and emit them.
3426 (output_line_info): Remove code to emit directory and file name
3427 table and call output_file_names instead.
3428 (file_info_cmp): Helper function to sort directory names.
3430 2000-11-26 Neil Booth <neilb@earthling.net>
3432 * cpplib.h (struct cpp_reader): Remove lang_asm.
3433 (struct cpp_options): Remove c89. New members lang,
3435 * cppexp.c (parse_number): Use them.
3436 * cpphash.h (VALID_SIGN): Use them.
3437 * cppinit.c (set_lang, cpp_start_read): Update.
3438 * cpplex.c (parse_string, _cpp_lex_token): Update.
3439 * cpplib.c (_cpp_handle_directive): Update.
3440 * cppmacro.c (parse_args): Update.
3441 * cppmain.c (scan_buffer): Update.
3443 Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3445 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
3448 2000-11-26 Neil Booth <neilb@earthling.net>
3450 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
3451 * c-decl.c: Remove parse_in declaration.
3452 * c-lang.c: Similarly.
3453 * c-lex.c: Similarly.
3454 * c-parse.in: Similarly.
3455 * c-pragma.c: Similarly.
3456 * configure.in: Similarly.
3457 * cp/Make-lang.in: Similarly.
3458 * cp/spew.c: Similarly.
3459 * cp/decl2.c: Remove check for lang-c++ option.
3460 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
3461 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
3462 * c-lex.h: Add declaration of parse_in.
3463 * cppinit.c: Call set_lang after allocating pfile->pending.
3464 * configure: Regenerate.
3466 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
3468 * combine.c (try_combine): Remove redundant test.
3470 2000-11-25 Richard Henderson <rth@redhat.com>
3472 * c-common.h (DECL_C_HARD_REGISTER): New.
3473 * c-decl.c (finish_decl): Set it for asm register variables.
3474 * c-semantics.c (emit_local_var): Test it when instantiating one.
3476 2000-11-25 Richard Henderson <rth@redhat.com>
3478 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
3479 lineno for the start of the function.
3481 2000-11-25 Richard Henderson <rth@redhat.com>
3483 * dwarf2out.c (file_table, file_table_allocated): Remove.
3484 (file_table_allocated): Remove.
3485 (struct file_table): New.
3486 (decl_file_table, line_file_table): New.
3487 (print_dwarf_line_table): Use them.
3488 (size_of_line_prolog): Likewise.
3489 (output_line_info): Likewise.
3490 (add_src_coords_attributes): Likewise.
3491 (gen_subprogram_die): Likewise.
3492 (gen_variable_die): Likewise.
3493 (dwarf2out_add_library_unit_info): Likewise.
3494 (dwarf2out_line): Likewise.
3495 (lookup_filename): Take a struct file_table argument.
3496 (init_file_table): New.
3497 (dwarf2out_init): Use it.
3499 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3501 * invoke.texi: Update sequence points references.
3503 2000-11-25 Neil Booth <neilb@earthling.net>
3505 * c-common.c: Remove USE_CPPLIB conditional inclusions.
3506 * c-common.h: Similarly.
3507 * c-decl.c: Similarly.
3508 * c-lang.c: Similarly.
3509 * c-lex.c: Similarly.
3510 * c-parse.in: Similarly.
3511 * c-pragma.c: Similarly.
3512 * c-pragma.h: Similarly.
3514 * toplev.c: Similarly.
3515 * cp/cp-tree.h: Similarly.
3516 * cp/decl2.c: Similarly.
3517 * cp/lang-specs.h: Similarly.
3518 * cp/lex.c: Similarly.
3519 * cp/lex.h: Similarly.
3520 * cp/spew.c: Similarly.
3521 * java/lang-options.h: Similarly.
3522 * objc/lang-specs.h: Similarly.
3523 * objc/objc-act.c: Similarly.
3525 * configure.in: Remove configure option.
3526 * config.in: Regenerate.
3527 * configure: Regenerate.
3529 2000-11-25 Richard Henderson <rth@redhat.com>
3531 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
3532 Revert 2000-11-22 change.
3534 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
3536 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
3539 2000-11-25 Philipp Thomas <pthomas@suse.de>
3540 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
3541 * configure: Rebuilt.
3543 2000-11-25 Jakub Jelinek <jakub@redhat.com>
3545 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
3546 Handle CONST_INT as second argument.
3547 * config/sparc/sparc.c (set_extends): Remove first argument.
3548 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
3550 (sparc_check_64): Abort if first argument is not REG.
3551 If it is DImode REG, look at the lower register of the register
3554 * config/sparc/sparc.c (load_pic_register, restore_regs,
3555 output_return, sparc_v8plus_shift, sparc_function_profiler,
3556 sparc_function_block_profiler, sparc_block_profiler): Fix output
3559 2000-11-25 Alexandre Oliva <aoliva@redhat.com>
3561 * config/sh/sh.h (TARGET_NONE): New.
3562 (TARGET_SWITCHES): For all variant-selecting switch, use
3563 TARGET_NONE to reset all other variant-selecting switch. Added
3564 empty strings to avoid warnings.
3565 (TARGET_DEFAULT): Set to SH1_BIT.
3567 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
3570 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
3571 (sibcall_pcrel): New insn_and_split.
3572 (sibcall, sibcall_value, sibcall_epilogue): New expands.
3574 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
3575 symPLT_label2reg, call, call_value): Don't set
3576 current_function_uses_pic_offset_table.
3577 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
3578 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
3579 takes it into account.
3580 (FINALIZE_PIC): Delete, useless.
3581 (LEGITIMATE_CONSTANT_P): Delete, unused.
3582 * config/sh/sh.c (sh_expand_prologue): Don't use
3583 current_function_uses_pic_offset_table. Don't special-case
3584 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
3586 (sh_expand_epilogue, initial_elimination_offset): Don't
3587 special case PIC_OFFSET_TABLE_REGNUM.
3589 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
3591 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
3592 * config/sh/sh.md (UNSPEC_CALLER): New constant.
3593 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
3594 (call_pcrel, call_value_pcrel): New insn_and_splits.
3595 (call, call_value): Use them.
3596 (call_site): New expand.
3597 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
3598 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
3599 Output call_site label.
3600 (PREDICATE_CODES): Added symbol_ref_operand.
3601 * config/sh/sh.c (symbol_ref_operand): Define.
3602 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
3603 to CALL_INSNs in the split sequence.
3605 2000-11-24 Nick Clifton <nickc@redhat.com>
3607 * config.gcc (v850-*-*): Define c_target_objs and
3610 * config/v850/t-v850: Define how to build v850-c.o
3612 * config/v850/v850.h (struct data_area_stack_element): Move
3613 definition here from v850.c.
3615 * config/v850v850.c: Include gcc.h to avoid compile time
3617 (push_data_area): Move to v850-c.c.
3618 (pop_data_area): Move to v850-c.c.
3619 (mark_current_function_as_interrupt): Move to v850-c.c.
3620 (GHS_default_section_names): Allow to be exported.
3621 (GHS_current_section_names): Allow to be exported.
3622 (data_area_stack_elements): Allow to be exported.
3623 (ghs_pragma_section): Move to v850-c.c.
3624 (ghs_pragma_interrupt): Move to v850-c.c.
3625 (ghs_pragma_starttda): Move to v850-c.c.
3626 (ghs_pragma_startsda): Move to v850-c.c.
3627 (ghs_pragma_startzda): Move to v850-c.c.
3628 (ghs_pragma_endtda): Move to v850-c.c.
3629 (ghs_pragma_endsda): Move to v850-c.c.
3630 (ghs_pragma_endzda): Move to v850-c.c.
3632 * config/v850/v850-c.c: New file: Contains v850 specific
3633 pragma parsing functions.
3635 2000-11-24 Nick Clifton <nickc@redhat.com>
3637 * config.gcc (extra_objs): Remove duplicate description.
3638 (c_target_objs): New variable. Contains target specific
3639 object files for the gcc C compiler only.
3640 (cxx_target_objs): New variable. Contains target specific
3641 object files for the gxx C++ compiler only.
3643 * configure.in (c_target_objs): Substitute in the makefile.
3644 (cxx_target_objs): Substitute in the makefile.
3645 * configure: Regenerate.
3647 * Makefile.in (C_TARGET_OBJS): Define and initialise from
3649 (CXX_TARGET_OBJS): Define and initialise from
3651 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
3653 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
3655 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
3656 about how the use of the 'c_lex' function requires the use of
3657 the target specific, language specific object files feature of
3658 the configuration mechanism.
3660 Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3662 * gcc.c (process_command): Use F_OK, not R_OK.
3664 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
3666 * flow.c (print_rtl_and_abort): Remove ANSIism.
3668 Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
3670 * config/sh/sh.h (GENERAL_REGISTER_P,
3671 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
3672 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
3674 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
3675 * config/sh/sh.c: Use new macros.
3676 * config/sh/sh.md: Likewise.
3678 Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
3680 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
3681 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
3684 Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
3686 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
3688 (machine_dependent_reorg): Wrong optimization based on
3689 NOTICE_UPDATE_CC removed.
3691 Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
3693 * jump.c (delete_computation): Re-instate deletion of feeding insn.
3694 (delete_insn): Look for REG_LABEL notes.
3695 (redirect_tablejump): Delete feeding insns.
3697 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
3699 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
3700 call_value_pop_1): Make sure operand numbers are contiguous.
3702 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
3704 * reload1.c (conflicts_with_override): New function.
3705 (emit_input_reload_insns): Use it to tighten test for validity
3706 of substituting into output of previous insn.
3708 * haifa-sched.c (struct ready_list): New.
3709 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
3711 (schedule_insn): Replace args READY and N_READY with a pointer to a
3712 ready_list; return void. Use the new functions to access the ready
3713 list. All callers changed.
3714 (queue_to_ready, debug_ready_list): Likewise.
3715 (schedule_block): Initialize a ready_list structure. Use new
3716 functions to access it.
3717 (max_priority): Remove unused variable.
3718 (schedule_insn): Don't set it.
3720 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
3722 * combine.c (cant_combine_insn_p): New function.
3723 (try_combine): Use it.
3725 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
3726 * c-common.c (c-obstack.c): Include "obstack.h".
3727 (struct reverse_tree): Delete.
3728 (reverse_list, reverse_max_depth): Delete.
3729 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
3730 (struct tlist, struct tlist_cache): New.
3731 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
3732 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
3733 warn_for_collisions, warn_for_collisions_1, new_tlist): New
3735 (verify_sequence_points): Rewritten.
3736 * fold-const.c (fold): Don't lose possibly important sequence
3737 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
3739 2000-11-24 Richard Sandiford <rsandifo@redhat.com>
3741 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
3742 when reversing a register-to-register copy. Reversal now disabled
3743 when the previous instruction has a REG_EQUIV.
3745 2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
3747 * c-parse.in (unary_expr): Move VA_ARG from here ...
3748 (primary): ... to here.
3750 2000-11-23 Graham Stott <grahams@redhat.com>
3752 * expr.c (store_constructor): If a field is non addressable and
3753 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
3755 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
3757 * flow.c (print_rtl_and_abort): New function.
3758 (verify_wide_reg, verify_local_live_at_start): Try to dump more
3759 information before aborting.
3761 2000-11-23 Alexandre Oliva <aoliva@redhat.com>
3763 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
3764 is narrower than requested mode.
3765 (gen_highpart): Abort if register mode is narrower than
3768 2000-11-23 Graham Stott <grahams@redhat.com>
3770 * cse.c (cse_insn): Initialise all regcost variables.
3771 Fix a typo add missing '='.
3772 Only compare costs if there is a replacement insn.
3774 Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
3776 * final.c (output_addr_const) [LABEL_REF]: Simplify.
3777 [MINUS]: Enclose non-CONST_INTs in parentheses.
3778 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
3779 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
3780 * varasm.c (decode_rtx_const) [CONST]: If it's not something
3781 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
3782 instead of abort()ing.
3783 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
3784 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
3785 formerly handled in output_pic_addr_const.
3786 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
3787 operands of MINUS in CONSTs so that decode_rtx_const() will
3790 Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
3792 * config/sh/sh.md (mova_const): New pattern.
3793 (GOTaddr2picreg): Use it.
3794 * config/sh/sh.c (broken_move): Match it.
3795 (mova_p): Don't match it.
3796 (machine_dependent_reorg): Adjust it.
3798 Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
3800 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
3801 Moved most register-number #defines...
3802 * config/sh/sh.md (define_constants): ... here. Use macros to
3803 refer to registers and unspecs.
3804 * config/sh/sh.c: Likewise.
3806 Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
3808 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
3809 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
3810 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3811 (splay-tree.o, hash.o): Likewise.
3813 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
3814 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3815 (hashtab.o): Likewise.
3816 (gcov.o): Depend on $(CONFIG_H).
3817 * configure.in: #include insn-codes.h in tm.h.
3819 2000-11-22 Nick Clifton <nickc@redhat.com>
3821 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
3822 const char * to avoid a compile time warning.
3824 * config/arm/arm.md (define_constants): Define symbolic names for
3825 the link register, last integer register and the fake CC register.
3826 Update patterns to use these symbolic names.
3828 2000-11-22 Neil Booth <neilb@earthling.net>
3830 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
3831 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
3833 2000-11-22 Richard Henderson <rth@redhat.com>
3835 * haifa-sched.c (sched_analyze_1): Don't special-case calls
3836 for clobbering registers.
3837 (sched_analyze_2): Likewise.
3838 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
3840 2000-11-22 Chris Demetriou <cgd@sibyte.com>
3841 Neil Booth <neilb@earthling.net>
3843 * gcc.c (validate_switches): Validate multiple switches named
3844 in '|' (or) expressions in specs.
3845 (handle_braces): If more than 1 alternative in a '|' spec
3846 matches, call do_spec1 just once.
3848 2000-11-22 Michael Meissner <meissner@redhat.com>
3850 * d30v.h (TARGET_SWITCHES): Add documentation strings.
3851 (TARGET_OPTIONS): Ditto.
3852 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
3855 Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
3857 * pa.c (hppa_encode_label): Account for addition of encoding
3858 character when allocating persistent space for the new label
3861 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3863 * Makefile.in, config.gcc, configure.in: Expunge remaining
3864 traces of facility for running MD files through C preprocessor.
3866 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
3868 * gcov.texi: Add magic comments for texi2pod.pl.
3869 * Makefile.in: Add rules to generate and install gcov.1.
3870 * gcov.1: New (generated) file.
3872 2000-11-21 Richard Henderson <rth@redhat.com>
3874 * regrename.c (scan_rtx_reg): Terminate the chain rather than
3875 abort on mark_read with NO_REGS.
3877 2000-11-21 Mike Stump <mrs@wrs.com>
3879 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
3880 compilation with older compilers, such as /bin/cc on SunOS.
3881 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
3883 2000-11-21 Richard Henderson <rth@redhat.com>
3885 * varasm.c (record_constant): Pad the constructed
3886 constant_descriptor appropriately.
3888 Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
3890 * rtl.h (traverse_md_constants): Declare.
3891 (struct md_constant): Define.
3892 * Makefile.in (HOST_RTL): Add hashtab.o .
3893 (OBJS): Add hashtab.o .
3894 (hashtab.o): New rule.
3895 (rtl.o): Depends on HASHTAB_H.
3896 * rtl.c (hashtab.h): #include.
3897 (md_constants): New static variable.
3898 (def_hash, def_name_eq_p, read_constants): New static functions.
3899 (traverse_md_constants): New function.
3900 (read_name): Do constant expansion.
3901 (read_rtx): Recognize define_constants.
3902 * gencodes.c (print_md_constant): New function.
3903 (main): Emit #defines for all constant definitions encountered.
3904 * md.texi (Constant Definitions): New node.
3905 * gensupport.c (xcalloc): New function.
3907 2000-11-21 Richard Henderson <rth@redhat.com>
3909 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
3910 * config/alpha/alpha-protos.h: Declare it.
3911 * config/alpha/alpha.md (abstf_internal): Use it.
3912 (negtf_internal): Likewise.
3913 (andnotdi3): Unstar the name.
3914 (movtf_internal): Add o/G alternative.
3916 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
3918 * stringpool.c (stringpool_statistics): Also report number and
3919 percentage of entries which are identifiers.
3921 2000-11-21 Diego Novillo <dnovillo@redhat.com>
3923 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
3924 visited before visiting it.
3926 2000-11-21 Nick Clifton <nickc@redhat.com>
3928 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
3929 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
3931 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
3933 2000-11-21 Richard Henderson <rth@redhat.com>
3935 * c-common.c (c_unsafe_for_reeval): New function.
3936 (add_c_tree_codes): Register it.
3937 * c-common.h: Declare it.
3938 * tree.c (lang_unsafe_for_reeval): New hook.
3939 (unsafe_for_reeval): Call it.
3940 * tree.h: Declare it.
3942 2000-11-21 Richard Henderson <rth@redhat.com>
3944 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
3947 2000-11-21 Neil Booth <neilb@earthling.net>
3949 * do_includes: Revert to using cpp_read_file.
3951 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
3953 * loop.c (consec_sets_giv): If the reg we're examining is anything
3954 but UNKNOWN_INDUCT, do nothing.
3955 Reset the reg's type to UNKNOWN_INDUCT before returning.
3957 Mostly from Vladimir Makarov (vmakarov@redhat.com)
3958 * ia64.md (attr itanium_class): Define insn types as described in
3960 (all insn patterns): Use itanium_class, not type attributes.
3961 Occasionally split alternatives as necessary.
3962 (attr type): Compute from new attr itanium_class.
3964 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3966 * tradcpp.c (output_line_command): Mark system headers as such in
3969 2000-11-21 Jakub Jelinek <jakub@redhat.com>
3971 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
3972 support in as as well.
3973 * configure: Regenerate.
3975 2000-11-20 Richard Henderson <rth@redhat.com>
3977 * c-lex.c (orig_filename): New variable.
3978 (init_c_lex): Set it. Move call to cpp_start_read ...
3979 (yyparse): ... here. New function.
3980 * c-parse.in (yyparse_1): Rename the parser entry point.
3981 * c-tree.h: Declare it.
3983 2000-11-21 Jakub Jelinek <jakub@redhat.com>
3985 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
3986 integer constant, use type of op1 for comparison.
3988 2000-11-20 Stan Shebs <shebs@apple.com>
3990 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
3991 * config/rs6000/x-darwin: New file, Darwin host fragment.
3992 * config.gcc (powerpc-*-darwin*): New host.
3993 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
3994 overridden by a config file.
3996 2000-11-20 Neil Booth <neilb@earthling.net>
3998 * cppmacro.c (paste_tokens): Rename from paste_payloads.
3999 Change token type after pasting spellings.
4000 (paste_all_tokens): Use it.
4001 * gcc.dg/cpp/paste2.c: Update test.
4002 * objc/execute/paste.m: New test.
4004 2000-11-20 Richard Henderson <rth@redhat.com>
4006 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
4007 dwarf_subscr_data_formats bits.
4008 * dwarfout.c (simple_type_size_in_bits): Handle a type with
4009 no computed size as size zero.
4010 (field_byte_offset): Likewise.
4011 (subscript_data_attribute): Handle a range with no upper bound.
4013 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4015 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
4017 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
4019 * c-typeck.c (build_conditional_expr): When merging type
4020 qualifiers for conditional expressions between a pointer and a
4021 pointer to a void type, merge the qualifiers on the target types
4022 rather than the pointer type. Remove obsolete conditioned out
4025 2000-11-20 Neil Booth <neilb@earthling.net>
4027 * c-lang.c (lang_init_options): Update call to
4029 * cppmain.c (main): Similarly.
4030 * fix-header.c (read_scan_file): Similarly.
4031 * cp/lex.c (lang_init_options): Similarly.
4032 * objc/objc-act.c (lang_init_options): Similarly.
4033 * cppexp.c (parse_number): Only warn for unextended C89.
4034 * cppinit.c (set_lang): New function.
4035 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
4036 (COMMAND_LINE_OPTIONS): New option std=c++98.
4037 (cpp_handle_option): Use set_lang.
4038 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
4039 * cppib.h (enum_c_lang): New enumeration. Update comments.
4041 2000-11-20 Will Cohen <wcohen@redhat.com>
4043 * calls.c (expand_call): Clear target only when target is in
4044 hard register and current_function_check_memory_usage is set.
4046 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
4048 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
4050 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
4052 2000-11-19 Richard Henderson <rth@redhat.com>
4054 * crtstuff.c (force_to_data): Use array size 1 not 0.
4056 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
4057 no computed size as size zero.
4058 (field_byte_offset): Likewise.
4060 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
4062 * config.gcc: Fix another typo.
4064 2000-11-19 Richard Henderson <rth@redhat.com>
4066 * c-decl.c (grokdeclarator): Support flexible array members.
4067 Use open-ended ranges for these and zero-length arrays.
4068 * c-typeck.c (push_init_level): Validate the context of
4069 initialization of a zero-length array.
4070 * tree.c (int_fits_type_p): Be prepared for missing bounds.
4071 * varasm.c (array_size_for_constructor): New.
4072 (output_constructor): Use it for arrays of unspecified length.
4073 * extend.texi (Zero Length): Mention C99 flexible array members.
4074 Document initialization in a top-level struct as valid.
4076 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4078 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
4080 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
4081 stdarg and varargs functions.
4083 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
4085 * gcc.c (process_command): Define 'j' variable when
4086 MODIFY_TARGET_NAME is defined.
4088 2000-11-19 Richard Henderson <rth@redhat.com>
4090 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
4092 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4094 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
4095 calculation and allocation.
4097 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4099 * builtins.c (c_getstr): Constify variable.
4100 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
4101 * conflict.c (const_conflict_graph_arc): New typedef.
4102 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
4103 * cppmacro.c (builtin_macro): Likewise.
4104 * dwarf2out.c (output_comp_unit): Constify variable.
4105 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
4106 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
4107 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
4109 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
4110 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
4111 * varasm.c (const_str_htab_hash, const_str_htab_eq,
4112 compare_constant_1, record_constant_1): Constify.
4114 2000-11-18 Richard Henderson <rth@redhat.com>
4116 * c-decl.c (grokdeclarator): Special case the creation of an
4117 index for a zero-length array.
4118 * tree.c (build_index_type): Revert Oct 20 change.
4120 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
4122 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
4123 * config/avr/avr.c (jump_tables_size): New variable.
4124 (function_prologue): Initialize it as 0.
4125 (function_epilogue): Add it to function_size.
4126 (avr_output_addr_vec_elt): New function. Count words in jump
4127 tables in jump_tables_size. Move code ...
4128 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
4129 Call avr_output_addr_vec_elt instead.
4130 * config/avr/avr.md (tablejump): Remove disabled define_expand.
4132 2000-11-18 Mark Mitchell <mark@codesourcery.com>
4134 * configure.in: Make --enable-new-gxx-abi the default.
4135 * configure: Likewise.
4137 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4139 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
4141 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
4142 Move extern function declarations to tradcpp.h.
4144 * tradcpp.c: Likewise.
4146 * tradcpp.h: New file.
4148 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4150 * c-decl.c (check_for_loop_decls): New function.
4151 * c-parse.in (for_init_stmt): New.
4152 (select_or_iter_stmt): Use for_init_stmt.
4153 * c-tree.h (check_for_loop_decls): New declaration.
4155 2000-11-18 Neil Booth <neilb@earthling.net>
4157 * cppinit.c: Update comments.
4158 (cpp_reader_init): Make -imacro and -include use the standard
4159 #include "" search path.
4160 (do_includes): New function.
4162 2000-11-18 Ben Elliston <bje@redhat.com>
4164 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
4165 out of a branch delay slot.
4167 2000-11-17 Richard Henderson <rth@redhat.com>
4169 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
4170 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
4171 (ASM_FILE_START): Only write out ecoff .file directive if
4172 emitting mdebug debugging.
4174 2000-11-17 Richard Henderson <rth@redhat.com>
4176 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
4177 whether as accepts .file/.loc and produces dwarf2 line info.
4178 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
4179 the assembler supports it.
4180 * config.in, configure: Regenerate.
4182 2000-11-17 Richard Henderson <rth@redhat.com>
4184 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
4186 2000-11-17 Jim Wilson <wilson@redhat.com>
4188 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
4189 Don't clear need_barrier is next_insn is a CALL_INSN, or has
4190 instruction type B or UNKNOWN.
4192 2000-11-17 Neil Booth <neilb@earthling.net>
4194 * cpperror.c (print_file_and_line): Don't display line number if 0.
4196 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
4198 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
4199 digit_vector and digit_string.
4200 * stringpool.c (digit_vector): New.
4201 (ggc_alloc_string): Use digit_string.
4203 * stmt.c (digit_strings): Delete.
4204 (init_stmt): Do not initialize digit_strings.
4205 (expand_asm_operands): Use ggc.h's digit_string macro.
4206 * toplev.c (mark_file_stack): Delete.
4207 (compile_file): Don't call init_tree_codes.
4208 (main): No need to make the file stack a GC root.
4209 * tree.c (init_tree_codes): Delete.
4210 * tree.h (init_tree_codes): Delete.
4212 * c-lex.c: Don't include ggc.h.
4213 (mark_splay_tree_node, mark_splay_tree): Delete.
4214 (init_c_lex): No need to ggc_strdup string constant. Don't add
4215 file_info_tree to GGC roots.
4216 (cb_enter_file, cb_rename_file): No need to ggc_strdup
4219 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
4221 * dbxout.c (dbxout_init),
4222 dwarf2out.c (dwarf2out_line),
4223 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
4224 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
4225 xcoffout.c (xcoffout_source_file),
4226 i386.c (load_pic_register):
4227 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
4229 * except.c (create_rethrow_ref),
4230 profile.c (init_edge_profiler),
4231 toplev.c (compile_file),
4232 varasm.c (named_section, assemble_static_space,
4233 assemble_trampoline_template, output_constant_def, force_const_mem),
4234 i386.c (load_pic_register),
4235 ia64.c (ia64_encode_section_info),
4236 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
4237 rs6000_emit_prologue, rs6000_emit_epilogue),
4238 rs6000.md (load_toc_aix_si, load_toc_aix_di):
4239 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
4241 * profile.c (output_func_start_profiler),
4243 i386.c (load_pic_register): No need to ggc_strdup string constant.
4245 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
4247 * Makefile.in (config.status): Depend on config.gcc.
4248 * configure.in <for machine in $build $host $target>: Move
4249 contents of loop into config.gcc, removing autoconf quoting.
4250 Fix changequote bug for alpha*-*-vxworks*.
4251 * configure: Regenerate.
4254 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4256 * c-parse.in (if_prefix): Find the filename and line number at
4257 $-2 and $-1 respectively.
4258 * diagnostic.c (error_recursion): Add missing newline, use
4259 fputs, translate string.
4261 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4263 * stringpool.c: New file.
4264 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
4265 (ggc_alloc_string): Now in stringpool.o.
4266 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
4267 * ggc.h: Delete prototype of ggc_add_string_root. #define
4268 ggc_add_string_root and ggc_mark_string to nothing. Prototype
4269 init_stringpool and stringpool_statistics.
4270 (ggc_alloc_string): Returns a const char *.
4271 * tree.c (hash_table, do_identifier_warnings): Delete.
4272 (init_obstacks): Don't initialize the identifier hash table.
4273 (get_identifier, maybe_get_identifier, start_identifier_warnings,
4274 set_identifier_size): Now in stringpool.c.
4275 * tree.h (struct tree_string): Constify pointer field.
4276 (approx_sqrt): Prototype.
4278 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
4280 * toplev.c (approx_sqrt): New function.
4281 (compile_file): Call stringpool_statistics if mem_report is on.
4282 (main): Call init_stringpool.
4284 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
4285 (process_directive), c-typeck.c (constructor_asmspec, struct
4286 initializer_stack, start_init), except.c (create_rethrow_ref),
4287 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
4288 (built_in_filename), varasm,c (in_named_name,
4289 assemble_static_space, struct constant_descriptor, struct
4290 deferred_string, struct pool_constant, force_const_mem),
4291 i386.c (pic_label_name, global_offset_table_name), rs6000.c
4292 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
4294 * c-common.c (combine_strings): Combine strings in scratch
4295 buffer, then pass to build_string.
4296 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
4297 output_func_start_profiler), stmt.c (init_stmt), alpha.c
4298 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
4299 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
4300 rs6000.c (rs6000_encode_section_info): Create string in
4301 scratch buffer, then pass to ggc_alloc_string.
4303 * stmt.c (expand_asm_operands): If we must adjust the
4304 constraint strings, do so by creating a new one, not by
4305 modifying the old one in place. Constify some char *s.
4306 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
4307 argument. Create string in scratch buffer, then pass to
4309 * config/pa/pa-protos.h: Update prototype.
4310 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
4311 hppa_encode_label takes only one argument.
4313 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4315 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
4318 * cpplib.c (glue_header_name): Likewise.
4320 * fixincl.c (run_compiles, start_fixer): Likewise.
4322 * fixlib.c (load_file_data): Likewise.
4324 * mkdeps.c (munge): Likewise.
4326 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
4328 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
4329 trailing ';'. Fix formatting.
4331 2000-11-16 Jim Wilson <wilson@redhat.com>
4333 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
4334 Shift masks left by one to avoid conflict.
4336 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
4339 2000-11-16 Nick Clifton <nickc@redhat.com>
4341 * config/arm/arm.c (output_arm_prologue): Note nested functions.
4342 (arm_expand_prologue): For nested functions preserve the
4343 static chain register during stack frame creation.
4345 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
4346 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
4347 with a stack frame there is a 4 byte gap between the arg
4348 pointer and the hard frame pointer (used to preserve the
4349 static chain register during stack frame creation).
4351 2000-11-16 DJ Delorie <dj@redhat.com>
4353 * rtl.c (read_rtx): Provide suitable names for unnamed
4354 define_insn and define_insn_and_split patterns, based on file
4357 2000-11-15 Neil Booth <neilb@earthling.net>
4359 * cpplib.c (start_directive, end_directive): New functions.
4360 (_cpp_handle_directive, run_directive): Use them.
4361 (_cpp_handle_directive): Don't -Wtraditional on indented
4363 (_cpp_push_buffer): Don't re-clear was_skipping.
4364 * cpplib.h (struct cpp_reader): New member la_saved.
4365 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
4368 gcc.dg/cpp/_Pragma1.c: Update.
4369 gcc.dg/cpp/_Pragma2.c: New test.
4371 2000-11-15 Mark Mitchell <mark@codesourcery.com>
4373 * toplev.c (wrapup_global_declarations): Don't write out
4374 artificial static variables that aren't needed.
4376 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
4378 * ia64.c (struct group): New structure.
4379 (last_group): New static array.
4380 (group_idx): New static variable.
4381 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
4382 New static functions.
4383 (emit_insn_group_barriers): Initialize and keep track of group_idx
4385 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
4386 Replace all calls to emit_insn_after that emit a group barrier to use
4387 emit_group_barrier_after.
4388 * ia64.h (MASK_B_STEP): New.
4389 (other MASK_XXX macros): Renumbered.
4390 (TARGET_B_STEP): New.
4391 (TARGET_SWITCHES): Add -mb-step.
4393 2000-11-15 Fred Fish <fnf@be.com>
4395 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
4396 machines for which fixincludes is not needed.
4397 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
4399 2000-11-15 Jason Merrill <jason@redhat.com>
4401 * diagnostic.c (finish_abort): New fn.
4402 (fancy_abort, error_recursion): Use it.
4403 * toplev.c (crash_signal): Likewise.
4404 * diagnostic.h: Declare it.
4406 2000-11-13 Andrew Haley <aph@redhat.com>
4408 * tree.c (build_type_no_quals): New function.
4409 * tree.h (build_type_no_quals): Declare.
4410 * c-common.c (c_get_alias_set): When considering type
4411 compatibility for pointer types, ignore cv-qualifiers anywhere in
4414 2000-11-15 Graham Stott <grahams@redhat.com>
4416 * regrename.c (scan_rtx_rtx): Skip to the next chain on
4417 encountering a terminated chain.
4419 2000-11-14 Mark Mitchell <mark@codesourcery.com>
4421 * configure.in: Move check for V3 above check for C++ header-file
4423 * configure: Regenerated.
4425 2000-11-14 DJ Delorie <dj@redhat.com>
4427 * config/v850/v850.c: Remove obstacks.
4429 Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
4431 * config/avr/avr.c (avr_case_values_threshold): New.
4432 (avr_override_options): Set it depending on options, make it large
4433 when not optimizing to work around "unable to generate reloads".
4435 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
4436 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
4437 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
4438 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
4439 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
4440 (avr_case_values_threshold): Declare as extern int.
4441 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
4443 * config/avr/avr.md (tablejump): Removed.
4444 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
4445 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
4446 index in the table, not multiplied by 2.
4447 (casesi): Change to match the above insns. Always enable.
4449 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
4450 Change to expect the word address of the table, multiply it by 2
4451 here and not in the caller. Change "adiw" to faster "inc".
4453 2000-11-14 Neil Booth <neilb@earthling.net>
4455 * cppexp.c (parse_defined): Call cpp_get_token not
4458 * cpplex.c (cpp_output_line): Similarly.
4459 * cpplib.c (glue_header_name, do_line, do_ident,
4460 parse_answer, parse_assertion): Similarly.
4461 (_cpp_handle_diretive): Don't save to lookaheads
4462 when processing directives.
4463 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
4465 (funlike_invocation_p): Don't save to lookaheads
4466 when pre-expanding arguments.
4467 (_cpp_get_token): Delete.
4468 (cpp_get_token): Merge contents of _cpp_get_token.
4470 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4472 * builtins.c (expand_builtin_setjmp): Set
4473 current_function_calls_setjmp.
4474 (expand_builtin_longjmp): Set current_function_calls_longjmp.
4476 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
4477 (do_builtin_setjmp_setup): New insn.
4479 Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4481 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
4482 (int_fits_type_p): For variable bounds, call force_fit_type.
4484 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4486 * varasm.c (struct deferred_string): New structure.
4487 (const_str_htab): New variable.
4488 (STRHASH): New macro.
4489 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
4490 constr_str_htab_eq, const_str_htab_del): New functions.
4491 (output_constant_def): Add DEFER argument, defer string
4492 constants until mark_constant_pool time if requested.
4493 (mark_constant_pool): Walk the insn chain even if const_str_htab is
4495 (mark_constants): If a SYMBOL_REF for deferred string is found,
4496 output it and remove from hash table.
4497 (output_addressed_constants): Set DEFER to 0 in call to
4498 output_constant_def.
4499 * rtl.h (STRING_POOL_ADDRESS_P): Define.
4500 (output_constant_def): Adjust prototype.
4501 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
4503 2000-11-14 Chandrakala Chavva <cchavva@redhat.com>
4505 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
4506 signed types if flag_trapv.
4508 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
4510 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
4513 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
4515 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
4517 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4519 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
4520 to array of pool_constnat pointers.
4521 (struct pool_constant): Add next_sym and label members.
4522 (struct pool_sym): Remove.
4523 (init_varasm_status): Change pool_sym into pool_constant.
4524 (mark_pool_constant): Mark pc->label string as well.
4525 (mark_pool_sym_hash_table): Remove.
4526 (mark_varasm_status): Remove it from caller as well.
4527 (free_varasm_status): Don't free pool_sym structures.
4528 (force_const_mem): Don't allocate pool_sym structure, instead
4529 fill pool->label and chain it into rtx_sym hash table.
4530 (find_pool_constant, mark_constant_pool): Use pool_constant instead
4533 2000-11-14 Jakub Jelinek <jakub@redhat.com>
4535 * reload1.c (emit_input_reload_insns): Honour forcing of constants
4536 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
4538 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
4540 * dominance.c: New file.
4541 * Makefile.in (OBJS): Add dominance.o.
4543 * flow.c (compute_flow_dominators): Remove.
4544 (compute_immediate_dominators): Remove.
4545 (compute_immediate_postdominators): Remove.
4546 * basic-block.h: Remove their prototypes.
4547 (calculate_dominance_info): Add prototype.
4549 * dce.c (eliminate_dead_code): Change calls to above functions.
4550 Don't compute dominators but only immediate dominators.
4551 * flow.c (flow_loops_find): Change callers.
4552 * gcse.c (compute_code_hoist_data): Likewise.
4553 * haifa-sched.c (schedule_insns): Likewise.
4554 * ifcvt.c (if_convert): Likewise.
4555 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
4558 2000-11-14 Richard Henderson <rth@redhat.com>
4560 * stmt.c (warn_if_unused_value): Don't warn if the expression
4563 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
4564 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
4566 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4568 * loop.c (basic_induction_var): Revert accidental checkin.
4570 2000-11-13 Hans-Peter Nilsson <hp@axis.com>
4572 * c-lex.c (cb_leave_file): Harmonize conditions and order of
4573 statements to those of process_directive for (action == act_pop).
4575 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
4577 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
4580 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4582 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
4585 2000-11-13 Neil Booth <neilb@earthling.net>
4587 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
4588 cases return without MI check.
4589 * cpplib.c (do_diagnostic): Take boolean of whether to
4590 print the directive name.
4591 (do_error, do_warning): Update.
4592 (do_pragma_dependency): Use it.
4593 * cpplib.h (VARARGS_FIRST): Delete.
4594 (struct cpp_token): Delete integer.
4595 * cppmacro.c (enter_macro_context): Move disabled check
4597 (_cpp_get_token): Simplify into a single loop.
4599 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4601 * configure.in: Use 'test -f' not '[ -e'.
4602 * configure: Regenerated.
4604 2000-11-13 DJ Delorie <dj@redhat.com>
4606 * config/mn10300/mn10300.md (store_movm): Note which registers are
4607 really used or clobbered.
4609 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4611 * c-parse.in (ends_in_label): Remove from %union and %type.
4612 (decls, stmts, lineno_stmt_or_labels, xstmts,
4613 lineno_stmt_or_label, stmt_or_label): Remove.
4614 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
4615 lineno_stmt_decl_or_labels_ending_decl,
4616 lineno_stmt_decl_or_labels_ending_label,
4617 lineno_stmt_decl_or_labels_ending_error,
4618 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
4619 lineno_stmt, lineno_label): New.
4620 (compstmt_nostart): Use compstmt_contents_nonempty.
4622 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4624 * c-common.c (boolean_increment): New function.
4625 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
4626 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
4627 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
4628 (boolean_increment): Declare.
4629 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
4630 * c-decl.c (init_decl_processing): Create boolean nodes.
4631 (finish_struct): Allow for _Bool bitfields.
4632 * c-parse.in (reswords): Add _Bool.
4633 (rid_to_yy): Allow for RID_BOOL.
4634 * c-typeck.c (default_conversion): Make booleans promote to int.
4635 (convert_arguments, build_unary_op, build_modify_expr,
4636 convert_for_assignment): Allow for booleans.
4637 * ginclude/stdbool.h: Make conforming to C99.
4639 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4641 * c-parse.in (c99_block_start, c99_block_end,
4642 c99_block_lineno_labeled_stmt): New.
4643 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
4644 (stmt): Split off selection and iteration statements into...
4645 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
4647 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4649 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
4652 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4654 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
4655 Rewrite to avoid use of match_dup. Don't try to tie registers that
4656 are not in the same mode.
4658 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4660 * invoke.texi: Update lists of languages and suffixes supported.
4662 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4664 * configure.in: Take toplevel configure arguments from the
4665 environment to create configargs.h and substitute
4666 gcc_config_arguments, taking account of any existing configargs.h
4668 * configure: Regenerate.
4669 * gccbug.in: Include toplevel configure arguments in gccbug.
4671 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
4673 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
4674 union to make it well-aligned. Update all uses.
4676 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4678 * c-parse.in (initelt): Give appropriate pedantic warnings,
4679 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
4681 (designator): If pedantic, pedwarn for a designator specifying a
4683 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
4685 * extend.texi: Document the C99 syntax as the preferred syntax,
4686 and the pre-2.5 syntax as obsolete. Mention use of designator
4687 lists for nested subobjects.
4689 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4691 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
4692 Add ATTRIBUTE_PRINTF.
4693 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
4694 Add ATTRIBUTE_PRINTF*.
4696 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4698 * function.c (assign_parms): When calling put_var_into_stack, make
4699 sure that there are no hidden pending sequences.
4701 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4703 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
4704 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
4707 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
4709 * c-common.c (c_common_nodes_and_builtins): Declare index and
4710 rindex when nonansi builtins are allowed.
4712 * extend.texi (index, rindex): Document new builtins.
4714 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4716 * configure.in: Turn on libstdc++ V3 by default.
4717 * configure: Regenerated.
4719 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
4721 2000-11-12 Jakub Jelinek <jakub@redhat.com>
4723 * reload1.c (set_label_offsets): Go inside of PARALLELs.
4725 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
4727 * invoke.texi: Clean up option summary.
4729 2000-11-12 Nick Clifton <nickc@redhat.com>
4731 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
4732 of #include headers.
4734 2000-11-12 Marc Espie <espie@openbsd.org>
4736 * configure.in: Fix filds test.
4739 2000-11-12 Mark Mitchell <mark@codesourcery.com>
4741 * jump.c (delete_computation): Don't assume that just becuase an
4742 instruction sets a register, that register is dead.
4744 2000-11-12 Neil Booth <neilb@earthling.net>
4746 * cppexp.c: Don't worry about pfile->skipping.
4747 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
4748 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
4749 for handled directives.
4750 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
4751 and releasing lookaheads.
4752 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
4753 (do_else, do_elif, push_conditional): Update logic.
4754 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
4755 (unwind_if_stack): Inline into cpp_pop_buffer.
4756 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
4757 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
4758 multiple-include optimisation.
4759 * cpplib.h (struct cpp_buffer): New member was_skipping.
4760 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
4761 works because skipping == 0 in directives.
4762 (_cpp_release_lookahead): Renamed from release_lookahead.
4763 (cpp_get_token): No need to check skipping as _cpp_get_token does
4764 this for us. No need to handle MI optimisation.
4766 Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
4768 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
4769 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
4770 * fixinc/fixincl.x: Regenerated.
4772 2000-11-11 Bruce Korb <bkorb@gnu.org>
4774 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
4775 (avoid_wchar_t_type): ditto
4776 * fixinc/fixinc.irix: obsoleted
4778 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
4780 * configure.in: Don't add $outputs to all_lang_makefiles. Add
4781 $srcdir/$s/Makefile.in if it exists.
4782 * configure: Regenerate.
4784 Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
4786 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
4788 2000-11-11 Jason Merrill <jason@redhat.com>
4790 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
4791 give the parm a register and then call put_var_into_stack.
4792 * stmt.c (expand_decl): Likewise.
4794 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4796 * gcc.texi: Adjust wording.
4798 2000-11-11 Mark Mitchell <mark@codesourcery.com>
4800 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
4801 * fininc/fixincl.x: Regenerated.
4803 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4805 * invoke.texi: Correct spelling of -foptimize-register-move.
4807 2000-11-11 Neil Booth <neilb@earthling.net>
4809 Remove CPP_PLACEMARKERs.
4811 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
4812 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
4813 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
4815 * cpplib.h: Remove CPP_PLACEMARKER.
4816 (struct lexer_state): Rename skip_newlines to next_bol.
4817 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
4818 Simplify prev_white handling as a result.
4819 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
4820 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
4821 (parse_args): Similarly. Update argument count tests.
4822 (enter_macro_context): Return 2 to indicate an empty macro.
4823 (replace_args): Don't bother pre-expanding an empty argument.
4824 Handle placemarkers and ## extension during pre-expansion.
4825 (cpp_get_token): Handle empty macro expansions. Don't worry
4826 about CPP_PLACEMARKERs.
4827 (_cpp_create_definition): Empty macros are now empty.
4828 (cpp_macro_defintion): Don't special case empty macros.
4829 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
4830 * c-lex.c: Similarly.
4832 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4834 * gcc.texi, invoke.texi: Add new section discussing language
4835 standards; link to it where appropriate; refer to ISO C instead of
4838 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
4840 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
4843 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
4846 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4848 * gcc.texi, gcov.texi: Update dates and version numbers.
4850 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
4852 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
4853 flex and bison, specifically, first in a unified build and
4854 then installed on the system.
4855 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
4856 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
4859 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
4860 cppdefault.o): Remove pointless sed munging of source file
4863 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
4865 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
4866 for address reloads. Push replacements for REG_INC notes.
4867 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
4869 * reload1.c (choose_reload_regs): Registers set in the insn can't be
4870 used for RELOAD_OTHER reloads.
4872 2000-11-10 Mark Mitchell <mark@codesourcery.com>
4874 * c-dump.h: New file.
4876 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4878 * alpha.c (check_float_value): Use memcpy, not bcopy.
4879 * arm.c (output_move_double): Likewise.
4881 * m88k.c (legitimize_operand): Likewise.
4882 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4883 * m88k.md: Likewise.
4884 * mips.c (override_options): Likewise.
4885 * mips.md: Likewise.
4886 * romp.c (output_fpops): Likewise.
4887 * rs6000.c (rs6000_override_options): Likewise.
4889 * vax.c (check_float_value): Likewise.
4891 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
4892 * expmed.c (synth_mult): Likewise.
4893 * final.c (add_bb_string): Likewise.
4894 * genattr.c (main): Likewise.
4895 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
4897 * jump.c (thread_jumps): Likewise.
4898 * prefix.c (save_string): Likewise.
4899 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
4900 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
4901 * reload1.c (reload, eliminate_regs): Likewise.
4903 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4905 * gcc.texi (Service): Update to reflect current practice and
4906 location of the GNU service directory.
4908 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
4910 * regrename.c (build_def_use): Mark contents of REG_INC notes as
4911 needing replacement.
4913 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
4914 a no-op move if regs are equal.
4915 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
4916 when calling jump after post-reload splitting.
4918 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
4920 * c-tree.texi: Fix typos.
4921 * extend.texi: Likewise
4922 * gcov.texi: Likewise
4923 * rtl.texi: Likewise
4926 2000-11-09 Hans-Peter Nilsson <hp@axis.com>
4928 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
4929 in_system_header and flags[1] before dereferencing flags[2].
4931 2000-11-09 Matthew Hiller <hiller@redhat.com>
4933 * reload1.c (reload_combine): Fixed calculation of
4934 first_index_reg, last_index_reg.
4936 2000-11-09 Mark Mitchell <mark@codesourcery.com>
4938 * c-dump.c (dequeue_and_dump): Dump function bodies.
4940 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
4941 (c-dump.o): New target.
4942 * c-common.h (flag_dump_translation_unit): New variable.
4943 (C_TYPE_QUALS): New macro.
4944 (strip_array_types): New function.
4945 (DECL_C_BIT_FIELD): New macro.
4946 (SET_DECL_C_BIT_FIELD): Likewise.
4947 (CLEAR_DECL_C_BIT_FIELD): Likewise.
4948 (dump_info_p): New typedef.
4949 (dump_tree_fn): Likewise.
4950 (lang_dump_tree): New variable.
4951 (dump_node_to_file): New function.
4952 * c-common.c (flag_dump_translation_unit): Define it.
4953 (strip_array_types): New function.
4954 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
4955 * c-lang.c (finish_file): Call dump_node_to_file if
4956 flag_dump_translation_unit.
4957 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
4958 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
4959 * c-dump.c: New file.
4961 2000-11-09 Christopher Faylor <cgf@cygnus.com>
4963 * config/i386/cygwin.h: Add mingw startfile prefix.
4965 2000-11-09 Richard Henderson <rth@redhat.com>
4967 * flow.c (invalidate_mems_from_set): Split out from ...
4968 (mark_set_1): ... here.
4969 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
4970 instead of turning insn into a NOTE_INSN_DELETED.
4972 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4974 * extend.texi, invoke.texi: Move documentation of builtin versions
4975 of C library functions to one place and update.
4977 2000-11-09 Richard Henderson <rth@redhat.com>
4979 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
4980 the types themselves to discover type equivalence.
4982 2000-11-09 Mike Stump <mrs@wrs.com>
4984 * Makefile.in (distclean): Remove a few extra leftovers.
4986 2000-11-09 Richard Henderson <rth@redhat.com>
4988 * recog.c (validate_replace_rtx_1): Consider subregs when
4989 replacing a register with a constant inside a sign/zero_extend.
4991 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4993 2000-11-09 Geoffrey Keating <geoffk@redhat.com>
4995 * c-decl.c (finish_struct): When a structure is completed,
4996 check all its variant types for completeness.
4998 2000-11-09 Neil Booth <neilb@earthling.net>
5000 * cpphash.c: Move cpp_defined here from cpplib.c.
5001 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
5002 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
5003 * cppmacro.c (cpp_get_token): Update comments, no need now
5004 to catch the CPP_EOF meaning EOL case.
5006 2000-11-08 Geoffrey Keating <geoffk@redhat.com>
5008 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
5009 is more than that provided, copy to a temporary.
5011 2000-11-09 Alexandre Oliva <aoliva@redhat.com>
5013 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
5014 interpreting $out as a macro assignment.
5015 * Makefile.in (T_TARGET): New auxiliary macro and target.
5016 (all): Add a target right in the beginning, so that we don't build
5017 T_TARGET by default.
5019 2000-11-09 Graham Stott <grahams@redhat.com>
5021 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
5022 order for -mintel-syntax. Remove comment now that the operand
5023 order has been checked.
5024 (mmx_pextrw): Likewise.
5025 (mmx_pshufw): Likewise.
5027 2000-11-09 Jakub Jelinek <jakub@redhat.com>
5029 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
5030 (c_getstr): New function.
5031 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
5032 If both arguments are constant string, optimize out.
5033 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
5034 (expand_builtin_strpbrk): Use c_getstr, do nothing if
5035 -fcheck-memory-usage.
5036 (expand_builtin_fputs): Likewise.
5037 (expand_builtin_strcmp): Add MODE argument.
5038 Use even if !HAVE_cmpstrsi.
5039 Optimize the case when both arguments are constant strings.
5040 (expand_builtin): Adjust expand_builtin_strcmp caller.
5041 Call expand_builtin_strchr and expand_builtin_strrchr.
5042 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
5044 * builtins.def (BUILT_IN_STRRCHR): Add.
5046 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5048 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
5050 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
5052 * calls.c (expand_call, emit_library_call_value_1), collect2.c
5053 (scan_prog_file), config/a29k/a29k.c (print_operand),
5054 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
5055 instead of bcopy ().
5056 * real.h: Use memcmp () instead of bcmp ().
5057 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
5058 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
5059 ultrasparc_sched_init, ultrasparc_sched_reorder),
5060 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
5061 instead of bzero ().
5062 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
5063 instead of rindex ().
5064 * configure.in: Don't check for bzero, bcmp, index or rindex.
5065 * configure, config.in: Regenerate.
5066 * system.h: Don't include declarations for bzero, bcmp, index or
5068 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
5069 bzero, bcmp, index or rindex.
5071 Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
5073 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
5074 include and library paths from -mcygwin case. Parameterize some
5075 declarations to avoid warnings. Use standard locations for include and
5078 2000-11-08 Nick Clifton <nickc@redhat.com>
5080 * config/arm/arm.md (mulsidi3adddi): Change output operand
5081 constraint from "=&" to "+&".
5082 (umulsidi3adddi): Change output operand constraint from "=&" to
5085 2000-11-08 Richard Henderson <rth@redhat.com>
5087 * flow.c (init_propagate_block_info): Protect the rtx stored in
5088 mem_set_list from modification by find_auto_inc.
5089 (mark_set_1): Likewise.
5091 2000-11-08 Neil Booth <neilb@earthling.net>
5093 Move directive handling into the lexer itself.
5095 * cpplex.c (_cpp_lex_token): Handle directives directly.
5096 In the case of a directive interrupting a function-like
5097 macro invocation, use extra_char since read_ahead is
5098 used to store the '#'. Return a CPP_EOF in this case.
5099 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
5100 (cpp_get_token): Don't handle directives here.
5101 * cpplib.h: Remove CPP_DHASH token type.
5103 Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
5105 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
5106 formed using PRE_MODIFY too.
5108 2000-11-08 Mark Mitchell <mark@codesourcery.com>
5110 * c-tree.texi (VAR_DECL): Describe representation of GCC's
5111 extension for placing variables in particular registers.
5113 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
5114 unprototyped C functions with no parameters.
5116 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5118 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
5119 before passing to fprintf.
5121 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5123 * function.c (expand_function_start): Cast GET_MODE_SIZE to
5124 HOST_WIDE_INT before negating it.
5126 2000-11-08 Jakub Jelinek <jakub@redhat.com>
5128 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
5129 passed in multiple non-contiguous locations.
5131 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5133 * README.gnat: Remove file.
5135 2000-11-08 Alexandre Oliva <aoliva@redhat.com>
5137 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
5140 2000-11-07 Richard Henderson <rth@redhat.com>
5142 * dwarfout.c (INSN_LABEL_FMT): Remove.
5143 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5144 (dwarfout_label): Remove.
5145 * dwarfout.h: Remove it's prototype.
5146 * dwarf2out.c (INSN_LABEL_FMT): Remove.
5147 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5148 (dwarf2out_label): Remove.
5149 * dwarf2out.h: Remove it's prototype.
5150 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
5152 2000-11-07 Richard Henderson <rth@redhat.com>
5154 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
5155 search on the unwind region section.
5157 * config/ia64/ia64.md (movbi): Add r/r alternative.
5158 (cmovdi_internal_astep): Describe all combinations of register
5159 classes for sources & destinations; remove matching constraints.
5160 (cmovdi_internal): Likewise.
5162 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
5164 2000-11-07 Richard Henderson <rth@redhat.com>
5166 * c-lang.c (start_cdtor, finish_cdtor): New functions.
5167 (finish_file): Use them in building constructor/destructor functions.
5169 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
5170 LD_FINI_SWITCH): Move ...
5171 * config/alpha/osf.h: ... here.
5172 * config/alpha/alpha-interix.h: Don't undef them.
5174 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
5176 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
5177 included in libgcc.a.
5179 (dp-bit.c): Likewise.
5180 (fp-bit.c): Likewise.
5182 2000-11-07 Nick Clifton <nickc@redhat.com>
5184 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
5185 (INTERNAL_ASM_OP): Add missing tab.
5187 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5189 * alias.c (init_alias_analysis), calls.c (expand_call,
5190 emit_library_call_value_1), combine.c (init_reg_last_arrays),
5191 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
5192 (init_output_buffer, set_diagnostic_context), dwarf2out.c
5193 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
5194 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
5195 function.c (assign_parms), gcse.c (compute_can_copy,
5196 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
5197 compute_hash_table, compute_set_hash_table,
5198 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
5199 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
5200 clear_units, schedule_block), integrate.c (initialize_for_inline,
5201 expand_inline_function), jump.c (thread_jumps), local-alloc.c
5202 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
5203 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
5204 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
5205 record_reg_classes, allocate_reg_info), reload.c
5206 (get_secondary_mem, remove_address_replacements, find_reloads),
5207 reload1.c (reload, set_initial_label_offsets, finish_spills,
5208 reload_as_needed, choose_reload_regs_init,
5209 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
5210 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
5211 (rename_registers), stmt.c (expand_end_case), unroll.c
5212 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
5213 () instead of bzero ().
5215 2000-11-07 Neil Booth <neilb@earthling.net>
5217 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
5219 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5221 * c-common.c (combine_strings): Only warn about long strings for C.
5223 Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
5225 * combine.c (distribute_notes): Fix typo in last change.
5227 2000-11-07 Geoff Keating <geoffk@redhat.com>
5229 * config/rs6000/rs6000.md (movdi_internal32+1): Use
5230 operand_subreg_force rather than gen_rtx_SUBREG.
5231 (movdi_internal32+2): Likewise.
5233 2000-11-07 Philip Blundell <philb@gnu.org>
5235 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
5236 * config/arm/linux-aout.h: Likewise.
5237 * configure: Regenerate.
5239 2000-11-07 Philipp Thomas <pthomas@suse.de>
5241 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
5242 accepted my the gettext maintainer.
5244 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5246 * builtins.c (expand_builtin_strpbrk): New function.
5247 (expand_builtin): Handle BUILT_IN_STRPBRK.
5249 * builtins.def (BUILT_IN_STRPBRK): New entry.
5251 * c-common.c (c_common_nodes_and_builtins): Declare builtin
5254 2000-11-07 David O'Brien <obrien@dragon.nuxi.com>
5256 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
5257 * POTFILES.in: Add config/alpha/freebsd.h
5258 * configure.in: Add alpha*-freebsd support.
5259 * configure: Regenerate.
5261 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5263 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
5264 copy of ptr_type_node rather than ptr_type_node itself.
5266 Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
5268 * combine.c (recog_for_combine): Allocate uninitialized vector with
5270 * recog.c (apply_change_group): Likewise.
5272 Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
5274 * flow.c (verify_local_live_at_start): Back out last change.
5275 * combine.c (distribute_notes): When parts of a hard reg are
5276 neither set nor referenced in PLACE, search backwards for a
5277 place to put a REG_UNUSED note; if none found, ask for flow
5280 Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
5282 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
5283 with (clobber (match_scratch...)).
5285 2000-11-06 Neil Booth <neilb@earthling.net>
5287 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
5290 2000-11-06 Neil Booth <neilb@earthling.net>
5292 * tradcpp.c (special_symbol): Assign an null string rather
5293 than writing to an unallocated buffer.
5295 2000-11-06 Neil Booth <neilb@earthling.net>
5297 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
5300 2000-11-06 Neil Booth <neilb@earthling.net>
5302 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
5303 tok.val.arg_no as appropriate.
5304 * cppexp.c (lex): Similarly.
5305 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
5306 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
5307 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
5308 cpp_macro_definition): Similarly.
5309 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5311 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5313 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
5314 operands[1] is constant, calculate the sum and generate movdi.
5315 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
5316 (subsi3): Use SImode in call to arith_4096_operand.
5318 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5320 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
5321 adjust %o1, not %o0 if the return type is large structure.
5323 2000-11-06 Jakub Jelinek <jakub@redhat.com>
5325 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
5326 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
5328 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
5330 * expmed.c (expand_divmod): For signed divide by 2, prefer
5331 a branch and fewer shifts if branches are very cheap.
5333 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
5335 * Makefile.in: Remove all targets related to building
5336 distributions and diffs, or INSTALL.
5337 * INSTALL, install1.texi: Remove.
5338 * configure.in: Remove mention of distdir.
5339 * configure: Regenerate.
5340 * objc/Make-lang.in: Remove mention of distdir.
5342 2000-11-04 Neil Booth <neilb@earthling.net>
5344 * cpp.texi: Update for _Pragma.
5346 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
5348 * gcc.texi (Contributing): Update URL for projects web page.
5350 2000-11-04 Neil Booth <neilb@earthling.net>
5352 * cpplex.c (parse_string): Don't allow multiline strings in
5353 #include family directives.
5355 2000-11-04 Neil Booth <neilb@earthling.net>
5357 * cpplib.c (do_line): Only warn pedantically if not reading
5360 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
5362 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
5365 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
5367 * builtins.c (expand_builtin_strlen): Remove unused mode
5369 * gcc.c (process_command): Remove unused variable.
5370 * fold-const.c: Include expr.h.
5371 * recog.c: Include reload.h.
5372 * Makefile.in (recog.o, fold-const.o): Update deps.
5374 2000-11-02 Geoffrey Keating <geoffk@cygnus.com>
5376 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
5378 Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
5380 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
5382 (STARTFILE_SPEC): Likewise.
5383 (LINK_SPEC): Likewise.
5385 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5387 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
5388 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
5389 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
5391 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
5393 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
5394 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
5395 perm_calloc, get_identifier, maybe_get_identifier,
5396 real_value_from_int_cst, simple_cst_equal), varasm.c
5397 (assemble_name, assemble_real, immed_real_const_1,
5398 compare_constant_1, decode_rtx_const, output_constant_pool): Use
5399 strrchr () instead of rindex (). Use memcmp () instead of bcmp
5400 (). Use memcpy () instead of bcopy (). Use memset () instead of
5403 2000-11-03 Nathan Sidwell <nathan@codesourcery.com>
5405 * cppfiles.c (open_file): If already read, then don't reopen.
5406 Immediately close an empty file.
5408 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5410 * expr.h (fold_builtin): Move declaration...
5411 * tree.h (fold_builtin): ... here.
5413 Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
5415 * flow.c (verify_local_live_at_start): Allow hard regs to die.
5417 2000-11-02 Neil Booth <neilb@earthling.net>
5420 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
5421 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
5422 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
5423 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
5424 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
5425 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
5426 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
5427 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
5428 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
5429 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
5430 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
5431 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
5432 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
5433 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
5434 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5435 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
5436 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
5437 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
5438 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
5439 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
5440 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
5441 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
5442 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
5443 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
5444 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
5445 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
5446 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
5447 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
5448 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
5449 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
5450 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
5451 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
5452 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
5453 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
5454 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
5455 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
5456 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
5457 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
5458 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
5459 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
5460 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
5461 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
5462 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
5463 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
5464 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
5465 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
5466 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
5467 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
5468 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
5469 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
5470 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
5471 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
5472 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
5473 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
5474 vax/vaxv.h, vax/vms.h, we32k/we32k.h
5476 Replace -A() with -A=, the new assertion syntax.
5478 Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
5480 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
5482 In REG_DEAD handling: When handling parts of multi-hard-reg hard
5483 registers, increment the loop counter by the size of the parts;
5484 use recursion to handle individual parts.
5486 2000-11-02 Neil Booth <neilb@earthling.net>
5488 * configure.in: Make integrated CPP the default.
5489 * configure: Regenerate.
5491 Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
5493 * reload.c (find_equiv_reg): Test all hard registers for membership
5494 in the requested class.
5496 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5498 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
5499 process_command, main), gcov.c (open_files, output_data), tlink.c
5500 (frob_extension, scan_linker_output), toplev.c
5501 (file_name_nondirectory): Use strchr () and strrchr () instead of
5502 index () and rindex ().
5504 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5506 * c-common.c (get_flag_spec, check_format_info_main,
5507 check_format_types): Use strchr () instead of index (). Compare
5508 against error_mark_node instead of comparing the TREE_CODE against
5511 2000-11-02 Zack Weinberg <zackw@Stanford.EDU>
5515 * c-lex.c (init_c_lex): Update cpp_start_read call.
5516 (cb_ident): Update for new callback prototype.
5517 (cb_def_pragma): Update for new cpp_get_token prototype.
5518 (c_lex): Similarly. Use cpp_get_line.
5520 * c-parse.in (finish_parse): Update for new cpp_finish
5523 * cp/lex.c (finish_parse): Similarly.
5525 2000-11-01 Geoff Keating <geoffk@cygnus.com>
5527 * machmode.def: Add V16QImode.
5529 2000-11-01 Richard Henderson <rth@redhat.com>
5531 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
5532 from rtl_for_decl_location.
5533 (add_location_or_const_value_attribute): Likewise.
5535 2000-11-01 Neil Booth <neilb@earthling.net>
5537 * cpplib.c (run_directive): Use correct line number for output
5538 of _Pragma. Remember any in-progress directive.
5540 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
5542 2000-11-01 Richard Henderson <rth@redhat.com>
5544 * stmt.c (expand_start_null_loop): Set continue_label.
5546 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5548 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
5549 (expand_builtin_constant_p): Move parts of the code into
5550 fold_builtin_constant_p.
5551 (expand_builtin_strlen): Move parts of the code into fold_builtin.
5552 * expr.h (fold_builtin): Declare.
5553 * fold-const.c (fold): Handle builtin calls.
5555 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
5557 2000-11-01 Richard Henderson <rth@redhat.com>
5559 * stmt.c (expand_start_null_loop): New.
5560 (expand_end_null_loop): New.
5561 * c-semantics.c (genrtl_do_stmt): Use them.
5562 * tree.h: Declare them.
5564 2000-11-01 Richard Henderson <rth@redhat.com>
5566 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
5568 2000-11-01 Neil Booth <neilb@earthling.net>
5570 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
5571 * cp/spew.c: Similarly.
5572 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
5573 * cppmacro.c (stringify_arg): Similarly.
5574 * cpplib.h (CPP_BACKSLASH): Delete.
5576 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5578 * builtins.c (expand_builtin_strstr): New function.
5579 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
5581 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
5583 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
5586 2000-10-31 Richard Henderson <rth@redhat.com>
5588 * config/i386/i386.c (fcmov_comparison_operator): Check for
5589 CCFPmode or CCFPUmode instead of CCmode.
5590 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
5591 unordered operations as well.
5593 2000-10-31 Richard Henderson <rth@redhat.com>
5595 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
5596 of integer_zero_node.
5598 2000-10-31 Richard Henderson <rth@redhat.com>
5600 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
5602 2000-10-31 Nick Clifton <nickc@redhat.com>
5604 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
5605 -fdata-sections to override the section attribute of a DECL.
5607 2000-10-31 Chris Demetriou <cgd@sibyte.com>
5609 * libgcc2.c (__shtab): Remove __shtab variable.
5610 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
5611 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
5614 2000-10-31 Jim Wilson <wilson@redhat.com>
5616 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
5617 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
5618 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
5619 instead of ASM_OUTPUT_INTERNAL_LABEL.
5620 (dwarf2out_end_block, dwarf2out_label): Likewise.
5621 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
5622 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
5624 2000-10-31 Richard Henderson <rth@redhat.com>
5626 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
5627 (size_of_locs): Set it.
5628 (output_loc_operands): Use it to compute branch displacement.
5629 (int_loc_descriptor): New.
5630 (mem_loc_descriptor): Dereference memory in the proper size.
5631 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
5632 (loc_descriptor_from_tree): New.
5633 (rtl_for_decl_location): Break out from ...
5634 (add_location_or_const_value_attribute): ... here.
5635 (add_bound_info): Use loc_descriptor_from_tree.
5637 2000-10-31 Neil Booth <neilb@earthling.net>
5639 * cpp.texi: Update for new command line assertion syntax.
5640 * cpplib.c (cpp_define): Simplify a bit.
5641 (cpp_assert, cpp_unassert): Use handle_assertion.
5642 (handle_assertion): New function; accept new command line
5644 * testsuite/gcc.dg/cpp/assert3.c: New tests.
5646 2000-10-31 Neil Booth <neilb@earthling.net>
5648 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
5649 undefined. Remove #ifdef check.
5650 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
5651 Define STDC_0_IN_SYSTEM_HEADERS to 1.
5653 2000-10-31 Jan Hubicka <jh@suse.cz>
5654 Jakub Jelinek <jakub@redhat.com>
5656 * config/i386/i386.h: Clarify CCNOmode description in comment.
5657 (EXTRA_CC_MODES): Remove CCRCmode.
5658 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
5659 (put_condition_code, ix86_match_ccmode): Likewise.
5660 (ix86_cc_mode): Likewise. Fix comment.
5661 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
5662 * config/i386/i386.md: Add unspec 12 description.
5663 (adddi3 split): Use unspec 12 instead of CCRCmode.
5664 (addsi3_carry_rc): Remove.
5665 (addsi3_cc, addqi3_cc): New patterns.
5666 (addsi_3): Swap operands, match CCZmode.
5667 (addsi_4): Rewritten.
5668 (addsi_5): Renamed from addsi_6.
5670 (addhi_3): Swap operands, match CCZmode.
5671 (addhi_4): Rewritten.
5672 (addhi_5): Renamed from addhi_6.
5674 (addqi_3): Swap operands, match CCZmode.
5675 (addqi_4): Rewritten.
5676 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
5677 (subsi3_carry_rc): Removed.
5678 (iorqi_3): Use =q constraint for clobber.
5679 (xorqi_cc_2): Likewise.
5680 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
5681 (x86_movsicc_0_m1_rc): Removed.
5682 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
5684 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
5686 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
5687 and decrement of complex types.
5689 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5691 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
5692 builtin fputs, ensure we still evaluate the stream in case it
5695 2000-10-31 Jakub Jelinek <jakub@redhat.com>
5697 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
5700 Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
5702 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
5703 (fp_extended_operand, emit_fpscr_use): Likewise.
5704 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
5705 (fpul_operand): New function.
5706 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
5707 fp_extended_operand. Add fpul_operand.
5708 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
5709 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
5710 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
5711 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
5712 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
5713 (divdf3_i): Likewise.
5714 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
5715 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
5716 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
5717 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
5718 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
5720 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
5722 * config/i386/i386.c (ix86_init_builtins): Correct return type
5723 building v4hi_ftype_v4hi_int_int tree node.
5724 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
5725 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
5727 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
5729 (mmx__uavgv8qi3): Correct insn mnemonic.
5730 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
5731 (mmx_punpckhwd): Correct insn mnemonic.
5732 (mmx_punpckhdq): Likewise.
5733 (mmx_punpcklwd): Likewise.
5734 (mmx_punpckldq): Likewise.
5735 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
5736 Renumber case labels to match the _mm_prefetch constants defined in
5739 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
5740 if the splitter didn't emit new insns.
5741 Make sure we call cleanup_subreg_operands even when splitting the last
5742 insn in a basic block.
5744 * invoke.texi (Debugging Options): Describe -do.
5745 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
5746 (dump_file): Likewise.
5747 (rest_of_compilation): Split .greg dump into .greg and .postreload.
5749 2000-10-30 Neil Booth <neilb@earthling.net>
5751 * cppfiles.c (stack_include_file): Check for stacked contexts
5753 * cpphash.h (_cpp_do__Pragma): New prototype.
5754 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
5756 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
5757 escaped newlines if !(buffer->from_stage3).
5758 (_cpp_lex_token): Warn about missing newlines iff
5759 !buffer->from_stage3.
5761 * cpplib.c (get__Pragma_string, destringize,
5762 _cpp_do__Pragma): New functions.
5763 (run_directive): Set output_line for _Pragma to avoid line
5764 markers in output. Set from_stage3 and prevent macro expansion
5765 for _Pragma and command-line options. Check buffer exhaustion.
5766 (cpp_push_buffer): Don't check for stacked macro contexts, as
5767 this is perfectly legitimate for _Pragma. Move the check to
5768 stack_include_file instead. Set from_stage3 iff buffer is
5771 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
5772 unsigned. New boolean from_stage3.
5773 (struct spec_nodes): Add n__Pragma.
5775 * cppmacro.c (enter_macro_context): Flip sense of return value.
5776 (_cpp_get_token): Handle _Pragma operator.
5778 2000-10-30 Phil Edwards <pme@sources.redhat.com>
5780 * gcc.texi: The C++ standard isn't "draft" anymore.
5782 2000-10-30 Mark Mitchell <mark@codesourcery.com>
5784 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
5786 2000-10-29 Neil Booth <neilb@earthling.net>
5788 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
5790 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5792 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
5793 fixinc/inclhack.def: Change comments mentioning C9X to refer to
5796 * invoke.texi: Document that -V will only work for very similar
5797 versions of driver and compiler.
5799 2000-10-29 Neil Booth <neilb@earthling.net>
5801 * cppmacro.c (_cpp_create_definition): Optimize the case of
5802 a macro defined to itself.
5804 2000-10-29 Neil Booth <neilb@earthling.net>
5806 * cpplex.c (save_comment): Don't store new lines in C++ comments.
5808 2000-10-29 Michael Hayes <mhayes@redhat.com>
5810 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
5812 2000-10-28 Geoffrey Keating <geoffk@cygnus.com>
5814 * cpphash.c (cpp_forall_identifiers): Add context variable
5815 for callback routine.
5816 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
5818 (main): Call cpp_forall_identifiers with null context.
5819 * cpplib.h (cpp_forall_identifiers): Update prototype.
5821 * cppmain.c: Make `parse_in' and `print' static.
5823 2000-10-28 Alan Modra <alan@linuxcare.com.au>
5825 * c-decl.c (finish_function): Clear c_function_name_declared_p.
5827 2000-10-28 Richard Henderson <rth@redhat.com>
5829 * regrename.c (scan_rtx_address): Frob action, not class,
5830 when trying to disable optimization.
5832 2000-10-28 Mark Mitchell <mark@codesourcery.com>
5834 * c-semantics.c (make_rtl_for_local_static): Don't clobber
5835 DECL_ASSEMBLER_NAME.
5837 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5839 * configure.in: Determine and substitute gcc_version_full.
5840 * configure: Regenerate.
5841 * gccbug.in: Use it to give full version. Don't allow
5844 2000-10-28 Richard Henderson <rth@redhat.com>
5846 * recog.c (split_all_insns): Run cleanup_subreg_operands
5849 * regrename.c (regrename_optimize): Verify that all registers of
5850 a multiple register mode are available.
5851 (scan_rtx_address): Accept the mode of the address; all callers
5854 * cpplib.c (run_directive): Fix prototype.
5856 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
5858 * reload.c (find_reloads): Distinguish "wins" so that we know whether
5859 a given operand won because of a matching constraint or not; then use
5860 that information to compute goal_alternative_matched properly.
5861 * reload1.c (choose_reload_regs): Never set reload_override_in for an
5864 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
5865 accurate value for MULT.
5866 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
5867 2% or > 98% before using static branch prediction bits.
5869 2000-10-28 Neil Booth <neilb@earthling.net>
5873 * cpplib.c (struct answer): New.
5874 (struct if_stack): Use cpp_lexer_pos rather than line and col.
5875 Rename cmacro mi_cmacro.
5876 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
5877 IN_I): New directive and flags.
5878 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
5879 parse_answer, parse_assertion, find_answer): New functions.
5880 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
5881 (lex_macro_node): New function to replace parse_ifdef and
5884 (_cpp_handle_directive): New function, combines _cpp_check_directive
5885 and _cpp_check_linemarker.
5887 (do_define, do_undef, parse_include, do_include, do_import,
5888 do_include_next, read_line_number, do_line, do_ident, do_pragma,
5889 do_pragma_once, do_pragma_poison, do_pragma_dependency):
5890 Update for new token getting interface.
5892 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
5893 : Update for new multiple-include optimisation technique.
5894 (do_elif): Don't forget to invalidate controlling macros.
5896 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
5897 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
5898 Functions to handle assertions with the new token interface.
5899 (do_assert, do_unassert): Use them.
5901 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
5904 (_cpp_init_stacks): Register directive names. Don't register special
5907 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
5908 new position recording regime.
5909 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5910 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5911 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
5912 (cpp_type2name): Move to cpplex.c.
5914 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
5915 (parse_defined): Update to handle new multiple include optimisation
5916 method. Remove poisoned identifier warning.
5917 (parse_assertion, TYPE_NAME): Delete.
5918 (lex): Update for multiple include optimisation, removal of
5919 CPP_DEFINED, to use _cpp_test_assertion for assertions and
5921 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
5922 (op_as_text): New function, to wrap cpp_token_as_text.
5924 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
5925 Update for MI optimisation.
5926 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
5927 segfault on diagnostic.
5928 (_cpp_compare_file_date): Take a token rather than 3 args.
5929 (cpp_read_file): Work correctly for zero-length files.
5931 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
5932 _cpp_init_hashtable and _cpp_cleanup_hashtable.
5933 (cpp_lookup): Place identifiers at front of identifier pool
5934 for _cpp_lookup_with_hash.
5935 (_cpp_lookup_with_hash): Require identifiers to be at the front of
5936 the identifier pool. Commit the memory if not already in the
5939 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
5940 Initialise various members of cpp_reader, memory pools, and the
5942 (cpp_printer_init): Delete.
5943 (cpp_cleanup): Update.
5944 (struct builtin, builtin_array, initialize_builtins): Update for new
5945 hashnode definition and builtin handling.
5946 (cpp_start_read, cpp_finish): Don't take or initialise a
5949 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
5950 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
5951 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
5952 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
5953 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
5954 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
5955 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
5956 struct toklist, struct cpp_context, struct specnodes,
5957 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
5958 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
5959 enum builtin_type, cpp_can_paste): New.
5960 (struct cpp_token): Delete line and col members.
5961 (struct cpp_buffer): New member output_lineno.
5962 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
5963 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
5964 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
5965 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
5966 base_context, context, directive, mi_state, mi_if_not_defined,
5967 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
5968 mlstring_pos, macro_buffer, macro_buffer_len.
5969 Delete members mls_line, mls_column, token_list, potential_control_macro,
5970 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
5971 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
5972 save_parameter_spellings, need_newline, .
5973 Change type of date, time and spec_nodes members.
5974 Change prototypes for include and ident callbacks.
5975 (struct cpp_hashnode): Change type of name. Remove union members
5976 expansion and code. Add members macro, operator and builtin.
5978 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
5979 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
5980 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
5981 cpp_stop_lookahead): New prototypes.
5982 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
5984 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
5985 Move from cpphash.h.
5987 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
5988 ufputs): Move to cpplib.h.
5989 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
5990 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
5991 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
5992 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
5993 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
5994 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
5995 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
5996 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
5997 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
5998 _cpp_parse_assertion, _cpp_find_answer): Delete.
5999 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
6000 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
6001 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
6002 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
6003 _cpp_handle_directive, DSC): New.
6004 (struct include_file): New member defined.
6006 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
6007 _cpp_compare_file_date): Update.
6008 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
6009 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
6010 _cpp_cleanup_hashtable.
6012 * Makefile.in: Remove cppoutput.c.
6014 * cppoutput.c: Delete
6016 * fixheader.c (read_scan_file): Update for new cpp_get_token
6018 (recognized_function): New argument LINE.
6020 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
6021 new cpp_get_token prototype.
6023 * scan.h (recognized_function): Update prototype.
6025 * po/POTFILES.in: Remove cppoutput.c.
6027 2000-10-27 Mark Mitchell <mark@codesourcery.com>
6029 * c-typeck.c (check_init_type_bitfields): Remove.
6030 (constructor_incremental): Likewise.
6031 (struct constructor_stack): Remove incremental bit.
6032 (struct initializer_stack): Likewise.
6033 (start_init): Don't play with constructor_incremental.
6034 (finish_init): Likewise.
6035 (really_start_incremental_init): Likewise.
6036 (push_init_level): Likewise.
6037 (pop_init_level): Likewise.
6038 (output_init_level): Likewise.
6039 (output_pending_init_elements): Likewise.
6041 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
6043 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
6044 Improve error messages. Correct parsing of
6045 #pragma pack(pop [,id]). Do not check the user-supplied
6046 alignment if we're popping.
6048 * gcc.dg/pack-test-1.c: New test case.
6049 * gcc.dg/pack-test-2.c: New test case.
6050 * gcc.dg/pack-test-1.h: New file.
6052 2000-10-27 Neil Booth <neilb@earthling.net>
6056 2000-10-27 Kelley Cook <kelley.cook@home.com>
6058 * invoke.texi: Document -mintel-syntax
6060 2000-10-27 Richard Henderson <rth@redhat.com>
6062 * invoke.texi: Document -frename-registers. Add it to -O3.
6063 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
6064 (enum dump_file_index, dump_file): Update order.
6065 (main): Set flag_rename_registers at -O3.
6067 2000-10-27 Richard Henderson <rth@redhat.com>
6069 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
6070 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
6071 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
6072 * config/alpha/alpha.md (call_osf_1): Use it.
6073 (call_value_osf_1): Likewise.
6075 * config/ia64/ia64.c: Revert 10-23 patch.
6076 (ia64_hard_regno_rename_ok): New.
6077 * config/ia64/ia64-protos.h: Declare it.
6078 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
6080 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
6081 Richard Henderson <rth@redhat.com>
6083 * regrename.c: Rewrite to handle multi-register modes and
6084 cond_exec instructions.
6085 * Makefile.in (regrename.o): Update dependancies.
6086 * recog.h (struct operand_alternative): Add is_address.
6087 * recog.c (preprocess_constraints) [case 'p']: Set it.
6089 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
6091 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
6092 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
6093 top level. Kill oldstyle_subdirs. Do not include
6094 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
6095 $outputs. Do not run configure.lang from config.status.
6096 Rearrange warning-flag logic to correspond to what the
6097 makefile wants. Put special vax stage1 options in
6098 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
6099 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
6100 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
6101 switch is given, nothing otherwise.
6102 * configure.lang: Delete.
6104 * Makefile.in: Expunge all traces of extra_c_objs,
6105 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
6106 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
6107 warning options via a three level scheme so that -pedantic and
6108 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
6109 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
6110 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
6111 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
6112 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
6113 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
6114 generation rules. Wrap all rules that change the current
6115 directory in parentheses; pmake doesn't spawn a new shell for
6116 each command. Expunge all references to $(P). When one
6117 command depends on another and they're run all at once, use &&
6118 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
6119 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
6122 * objc/Make-lang.in: Wrap all rules that change the current
6123 directory in parentheses. Expunge all references to $(P).
6124 When one command depends on another and they're run all at
6125 once, use && to separate them, not ;. Add OUTPUT_OPTION to
6126 all object-file generation rules. Delete obsolete variables.
6127 * objc/Makefile.in: Delete.
6129 2000-10-27 Jakub Jelinek <jakub@redhat.com>
6131 * calls.c (expand_call): If sibcall_failure is set during pass 1,
6132 clear tail_call_insns as well.
6134 2000-10-27 Nick Clifton <nickc@redhat.com>
6136 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
6139 2000-10-26 Richard Henderson <rth@redhat.com>
6141 * calls.c (expand_call): Supress sibcall if we have a
6142 BLKmode return in registers.
6144 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
6146 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
6149 2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
6151 * tree.c (make_node, case 't'): Set alignment to that of
6153 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
6155 2000-10-25 Mark Mitchell <mark@codesourcery.com>
6157 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
6158 * configure.in (enable-libstdcxx-v3): Arrange to have
6159 HAVE_LIBSTDCXX_V3 substituted into the output files.
6161 2000-10-25 Richard Henderson <rth@redhat.com>
6163 * recog.c (constrain_operands): Initialize which_alternative
6164 before no alternatives early exit.
6166 * cse.c (find_comparison_args): Check that we can reverse a
6167 comparison if needed before accepting the substitution.
6169 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
6171 * simplify-rtx.c (simplify_relational_operation): Sign extend
6172 low words before sign extending to high words.
6174 2000-10-25 Nick Clifton <nickc@redhat.com>
6176 * config/mcore/mcore.c: Include config.h before system.h.
6178 2000-10-25 Ray Essick <essick@ddna.labs.mot.com>
6180 * config/mcore/mcore.md (return): Force function epilogue to
6181 always be generated to work around epilogue suppression bug in
6184 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
6186 * c-decl.c (grokdeclarator): Move warning for qualified void
6187 return types with -pedantic to when the function type is
6188 constructed. At -W, warn in general for qualified function return
6189 types, except for volatile void.
6190 * invoke.texi: Document this new warning at -W.
6192 2000-10-25 Neil Booth <neilb@earthling.net>
6194 * cpp.texi: Update with implementation-defined behavior and
6197 2000-10-25 Jakub Jelinek <jakub@redhat.com>
6199 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
6200 incomplete type force it into alias set 0.
6202 Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
6204 * alias.c: Include basic-block.h.
6205 (loop_p): New function.
6206 (mark_constant_function): Use it.
6207 * Makefile.in (alias.o): Update dependencies.
6209 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
6211 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
6214 2000-10-24 Jim Wilson <wilson@cygnus.com>
6216 * expmed.c (store_bit_field): Move integer pun code down after
6217 code that calls emit_move_insn for entire register move.
6218 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
6219 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
6221 2000-10-24 Richard Henderson <rth@cygnus.com>
6223 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
6224 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
6226 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
6228 * gcse.c (cprop_insn): do not propagate constants into jump_insn
6229 for machines with CC0 more than once.
6231 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
6233 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
6234 pseudos just like memory.
6236 2000-10-24 Alexandre Oliva <aoliva@redhat.com>
6238 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
6239 when deleting libcall sequence collapsed to a single instruction.
6241 2000-10-24 Andrew Haley <aph@cygnus.co.uk>
6243 * expr.c (do_store_flag): Don't crash if either side of a
6244 comparison is error_mark_node.
6246 2000-10-24 Jakub Jelinek <jakub@redhat.com>
6248 * sibcall.c (purge_mem_unchanging_flag): New function.
6249 (optimize_sibling_and_tail_recursive_calls): Call it.
6251 2000-10-24 Philipp Thomas <pthomas@suse.de>
6253 * Makefile.in (check-po): New target for doing checks in the po
6254 subdir if all languages configured.
6255 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
6256 configure if NLS is enabled.
6257 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
6258 otherwise leave empty.
6259 * configure: Regenerate.
6261 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6263 * i386.c (print_operand): Handle new 'A' formatting code.
6264 387 opcodes need suffixes even with -mintel-syntax.
6265 Check for explicit size override (codes 'b', 'w' and 'k').
6266 (print_operand_address): Check if register prefix is needed when
6267 emitting `ds' segment override.
6268 * i386.h: Add comment about new 'A' formatting code.
6269 * i386.md (jump and call patterns): Emit absolute references using %A.
6271 2000-10-23 Richard Henderson <rth@cygnus.com>
6273 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
6274 output registers as fixed.
6275 (ia64_function_epilogue): Undo output fixation.
6277 2000-10-23 Richard Henderson <rth@cygnus.com>
6279 * config/alpha/alpha.md: Add names for all unnamed insns; use
6280 define_insn_and_split in some obvious places.
6282 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
6283 (zero_extendqisi2, zero_extendqidi2): Likewise.
6284 (zero_extendhisi2, zero_extendhidi2): Likewise.
6285 (abs splitters): Fix match_scratch operand number.
6286 (bcc_reverse): Swap pc & label instead of non-canonical compare.
6288 2000-10-23 Jim Wilson <wilson@cygnus.com>
6290 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
6292 * ia64.md (cmpsi_adjusted): Use %r3.
6293 (cmpdi_adjusted): Likewise.
6295 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6297 * config/i386/att.h (ASM_FILE_START): Define.
6299 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
6301 * config/i386/linux.h (ASM_FILE_START): Define.
6303 Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
6305 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
6306 since this (only) drags in a crt0.o reference that the .ld files
6309 2000-10-23 Geoff Keating <geoffk@cygnus.com>
6311 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
6312 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
6313 reloads just like an RELOAD_FOR_OUTPUT would.
6315 * local-alloc.c (update_equiv_regs): Add an abort(). When
6316 deleting or moving insns, update reg_equiv[regno].init_insns.
6318 2000-10-23 Mark Mitchell <mark@codesourcery.com>
6320 * c-tree.texi: Improve documentation for IF_STMTs and related
6321 conditional statements.
6323 2000-10-22 Mark Mitchell <mark@codesourcery.com>
6325 * expr.c (do_preexpand_calls): Remove.
6326 (same_from_p): Don't use CALL_EXPR_RTL.
6327 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
6328 (preexpand_calls): Remove.
6329 * tree.c (first_rtl_op): Remove CALL_EXPR case.
6330 (unsave_expr_1): Likewise.
6331 * tree.def (CALL_EXPR): Give it only two slots.
6332 * tree.h (CALL_EXPR_RTL): Remove.
6334 2000-10-21 Chandrakala Chavva <cchavva@redhat.com>
6336 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
6337 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6340 2000-10-22 Alexandre Oliva <aoliva@redhat.com>
6342 * calls.c (combine_pending_stack_adjustment_and_call): Don't
6343 adjust stack when unadjusted_alignment ends up as zero.
6345 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
6347 * fixinc/genfixes: Remove EGCS reference.
6348 * install.texi: Remove EGCS reference.
6349 * INSTALL: Regenerate.
6351 2000-10-22 Mark Mitchell <mark@codesourcery.com>
6353 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
6355 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
6357 * diagnostic.c: Remove EGCS reference in comment.
6359 Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6361 * loop.c (strength_reduce): Fix error in last change.
6363 2000-10-20 David Edelsohn <edelsohn@gnu.org>
6365 * Makefile.in (SHLIB_NM_FLAGS): New.
6366 (libgcc.mk): Pass it.
6367 * mklibgcc.in (libgcc.map): Use it.
6369 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
6370 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
6372 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6374 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
6376 * sparc.c (load_pic_register): Delete unused varaible.
6378 * libgcc2.c (__addvsi3): Delete unused variable.
6380 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
6381 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
6382 __negvdi2): Prototype.
6384 * ssa.c (apply_delayed_renames): Avoid undefined operation.
6386 * toplev.c (display_target_options): Make static to match
6387 prototype. Delete empty declaration.
6389 2000-10-20 Tom Tromey <tromey@cygnus.com>
6391 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6392 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6394 Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6396 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
6398 (expand_expr_unaligned, case ARRAY_REF): Check that index is
6399 a constant before comparing it; use tree_low_cst.
6400 * tree.c (save_expr): Set TREE_READONLY.
6401 (substitute_expr): Return inside of NON_LVALUE_EXPR.
6402 (build, build1): Set TREE_READONLY if all operands are.
6403 (build_index_type): If upper bound is a negative number, lower
6404 bound is zero and sizetype is unsigned, use upper bound of one and
6407 2000-10-20 David Edelsohn <edelsohn@gnu.org>
6409 * gcc.c (process_command, main): Use "because" instead of
6410 "since" in error messages.
6412 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6414 * stor-layout.c (compute_record_mode): Use tree_low_cst.
6415 Don't use mode of field for record unless sizes are the same.
6416 (layout_type, case ARRAY_TYPE): Remove special bounds handling
6417 previously added for Ada; also change to using host_integerp
6420 * loop.c (strength_reduce): Show when new register made for
6421 giv is known to be a pointer and its aligment if so and known.
6422 (loop_dump_aux): Show VERBOSE parameter unused.
6424 * gcse.c (set_hash_table_size): Now unsigned.
6425 * sdbout.c (template_name_p): Add "const" to avoid warnings.
6426 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
6427 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
6428 (sdbout_end_epilogue): Remove variable NAME.
6429 * system.h (getopt): Add default definition.
6430 * config/alpha/alpha.c (print_operand): Don't continue processing
6431 after issuing error.
6432 (summarize_insn): Avoid use of UL in constant.
6434 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
6436 * fold-const.c (force_fit_type): Unsigned values can overflow
6437 if they are sizetype.
6438 (int_const_binop): Don't use cache if overflows.
6440 2000-10-20 Richard Henderson <rth@cygnus.com>
6442 * function.c (locate_and_pad_parm): Zero alignment_pad.
6444 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
6445 perform substitutions, and apply_change_group to see if it worked.
6447 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6449 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
6451 * combine.c (struct undo): Change int to unsigned int.
6452 (do_SUBST_INT): Args are unsigned int.
6453 (make_extraction, force_to_mode): Use proper type when forming mask.
6454 (make_field_assignment): Likewise.
6456 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
6458 * c-common.c (check_format_info_recurse): Extract string constant
6459 initializers from non-volatile constant arrays and check them as
6461 * c-typeck.c (decl_constant_value): Don't check pedantic or check
6462 for DECL_MODE (decl) != BLKmode.
6463 (decl_constant_value_for_broken_optimization): New function which
6464 includes these checks.
6465 (default_conversion, convert_for_assignment, digest_init): Use
6466 decl_constant_value_for_broken_optimization instead of
6467 decl_constant_value.
6469 2000-10-20 Mark Mitchell <mark@codesourcery.com>
6471 * tree.h (DECL_ALIGN_UNIT): New macro.
6473 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
6475 * config/avr/avr-protos.h (avr_output_bld): New.
6476 (out_shift_with_cnt): Add t_len argument.
6477 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
6478 (output_movqi, output_movhi, output_movsisf): Optimize loading
6479 any constant with exactly one bit set to NO_LD_REGS.
6480 (out_shift_with_cnt): Optimize output code for size or speed,
6481 depending on optimize_size. Handle small shift counts as well
6482 (if not hand-optimized in ?sh??i3_out). Shifts can be done
6483 with or without a scratch register, with help of __tmp_reg__
6484 or __zero_reg__ if necessary. Add T_LEN argument to pass the
6485 length of TEMPLATE in words, return total insn length in *LEN.
6486 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
6487 out_shift_with_cnt to work with the above change.
6488 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
6489 lshrsi3_out): Likewise. Optimize more known shift count cases.
6490 Remove cases already well optimized in out_shift_with_cnt.
6491 (avr_output_bld): New function.
6492 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
6493 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
6494 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
6495 Add reload_completed to insn condition - only for peepholes.
6496 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
6497 in a register or memory.
6498 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
6499 Do not require a scratch register.
6500 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
6501 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
6502 Optimize shifts by known count using a scratch register, but only
6503 if one is still available after register allocation.
6505 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6507 * t-vax: New file. Don't build modules from libgcc1.c.
6509 Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
6511 * alias.c: (mark_constant_function): Don't check pure functions.
6512 Initialize and end alias analysis.
6513 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
6514 Don't make a special exception for recursion. Handle
6515 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
6516 unless it's volatile.
6518 * local-alloc.c (equivalence): New structure.
6519 (reg_equiv): Define.
6520 (contains_replace_regs): Remove array and use
6522 (memref_referenced_p): Likewise.
6523 (no_equiv): Likewise.
6524 (update_equiv_regs): Likewise.
6526 (equiv_init_varies_p,
6527 equiv_init_movable_p): New functions.
6528 (update_equiv_regs): Use them. Use rtx_varies_p
6529 instead of function_invariant_p. Process insns
6530 from end to beginning. Allow a REG_EQUIV insn
6531 within the same loop as a use to be moved, also
6532 allow it to be moved out of a loop. Update
6533 REG_DEAD notes when substituting into an insn.
6535 2000-10-19 Jim Wilson <wilson@cygnus.com>
6537 * c-decl.c (start_decl): Check for error_mark_node type before using
6539 (finish_decl): Likewise. Don't give an error if decl type is
6540 already error_mark_node.
6542 * haifa-sched.c (compute_trg_info): Add explanatory comments.
6543 New local update_blocks. Use update_blocks to remove duplicates
6544 when computing update blocks. Check for bblst_table overflow.
6545 (schedule_block): Add explanatory comment. Reduce bblst_size by
6547 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
6550 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6552 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
6554 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6556 * expmed.c: Minor corrections in comments.
6557 * invoke.texi: Added desciption for the new option -ftrapv.
6559 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6561 * libgcc2.c: Added the missing #endif.
6563 Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
6565 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
6567 2000-10-18 Chandrakala Chavva <cchavva@redhat.com>
6569 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
6570 Use smulv_optab for -ftrapv.
6571 (expand_mult_highpart): Use unsigned multiply.
6572 (expand_divmod): Special-case division by -1.
6573 For EXACT_DIV_EXPR, do right shift first, then the multiply.
6574 For complex divide, use abs with unsigned result.
6575 * expr.c (force_operand): Use unsigned multiply.
6576 (expand_expr): Use overflow-trapping optabs for signed types if
6578 If flag_trapv, don't generate a recursive call with EXPAND_SUM
6579 if the type is signed and the original call wasn't EXPAND_SUM or
6581 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
6582 (negv_optab, absv_optab): Declare.
6583 * flags.h (flag_trapv): Declare.
6584 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
6585 smulv_optab, sdivv_optab, negv_optab and absv_optab.
6586 (gen_insn): Interpret '$P' as requiring an integer mode,
6587 including partial integer modes.
6588 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
6589 (product_cheap_p): Use unsigned expand_mult.
6590 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
6591 (negv_optab, absv_optab): Define.
6592 (expand_binop): Use overflow-trapping optabs for signed types if
6594 Handle negv_optab libe neg_optab.
6595 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
6596 Use overflow-trapping optabs for signed result if flag_trapv.
6597 (expand_complex_abs): Use overflow-trapping optabs for signed types if
6599 Don't open-code complex absolute-value operation for flag_trapv.
6600 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
6601 sdivv_optab, negv_optab and absv_optab.
6602 * toplev.c (flag_trapv): Define.
6603 (lang_independent_options f_options): Include flag_trapv.
6604 * tree.h (TYPE_TRAP_SIGNED): Define.
6605 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
6606 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6608 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
6609 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
6611 2000-10-18 Geoffrey Keating <geoffk@cygnus.com>
6612 David V. Henkel-Wallace <gumby@cygnus.com>
6614 * config/i386/t-netware: Bring in from the Red Hat tree.
6615 * config/i386/netware.h: Likewise.
6616 * config/netware.h: Likewise.
6617 * config/rs6000/netware.h: Delete.
6618 * configure.in: Add i[34567]86-*-netware.
6619 * configure: Hand-edit to match configure.in change.
6621 2000-10-18 Mark Mitchell <mark@codesourcery.com>
6623 * c-common.h (flag_no_builtin): Declare.
6624 (flag_no_nonansi_builtin): Likewise.
6625 (c_common_nodes_and_builtins): Change prototype.
6626 * c-common.c (flag_no_builtin): New variable.
6627 (flag_no_nonansi_builtin): Likewise.
6628 (c_common_nodes_and_builtins): Remove parameters. Adjust
6630 * c-decl.c (flag_no_builtin): Remove.
6631 (flag_no_nonansi_builtin): Likewise.
6632 (init_decl_processing): Adjust call to
6633 c_common_nodes_and_builtins.
6635 2000-10-18 Marc Espie <espie@openbsd.org>
6637 * tm.texi (LIBGCC_SPEC): Synch with reality.
6639 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6641 * c-common.c (check_format_types): Check for writing through a
6642 NULL pointer argument.
6644 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
6646 * tm.texi (Exception Region Output): Document
6647 DWARF_CIE_DATA_ALIGNMENT.
6648 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
6650 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
6651 DWARF_CIE_DATA_ALIGNMENT.
6653 2000-10-18 Michael Hayes <mhayes@cygnus.com>
6655 * basic-block.h (struct loop): Delete fields pre_header_root
6656 and pre_header_trace and replace with pre_header_edges
6657 and num_pre_header_edges.
6658 * flow.c (flow_loop_dump): Dump pre_header_edges.
6659 (flow_loops_free): Free pre_header_edges.
6660 (flow_loop_pre_header_scan): Calculate pre_header_edges.
6662 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6664 * contrib.texi: Update references to steering committee members
6665 and Jeff Law's entry.
6667 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6669 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
6670 (maybe_read_dollar_number, check_format_info_main): Use them for
6671 pedantic warning messages.
6673 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6675 * c-common.c (check_format_info_main): Minor cleanup: move
6676 variables into inner scopes; initialize declarations where
6677 appropriate; don't hardcode "scanf" name on warning for zero
6680 2000-10-17 Mark Mitchell <mark@codesourcery.com>
6682 * c-common.c (back_end_hook): New variable.
6683 * c-common.h (back_end_hook): Declare it.
6684 * c-lang.c (finish_file): Use it.
6686 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
6689 2000-10-18 Jan Hubicka <jh@suse.cz>
6691 * i386.c (ix86_comparison_operator, put_condition_code,
6692 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
6693 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
6694 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
6695 * i386.md (adddi and negdi splitter): Use CCRCmode.
6696 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
6697 (subsi3_carry): add '*'
6698 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
6699 (cmp to add peep2): Use CCRCmode; swap operands.
6701 2000-10-18 Kazu Hirata <kazu@hxi.com>
6703 * h8300.c: Fix a comment typo.
6704 (round_frame_size): New.
6705 (compute_saved_regs): Likewise.
6708 (push_order): Remove.
6709 (pop_order): Likewise.
6710 (function_prologue): Rearrange code for readability.
6711 (function_epilogue): Likewise.
6713 * config/h8300/h8300.md: Remove an unnecessary sign_extend
6714 expander that is used when not optimizing. Output a tab after
6715 each assembly insns.
6717 * reorg.c: Fix formatting.
6719 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
6721 * reload1.c (move2add_note_store): Check for simple
6722 auto-inc in destination.
6724 2000-10-17 Michael Chastain <chastain@redhat.com>
6726 * config/i386/i386-aout.h: define INT_ASM_OP.
6728 Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
6730 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
6732 Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
6734 * i370.md: Fix spelling typo.
6736 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6738 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
6739 Fixes execute/20001017-1.c on powerpc-linux-gnu.
6741 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
6742 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
6745 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
6746 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
6748 * rs6000/aix.h: ...to here.
6749 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
6751 2000-10-17 Jakub Jelinek <jakub@redhat.com>
6753 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
6755 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
6756 sure linker can relax even the delay slot mov %g1,%o7, fix output
6759 2000-10-17 Kazu Hirata <kazu@hxi.com>
6761 * config/h8300/h8300.md: Remove an unnecessary zero_extend
6762 expander that is used when not optimizing. Output a tab after
6763 each assembly insns.
6765 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
6767 * gcc.c: New options --target-help.
6768 (process_command): Added code to parse this new option.
6769 * toplev.c (display_target_options): New function to support the
6771 * cppinit.c (new_pending_directive) : New option OPT_target__help.
6772 (cpp_handle_option): Support this new option.
6773 * invoke.texi: Added notes about --target-help option.
6775 2000-10-17 Graham Stott <grahams@redhat.com>
6777 * config/i386/i386.md (testqi_1): Add missing operand prefix
6779 * config/i386/i386-protos.h: Add missing prototype.
6781 2000-10-17 Diego Novillo <dnovillo@cygnus.com>
6783 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
6784 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
6785 using -mintel-syntax.
6787 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6789 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
6790 (format_types): Use it for printf.
6791 (maybe_read_dollar_number): Add parameter for the kind of format
6792 involved. Warn for multiple use for arguments if this is
6793 inappropriate for the kind of format involved.
6794 (check_format_info_main): Update calls to maybe_read_dollar_number.
6796 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6798 * inclhack.def (hpux_maxint): Also apply fix to values.h.
6799 * fixincl.x: Rebuilt.
6801 2000-10-17 Alexandre Oliva <aoliva@redhat.com>
6803 * genrecog.c (write_switch): Return the first condition that needs a
6806 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
6808 * c-tree.h (warn_sequence_point): Move declaration to...
6809 * c-common.h (warn_sequence_point): ... here.
6810 * c-decl.c (warn_sequence_point): Move definition to...
6811 * c-common.c (warn_sequence_point): ... here.
6812 (struct reverse_tree): New.
6813 (reverse_list, reverse_max_depth): New static variables.
6814 (build_reverse_tree, common_ancestor, modify_ok
6815 verify_sequence_points): New functions.
6816 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
6817 * c-typeck.c (check_modify_expr): Delete.
6818 (build_modify_expr): Don't call it.
6820 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6822 * c-common.h (warn_missing_format_attribute): New variable.
6823 * c-decl.c (warn_missing_format_attribute): New variable.
6824 (c_decode_option): Decode -Wmissing-format-attribute and
6825 -Wno-missing-format-attribute.
6826 * c-common.c (check_function_format): If
6827 -Wmissing-format-attribute, give a warning where a vprintf or
6828 vscanf function is called by a function without its own printf or
6830 * toplev.c (documented_lang_options): Add
6831 -Wmissing-format-attribute.
6832 * invoke.texi: Document -Wmissing-format-attribute.
6834 2000-10-17 Marc Espie <espie@openbsd.org>
6836 * invoke.texi (-shared): Insist on requiring code generation flags
6837 to be used along with -shared, and document the subtle failure that
6838 may occur otherwise.
6840 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6842 * pa.md (return_internal): Move `use' after `return'.
6844 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6846 * machmode.def: Correct comment.
6848 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
6850 * print-rtl.c (print_rtx_head): Constify.
6851 * rtl.h (print_rtx_head): Similarly.
6853 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
6854 Constify char * return value.
6856 (output_64bit_and, output_64bit_ior): Constify char * return value.
6857 (pa_can_combine_p): Make static.
6858 (function_arg): Decorate unused `named' argument. Fix comment typo.
6859 (function_arg_partial_nregs): Decorate unused `named' argument.
6861 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
6863 * c-common.c (format_check_results): New structure.
6864 (finish_dollar_format_checking): Adjust to take a
6865 format_check_results * parameter.
6866 (check_format_info, check_format_info_recurse,
6867 check_format_info_main): Split check_format_info into three
6868 functions, the main checking going in check_format_info_main.
6869 Recurse when any reduction of the format string argument towards a
6870 string literal is done; go down both branches of a conditional
6871 expression. Don't warn for extra format arguments or empty format
6872 strings if they only occur in some branches of a conditional
6875 2000-10-16 Kazu Hirata <kazu@hxi.com>
6877 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
6879 2000-10-16 Jakub Jelinek <jakub@redhat.com>
6881 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
6883 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
6885 * i386.md (*movsi_or): Switch operand order for intel syntax.
6887 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
6891 * gcc.texi (Contributing): Update.
6893 2000-10-13 Diego Novillo <dnovillo@cygnus.com>
6895 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
6896 appropriate assembler dialect.
6898 2000-10-13 Alexandre Oliva <aoliva@redhat.com>
6900 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
6902 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
6904 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
6905 constants 1 and 2 to NO_LD_REGS.
6907 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6909 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
6911 * objc/Make-lang.in (objc-parse.c): Likewise.
6913 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
6915 * arm.c: Include obstack.h
6916 (minipool_obstack, minipool_startobj): Define.
6917 (arm_add_gc_roots): Initialize them.
6918 (create_fix_barrier): Use our new obstack.
6919 (push_minipool_barrier, push_minipool_fix): Likewise.
6920 (arm_reorg): Release obstack memory.
6922 2000-10-13 Jakub Jelinek <jakub@redhat.com>
6924 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
6925 (prologue, exception_receiver, builtin_setjmp_receiver): New
6927 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
6928 * config/sparc/sparc-protos.h (finalize_pic): Remove.
6929 (load_pic_register): New prototype.
6930 * config/sparc/sparc.c (pic_setup_code): Remove.
6931 (finalize_pic): Rename to...
6932 (load_pic_register): ...this function.
6933 Don't look for nonlocal_goto_receivers and emit pic setup code
6934 directly. Don't check current_function_uses_pic_offset_table.
6936 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
6938 * tree.h (struct obstack): Declare.
6940 2000-10-12 Mark Mitchell <mark@codesourcery.com>
6943 * Makefile.in (ggc-callbacks.o): Remove target.
6944 (flow.o): Depend on GGC_H.
6945 * alias.c (init_alias_analysis):
6946 Remove ggc_p conditionals.
6947 (end_alias_analysis): Likewise.
6948 * basic-block.h (init_flow): New function.
6949 (allocate_reg_life_data): Declare.
6950 * bb-reorder.c (function_obstack): Replace with ...
6951 (flow_obstack): ... new variable.
6952 (fixup_reorder_chain): Use it.
6953 * c-decl.c (ggc_p): Remove.
6954 (caller-save.c): Don't call oballoc/obfree.
6956 undobuf): Remove storage.
6957 (try_combine): Don't call oballoc.
6958 (undo_all): Don't call obfree.
6959 * cse.c (insert): Use xmalloc, not
6961 (cse_main): Adjust accordingly.
6962 * dwarf2out.c (save_rtx): Remove
6964 (dwarf2out_init): Remove ggc_p conditionals.
6965 * emit-rtl.c (rtl_obstack): Remove.
6966 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
6967 (make_insn_raw): Likewise.
6968 (emit_insn_before): Likewise.
6969 (emit_insn_after): Likewise.
6970 (emit_insn): Likewise.
6971 (gen_sequence): Likewise.
6972 (copy_insn_1): Remove handling of `b' RTL components.
6973 (init_emit_once): Remove ggc_p conditionals.
6974 * except.c (create_rethrow_ref): Don't fool with obstacks.
6975 (add_partial_entry): Likewise.
6976 (call_get_eh_context): Likewise.
6977 (begin_protect_partials): Likewise.
6978 (protect_with_terminate): Likewise.
6980 (plus_constant_wide): Likewise.
6981 * expr.c (init_expr_once):
6983 (emit_block_move): Likewise.
6984 (clear_storage): Likewise.
6985 (expand_expr): Likewise.
6986 * flow.c (function_obstack): Remove.
6987 (flow_obstack): New variable.
6988 (flow_firstobj): Likewise.
6989 (create_base_block): Use the flow_obstack.
6990 (split_block): Likewise.
6991 (split_edge): Likewise.
6992 (calculate_global_regs_live): Likewise.
6993 (allocate_bb_life_data): Make it static. Likewiwse.
6994 (init_flow): New function.
6995 (size_int_type_wide): Remove ggc_p conditionals.
6997 (push_function_context_to): Don't call save_tree_status.
6998 (pop_function_context_from): Or restore_tree_status.
6999 (assign_stack_local_1): Don't call push_obstacks.
7000 (find_fixup_replacement): Use xmalloc.
7001 (fixup_var_refs_insns): Free the storage.
7002 (insns_for_mem_walk): Don't mess with obstacks.
7003 (instantiate_decls): Likewise.
7004 (trampoline_address): Likewise.
7005 (expand_function_end): Likewise.
7006 * function.h (sturct function):
7007 Remove obstack-related variables.
7008 (save_tree_status): Don't declare.
7009 (restore_tree_status): Likewise.
7010 * gcse.c (compute_can_copy):
7011 Don't call oballoc/obfree.
7012 * genattrtab.c (operate_exp): Remove
7014 (simplify_cond): Likewise.
7015 (simplify_test_exp): Don't mess with obstacks.
7016 (optimize_attrs): Likewise.
7017 * gengenrtl.c (gendef): Don't include
7019 * ggc-callbacks.c (ggc_p): Remove.
7020 * ggc-none.c (ggc_p): Remove.
7021 * ggc.h (ggc_p): Don't declare.
7022 * integrate.c (save_for_inline): Don't mess with obstacks.
7023 (integrate_decl_tree): Likewise.
7024 (output_inline_function): Likewise.
7026 (init_EXPR_INSN_LIST_cache): Likewise.
7027 * loop.c (temp_obstack):
7029 (rtl_obstack): Likewise.
7030 (init_loop): Don't mess with obstacks.
7031 (reg_address_cost): Free BIVs and GIVs.
7032 (check_insns_for_bivs): Use xmalloc, not oballoc.
7033 (find_mem_givs): Likewise.
7034 (record_biv): Likewise.
7035 (general_induction_var): Likewise.
7036 (product_cheap_p): Likewse.
7037 * optabs.c (init_one_libfunc): Remove
7039 * print-tree.c (debug_tree): Don't use
7041 (print_node): Likewise.
7042 * profile.c (output_func_start_profiler):
7043 Remove call to temporary_allocation.
7045 (eliminate_regs_in_insn): Don't mess with obstacks.
7047 (mark_target_live_regs): Use xmalloc.
7048 (free_resource_info): Free the memory.
7049 * rtl.c (rtl_obstack):
7051 (rtvec_alloc): Don't mess with obstacks.
7052 (rtx_alloc): Likewise.
7054 (copy_rtx): Don't handle `b' cases.
7055 (read_rtx): Use a local rtl_obstack.
7056 * rtl.h (oballoc): Remove.
7058 (pop_obstacks): Likewise.
7059 (push_obstacks): Likewise.
7060 (allocate_bb_life_data): Likewise.
7061 (allocate_reg_life_data): Likewise.
7062 (rtx_free): Likewise.
7063 * sdbout.c (sdbout_queue_anonymous_type):
7064 Use tree_cons, not saveable_tree_cons.
7066 (cselib_init): Don't mess with obstacks.
7068 (mark_block_nesting): Mark the label_chain.
7069 (epxand_label): Use ggc_alloc, not oballoc.
7070 (clear_last_expr): Don't mess with obstacks.
7071 (expand_decl_cleanup): Likewise.
7072 (expand_dcc_cleanup): Likewise.
7073 (expand_dhc_cleanup): Likewise.
7074 (expand_anon_union_decl): Likewise.
7075 (add_case_node): Use xmalloc, not oballoc.
7076 (free_case_nodes): New function.
7077 (expand_end_case): Call it.
7078 * stor-layout.c (layout_type): Don't
7080 (layout_type): Likewise.
7081 * toplev.c (wrapup_global_declarations):
7083 (compile_file): Remove ggc_p conditionals.
7084 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
7085 (decode_f_option): Remove ggc_p conditionals.
7087 (function_maybepermanent_obstack): Remove.
7088 (maybepermanent_obstack): Likewise.
7089 (function_obstack): Likewise.
7090 (tmeporary_obstack): Likewise.
7091 (momentary_obstack): Likewise.
7092 (temp_decl_obstack): Likewise.
7093 (saveable_obstack): Likewise.
7094 (rtl_obstack): Likewise.
7095 (current_obstack): Likewise.
7096 (expression_obstack): Likewise.
7097 (struct obstack_stack): Likewise.
7098 (obstack_stack): Likewise.
7099 (obstack_stack_obstack): Likewise.
7100 (maybepermanent_firstobj): Likewise.
7101 (temporary_firstobj): Likewise.
7102 (momentary_firstobj): Likewise.
7103 (temp_decl_firstobj): Likewise.
7104 (momentary_function_firstobj): Likewise.
7105 (all_types_permanent): Likewise.
7106 (struct momentary_level): Likewise.
7107 (momentary_stack): Likewise.
7108 (init_obstacks): Remove initialization of removed obstacks.
7109 (save_tree_status): Remove.
7110 (restore_tree_status): Likewise.
7111 (temporary_allocation): Liekwise.
7112 (end_temporary_allocation): Liekwise.
7113 (resume_temporary_allocation): Likewise.
7114 (saveable_allocation): Likewise.
7115 (push_obstacks): Likewise.
7116 (push_obstacks_nochange): Likewise.
7117 (pop_obstacks): Likewise.
7118 (allocation_temporary_p): Likewise.
7119 (permanent_allocation): Likewise.
7120 (preserve_data): Likewise.
7121 (preserve_initializer): Likewise.
7122 (rtl_in_current_obstack): Likewise.
7123 (rtl_in_saveable_obstack): Likewise.
7124 (oballoc): Likewise.
7126 (savealloc): Likewise.
7127 (expralloc): Likewise.
7128 (print_obstack_name): Likewise.
7129 (debug_obstack): Likewise.
7130 (object_permanent_p): Likewise.
7131 (push_momentary): Likewise.
7132 (perserve_momentary): Likewise.
7133 (clear_momentary): Likewise.
7134 (pop_momentary): Likewise.
7135 (pop_momentary_nofree): Likewise.
7136 (suspend_momentary): Likewise.
7137 (resume_momentary): Likewise.
7138 (make_node): Don't set TREE_PERMANENT.
7139 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
7140 Don't set TREE_PERMANENT.
7141 (get_identifier): Remove ggc_p conditionals.
7142 (build_string): Likewise.
7143 (make_tree_vec): Likewise.
7144 (build_decl_list): Remove.
7145 (build_expr_list): Likewise.
7146 (tree_cons): Remove ggc_p conditionals.
7147 (decl_tree_cons): Remove.
7148 (expr_tree_cons): Likewise.
7149 (perm_tree_cons): Likewise.
7150 (temp_tree_cons): Likewise.
7151 (saveable_tree_cons): Likewise.
7152 (build1): Remove ggc_p conditionals.
7153 (build_parse_node): Likewise.
7154 (build_type_attribute_variant): Don't mess with obstacks.
7155 (build_type_copy): Likewise.
7156 (type_hash_canon): Likewise.
7157 (build_pointer_type): Likewise.
7158 (build_reference_type): Likewise.
7159 (build_index_type): Likewise.
7160 (build_range_type): Likewise.
7161 (dump_tree_statistics): Don't print obstack information.
7163 (struct tree_common): Remove permanent_flag.
7164 (TREE_PERMANENT): Remove.
7165 (TREE_SET_PERMANENT): Likewise.
7166 (TYPE_OBSTACK): Likewise.
7167 (struct tree_type): Remove obstack.
7169 (savealloc): Likewise.
7170 (build_decl_list): Likewise.
7171 (build_expr_list): Likewise.
7172 (perm_tree_cons): Likewise.
7173 (temp_tree_cons): Likewise.
7174 (saveable_tree_cons): Likewise.
7175 (decl_tree_cons): Likewise.
7176 (expr_tree_cons): Likewise.
7177 (suspend_momentary): Likewise.
7178 (allocation_temporary_p): Likewise.
7179 (resume_momentary): Likewise.
7180 (push_obstacks_nochange): Likewise.
7181 (permanent_allocation): Likewise.
7182 (push_momentary): Likewise.
7183 (clear_momentary): Likewise.
7184 (pop_momentary): Likewise.
7185 (end_temporary_allocation): Likewise.
7186 (pop_obstacks): Likewise.
7187 (push_obstacks): Likewise.
7188 (pop_momentary_nofree): LIkewise.
7189 (preserve_momentary): Likewise.
7190 (saveable_allocation): Likewise.
7191 (temporary_allocation): Likewise.
7192 (resume_temporary_allocation): Likewise.
7193 (perserve_initializer): Likewise.
7194 (debug_obstack): Likewise.
7195 (rtl_in_current_obstack): Likewise.
7196 (rtl_in_saveable_obstack): Likewise.
7198 * varasm.c (current_obstack): Remove.
7199 (saveable_obstack): Remove.
7200 (rtl_obstack): Remove.
7201 (immed_double_const): Don't mess with obstacks.
7202 (immed_real_cons): Likewise.
7203 (output_constant_def): Likewise.
7204 (init_varasm_status): Use xcalloc.
7205 (mark_pool_constant): Mark the pool constant itself.
7206 (free_varasm_status): Free memory.
7207 (decode_rtx_const): Call bzero directly, rather than expanding it
7209 (record_rtx_const): Don't mess with obstacks.
7210 (force_const_mem): Likewise.
7211 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
7213 (aof_pic_entry): Likewise.
7214 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7215 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
7216 * config/pa/pa.c (saveable_obstack): Remove.
7217 (rtl_obstack): Likewise.
7218 (current_obstack): Likewise.
7219 (output_call): Don't mess with obstacks.
7220 (hppa_encode_label): Remove ggc_p conditionals.
7221 * config/romp/romp.c (get_symref): Don't mess with obstacks.
7222 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
7223 (rs6000_encode_section_info): Likewise.
7224 * config/sh/sh.c (get_fpscr_rtx): Likewise.
7226 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
7228 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
7229 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
7230 (addsi3_carry): Canonicalize.
7231 (addqi_5): Remove '*'.
7232 (sbb pattern): Canonicalize.
7234 * i386.md (cmp to inc/add peep2): New.
7236 2000-10-12 Richard Earnshaw <rearnsha@arm.com>
7238 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
7241 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7243 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
7244 * README.TRAD, TESTS.FLUNK: Remove.
7246 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7248 * c-common.c (decl_attributes): Don't allow strftime formats with
7249 first_arg_num nonzero.
7250 (check_format_info): Set wanted_type and wanted_type_name to zero
7251 before they are possibly assigned and used.
7253 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7255 * c-common.c (scanf_flag_specs): Add flags ' and I.
7256 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
7257 or the ^ and # flags together.
7258 (scan_char_table): Handle the ' and I flags.
7259 (format_types): Add ' and I flags for scanf.
7261 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7263 * c-common.c (print_char_table): Use the unpromoted type for
7264 lengths "h" and "hh" with conversions dioxXu.
7265 (check_format_types): Apply the default argument promotions where
7266 the wanted type is not a pointer target.
7268 2000-10-11 Michael Meeks <mmeeks@gnu.org>
7269 Joseph S. Myers <jsm28@cam.ac.uk>
7271 * c-typeck.c (check_modify_expr): New function.
7272 (build_modify_expr): Call it if warn_sequence_point.
7273 * c-decl.c (warn_sequence_point): New variable.
7274 (c_decode_option): Handle -Wsequence-point and
7275 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
7276 * c-tree.h (warn_sequence_point): Declare.
7277 * invoke.texi (-Wsequence-point): Document.
7278 * toplev.c (documented_lang_options): Add -Wsequence-point and
7279 -Wno-sequence-point.
7280 Original work by Michael Meeks, 16 Jun 1998.
7282 Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7284 * tree.c (get_narrower): Don't look at precision of field if
7287 Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
7289 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
7290 declaration for data with "progmem" attribute.
7292 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
7294 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
7295 Correct insn length if shift count is a memory operand.
7296 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
7297 (*iorhi3_clobber): Change lo8 to hi8.
7298 (zero_extendhisi2): Change %B0 to %A1.
7299 (ashlhi3, ashrhi3): Correct insn length.
7300 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
7301 from "clobber" to "set_n" in some alternatives.
7303 2000-10-10 Jakub Jelinek <jakub@redhat.com>
7305 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
7306 remove its insn_chain structure as well.
7308 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7310 * dbxout.c (dbxout_source_line): Remove extra tab.
7312 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
7314 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
7316 2000-10-09 Richard Henderson <rth@cygnus.com>
7318 * Makefile.in (LANG_LIB2FUNCS): Remove.
7319 (LIB2FUNCS): Remove _pure.
7320 (LIB2ADD): Remove LANG_LIB2FUNCS.
7321 (stage_a): Don't set LANG_LIB2FUNCS.
7322 * libgcc2.c (__terminate): Mark noreturn.
7323 (__pure_virtual): Remove.
7324 * mklibgcc.in: Remove LIB2ADD .txt processing.
7326 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7328 * arm.md (push_multi): Revert unintended change.
7330 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7332 * arm.c: Miscellaneous white space and comment clean-ups. No
7336 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7338 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
7339 STRING_CST by calling combine_strings.
7341 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7343 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
7344 (thumb_output_move_mem_multiple): Support new insn format.
7345 * arm.md (movmem12b): Use SSA compatible format.
7346 (movmem8b): Likewise.
7348 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
7350 * arm.md (predicable): New attribute, default to "no".
7351 (all patterns): Mark as predicable if appropriate.
7352 (conditional execution splits): Split using predication format.
7353 (define_cond_exec): Define.
7354 * arm.c (arm_print_operand): handle insn predicate.
7356 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7358 * README.NS32K: Remove file.
7360 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7362 * README-bugs: Remove file.
7364 2000-10-08 Philipp Thomas <pthomas@suse.de>
7365 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
7367 * configure: Rebuilt.
7369 2000-10-08 Philipp Thomas <pthomas@suse.de>
7370 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
7371 disable catalog building if no suitable program was found.
7372 Move warning message from here
7373 (AM_GNU_GETTEXT): To here.
7374 * configure: Rebuilt.
7376 2000-10-08 Philipp Thomas <pthomas@suse.de>
7377 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
7378 different cache variables.
7379 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
7380 uses different cache variables.
7381 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
7382 * configure: Regenerated.
7384 2000-10-08 Richard Henderson <rth@cygnus.com>
7386 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
7387 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
7388 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
7391 * config/t-linux (SHLIB_EXT): New.
7392 (SHLIB_LINK): Use the entire build command, with substitutions.
7393 (SHLIB_LIBS): Remove.
7394 * config/alpha/t-osf4: Likewise.
7395 * config/mips/t-iris6: Likewise.
7396 * config/sparc/t-sol2: Likewise, but move shlib stuff...
7397 * config/sparc/t-slibgcc-sld: ...here.
7398 * config/sparc/t-slibgcc: New file.
7400 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7402 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
7403 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
7405 (intmax_type_node, uintmax_type_node): Define.
7406 * c-common.c (decl_attributes): If pedantic, warn if `mode'
7407 attributes create a type wider than intmax_t.
7408 (T_IM, T_UIM): Define properly.
7409 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
7411 (init_decl_processing): Initialize intmax_type_node and
7413 * c-lex.c (lex_number): When pedantic and warning for integer
7414 constants that are too large, in C99 mode warn for those that have
7415 a type wider than long long.
7417 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7419 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
7420 FMT_FLAG_FANCY_PERCENT_OK): Define.
7421 (format_char_info): Add flag "4" to comment.
7422 (format_flag_spec, format_flag_pair): New structures.
7423 (format_kind_info): Add additional fields to control format
7425 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
7426 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
7428 (time_char_table): Use "4" flag to handle %Ey.
7429 (format_types): Add entries for new fields.
7430 (get_flag_spec): New function.
7431 (check_format_info): Increase size of flag_chars[] to 256.
7432 Control format checking using the new fields of a format_kind_info
7433 and the new tables; remove all conditionals on printf_format_type,
7434 scanf_format_type or strftime_format_type. Handle all details of
7435 bad combinations of flags (including width, precision and strftime
7436 modifiers) through data rather than ad hoc code. Handle all
7437 details of standard versions in which flags appeared through
7438 data. Use the "4" flag.
7440 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
7442 * config/h8300/h8300.md: Remove the memory alternative and correct
7443 the insn lengths in the templates for sign extention and zero
7446 2000-10-07 Richard Henderson <rth@cygnus.com>
7448 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
7449 * flow.c (make_edges): Revert last change.
7451 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
7453 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7455 2000-10-06 David O'Brien <obrien@dragon.nuxi.com>
7457 * config/alpha/elf.h: Standardize the formatting.
7459 2000-10-06 David O'Brien <obrien@FreeBSD.org>
7461 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
7464 2000-10-06 Richard Henderson <rth@cygnus.com>
7466 * function.c (diddle_return_value): Examine
7467 current_function_return_rtx instead of the DECL_RESULT.
7468 (expand_function_end): Handle reloading DECL_RESULT from memory
7469 into a hard register. Query promote_mode for sign of mismatched
7472 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7474 * haifa-sched.c (schedule_insns): Fix typo in freeing
7475 forward_dependency_cache.
7477 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
7479 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
7480 `TARGET_SH2' as a condition.
7482 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7484 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
7485 forward_dependency_cache): New variables.
7486 (add_dependence, remove_dependence): Use anti_dependency_cache and
7487 output_dependency_cache.
7488 (compute_block_forward_dependences): Use forward_dependency_cache.
7489 (schedule_insns): Allocate and free memory for anti/output/forward
7490 dependencies caches.
7492 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
7494 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
7495 `! TARGET_SH1'. Reindent.
7497 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7499 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
7500 Move functions from here ...
7502 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
7504 (c_expand_builtin): New function.
7505 (init_function_format_info): Don't set `check_function_format_ptr'.
7506 (c_common_nodes_and_builtins): Set built_in_class type for
7507 printf/__builtin_printf to BUILT_IN_FRONTEND.
7508 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
7510 * c-common.h (build_function_call): Declare.
7512 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
7513 to `lang_expand_expr' rather than `expand_builtin'.
7515 * tree.c (check_function_format_ptr): Delete.
7517 * tree.h (check_function_format_ptr): Likewise.
7519 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
7521 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
7522 DW_OP_bregx when cfa->reg > 31.
7524 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
7527 2000-10-05 Richard Henderson <rth@cygnus.com>
7529 * c-decl.c (warn_missing_noreturn): Remove.
7530 (c_expand_body): Don't set or check can_reach_end.
7531 * c-tree.h (warn_missing_noreturn): Move ...
7532 * flags.h: ... here.
7533 (can_reach_end): Remove.
7534 * flow.c (check_function_return_warnings): New.
7535 (make_edges): No edge to exit for noreturn sibcalls.
7536 * function.c (expand_function_end): Save the return value
7537 clobber instruction.
7538 (mark_function_status): Mark it.
7539 * function.h (struct function): Add x_clobber_return_insn.
7540 * jump.c (can_reach_end): Remove.
7541 (calculate_can_reach_end): Remove.
7542 (jump_optimize_1): Don't call it.
7543 * output.h (check_function_return_warnings): Declare.
7544 * toplev.c (warn_missing_noreturn): Move from c-decl.c
7545 (rest_of_compilation): Call check_function_return_warnings.
7547 2000-10-05 Richard Henderson <rth@cygnus.com>
7549 * Makefile.in (NM_FOR_TARGET): New.
7550 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
7551 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
7552 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
7553 shared library build on that and EXTRA_MULTILIB_PARTS.
7554 * mkmap-flat.awk: New file.
7555 * mkmap-symver.awk: New file.
7556 * libgcc-std.ver: New file.
7557 * config/libgcc-glibc.ver: New file.
7558 * config/ia64/libgcc-ia64.ver: New file.
7559 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7560 (SHLIB_LINK): Add --version-script.
7561 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
7562 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7563 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7564 (SHLIB_LINK): Add -M.
7566 2000-10-05 Richard Henderson <rth@cygnus.com>
7568 * Makefile.in (LIB2FUNCS): Add _clz.
7569 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
7570 (__clz_tab): Put in its own unit, non-static.
7571 * libgcc2.h: Always include longlong.h.
7573 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
7574 a zero instead of -1.
7575 (count_trailing_zeros): Likewise.
7577 2000-10-05 Richard Henderson <rth@cygnus.com>
7579 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
7580 when second op1 is const0_rtx. Validate op0 as a register.
7581 * config/alpha/alpha.md (setcc_internal): Don't allow constants
7582 in the first argument of the compare.
7583 (setcc_swapped_internal): Likewise.
7584 (setne_internal): Likewise.
7586 2000-10-05 Geoff Keating <geoffk@cygnus.com>
7588 * tree.c (tree_size): New function split out of copy_node.
7589 (make_node): Remove obstack handling. Use tree_size.
7590 (copy_node): Use tree_size.
7591 * tree.h: Prototype tree_size.
7593 2000-10-05 Richard Henderson <rth@cygnus.com>
7595 * diagnostic.c (output_format): Add missing break.
7597 2000-10-05 Jim Wilson <wilson@cygnus.com>
7599 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
7600 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
7601 sequence insn to INSN, and delete last sequence insn.
7603 2000-10-05 Phil Edwards <pme@gcc.gnu.org>
7605 * gcc.c (main): Include generated configargs.h header
7606 and use arguments in '-v' output.
7608 Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7610 * gcc.c: Move data on prefixes forward in file and reorganize.
7611 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
7612 Always define, but make null if no value.
7613 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
7614 and "md_startfile_prefix_1".
7615 (main): Check whether md_exec_prefix and the others are the
7616 null string rather than whether the macro is defined.
7618 Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7620 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
7621 from PSImode to SImode.
7623 2000-10-05 Jakub Jelinek <jakub@redhat.com>
7625 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
7626 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
7627 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
7630 Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7632 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
7633 negation in proper type.a
7635 2000-10-04 Richard Henderson <rth@cygnus.com>
7637 * configure.in (enable-shared): New.
7638 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
7639 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
7640 * mklibgcc.in: Use them to link shared a libgcc.
7641 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
7642 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
7643 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
7644 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
7646 * configure.in (alpha-osf*): Use t-osf and x-osf.
7647 * config/alpha/t-osf: New file.
7648 * config/alpha/t-osf4: New file.
7649 * config/alpha/x-osf: New file.
7650 * config/alpha/x-alpha: Remove file.
7652 2000-10-04 Will Cohen <wcohen@redhat.com>
7654 * c-typeck.c (process_init_element): Added warning for zero-length
7657 * extend.texi (Zero Length): State that static initializers for
7658 zero-length arrays are not allowed.
7660 Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
7662 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
7665 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7667 * config/float-c4x.h: New.
7668 * configure.in (c4x-*): Set float_format to c4x.
7669 * configure: Regenerate.
7671 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7673 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
7674 compilation for solaris versions 2.7 and greater.
7676 2000-10-02 Marc Espie <espie@openbsd.org>
7678 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
7679 instead of redefining from scratch.
7681 2000-10-02 David O'Brien <obrien@dragon.nuxi.com>
7683 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
7685 2000-10-01 Mark Mitchell <mark@codesourcery.com>
7687 * config/ns32k/genix.h: Remove.
7688 * config/ns32k/x-genix: Likewise.
7689 * config/ns32k/xm-genix.h: Likewise.
7690 * config/fx80: Remove all filee in directory.
7691 * config/pyr: Likewise.
7692 * config/tahoe: Likewise.
7693 * config/gmicro: Likewise.
7694 * config/spur: Likewise.
7695 * configure.in: Remove configury bits for above targets.
7696 * configure: Regenerated.
7698 * configure.in: Don't configure chill by default.
7699 * configure: Regenerated.
7701 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
7702 (lang_mark_false_label_stack): Remove.
7703 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
7704 <top level> string in GC area.
7705 (mark_splay_tree_node): New function.
7706 (mark_splay_tree): Likewise.
7707 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
7709 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
7710 * ggc-common.c (lang_mark_false_label_stack): Change type.
7711 * ggc.h (ggc_alloc_string): Add comment.
7712 (ggc_strdup): New function.
7714 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
7716 * config/avr/avr.h (BRANCH_COST): Define as 0.
7718 * config/pdp11/pdp11.c: #include "tree.h" added.
7720 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
7722 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
7723 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
7724 with known shift count.
7725 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
7726 New alternative for shift count 2 with no scratch register.
7727 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
7728 "set_n" for shift counts 1 and 2.
7730 2000-09-30 Geoff Keating <geoffk@cygnus.com>
7732 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
7733 the mask value from the individual SET operations.
7734 (return_internal_si): Move the USE after the RETURN.
7735 (return_internal_di): Likewise.
7736 (return_and_restore_fpregs_si): Likewise.
7737 (return_and_restore_fpregs_di): Likewise.
7738 (return_eh_si): Likewise.
7739 (return_eh_di): Likewise.
7740 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
7742 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
7743 Don't generate a PARALLEL around a single operation movsi_to_cr.
7744 Generate the RETURN first in any PARALLELs.
7746 * rtlanal.c (single_set_1): Use fatal_insn to display the
7747 invalid insn. Check for more cases when a USE or CLOBBER occurs
7749 * Makefile.in: Update dependencies for rtlanal.o.
7751 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7753 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
7755 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7757 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
7758 Consistently use @email for formatting email addresses.
7760 2000-09-29 Richard Henderson <rth@cygnus.com>
7762 * cse.c (notreg_cost): New argument outer.
7763 (COST): Pass in SET to notreg_cost
7765 (fold_rtx): Use COST_IN. Prefer constants when costs
7768 2000-09-29 David Edelsohn <edelsohn@gnu.org>
7770 * fixinc/inclhack.def (broken_cabs): Generalize regex.
7771 * fixinc/fixincl.x: Regenerate.
7773 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7775 * loop.c (check_final_value): A GIV is not replaceable if used
7778 Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
7780 * version.c: Bump to gcc-2.97.
7782 Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
7784 * final.c (final_scan_insn): Remove extra extract_insn call;
7785 Use caching for constrain_operands.
7786 (cleanup_subreg_operands): Use caching for extract_insn.
7787 * recog.c (constrain_operands_cached): New.
7788 * recog.h (constrain_operands_cached): Declare.
7789 * i386.c (ix86_attr_length_immediate_default,
7790 ix86_attr_length_address_default, ix86_agi_dependant): Cache
7793 * recog.c (asm_noperands): Tweak.
7794 (extract_insn): Do not call asm_noperads for non-asm instructions.
7796 Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
7798 * recog.c (recog_memoized): Rename to recog_memoized_1.
7799 * recog.h (recog_memoized): Rename to recog_memoized_1.
7800 (recog_memoized): New macro.
7801 * rtl.h (single_set): Rename to single_set_1
7802 (single_set): New macro.
7803 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
7806 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
7807 Do not use match_dup of input operands at outputs.
7808 Use register_operand for memory expression.
7809 (rep_movsi): Put use last, canonicalize.
7810 Use register_operand for memory expression.
7811 (rep_movqi): Put use last.
7812 Use register_operand for memory expression.
7813 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
7814 of input operands at outputs. Use register_operand for memory
7816 (rep_stossi): Put use last; canonicalize; fix match_dup in
7817 the address expression
7818 (rep_stosqi): Likewise.
7819 (memcmp expander): Update calls.
7820 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
7823 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
7825 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
7827 2000-09-28 David O'Brien <obrien@FreeBSD.org>
7829 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
7830 Contains the old contents of config/i386/freebsd.h
7831 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
7832 Contains the old contents of config/i386/freebsd-elf.h
7833 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
7834 config/i386/freebsd.h.
7835 * configure.in: Adjust for above changes.
7836 * po/POTFILES.in: Likewise.
7837 * po/en_GB.po: Likewise.
7838 * po/gcc.pot: Likewise.
7839 * configure: Rebuilt.
7841 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7843 * doloop.c (doloop_modify): Prevent delete_insn() from
7844 deleting too much. Prefer loop->top over loop->start as
7845 target for the new JUMP insn.
7846 (doloop_valid_p): Ignore loop with exit_count != 0.
7848 2000-09-28 Philipp Thomas <pthomas@suse.de>
7850 * invoke.texi (i386 Options): Add athlon to table of possible
7853 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
7855 * diagnostic.h (output_clear_message_text): New function.
7856 (output_message_text): New macro.
7858 * diagnostic.c (clear_text_info): Rename to
7859 output_clear_message_text.
7860 (output_clear): Adjust.
7861 (output_finish): Rename to output_finalize_message. Tweek.
7862 (output_to_stream): Adjust.
7864 2000-09-28 Neil Booth <neilb@earthling.net>
7866 * cpperror.c (_cpp_begin_message): Do the test for suppression
7867 of warnings and pedantic warnings before the "is a warning an
7869 * cppinit.c (cpp_handle_option): Remove surplus \n.
7870 * cpplex.c (ON_REST_ARG): Delete.
7871 (skip_block_comment): Initialise prevc.
7872 (parse_args): Improve error messages.
7873 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
7875 * cpplib.c (cpp_push_buffer): Fix grammar in message.
7876 * cppmain.c (main): Set callbacks for #ident and #pragma
7877 only if no_output option is false.
7878 (do_pragma_implementation): Only call the #pragma handler
7879 if it is set in the cpp_reader structure.
7881 Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
7883 * integrate.c (copy_insn_list): if an ignored return value
7884 is being clobbered, skip cloning that into the inline copy.
7886 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
7888 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
7889 use @uref for formatting URLs.
7891 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
7893 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
7896 Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
7898 * gcc.c (cpp_options): Add spec for -ftabstop=.
7899 (invoke_as): New spec that handles invoking as.
7900 Update specs to handle -save-temps and -traditional.
7901 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
7903 * cp/lang-specs.h, objc/lang-specs.h: Update to use
7904 invoke_as, and handle -save-temps and -traditional (if
7907 2000-09-26 Jakub Jelinek <jakub@redhat.com>
7909 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
7911 (function_arg_slotno): Accept TImode/CTImode.
7912 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
7915 2000-09-26 Michael Hayes <mhayes@cygnus.com>
7917 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
7920 2000-09-25 Jim Wilson <wilson@cygnus.com>
7922 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
7923 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
7924 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
7925 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
7927 Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
7929 * cpplex.c (parse_args): Don't set VOID_REST flag.
7930 (CONTEXT_VARARGS): New flag.
7931 (maybe_paste_with_next): Set context earlier in loop. Use
7932 it. Do varargs test with CONTEXT_VARARGS flag.
7933 (push_arg_context): Set CONTEXT_VARARGS flag if we're
7934 pushing an argument context for a varargs argument.
7935 * cpplib.h (VOID_REST): Delete.
7936 * gcc.dg/cpp/vararg1.c: Add test case.
7938 2000-09-25 Branko Cibej <branko.cibej@hermes.si>
7940 * flags.h: Declare warning flag warn_system_headers.
7941 * toplev.c: Define it.
7942 (W_options): Add option -Wsystem-headers.
7943 * diagnostic.c (count_error): Test warn_system_headers.
7944 * invoke.texi: Add description for -Wsystem-headers.
7945 * cpplib.h (cpp_options): New member warn_system_headers.
7946 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
7947 CPP_IN_SYSTEM_HEADER.
7948 * cpplib.c (do_import, do_pragma_once): Likewise.
7949 * cpperror.c (_cpp_begin_message): Test warn_system_headers
7950 and CPP_IN_SYSTEM_HEADER.
7951 * cppinit.c (handle_option): Recognize -Wsystem_headers.
7952 (print_help): Describe -Wsystem_headers.
7953 * cpplex.c (lex_line): Reorganize condition so that warnings
7954 about C++ comments in system headers can be enabled. Remove
7955 label do_line_comment.
7957 Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
7959 * cpplex.c (save_comment): Only store the initial '/'
7961 (lex_token): Combine handling of the two comment types.
7962 Pass everything but the initial '/' to save_comment.
7964 Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
7966 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
7967 _cpp_can_paste): New library-internal prototypes.
7968 * cpplex.c (dump_param_spelling, output_line_command,
7969 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
7970 cpp_printf, cpp_output_list): Move to cppoutput.c.
7971 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
7972 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
7974 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
7975 dump_param_spelling, output_line_command, cpp_scan_buffer,
7976 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
7978 * Makefile.in: Add cppoutput.c.
7979 * po/POTFILES.in: Add cppoutput.c.
7981 2000-09-25 Richard Henderson <rth@cygnus.com>
7983 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
7984 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
7985 split until after reload.
7986 (rotlsi3, rotldi3): New.
7988 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
7990 * diagnostic.c (output_last_position): Define.
7991 (set_real_maximum_length): Tweek.
7992 * diagnostic.h (output_last_position): Declare.
7994 2000-09-25 Kazu Hirata <kazu@hxi.com>
7996 * config/i386/i386.c: Fix formatting.
7998 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
8000 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
8001 UNITS_PER_WORD is small.
8003 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
8005 * c-common.c (format_char_info): Add flags2; update comments.
8006 (print_char_table, scan_char_table, time_char_table): Split some
8007 flags out into flags2.
8008 (check_format_info): Use flags2 for those flags, for identifying
8009 the initial character of a scanf scanset, and for identifying
8010 printf formats where the '0' flag is ignored with precision.
8012 2000-09-25 Hans-Peter Nilsson <hp@axis.com>
8014 Changes below marked "here" add TABs on either or both sides,
8015 covering start of line, up to any operand for all noted .*ASM.*_OP
8016 definitions. All callers changed.
8017 * tm.texi: Make documented *_ASM.*_OP:s include spacing
8018 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
8019 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8020 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8021 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
8022 Fix typos in description for LONG_LONG_TYPE_SIZE and
8023 FINI_SECTION_ASM_OP.
8024 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
8025 why these defaults don't have leading spacing.
8026 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
8027 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8028 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
8029 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
8030 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
8031 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
8032 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
8033 * varasm.c (ASM_STABS_OP): Here.
8034 * xcoffout.h (ASM_STABS_OP): Here.
8035 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8036 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8037 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
8038 STRING_ASM_OP): Here.
8039 * config/freebsd.h (IDENT_ASM_OP): Here.
8040 * config/linux-aout.h (SET_ASM_OP): Here.
8041 * config/linux.h (SET_ASM_OP): Here.
8042 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8044 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8045 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
8046 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8047 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8049 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8050 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8051 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
8052 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8053 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
8054 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8055 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8056 * config/a29k/udi.h (INT_ASM_OP): Here.
8057 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
8058 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8060 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
8061 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8062 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8063 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
8064 ASM_STABD_OP): Here.
8065 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
8066 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
8067 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8068 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
8069 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
8070 SIZE_ASM_OP, STRING_ASM_OP): Here.
8071 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
8072 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
8073 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
8074 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8075 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8076 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
8078 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8079 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
8080 * config/arm/coff.h (INT_ASM_OP): Here.
8081 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8082 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
8083 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
8084 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
8085 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8086 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8087 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
8088 STRING_ASM_OP): Here. Update documentation copy in comments.
8089 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
8090 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
8091 DATA_SECTION_ASM_OP): Here.
8092 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
8094 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
8095 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8096 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8097 BSS_SECTION_ASM_OP): Here.
8098 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8099 BSS_SECTION_ASM_OP): Here.
8100 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8102 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
8103 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8104 * config/h8300/h8300.h (ASM_WORD_OP): Here.
8105 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8106 BSS_SECTION_ASM_OP): Here.
8107 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
8108 * config/i386/bsd.h (ASM_BYTE_OP): Here.
8109 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
8110 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
8111 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
8113 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
8114 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
8116 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
8117 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8118 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
8119 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8121 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
8122 * config/i386/netbsd.h (INT_ASM_OP): Here.
8123 * config/i386/openbsd.h (INT_ASM_OP): Here.
8124 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
8125 IDENT_ASM_OP): Here.
8126 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
8127 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
8128 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
8129 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
8130 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
8131 SHARED_BSS_SECTION_ASM_OP): Here.
8132 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
8133 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8134 DATA_SECTION_ASM_OP): Here.
8135 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8136 CONST_SECTION_ASM_OP): Here.
8137 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
8138 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8139 BSS_SECTION_ASM_OP): Here.
8140 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
8141 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
8142 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
8143 BSS_ASM_OP): Here, but use trailing spaces.
8144 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8145 DATA_SECTION_ASM_OP): Here.
8146 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
8148 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
8149 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
8150 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8151 TDESC_SECTION_ASM_OP): Here.
8152 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
8153 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8154 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8156 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8157 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8158 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8159 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8160 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
8161 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
8162 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8163 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
8164 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
8165 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
8166 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8167 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8169 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8170 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8171 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
8172 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
8173 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
8174 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
8175 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
8176 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8177 GLOBAL_ASM_OP): Here.
8178 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
8179 BSS_SECTION_ASM_OP): Here.
8180 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
8181 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8182 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
8183 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
8185 * config/m68k/newsgas.h (SET_ASM_OP): Here.
8186 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
8187 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8188 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8189 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8190 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
8191 but use trailing spaces.
8192 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
8193 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
8194 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
8196 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8197 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8198 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8199 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8200 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8201 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
8202 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
8203 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
8204 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
8205 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
8206 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8207 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
8209 * config/m88k/openbsd.h (SET_ASM_OP): Here.
8210 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8211 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8212 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
8213 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
8214 DTORS_SECTION_ASM_OP): Here.
8215 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
8216 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8217 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
8218 BSS_SECTION_ASM_OP): Here.
8219 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
8220 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
8221 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
8222 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
8223 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
8224 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8225 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
8226 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
8228 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
8230 * config/mips/osfrose.h (SET_ASM_OP): Here.
8231 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
8232 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
8233 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
8234 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8236 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
8237 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
8238 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
8239 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
8240 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
8241 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8243 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8245 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
8246 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
8247 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
8249 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
8250 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
8251 * config/sparc/linux.h (COMMON_ASM_OP): Here.
8252 * config/sparc/linux64.h (COMMON_ASM_OP,
8253 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8254 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
8255 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8256 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
8257 * config/sparc/pbd.h (ASM_INT_OP): Here.
8258 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
8259 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8260 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
8261 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
8262 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
8263 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
8264 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
8265 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
8266 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8267 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8268 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8269 EH_FRAME_SECTION_ASM_OP): Here.
8270 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
8271 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8273 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8275 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
8276 TCOMMON_ASM_OP): Here.
8277 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8279 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8282 2000-09-25 Richard Henderson <rth@cygnus.com>
8284 * expmed.c (store_bit_field): Adjust last change to not consider
8285 any word-sized field naturally aligned.
8287 2000-09-24 Richard Henderson <rth@cygnus.com>
8289 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
8290 TFmode unordered compares properly. Revalidate integer compare
8292 (alpha_emit_setcc): New.
8293 (alpha_emit_conditional_move): Revalidate integer compare operands.
8294 * config/alpha/alpha-protos.h: Update.
8295 * config/alpha/alpha.md (cmpdi): Allow general operands.
8296 (sne): Use alpha_emit_setcc.
8297 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
8298 (sunordered, sordered): New.
8300 2000-09-24 Richard Henderson <rth@cygnus.com>
8302 * config/ia64/ia64-protos.h: Update.
8303 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
8304 (ia64_expand_call): New.
8305 (ia64_expand_prologue): Emit an alloc if we need extra input
8307 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
8308 instruction if true.
8309 (struct reg_flags): Add is_sibcall.
8310 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
8311 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
8312 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
8313 * config/ia64/ia64.h (PREDICATE_CODES): Update.
8314 * config/ia64/ia64.md (call): Use ia64_expand_call.
8315 (call_value): Likewise.
8316 (sibcall, sibcall_value): New.
8317 (call patterns): Remove extra expanders; tidy.
8318 (sibcall_epilogue): New.
8319 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
8321 2000-09-24 Richard Henderson <rth@cygnus.com>
8323 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
8325 * sibcall.c (skip_pic_restore): New.
8326 (identify_call_return_value): Use it.
8328 2000-09-24 Mark Mitchell <mark@codesourcery.com>
8330 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
8331 functions. Generalize to handle both C and C++.
8332 * Makefile.in (c-tree.info): New target.
8333 (info): Add c-tree.info.
8335 Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8337 * expr.c (store_field): If BITSIZE is negative, use size of type.
8338 (expand_expr, case COMPONENT_EXPR): Likewise.
8340 Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
8342 * cpplex.c: Update TODO comment.
8343 * cpplib.c (do_error, do_warning): Merge common code of
8344 do_error and do_warning into do_diagnostic. Use it.
8345 (do_diagnostic): New function.
8346 * cpplib.h: Fix comment typo.
8348 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8350 * c-common.c (check_format_info): Warn for a wide character string
8351 used as a non-wide format argument.
8353 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8355 * builtins.def (BUILT_IN_LLABS): Add.
8356 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
8357 * c-common.c (c_common_nodes_builtins): Create builtin functions
8358 __builtin_llabs, and plain llabs unless no_nonansi_builtins
8359 outside of C99 mode.
8360 (expand_tree_builtin): Handle BUILT_IN_LLABS.
8362 Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
8364 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
8365 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
8366 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
8367 _cpp_free_toklist): No need to worry about extra dummy token
8368 at the start of token lists any more.
8369 (trigraph_ok): Only warn outside comments.
8370 (skip_block_comment): Set and clear lexing_comment.
8371 (skip_line_comment): Take a cpp_reader not cpp_buffer.
8372 Set and clear lexing_comment.
8373 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
8374 (check_long_token): Delete.
8375 (lex_percent, lex_dot): New subroutines of lex_token to
8376 handle lexing of '.' and '%' without lookback.
8377 (lex_token): Use lex_dot and lex_percent.
8378 (lex_line): Don't check for LIST_OFFSET.
8379 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
8380 * cpplib.c (_cpp_parse_assertion): Similarly.
8381 (cpp_push_buffer): Initialize extra_char.
8382 * cpplib.h (LIST_OFFSET): Delete.
8383 (struct cpp_buffer): New member extra_char.
8384 (struct lexer_state): New members lexing_comment and seen_dot.
8386 2000-09-23 Jason Merrill <jason@redhat.com>
8388 * config/rs6000/x-aix41 (CLIB): Define here.
8389 * config/rs6000/t-aix43: Not here.
8390 * config/rs6000/t-aix41: Or here. Remove.
8391 * configure.in: Don't use it.
8393 2000-09-22 Jason Merrill <jason@redhat.com>
8395 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
8396 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
8397 * config.in: Regenerate.
8399 * configure.in: Fix checks for assembler features when using a
8400 one-tree assembler that has not yet been built.
8401 Fix --disable-threads.
8403 2000-09-19 Geoff Keating <geoffk@cygnus.com>
8405 * stmt.c (expand_asm_operands): Allow # in constraints.
8407 2000-09-22 Jason Merrill <jason@redhat.com>
8409 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
8411 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
8412 function-local names.
8414 2000-09-22 Brad Lucier <lucier@math.purdue.edu>
8415 Mark Mitchell <mark@codesourcery.com>
8417 * toplev.c (warn_disabled_optimization): Declare new warning flag.
8418 * flags.h (warn_disabled_optimization): Add it here.
8419 * gcse.c (gcse_main): Add warning when disabled.
8420 * invoke.texi: Document -Wdisabled-optimization.
8422 2000-09-21 Jason Merrill <jason@redhat.com>
8424 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
8426 * dwarf2out.c (tree_add_const_value_attribute): New fn.
8427 (gen_variable_die): Call it for non-definitions.
8429 * dwarf2out.c (die_struct): Add die_mark field.
8430 (mark_dies, unmark_dies): New fns.
8431 (clear_die_sizes): Remove.
8432 (print_die): Check die_symbol rather than die_offset.
8433 (build_abbrev_table, output_pubnames, output_aranges): Check
8434 die_mark rather than die_offset.
8435 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
8438 Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
8440 * cppfiles.c (lookup_include_file): Rename to open_file.
8441 Always create a splay tree value, even on syscall failures.
8442 Negative entries indicated by fd == -2.
8443 Re-open files closed in the meantime.
8444 (_cpp_fake_include): Create a negative splay tree entry.
8445 (find_include_file, cpp_read_file): Update for function name
8447 * gcc.gd/cpp/mi4.c: Testcase.
8449 2000-09-21 Nick Clifton <nickc@redhat.com>
8451 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
8452 ARM and THUMB modes.
8454 * config/mcore/mcore.c: Fix compile time warnings.
8455 * config/mcore/mcore-protos.h: Fix compile time warnings.
8457 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8459 * configure.in: Correct test of gcc_cv_glibc.
8460 * configure: Rebuilt.
8461 * config.in: Rebuilt.
8463 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8465 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
8466 (expand_builtin): Handle BUILT_IN_FWRITE.
8468 * builtins.def (BUILT_IN_FWRITE): New entry.
8470 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
8472 Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8474 * gcc.c (modify_target): New variable and struct.
8475 (process_command): Handle MODIFY_TARGET_NAME.
8476 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
8477 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
8479 * c-decl.c (finish_decl): Add else's to avoid referencing
8480 TYPE_DOMAIN of an ERROR_MARK.
8482 Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
8484 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
8487 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
8489 * config/avr/avr.md (neghi2): Add alternative for input and output
8490 operands in different registers, as in negsi2.
8491 (*negsi2): Remove '*' from the name. Use "movw" if available.
8493 2000-09-19 Jim Wilson <wilson@cygnus.com>
8495 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
8496 HAVE_GAS_HIDDEN macro.
8498 Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
8500 * cpplex.c (lex_line): Drop the EOF token for unknown
8501 directives in assembler.
8503 2000-09-19 David Edelsohn <edelsohn@gnu.org>
8505 * configure.in: Allow enable_threads_flag value of "aix". Define
8506 thread_file as "aix" for AIX 4.3 and above.
8507 * configure: Regenerated.
8509 * gthr-aix.h: New file.
8511 * rs6000/t-aix43: Replace soft-float multilib with pthread.
8512 Remove 403 processor multilib match. Fix rios2 processor multilib
8515 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
8516 to return to appropriate csect.
8518 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8520 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
8522 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
8523 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
8526 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
8529 * c-common.c (init_function_format_info): Handle __builtin_printf.
8530 Set `check_function_format_ptr'.
8531 (c_common_nodes_and_builtins): Set `puts_ftype' and
8532 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
8533 __builtin_printf and printf.
8535 * tree.c, tree.h (check_function_format_ptr): Declare.
8537 Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
8539 * cppfiles.c (read_include_file): Take no special action for
8542 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
8544 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
8545 rather than that of branch.
8546 (shorten_branches): Don't increment insn_current_address twice.
8548 Undo most of the Wed Jan 27 23:39:53 1999 patch:
8549 * loop.h (struct induction): Delete members derived, ix and last_use.
8550 (struct loop_ivs): Delete members first_increment_giv and
8552 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
8553 recombine_givs): Delete functions.
8554 (find_and_verify_loops): Don't initialize cont_dominator.
8555 (strength_reduce): Lose code to try to find bivs that can be
8556 expressed as givs of another biv, and to convert biv increments
8558 Lose loop_scan_start variable, always use loop->scan_start.
8559 Don't call recombine_givs. Don't handle derived givs.
8560 (record_giv): Don't initialize derived and last_use fields.
8561 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
8563 * unroll.c (derived_regs): Delete static variable.
8564 (unroll_loop): Don't initialize it.
8565 (copy_loop_body): Lose code to handle derived givs.
8566 (find_splittable_givs): Don't check for givs made from biv
8568 Don't set derived_regs.
8570 Fix misapplied earlier patch:
8571 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
8573 (floatsisf2): Generate floatsisf_ie by default.
8574 (floatsisf_i4): Conditional on TARGET_SH4.
8576 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
8577 predicate for the expanders.
8579 2000-09-19 Richard Henderson <rth@cygnus.com>
8581 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
8582 in addition to pentium and pentiumpro symbols.
8583 (CPP_CPU_DEFAULT_SPEC): Likewise.
8585 * c-typeck.c (c_expand_asm_operands): Restore the output tree
8588 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
8589 if the tree has side effects.
8590 (warn_if_unused_value): Do not warn about void constructs.
8592 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
8594 * unroll.c (copy_loop_body): Update LABEL_NUSES before
8595 calling invert_jump.
8597 2000-09-18 Geoff Keating <geoffk@cygnus.com>
8599 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
8602 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8604 * Makefile.in (c-common.o): Depend on diagnostic.h.
8606 * c-common.c: Include diagnostic.h.
8608 (status_warning): New function.
8609 (check_format_info, maybe_read_dollar_number, check_format_types,
8610 finish_dollar_format_checking, check_function_format): Accept a
8611 `status' parameter. All callers changed.
8613 * c-common.h (check_function_format): Accept a `status' parameter.
8615 * c-typeck.c: Update call to `check_function_format'.
8617 2000-09-18 Richard Henderson <rth@cygnus.com>
8619 * c-decl.c (c_expand_body): Call mark_varargs before
8620 expand_function_start.
8622 2000-09-18 Geoff Keating <geoffk@cygnus.com>
8624 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
8625 * config/rs6000/eabi-ci.asm: Likewise.
8627 2000-09-18 Richard Henderson <rth@cygnus.com>
8629 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
8632 2000-09-18 Jim Wilson <wilson@cygnus.com>
8634 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
8635 before passing it to fold_rtx_mult_add.
8637 * unroll.c (final_giv_value): Pass increment through
8638 extend_value_for_giv before passing it to emit_iv_add_mult.
8640 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
8641 paradoxical subreg, then directly substitute the replacement and
8644 Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
8646 * cpp.texi: Update documentation, including some clarifications,
8647 the treatment of various newline combinations, and space between
8648 backslash and newline.
8650 Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8652 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
8653 Replace ASM_OUTPUT_LABELREF with assemble_name.
8655 Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8657 * sh.c (addsubcosts): CONST is not cheap.
8658 (find_barrier): For Sh1, take alignment after jumps into account.
8660 2000-09-15 Andrew Haley <aph@redhat.com>
8662 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
8663 remove all SETs of SUBREGs of hard registers.
8664 * function.c (purge_hard_subreg_sets): New function.
8665 (purge_single_hard_subreg_set): New function.
8666 * rtl.h: (purge_hard_subreg_sets): New function.
8668 2000-09-18 Richard Henderson <rth@cygnus.com>
8670 * config/ia64/ia64-protos.h: Update.
8671 * config/ia64/ia64.c (signed_inequality_operator): New.
8672 (ia64_expand_compare): New.
8673 (ia64_register_move_cost): Handle PR_REGS moves.
8674 (ia64_secondary_reload_class): Require a GR when moving to a PR.
8675 (struct reg_write_state): Add written_by_and/or.
8676 (struct reg_flags): Add is_and/or.
8677 (rws_update): Set them.
8678 (rws_access_regno): Test them to allow parallel comparisons.
8679 (rtx_needs_barrier): Recognize parallel comparisons.
8680 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
8681 Call recog_memoized; ignore pred_rel_mutex.
8682 (emit_predicate_relation_info): Don't call find_basic_blocks here.
8683 (ia64_reorg): Do it here instead.
8684 * config/ia64/ia64.h: s/CCmode/BImode/g
8685 (MODES_TIEABLE_P): Don't tie BImode.
8686 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
8687 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
8688 (RTX_COSTS): Make multiply 4 insns.
8689 (MEMORY_MOVE_COST): New.
8690 (PREDICATE_CODES): Update.
8691 * config/ia64/ia64.md: s/CCmode/BImode/g
8692 (movcci, movbi): New.
8693 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
8694 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
8695 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
8696 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
8697 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
8698 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
8699 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
8700 (mulsi, muldi): Use xmpy not xma.
8702 (movcc, movcc_internal): Remove.
8703 (branch expanders): Use ia64_expand_compare.
8704 (setcc expanders): Likewise.
8705 (cmov insns): Use move_operand and ia64_move_ok.
8706 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
8707 scheduler from moving it past a use.
8708 * config/ia64/build.hacks: Remove.
8710 Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
8712 * cpphash.h (HASHSTEP): Take character rather than pointer
8714 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
8716 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
8718 * cpplex.c (auto_expand_name_space, trigraph_replace,
8719 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
8720 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
8721 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
8722 KNOWN_DIRECTIVE): Delete.
8724 (handle_newline, check_long_token, skip_escaped_newlines,
8725 unterminated): New functions.
8726 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
8728 (parse_identifier): Was parse_name, new implementation.
8729 (skip_line_comment, skip_block_comment, skip_whitespace,
8730 parse_number, parse_string, trigraph_ok, save_comment,
8731 adjust_column, _cpp_get_line): New implementations.
8733 (lex_token): New function. Lexes a token at a time, looking
8734 forwards. Contains most of the guts of the old lex_line.
8735 (lex_line): New implementation, using lex_token to obtain
8737 (cpp_scan_buffer): Use the token's line, not the list's line.
8739 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
8740 New implementations.
8741 (do_assert): Don't bother setting the answer's list's line.
8742 (cpp_push_buffer): Initialise new pfile and read_ahead members
8743 of struct cpp_buffer.
8745 * cpplib.h (cppchar_t): New typedef.
8746 (struct cpp_buffer): read_ahead, pfile and col_adjust are
8748 (struct lexer_state): New structure that determines the state
8749 and behaviour of the lexer.
8750 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
8751 (struct cpp_reader): New member "state". Rename
8752 multiline_string_line and multiline_string_column. Delete
8753 col_adjust, in_lex_line members.
8754 (CPP_BUF_COLUMN): Update.
8756 2000-09-18 Richard Henderson <rth@cygnus.com>
8758 * combine.c (simplify_comparison): Shift a NOT out of a single
8761 * combine.c (if_then_else_cond): Canonicalize BImode true to
8763 * explow.c (trunc_int_for_mode): Likewise.
8765 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
8766 the NOT for De Morgan's rule.
8767 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
8768 of a comparison to the reverse comparison.
8770 * combine.c (try_combine): Allow split to create a single insn.
8772 * machmode.def: Add BImode. Add a column for bitsize.
8773 * machmode.h (DEF_MACHMODE): Adjust for extra column.
8774 (GET_MODE_BITSIZE): Use it.
8775 * rtl.c (DEF_MACHMODE): Adjust for extra column.
8776 (mode_bitsize): New.
8777 (mode_mask_array): Use bitsize.
8778 * combine.c (combine_simplify_rtx): Require inner and outer
8779 modes to match on nonzero_bits optimizations.
8781 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8783 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
8784 its entry in spill_reg_store.
8785 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
8786 * sh.c (reg_no_subreg_operand): New function.
8787 * sh-protos.h (reg_no_subreg_operand): Declare it.
8788 * sh.h (PREDICATE_CODES): Add it.
8789 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
8790 input operand that needs to be in fpul.
8791 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
8792 * sh.c (find_barrier): Take into account that machine_dependent_reorg
8793 might add new insns.
8795 2000-09-18 Alexandre Oliva <aoliva@redhat.com>
8797 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
8799 (sh_expand_epilogue): Take the PIC register into account when
8800 computing the frame size.
8802 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
8803 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
8804 LABEL_REFs with a PIC-safe unspec.
8806 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8808 * c-common.c (check_format_info): Properly save the argument
8809 number and parameter for $ operand number formats in case width
8810 and precision arguments are also used. Allow printf width and
8811 precision arguments to have operand numbers even if none was
8812 specified for the main format, since this is OK for %*.*m. Only
8813 object to missing $ operand number if the format used requires an
8816 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8818 * c-common.c (format_char_info): Add 'W' flag to comment.
8819 (print_char_table, scan_char_table): Use it.
8820 (check_format_info): Use the 'W' flag to determine whether a
8821 format argument is written into.
8823 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8825 * c-common.c (check_format_types): Reorganise and clean up,
8826 checking earlier for ERROR_MARKs and making cur_type into its
8827 TYPE_MAIN_VARIANT where convenient.
8829 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8831 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
8833 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8835 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
8837 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
8838 * i386.c (struct builtin_description): New.
8839 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
8840 (mmx_reg_operand): Declare MODE arg as unused.
8841 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
8842 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
8843 ix86_expand_binop_builtin, ix86_expand_store_builtin,
8844 ix86_init_builtins, ix86_expand_builtin): New functions.
8845 * i386.h (ix86_builtins): New enumeration.
8846 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
8847 * i386.md (attr length_immediate): 0 for mmx/sse types.
8848 (attr prefix_0f): 1 for mmx/sse types.
8849 (setcc_2): Remove "*" so we get gen_setcc_2.
8850 (emms): Account for changed register numbering. Set "memory" attr
8852 (sfence): Set "memory" attr to unknown.
8854 2000-09-18 Andreas Jaeger <aj@suse.de>
8856 * configure.in: Define _GNU_SOURCE only when using the GNU C
8858 * configure: Regenerated.
8859 * config.in: Regenerated.
8861 2000-09-17 Mark Mitchell <mark@codesourcery.com>
8863 * cppinit.c (cpp_init): Don't use ANSI prototypes.
8864 * flow.c (flow_dump_loop): Likewise.
8865 (flow_loops_dump): Likewise.
8867 * c-typeck.c (c_start_case): Fix typo.
8869 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8871 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
8872 to int for plain complex which defaults to complex double. Do
8873 warn about defaulting to complex double if pedantic. Warn about
8874 complex integer types if pedantic. Warn about complex types if
8875 pedantic and not in C99 mode.
8876 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
8877 for complex conjugation.
8879 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8881 * contrib.texi: Update my entry.
8883 Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
8885 * config/avr/avr.md (mcu_enhanced): New attribute.
8886 (mcu_mega): Likewise.
8887 (extendhisi2): Use mcu_enhanced.
8888 (zero_extendhisi2): Likewise.
8889 (call_insn): Use mcu_enhanced and mcu_mega.
8890 (call_value_insn): Likewise.
8891 (*sbrx_branch): Use mcu_mega.
8892 (*sbrx_and_branchsi): Likewise.
8893 (*sbrx_and_branchhi): Likewise.
8894 (*tablejump_lib): Likewise.
8896 Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8898 * alias.c (true_dependence): Allow non-unchanging read to conflict
8899 with unchanging write.
8901 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
8902 (store_constructor): Pass alias_set to it.
8904 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
8905 TYPE_MAIN_VARIANT of ERROR_MARK.
8906 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
8908 * simplify-rtx.c (simplify_unary_operation): Add cases
8909 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
8911 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
8913 * expr.h (emit_library_call, emit_library_call_value): Delete
8915 * rtl.h (enum libcall_type): New.
8916 (emit_library_call, emit_library_call_value): Change fn_type arg to
8917 be of type enum libcall_type.
8918 * calls.c: Likewise for the function definitions. Several callers
8919 throughout changed to use the new enumeration appropriately.
8920 (emit_library_call_value_1): Likewise. Put back code to make libcall
8921 blocks of equal form, but only use it for the two new higher
8924 2000-09-16 Mark Mitchell <mark@codesourcery.com>
8926 Convert the C front-end to use function-at-a-time mode.
8927 * c-common.h: Include splay-tree.h.
8928 (C_DECLARED_LABEL_FLAG): New macro.
8929 (struct language_function): Add x_scope_stmt_stack and
8930 x_function_name_declared_p.
8931 (RECHAIN_STMTS): Move definition.
8932 (lang_statment_code_p): Likewise.
8933 (lang_expand_stmt): Likewise.
8934 (lang_expand_decl_stmt): New variable.
8935 (lang_expand_function_end): Likewise.
8936 (current_scope_stmt_stack): New function.
8937 (add_decl_stmt): Likewise.
8938 (add_scope_stmt): Likewise.
8939 (mark_stmt_tree): Likewise.
8940 (struct c_lang_decl): New structure.
8941 (DECL_SAVED_TREE): Define.
8942 (c_mark_lang_decl): New function.
8943 (c_expand_start_cond): Change prototype.
8944 (c_finish_then): New function.
8945 (c_finish_else): Likewise.
8946 (current_function_name_declared): Remove.
8947 (set_current_function_name_declared): Likewise.
8948 (mark_c_language_function): Declare.
8949 (case_compare): Likewise.
8950 (c_add_case_label): Likewise.
8951 (c_expand_expr): Likewise.
8952 (c_safe_from_p): Likewise.
8953 * c-common.c (lang_expand_function_end): New variable.
8954 (struct if_elt): Add if_stmt.
8955 (c_expand_start_cond): Add the if-statement to the statement-tree,
8956 rather than generating RTL.
8957 (c_finish_then): New function.
8958 (c_expand_start_else): Don't generate RTL.
8959 (c_finish_else): New function.
8960 (c_expand_expr_stmt): Don't generate RTL.
8961 (statement_code_p): Add SCOPE_STMT.
8962 (case_compare): New function.
8963 (c_add_case_label): Likewise.
8964 (mark_stmt_tree): Likewise.
8965 (c_mark_lang_decl): Likewise.
8966 (mark_c_language_function): Likewise.
8967 (c_expand_expr): Likewise.
8968 (c_safe_from_p): Likewise.
8969 * c-decl.c (c_stmt_tree): New variable
8970 (c_scope_stmt_stack): Likewise.
8971 (c_function_name_declared_p): Likewise.
8972 (lang_expand_expr_stmt): Remove.
8973 (poplevel): Don't call output_inline_function for nested
8975 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
8977 (redeclaration_error_message): Change means of computing whether
8978 or not a function is nested.
8979 (lookup_label): Don't call label_rtx.
8980 (init_decl_processing): Add more GC roots.
8981 (start_decl): Add DECL_STMTs to the statement-tree, rather than
8982 calling rest_of_decl_compilation.
8983 (finish_decl): Don't call expand_decl.
8984 (store_parm_decls): Begin the statement-tree, but don't generate
8986 (finish_function): Tie off the statement-tree. Call c_expand_body
8988 (c_expand_body): New function.
8989 (push_c_function_context): Save more information.
8990 (pop_c_function_contxt): Likewise.
8991 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
8992 (lang_mark_tree): Mark it.
8993 (current_stmt_tree): Adjust.
8994 (current_scope_stmt_stack): New function.
8996 (set_current_name_declared): Likewise.
8997 (c_begin_compound_stmt): Define.
8998 (c_expand_decl_stmt): Likewise.
8999 * c-lang.c: Include rtl.h and expr.h.
9000 (lang_init): Set more language-specific hooks.
9001 * c-lex.c: Include expr.h.
9002 * c-parse.in: Changes throughout to add statements to the
9003 statement-tree, rather than generating RTL after every statement.
9004 * c-semantics.c (lang_expand_decl_stmt): Define.
9005 (add_decl_stmt): New function.
9006 (add_scope_stmt): Likewise.
9007 (finish_stmt_tree): Tweak.
9008 (genrtl_expr_stmt): Likewise.
9009 (genrtl_decl_stmt): Handle local labels, and call
9010 lang_expand_decl_stmt if required.
9011 (genrtl_for_stmt): Fix line-number handling.
9012 (genrtl_case_label): Handle cleanups.
9013 (genrtl_asm_stmt): Don't call combine_strings.
9014 (genrtl_compound_stmt): Simplify.
9015 (expand_stmt): Handle SCOPE_STMTs.
9016 * c-tree.h (struct lang_decl): New structure.
9017 (C_DECLARED_LABEL_FLAG): Remove.
9018 (c_begin_compound_stmt): Declare.
9019 (c_expand_decl_stmt): Likewise.
9020 (c_expand_start_case): Rename to c_start_case.
9021 (c_finish_case): New function.
9022 * c-typeck.c (start_init): Tweak setting of
9023 constructor_incremental.
9024 (c_expand_asm_operands): Tweak error-handling. Add to the
9026 (c_expand_return): Add to the statement-tree.
9027 (c_expand_start_case): Rename to ...
9028 (c_start_case): ... this.
9029 (struct c_switch): New type.
9030 (switch_stack): New variable.
9031 (do_case): Simplify.
9032 (c_finish_case): New function.
9033 * dependence.c: Include expr.h.
9034 (enum dependence_type): Change spelling of enumerals.
9035 (check_node_dependence): Adjust.
9036 * expr.h (lang_safe_from_p): Declare.
9037 (safe_from_p): Likewise.
9038 * expr.c (lang_safe_from_p): New variable.
9039 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
9040 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
9041 * toplev.c (rest_of_decl_compilation): Robustify.
9042 * tree.c (contains_placeholder_p): Likewise.
9043 * Makefile.in: Update dependencies.
9044 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
9045 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
9046 (objc_expand_function_end): New function.
9047 (finish_method_def): Use it.
9048 (init_objc): Initialize more language-specific hooks.
9049 * objc/Make-lang.in: Update dependencies.
9051 2000-09-16 Geoffrey Keating <geoffk@cygnus.com>
9053 * configure.in: Define macros that affect features before
9054 testing for features. Don't define _XOPEN_SOURCE.
9055 * configure: Regenerated.
9056 * config.in: Regenerated.
9058 Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
9060 * rtlanal.c (rtx_varies_p): Volatile asms vary.
9061 (rtx_unstable_p): Restructure code. Volatile asms
9064 Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9066 * function.h (no_debugging_symbols): New field.
9067 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
9068 Initialize no_debugging_symbols.
9069 (output_inline_function): Save and restore write_symbols and set from
9070 no_debugging_symbols.
9071 * toplev.c (rest_of_compilation): Call save_for_inline.
9072 * tree.h: Update comment.
9074 * stor-layout.c (place_field): Don't do anything if field or
9075 its type are ERROR_MARK.
9077 Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
9079 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
9080 (read_include_file): Ensure inc->mmaped is initialized.
9082 2000-09-16 Richard Henderson <rth@cygnus.com>
9084 * cppiles.c (purge_cache): Use PTR not caddr_t.
9086 2000-09-16 Hans-Peter Nilsson <hp@axis.com>
9088 * gcc.c: In description for %{<S}, say the option removed is -S.
9089 * invoke.texi (Spec Files): Ditto.
9091 2000-09-16 Andreas Jaeger <aj@suse.de>
9093 * configure.in: Always define _GNU_SOURCE to make interfaces
9094 visible that were hidden by only defining _GNU_SOURCE.
9095 * configure: Regenerated.
9097 Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
9099 * cpplex.c (push_macro_context): Set an argument's level after
9100 calling parse_args. We could loop infinitely otherwise.
9102 2000-09-15 Tom Tromey <tromey@cygnus.com>
9104 * configure, config.in: Rebuilt.
9105 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
9107 2000-09-15 Greg McGary <greg@mcgary.org>
9109 * cppmacro.c (check_trad_stringification): Check token
9110 text pointers against limit before dereferencing.
9112 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
9114 * c-common.c (format_wanted_type): New structure.
9115 (check_format_types): New function.
9116 (check_format_info): Pass all checking of types of format
9117 arguments, including width and precision arguments, to this new
9120 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9122 * BUGS: Remove file.
9124 2000-09-15 Jakub Jelinek <jakub@redhat.com>
9126 * config/alpha/alpha.c (override_options): ev6 cache latencies
9127 from Richard Henderson. Don't allow -mmemory-latency=L0.
9129 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
9130 (TARGET_OPTIONS): Add tune=.
9131 (alpha_tune_string): Declare.
9132 * config/alpha/alpha.c (override_options): Add cpu_table.
9133 Use alpha_cpu_string first to set both alpha_cpu and target_flags
9134 and then alpha_tune_string to set alpha_cpu only.
9135 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
9136 * config/alpha/elf.h (ASM_FILE_START): Likewise.
9137 * config/alpha/osf.h (ASM_FILE_START): Likewise.
9138 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
9140 Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
9142 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
9144 (ix86_comparison_operator, ix86_cc_mode): Declare
9145 * i386.h (CCGC, CCGCO): New modes.
9146 (SELECT_CC_MODE): Move offline to ....
9147 * i386.c (ix86_cc_mode): .... here; use new modes.
9148 (ix86_comparison_operator): New.
9149 (fcmov_comparison_operator): Ensure proper mode.
9150 (put_condition_mode): More sanity checking.
9151 (ix86_match_ccmode): Handle new modes.
9152 (ix86_expand_fp_compare): GEU requires CCmode.
9153 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
9155 * i386.md (cmp?i_ccz_1): Remove
9156 (cmp?i_ccno_1): Use ix86_match_ccmode.
9157 (cmp?i_minus_1): New.
9158 (cmpsi_1): New expander.
9159 (cmpqi_ext_1): Use match_ccmode
9160 (cmpqi_ext_3): New expander.
9161 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
9162 (cmpqi_ext_4): Use match_ccmode.
9163 (add?i_?): Use match_ccmode.
9165 (test?i_ccz_1): Remove
9167 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
9168 (testqi_ext_0): Use ix86_match_ccmode.
9169 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
9170 (xorqi_cc_ext_1): New expander.
9171 (shift patterns): Use CCGOCmode for all shifts except for sar.
9172 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
9173 (setcc_3, jcc_3, miv?icc_c): Remove.
9175 2000-09-15 Will Cohen <wcohen@redhat.com>
9177 * dwarf2out.c (add_const_value_attribute): Changed array into a
9178 xmalloced object, so it exists after function exit.
9179 (free_AT): Added case for dw_val_class_float to free allocated
9182 2000-09-15 Kazu Hirata <kazu@hxi.com>
9184 * config/i386/i386.md: Fix a comment typo.
9185 * gcc.c: Fix formatting.
9187 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9189 * optabs.c (emit_libcall_block): If target is a user variable,
9190 copy to a temporary first.
9191 * expr.c (convert_move): When generating a libcall, make a libcall
9193 * calls.c (emit_library_call_value_1): Don't create a libcall
9194 sequence here; our caller will in most cases do it.
9196 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
9198 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
9199 * sh.md (reload_outsf): Generate recognizable patterns for
9201 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
9202 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
9203 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
9204 truncdfsf2_i4): Change not to use explicit references to fpul.
9205 (floatsisf2_ie): Remove USE of fpscr.
9206 (floatsisf2): Change default expansion to match this.
9207 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
9210 2000-09-15 Richard Henderson <rth@cygnus.com>
9212 * expmed.c (store_bit_field): Consider naturally aligned
9213 memory for direct reference.
9215 2000-09-15 Richard Henderson <rth@cygnus.com>
9217 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
9218 AND addresses into alias set 0.
9219 (alpha_expand_unaligned_store): Likewise.
9220 (alpha_expand_unaligned_load_words): Likewise.
9221 (alpha_expand_unaligned_store_words): Likewise.
9223 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9225 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
9226 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
9228 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
9229 rsize of UNITS_PER_WORD.
9231 Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
9233 * cpplex.c (ON_REST_ARG): Correct the test.
9234 (maybe_paste_with_next): Duplicate a token that fail pasting,
9235 and clear its PASTE_LEFT flag, so that nested pasting attempts
9238 2000-09-14 Richard Henderson <rth@cygnus.com>
9240 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
9241 * cse.c (rtx_cost): Likewise.
9242 * optabls.c (expand_binop): Likewise.
9243 (expand_twoval_binop, prepare_cmp_insn): Likewise.
9244 * regclass.c (copy_cost): Likewise.
9245 * reload1.c (reload_cse_move2add): Likewise.
9247 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
9249 * c-parse.in (reswords): Add _Complex.
9251 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9253 * gcc.1: Delete documentation for -undef preprocessor option.
9255 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
9257 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9258 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
9259 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9260 Remove undefine before config/elfos.h.
9261 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
9263 2000-09-14 Kazu Hirata <kazu@hxi.com>
9265 * invoke.texi (H8/300 Options): Add -ms2600.
9266 * config/h8300.c (h8300_init_once): Output an error when -ms2600
9267 is used without -ms.
9268 * config/h8300.h (TARGET_MAC): New.
9269 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
9270 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
9271 machine other than H8/S2600.
9272 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
9275 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
9277 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
9278 pseudos that refer to the original pseudos, not only to their
9279 equivalent memory locations.
9281 Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9283 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
9284 when making new MEM.
9286 * Makefile.in (LN): Remove duplicate definition.
9288 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9290 From Joern Rennecke:
9291 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
9292 on an insn and function_invariant_p returns nonzero for the source,
9293 add a REG_EQUAL note.
9295 Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
9297 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
9298 conflict with frame_pointer_rtx.
9300 2000-09-13 Kazu Hirata <kazu@hxi.com>
9302 * loop.c: Fix formatting.
9305 2000-09-13 Richard Henderson <rth@cygnus.com>
9307 * config/ia64/ia64.md (divsf3): New.
9308 (divsf3_internal_lat, divsf3_internal_thr): New.
9309 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
9310 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
9311 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
9312 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
9313 (nmadddf4_alts, nmadddf4_trunc): New.
9314 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
9315 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
9316 (multf3_truncsf_alts, multf3_truncdf_alts): New.
9317 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
9318 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
9319 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
9320 (nmaddtf4_truncdf_alts): New.
9321 (recip_approx): Don't predicate.
9323 2000-09-13 Richard Henderson <rth@cygnus.com>
9325 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
9327 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9329 * flags.h (flag_dump_rtl_in_asm): Declare.
9330 * toplev.c (flag_dump_rtl_in_asm): Define.
9331 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
9332 if -dP is specified.
9333 * rtl.h (print_rtx_head): Declare.
9334 * print-rtl.c (print_rtx_head): Define.
9335 (print_rtx): Print the string pointed to by print_rtx_head
9336 at beginning of each dump line.
9337 (print_rtl): Likewise.
9338 (print_rtl_single): Likewise.
9339 * final.c (final_scan_insn): Dump the insn in the assembly
9341 * gcc.1: Document -dP option.
9342 * invoke.texi (Debugging Options): Likewise.
9344 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9346 * md.texi (Machine Constraints): Document the 68HC11 constraints.
9347 * install.texi (Configurations): Document the 68HC11&68HC12 port.
9348 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
9350 Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
9352 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
9353 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
9354 (*clrstrqi): Likewise.
9355 (xorhi3,xorsi3,absqi2): Likewise.
9356 (one_cmplhi2,one_cmplsi2): Likewise.
9357 (addsi3): Two stupid constraint alternatives removed.
9358 (extendhisi2): Use `movw' for enhanced avr cores.
9359 (zero_extendhisi2): Likewise.
9361 Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
9363 * alias.c (find_base_term): Use frame_pointer_rtx
9364 when handling an ADDRESSOF.
9366 * cse.c (canon_hash): Handle USE of BLKmode memory.
9367 (cse_insn): Outgoing arguments for a libcall don't
9368 affect any recorded expressions.
9370 2000-09-12 Tom Tromey <tromey@cygnus.com>
9372 * configure, config.in: Rebuilt.
9373 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
9375 2000-09-12 Jakub Jelinek <jakub@redhat.com>
9377 * c-lex.c (lex_string): Use charwidth to compute bytemask.
9378 * expr.c (expand_expr): Don't optimize constant array references
9379 initialized with wide string constants.
9381 2000-09-13 Michael Hayes <mhayes@cygnus.com>
9383 * loop.c (note_set_pseudo_multiple_uses): Correct.
9385 2000-09-12 Jim Wilson <wilson@cygnus.com>
9387 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
9388 else block, and X has side-effects, then fail.
9390 2000-09-12 Greg McGary <greg@mcgary.org>
9392 * config/mips/mips-protos.h
9393 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
9394 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
9395 (PREDICATE_CODES): Add "trap_cmp_op".
9396 * config/mips/mips.c
9397 (trap_cmp_op, mips_gen_conditional_trap): New functions.
9398 * config/mips/mips.md (trap, conditional_trap): New patterns.
9400 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9402 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
9405 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9407 * builtins.c (built_in_decls): New array.
9408 (expand_builtin_fputs): New function.
9409 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
9411 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
9413 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
9415 * tree.h (built_in_decls): New array.
9417 Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
9419 * convex.md: Use "+" instead of "=" for outputs wrapped in a
9421 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
9423 2000-09-12 Kazu Hirata <kazu@hxi.com>
9425 * haifa-sched.c: Fix formatting.
9427 * genattrtab.c: Fix formatting.
9429 * unroll.c: Fix formatting.
9431 2000-09-12 Bruce Korb <bkorb@gnu.org>
9433 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
9434 remove obsolete code
9435 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
9436 * fixinc/fixincl.tpl: make non-exported arrays static scope
9437 * fixinc/fixincl.x: regenerate
9438 * fixinc/fixlib.h: Use PARAMS, not _P_
9439 * fixinc/fixtests.c: make a type for the test proc & use it
9440 * fixinc/server.h: Use PARAMS, not _P_
9442 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9444 * c-typeck.c (process_init_element): Avoid union init warnings on
9445 floating point zero. Don't crash on unions containing structs.
9447 2000-09-12 Alexandre Oliva <aoliva@redhat.com>
9449 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
9450 general_movsrc_operand, and remove CONST_INT from
9451 general_movdst_operand.
9453 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9455 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
9456 if a reference to non-fixed hardreg is seen. Otherwise, count hard
9457 regs with a higher cost.
9458 (preferrable): Deal with cases where either cost or regcost is
9460 (cse_insn): Use MAX_COST rather than 10000. Always initialize
9462 (COSTS_N_INSNS): Move definition...
9464 (MAX_COST): New macro.
9465 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
9468 2000-09-11 Mark Mitchell <mark@codesourcery.com>
9470 * c-common.h (genrtl_clear_out_block): Remove.
9471 * c-semantics.c (genrtl_clear_out_block): Remove.
9472 (genrtl_while_stmt): Don't call it.
9473 (genrtl_for_stmt): Likewise.
9475 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9477 * cppfiles.c: Move all default-#defines to top of file.
9478 (open_include_file): Replace by lookup_include_file.
9479 (read_with_read, read_file): Merged into read_include_file.
9480 (stack_include_file, purge_cache): New functions.
9481 (close_cached_fd): Delete.
9482 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
9483 Cache the in-memory buffer, not the file descriptor.
9485 * cpphash.h (struct include_file): Add buffer, st, refcnt,
9487 (xcnew): New utility macro.
9488 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
9489 * cpplib.h (struct cpp_buffer): Remove mapped field.
9491 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9493 * cpplex.c (parse_string): Accept backslash space newline as a
9495 (lex_line): Likewise.
9496 (_cpp_get_token): Remove hard limit on macro nesting.
9498 2000-09-12 Philipp Thomas <pthomas@suse.de>
9500 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
9501 * configure: Rebuilt.
9503 2000-09-13 Michael Hayes <mhayes@cygnus.com>
9505 * flow.c (split_block): Fix update of registers live at
9508 Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
9510 * i386.md (add?i_3, add?i_5): New.
9511 (add?i_4): Rename from add?i_3; Fix compare pattern.
9512 (sub?i_3, xor?i_3, ior?i_3): New.
9514 * genrecog.c (write_tree): Output code to clear insn_extract cache.
9515 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
9516 instead of extract_insn and extract_constrain_insn_cache instead of
9517 extract_insn and constrain_operands.
9518 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
9520 (extract_insn): Clear which_alternative.
9521 (constrain_operands): Set which_alternative to -1 when failed.
9522 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
9525 2000-09-11 Matthew Hiller <hiller@redhat.com>
9527 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
9528 on operand 0 to '+'.
9529 (movstricthi): Likewise.
9531 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9533 * loop.h (LOOP_IVS): New macro.
9534 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
9535 (struct loop_ivs): New.
9536 (struct loop_info): Add ivs field.
9537 (reg_iv_type, reg_iv_info): Delete prototype.
9538 (reg_biv_class, loop_iv_list): Likewise.
9539 * loop.c (record_biv, find_life_end): Pass loop argument.
9540 (reg_iv_type): Remove global array and use
9541 field in loop_regs structure within loop_ivs structure.
9542 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
9543 (first_increment_giv, last_increment_giv): Use entry in
9545 (record_initial): Pass ivs pointer.
9546 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
9548 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9550 * loop.h (LOOP_REGS): New macro.
9551 (struct loop_regs): New.
9552 (struct loop_info): Add regs field.
9553 * loop.c (set_in_loop): Remove global array and store
9554 in loop_regs structure as part of loop_info structure.
9555 (n_times_set, may_not_optimize): Likewise.
9556 (reg_single_usage, moved_once): Likewise.
9557 (count_one_set): Add regs argument.
9558 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
9559 (set_pseudo_multiple_uses): Pass regs pointer.
9561 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9563 * unroll.c (iteration_info): Subsume into loop_iterations.
9564 * loop.h (loop_info): New field iv.
9566 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9568 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
9569 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
9570 (flow_loops_update): New prototype.
9571 (flow_loops_find): Add flags to prototype.
9572 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
9573 * flow.c (flow_loop_pre_header_scan): New.
9574 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
9575 (flow_loop_free): Free pre-header root and trace and exit dominators.
9576 (flow_loops_find): New argument flags.
9577 (flow_loops_update): New function.
9578 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
9580 2000-09-12 Michael Hayes <mhayes@cygnus.com>
9582 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
9583 * flow.c (split_block, update_bb_for_insn): New functions.
9585 2000-09-11 Richard Henderson <rth@cygnus.com>
9587 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
9589 2000-09-11 Richard Henderson <rth@cygnus.com>
9591 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
9592 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
9593 (ia64_override_options): Prevent optimizing division for both
9594 latency and throughput.
9595 (rtx_needs_barrier): Handle frcpa.
9596 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
9597 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
9598 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
9599 (TARGET_SWITCHES): Add -minline-divide-min-latency and
9600 -minline-divide-max-throughput.
9601 (PREDICATE_CODES): Update.
9602 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
9603 (zero_extendsidi2): Likewise. Fix typo in f case insn.
9604 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
9605 (extendsftf2): Likewise.
9606 (extenddftf2): Likewise.
9607 (fix_trunctfdi2_alts): New.
9608 (fixuns_trunctfdi2_alts): New.
9609 (madd*4): Rename from madd*3.
9610 (divsi3, modsi3, udivsi3, umodsi3): New.
9611 (divsi3_internal): New.
9612 (divdi3, moddi3, udivdi3, umoddi3): New.
9613 (divdi3_internal_lat, divdi3_internal_thr): New.
9614 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
9615 (recip_approx): New.
9617 2000-09-11 Alexandre Oliva <aoliva@redhat.com>
9619 * print-rtl.c (debug_call_placeholder_verbose): New variable.
9620 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
9622 * integrate.c (copy_rtx_and_substitute): Don't share
9623 LEAF_REG_REMAPpable registers with the inlined function. Don't
9624 share the function value with calling sequences.
9626 2000-09-11 Jakub Jelinek <jakub@redhat.com>
9628 * c-decl.c (do_case): Fix a typo.
9630 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
9631 to a if the comparison is floating mode and not -ffast-math.
9632 * simplify-rtx.c (simplify_ternary_operation): Likewise.
9634 Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9636 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
9637 gen_ic_invalidate_line.
9639 2000-09-11 Philip Blundell <pb@futuretv.com>
9641 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
9643 Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
9645 * install.texi (LANGUAGES): Update to include new languages.
9648 2000-09-11 DJ Delorie <dj@redhat.com>
9650 * gcc.c (main): Don't warn about unused -B prefixes
9651 (unused_prefix_warnings): remove
9653 2000-09-11 Kazu Hirata <kazu@hxi.com>
9655 * final.c: Fix formatting.
9657 * integrate.c: Fix formatting.
9659 2000-09-11 Geoff Keating <geoffk@cygnus.com>
9661 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
9663 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
9665 * reload.c (regno_clobbered_p): Fix thinko in previous change.
9667 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9669 * gcc.1: Document 68hc11 specific options.
9671 2000-09-10 Geoff Keating <geoffk@cygnus.com>
9673 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
9674 (TARGET_LONG_DOUBLE_128): Define.
9675 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
9676 (LONG_DOUBLE_TYPE_SIZE): Redefine.
9677 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9678 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
9679 of __LONG_DOUBLE_128__.
9680 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
9682 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
9683 (CPP_SYSV_DEFAULT_SPEC): Define.
9684 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
9685 (INIT_TARGET_OPTABS): Define.
9687 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
9688 (RS6000_UITRUNC): Likewise.
9689 (INIT_TARGET_OPTABS): New macro.
9690 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
9691 (trunc_defined): Delete.
9692 (output_prolog): Don't output .extern definitions for fp->int
9693 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
9694 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
9695 (trunc_defined): Delete.
9696 (RS6000_ITRUNC): Moved to aix.h.
9697 (RS6000_UITRUNC): Likewise.
9698 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
9699 only emit a libcall.
9700 (fixuns_truncdfsi2): Delete.
9701 (trunc_call): Delete.
9702 (trunc_call_rtl): Delete.
9704 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9706 * varasm.c (make_decl_rtl): Restore leading star on
9707 DECL_ASSEMBLER_NAME set for decls with an asmspec.
9709 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9711 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
9712 won't give a spurious error for '#pragma pack()'. Simplify
9713 control flow for readability. 'reset' action is not necessary.
9715 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9717 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
9718 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
9719 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
9720 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
9722 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
9723 profile.c, sdbout.c, tradcif.y, tree.c:
9724 Include defaults.h if not already included.
9725 Don't define the above macros.
9727 * Makefile.in: Update dependencies.
9729 2000-09-10 Mark Mitchell <mark@codesourcery.com>
9731 * c-common.h (add_stmt): Change prototype.
9732 (RECHAIN_STMTS): New macro.
9733 (CASE_LABEL_DECL): Likewise.
9734 (genrtl_case_label): Change prototype.
9735 (c_expand_start_case): Remove prototype.
9736 (build_case_label): Change prototype.
9737 (decl_constant_value): Declare.
9738 * c-common.c (check_case_value): Handle C++'s extensions to C
9740 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
9742 * c-parse.in (stmt): Adjust handling of return statements and case
9744 * c-semantics.c (add_stmt): Return the new statement.
9745 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
9746 returned expression. Directly generate RTL, rather than calling
9748 (genrtl_switch_stmt): Don't call c_expand_start_case.
9749 (build_case_label): Take the LABEL_DECL as input, too.
9750 (genrtl_case_label): Just call add_case_node.
9751 (expand_stmt): Adjust calls to genrtl_return_stmt and
9753 * c-tree.h (c_expand_start_case): Declare.
9754 * c-typeck.c (decl_constant_value): Give it external linkage.
9755 (c_expand_return): Don't call expand_return or expand_null_return;
9756 use genrtl_return_stmt instead.
9757 * stmt.c (struct nesting): Remove num_ranges field.
9758 (add_case_node): Give it external linkage.
9759 (expand_start_case): Don't set num_ranges.
9760 (expand_start_case_dummy): Don't clear it.
9761 (pushcase): Rely on add_case_node to handle `default' labels.
9762 (add_case_node): Handle `default' labels.
9763 * tree.c (tree_int_cst_compare): New function.
9764 * tree.h (tree_int_cst_compare): Declare.
9765 (add_case_node): Likewise.
9767 2000-09-10 Richard Henderson <rth@cygnus.com>
9769 * c-parse.in: Revert last change.
9770 (init_reswords): Do not enter disabled keywords into the ridpointers
9771 table, modulo objc weirdness.
9772 (_yylex): Return the canonical spelling for a keyword.
9774 2000-09-10 Philip Blundell <philb@gnu.org>
9776 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
9777 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
9779 Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
9781 * alias.c (find_base_term): Handle ADDRESSOF.
9782 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
9784 2000-09-10 Denis Chertykov <denisc@overta.ru>
9786 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
9787 outputting templates with many lines.
9789 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9791 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
9792 to decide whether 64-bit support must be generated.
9794 2000-09-10 Richard Henderson <rth@cygnus.com>
9796 * c-parse.in (asm patterns): Fix volatile check.
9798 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9800 * cppmacro.c (check_trad_stringification): New function.
9801 (save_expansion): If -Wtraditional, warn about stringification of
9804 2000-09-11 Michael Hayes <mhayes@cygnus.com>
9806 * loop.h (struct loop_mem_info): Move from loop.c
9807 (struct loop_info): Add fields store_mems, mems, mems_idx,
9808 mems_allocated, unknown_address_altered,
9809 unknown_constant_address_altered, num_mem_sets, and
9810 first_loop_store_insn.
9812 * loop.c (loop_store_mems): Replace with field in loop_info struct.
9813 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
9814 (unknown_address_altered, unknown_constant_address_altered): Likewise.
9815 (num_mem_sets): Likewise.
9816 (replace_loop_mems, replace_loop_regs): New.
9817 (struct loop_replace_args): New.
9818 (load_mems): Use replace_loop_mems.
9819 (try_copy_prop): Use replace_loop_regs.
9820 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
9822 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9824 * configure.in: Recognize m6811-elf and m6812-elf.
9825 * configure: Regenerate.
9827 2000-09-09 Geoff Keating <geoffk@cygnus.com>
9829 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
9832 2000-09-10 Michael Hayes <mhayes@cygnus.com>
9834 * loop.c (struct movables): New.
9835 (num_movables): Move into struct movables.
9836 (the_movables): Change type to struct movables.
9837 (ignore_some_movables): Change struct movable arg to struct movables.
9838 (force_movables, combine_movables, regs_match_p): Likewise.
9839 (rtx_equal_for_loop_p, move_movables): Likewise.
9840 (scan_loop): Change movables to be of type struct movables.
9841 Replace last_movable with field in movables structure.
9843 2000-09-08 Zack Weinberg <zack@wolery.cumb.org>
9845 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
9846 (init_pragma): Avoid warning if pfile happens to be unused.
9847 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
9848 define init_pragma to nothing. Always prototype
9849 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
9851 * c-lex.c (process_directive): Always call dispatch_pragma.
9852 Initialize entering_c_header to 0.
9854 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9856 * config/m68hc11/m68hc11.md: New file, machine description for
9858 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
9859 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
9860 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
9861 * config/m68hc11/m68hc11-protos.h: New file.
9862 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
9863 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
9864 * config/m68hc11/xm-m68hc11.h: New file, target defs.
9865 * config/m68hc11/larith.asm: New file, libgcc routines.
9867 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9869 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
9870 (FPBIT_FUNCS): Add _usi_to_sf.
9871 * config/fp-bit.c (usi_to_float): New function.
9872 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
9873 (usi_to_float): Add appropriate #define.
9875 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9877 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
9879 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
9880 * i386.md (attr "type"): Add sse and mmx types.
9881 (attr "memory"): Handle them without a crash.
9882 (movsi_1, movdi_2): Allow MMX regs.
9883 (movdi splits): Don't split moves involving MMX regs.
9884 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
9885 (movv4sf_internal, movv4si_internal, movv8qi_internal,
9886 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
9887 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
9888 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
9889 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
9890 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
9891 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
9892 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
9893 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
9894 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
9895 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
9896 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
9897 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
9898 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
9899 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
9900 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
9901 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
9902 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
9903 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
9904 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
9905 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
9906 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
9907 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
9908 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
9909 mmx_clrdi): New patterns.
9911 2000-09-08 Richard Earnshaw <rearnsha@arm.com>
9913 * arm.c: Don't include tm.h directly.
9915 Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
9917 * recog.c (validate_replace_rtx_1): Fix confusion about equality
9918 testing; simplify subregs of constants and nested subregs.
9920 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
9922 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
9924 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9926 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
9928 * rtl.texi (description of USE): Add note about possible pitfalls
9930 From Richard Henderson:
9931 * reload1.c (choose_reload_regs): Compute need_mode properly.
9933 2000-09-07 Richard Henderson <rth@cygnus.com>
9935 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
9936 (__modsi3, __umodsi3): Likewise.
9937 (__udivsi3): Likewise. Normalize the TFmode values.
9939 2000-09-07 Geoff Keating <geoffk@cygnus.com>
9941 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
9943 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
9946 Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9948 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
9949 (cmpeqdi_t): Add output pattern.
9950 (cmpeqdi_t+1): Don't split when not optimizing.
9951 Restore proper splitting operation.
9953 2000-09-07 Richard Henderson <rth@cygnus.com>
9955 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
9956 do not call dispatch_pragma.
9958 2000-09-07 Jim Wilson <wilson@cygnus.com>
9960 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
9961 to CLASS_CANNOT_CHANGE_MODE.
9962 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
9963 mode classes are different.
9965 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9967 * cpplib.h (struct cpp_options): Add user_label_prefix member,
9968 left out of commit which removed cppulp.c.
9970 2000-09-07 Richard Henderson <rth@cygnus.com>
9972 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
9973 after switch for CASE_DROPS_THROUGH.
9975 2000-09-07 Richard Henderson <rth@cygnus.com>
9977 * loop.c (strength_reduce): Call check_ext_dependant_givs.
9978 Properly extend the biv initial value for the giv.
9979 (record_biv): Zero ext_dependant.
9980 (record_giv): New argument ext_val. Update all callers.
9981 (general_induction_var): Likewise.
9982 (consec_sets_giv): Likewise.
9983 (simplify_giv_expr): Likewise. Fill in ext_val if we find
9984 a sign-extend, zero-extend, or truncate.
9985 (combine_givs_p): Make sure modes are compatible.
9986 (check_ext_dependant_givs): New.
9987 (extend_value_for_giv): New.
9988 * loop.h (struct induction): Add ext_dependant.
9989 * unroll.c (iteration_info): Extend the biv initial value for the giv.
9990 (find_splittable_givs): Likewise.
9991 (final_giv_value): Likewise.
9993 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9995 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
9996 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
9997 definitions from cpplib.h.
9998 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
10000 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
10001 documentation for REGISTER_TARGET_PRAGMAS.
10003 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
10004 default-pragma callback to implement -Wunknown-pragmas if
10006 * c-parse.in: Move all includes to top of file.
10007 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
10009 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
10011 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
10013 * arm.h, arm-protos.h, arm.c,
10014 c4x.h, c4x-protos.h, c4x.c,
10015 h8300.h, h8300-protos.h, h8300.c,
10016 i370.h, i370-protos.h, i370.c,
10017 i960.h, i960-protos.h, i960.c,
10018 sh.h, sh-protos.h, sh.c,
10019 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
10020 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
10022 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
10023 multiple include guard.
10024 * i370.md (untyped_call): Use GEN_CALL.
10025 (umodsi3): Remove unused variable.
10026 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
10027 * v850.c (output_move_single, output_move_double): Constify
10029 (print_operand): Constify a char *.
10030 * v850.h (struct small_memory_info): Constify name member.
10032 2000-09-07 Kazu Hirata <kazu@hxi.com>
10034 * config/h8300.h: Fix comment typos.
10035 * config/h8300/h8300.md: Likewise.
10036 * config/h8300/lib1funcs.asm: Likewise.
10038 Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
10040 * Makefile.in: Remove references to cppulp.{c,o}.
10041 * cppinit.c (initialize_builtins, cpp_start_read,
10042 cpp_handle_option): Update to use cpp_options structure.
10043 * cppulp.c: Remove.
10045 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
10047 * c-common.c (time_char_table): Allow %#b and %#h.
10049 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10051 * reorg.c (find_end_label): If the basic block reorder pass moves the
10052 return insn to some other place try to locate it again and put our
10053 end_of_function_label there.
10054 * reorg.c (relax_delay_slots): Check if find_end_label created a
10055 new label that invalidates the current optimazation.
10057 2000-09-07 Catherine Moore <clm@redhat.com>
10059 * unroll.c (unroll_loop): Check for unconditional jumps
10060 to loop continuation. Delete if n_iterations is 1.
10061 (ujump_to_loop_cont): New routine.
10063 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
10065 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
10067 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
10068 to handle multiword modes correctly. All callers and the declaration
10071 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10073 * c-common.h (prep_stmt): Declare.
10074 (lang_expand_stmt): Likewise.
10075 * c-decl.c (lang_expand_stmt): Remove.
10076 * c-semantics.c (lang_expand_stmt): Define.
10077 (prep_stmt): New function.
10078 (expand_stmt): Handle common statement types here.
10080 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
10082 * configure.in (sh-*-linux*): Added.
10083 * configure: Rebuilt.
10084 * config/sh/t-linux: New file.
10085 * config/sh/sh.h (USERMODE_BIT): Define.
10086 (TARGET_USERMODE): Likewise.
10087 (TARGET_SWITCHES): New switches for the bits above.
10088 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
10089 * config/sh/linux.h: New file.
10090 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
10091 underscore on linux.
10092 (L_sdivsi3, L_udivsi3): Define for linux.
10093 (L_ic_invalidate): Define.
10094 * invoke.texi (SH Options): Document -musermode.
10096 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
10098 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
10099 CSE unless generating PIC.
10101 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
10104 2000-09-06 H.J. Lu (hjl@gnu.org)
10106 * Makefile.in (clean_s1): Depend on stage_b.
10107 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
10108 stage2. They are used for "make compare".
10110 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10112 Move statement-tree facilities from C++ to C front-end.
10113 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
10114 (void_zero_node): New macro.
10115 (struct stmt_tree_s): New type.
10116 (stmt_tree): New typedef.
10117 (struct language_function): New type.
10118 (last_tree): New macro.
10119 (last_expr_type): Likewise.
10120 (walk_tree_fn): New typedef.
10121 (current_stmt_tree): New function.
10122 (begin_stmt_tree): Likewise.
10123 (add_stmt): Likewise.
10124 (finish_stmt_tree): Likewise.
10125 (statement_code_p): Likewise.
10126 (lang_statement_code_p): New variable.
10127 (walk_stmt_tree): New function.
10128 (STMT_IS_FULL_EXPR_P): New macro.
10129 * c-common.c (lang_statement_code_p): New variable.
10130 (c_common_nodes_and_builtins): Initialize void_zero_node.
10131 (statement_code_p): New function.
10132 (walk_stmt_tree): Likewise.
10133 * c-decl.c (language_function): Rename to ...
10134 (c_language_function): ... this. Include language_function.
10135 (push_c_function_context): Adjust accordingly.
10136 (pop_c_function_context): Likewise.
10137 (mark_c_function_context): Likewise.
10138 (current_stmt_tree): Define.
10139 * c-semantics.c (begin_stmt_tree): New function.
10140 (add_stmt): Likewise.
10141 (prune_unused_decls): Likewise.
10142 (finish_stmt_tree): Likewise.
10144 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10146 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
10148 2000-09-06 Kazu Hirata <kazu@hxi.com>
10150 * calls.c: Fix formatting.
10152 2000-09-06 Graham Stott <grahams@cygnus.co.uk>
10154 * config/i386/i386.h (ADDRESS_COST): Fix typo.
10156 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10158 Integrated preprocessor.
10160 * Makefile.in: Remove all references to c-parse.gperf,
10161 c-gperf.h, and c-parse.h. Remove -d from yacc command line
10162 generating c-parse.c. Update dependencies.
10163 * c-parse.gperf, c-gperf.h: Delete.
10165 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
10166 yy_lim, or yy_get_token. Don't define get_directive_line if
10168 * c-common.h: Add multiple include guard. Define RID values
10169 for every keyword in C, C++, and Objective C. Put all the
10171 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
10172 * c-decl.c (c_decode_option): Handle -lang-objc here.
10173 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
10174 (grokdeclarator): Adjust for new RID scheme.
10175 (extract_interface_info): New stub.
10176 * c-lang.c: Don't declare yy_cur or parse_options.
10177 (lang_init_options): Call cpp_init. Don't call
10179 (lang_init): Don't call check_newline if USE_CPPLIB.
10181 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
10182 Elide lots of unnecessary code if USE_CPPLIB. Delete code
10183 rendered unnecessary by new architecture. Move routines not
10184 shared with C++ to c-parse.in. Maintain a local idea of the
10185 line number. Handle C++ as well as C.
10186 [USE_CPPLIB]: Declare and register callbacks for #ident and
10187 for entering/leaving files.
10188 (init_c_lex, c_lex): Are now the entry points to this file.
10189 (check_newline): Break out directive handling to
10191 (read_ucs, is_extended_char, utf8_extend_token): Moved here
10192 from C++ front end.
10193 (readescape, parse_float): Overhaul.
10194 (lex_number, lex_string, lex_charconst): Break out of c_lex
10196 (get_fileinfo, update_header_times, dump_one_header,
10197 dump_time_statistics): New and/or moved here from C++.
10198 Support per-file data needed by C++ and per-header timing
10199 statistics (C++ only, at the moment).
10200 * c-lex.h: Update prototypes. Add multiple include guard.
10201 * c-tree.h (struct lang_identifier): Add rid_code field.
10202 (C_IS_RESERVED_WORD, C_RID_CODE): New.
10204 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
10205 reinit_parse_for_function and/or position_after_white_space.
10206 (save_filename, save_lineno): Look ahead before saving.
10207 (label -> identifier ':'): Save file and line before shifting ':'.
10208 (reservedwords): No need to call get_identifier.
10209 (init_parse, finish_parse, yyerror, yylex, yyprint,
10210 make_pointer_declarator): Are now here for C/ObjC.
10211 (rid_to_yy): Conversion table from RID constants to Yacc codes.
10213 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
10214 #pragma registry. Provide dummy implementation of that
10215 interface if !USE_CPPLIB.
10216 * c-pragma.h: Update to match.
10218 * flags.h: Add multiple include guard.
10219 (flag_detailed_statistics): Moved here from C++.
10220 * toplev.c: Define flag_detailed_statistics.
10222 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
10224 * timevar.def (TV_CPP, TV_LEX): New.
10225 * timevar.h: Add multiple include guard.
10227 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
10229 * objc/objc-act.c: Don't mention yy_cur or parse_options.
10230 Initialize cpplib properly. Force lineno to 0 after first
10231 call to check_newline. Don't handle -lang-objc here.
10232 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
10234 2000-09-06 David Edelsohn <edelsohn@gnu.org>
10236 * rs6000.md: Correct function unit definitions for cr_logical and
10238 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
10239 and use portable method for >=0 and floating point >=. Remove
10240 associated matchers.
10242 2000-09-06 Mark Mitchell <mark@codesourcery.com>
10244 * extend.texi: Mark named return value extension as deprecated.
10246 2000-09-06 Geoff Keating <geoffk@cygnus.com>
10248 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
10251 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
10253 * toplev.c (display_help): Fix thinko in documentation.
10255 * diagnostic.h (output_buffer::indent_skip): New fields.
10256 (output_indentation): New macro.
10258 * diagnostic.c (output_indent): New function.
10259 (output_set_prefix, clear_diagnostic_info): Use.
10260 (output_emit_prefix): Predict future indentation.
10262 2000-09-06 DJ Delorie <dj@redhat.com>
10264 * Makefile.in (stage_*): add more dependencies to ensure parallel
10265 builds build correctly
10267 2000-09-06 Manfred Hollstein <manfredh@redhat.com>
10269 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
10270 not bootstrap-lean_f.
10272 2000-09-06 Andreas Schwab <schwab@suse.de>
10274 * mklibgcc.in: Emit rule for libgcc-stage-start.
10275 * Makefile.in (stage1-start, stage2-start, stage3-start,
10276 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
10278 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
10280 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
10281 (update_equiv_regs): Likewise, except for the mn10200 kludge.
10282 (combine_regs): Likewise.
10284 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
10285 * cse.c: Include "basic-block.h".
10286 (struct table_elt): New field REGCOST.
10287 (CHEAP_REG): Delete macro.
10288 (COST): Return 0 for REGs.
10289 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
10290 (notreg_cost): Return 0 for appropriate SUBREGs.
10291 (COSTS_N_INSNS): Return N * 2.
10292 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
10294 (CHEAPER): Use new function preferrable.
10295 (insert): Initialize REGCOST member.
10296 (find_best_addr): Use approx_reg_cost for estimation of register
10298 (cse_insn): Likewise.
10299 * loop.c (iv_add_mult_cost): New function.
10300 (add_cost, shift_cost, mult_cost): Delete variables.
10301 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
10302 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
10303 Make code that detects autoinc opportunities slightly less optimistic.
10304 (simplify_giv_expr): If expression contains other reg that is also a
10305 giv, only increment benefit if this is the only use of that reg.
10306 (consec_sets_giv): Take that change into account.
10307 (combine_givs): Slightly more verbose output.
10309 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
10310 not the cost of an equivalent shift.
10311 * sh-protos.h (addsubcosts): Declare.
10312 * sh.c (addsubcosts): New function.
10313 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
10314 (RTX_COSTS): Tweak. Use addsubcosts.
10315 (ADDRESS_COST): Return higher cost for reg+reg addressing.
10317 2000-09-06 Geoff Keating <geoffk@cygnus.com>
10319 * config/rs6000/rs6000.c (validate_condition_mode): New function.
10320 (branch_comparison_operator): Call validate_condition_mode to
10321 abort rather than returning 0.
10322 (branch_positive_comparison_operator): New function.
10323 (scc_comparison_operator): Call validate_condition_mode to abort
10324 rather than returning 0.
10325 (ccr_bit): Call validate_condition_mode. Update for
10327 (print_operand): Delete %C modifier. Update %E case
10328 to use EQ bit not SO bit.
10329 (rs6000_reverse_condition): New function.
10330 (rs6000_generate_compare): New function.
10331 (rs6000_emit_sCOND): New function.
10332 (rs6000_emit_cbranch): New function.
10333 (output_cbranch): The length of a long branch insn is
10334 now only 8 bytes. Add validate_condition_mode. Use
10335 rs6000_reverse_condition. Remove cror generation.
10337 * config/rs6000/rs6000.h: Update comments.
10338 (PREDICATE_CODES): Add new predicate. Update codes used
10339 by branch_comparison_operator and scc_comparison_operator.
10340 * config/rs6000/rs6000-protos.h: Add prototypes for
10341 new external functions.
10342 * config/rs6000/rs6000.md: Add new scheduling parameters
10343 for cr_logical instructions. Change length of branch
10345 (bCOND patterns): Call rs6000_emit_cbranch.
10346 (sCOND patterns): Call rs6000_emit_sCOND.
10347 (branch patterns): Change lengths to 4.
10348 (cr logical patterns): New.
10350 2000-09-06 Richard Henderson <rth@cygnus.com>
10352 * config/i386/i386.md (call_pop): Fix test for setting
10353 current_function_uses_pic_offset_table.
10354 (call, call_value_pop, call_value): Likewise.
10356 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10358 * timevar.c (timevar_add): Delete.
10359 (timevar_get): Also count time since the selected timer was
10360 last updated. Do not examine the timevar stack if the
10361 selected timer is standalone.
10363 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10365 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
10367 2000-09-05 Jason Merrill <jason@redhat.com>
10369 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
10370 for 'extern' arrays.
10372 2000-09-05 Richard Henderson <rth@cygnus.com>
10374 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
10375 Eliminate final copy from non-trapping case.
10376 (__divdf3, __divsf3): Likewise.
10378 2000-09-05 Richard Henderson <rth@cygnus.com>
10380 * config/ia64/ia64.md (mulhi3): Fix typo last change.
10381 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
10383 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
10385 * Makefile.in: Restructure bootstrap stages to allow clean
10386 restart after failure.
10388 2000-09-05 Richard Henderson <rth@cygnus.com>
10390 * config/ia64.md (movsi and movdi patterns): Allow moves from
10391 8-bit constants to AR registers.
10393 2000-09-05 Richard Henderson <rth@cygnus.com>
10395 * config/ia64/ia64.md (mulhi3): New.
10397 2000-09-05 Richard Henderson <rth@cygnus.com>
10399 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
10400 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
10401 Optimization Guide, minimum latency alternative.
10402 (__moddi3, __udivdi3, __umoddi3): Likewise.
10403 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
10405 2000-09-05 Bruce Korb <bkorb@gnu.org>
10407 * fixinc/fixincl.c (load_file): always read header files
10408 with sizes that are a multiple of the page size.
10409 & use libiberty's getpagesize for determining that.
10411 2000-09-05 Alexandre Oliva <aoliva@redhat.com>
10413 * gcse.c (hash_string_1): Add prototype.
10414 * cse.c (canon_hash_string): Likewise.
10416 2000-09-04 Craig Newell <CraigN@ieee.org>
10418 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
10420 2000-09-04 Andreas Schwab <schwab@suse.de>
10422 * Makefile.in (STAGESTUFF): Remove libgcc.
10423 (stage1-start, stage2-start, stage3-start): Copy the contents of
10424 the libgcc directory explicitly.
10425 (mostlyclean): Clean libgcc.
10427 2000-09-04 Andrew Haley <aph@redhat.com>
10429 * dwarf2out.c: (stack_adjust_offset): New prototype.
10431 Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
10433 * combine.c (make_extraction): Fix rtx_cost comparison to
10436 Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
10438 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
10439 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
10440 Add '*' to insn pattern name.
10442 2000-09-04 Jakub Jelinek <jakub@redhat.com>
10444 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
10445 use posn - 1 to index into tokens array.
10446 (maybe_paste_with_next): Adjust caller.
10448 2000-09-03 Geoff Keating <geoffk@cygnus.com>
10450 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
10452 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
10453 (REGNO_REG_CLASS): Use symbolic register
10456 2000-09-03 Richard Earnshaw <rearnsha@arm.com>
10458 * arm.c (final_prescan_insn): If the form of a jump insn isn't
10459 recognized, don't try to conditionally execute it.
10461 Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
10463 * config/avr/avr.md ("*tablejump_lib"): New pattern.
10464 (call_value_insn): Right length claculation.
10465 (call_insn): Likewise.
10467 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
10469 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
10470 gas_output_limited_string, gas_output_ascii, output_movqi,
10471 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
10472 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
10473 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
10474 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
10475 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
10476 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
10477 Add "const" as needed to remove warnings.
10479 * config/avr/avr.c (avr_override_options, avr_init_once,
10480 function_prologue, function_epilogue, frame_pointer_required_p,
10481 class_likely_spilled_p, order_regs_for_local_alloc,
10482 avr_address_cost, avr_ret_register): Use K&R style arguments.
10483 (initial_elimination_offset, gas_output_limited_string):
10484 Remove ATTRIBUTE_UNUSED from the used arguments.
10485 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
10486 Use local variables src, dest, base to access operands[].
10487 Rename reg_dest to reg_src if that's what it is.
10488 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
10489 constants to LD_REGS if reg_was_0.
10490 (output_reload_insisf): Change arg 3 to insn length and set it.
10491 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
10492 access to 16-bit I/O register pairs.
10493 (avr_address_cost): Lower cost for the above case.
10494 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
10495 may be clobbered, also for LD_REGS.
10496 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
10499 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
10501 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
10502 macro to test_hard_reg_class function.
10503 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
10504 for loading immediate constants to LD_REGS.
10505 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
10508 Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10510 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
10511 * config/avr/libgcc.S: Lost part of the previous patch.
10513 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10515 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
10516 object before calling pthread_mutex_init.
10518 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
10520 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
10521 config/sh/crtn.asm: New files.
10522 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
10523 (crt1.o, crti.o, crtn.o): New targets.
10524 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
10526 * configure: Rebuilt.
10527 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10528 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
10529 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10530 Undefine for config/elfos.h to redefine.
10531 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
10533 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
10535 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
10536 legitimize_pic_address, output_pic_addr_const): Declare.
10537 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
10538 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
10539 (TARGET_SWITCHES): New switch -mprefergot.
10540 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
10541 (PIC_OFFSET_TABLE_REGNUM): Define.
10542 (GOT_SYMBOL_TABLE): Likewise.
10543 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
10544 (ENCODE_SECTION_INFO): Define.
10545 (FINALIZE_PIC): New macros.
10546 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
10547 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
10548 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
10549 (prepare_move_operands): Call emit_pic_move or
10550 emit_pic_const_move if appropriate.
10551 (output_far_jump): For PIC, use braf and output long offset.
10552 (machine_dependent_reorg):
10553 (sh_expand_prologue): Save and initialize the PIC register.
10554 (sh_expand_epilogue): Restore it.
10555 (initial_elimination_offset): Account for it.
10556 (nonpic_symbol_mentioned_p): New function.
10557 (legitimize_pic_address): Likewise.
10558 (output_pic_addr_const): Likewise.
10559 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
10560 (call, call_value): Use them.
10561 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
10562 symPLT_label2reg): New expands.
10563 * invoke.texi (SH Options): Document -mprefergot.
10565 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
10567 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
10568 * gcse.c (hash_string_1): New function.
10569 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
10570 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
10571 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
10572 (canon_hash_string): New function.
10573 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
10574 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
10575 (fold_rtx): Use ASM_OPERANDS accessor macros.
10576 * emit-rtl.c (copy_insn_1): Likewise.
10577 * integrate.c (copy_rtx_and_substitute): Likewise.
10578 * stmt.c (expand_asm_operands): Likewise. Give an
10579 ASM_OPERANDS rtx the mode of the output reg being set from it.
10581 2000-09-01 Fred Fish <fnf@be.com>
10583 * fix-header.c (write_rbrac): Add putc and getc to list of
10584 functions to protect against prior definition as a macro.
10586 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
10588 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
10589 (c_size_type_node): Define.
10590 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
10591 * c-common.c (enum format_lengths, enum format_std_version,
10592 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
10593 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
10594 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
10595 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
10596 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
10597 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
10598 format_types): Define.
10599 (format_char_info, print_char_table, scan_char_table,
10600 time_char_table): Rearrange for new organization of information
10601 about format length modifiers and standard versions.
10602 (T_ST): Redefine to use c_size_type_node.
10603 (check_format_info): Obtain information about length modifiers and
10604 standard versions from tables. Adjust warning message wordings.
10605 Use the name from the user's program for `ll' and `hh' length
10606 modifiers in warning messages. Use more informative names for
10607 wanted types where available (for wchar_t, wint_t, size_t, signed
10608 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
10610 2000-09-01 Jim Wilson <wilson@cygnus.com>
10612 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
10613 * combine.c (distribute_notes): Handle REG_NORETURN.
10614 * rtl.c (reg_note_name): Add REG_NORETURN.
10615 * rtl.h (enum reg_note): Likewise.
10617 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
10619 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
10620 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
10621 (emit_predicate_relation_info): Handle conditional calls with
10623 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
10624 instead of ia64_file_start.
10625 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
10626 * config/ia64/ia64.md (safe_across_calls_all,
10627 save_across_calls_normal): New patterns.
10629 * loop.c (check_final_value): Check for biv use before checking for
10630 giv use. Check for both biv and giv uses. Always set last_giv_use
10631 if there is a giv use.
10633 2000-09-01 Richard Henderson <rth@cygnus.com>
10635 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
10636 (madddi3): Likewise.
10639 Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10641 * expr.c (clear_storage): Don't use emit_move_insn unless
10642 either BLKmode or proper size.
10643 (store_constructor): Don't call clear_storage if REG of wrong size.
10645 * flow.c (init_propagate_block_info): Don't mark frame dead at end
10646 of function if returns wiht stack pointer depressed.
10648 2000-09-01 Andrew Haley <aph@redhat.com>
10650 * dwarf2out.c (stack_adjust_offset): New function.
10651 (dwarf2out_stack_adjust): Break out stack adjust logic into
10652 new stack_adjust_offset function. Look inside parallels and
10653 sequences for stack adjustments.
10655 2000-08-31 Jeff Law <law@cygnus.com>
10657 * arm.md: Use no_new_pseudos to determine when it is safe
10658 to create new pseudo registers.
10660 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
10661 when we can safely allocate new registers.
10663 2000-08-31 Geoffrey Keating <geoffk@cygnus.com>
10665 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
10666 so that CONCATs are not generated for ASMs.
10667 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
10668 not generating_concat_p.
10669 * function.c (pop_function_context_from): Reset
10670 generating_concat_p.
10671 (prepare_function_start): Likewise.
10672 * rtl.c (generating_concat_p): Define.
10673 * rtl.h (generating_concat_p): Declare.
10674 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
10676 2000-08-22 Philipp Thomas <pthomas@suse.de>
10677 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
10679 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
10682 2000-08-30 Greg McGary <greg@mcgary.org>
10684 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
10685 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
10686 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
10688 2000-08-30 Greg McGary <greg@mcgary.org>
10690 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
10691 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
10692 (TREE_INT_CST): New macro.
10693 * varasm.c (const_hash, compare_constant_1, record_constant_1):
10694 Use new macro TREE_INT_CST.
10696 Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
10698 * contrib.texi: Add self.
10700 2000-08-30 Alexandre Oliva <aoliva@redhat.com>
10702 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
10703 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
10706 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10708 * fixinc/gnu-regex.c: Don't define `const'.
10710 Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10712 * expr.c (store_constructor): Allow variable bounds of array type.
10713 (expand_expr): Don't blow up if type is ERROR_MARK.
10714 * varasm.c (output_constructor): Don't access lower bound of array
10715 type unless need it if index is supplied (so it can be a variable
10716 if no index is supplied).
10717 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
10718 Other minor cleanups.
10720 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10722 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
10723 for compilations in stage 1 and subsequent stages, respectively.
10724 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
10725 * configure: Rebuilt.
10726 * x-vax, x-vax-gcc: Deleted.
10728 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10730 * c-common.c (declare_function_name): Use func_id_node,
10731 function_id_node, and pretty_function_id_node. Do not make
10732 __func__ visible at file scope.
10733 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
10734 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
10735 (function_id_node, pretty_function_id_node, func_id_node): New
10737 * c-decl.c (init_decl_processing): Initialize function_id_node,
10738 pretty_function_id_node, and func_id_node.
10739 (c_make_fname_decl): Correct comment.
10741 * tree.h (struct tree_identifier): Constify pointer member.
10743 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
10744 * c-pragma.h (struct weak_syms): Constify name and value members.
10745 (add_weak): Constify arguments.
10747 * calls.c (special_function_p): Constify a char *.
10748 (expand_call): Remove variable which is initialized and then
10750 * dependence.c (struct def_use, struct induction, struct subscript):
10751 Constify 'variable' member.
10752 (get_low_bound, have_induction_variable): Constify char * argument.
10753 (find_induction_variable): Add braces to avoid dangling else.
10754 (classify_dependence): Constify char * arrays.
10755 * profile.c (output_func_start_profiler): Constify a char *.
10756 * stor-layout.c (finalize_record_size): Constify a char *.
10757 * tree.c (is_attribute_p): Constify a char *.
10758 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
10760 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
10761 for comprehensibility. Do not call get_identifier if we did
10762 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
10763 create temporary string constants, not ggc_alloc_string. No
10764 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
10765 char * to hold IDENTIFIER_POINTERs.
10767 2000-08-29 Richard Henderson <rth@cygnus.com>
10769 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
10772 2000-08-29 Richard Henderson <rth@cygnus.com>
10774 * reload.c (push_secondary_reload): Allow class == reload_class
10775 if we're using a reload_in/out pattern.
10777 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
10778 the half that does not conflict with the reload register.
10779 (reload_outti): Likewise.
10781 2000-08-29 Kazu Hirata <kazu@hxi.com>
10783 * reload.c: Fix formatting.
10785 * stmt.c: Fix formatting.
10787 * gcc.c: Fix formatting.
10789 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10791 * flags.h (time_report, mem_report): New global flags.
10792 * toplev.c: Define time_report and mem_report.
10793 (f_options): Add -ftime-report and -fmem-report.
10794 (compile_file): Turn on time_report if quiet_flag is off.
10795 Call ggc_print_statistics at very end if mem_report is on.
10796 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
10798 * ggc-common.c (ggc_print_statistics): Rename to
10799 ggc_print_common_statistics; all callers changed. Scale
10800 quantities above 10K to kilobytes and above 10M to megabytes.
10801 * ggc-page.c (ggc_page_print_statistics): Rename to
10802 ggc_print_statistics. Report memory consumed by internal data
10803 structures for each allocation bucket. Scale quantities above
10804 10K to kilobytes and above 10M to megabytes.
10805 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
10806 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
10807 Define tally_leaves always.
10808 (ggc_print_statistics): New function.
10809 * ggc.h: Adjust for renamed functions.
10811 Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
10813 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
10814 output_movsisf instead of which_alternative.
10816 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
10818 Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
10820 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
10821 (avr_progmem_p): New prototype.
10822 (output_movsisf): Prototype declaration changed.
10823 (output_movqi): New prototype.
10824 (output_movhi): New prototype.
10825 (call_insn_operand): Likewise.
10826 (final_prescan_insn): Likewise.
10827 (avr_simplify_comparision_p): Likewise.
10828 (avr_normalize_condition): Likewise.
10829 (compare_eq_p): Likewise.
10830 (out_shift_with_cnt): Likewise.
10831 (const_int_pow2_p): Likewise.
10832 (output_reload_inhi): Prototype declaration changed.
10834 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
10835 (ldi_reg_rtx): New. rtx for r31.
10836 (avr_init_stack): Initialize as "__stack".
10837 (function_prologue): Use it.
10838 Replace all TARGET_ENHANCED with AVR_ENHANCED.
10839 (avr_mcu_name): Initialize as "avr2".
10840 (avr_enhanced_p, avr_mega_p): New variables.
10841 (mcu_types, avr_override_options): Handle all known MCU types.
10842 Also handle avr1 (only preprocess, assemble and link).
10843 (print_operand): Using of `%K' in output template removed.
10844 (out_movqi_r_mr): Optimized.
10845 (out_movhi_r_mr): Likewise.
10846 (output_movqi): New function.
10847 (output_movhi): Likewise.
10848 (out_movsi_r_mr): Optimized.
10849 (output_movsisf): Compute insn length for `adjust_insn_length'
10850 (out_movqi_mr_r): Optimized.
10851 (out_movhi_mr_r): Optimized.
10852 (adjust_insn_length): Use output_movsisf, output_movqi,
10853 output_movhi for insn length adjusting.
10854 (reg_unused_after): Use dead_or_set_p.
10855 (preferred_reload_class): Now havn't any restriction.
10856 (reg_was_0): New function.
10857 (io_address_p): Likewise.
10858 (const_int_pow2_p): Likewise.
10859 (output_reload_inhi): Likewise.
10860 (output_reload_insisf): Likewise.
10862 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
10863 (LIB_SPEC): Use -lc for all supported devices.
10864 (LIBGCC_SPEC): Use -lgcc for all supported devices.
10865 (AVR_MEGA): Define as avr_mega_p.
10866 (AVR_ENHANCED): New, define as avr_enhanced_p.
10867 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
10868 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
10869 (CRT_BINUTILS_SPECS): Handle all known MCU types.
10870 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
10871 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
10872 (ASM_SPEC): Pass -mmcu=... to the assembler.
10873 Change all -DAVR_* to -D__AVR_*__.
10874 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
10875 Rename library functions to start with two underscores.
10876 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
10878 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
10879 (SUPPORTS_WEAK): Likewise.
10880 (LDI_REG_REGNO): New. Register r31 will be used as temporary
10881 register for loading constants to r0-r14.
10883 * config/avr/avr.md: Replace all TARGET_ENHANCED with
10885 (*mov_r_sp): Removed. Handled by output_movhi.
10886 (*mov_sp_r): Likewise.
10887 (*mov_sp_r_no_interrupts): Likewise
10888 (*mov_sp_r_tiny): Likewise.
10889 (*movqi): Use output_movqi.
10890 (*reload_inqi): New.
10891 (*movhi): Use output_movhi.
10892 (*reload_inhi): New.
10893 (*negsi2): Optimized.
10894 (*negsf2): Likewise.
10895 Added peepholes (define_peephole2) for loading constants to r0-r14
10896 and for using `cpse' command.
10898 * config/avr/libgcc.S: Rename library functions to start with two
10900 Add support for enhanced core.
10901 (_moqhi3): Fix typo, now _modqi3.
10902 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
10903 (__prologue_saves__): Remove test for stack adjust by 0.
10904 (__tablejump__): New.
10906 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
10907 Add multilib support.
10909 Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
10911 * loop.c (prescan_loop): Don't check unknown_address_altered
10912 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
10913 to loop_store_mems as necessary.
10914 (loop_invariant_p): Don't check unknown_address_altered
10915 or unknown_constant_address_altered.
10917 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10919 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
10921 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10923 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
10924 print just the filename.
10925 * cpplex.c (_cpp_run_directive): Add additional argument, the
10926 name to give the synthetic buffer. This defaults to
10927 translated "<command line>".
10928 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
10930 (_cpp_define_builtin): New function.
10931 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
10932 * cpphash.h: Update prototypes.
10934 * tradcpp.c (main): Process -D and -U simultaneously, in the
10935 order they appeared on the command line.
10937 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10939 * c-decl.c (define_label): Call warning_with_file_and_line and
10940 error_with_file_and_line instead of plain warning or error.
10942 * c-parse.in (label): Use save_filename/save_lineno to ensure
10943 correct values for calls to define_label.
10945 2000-08-29 Mark Mitchell <mark@codesourcery.com>
10947 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
10949 * expr.c (expand_expr, case TARGET_EXPR): Don't call
10951 * tree.h (get_file_function_name): Remove two duplicate
10954 2000-08-28 Kazu Hirata <kazu@hxi.com>
10956 * tree.c: Fix formatting.
10958 * xcoffout.c: Fix formatting.
10960 2000-08-28 Jason Merrill <jason@redhat.com>
10962 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
10964 2000-08-28 Daniel Berlin <dberlin@redhat.com>
10966 * dwarf2out.c (dwarf2out_finish): Don't bother calling
10967 break_out_includes if it won't do anything.
10969 2000-08-28 Richard Henderson <rth@cygnus.com>
10971 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
10972 (find_reloads): Likewise.
10973 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
10974 (reload_inhi): Likewise.
10976 2000-08-28 Richard Henderson <rth@cygnus.com>
10978 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
10979 (call_insn_operand): Don't expect a surrounding mem.
10980 (constant_call_address_operand): Likewise.
10981 * config/i386/i386.h (PREDICATE_CODES): Update.
10982 * config/i386/i386.md (call patterns): Move the match_operand
10983 for the call destination inside the mem.
10985 2000-08-28 Richard Henderson <rth@cygnus.com>
10987 * local-alloc.c (requires_inout): Don't use reserved range for
10988 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
10989 * recog.c (asm_operand_ok): Likewise.
10990 (preprocess_constraints, constrain_operands): Likewise.
10991 * regclass.c (record_reg_classes): Likewise.
10992 * reload.c (find_reloads): Likewise.
10993 * reload1.c (maybe_fix_stack_asms): Likewise.
10994 (reload_cse_simplify_operands): Likewise.
10995 * stmt.c (expand_asm_operands): Likewise.
10997 * md.texi: Update constraints documentation.
10998 * tm.texi (EXTRA_CONSTRAINT): Update.
11000 2000-08-28 Daniel Berlin <dberlin@redhat.com>
11002 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
11003 (print_die): If we don't know the offset of the
11004 target die, try the symbol. Add a trailing newline.
11005 (reverse_all_dies): New fn.
11006 (dwarf2out_finish): Call it.
11007 (break_out_includes): Reorganize for clarity.
11008 (add_sibling_attributes): Don't call reverse_die_lists.
11009 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
11011 * flags.h: Add flag_eliminate_dwarf2_dups.
11012 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
11014 2000-08-28 Jason Merrill <jason@redhat.com>
11016 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
11017 * dwarf2out.c: #include "md5.h".
11018 (DIE_LABEL_PREFIX): New macro.
11019 (dw_val_struct): Add 'external' flag to val_die_ref.
11020 (add_AT_die_ref, AT_ref): Adjust.
11021 (AT_ref_external, set_AT_ref_external): New fns.
11022 (build_abbrev_table): Call set_AT_ref_external.
11023 (value_format): Call AT_ref_external.
11024 (die_struct): Add die_symbol field.
11025 (new_die): Clear it.
11026 (dwarf_tag_name): Handle BINCL/EINCL.
11027 (dwarf2out_start_source_file): Add BINCL DIE.
11028 (dwarf2out_end_source_file): Add EINCL DIE.
11029 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
11030 (loc_checksum, attr_checksum, die_checksum): New fns.
11031 (is_type_die, is_comdat_die, is_symbol_die): New fns.
11032 (compute_section_prefix, assign_symbol_names): New fns.
11033 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
11034 (output_die): Call output_die_symbol and AT_ref_external.
11035 (output_comdat_comp_unit): New fn, split out from...
11036 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
11038 (output_pubnames, output_aranges): Abort if we see entries from
11040 * toplev.h: Declare file_name_nondirectory.
11041 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
11042 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
11043 (debug_start_source_file): Call dwarf2out_start_source_file
11044 regardless of debug verbosity.
11045 (debug_end_source_file): Similarly.
11046 * tree.h: Declare clean_symbol_name.
11047 * tree.c (clean_symbol_name): Split out from...
11048 (get_file_function_name_long): ...here.
11050 * dwarf2out.c (new_loc_descr): Use calloc.
11051 (splice_child_die): Remove the die from the right parent.
11052 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
11054 Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11056 * toplev.c (decode_g_option): Don't give warning for unknown -g
11057 option; return 0 instead.
11058 (main): If -g option is not recognized by front end or
11059 language-independent code, give warning.
11061 2000-08-28 Greg McGary <greg@mcgary.org>
11063 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
11064 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
11065 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
11067 2000-08-27 Greg McGary <greg@mcgary.org>
11069 * cpplex.c (parse_string): Don't look for backslash
11070 before first char in `namebuf'.
11071 * loop.c (strength_reduce): Skip NOTEs.
11073 2000-08-27 Jason Merrill <jason@redhat.com>
11075 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
11076 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
11077 TREE_ASM_WRITTEN, either.
11078 (finish_decl): Adjust.
11080 2000-08-28 Philipp Thomas <pthomas@suse.de>
11082 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
11083 they have been incorporated into the gettext CVS. Change the text to
11084 reflect the current status of NLS. Add instructions for accessing
11085 the gettext CVS and add the patch from Martin v. Loewis.
11087 2000-08-27 Geoff Keating <geoffk@cygnus.com>
11089 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
11090 by using gen_lowpart_common.
11091 (movdi_internal64+6): Likewise.
11093 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
11095 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
11098 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
11099 numbers to the ranges used by GDB.
11101 2000-08-25 Richard Henderson <rth@cygnus.com>
11103 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
11104 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
11105 (ia64_expand_prologue): Likewise.
11106 (ia64_setup_incoming_varargs): Set it. Properly skip the current
11107 argument for stdargs.
11109 2000-08-25 Jason Merrill <jason@redhat.com>
11111 * integrate.c (expand_inline_function): Pull out the original decl.
11113 2000-08-25 Jim Wilson <wilson@cygnus.com>
11115 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
11117 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
11119 2000-08-25 Greg McGary <greg@mcgary.org>
11121 * flow.c (dump_edge_info): Use ARRAY_SIZE.
11122 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
11124 2000-08-25 Richard Earnshaw <rearnsha@arm.com>
11126 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
11128 Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
11130 * i386.c (ix86_find_base_term): New.
11131 * i386-protos.h (ix86_find_base_term): Prototype.
11132 * i386.h (FIND_BASE_TERM): Define.
11133 * alias.c (find_base_term): Use it.
11134 * tm.texi (FIND_BASE_TERM): Document it.
11136 * alias.c (true_dependence, write_dependence_p): Unchanging
11137 memory can't conflict with non-unchanging memory.
11139 * alias.c (memrefs_conflict_p): A BLKmode reference
11140 to a symbol (or CONST_INT address) always conflicts
11141 with a reference to another symbol.
11143 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
11145 * c-common.c (time_char_table): Don't allow width and flags with
11148 2000-08-25 Jakub Jelinek <jakub@redhat.com>
11150 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
11151 way as LT and LTU when the second operand has 0 in low word.
11153 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11155 * basic-block.h (struct loop): Rename `exits' field to
11156 `exit_edges'. Add `entry_edges' and `num_entries' fields.
11158 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
11159 (flow_loop_entry_edges_find): Add.
11160 (flow_edge_list_print): Rename from flow_exits_print.
11161 (flow_loops_find): Call flow_loop_entry_edges_find.
11162 (flow_loop_dump): Dump entry_edges list.
11163 (flow_loops_free): Free entry_edges.
11165 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11167 * loop.c (loop_dump_aux, debug_loop): New functions.
11168 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
11170 * flow.c (flow_loops_dump): Add callback parameter.
11171 (flow_loop_dump): Add callback parameter and call it. Move
11172 loop note debugging code to loop_dump_aux.
11174 * basic-block.h (flow_loop_dump): Add callback parameter
11175 (flow_loops_dump): Likewise.
11177 * toplev.c (rest_of_compilation): Add NULL callback function pointer
11178 to call to flow_loops_dump.
11180 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11182 * loop.c (count_loop_regs_set): Replace start and end arguments
11183 with loop argument. All callers udated.
11185 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11187 * loop.c (constant_high_bytes): Delete.
11189 2000-08-26 Michael Hayes <mhayes@cygnus.com>
11191 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
11192 and NOTE_INSN_LOOP_VTOP to...
11193 (find_and_verify_loops) ...here.
11195 Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
11197 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
11198 (fini_dummy, init_dummy): Use it.
11200 Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
11202 * cpplex.c (is_macro_disabled): Caller has already checked
11203 that we're not a preprocessed file.
11205 2000-08-24 Mark Mitchell <mark@codesourcery.com>
11207 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
11208 (c-iterate.o): Remove target.
11209 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
11210 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
11211 (finish_decl): Don't handle iterators.
11212 (grokdeclarator): Likewise.
11213 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
11214 * gcc/c-gperf.h: Regenerated.
11215 * gcc/c-iterate.c: Removed.
11216 * gcc/c-lex.c (init_lex): Don't handle iterators.
11217 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
11218 (compstmt_primary_start): Remove push_iterator_stack call.
11219 (stmt): Don't allow iterator statements. Replace iterator_expand
11220 with expand_expr_stmt.
11221 (all_iter_stmt): Remove.
11222 (all_iter_stmt_simple): Likewise.
11223 (all_iter_stmt_with_decl): Likewise.
11224 * gcc/c-tree.h (ITERATOR_P): Remove.
11225 (ITERATOR_BOUND_P): Likewise.
11226 (init_iterators): Remove declaration.
11227 (iterator_expand): Likewise.
11228 (iterator_for_loop_start): Likewise.
11229 (iterator_for_loop_end): Likewise.
11230 (iterator_for_loop_record): Likewise.
11231 (push_iterator_stack): Likewise.
11232 (pop_iterator_stack): Likewise.
11233 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
11234 (readonly_warning): Likewise.
11235 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
11237 2000-08-24 Jim Wilson <wilson@cygnus.com>
11239 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
11240 Copy type in a TYPE_DECL, just like pushdecl does.
11242 2000-08-24 Richard Henderson <rth@cygnus.com>
11244 * toplev.c (main): Enable flag_reorder_blocks at -O2.
11246 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11248 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
11249 asked for one page, allocate GGC_QUIRE_SIZE of them and put
11250 the extras on the free list.
11251 (release_pages): Clean up.
11252 (ggc_set_mark): Don't adjust G.allocated here...
11253 (sweep_pages): ... do it here.
11255 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11257 * cppfiles.c (read_include_file): Rearrange initializations.
11259 2000-08-24 Richard Henderson <rth@cygnus.com>
11261 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
11263 * config/ia64/ia64-protos.h: Update.
11264 * config/ia64/ia64.c (gr_register_operand): New.
11265 (fr_register_operand, grfr_register_operand): New.
11266 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
11267 (grfr_reg_or_8bit_operand): New.
11268 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
11269 use gr_register_operand.
11270 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
11271 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
11272 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
11273 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
11274 (fr_reg_or_fp01_operand): Likewise.
11275 (not_postinc_memory_operand): New.
11276 (ia64_split_timode): Remove unused variables.
11277 (rtx_needs_barrier): Check arguments to cmpxchg.
11278 (builtin_description): Remove.
11279 (bdesc_2argsi, bdesc_2argdi): Remove.
11280 (ia64_init_builtins): Declare all builtins directly.
11281 (ia64_expand_fetch_and_op): Rewrite to be called from
11282 ia64_expand_builtin directly. Use expand_binop and co.
11283 (ia64_expand_op_and_fetch): Likewise.
11284 (ia64_expand_compare_and_swap): Likewise.
11285 (ia64_expand_binop_builtin): Remove.
11286 (ia64_expand_lock_test_and_set): New.
11287 (ia64_expand_lock_release): New.
11288 (ia64_expand_builtin): Use them.
11289 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
11290 (EXTRA_CONSTRAINT): Use it.
11291 (PREDICATE_CODES): Update.
11292 * config/ia64/ia64.md (*): Use gr_register_operand and co.
11293 (mf): Indicate that we set memory as well as use it.
11294 (fetchadd_acq_si): Show memory being modified as well.
11295 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
11296 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
11297 (lock_test_and_set_si, lock_test_and_set_di): Remove.
11298 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
11299 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
11300 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
11301 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
11302 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
11303 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
11304 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
11305 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
11306 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
11307 return type. Pretty print definitions.
11309 2000-08-24 Jim Wilson <wilson@cygnus.com>
11311 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
11312 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
11314 2000-08-24 Jason Merrill <jason@redhat.com>
11316 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
11317 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
11318 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
11319 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
11321 2000-08-24 Greg McGary <greg@mcgary.org>
11323 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
11324 and extendtab within their proper array boundaries.
11325 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
11326 for the entire array.
11328 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
11329 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
11330 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
11331 * config/fr30/fr30.c (fr30_print_operand): Likewise.
11332 * config/i386/dgux.c (output_options): Likewise.
11333 * config/i386/dgux.h (ASM_FILE_START): Likewise.
11334 * config/m88k/m88k.c (output_options): Likewise.
11335 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
11336 * config/mcore/mcore.c (mcore_output_inline_const_forced,
11337 layout_mcore_frame, handle_structs_in_regs): Likewise.
11338 * config/mips/mips.c (output_block_move): Likewise.
11339 * config/rs6000/rs6000.c (rs6000_override_options,
11340 rs6000_file_start): Likewise.
11341 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
11342 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
11343 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
11344 * builtins.c (expand_builtin_setjmp): Likewise.
11345 * expr.c (safe_from_p): Likewise.
11346 * flow.c (life_analysis): Likewise.
11347 * fold-const.c (size_int_type_wide): Likewise.
11348 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
11349 * genattrtab.c (make_length_attrs): Likewise.
11350 * genopinit.c (gen_insn): Likewise.
11351 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
11352 * global.c (global_alloc): Likewise.
11353 * local-alloc.c (find_free_reg): Likewise.
11354 * mips-tdump.c (print_symbol): Likewise.
11355 * mips-tfile.c (parse_def, parse_input): Likewise.
11356 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
11357 * stmt.c (expand_nl_goto_receiver): Likewise.
11358 * stor-layout.c (set_sizetype): Likewise.
11359 * varasm.c (decode_reg_name): Likewise.
11360 * toplev.c (decode_f_option, decode_W_option,
11361 set_target_switch, print_switch_values): Likewise.
11362 (NUM_ELEM): Remove macro.
11363 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
11365 2000-08-24 Greg McGary <greg@mcgary.org>
11367 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
11368 (MAIN_NAME_P, main_identifier_node): New macros.
11369 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
11370 * c-decl.c (start_decl, grokdeclarator, start_function,
11371 store_parm_decls, finish_function): Use MAIN_NAME_P.
11372 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
11373 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
11374 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11375 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
11377 2000-08-24 Greg McGary <greg@mcgary.org>
11379 * cppfiles.c (actual_directory): Don't write beyond `dir'
11380 when it contains "".
11381 * real.c (asctoeg): Stay within bounds of etens[][].
11383 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11385 * dependence.c (dependence_string, direction_string,
11386 dump_one_node, dump_node_dependence): Hide unused identifiers.
11387 (get_low_bound, normalize_coefficients): Match definition to
11389 (get_one_coefficient): Initialize variables `value0_is_idx' and
11391 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
11392 (ziv_test): Delete variable `idx', use parameter `sub' instead.
11393 (direction_merge): Avoid automatic aggregate initialization.
11394 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
11395 Initialize variables `dest_idx' and `src_idx'.
11396 (end_dependence_analysis): Avoid C89 style function definition.
11398 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
11400 * c-common.c (time_char_table): Don't allow width with %F.
11401 (check_format_info): Don't allow "Z" length with scanf.
11403 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
11405 * diagnostic.c (finish_diagnostic): Define.
11406 (output_do_printf): Use wrap_text instead of output_add_string.
11407 (default_print_error_function): Avoid embedded '\n'.
11409 * diagnostic.h (flush_diagnostic_buffer): Declare.
11411 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
11413 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
11415 2000-08-23 Hans-Peter Nilsson <hp@axis.com>
11417 * Makefile.in (GCC_PASSES): Add specs.
11419 2000-08-23 Jim Wilson <wilson@cygnus.com>
11421 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
11422 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
11423 EHANDLER nor UHANDLER bit is set.
11424 (__get_except_table): Likewise.
11426 2000-08-23 Nick Clifton <nickc@redhat.com>
11428 * config/arm/lib1funcs.asm: Replace upper case condition codes
11429 with lower case versions.
11431 * config/arm/arm.h (STRUCT_VALUE): Define.
11432 (STRUCT_VALUE_REGNUM): Delete.
11434 2000-08-23 Zack Weinberg <zack@wolery.cumb.org>
11436 * cpphash.h (IN_I): New flag for directive table.
11437 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
11439 (_cpp_check_directive): If -fpreprocessed, execute directives
11440 marked with IN_I. Issue no warnings in this case.
11441 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
11443 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
11445 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
11447 (check_format_info): Support printf 'I' flag; warn about it with
11450 2000-08-23 Richard Earnshaw (rearnsha@arm.com)
11452 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
11453 barrier can't be ignored by the alias analysis code.
11455 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
11457 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
11458 works inside fixincl.
11460 Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
11462 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
11463 simplify_relational_operation() unless both operands are of
11465 * cse.c (fold_rtx): Likewise.
11467 Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
11469 * rtlanal.c (rtx_unstable_p): The pic register is stable
11470 (within one function) and the actual rtx should be used
11471 when checking the registers.
11472 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
11474 * alias.c (true_dependence, write_dependence_p): Fix
11475 bug in previous patch.
11477 * i386.c (ix86_GOT_alias_set): New.
11478 (legitimize_pic_address): Use it.
11480 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
11481 only stable if its address is stable.
11482 (rtx_varies_p): An unchanging MEM can't vary if
11483 its address doesn't vary.
11485 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11487 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
11489 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
11491 * vax.h (ASM_SPEC): Pass `-J' to assembler.
11492 * x-vax-gcc: New file for bootstrapping with gcc.
11493 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
11494 * configure.in: Use x-vax-gcc with gcc.
11495 * configure: Rebuilt.
11497 Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11499 * toplev.c (rest_of_compilation): Rebuild label notes after
11500 post-reload splitting pass if new labels have been created.
11502 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11504 * diagnostic.h (output_buffer_state): New macro.
11505 * diagnostic.c (diagnostic_for_decl, sorry,
11506 default_print_error_function, output_do_verbatim,
11507 report_diagnostic, report_problematic_module): Use it.
11508 (wrap_text): Tweak.
11509 (output_format): Use wrap_text instead of maybe_wrap_text.
11511 2000-08-22 Nick Clifton <nickc@redhat.com>
11513 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
11514 Common code for ARM divide and modulus functions.
11515 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
11517 (FUNC_END): New macro: Common code at the end of the division and
11519 (THUMB_FUNCTION_START): New macro: Common code at the start of
11521 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
11523 Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11525 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
11527 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
11528 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
11531 2000-08-22 Nick Clifton <nickc@redhat.com>
11533 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
11534 restorative additions, test for bottom bits of IP being set,
11535 rather than relying upon the RORs not matching.
11538 2000-08-22 David Edelsohn <edelsohn@gnu.org>
11540 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
11541 text_section() as appropriate instead of emitting text csect
11542 pseudo-op directly.
11543 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
11544 (UNIQUE_SECTION): Define macro.
11545 (ASM_OUTPUT_SECTION_NAME): Define macro.
11546 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
11547 on AIX if debugging and -fdata-sections always.
11549 2000-08-22 Steven King <sxking@uswest.net>
11551 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
11553 (LDBL_MAX): Same here.
11555 2000-08-22 Richard Henderson <rth@cygnus.com>
11557 * flow.c (tidy_fallthru_edge): Update b->end properly.
11559 2000-08-22 Stan Cox <scox@redhat.com>
11561 * Makefile.in (OBJS): Add dependence.o.
11562 * dependence.c: New file.
11564 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
11566 * calls.c (check_sibcall_argument_overlap_1): Adjust for
11567 ARGS_GROW_DOWNWARD.
11568 (check_sibcall_argument_overlap): Likewise.
11570 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
11572 * invoke.texi (SH Options): Document -m4-nofpu,
11573 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
11574 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
11576 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
11578 * c-common.c (check_format_info): Give the 'some locales' warning
11579 for strftime %Ey rather than the unconditional 'only last 2 digits
11582 2000-08-22 Richard Henderson <rth@cygnus.com>
11584 * alias.c (init_alias_analysis): Do not register
11585 struct_value_incoming_rtx or static_chain_rtx as pointing
11588 Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
11590 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
11592 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11594 * diagnostic.h (report_problematic_module): Declare.
11595 * diagnostic.c (report_problematic_module): New function.
11596 (report_error_function): Tweak.
11598 Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11600 * stmt.c (expand_goto_internal, fixup_gotos): Only check
11601 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11603 2000-08-21 Richard Henderson <rth@cygnus.com>
11605 * flow.c (calculate_global_regs_live): Mark frame pointer live
11606 everywhere before reload.
11608 2000-08-21 Jim Wilson <wilson@cygnus.com>
11610 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
11611 INTEL_EXTENDED_IEEE_FORMAT.
11612 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
11613 clear last two bytes of output FP value.
11615 2000-08-21 Graham Stott <grahams@cygnus.co.uk>
11617 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
11619 2000-08-21 Jakub Jelinek <jakub@redhat.com>
11621 * unroll.c (loop_find_equiv_value): If ret is modified between
11622 insn and loop_start, ret might not be equivalent to reg.
11624 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11626 * c-common.c (init_dollar_format_checking,
11627 maybe_read_dollar_number, finish_dollar_format_checking): New
11629 (dollar_arguments_used, dollar_arguments_count,
11630 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
11632 (check_format_info): Support $ formats for scanf and printf width
11633 and precision. Always increment format_chars to advance past the
11634 '*' of precision, not just when the format parameters are
11635 available to check.
11637 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11639 * mips.c (block_move_loop, expand_block_move,
11640 function_arg_partial_nregs, save_restore_insns, function_prologue,
11641 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
11643 (function_arg_advance, function_arg): Match argument to format
11646 2000-08-21 Nix <nix@esperi.demon.co.uk>
11648 * gcc.c (do_spec_1): Implement %j spec flag.
11649 Remove dead comment.
11651 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
11652 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
11653 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
11654 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
11656 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
11657 writable) instead of hardcoded value.
11659 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
11661 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
11664 * gcc.c (cc1_options): Do not process -o or run the assembler if
11666 * objc/lang-spec.h: Likewise.
11668 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
11670 * fixinc/fixincl.c (fix_with_system): Pipe the output of
11671 "external" fixes through `cat', to avoid truncating the input
11672 file by redirection.
11674 2000-08-21 Jakub Jelinek <jakub@redhat.com>
11676 * config/i386/i386.md (lea_general_1): Copy insn condition to split
11678 (lea_general_2, lea_general_3): Likewise.
11680 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11682 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
11683 warnings to user code.
11685 * c-lex.c (readescape, yylex): Likewise.
11687 * c-typeck.c (store_init_value, process_init_element): Likewise
11688 (c_expand_start_case): Format.
11690 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11692 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
11694 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
11695 and linker_endian_spec to endian_spec.
11696 (ENDIAN_SPEC): Add %{EB} and %{EL}.
11697 (LINK_SPEC): Remove %{EB} and %{EL}.
11698 (ASM_SPEC): Likewise. Use %(endian_spec).
11700 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11702 * c-tree.h (flag_hosted): Move declaration from here...
11703 * c-common.h (flag_hosted): ... to here.
11704 (flag_noniso_default_format_attributes): New declaration.
11705 * c-decl.c (flag_noniso_default_format_attributes): New variable.
11706 (c_decode_option): Set it appropriately for options choosing
11707 language standard variant.
11708 * c-common.c (init_function_format_info): Only provide default
11709 format attributes if flag_hosted. Only provide the gettext
11710 formats if flag_noniso_default_format_attributes. Update
11712 (check_format_info): Disable treatment of %a as a scanf flag in
11715 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11717 * c-common.c (scan_char_table): Add 'w' to flags for all formats
11719 (check_format_info): Set 'wide' for scanf format widths. Warn for
11720 a zero scanf width. Make the check for writing into a constant
11721 object at the first level of indirection; at later levels, warn if
11722 any type qualifiers are encountered.
11724 Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
11726 * reload.c (reload_inner_reg_of_subreg): New function broken out of
11728 (push_reload): Use reload_inner_reg_of_subreg.
11729 (combine_reloads): Do not combine reloads if the input reload
11730 is a SUBREG in which the inner part will need reloading.
11732 * global.c (global_alloc): Avoid passing dumpfile argument to
11734 * toplev.c (rest_of_compilation): Likewise.
11735 * reload.h (reload): Remove dumpfile argument. Callers changed.
11736 (debug_reload, debug_reload_to_stream): Move prototypes here.
11737 * rtl.h (reload): Remove dumpfile argument.
11738 * reload.c (debug_reload): Remove prototype.
11739 (debug_reload_to_stream): Likewise.
11740 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
11743 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11745 * diagnostic.c (context_as_prefix): Export.
11746 (need_error_newline): Remove.
11747 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
11748 (error_module_changed, record_last_error_module,
11749 error_function_changed, record_last_error_function): New functions.
11750 (initialize_diagnostics): Default intialize
11751 lang_diagnostic_starter, lang_diagnostic_finalizer.
11752 (init_output_buffer): Tweak.
11753 (file_name_as_prefix): New function.
11754 (announce_function, default_print_error_function,
11755 report_error_function, set_diagnostic_context): Tweak.
11757 2000-08-21 Richard Earnshaw <rearnsha@arm.com>
11759 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
11760 condition expression.
11762 2000-08-20 Richard Henderson <rth@cygnus.com>
11764 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
11766 2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
11768 * cppinit.c (cpp_init): Set global flag when called.
11769 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
11771 Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
11773 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
11774 before `process_directive' so that newlines won't be missed
11776 (cpp_printf): Increment `print->lineno' when newline is emitted.
11778 * cppmain.c (cb_ident): Likewise.
11779 (cb_define): Likewise.
11780 (cb_undef): Likewise.
11781 (cb_include): Likewise.
11782 (cb_def_pragma): Likewise.
11783 (dump_macros_helper): Likewise.
11785 2000-08-20 Richard Henderson <rth@cygnus.com>
11787 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
11788 assigned before a loop.
11790 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
11791 (ashrsi3, lshrsi3): Likewise.
11793 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11795 * c-lang.c: #include diagnostic.h
11796 (c_tree_printer): New function.
11797 (lang_init): Initialize lang_printer.
11799 * Makefile.in (c-lang.o): Depends on diagnostic.h
11801 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11803 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
11805 * diagnostic.c (default_diagnostic_starter,
11806 default_diagnostic_finalizer): New functions.
11807 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
11808 (pedwarn, pedwarn_with_file_and_line, error,
11809 error_with_file_and_line, fatal, warning,
11810 warning_with_file_and_line): Adjust call to report_diagnostic.
11811 (report_diagnostic): Rework.
11812 (set_diagnostic_context): New function.
11814 * diagnostic.h (struct diagnostic_context): New data structure.
11815 (diagnostic_message, diagnostic_argument_list,
11816 diagnostic_file_location, diagnostic_line_location,
11817 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
11818 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
11819 (set_diagnostic_context): Declare.
11820 (report_diagnostic): Change prototype.
11822 Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
11824 * fix-header.c (main): Initialize cpplib.
11826 2000-08-19 Michael Meissner <meissner@redhat.com>
11828 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
11829 instructions in it before checking for indirect jumps.
11831 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
11832 in a indirect jump as a potential for conditional execution.
11834 * d30v.h (d30v_init_expanders): Don't declare here.
11835 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
11838 Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
11840 * cpp.texi: Add @section for assertions.
11842 Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
11844 * loop.c (scan_loop): Use CONST_CALL_P instead of
11845 checking for REG_LIBCALL / REG_RETVAL.
11847 Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
11849 * reload1.c (reload_as_needed): Accept dumpfile argument,
11850 pass it to emit_reload_insns.
11851 (emit_reload_insns): Add new dumpfile argument. If non-null
11852 then dump the reloads for each insn into the dumpfile.
11853 (reload): Pass dumpfile to reload_as_needed.
11855 * invoke.texi: Clean up linux-gnu vs linux comments.
11857 2000-08-19 Richard Henderson <rth@cygnus.com>
11859 * config/ia64/ia64.c (reg_or_5bit_operand): New.
11860 (ia64_depz_field_mask): New.
11861 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
11862 (PREDICATE_CODES): Update.
11863 * config/ia64/ia64.md: Update commentary.
11864 (depz_internal): New.
11865 (ashlsi3): Implement directly.
11866 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
11867 (ashldi3): Use shladd.
11868 * config/ia64/ia64-protos.h: Update.
11870 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11872 * toplev.c (independent_decode_option): Always process -g.
11873 Remove third argument, now unused. Adjust caller to match.
11875 2000-08-18 Richard Henderson <rth@cygnus.com>
11877 * combine.c (make_compound_operation): Break after creating
11880 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11882 * cpplib.c (cpp_register_pragma_space): Just return if the
11883 namespace is already registered.
11885 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
11887 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
11888 constant amount. Do not generate ROTL instruction.
11890 Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
11892 * config/sh/elf.h: Do not include sh/sh.h.
11893 * config/sh/rtems.h: Likewise.
11894 * config/sh/rtemself.h: Do not include sh/elf.h.
11895 * configure.in: Get them included with `tm_file's.
11896 * configure: Rebuilt.
11898 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
11899 * config/sh/sh.c (fpscr_set_from_mem): Use them.
11901 Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11903 * stor-layout.c (compute_record_type): Don't use mode of single
11904 field as mode of record if not integer mode of same type.
11906 * regmove.c (perhaps_ends_bb_p): New function.
11907 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
11908 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
11909 (fixup_match_1): Likewise.
11910 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
11911 avoid signed/unsigned warnings.
11913 * function.c (fixup_var_refs_1, case MEM): Update CODE after
11916 Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
11918 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
11919 (_cpp_trigraph_map): Declaration moved from cpplex.c
11921 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
11922 instead of 256. Use consistent test for designated initializers.
11923 (cpp_init): Initialize trigraph_map.
11924 (initialize_standard_includes, parse_option): Use memcmp
11925 instead of strncmp.
11927 * cpplex.c (init_trigraph_map): Remove.
11928 (trigraph_ok, trigraph_replace, lex_line): Refer to
11931 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
11932 (do_unassert): Remove unused "next" local.
11934 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
11936 2000-08-18 Emmanuel Marty <emarty@suntech.fr>
11938 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
11941 2000-08-17 Richard Henderson <rth@cygnus.com>
11943 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
11944 the first insn in a sequence.
11946 Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
11948 * alias.c (true_dependence, write_dependence_p): A read
11949 involving a label_ref or the constant pool doesn't create
11952 * rtl.h (unchanging): Improve documentation.
11954 2000-08-17 Rodney Brown <RodneyBrown@mynd.com>
11956 * cse.c (insert_regs): Remove unused `regno'.
11958 2000-08-17 Neil Booth <NeilB@earthling.net>
11960 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
11961 remove_dup_dirs. If qtail == brack, remove brack not
11963 (remove_dup_dir, remove_dup_dirs): New functions.
11965 2000-08-17 Neil Booth <NeilB@earthling.net>
11967 * cppinit.c (cpp_cleanup): Free include dir chains.
11968 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
11969 (do_unassert): Free the assert with _cpp_free_definition.
11970 * cppmacro.c (_cpp_free_definition): Free memory allocated for
11971 assertions. Make the node a T_VOID node.
11973 2000-08-17 Neil Booth <NeilB@earthling.net>
11975 * cppinit.c (path_include, append_include_chain):
11976 Remove 2nd parameter (struct cpp_pending *).
11977 (path_include, initialize_standard_includes, cpp_handle_option):
11978 Update callers appropriately.
11979 (cpp_handle_option): Use pend.
11981 2000-08-17 Neil Booth <NeilB@earthling.net>
11983 * cppinit.c (sort_options): Remove, put functionality in
11986 (initialize_builtins): Free memory.
11987 (cpp_start_read): Move init_IStable to cpp_init.
11989 * cpplib.h (cpp_init): New prototype.
11990 * cppmain.c (main): Call cpp_init.
11992 Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
11994 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
11995 (rtx_unstable_p, rtx_varies_p): Process vectors.
11997 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
11999 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
12000 references to GLOBAL symbols. Use LOCAL where appropriate.
12002 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12004 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
12005 use t-aix41 when host == target.
12007 2000-08-16 Richard Henderson <rth@cygnus.com>
12009 * reload.c (push_secondary_reload): Revert last change.
12010 If we use a reload_in/out pattern, make the when the same
12011 as the primary reload.
12012 (find_reloads): Likewise.
12014 2000-08-16 Manfred Hollstein <manfredh@redhat.com>
12016 * configure.in (libstdcxx-v3): Fix test.
12017 * configure: Regenerate.
12019 Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12021 * calls.c (calls_function_1, expand_call): Only test
12022 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
12023 * function.c (thread_prologue_and_epilogue_insns): Likewise.
12025 2000-08-16 Richard Henderson <rth@cygnus.com>
12027 * combine.c (simplify_shift_const): Revert previous two
12028 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
12029 before the main loop.
12031 2000-08-15 Richard Henderson <rth@cygnus.com>
12033 * combine.c (simplify_shift_const): Bound shift count when
12036 Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12038 * calls.c (ECF_SP_DEPRESSED): New macro.
12039 (calls_function_1): Treat calling sp-depressed function as alloca.
12040 (emit_call_1): Don't adjust SP if calling sp-depressed function.
12041 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
12042 If sp-depressed, ensure block saves and restores SP.
12043 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
12045 * function.c (keep_stack_depressed): New function.
12046 (thread_prologue_and_epilogue_insns): Call it.
12047 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
12048 to print DECL_OFFSET_ALIGN.
12049 Print no-force-blk and transparent-union flags properly.
12050 * stmt.c (expand_goto_internal): Don't restore stack if last block
12051 and function returns with sp depressed.
12052 (fixup_gotos): Likewise.
12053 (save_stack_pointer): New function, from code in expand_decl.
12054 (expand_decl): Call new function.
12055 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
12056 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
12057 (save_stack_pointer): New declaration.
12059 * diagnostic.c (fatal_function): New variable.
12060 (set_fatal_function): New function.
12062 * diagnostic.h (set_fatal_function): New declaration.
12064 2000-08-15 William Cohen <wcohen@redhat.com>
12066 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
12067 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
12068 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
12070 2000-08-15 Richard Henderson <rth@cygnus.com>
12072 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
12074 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12076 * arm.c (arm_function_ok_for_sibcall): New function.
12077 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
12078 * arm.md (call expanders): Don't check here for calls that can't
12081 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12083 * arm.md (splits generating cond_exec): Disable.
12085 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12087 * arm/linux-elf.h (text_section): Delete declaration.
12089 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
12091 ARM support for unordered FP operations.
12092 * arm-protos.h (arm_comparison_operator): Declare.
12093 * arm.c (arm_comparison_operator): New function.
12094 (arm_select_cc_mode): Add unordered comparison codes.
12095 (get_arm_condition_code): Likewise.
12096 (arm_final_prescan_insn): Can't handle unordered jumps that can't
12097 be done in one insn.
12098 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
12099 * arm.md (all uses of comparison_operator): Replace with
12100 arm_comparison_operator.
12101 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
12103 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
12106 Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12108 * gthr-posix.h: Conditionally include <sched.h>; include
12109 <config.h> from libobjc/.
12111 2000-08-14 Richard Henderson <rth@cygnus.com>
12113 * config/i386/i386.c (legitimize_pic_address): Use Pmode
12116 2000-08-14 Richard Henderson <rth@cygnus.com>
12118 * configure.in (ia64-*): Set float_format for i386 long double.
12120 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
12121 as we would for i386 XFmode.
12122 (PUT_REAL): Likewise.
12123 (endian, ereal_atof, real_value_truncate): Likewise.
12124 (ereal_isneg, toe64, etens, make_nan): Likewise.
12125 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
12127 * config/ia64/ia64-protos.h: Update.
12128 * config/ia64/ia64.c (general_tfmode_operand): New.
12129 (destination_tfmode_operand): New.
12130 (tfreg_or_fp01_operand): New.
12131 (ia64_split_timode): New.
12132 (spill_tfmode_operand): New.
12133 (ia64_expand_prologue): Use TFmode not XFmode.
12134 (ia64_expand_epilogue): Likewise.
12135 (ia64_function_arg): Likewise.
12136 (ia64_function_arg_advance): Likewise.
12137 (ia64_return_in_memory): Likewise.
12138 (ia64_function_value): Likewise.
12139 (ia64_print_operand): Likewise.
12140 (ia64_register_move_cost): Set GR<->FR to 5.
12141 (ia64_secondary_reload_class): Get GR for TImode memory op.
12142 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
12143 (ROUND_TYPE_ALIGN): Remove.
12144 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
12145 (INTEL_EXTENDED_IEEE_FORMAT): Define.
12146 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
12147 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
12148 (MODES_TIEABLE_P): Use TFmode, not XFmode.
12149 (CLASS_MAX_NREGS): Likewise.
12150 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
12151 (PREDICATE_CODES): Update.
12152 * config/ia64/ia64.md (movti): New.
12153 (movti_internal): Use a clobber for memory alternatives.
12154 (reload_inti, reload_outti): New.
12155 (movsfcc_astep): Predicate properly.
12156 (movdfcc_astep): Likewise.
12159 (extendsftf2, extenddftf2): New.
12160 (trunctfsf2, trunctfdf2): New.
12161 (floatditf2, fix_trunctfdi2): New.
12162 (floatunsditf2, fixuns_trunctfdi2): New.
12163 (addtf3, subtf3, multf3, abstf2): New.
12164 (negtf2, nabstf2, mintf3, maxtf3): New.
12165 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
12167 (fr_spill): Use TFmode, not XFmode.
12168 (fr_restore): Likewise.
12169 * config/ia64/lib1funcs.asm (__divtf3): New.
12170 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
12172 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12174 * cse.c (fold_rtx): Avoid empty body in an if-statement.
12176 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
12177 `U' integer constant suffix.
12179 * dwarf2out.c (add_subscript_info): Avoid empty body in an
12182 * sparc/sol2.h (__enable_execute_stack): Prototype.
12184 2000-08-14 David Edelsohn <edelsohn@gnu.org>
12186 * collect2.c: Remove use of AIX import file.
12188 * longlong.h: Test ARCH_PWR not ARCH_POWER.
12190 * rs6000.c (print_operand, case 'E'): Add else.
12192 2000-08-14 Richard Henderson <rth@cygnus.com>
12194 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
12195 (movdi_symbolic): New.
12197 2000-08-14 Jim Wilson <wilson@cygnus.com>
12199 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12200 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
12201 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12204 2000-08-14 Richard Henderson <rth@cygnus.com>
12206 * expr.c (emit_group_load): Don't force constants into registers.
12207 Special case source already in the correct mode.
12209 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
12211 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
12212 * fixinc/inclhack.def: Likewise.
12213 * fixinc/mkfixinc.sh: Likewise.
12214 * configure: Regenerate.
12215 * fixinc/fixincl.x: Regenerate.
12216 * install.texi: Document equivalence of linux and linux-gnu.
12218 Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12220 * cse.c (insert_regs): Also in REG case: When finding an invalid
12221 value, and we make a new quantity, make sure that it won't be
12222 mistaken by for a valid one by mention_regs.
12224 2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de>
12226 * h8300.md: Remove obsolete peepholes.
12228 2000-08-13 Kazu Hirata <kazu@hxi.com>
12230 * invoke.texi (H8/300 Options): Fix typos.
12231 * config/h8300.c: Fix formatting.
12232 * config/h8300.h: Fix comment typos.
12233 (OVERRIDE_OPTIONS): Fix formatting.
12235 * function.c: Fix formatting.
12237 * cse.c: Fix formatting.
12239 2000-08-13 Geoff Keating <geoffk@cygnus.com>
12241 * flow.c (attempt_auto_inc): Remove unused variable `bb'.
12242 (attempt_auto_inc): Suppress parentheses warning.
12243 * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
12244 * loop.c (load_mems): Remove `u' suffix in two places.
12245 * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
12247 * config/rs6000/rs6000.h: Likewise.
12248 * config/rs6000/sol-c0.c: Prototype some functions. Remove the
12249 __eabi dummy routine.
12250 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
12251 variable `buf_ptr'.
12253 * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
12254 not put stuff in .sdata unnecessarily.
12255 (rs6000_unique_section): New function.
12256 * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
12257 * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
12259 * c-typeck.c (build_array_ref): Don't complain about non-lvalue
12260 arrays in C99. Don't try to look at DECL_REGISTER of a
12261 COMPONENT_REF. Don't complain twice about the same error.
12263 * fixinc/inclhack.def (aix_pthread): New fix.
12264 (aix_sysmachine): New fix.
12265 * fixinc/fixincl.x: Regenerate.
12267 * expr.c (expand_expr): Call convert_modes when turning a large
12268 multiply into a small one.
12270 2000-08-12 Geoff Keating <geoffk@cygnus.com>
12272 * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
12273 the tree structure an exponent rather than an explicit alignment
12274 so it doesn't overflow.
12275 (SET_DECL_OFFSET_ALIGN): New macro.
12276 * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
12277 rather than DECL_OFFSET_ALIGN.
12278 (place_field): Likewise.
12279 * expmed.c (store_bit_field): Abort on align==0 to avoid
12280 antisocial machine behaviour.
12282 2000-08-12 Richard Henderson <rth@cygnus.com>
12284 * sibcall.c (uses_addressof): Accept both addressof and
12285 current_function_internal_arg_pointer inside a mem.
12286 (optimize_sibling_and_tail_recursive_call): Fail tail recursion
12287 if current_function_uses_addressof.
12288 * stmt.c (expand_return): Kill tail recursion and HAVE_return
12291 2000-08-11 Richard Henderson <rth@cygnus.com>
12293 * config/ia64/ia64.md (addsi3): Remove expander.
12294 (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
12295 (*addsi3_shladd): New.
12297 2000-08-11 Richard Henderson <rth@cygnus.com>
12299 * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
12300 (do_restore): Likewise.
12301 (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
12302 (ia64_expand_prologue, ia64_expand_epilogue): Use them.
12303 (rtx_needs_barrier): Track actual bit manipulation for
12304 ar.unat moves, gr_spill, and gr_restore.
12305 (emit_insn_group_barriers): Special case gr_spill/gr_restore.
12306 (process_set): Don't handle varargs spills.
12307 * config/ia64/ia64.md (gr_spill): Accept cfa offset. Emit
12308 .mem.offset here instead of in process_set.
12309 (gr_restore): Likewise.
12311 2000-08-11 Richard Henderson <rth@cygnus.com>
12313 * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
12315 2000-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12317 * gcc.texi (The Configuration File): Document
12318 COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
12319 UPDATE_PATH_HOST_CANONICALIZATION.
12321 2000-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12323 * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
12324 unprototyped function pointer casts on integer constants.
12326 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
12328 * fixproto: Recognize DOS paths with drive letters as absolute paths.
12330 2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
12332 * extend.texi (Volatiles): Fix typos.
12334 2000-08-11 Kazu Hirata <kazu@hxi.com>
12336 * flow.c: Fix formatting.
12338 2000-08-11 Richard Henderson <rth@cygnus.com>
12340 * reload.c (push_secondary_reload): When invoking a reload_{in,out}
12341 pattern, always allocate a tertiary scratch register.
12343 * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
12344 (reload_inhi): Likewise.
12346 2000-08-11 Richard Henderson <rth@cygnus.com>
12348 * function.c (put_reg_into_stack): Allow type to be NULL.
12349 (schedule_fixup_var_refs): Likewise.
12350 (gen_mem_addressof): Allow decl to be NULL.
12351 (put_addressof_into_stack): Likewise.
12353 * flow.c (merge_blocks_nomove): Be more careful about
12354 locating the beginning of block A.
12356 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
12358 Thu Aug 10 22:47:09 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12363 * config.in: Reverted the check for <sched.h>.
12365 2000-08-10 Chris Demetriou <cgd@sibyte.com>
12367 * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
12368 macros define the name of CTOR and DTOR sections.
12369 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12370 DTOR_LIST_END): Change to use attributes to specify
12372 * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
12373 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12374 DTOR_LIST_END): Same as in mips/elf.h.
12376 2000-08-10 Drew Moseley <dmoseley@redhat.com>
12378 * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
12379 disabling just crt0.o.
12381 2000-08-10 Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton <nickc@cygnus.com>
12383 * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
12384 (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
12385 (EXTRA_SPECS): Add them.
12386 * arm/lib1funcs.asm: Support builds for interworking.
12387 Use macros to eliminate duplicated pieces of code.
12389 2000-08-10 Kazu Hirata <kazu@hxi.com>
12391 * h8300.c (expand_a_rotate): New.
12392 (emit_a_rotate): Likewise.
12393 (h8300_adjust_insn_length): Add support for the rotate insns.
12394 * h8300.md (rotlqi3): New.
12395 (*rotlqi3_1): Likewise.
12396 (rotlhi3): Likewise.
12397 (*rotlhi3_1): Likewise.
12398 (rotlhi3): Likewise.
12399 (*rotlhi3_1): Likewise.
12400 * h8300-proto.h: Add prototypes for expand_a_rotate and
12403 * h8300.c: Fix comment typos.
12404 (dosize): Declare the variable amount as unsigned.
12405 (get_shift_alg): Fix a comparison between signed and unsigned.
12406 (emit_a_shift): Likewise.
12407 (h8300_adjust_insn_length): Simplify the code.
12409 * c-decl.c: Fix formatting.
12411 2000-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12413 * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
12414 warning about non-traditional numeric constant suffixes.
12416 * cppexp.c (parse_number): Likewise.
12418 * invoke.texi: (-Wtraditional): Document new behavior.
12420 Thu Aug 10 00:11:04 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12422 * gthr-posix.h: Include auto-host.h. Conditionally include
12424 * configure.in: Check for the <sched.h> header file.
12425 * config.in: Added define for HAVE_SCHED_H.
12427 2000-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12429 * c-typeck.c (process_init_element): For -Wtraditional, warn about
12430 initialization of unions.
12432 * invoke.texi (-Wtraditional): Document new behavior.
12434 2000-08-09 Zack Weinberg <zack@wolery.cumb.org>
12436 * configure.in (--enable-c-cpplib): Uncomment. Use AC_DEFINE
12437 instead of extra_c_flags.
12438 (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
12439 * configure: Regenerate.
12440 * config.in: Regenerate.
12442 * cpperror.c (cpp_type2name): New function.
12443 * cpplex.c (lex_line): If we issued an error for an invalid
12444 preprocessing directive, discard that logical line.
12445 * cpplib.c (do_line): Call a hook function if the current file
12446 is renamed by #line.
12447 (do_ident): Pass the contents of the string, not the entire
12448 token, to the callback function.
12449 * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
12450 (cb.rename_file): New hook function.
12451 (cb.ident): Adjust prototype.
12452 (cpp_type2name): Prototype.
12453 * cppmacro.c (dump_macro_args): Correct precedence lossage.
12455 * cppmain.c (cb_ident): Update for changed interface.
12456 (cb_rename_file): New function.
12457 (main): Set rename callback.
12459 2000-08-09 Alexandre Oliva <aoliva@redhat.com>
12461 * caller-save.c (mark_referenced_regs): Mark partially-overwritten
12462 multi-word registers.
12464 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
12466 * c-common.c (combine_strings, check_format_info): Refer to ISO C
12467 or ISO C89 instead of ANSI C.
12468 * c-decl.c (grokdeclarator, xref_tag, finish_struct,
12469 build_enumerator, do_case): Likewise.
12470 * c-lex.c (parse_float, yylex): Likewise.
12471 * c-parse.in: Likewise.
12472 * c-typeck.c (common_type, build_array_ref, build_binary_op,
12473 build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
12474 build_c_cast, convert_for_assignment, set_init_index,
12475 set_init_label, c_expand_start_case): Likewise.
12476 * toplev.c (documented_lang_options, display_help): Likewise.
12478 2000-08-08 Kazu Hirata <kazu@hxi.com>
12480 * h8300.c: Fix formatting.
12481 * h8300.h: Likewise.
12482 * h8300.md: Likewise.
12483 (movsi_h8300hs): Fix formatting of the resulting assembly code.
12485 * reload1.c: Fix formatting.
12487 2000-08-08 Rodney Brown <RodneyBrown@mynd.com>
12489 * alpha/alpha.c (alpha_emit_xfloating_libcall):
12490 Use GEN_CALL_VALUE define.
12491 * alpha/alpha.md (untyped_call): Use GEN_CALL define.
12492 * clipper/clipper.md (untyped_call): Likewise.
12493 * dsp16xx/dsp16xx.md (untyped_call): Likewise.
12494 * fx80/fx80.md (untyped_call): Likewise.
12495 * mips/mips.md (untyped_call): Likewise.
12496 * ns32k/ns32k.md (untyped_call): Likewise.
12497 * pa/pa.md (untyped_call): Likewise.
12498 * romp/romp.md (untyped_call): Likewise.
12499 * sparc/sparc.md (untyped_call): Likewise.
12501 2000-08-08 Jason Eckhardt <jle@cygnus.com>
12503 * config/i860/i860.c (singlemove_string): Do not generate assembler
12504 pseudo instructions that must be expanded (that is, with signed
12505 constants larger than 16 bits).
12507 2000-08-08 Richard Henderson <rth@cygnus.com>
12509 * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
12510 PROP_AUTOINC at -O0. Don't collect alias info at -O0.
12511 (init_propagate_block_info): Don't kill memory stores at -O0.
12512 (mark_set_1, mark_used_regs): Likewise.
12514 2000-08-08 David Edelsohn <edelsohn@gnu.org>
12516 * rs6000.c (optimization_options): Decorate 'level' as
12518 (mask64_operand): Remove sign-extend thinko.
12519 (rldic_operand): New function.
12520 (load_multiple_operation): regno's are unsigned ints.
12521 (store_multiple_operation): Likewise.
12522 (lmw_operation): Likewise.
12523 (stmw_operation): Likewise.
12524 (includes_lshift_p): shift_mask is unsigned int.
12525 (includes_lshift64_p): New function.
12526 (addrs_ok_for_quad_peep): unsigned int reg1.
12527 (print_operand): Consistently add "else" after
12528 output_operand_lossage().
12529 (print_operand, case 'b'): Fold in case 'W'.
12530 (print_operand, case 'W'): Print rldic MB value.
12531 (output_epilogue): Update Objective-C language string.
12532 (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
12533 * rs6000.h (PREDICATE_CODES): Add rldic_operand.
12534 * rs6000.md (ashldi3): Add rldic instruction.
12535 (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
12536 (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
12539 2000-08-08 Richard Henderson <rth@cygnus.com>
12541 * config/ia64/ia64-protos.h: Remove duplicates. Update
12542 for massive code rearrangements.
12543 * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
12544 (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
12545 (ia64_local_regs, ia64_need_regstk): Remove.
12546 (ar_ccv_reg_operand): New.
12547 (ia64_gp_save_reg): New.
12548 (struct ia64_frame_info): Combine most of the size elements;
12549 add new gr save elements.
12550 (find_gr_spill): New.
12551 (next_scratch_gr_reg): New.
12552 (mark_reg_gr_used_mask): New.
12553 (ia64_compute_frame_size): Rewrite. Allocate special AR regs
12554 to GR backing store regs when possible.
12555 (ia64_initial_elimination_offset): New.
12556 (ia64_rap_fp_offset): Remove.
12557 (save_restore_insns): Remove.
12558 (setup_spill_pointers): New.
12559 (finish_spill_pointers): New.
12560 (spill_restore_mem): New.
12561 (do_spill, do_restore): New.
12562 (ia64_expand_prologue): Rewrite to use them.
12563 (ia64_expand_epilogue): Likewise.
12564 (ia64_direct_return): Update for current_frame_info changes.
12565 (ia64_function_prologue): Simplify .prologue emission. Emit
12566 .spill when needed.
12567 (ia64_setup_incoming_varargs): Don't ever emit rtl.
12568 (ia64_dbx_register_number): New.
12569 (ia64_initialize_trampoline): New.
12570 (ia64_secondary_reload_class): Request GR_REGS for integer
12571 arithmetic destined for FR_REGS.
12572 (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
12573 (ia64_mark_machine_status): Mark ia64_gp_save.
12574 (rws_access_regno): Rename from rws_access_reg; don't treat
12575 predicates specially.
12576 (rws_access_reg): New. Update all callers.
12577 (rtx_needs_barrier): Remove dead unspecs.
12578 (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
12579 (ia64_encode_section_info): Silence signed/unsigned warnings.
12580 (spill_offset, sp_offset, spill_offset_emitted): Remove.
12581 (tmp_reg, tmp_saved): Remove.
12582 (process_set): Rewrite to expect complicated bits via
12583 REG_FRAME_RELATED_EXPR.
12584 (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
12585 in the use of ar.ccv; never set RTX_UNCHANGING_P.
12586 (ia64_expand_op_and_fetch): Likewise.
12587 (ia64_expand_compare_and_swap): Likewise.
12588 (ia64_expand_builtin): Likewise.
12589 * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
12590 (FIRST_PSEUDO_REGISTER): Update.
12591 (AR_M_REGNO_P): Update.
12592 (FIXED_REGS): Don't mark three local registers as used.
12593 (EXTRA_CC_MODES): New.
12594 (SELECT_CC_MODE): New.
12595 (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
12596 (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
12597 (FRAME_GROWS_DOWNWARD): Unset.
12598 (STARTING_FRAME_OFFSET): Zero.
12599 (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
12600 (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
12601 (HARD_FRAME_POINTER_REGNUM): New.
12602 (CAN_DEBUG_WITHOUT_FP): Define.
12603 (TRAMPOLINE_TEMPLATE): Remove.
12604 (TRAMPOLINE_SIZE): Lower to 32.
12605 (TRAMPOLINE_ALIGNMENT): Lower to 64.
12606 (INITIALIZE_TRAMPOLINE): Defer to out of line function.
12607 (PREDICATE_CODES): Update.
12608 (struct machine_function): Add ia64_gp_save.
12609 * config/ia64/ia64.md: Purge unused unspecs.
12610 (movsi patterns): Allow moves to/from AR_M_REGS.
12611 (movdi patterns): Allow moves to/from p0.
12612 (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
12613 (gr_spill, gr_restore): Indicate ar.unat read/written.
12614 (nonlocal_goto): Don't pass old frame_pointer.
12615 (nonlocal_goto_receiver): Remove.
12616 (exception_receiver): New.
12617 (builtin_setjmp_setup): New.
12618 (builtin_setjmp_receiver): New.
12619 * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
12620 (__ia64_nonlocal_goto): Bundle. Don't kill r7.
12621 (__ia64_restore_stack_nonlocal): Likewise.
12622 (__ia64_trampoline): New.
12623 * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
12625 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
12627 2000-08-08 Richard Henderson <rth@cygnus.com>
12629 * frame.h (ia64_frame_state): Add my_psp.
12630 * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
12631 (__throw): Pass it in. Don't clobber r7.
12632 * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
12633 (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
12634 and nothing to do with sp.
12635 (normalize_reg_loc): Use frame->my_psp.
12636 (frame_translate): Handle frame-pointer-less functions. Set
12637 spill_base correctly, in absence of being told.
12638 (__build_ia64_frame_state): New sp argument. Fill in frame->my_sp.
12639 (__ia64_backtrace_helper): New sp argument. Use
12640 builtin_return_address instead of label addresses.
12641 (print_record) [mem_stack_v]: No size member.
12643 2000-08-08 Richard Henderson <rth@cygnus.com>
12645 * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
12647 2000-08-08 Richard Henderson <rth@cygnus.com>
12649 * tm.texi (LOCAL_REGNO): Document.
12650 * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
12651 (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
12652 * reload1.c (reload): Likewise when considering nonlocal labels.
12654 * config/ia64/ia64.h (LOCAL_REGNO): New.
12655 * config/sparc/sparc.h (LOCAL_REGNO): New.
12657 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
12659 * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
12661 2000-08-07 Nick Clifton <nickc@redhat.com>
12663 * config/mips/mips.c: Fix compile time warning messages.
12664 * config/mips/mips-protos.h: Add prototype for equality_op.
12666 * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
12668 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
12670 * mn10300.md: Use nonimmediate_operand instead of general_operand
12671 on output operands.
12673 * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
12675 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
12677 * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
12678 * sh.c (expand_block_move): Break long lines.
12679 (expand_ashiftrt, fpscr_set_from_mem): Likewise.
12680 * sh.md (mulsi3): Likewise.
12681 (movdi): Adjust spacing.
12683 2000-08-07 Richard Henderson <rth@cygnus.com>
12685 * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
12686 * expr.c (emit_group_store): Don't set it.
12688 2000-08-07 Kazu Hirata <kazu@hxi.com>
12690 * invoke.texi (Options for Debugging Your Program or GCC): Remove
12691 duplicate entries for 'w' and 'z'.
12693 * flow.c: Fix a comment typo.
12695 Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12697 * c-parse.in: Changed the language string for Objective-C to "GNU
12700 Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12702 * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
12703 to improve the Posix thread support for Objective-C.
12705 2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
12707 * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
12708 CTI_UNSIGNED_PTRDIFF_TYPE.
12709 (signed_size_type_node): Define.
12710 (unsigned_ptrdiff_type_node): Define.
12711 * c-decl.c (init_decl_processing): Create the
12712 signed_size_type_node and unsigned_ptrdiff_type_node types.
12713 * c-common.c (T_SC): Define.
12716 (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for
12717 %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for
12719 (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for
12720 %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the
12721 flags for %c, %s and %[.
12722 (check_format_info): Only allow leniency for signedness of targets
12723 of character pointers (when pedantic) for formats flagged with
12724 "c", so for strings but not for %hh formats. When pedantic, don't
12725 allow character pointers to substitute for void pointers if a
12726 second level of indirection is present.
12728 2000-08-06 Kazu Hirata <kazu@hxi.com>
12730 * invoke.texi (Options for Debugging Your Program or GCC): Update
12731 the names of dump files.
12733 * h8300.c (dosize): Rearrange code for conciseness.
12734 (split_adds_subs): Likewise.
12736 * loop.c: Fix formatting.
12738 * dwarf2out.c: Fix formatting.
12740 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
12742 * expr.c: Fix formatting.
12744 2000-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12746 * rs6000.c (rs6000_maybe_dead): Prototype.
12748 2000-08-06 Richard Henderson <rth@cygnus.com>
12750 * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
12751 HAVE_nonlocal_goto as well.
12752 * config/i960/i960.md (nonlocal_goto): Don't do it here.
12753 * config/pj/pj.md (nonlocal_goto): Likewise.
12755 2000-08-07 Michael Hayes <mhayes@cygnus.com>
12757 * loop.c (try_swap_copy_prop): New function.
12758 (load_mems): Rename copies to load_copies and add new regset
12759 store_copies. Check for sets of shadow registers and mark
12760 in store_copies. Call try_swap_copy_prop for registers
12761 marked in store_copies.
12763 Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12765 * objc/objc-act.c: New command line option -fconstant-string-class
12766 to allow specifying a user defined constant string class,
12767 different from NXConstantString.
12769 * toplev.c: Moved the Objective-C specific options to
12770 objc/lang-options.h.
12772 * objc/lang-options.h: Moved the Objective-C specific options from
12773 toplev.c. Added -fconstant-string-class.
12775 2000-08-05 Chris Demetriou <cgd@sibyte.com>
12777 * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
12778 DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
12779 __CTOR_LIST__ from func_ptr array to just func_ptr, to
12780 avoid extra alignment imposed on arrays.
12781 * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
12782 DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
12784 * mips.h: Clean up comments and spacing near MASKs.
12785 (TARGET_UNIX_ASM): Delete.
12786 (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
12787 MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
12790 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
12792 * c-common.c (print_char_table): Add entries for the X/Open '
12793 format flag (print decimals with locale's thousands grouping
12794 character). Make %C expect wint_t.
12795 (check_format_info): If pedantic, warn when the %n$ operand
12796 number form is used. Allow for the ' flag; warn about it if
12799 2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
12801 * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
12802 type is a float mode, cfun->decl's return type is not, and
12803 TARGET_FLOAT_RETURNS_IN_80387.
12805 2000-08-04 Andreas Schwab <schwab@suse.de>
12807 * cppmain.c (cb_def_pragma): Skip the first two tokens from the
12808 token list, which are always `#' and `pragma'.
12810 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
12812 * tree.c (tree_expr_nonnegative_p): Move to...
12813 * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
12814 (rtl_expr_nonnegative_p): New.
12815 * tree.h: Add prototype for rtl_expr_nonnegative_p.
12817 * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
12818 CONST_DOUBLE_CHAIN: Move to...
12819 * rtl.h: ...here. Use XCINT/XCEXP.
12821 * Makefile.in: Remove toplev.o from OBJS. Add rule to make
12822 libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
12823 variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
12826 * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
12828 2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12830 * config/c4x/c4x.md (return_indirect_internal): New.
12831 * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
12833 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
12835 * c-common.c (time_char_table): Mark up formats added in C99 and
12836 make other corrections. %D and %g were added in C99. %Og is an
12837 extension. %EX is permitted. %R, %T, %n, %r, %t were added in
12838 C99. %e was added in C99. %Oj is an extension. %G and %z are in
12839 C99 rather than GNU extensions, but %OG and %Oz are extensions.
12840 %h was added in C99. %C was added in C99. %OY and %OC are
12841 extensions. Add the C99 format %F.
12842 (check_format_info): If pedantic and not in C99 mode, warn for C99
12843 formats, %E and %O.
12845 Fri Aug 4 23:01:58 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12847 * function.c (schedule_fixup_var_refs): New function, broken out
12848 of put_reg_into_stack.
12849 (put_reg_into_stack): Use it.
12850 (put_var_into_stack): In CONCAT case, fixup up references for
12851 components only after fixing up references to the whole concat.
12853 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
12855 * alias.c (mark_constant_function): Use INSN_P.
12856 (init_alias_analysis): Likewise.
12857 * combine.c (combine_instructions): Use INSN_P.
12858 (can_combine_p): Likewise.
12859 (try_combine): Likewise.
12860 (distribute_notes): Likewise.
12861 (distribute_links): Likewise.
12862 * cse.c (cse_around_loop): Use INSN_P.
12863 (invalidate_skipped_block): Likewise.
12864 (cse_set_around_loop): Likewise.
12865 (cse_end_of_basic_block): Likewise.
12866 (delete_trivially_dead_insns): Likewise.
12867 * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
12868 (unshare_all_rtl_1): Likewise.
12869 (next_cc0_user): Likewise.
12870 (try_split make_insn_raw): Likewise.
12871 (remove_unnecessary_notes): Likewise.
12872 * final.c (shorten_branches): Use INSN_P.
12873 (leaf_renumber_regs): Likewise.
12874 (leaf_renumber_regs_insn): Likewise.
12875 * flow.c (find_label_refs): Use INSN_P.
12876 (verify_wide_reg): Likewise.
12877 (notice_stack_pointer_modification): Likewise.
12878 (count_or_remove_death_notes): Likewise.
12879 (verify_flow_info): Likewise.
12880 (clear_log_links): Likewise.
12881 * function.c (fixup_var_refs_insns): Use INSN_P.
12882 (compute_insns_for_mem): Likewise.
12883 * gcse.c (alloc_gcse_mem): Use INSN_P.
12884 (compute_sets): Likewise.
12885 (compute_hash_table): Likewise.
12886 (classic_gcse): Likewise.
12888 (insert_insn_end_bb): Likewise.
12889 (delete_null_pointer_checks_1): Likewise.
12890 * global.c (expand_preferences): Use INSN_P.
12891 (build_insn_chain): Likewise.
12892 * graph.c (node_data): Use INSN_P.
12893 * haifa-sched.c (priority): Use INSN_P.
12894 (rm_line_notes): Likewise.
12895 (rm_other_notes): Likewise.
12896 (find_insn_reg_weight): Likewise.
12897 (init_target_units): Likewise.
12898 (schedule_block): Likewise.
12899 (compute_block_forward_dependences): Likewise.
12900 (debug_dependencies): Likewise.
12901 (set_priorities): Likewise.
12902 * integrate.c (function_cannot_inline_p): Use INSN_P.
12903 (save_parm_insns): Likewise.
12904 (copy_insn_list): Likewise.
12905 * jump.c (mark_all_labels): Use INSN_P.
12906 (never_reached_warning): Likewise.
12907 * lcm.c (optimize_mode_switching): Use INSN_P.
12908 * local-alloc.c (validate_equiv_mem): Use INSN_P.
12909 (memref_used_between_p): Likewise.
12910 (update_equiv_regs): Likewise.
12911 (block_alloc): Likewise.
12912 (no_conflict_p): Likewise.
12913 * loop.c (scan_loop): Use INSN_P.
12914 (find_and_verify_loops): Likewise.
12915 (count_loop_regs_set): Likewise.
12916 (loop_reg_used_before_p): Likewise.
12917 (strength_reduce): Likewise.
12918 (recombine_givs): Likewise.
12919 (check_dbra_loop): Likewise.
12920 (load_mems): Likewise.
12921 (try_copy_prop): Likewise.
12922 * print-rtl.c (print_rtx): Use INSN_P.
12923 * recog.c (find_single_use): Use INSN_P.
12924 * reg-stack.c (stack_regs_mentioned): Use INSN_P.
12925 (next_flags_user): Likewise.
12926 (swap_rtx_condition): Likewise.
12927 * regmove.c (mark_flags_life_zones): Use INSN_P.
12928 (optimize_reg_copy_1): Likewise.
12929 (optimize_reg_copy_2): Likewise.
12930 (optimize_reg_copy_3): Likewise.
12931 (reg_is_remote_constant_p): Likewise.
12932 (fixup_match_2): Likewise.
12933 (regmove_optimize): Likewise.
12934 (fixup_match_1): Likewise.
12935 * regrename.c (build_def_use): Use INSN_P.
12936 (replace_reg_in_block): Likewise.
12937 (consider_use): Likewise.
12938 * reload.c (find_equiv_reg): Use INSN_P.
12939 * reload1.c (reload): Use INSN_P.
12940 (maybe_fix_stack_asms): Likewise.
12941 (calculate_needs_all_insns): Likewise.
12942 (reload_as_needed): Likewise.
12943 (emit_output_reload_insns): Likewise.
12944 (delete_address_reloads_1): Likewise.
12945 (reload_cse_regs_1): Likewise.
12946 (reload_combine): Likewise.
12947 (reload_cse_move2add): Likewise.
12948 * reorg.c (redundant_insn): Use INSN_P.
12949 (dbr_schedule): Likewise.
12950 * resource.c (find_dead_or_set_registers): Use INSN_P.
12951 (mark_target_live_regs): Likewise.
12952 * rtlanal.c (reg_used_between_p): Use INSN_P.
12953 (reg_referenced_between_p): Likewise.
12954 (reg_set_between_p): Likewise.
12955 (reg_set_p): Likewise.
12956 (single_set): Likewise.
12957 (multiple_sets): Likewise.
12958 (find_last_value): Likewise.
12959 (reg_set_last): Likewise.
12960 (find_reg_note): Likewise.
12961 (find_regno_note): Likewise.
12962 * sibcall.c (sequence_uses_addressof): Use INSN_P.
12963 * simplify-rtx.c (cselib_process_insn): Use INSN_P.
12964 * ssa.c (find_evaluations): Use INSN_P.
12965 (rename_block): Likewise.
12966 (rename_equivalent_regs): Likewise.
12967 * unroll.c (loop_find_equiv_value): Use INSN_P.
12968 (set_dominates_use): Likewise.
12969 * varasm.c (mark_constant_pool): Use INSN_P.
12970 (mark_constants): Likewise.
12971 * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
12972 (alphaev4_next_group): Likewise.
12973 (alphaev5_next_group): Likewise.
12974 * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
12975 (c4x_rptb_rpts_p): Likewise.
12976 * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
12977 * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
12978 (rs6000_adjust_priority): Likewise.
12979 * config/sh/sh.c (sh_loop_align): Use INSN_P.
12980 (machine_dependent_reorg): Likewise.
12981 (split_branches): Likewise.
12982 * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
12984 Fri Aug 4 11:43:49 2000 John Wehle (john@feith.com)
12986 * combine.c (recog_for_combine): Remove the old notes
12987 prior to attempting to recognize the new pattern.
12988 (distribute_notes): Ignore REG_NONNEG notes.
12990 2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
12992 * varasm.c (output_constructor): Add .align 0 for packed vars.
12994 2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
12996 * configure.in: Use default thread_file even when enable_threads is
12997 yes or dce because hpux10.20 pa port uses MULTILIB implementation.
12998 * configure: Rebuilt.
13000 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
13002 2000-08-04 Donn Terry (donnte@microsoft.com)
13004 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
13006 2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13008 * i386/x-djgpp: Delete code that conditionally modifies target_alias.
13009 Delete code that conditionally modifies 'version'.
13010 Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
13011 * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
13012 * gcc.c (main): Use it.
13013 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
13014 * prefix.c (update_path): Use it.
13015 * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
13016 (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
13017 (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
13019 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
13020 (SUBTARGET_SWITCHES): Adjust.
13021 (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
13023 (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
13025 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13027 * c-common.h (flag_isoc94): Declare.
13028 * c-decl.c (flag_isoc94): Define.
13029 (c_decode_option): Set flag_isoc94 as appropriate.
13030 * c-common.c (T_PD, T_IM, T_UIM): Define.
13031 (format_char_info): Add tlen and jlen.
13032 (print_char_table): Add entries for %t and %j. Allow %zn. Allow
13034 (scan_char_table): Add entries for %t and %j. Allow %F. Allow
13036 (time_char_table): Add NULL entries for %t and %j.
13037 (check_format_info): Allow for %t and %j. Warn for %F if pedantic
13038 and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
13039 Warn for printf %lf if pedantic and not C99. Don't warn for empty
13040 precision. Allow precision argument to be unsigned int. If
13041 pedantic, warn for %p passed an argument not a pointer to possibly
13042 qualified void or a possibly qualified character type, and for
13043 pointer targets of the wrong sign, except for character pointers.
13045 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13047 * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
13048 * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
13049 (wint_type_node): Define.
13050 * c-decl.c (WINT_TYPE): Define.
13051 (init_decl_processing): Create the wint_type_node type.
13052 * c-common.c (T_WI): Define.
13053 (print_char_table): Use T_WI for %lc format.
13055 2000-08-04 Bruce Korb <bkorb@gnu.org>
13057 * fixinc/: Verified that the MSDOS patch does not break
13058 the UNIX functionality and applied the next three patches
13061 2000-07-28 Eli Zaretskii <eliz@is.elta.co.il>
13063 * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
13064 output file with the temporary one by appending ".X" to generate
13065 the temporary fuile's name. If the output file already has an
13066 extension, replace it with ".X".
13068 * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
13069 not $DESTDIR, to find applyfix. Use sprintf instead of snprintf;
13070 reallocate the command buffer while copying the command-line
13071 argument. Redirect the output directly to the temporary file,
13072 instead of going through another temporary file.
13073 (process): Close the temporary file before unlinking it.
13074 (machine_matches) [__MSDOS__]: If the machine doesn't match, set
13075 the FD_SKIP_TEST flag. Pay attention to the FD_MACH_IFNOT flag.
13076 (run_compiles): Pass p_fixd argument to machine_matches, as it
13079 * fixinc/fixincl.sh: Export ORIGDIR. If $DJDIR is set in the
13080 environment, assume there are no symlinks in the include
13081 directory. When cleaning up the DONE files, look for them
13082 case-insensitively. Don't try to remove symlinks if they aren't
13085 * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
13086 all callers changed. Declare pz "const char *", to avoid compiler
13089 * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
13090 Change prototype of make_raw_shell_str.
13092 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il>
13094 * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
13095 (initialize) [__MSDOS__]: Use tempnam.
13096 (initialize): Don't use SIGPIPE if it is not defined.
13098 * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
13101 2000-07-25 Bruce Korb <bkorb@gnu.org>
13103 * fixinc/fix*.[ch]: substantially reworked to make it possible
13104 to run this program without using fork(2) or pipe(2) (i.e. in
13105 a DOS environment).
13107 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
13109 * cppdefault.h (WINT_TYPE): Define.
13110 * cppinit.c (builtin_array): Define __WINT_TYPE__.
13111 * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
13112 * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
13114 Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
13116 * (mips_legitimate_address_p): Don't allow register+offset
13117 if the offset is large and negative, and we are compiling
13118 for 64 bit registers.
13120 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13122 * gencodes.c (main): Define CODE_FOR_nothing as the last possible
13123 insn_code_number + 1.
13125 2000-08-04 Kazu Hirata <kazu@hxi.com>
13127 * h8300.c (function_prologue): Rearrange code for conciseness.
13128 (function_epilogue): Likewise.
13129 * h8300.h (OK_FOR_U): Fix formatting.
13131 * cse.c: Fix a comment typo. Fix formatting.
13133 2000-08-03 Richard Henderson <rth@cygnus.com>
13135 * config/i386/i386.md (return_indirect_internal): New.
13136 * config/i386/i386.c (ix86_expand_epilogue): Use it.
13138 2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
13140 * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
13142 (lex_line): Glue @ onto the beginning of identifiers and
13143 string constants, in Objective-C mode.
13144 (output_token, spell_token): Handle CPP_OSTRING.
13145 (can_paste, maybe_paste_with_next): Handle pasting @ onto the
13146 beginning of a NAME or a STRING, in objc mode.
13148 * cpplib.c (get_define_node): Do not permit identifiers that
13149 begin with @ to be #defined.
13150 * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
13151 * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
13153 * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
13154 * c-tree.h (build_objc_string): Delete prototype.
13155 * objc/objc-tree.def: Delete OBJC_STRING_CST.
13156 * c-lex.c (yylex): Use build_string for all three kinds of strings.
13158 * c-parse.in, objc/objc-act.c: Update commentary.
13160 2000-08-03 Mark Mitchell <mark@codesourcery.com>
13162 * extend.texi: Fix typo in last change.
13164 * extend.texi: Add commentary on statement-expressions and their
13165 interactions with C++.
13167 2000-08-03 Nick Clifton <nickc@cygnus.com>
13169 * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
13170 * dwarf.h (LANG_JAVA): Change value to 0x000b.
13172 2000-08-03 Anthony Green <green@cygnus.com>
13174 * dwarf2out.c (gen_compile_unit_die): Add java language support.
13175 (add_bound_info): Check for java language.
13176 (is_java): New function.
13177 * dwarfout.c (output_compile_unit_die): Ditto.
13178 * dwarf.h (dwarf_source_language): Add java source language type.
13179 * dwarf2.h (dwarf_source_language): Ditto.
13181 Thu Aug 3 20:32:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
13183 * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
13186 * i386.c (ix86_expand_branch): Mode of comparison in
13187 IF_THEN_ELSE is VOIDmode.
13189 Thu Aug 3 10:05:53 2000 Akiko Matsushita <matusita@sra.co.jp>
13191 * gengenrtl.c, rtl.c: Avoid #elif.
13193 2000-08-03 Michael Poole <poole@troilus.org>
13195 * tm.texi (Register Classes): Clarify order of sub-initializers
13196 in REG_CLASS_CONTENTS.
13198 Thu Aug 3 15:53:03 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13200 From SAITOH Masanobu:
13201 * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
13203 2000-08-03 David Billinghurst <David.Billinghurst@riotinto.com.au>
13205 * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
13206 is not supported by tradcpp and isn't actually needed for cygwin.
13208 2000-08-03 Kazu Hirata <kazu@hxi.com>
13210 * h8300.c: Fix a comment typo.
13211 * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
13213 * jump.c: Fix formatting.
13215 * toplev.c: Fix formatting.
13217 Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
13219 * flow.c (find_auto_inc): Verify that we've got a REG before
13220 peeking at its regno. Fail, don't abort if we can't find
13221 the increment of the desired register.
13223 * pa.md (shadd height reduction patterns/splitters): Remove.
13225 2000-08-02 Jim Wilson <wilson@cygnus.com>
13227 * config/ia64/ia64-protos.h (flag_ssa): Declare.
13228 * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
13230 2000-08-02 Mark Mitchell <mark@codesourcery.com>
13232 * dce.c: Remove all uses of assert.
13233 * dwarf2out.c: Likewise.
13234 * dwarfout.c: Likewise.
13237 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13239 * gcc.h (lang_specific_driver): Constify second argument.
13240 * gcc.c (translate_options, process_command, main): Likewise.
13241 Constify variables to match. Cast second argument to
13244 * cppspec.c, gccspec.c: Adjust type of second argument to
13245 lang_specific_driver, and update code as necessary.
13247 2000-08-02 Jakub Jelinek <jakub@redhat.com>
13249 * loop.c (scan_loop): Ensure update_end label does not
13250 go away until reg_scan_update is run.
13252 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13254 * c-common.h: Prototype min_precision and c_build_qualified_type here...
13255 * c-tree.h: ... not here.
13256 * errors.h: Prototype fancy_abort.
13258 * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
13259 HOST_BITS_PER_WIDE_INT == 64 ifdef block.
13260 * regrename.c (regrename_optimize): Make control flow explicit.
13261 (replace_reg_in_block): Initialize reg_use to 0.
13263 * i386.c (legitimate_address_p): Rename error label to
13264 report_error to avoid namespace clash.
13266 2000-08-02 Kazu Hirata <kazu@hxi.com>
13268 * fold-const.c: Fix formatting.
13270 Wed Aug 2 16:26:15 MET DST 2000 Jan Hubicka <jh@suse.cz>
13272 * i386.c (legitimate_address_p): Accept other bases than
13273 pic_offset_table_rtx for GOTOFF constructs.
13275 Wed Aug 2 15:59:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
13277 * i386.md (shift to lea splitter): Use const_int_operand.
13279 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
13281 * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
13282 cppspec.c: Do not use 'legal' or 'illegal' in error messages
13285 * cppmain.c (cb_define, cb_undef): Don't generate any output
13286 if not done_initializing.
13287 * cpplex.c (maybe_paste_with_next): When the token after a ##
13288 is an omitted rest argument, only delete the token before it
13289 if that token is a comma. Do not warn about bogus token
13290 pastes for , ## rest_arg.
13292 * cpp.texi: Update.
13293 * cpp.1: Regenerate.
13295 2000-08-02 Fred Fish <fnf@be.com>
13297 * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
13298 when user gives -p option. Add init_term_dyn.o for BeOS 5.0
13301 * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
13302 Be directories to search path.
13304 Remove support for __declspec(dllimport) and __declspec(dllexport).
13305 This is leftover cruft from the earlier BeOS gcc port when BeOS
13306 used Microsoft's PE object file format.
13307 * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
13308 * config/i386/t-beos (winnt.o): Remove Makefile frag.
13309 * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
13310 (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
13311 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
13312 (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
13313 (REDO_SECTION_INFO_P): Remove.
13314 (ASM_EXPORT_DECL): Remove.
13315 (ASM_DECLARE_FUNCTION_NAME): Remove.
13316 (ASM_DECLARE_OBJECT_NAME): Remove.
13317 (ASM_OUTPUT_ALIGNED_COMMON): Remove.
13318 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
13319 (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
13320 (STRIP_NAME_ENCODING): Remove.
13322 Remove support for obsolete version of BeOS that is no longer
13324 * configure.in (i*86-*-beospe*): Remove.
13325 * config/i386/beos-pe.h: Remove.
13327 2000-08-01 Jeffrey Oldham <oldham@codesourcery.com>
13328 Mark Mitchell <mark@codesourcery.com>
13330 * Makefile.in (OBJS): Added dce.o.
13331 (ssa.o): Updated target to include ssa.h.
13332 (flow.o): Likewise.
13333 (toplev.o): Likewise.
13334 (dce.o): Created target.
13335 * basic-block.h: Added comments.
13336 (INVALID_BLOCK): Added definition.
13337 (connect_infinite_loops_to_exit): Added declaration.
13338 Moved SSA declarations to ssa.h.
13339 * flow.c: Added inclusion of ssa.h.
13340 (struct depth_first_search_dsS, depth_first_search_ds):
13342 (compute_immediate_postdominators): Added definition.
13343 (connect_infinite_loops_to_exit): Likewise.
13344 (flow_dfs_compute_reverse_init): Likewise.
13345 (flow_dfs_compute_reverse_add_bb): Likewise.
13346 (flow_dfs_compute_reverse_execute): Likewise.
13347 (flow_dfs_compute_reverse_finish): Likewise.
13348 * rtl.h (rtx/in_struct): Added use to determine insn necessity.
13349 (LABEL_P): Added definition.
13350 (JUMP_P): Likewise.
13351 (NOTE_P): Likewise.
13352 (BARRIER_P): Likewise.
13353 (JUMP_TABLE_DATA_P): Likewise.
13354 (INSN_DEAD_CODE_P): Likewise.
13355 * ssa.c: Replaced inclusions with ssa.h inclusion.
13356 (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
13357 (rename_registers): Removed unnecessary variables.
13358 * ssa.h: Created by moving declarations from ssa.c and
13360 * timevar.def: Defined TV_DEAD_CODE_ELIM.
13361 * toplev.c: Added ssa.h inclusion.
13362 (dump_file_index): Added DFI_dce.
13363 (dump_file): Added "dce" entry.
13365 (f_options): Added dce entry.
13366 * invoke.texi: Document -fdce. Emphasize experimental status of
13370 2000-08-01 Zack Weinberg <zack@wolery.cumb.org>
13372 * cpperror.c (v_message): Split into _cpp_begin_message and
13373 v_message macro. All callers updated.
13374 (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
13377 * cppfiles.c (cpp_syshdr_flags): New function.
13378 (read_include_file): Don't call cpp_output_tokens. Call
13380 * cppinit.c (dump_macros_helper): Moved to cppmain.c.
13381 (cpp_reader_init): Don't initialize token_buffer. Call
13382 _cpp_init_internal_pragmas.
13383 (cpp_cleanup): Don't clear token_buffer.
13384 (cpp_start_read): Don't worry about output from -D processing.
13385 Don't call cpp_output_tokens.
13386 (cpp_finish): Don't dump macros here. Don't call
13388 * cppmacro.c (_cpp_dump_definition): Rename
13389 cpp_dump_definition. Write directly to a FILE *.
13390 (dump_funlike_macro): Delete.
13391 (dump_macro_args): New.
13393 * cpplex.c (TOKEN_LEN): Convert to inline function.
13394 (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
13395 cpp_scan_line, _cpp_dump_list): Delete.
13396 (cpp_printf, cpp_output_list): New.
13397 (output_line_command): Don't worry about entering or leaving files.
13398 (cpp_scan_buffer): Just output each token as we hit it.
13399 (process_directive): Don't call cpp_output_tokens.
13400 (_cpp_glue_header_name): Don't use token_buffer.
13401 (output_token, dump_param_spelling): Write directly to a FILE *.
13403 * cpplib.c (pass_thru_directive, dump_macro_name,
13404 pragma_dispatch, do_pragma_gcc): Delete.
13405 (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
13406 do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
13408 (do_error, do_warning, pragma_dependency): Call
13409 _cpp_begin_message, then cpp_output_list.
13410 (cpp_register_pragma, cpp_register_pragma_space,
13411 _cpp_init_internal_pragmas): New.
13412 (do_pragma): Walk the pragmas table here.
13413 (do_pragma_once, do_pragma_poison, do_pragma_system_header,
13414 do_pragma_dependency): Return void.
13415 (do_pragma_implementation): Moved to cppmain.c.
13417 * cpplib.h: Update prototypes.
13418 (struct cpp_reader): Remove printer, token_buffer,
13419 token_buffer_size, and limit. Add struct cb, and pragmas.
13420 (struct cpp_printer): Remove last_id and written.
13421 (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
13422 CPP_ADJUST_WRITTEN): Delete.
13423 * cpphash.h: Update prototypes.
13424 (ufputs): New wrapper.
13426 * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
13427 cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
13428 (main): Set up callbacks. Register #pragma implementation.
13429 Dump macros from here.
13431 2000-08-01 Geoff Keating <geoffk@cygnus.com>
13433 * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
13434 * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
13435 * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
13436 insns if they have a REG_MAYBE_DEAD note attached.
13437 * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
13438 (rs6000_emit_load_toc_table): TOC loads may go dead.
13440 2000-08-01 Jim Wilson <wilson@cygnus.com>
13442 * config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
13443 type exists before using it. Use number of words as alignment
13445 (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
13446 ia64_va_arg): Propagate ia64_function_args changes here.
13448 2000-08-01 Richard Henderson <rth@cygnus.com>
13450 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
13451 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
13453 2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
13455 From Joern Rennecke:
13456 * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
13457 * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
13458 unless TARGET_SH3E is set.
13459 * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
13461 * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
13462 (ashlsi3_std): New pattern.
13463 (ashlsi3 expander): Use it for TARGET_SH3.
13464 * sh.c (gen_ashift): Use it instead of ashlsi3_k.
13466 Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13468 * loop.c (canonicalize_condition): Use destination, not source to
13469 determine SET's mode.
13471 2000-07-31 Mark Mitchell <mark@codesourcery.com>
13473 * flow.c (clear_log_links): Fix typo.
13475 Mon Jul 31 22:19:24 2000 Jeffrey A Law (law@cygnus.com)
13477 * loop.c (check_dbra_loop): Make change from July 17, 2000 work
13478 on targets which need more than one insn for a compare/cbranch
13481 2000-07-31 Jim Wilson <wilson@cygnus.com>
13483 * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
13484 when computing offset.
13486 Mon Jul 31 20:35:50 2000 Denis Chertykov <denisc@overta.ru>
13488 * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
13490 2000-07-31 Geoff Keating <geoffk@cygnus.com>
13492 * flow.c (clear_log_links): Nuke global_live_at_start and
13493 global_live_at_end data, since if the log_links stuff is invalid
13494 so is global_live_at_*.
13496 2000-07-31 Richard Henderson <rth@cygnus.com>
13498 * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
13500 2000-07-31 Jakub Jelinek <jakub@redhat.com>
13502 * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
13503 (_cpp_get_token): Don't macro expand a just pasted token if it
13504 was pasted at no_expand_level.
13506 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13508 * cppmacro.c (find_param, count_params, save_expansion):
13509 Permit 'defined' as a macro parameter name.
13511 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13513 * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
13514 xcpp to cpp throughout.
13515 (native): Remove unnecessary dependency on cpp.
13517 * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
13518 tradcpp to tradcpp0.
13519 (.i spec): Add missing output-file spec to cc1 command line.
13520 * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
13522 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
13524 * c-decl.c (mesg_implicit_function_declaration): Init to -1.
13525 (implicit_decl_warning): New function.
13526 (implicitly_declare): Use it.
13527 * c-typeck.c (build_external_ref): Use implicit_decl_warning
13528 to complain about implicit decls of builtins.
13530 * c-lang.c (lang_init): Set mesg_implicit_function_declaration
13531 based on pedantic && flag_isoc99, if not already set.
13532 * c-tree.h: Declare mesg_implicit_function_declaration.
13533 Prototype implicit_decl_warning.
13535 2000-07-30 Jeffrey D. Oldham <oldham@codesourcery.com>
13537 * Makefile.in (ssa.o): Updated header files in dependences.
13538 * basic-block.h: Added compute_immediate_postdominators declaration.
13539 * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
13541 * flow.c (compute_immediate_dominators): Updated comment.
13542 (compute_immediate_postdominators): Added definition.
13543 * rtl.h (HARD_REGISTER_P): Added definition.
13544 * ssa.c: Include additional header files.
13545 (assert): Added definition.
13546 (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
13547 include select hard registers.
13548 (ssa_rename_to_insert): Likewise.
13549 (ssa_rename_from_initialize): Likewise.
13550 (ssa_rename_from_lookup): Likewise.
13551 (original_register): Likewise.
13552 (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
13553 include select hard reigsters.
13554 (ssa_rename_from_traverse): Likewise.
13555 (ssa_rename_from_free): Likewise.
13556 (ssa_rename_from_print): Likewise.
13557 (ssa_rename_from_print_1): Likewise.
13558 (ssa_rename_from_hash_function): Likewise.
13559 (ssa_rename_from_equal): Likewise.
13560 (ssa_rename_from_delete): Likewise.
13561 (simplify_to_immediate_dominators): Removed in favor of
13562 flow.c:compute_immediate_dominators.
13563 (find_evaluations_1): Modified to work with hard registers.
13564 (insert_phi_node): Likewise.
13565 (insert_phi_nodes): Likewise.
13566 (struct rename_set_data): Updated prev_reg comment.
13567 (create_delayed_rename): Modified to work with hard registers.
13568 (RENAME_NO_RTX): Updated comment.
13569 (apply_delayed_renames): Modified to work with hard registers.
13570 (rename_insn_1): Likewise and added handling of CLOBBER rtls.
13571 (rename_block): Updated to use revised ssa_rename_to interface.
13572 (rename_registers): Updated to use revised ssa_rename_to and
13573 ssa_rename_from interface.
13574 (convert_to_ssa): Revised to use compute_immediate_dominators and
13575 deal with hard registers.
13576 (make_regs_equivalent_over_bad_edges): Modified to work with hard
13577 registers. Added check for illegal unification of hard register.
13578 (make_equivalent_phi_alternatives_equivalent): Modified to work
13579 with hard registers.
13580 (compute_conservative_reg_partition): Likewise.
13581 (coalesce_if_unconflicting): Modified to work with hard registers
13582 and check for conflicting hard registers.
13583 (mark_phi_and_copy_regs): Revised loop to work only on pseudo
13585 (rename_equivalent_regs_in_insn): Modified to work with hard
13587 (record_canonical_element_1): Added definition.
13588 (check_hard_regs_in_partition): Added definition.
13589 (convert_from_ssa): Added data structure deallocation and check
13590 for illegal hard register unification.
13591 (conflict_hard_regs_p): Added definition.
13592 * toplev.c (rest_of_compilation): Added comment.
13594 2000-07-31 Anthony Green <green@redhat.com>
13596 * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
13598 2000-07-31 Jason McMullan <jmcmullan@linuxcare.com>
13600 * builtins.c (expand_builtin_apply): Don't defer pop during
13603 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13605 * calls.c (combine_pending_stack_adjustment_and_call): Only use
13606 preferred_unit_stack_boundary when it is > 1.
13608 2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
13610 * c-common.c (init_function_format_info): Add C99 format functions
13613 * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
13614 void' or 'register void' as being the special case of 'void' alone
13615 in a parameter list.
13617 * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
13618 discarding qualifiers into a plain warning.
13620 2000-07-31 Kazu Hirata <kazu@hxi.com>
13622 * combine.c: Fix formatting.
13624 * h8300.md: Fix formatting.
13626 * local-alloc.c: Fix formatting.
13628 * h8300.c (get_shift_alg): Remove the variable alg.
13629 (emit_a_shift): Rearrange code to improve readability.
13631 * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
13633 * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
13634 HImode on all architectures and a combination of HImode and SImode
13635 on H8/300H and H8/S.
13637 * h8300.c (split_adds_subs): Rearrange code for conciseness.
13639 Mon Jul 31 12:27:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
13641 * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
13642 in my last checkin.
13644 Mon Jul 31 10:41:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
13646 * recog.c (extract_insn): Set operand_mode according to
13647 operand if match_operand is VOIDmode.
13649 Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
13651 * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
13653 2000-07-31 Geoff Keating <geoffk@cygnus.com>
13655 * c-parse.in (extdefs): Call ggc_collect between external
13658 2000-07-30 Michael Hayes <mhayes@cygnus.com>
13659 Richard Henderson <rth@cygnus.com>
13661 * Makefile.in (OBJS): Add doloop.o.
13662 * doloop.c: New file.
13664 * final.c (insn_current_reference_address): Return 0 before final.
13665 * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
13666 * jump.c (any_uncondjump_p): Likewise.
13667 * loop.c (indirect_jump_in_function): Make static.
13668 (strength_reduce): Call doloop_optimize.
13669 (insert_bct, instrument_loop_bct): Remove.
13670 * loop.h (doloop_optimize): Prototype.
13671 * recog.c (split_all_insns): Split all INSN_P.
13672 * toplev.c (flag_branch_on_count_reg): Default on.
13674 * config/c4x/c4x.c (c4x_optimization_options): Don't set
13675 flag_branch_on_count_reg.
13676 * config/i386/i386.c (override_options): Likewise.
13677 * config/rs6000/rs6000.c (optimization_options): Likewise.
13679 * config/i386/i386.md (decrement_and_branch_on_count): Remove.
13681 (dbra_ge): Remove, as well as all it's splitters.
13683 * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
13686 * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
13687 (ia64_register_move_cost): Declare.
13688 * config/ia64/ia64.c (ar_lc_reg_operand): New.
13689 (struct ia64_frame_info): Add ar_size.
13690 (ia64_compute_frame_size): Set it.
13691 (save_restore_insns): Save and restore ar.lc.
13692 (ia64_register_move_cost): New, moved from header file. Handle
13693 application registers.
13694 (REG_AR_PFS, REG_AR_EC): Remove. Replace with AR_*_REGNUM numbers.
13695 (emit_insn_group_barriers): Special case doloop_end_internal.
13696 (ia64_epilogue_uses): Mark ar.lc live at end.
13697 * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
13698 (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
13699 (FIRST_PSEUDO_REGISTER): Make room.
13700 (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
13701 (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
13702 (REG_ALLOC_ORDER): Update.
13703 (HARD_REGNO_MODE_OK): Update.
13704 (REGISTER_NAMES): Update.
13705 (enum reg_class): Add AR_M_REGS and AR_I_REGS.
13706 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
13707 (REGNO_REG_CLASS): Update.
13708 (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
13709 (REGISTER_MOVE_COST): Move out of line.
13710 (PREDICATE_CODES): Update.
13711 * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
13712 (addsi3_plus1_alt, adddi3_plus1_alt): New.
13713 (shladd_elim splitter): Allow constants in the predicate.
13714 (doloop_end, doloop_end_internal): New.
13716 2000-07-30 Richard Henderson <rth@cygnus.com>
13718 * genattrtab.c (struct insn_def): Add lineno member.
13719 (struct insn_ent): Likewise.
13720 (struct attr_desc): Likewise.
13721 (struct delay_desc): Likewise.
13722 (struct function_unit_op): Likewise.
13723 (struct function_unit): Likewise.
13724 (check_attr_value): Use message_with_line.
13725 (check_defs): Likewise.
13726 (expand_units): Likewise.
13727 (check_attr_test): Take a lineno argument.
13728 (gen_attr): Likewise.
13729 (gen_insn): Likewise.
13730 (gen_delay): Likewise.
13731 (gen_unit): Likewise.
13732 (main): Give it to them.
13733 (convert_set_attr_alternative): Take an insn_def argument
13734 instead of num_alt and insn_index.
13735 (convert_set_attr): Likewise.
13736 (write_test_expr): Protect INSN_ADDRESSES load
13737 with INSN_ADDRESSES_SET_P.
13739 2000-07-30 Richard Henderson <rth@cygnus.com>
13741 * flow.c (init_propagate_block_info): Use pc_set.
13743 Sun Jul 30 20:58:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
13745 * i386.md (*lea_general_[123]) New insns and splits.
13746 (addsi3 to lea splitter): Handle other modes too.
13747 (shlsi3 to lea splitter): Likewise.
13748 (addhi_1_lea, shlhi_1_lea): New patterns.
13749 (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
13751 Sun Jul 30 20:51:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
13753 * recog.c (general_operand, nonimmediate_operand): Accept
13754 any mode for VOIDmode CONSTANT_P operands.
13756 Sun Jul 30 20:42:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13758 * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
13759 instead of replace_rtx.
13760 * recog.c (validate_replace_rtx_subexp): New function.
13761 * recog.h (validate_replace_rtx_subexp): Declare.
13763 Sun Jul 30 20:38:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
13765 * combine.c (simplify_set, make_extraction, make_compound_operation
13766 make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
13767 as force_to_mode argument.
13769 Sun Jul 30 20:30:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
13771 * combine.c (if_then_else_cond): Be sure that mode fits in
13774 Sun Jul 30 20:27:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
13776 * combine.c (record_promoted_value): Allow bitsize of mode
13777 to be equivalent to HOST_BITS_PER_WISE_INT.
13779 Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
13781 * function.c (assign_stack_local_1, assign_stack_temp_for_type):
13782 Do not call gen_mode_alignment when mode is BLKmode.
13784 Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
13786 * loop.c (express_from_1): Fix call of simplify_gen_binary.
13788 Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
13790 * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
13791 VOIDmode implies both operands to be VOIDmode.
13792 (simplify_ternary_operation): Compute properly the mode of comparison.
13793 * combine.c (combine_simplify_rtx): Likewise.
13795 2000-07-25 Michael Hayes <mph@paradise.net.nz>
13797 * basic-block.h (struct loops): New field rc_order.
13798 * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
13799 (flow_loops_free): Free rc_order.
13800 (flow_depth_first_order_compute): New parameter rc_order.
13801 (flow_loops_find): Allocate rc_order and swap usage with
13804 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13805 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13807 * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
13808 (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
13809 (nodb_call, return_from_epilogue): Likewise.
13810 (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
13811 * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
13812 * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
13813 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
13814 (c4x_valid_type_attribute_p): Likewise.
13815 * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
13816 (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
13818 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13820 * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
13821 and loadhi_big_constant if applicable.
13822 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
13823 and add new splitter.s
13825 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13827 * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
13829 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13831 * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
13833 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13835 * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
13837 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13839 * config/c4x/libgcc.S (divqf3): Improve accuracy.
13841 2000-07-27 Mark Mitchell <mark@codesourcery.com>
13843 Put phi nodes after NOTE_INSN_BASIC_BLOCK.
13844 * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
13845 * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
13846 (get_prev_bb_note): Likewise.
13847 (remove_scope_notes): Likewise.
13848 * flow.c (commit_one_edge_insertion): Likewise.
13849 (merge_blocks_nomove): Likewise.
13850 (verify_flow_info): Likewise.
13851 * gcse.c (insert_insn_end_bb): Likewise.
13852 * reg-stack.c (emit_swap_insn): Likewise.
13853 * ssa.c (first_insn_after_basic_block_note): New function.
13854 (insert_phi_node): Use it.
13855 (rename_block): Likewise.
13856 (eliminate_phi): Likewise.
13857 (make_regs_equivalent_over_bad_edges): Likewise.
13858 (make_equivalent_phi_alternatives_equivalent): Likewise.
13859 (for_each_successor_phi): Likewise.
13860 (convert_from_ssa): Modify phi-node deletion algorithm.
13862 2000-07-29 Andreas Jaeger <aj@suse.de>
13864 * configure.in (mips*-*-linux*): Use mips*el to check for little
13865 endian MIPS, add tmake_file.
13867 * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
13868 (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
13869 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
13871 2000-07-28 Richard Henderson <rth@cygnus.com>
13873 * config/ia64/ia64.c (ia64_print_operand): Fix typos.
13874 Sign extend mode size before negating.
13876 2000-07-28 Richard Henderson <rth@cygnus.com>
13878 * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
13880 2000-07-28 Bernd Schmidt <bernds@cygnus.co.uk>
13882 * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
13883 (cse_insn): Likewise.
13884 (addr_affects_sp_p): Likewise.
13885 * expr.c (move_by_pieces): Likewise.
13886 (clear_by_pieces): Likewise.
13887 * gcse.c (oprs_unchanged_p): Likewise.
13888 * haifa-sched.c (sched_analyze_2): Likewise.
13889 * recog.c (offsettable_address_p): Likewise.
13890 * regclass.c (record_address_regs): Likewise.
13891 * reload.c (find_reusable_reload): Likewise.
13892 (push_reload): Likewise.
13893 (operands_match_p): Likewise.
13894 (decompose): Likewise.
13895 (find_reloads_address_1): Likewise.
13896 (find_inc_amount): Likewise.
13897 * reload1.c (elimination_effects): Likewise.
13898 * resource.c (mark_set_resources): Likewise.
13899 * flow.c (attempt_auto_inc): New function; mostly broken out
13901 (find_auto_inc): Split into two functions and enhanced to
13902 generate POST_MODIFY.
13903 * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
13904 * rtl.h (count_all_occurrences): Declare.
13905 (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
13907 * rtlanal.c (count_all_occurrences): New function.
13908 * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
13909 HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
13911 * config/ia64/ia64-protos.h (destination_operand): Declare.
13912 * config/ia64/ia64.c (destination_operand): New function.
13913 (ia64_print_operand): Handle POST_MODIFY.
13914 (rtx_needs_barrier): Likewise.
13915 * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
13916 (HAVE_POST_MODIFY_REG): Define to 1.
13917 (MAX_REGS_PER_ADDRESS): Change to 2.
13918 (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
13919 (LEGITIMATE_ADDRESS_REG): New helper macro.
13920 (LEGITIMATE_ADDRESS_DISP): Likewise.
13921 (PREDICATE_CODES): Add entry for destination_operand.
13922 * config/ia64/ia64.md (all mov patterns): Use destination_operand
13923 predicate for operand 0.
13925 2000-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13927 * dwarf2out.c: Indent #error directive.
13929 * gbl-ctors.h: Fix typo in comment.
13930 (__do_global_ctors): Prototype.
13932 * gcse.c (record_one_set, pre_delete): Remove unused variables.
13934 * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
13935 (print_operand): Initialize variable `t'.
13937 2000-07-27 Aldy Hernandez <aldyh@redhat.com>
13939 * config/arm/arm.md ("call_value"): removed constraints.
13940 Constraints are ignored in expanders.
13941 (*call_value_reg): split =rf into various constraints.
13942 (*call_value_mem): same
13943 (*call_value_symbol): same
13944 (*sibcall_value_insn): same
13946 2000-07-28 Philipp Thomas <pthomas@suse.de>
13948 * install.texi (--enable-nls): Change the description of the NLS
13949 related configure options to match the current state.
13950 (--with-included-gettext): Likewise.
13951 (--enable-maintainer-mode): New description added.
13952 * extend.texi (-fstrict-prototype): Add missing '.'.
13954 2000-07-27 Jim Wilson <wilson@cygnus.com>
13956 * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
13957 DECL_INITIAL (decl) == NULL_TREE.
13959 2000-07-27 Alexandre Oliva <aoliva@redhat.com>
13961 * Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
13962 on insn-attr.h with it.
13963 * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
13964 * insn-addr.h: New header.
13965 (insn_addresses_): Renamed from insn_addresses.
13966 (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
13967 INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
13968 INSN_ADDRESSES_NEW): New macros.
13969 * genattrtab.c (write_test_expr): Use new macros.
13970 * final.c (insn_addresses, init_insn_lengths): Likewise.
13971 (align_fuzz, shorten_branches): Likewise.
13972 (final): Likewise. Do not reject new insns if their addresses
13973 have been added to INSN_ADDRESSES.
13974 * config/arm/arm.c, config/avr/avr.c: Use new macros.
13975 * config/h8300/h8300.c, config/i370/i370.c: Likewise.
13976 * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
13977 * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
13978 * config/sh/sh.c: Likewise.
13979 (output_branchy_insn): Use INSN_ADDRESSES_NEW.
13981 * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
13983 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
13985 * gcc.c (struct prefix_list): Add member priority.
13986 (enum path_prefix_priority): Declare.
13987 (add_prefix): Replace ``first'' with ``priority''. Append new
13988 entry but keep list in priority order.
13989 (process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
13990 PREFIX_PRIORITY_LAST to add_prefix.
13991 (process_command): Move include kludge - foo/stageN - to before
13994 2000-07-27 Jason Merrill <jason@redhat.com>
13996 * dwarf2out.c (gen_typedef_die): Abort if we get identical
13997 TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
13999 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
14001 * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
14002 * tree.h (get_alias_set, lang_get_alias_set): Prototype.
14004 2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
14006 * c-decl.c (finish_function): Don't treat 'main' specially unless
14007 flag_hosted. In C99 mode, return 0 from 'main' unless
14008 DEFAULT_MAIN_RETURN is otherwise defined.
14010 * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
14011 parameters defaulting to int in an old-style function definition.
14013 2000-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14015 * c-parse.in (string): For -Wtraditional, warn about string
14016 concatenation only once per line.
14018 Thu Jul 27 09:25:17 2000 Akiko Matsushita <matusita@sra.co.jp>
14020 * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
14021 for HI-UX/WE2 systems.
14023 2000-07-24 Bruce Korb <bkorb@gnu.org>
14025 * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
14026 defining the __xxx_TYPE__ macros.
14027 * fixincl/fixincl.tpl(gnu_type_map): now obsolete
14028 * fixincl/fixlib.h: don't need to include "tm.h" anymore
14029 * fixincl/inclhack.def(type_map): now obsolete
14031 Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
14033 * cpp.texi: Append a trailing full-stop to xrefs where needed.
14035 2000-07-26 Dave Pitts <dpitts@cozx.com>
14037 * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
14039 (mvs_hash_alias): New function.
14040 (mvs_add_alias): Change argument spacing.
14041 (mvs_need_alias): Change aliasing criteria. Added documentation.
14042 (mvs_get_alias): Change to use hashed name. The hashed name prevents
14043 CSECT name collisions.
14044 (mvs_check_alias): Likewise.
14045 (handle_pragma): Change documentation.
14046 * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
14047 mode from SImode to DImode.
14048 (iorhi3): Changed LTORG size for insn.
14050 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
14052 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
14053 mem if the address is a mode_dependent_address_p.
14055 2000-07-26 Kazu Hirata <kazu@hxi.com>
14057 * h8300.c (print_operand): Print ":8" when the 'R' operand is
14058 suitable for 8-bit absolute.
14059 * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
14060 (OK_FOR_U): Add a case for the 8-bit constant address on the
14063 Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
14065 * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
14066 && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
14067 ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
14068 lack of implemented alignment.
14070 2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
14072 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
14073 cross-compiling between 64-bit and 32-bit machines.
14075 2000-07-27 Richard Henderson <rth@cygnus.com>
14077 * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
14078 (movhicc_astep, movhi_internal_astep): New.
14079 (movsicc_astep, movsi_internal_astep): New.
14080 (movdicc_astep, movdi_internal_astep): New.
14081 (movsfcc_astep, movsf_internal_astep): New.
14082 (movdfcc_astep, movdf_internal_astep): New.
14083 (movxfcc_astep, movxf_internal_astep): New.
14084 (cmovdi_internal_astep, cmovsi_internal_astep): New.
14085 Unify the cmov[ds]i splitters.
14087 2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
14089 * real.c (asctoeg): Rename `error' label to unexpected_char_error
14091 2000-07-26 Nick Clifton <nickc@cygnus.com>
14093 * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
14094 __arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
14096 * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
14097 well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
14099 2000-07-26 Alexandre Oliva <aoliva@redhat.com>
14101 * c-decl.c (finish_enum): Convert enumerations that fit in an
14103 (build_enumerator): In pedantic mode, cast to `int' those that
14106 2000-07-25 Rodney Brown <RodneyBrown@pmsc.com>
14108 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
14110 Tue Jul 25 23:08:33 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14112 * sh.md (cmpgtdi_t): Must be split.
14113 (cmpgtdi_t+1): New splitter.
14115 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
14117 * cpplib.c (_cpp_check_directive): Issue -Wtraditional
14118 warnings for indented directives even if we are skipping.
14120 2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
14122 * invoke.texi (strict-prototypes): Remove.
14123 * extend.texi (Deprecated Features): Add strict-prototypes.
14124 (Backwards Compatibility): New node.
14126 2000-07-25 Jakub Jelinek <jakub@redhat.com>
14128 * config/i386/i386.md (andsi_1+1): Allow HImode.
14129 (andsi_1+2): Require q_regs_operand.
14131 2000-07-25 Jakub Jelinek <jakub@redhat.com>
14133 * config/i386/i386.md (call_pop): Check operands[0],
14134 not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14136 (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14137 (call_value): Likewise.
14139 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
14141 * toplev.c (pipe_closed): Delete.
14142 (crash_signal): New. Generate ICE for a fatal signal.
14143 (float_signal): Call crash_signal outside a float-handler
14145 (main): Install crash_signal as handler for core-dumping signals.
14147 2000-07-25 David Edelsohn <edelsohn@gnu.org>
14149 * rs6000.c (print_operand, case 'T'): New case.
14151 * rs6000.md (call_indirect_aix32): Convert to expander of
14152 scheduled instructions.
14153 (call_indirect_aix64): Likewise.
14154 (call_value_indirect_aix{32,64}): Likewise.
14155 (call, call_value): Invoke expanders for AIX. Fall through to
14157 (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
14158 (call_value_indirect_nonlocal_aix{32,64}): New patterns.
14159 (call_nonlocal_aix32): Remove CALL_LONG alternative. Operand 1
14160 only "g" constraint.
14161 (call_nonlocal_aix64): Likewise.
14162 (call_value_nonlocal_aix{32,64}): Likewise.
14163 (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
14165 (call_value_nonlocal_sysv): New pattern.
14166 (indirect_jump{si,di}): Use new 'T' modifier.
14167 (tablejump{si,di} matchers): Likewise.
14168 (return_internal_{si,di}): Likewise.
14169 (return_eh_{si,di}): Likewise.
14171 2000-07-24 Richard Henderson <rth@cygnus.com>
14173 * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
14174 * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
14175 * config/ia64/ia64.md (movdi_internal): Use it.
14177 2000-07-24 Zack Weinberg <zack@wolery.cumb.org>
14179 * cppexp.c: Warn about unary + if -Wtraditional.
14180 * cpplex.c (lex_line): Always set BOL on the first token of a line.
14182 2000-07-24 Michael Meissner <meissner@redhat.com>
14184 * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
14187 2000-07-24 Nick Clifton <nickc@cygnus.com>
14189 * config/arm/arm.c (emit_multi_reg_push): Generate a
14190 REG_FRAME_RELEATED_NOTE that is compatable with the code in
14191 dwarf2out_debug_frame_expr.
14193 2000-07-24 Jason Merrill <jason@redhat.com>
14195 * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
14196 UNALIGNED_INT_ASM_OP.
14197 (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
14198 a location expression.
14199 (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff. Don't
14200 assume indirect access if we're saving the CFA address exactly.
14202 * Makefile.in (bootstrap): Move -BstageN/ to the end.
14204 2000-07-24 Jakub Jelinek <jakub@redhat.com>
14206 * tradcpp.c (main): Update max_include_len for cpp_include_defaults
14209 2000-07-24 Michael Meissner <meissner@redhat.com>
14211 * invoke.texi (D30V Options): Add d30v options.
14213 Mon Jul 24 02:04:52 2000 Jeffrey A Law (law@cygnus.com)
14215 * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
14216 needed by our gcse pass anymore.
14217 (free_pre_mem): Corresponding changes.
14218 (compute_pre_data): Do not call compute_transpout anymore.
14220 * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
14221 (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
14224 * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
14225 (compute_pre_data): Do it here instead.
14227 * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
14229 (pre_delete): Corresponding changes.
14231 2000-07-23 Mark Mitchell <mark@codesourcery.com>
14233 * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
14234 to figure out whether or not a variable has already been emitted.
14236 Sun Jul 23 14:49:12 2000 Jason Eckhardt <jle@cygnus.com>
14238 * config/i860/i860.md (untyped_call expander): Use GEN_CALL
14239 instead of gen_call.
14241 Sun Jul 23 11:52:03 2000 George Helffrich (george@gly.bris.ac.uk)
14243 * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
14245 2000-07-23 Kazu Hirata <kazu@hxi.com>
14247 * h8300.c: Fix formatting.
14249 2000-07-23 Joseph S. Myers <jsm28@cam.ac.uk>
14251 * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
14252 for `long' switch expression into a plain warning.
14254 * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
14255 (yylex): Don't pedwarn for "inline" in C99 mode.
14257 * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
14259 * ggc-page.c (debug_print_page_list, alloc_page, free_page,
14260 ggc_alloc): Likewise.
14261 * bb-reorder.c (dump_scope_forest_1): Likewise.
14263 2000-07-22 Aldy Hernandez <aldyh@redhat.com>
14265 * reload.c (find_reloads_toplev): Add new parameter
14266 "address_reloaded".
14267 (find_reloads): Add new parameter to find_reloads_toplev calls.
14269 2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
14271 * collect2.c (main): Typo fixed.
14272 * diagnostic.c: Typo fixed.
14273 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
14274 * eh-common.h: Typo fixed.
14275 * emit-rtl.c (start_sequence): Typo fixed.
14276 * flow.c (find_label_refs): Typo fixed.
14277 (calculate_global_regs_live): Typo fixed.
14278 (mark_regno_cond_dead): Typo fixed.
14279 (create_edge_list): Typos fixed.
14280 (verify_edge_list): Typo fixed.
14281 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
14282 * loop.c (strength_reduce): Typo in function name fixed.
14283 * rtl.h: Added comments. Typo in function name fixed.
14284 * rtlanal.c: Typo in function name fixed.
14285 (insn_dependant_p): Rename to ...
14286 (insn_dependent_p): ... this.
14287 (computed_jumo_p): Typo fixed.
14289 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14291 * system.h (__FUNCTION__): Wrap definition in #ifndef.
14293 2000-07-21 David Edelsohn <edelsohn@gnu.org>
14295 * rs6000.h (SIZE_TYPE): Define.
14297 2000-07-21 Mark Mitchell <mark@codesourcery.com>
14299 * ssa.c (rename_insn_1): Don't rename registers that are
14302 2000-07-21 Zack Weinberg <zack@wolery.cumb.org>
14304 * diagnostic.c (trim_filename, fancy_abort): Moved here from
14306 (fatal_function, set_fatal_function): Removed.
14307 (fatal): Don't prepare for or call the fatal_function.
14308 (diagnostic_lock, error_recursion): New.
14309 (diagnostic_for_decl, report_diagnostic): Guard against
14310 re-entering the error reporting routines.
14311 (fancy_abort): Assume function is not NULL.
14313 * errors.c (fancy_abort): New. Assume function is not NULL.
14314 * tradcpp.c (fancy_abort): Assume function is not NULL.
14316 * system.h: Provide default definition of __FUNCTION__.
14317 * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
14318 Always use __FUNCTION__ in definition of abort.
14319 * tree.h: Likewise.
14320 * varray.h: Likewise.
14321 * toplev.h: Likewise. Don't prototype set_fatal_function.
14323 2000-07-20 Geoff Keating <geoffk@cygnus.com>
14325 * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
14327 * glimits.h: Don't do #if defined for ARCH_PPC.
14329 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
14330 constants of size no larger than a pointer should go in the TOC.
14331 Add 'MODE' parameter.
14332 (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
14333 ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
14334 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
14335 * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
14336 * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
14337 * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
14338 (rs6000_legitimize_address): Likewise.
14339 (rs6000_emit_move): Likewise.
14340 (rs6000_select_rtx_section): Likewise.
14341 (output_toc): Deal properly with outputting small constants like
14342 HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
14343 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
14344 MODE parameter. Put small constants in the TOC.
14346 * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
14348 (rs6000_emit_move): When reload calls us with an illegitimate
14349 address, exit early. Move the change_address calls to one place
14350 at the end of the routine. Merge the SImode and DImode expanders.
14351 When called by reload to put an integer into a FP register, force
14354 * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
14356 (rs6000_hash_constant): Hash mode too.
14357 (toc_hash_function): Allow for key_mode.
14358 (toc_hash_eq): Structures are different if key_mode differs.
14359 (output_toc): Add 'mode' parameter. Save key_mode.
14360 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
14361 Pass 'mode' parameter.
14362 * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
14364 * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
14365 for vtable references.
14367 * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
14368 choice, don't put integer values in FP regs.
14370 Thu Jul 20 18:13:52 2000 Jeffrey A Law (law@cygnus.com)
14372 * flow.c (verify_flow_info): Revamp code to verify that the
14373 head and end of each basic block are in the insn chain.
14375 Thu Jul 20 18:02:35 2000 Michael Matz <matzmich@cs.tu-berlin.de>
14377 * gcse.c (record_one_set): Prepend instead of append onto
14378 reg_set_table, making it O(n) instead O(n^2).
14379 * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
14380 Use a queue instead of a stack as worklist.
14382 2000-07-20 Kazu Hirata <kazu@hxi.com>
14384 * h8300.c (two_insn_adds_subs_operand): Fix a typo.
14385 * h8300.h (OK_FOR_T): New.
14386 (EXTRA_CONSTRAINT): Support OK_FOR_T.
14387 * h8300.md: Use inc/dec.[wl] for increment/decrement
14388 by 1 and 2 in HI and SI modes.
14390 2000-07-20 Jim Wilson <wilson@cygnus.com>
14392 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
14393 larger than 14 bits.
14395 2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
14397 * cppmacro.c (CAN_PASTE_AFTER): New macro.
14398 (count_params): Don't set GNU_REST_ARGS on anything.
14399 (save_expansion): Set PASTE_LEFT only on tokens for which
14400 CAN_PASTE_AFTER is true, or which are named operators.
14402 * cpplex.c (parse_args): Distinguish between a rest argument
14403 given one empty argument, and a rest argument given zero arguments.
14404 (maybe_paste_with_next): Look for VOID_REST tag, and trigger
14405 deletion of previous token based on that.
14406 (get_raw_token): Flatten some control structure.
14408 * cpplib.h (CPP_LAST_EQ): Correct.
14409 (VOID_REST): New token flag.
14410 (GNU_REST_ARGS): Delete.
14412 * tradcpp.c (main): Don't munge -D options.
14413 (make_definition): Bring -D handling in line with cpplib.
14414 (do_define): Strip all leading whitespace from macro definitions.
14416 2000-07-20 David Billinghurst <David.Billinghurst@riotinto.com.au>
14418 * Makefile.in (tradcpp): Depend on intl.o and version.o.
14420 2000-07-20 Bruce Korb <bkorb@gnu.org>
14422 * fixincl/check.tpl: strip the platform specific types before testing
14423 * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
14424 * fixincl/fixincl.tpl: use platform specific types
14425 * fixincl/fixlib.h: include the platform specific types
14426 * fixincl/inclhack.def(gnu_types): don't supply the types
14427 * fixincl/fixincl.x: regen
14429 2000-07-19 Jim Wilson <wilson@cygnus.com>
14431 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
14434 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
14436 * tradcpp.c (rescan): Do not recognize directives when the #
14439 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
14441 Implement C++ named operators.
14443 * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
14444 of operators allowed in #if and having an _EQ variant. Add
14445 CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
14446 (cpp_token flags): Add NAMED_OP.
14447 (enum node_type): Add T_OPERATOR.
14448 (struct cpp_hashnode): Add code slot to value union.
14449 * cpphash.h (spec_nodes): Remove n_defined.
14451 * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
14452 (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
14453 (is_macro_disabled): Tweak error messages.
14455 * cpplib.c (get_define_node): Disallow all named operators as
14456 macro names. Tweak error messages.
14457 (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
14459 * cppinit.c (builtin_array): Add entries for the named operators.
14460 * cppexp.c (lex): Check for CPP_DEFINED token.
14461 (priority table): Add entries for CPP_MIN and CPP_MAX.
14462 (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
14464 2000-07-19 Bernd Schmidt <bernds@cygnus.co.uk>
14466 * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
14467 larger than the array of cuids.
14468 (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
14471 2000-07-19 Bruce Korb <bkorb@gnu.org>
14473 * fixinc/fixincl.c: Convert to using a table of environment variables
14474 and activate the auto-edit marker on the fixed output files.
14475 * fixinc/fixlib.h: Define the environment table
14476 * fixinc/fixincl.sh: export the ${INPUT} dir
14477 * fixinc/check.tpl: likewise
14479 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
14481 * gcc.c (.h spec): Fix typo.
14483 Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
14485 * Makefile.in: Fix tradcif.c path.
14487 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
14489 * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
14492 * cpphash.h (TOKEN_NAME): New macro.
14493 (_cpp_spell_operator): Deleted.
14494 (token_spellings): Now _cpp_token_spellings.
14496 * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
14497 * cpplex.c: Use OP and TK macros when expanding the
14498 TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
14499 store the stringification of the enumeration name (CPP_CHAR,
14500 etc.) in the name slot of token_spellings.
14501 Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
14502 token_spellings directly.
14503 * cpplib.c: Use TOKEN_SPELL.
14505 * cpplex.c (_cpp_push_token): If the token being pushed back
14506 is the previous token in this context, just subtract one from
14508 * cppmacro.c (save_expansion): Clear aux field when storing a
14511 2000-07-18 Jakub Jelinek <jakub@redhat.com>
14513 * cpplex.c (cpp_scan_buffer): Output line command even at the stop
14514 buffer, provided it is not NULL.
14516 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
14518 * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
14519 case of invalid volatile re-declaration.
14521 2000-07-18 Jakub Jelinek <jakub@redhat.com>
14523 * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
14524 (expand_call): Adjust caller.
14526 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
14528 * diagnostic.h (report_diagnostic): Change prototype.
14530 * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
14531 diagnostic_for_decl): Change prototype.
14532 (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
14533 error, warning, error_with_file_and_line,
14534 warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
14535 Adjust call to report_diagnostic, diagnostic_for_decl.
14536 (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
14537 (output_verbatim, verbatim): Adjust call to output_do_verbatim.
14539 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
14540 varaible argument list.
14542 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
14544 * cpphash.c: Don't include hashtab.h. Most macro-handling code
14545 moved to cppmacro.c.
14546 (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
14547 dump_hash_helper): Delete.
14548 (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
14549 cpp_forall_identifiers): New. Implement specialized version of
14550 Vlad's expandable hash table.
14551 (cpp_lookup): Use new functions.
14552 (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
14554 * cppmacro.c: New file.
14555 * cppinit.c (dump_macros_helper): New.
14556 (cpp_finish): Iterate over the identifier table directly.
14557 * cpplex.c (parse_name): Calculate the hash of the identifier
14558 while we scan it. Use _cpp_lookup_with_hash when we can.
14560 * cpphash.h: Update prototypes.
14561 (xcnewvec, HASHSTEP): New helper macros.
14562 * cpplib.h: Update prototypes.
14563 * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
14564 (cppmacro.o): New rule.
14565 (cpphash.o): Update deps.
14567 * cppmain.c: Do not set pfile->printer if no_output is on.
14569 2000-07-15 Neil Booth <neilb@earthling.net>
14571 * cpplib.c: Change all directive-handler functions to return
14573 * cpphash.h: Update typedefs.
14575 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
14577 * configure: Regenerate.
14579 * extend.texi (Extended Asm): Mention that a memory clobber
14580 does not count as a side-effect.
14582 * unroll.c (copy_loop_body): Fix one instance of using host
14583 arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
14586 * tlink.c (scan_linker_output): Tweak for output of AIX ld.
14588 2000-07-17 Richard Henderson <rth@cygnus.com>
14590 * config/ia64/ia64.md (movdi): Split out load address code.
14591 New post-reload splitter for symbolic operands.
14592 (movdi_internal): Abort if we didn't split symbolic operands
14593 when we should have.
14594 * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
14595 (ia64_reorg): Split insns when not optimizing.
14596 * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
14598 Mon Jul 17 23:43:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
14600 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
14601 instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
14603 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
14605 * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
14607 2000-07-17 Jason Merrill <jason@redhat.com>
14609 * Makefile.in (clean): Remove libgcc directory.
14611 * configure.in (-Wno-long-long check): Use higher-level macros.
14613 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
14615 * simplify-rtx.c (simplify_binary_operation): Recognize
14616 (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
14617 (simplify_ternary_operation): Do not examine MODE_BITSIZE of
14618 a CONST_INT, it will always be zero.
14620 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
14622 * loop.c (check_dbra_loop) : Return if more than one condition is
14623 present to control the loop.
14625 Mon Jul 17 08:26:35 2000 Clinton Popetz <cpopetz@cygnus.com>
14627 * mips.c (mips_expand_prologue): Don't calculate the last argument
14628 register unless we need it. When we are calculating this, make
14629 sure FUNCTION_ARG is giving us a REG.
14631 2000-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14633 * flow.c (libcall_dead_p): Use single_set to verify the insn
14634 has only one set and get for analysis.
14635 (propagate_one_insn): Don't pass the PATTERN of the insn.
14637 2000-07-17 Mark Klein <mklein@dis.com>
14639 * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
14641 2000-07-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
14643 * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
14644 * configure.in (TARGET_GETGROUPS_T): Evaluate.
14645 * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
14646 of second argument of getgroups.
14647 * configure, config.in: Rebuilt.
14649 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
14651 * simplify-rtx.c (simplify_relational_operation): Two signed
14652 values with equal high words are less/greater than each other if
14653 their low words are less/greater when considered as unsigned.
14655 Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
14657 * configure.in (vax-*-openbsd): Change to new style configuration,
14658 add collect2/float_format information.
14659 * configure: Rebuilt.
14660 * config/vax/openbsd1.h: New.
14661 * config/vax/openbsd.h: New.
14662 * config/vax/t-openbsd: New.
14664 2000-07-17 Chip Salzenberg <chip@valinux.com>
14666 * c-common.c (shorten_compare): Quiet warnings about unsigned
14667 comparisons with zero when they occur in a system header.
14669 2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14671 * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
14672 update to describe current practice.
14674 * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
14676 * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
14677 references to C9X. Change references to -fstd and -flang-isoc9x
14680 * c-common.c (scan_char_table): Allow "z" length modifiers on
14682 (check_format_info): Use TYPE_DOMAIN on the type matched against
14683 for "z" formats, to retrieve the language size_t rather than the
14686 * c-common.c (check_format_info): Do not make a pedantic objection
14687 to the 'L' length modifier if used with a floating point type
14690 * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
14691 constants in C99 mode.
14693 2000-07-17 Kazu Hirata <kazu@hxi.com>
14695 * h8300.md: Fix the format of mac.
14696 (movsi_h8300hs): Output a tab after stmac instead of a space.
14698 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
14699 profitable adds/subs sequences.
14701 * fold-const.c: Fix comment typos.
14703 2000-07-16 Laurynas Biveinis <lauras@softhome.net>
14705 * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
14707 2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14709 * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
14711 2000-07-16 Neil Booth <NeilB@earthling.net>
14713 * cpplex.c: Update comments.
14714 * README.Portability: Small update.
14716 2000-07-16 Neil Booth <NeilB@earthling.net>
14718 * README.Portability: Small update.
14720 2000-07-15 Richard Henderson <rth@cygnus.com>
14722 * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
14723 * config/ia64/ia64.c (ia64_move_ok): New function.
14724 * config/ia64/ia64.md (movqi, movqi_internal): Use it.
14725 (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
14727 2000-07-15 Zack Weinberg <zack@wolery.cumb.org>
14729 * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
14730 immediately following a paste operator.
14731 * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
14732 (cpp_reader_init): Call it, if HOST_EBCDIC.
14733 (cpp_handle_options): Do not sort option list here.
14734 (handle_option): Rename to cpp_handle_option and export.
14735 * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
14736 _cpp_get_token directly.
14737 (cpp_scan_line): Return 0 at EOF, 1 otherwise.
14738 * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
14739 * cpplib.h: Prototype cpp_handle_option. Update prototype of
14742 2000-07-15 Richard Henderson <rth@cygnus.com>
14744 * fold-const.c (extract_muldiv): Don't optimize past an unsigned
14745 cast around an expression. Tidy other unsigned tests.
14747 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
14749 * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
14750 v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
14751 (v_message_with_decl): Rename to ...
14752 (format_with_decl): ... this. Tweak
14753 (diagnostic_for_decl): New function.
14754 (fatal_io_error): Use verbatim in lieu of notice.
14755 (announce_function): Use verbatim.
14756 (default_print_error_function): Likewise.
14757 (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
14760 2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14762 * mips.c (function_arg_pass_by_reference): Don't do automatic
14763 aggregate initialization.
14764 (machine_dependent_reorg): Initialize variable `mode'.
14766 * mips.md (absdi2): Change variable `regno1' to unsigned int.
14767 (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
14768 conflicts with sys/param.h macro of the same name.
14769 (reload_outdi): Likewise.
14771 2000-07-15 Michael Meissner <meissner@redhat.com>
14773 * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
14774 == CONST + INCREMENT, don't overwrite the tree node for FOO++,
14775 create a new node instead.
14777 2000-07-15 Neil Booth <NeilB@earthling.net>
14779 * README.Portability: Correct example about calling a function
14780 through a pointer to function. Format wide paragraphs.
14782 2000-07-15 Michael Meissner <meissner@redhat.com>
14784 * README.Portability: Update integer suffixes and function
14785 prototype sections.
14787 2000-07-15 Neil Booth <NeilB@earthling.net>
14789 * README.Portability: Small update.
14791 2000-07-15 Neil Booth <NeilB@earthling.net>
14793 * README.Portability: New file.
14795 Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
14797 * INSTALL: Give special instructions for building GCC on Irix 6.
14798 * config/mips/x-iris6 (CC): Don't set it.
14801 2000-07-14 Jason Merrill <jason@redhat.com>
14803 * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
14804 register in the stack and later in another register, use the new
14807 Fri Jul 14 10:25:53 2000 Clinton Popetz <cpopetz@cygnus.com>
14809 * config/mips/mips.md: (absdi2): Handle sign_extend for
14812 2000-07-14 Nathan Sidwell <nathan@codesourcery.com>
14814 * cpplib.c (do_pragma_dependency): Tidy warning messages.
14816 2000-07-14 Zack Weinberg <zack@wolery.cumb.org>
14818 * .cvsignore: Correct typo.
14820 2000-07-13 Mark Mitchell <mark@codesourcery.com>
14822 * .cvsignore: Add generated YACC files.
14823 * objc/.cvsignore: New file.
14825 2000-07-14 Neil Booth <NeilB@earthling.net>
14827 * cpplex.c (adjust_column): New funcion.
14828 (skip_whitespace): Use it.
14829 (skip_block_comment): Use it, and warn about /*/* with
14832 2000-07-14 Neil Booth <NeilB@earthling.net>
14834 * cpphash.c (struct macro_info): Add new members.
14835 (_cpp_free_definition): Delete the macro directly.
14836 (count_params): Return void, with first token of
14837 expansion in struct macro_info on success.
14838 (parse_define): Return int. Hoist syntax checking from
14839 save_macro_expansion. Leave call to save_expansion to
14840 _cpp_create_definition.
14841 (alloc_macro): Needs just 2 arguments.
14842 (free_macro): Delete.
14843 (save_expansion): Don't perform syntax check.
14844 (_cpp_create_definition): Call save_expansion.
14846 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14848 * genrecog.c (write_header): Split long string.
14850 * cpphash.c (macro_info): Don't use the `signed' keyword.
14852 * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
14854 2000-07-13 Jakub Jelinek <jakub@redhat.com>
14856 * calls.c (stored_args_map): New variable.
14857 (check_sibcall_argument_overlap_1): New.
14858 (check_sibcall_argument_overlap): New.
14859 (expand_call): Initialize stored_args_map.
14860 Call check_sibcall_argument_overlap.
14862 2000-07-13 Bruce Korb <bkorb@gnu.org>
14864 * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
14865 (emit_gnu_type): utility procedure for gnu_type_fix
14866 (gnu_type_fix): implement various pre-processor guards around
14867 standard types so these types can be defined over and over
14868 * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
14869 types alluded to above will have GNU-compliant base types
14870 * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
14871 * fixinc/inclhack.def: add test_text entries and utilize the new
14872 "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
14873 * fixinc/fixincl.x: regenerate
14875 2000-07-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14877 * diagnostic.c (vline_wrapper_message_with_location,
14878 v_message_with_file_and_line, v_error_with_file_and_file,
14879 v_error_for_asm, v_warning_for_asm, vfatal,
14880 v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
14881 vsorry, verror, vwarning, vpedwarn): Remove.
14882 (diagnostic_for_asm): New function.
14883 (pedwarn, error, warning, pedwarn_with_file_and_line,
14884 error_with_file_and_line, warning_with_file_and_line, sorry,
14885 error_for_asm, warning_for_asm, fatal): Reimplement.
14886 (finish_diagnostic): Clear diagnostic info as well.
14888 2000-07-13 Neil Booth <NeilB@earthling.net>
14890 * c-common.h (flag_digraphs): New.
14891 * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
14892 * c-lex.c (yylex): Use flag_digraphs to decide whether to
14895 2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
14897 * gcc.c (do_spec_1): Add new %B operator.
14898 (set_input): Prepare for %B.
14900 (link_command_spec): Move up with the other tm.h-
14901 overrideable specs. Factor out the portion conditional on
14902 LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
14903 (struct compiler): Just have a single spec string. All users
14905 (default_compilers): Remove unnecessary braces.
14906 (static_specs): Update.
14908 (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
14910 (C and assembly specs): Use the new named specs, as appropriate.
14912 * objc/lang-specs.h: Use the new named specs.
14913 Remove unnecessary braces.
14915 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14917 * gcc.c (execute): If a subprocess gets a fatal signal, report
14918 strsignal() of the signal number, and ask for a bug report.
14919 Do not do this for SIGPIPE if there's already been an error.
14921 * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE.
14922 Delete pipe_closed.
14924 * tradcif.c: Remove.
14926 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14928 * final.c (profile_function): Do not emit profile counters in
14929 the data section, if NO_PROFILE_COUNTERS is defined.
14930 * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for
14933 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
14934 (FUNCTION_PROFILER): Just emit a call to mcount.
14936 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14938 * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
14940 * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
14941 cpplib.c, cpplib.h: Eradicate all traces of code dependent on
14942 traditional, lang_chill, or lang_fortran.
14944 * cppfiles.c: #undef strcmp to suppress warning about macros
14945 used without arguments.
14946 (_cpp_execute_include): Use f, not fname, in "No include path"
14948 (_cpp_pop_file_buffer): New function.
14949 * cpplib.c: Don't include <sys/mman.h>.
14950 (cpp_push_buffer): Set line_base and lineno in new buffer.
14951 (cpp_pop_buffer): Use _cpp_pop_file_buffer.
14953 * cpplex.c: Move all prototypes and structure declarations to the
14954 top of the file. Properly parenthesise some macro arguments.
14955 (cpp_scan_line): New function.
14956 (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
14957 don't need to walk up the stack counting.
14959 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14961 * c-common.c (combine_strings): Emit a pedantic warning when a
14962 string length is greater than the minimum ANSI C is required
14965 Wed Jul 12 13:24:30 2000 Jeffrey A Law (law@cygnus.com)
14967 * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
14968 * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
14970 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14972 * c-decl.c (define_label): Warn about identifier conflicts with
14973 labels in traditional C.
14975 * c-parse.in (unop +): Warn about the unary plus operator for
14978 * c-typeck.c (store_init_value): Warn about automatic aggregate
14979 initialization for traditional C.
14981 * invoke.texi (-Wtraditional): Document new warnings.
14983 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
14985 * Makefile.in (c-errors.o): Fix thinko in dependency.
14987 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
14989 * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
14990 -traditional, -ftraditional, or -traditional-cpp was given.
14991 Do not pass -traditional to the preprocessor.
14992 (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
14993 preprocessor does it automatically.
14994 * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
14996 * ch/lang-specs.h: Always use tradcpp. Do not pass
14997 -traditional, -trigraphs, or -pedantic to the preprocessor.
14998 * f/lang-specs.h (.F spec): Likewise. Don't bother defining
15001 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
15003 * cppexp.c (LOGICAL): Delete macro.
15004 (_cpp_parse_expr): Do not use UNARY for unary +. Implement ||
15007 * cpphash.c (HASHSIZE): Increase to 4096.
15008 (struct hashdummy): Add hash field.
15009 (eq_HASHNODE): Compare unreduced hashes, then lengths, then
15010 the string values using memcmp.
15011 (cpp_lookup): Set dummy.hash.
15013 Wed Jul 12 13:15:16 2000 Marc Espie <espie@openbsd.org>
15015 * configure.in (m88k-openbsd): Express configuration using new fragment
15017 * configure: Rebuilt.
15018 * m88k/aout-dbx.h: New.
15019 * m88k/openbsd.h: New.
15020 * m88k/xm-openbsd.h: New.
15022 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15024 * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
15026 2000-07-12 Richard Henderson <rth@cygnus.com>
15028 * reload.c (push_secondary_reload): Make sure to add the new
15029 reload at the end, after acquiring secondary memory.
15031 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15033 * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
15035 * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
15036 lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
15038 * c-parse.in (stmt): Delete unused variables.
15040 * convert.c (convert_to_vector): Likewise.
15042 * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
15044 * tree.c (finish_vector_type): Prototype.
15046 2000-07-12 Bruce Korb <bkorb@gnu.org>
15048 * fixinc/fixfixes.c: use xmalloc
15049 * fixinc/fixincl.c(initialize): set program name for xmalloc
15050 * fixinc/fixlib.c(must_malloc): obsolete
15051 (is_cxx_header): no longer used - disabled
15052 (skip_quote): inserted and disabled for future use
15053 * fixinc/fixlib.h: reflects above
15054 * fixinc/fixtests.c: removed dinkleberries
15056 2000-07-12 Neil Booth <NeilB@earthling.net>
15058 * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
15059 * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
15061 * cpphash.c: (struct macro_info, alloc_macro, free_macro,
15062 struct toklist_dummy): New.
15063 (cpp_free_definition): Free macros with free_macro.
15064 (count_params): Don't save paramter spellings. Save macro
15065 information in a struct macro_info.
15066 (parse_define): Don't allocate a token list.
15067 (save_expansion): Allocate the macro's token list, and
15068 save parameter spellings if necessary. Use TOKEN_SPELL.
15069 (cpp_create_definition): Make list const.
15071 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
15073 * c-typeck.c (pedwarn_c99): Move to
15074 * c-errors.c: ... Here.
15075 * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
15076 * diagnostic.c (verror, vwarning, vpedwarn): Make static.
15077 * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
15078 (c-errors.o): List dependency.
15080 2000-07-12 Mark Mitchell <mark@codesourcery.com>
15082 * c-parse.c: Remove.
15083 * c-parse.h: Likewise.
15084 * c-parse.y: Likewise.
15085 * objc/objc-parse.c: Likewise.
15086 * objc/objc-pasre.y: Likewise.
15088 2000-07-11 Rodney Brown <RodneyBrown@pmsc.com>
15090 * gcc.texi: Fix minor typos
15091 * extend.texi: Fix minor typos
15093 2000-07-11 Marc Espie <espie@openbsd.org>
15095 * collect2.c (main): Recognize .lo as object files.
15097 2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
15099 * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
15102 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
15103 with MAP_ANONYMOUS and MAP_ANON.
15104 * configure, config.in: Rebuilt.
15106 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
15108 * diagnostic.c (save_output_state): Remove.
15109 (restore_output_state): Likewise.
15110 (clear_text_info): New function.
15111 (clear_diagnostic_info): Likewise.
15112 (output_text_length, is_starting_newline, output_prefix,
15113 line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
15114 prefixing_policy, output_buffer_ptr_to_format_args): New macros
15115 (set_real_maximum_length, output_set_maximum_length,
15116 output_set_prefix, output_get_prefix, output_set_maximum_length,
15117 output_destroy_prefix, init_output_buffer,
15118 reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
15119 output_add_newline, output_add_character, output_add_space,
15120 output_append_r, output_append, wrap_text, output_format,
15121 output_do_printf, output_printf, output_do_verbatim,
15122 output_verbatim, verbatim): Use them.
15123 (output_clear): Split into cleat_text_info and
15124 clear_diagnostic_info.
15125 (struct output_state): Move to...
15127 * diagnostic.h: ...Here
15128 (struct output_buffer): Adjust.
15130 2000-07-11 Zack Weinberg <zack@wolery.cumb.org>
15132 * cpplex.c (parse_name): No longer inline (premature optimization).
15133 (do_pop_context): Fold into pop_context.
15134 (pop_context): Returns int.
15135 (lex_next): Hoist test for end of directive into pop_context.
15136 (push_macro_context): Returns int; takes just reader and token.
15137 Hoist test for excessive nesting to caller.
15138 (push_arg_context): Returns void; takes just reader and token.
15139 Do not call stringify_arg or get_raw_token.
15140 (get_raw_token): Convert tail recursion through push_arg_context
15141 to a loop at this level. Call stringify_arg here if appropriate.
15142 (maybe_paste_with_next): Convert tail recursion to a while loop.
15143 Hoist test of paste_level to caller.
15145 (stringify_arg): Push arg context at beginning.
15146 (cpp_get_token): Split out core into _cpp_get_token. Call
15147 process_directive here. Throw away CPP_PLACEMARKER tokens.
15148 (_cpp_get_token): Convert tail recursion through
15149 push_macro_context to a loop at this level.
15150 (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
15151 _cpp_get_raw_token): Use _cpp_get_token.
15152 (_cpp_skip_rest_of_line): Drop the context stack directly; do
15153 not call pop_context.
15154 (_cpp_run_directive): Call lex_next directly.
15156 * cpphash.h: Prototype _cpp_get_token.
15157 * cppexp.c (lex): Use it.
15158 * cpphash.c (parse_define): Use it.
15159 * cpplib.c (get_define_node, do_undef, parse_include,
15160 read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
15161 do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
15162 parse_ifdef, validate_else): Use it.
15163 (cpp_push_buffer): Tweak error message; abort if anyone tries
15164 to push a buffer while macro expansions are stacked.
15166 2000-07-11 Donn Terry <donnte@microsoft.com>
15168 * cpplex.c (free_macro_args, save_token): Cast arg of free
15169 and/or xrealloc to PTR.
15170 (_cpp_init_input_buffer): Clear all fields of the base context.
15172 Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15174 * gensupport.c (process_rtx): Make rtl checking stop
15175 complaining about the define_insn while it is being
15176 converted from a define_insn_and_split.
15178 Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
15180 * config/mips/mips.c (simple_memory_operand): Access the
15181 INTVAL of the address, not it's containing MEM.
15183 2000-07-11 Bruce Korb <bkorb@gnu.org>
15185 * fixinc/fixtests.c(double_slash): obsolete
15186 (else_endif_label): likewise
15187 * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
15188 (libc1_ifdefd_memx): correct initial comment
15189 and omit the #if/#endif pair from the memxxx declarations
15190 * fixinc/fixincl.x: regen
15192 2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15194 * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
15196 2000-07-11 Neil Booth <NeilB@earthling.net>
15198 * cpp.texi: Update.
15200 2000-07-11 Neil Booth <NeilB@earthling.net>
15202 * cppinit.c: (cpp_reader_init): Allow digraphs by default.
15203 (handle_option): Set digraphs according to standard.
15204 Merge OPT_lang_c89 handler with OPT_std_c89.
15206 * cpplex.c: (lex_line, can_paste): Honour digraphs in
15207 accordance with the digraphs flag.
15209 * cpplib.h: (struct cpp_options): New option digraphs.
15211 2000-07-10 Hans-Peter Nilsson <hp@axis.com>
15212 Bruce Korb <bkorb@gnu.org>
15214 * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
15215 * fixinc/fixincl.x: Regenerate.
15216 * fixinc/tests/base/testing.h: Add testcase.
15218 2000-07-10 Richard Henderson <rth@cygnus.com>
15220 * config/ia64/ia64.c (got_symbolic_operand): New.
15221 (symbolic_operand, move_operand): Revert 0701 change.
15222 * config/ia64/ia64.h (PREDICATE_CODES): Update.
15223 * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
15224 * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
15225 split the offset into a 14-bit low part instead of a 13-bit low part.
15226 (load_fptr): Mark the mem as unchanging.
15227 (load_symptr): Use got_symbolic_operand.
15229 2000-07-10 Nick Clifton <nickc@cygnus.com>
15231 * libgcc2.c (next_stack_level): Cast result of computation to
15232 (void **) so that the assignment does not generate a warning.
15234 2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
15236 * flags.h : Add new variable flag_single_precision_constant.
15237 * toplev.c (display_help) : Add -fsingle-precision-constant option.
15238 (flag_single_precision_constant): New.
15239 * c-lex.c (yylex): Convert floating point constant to single
15240 precision constant.
15241 * invoke.texi : Add documentation for this new option.
15243 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
15245 * diagnostic.c (output_octal): Second parameter is unsigned.
15246 (output_long_octal): Likewise.
15247 (output_hexadecimal): Likewise.
15248 (output_long_hexadecimal): Likewise.
15249 (output_format): Adjust arguments extraction. Tweak.
15250 (output_verbatim, verbatim): End variable argument list.
15251 (report_diagnostic): Improve documentation.
15253 2000-07-10 Benjamin Chelf <chelf@codesourcery.com>
15255 * c-common.h (build_stmt): Declare.
15256 (build_continue_stmt): Likewise.
15257 (build_break_stmt): Likewise.
15258 (build_return_stmt): Likewise.
15260 * c-decl.c (do_case): Rewrite to do what previously done in
15263 * c-semantics.c (build_stmt): Define.
15264 (build_return_stmt): Likewise.
15265 (build_break_stmt): Likewise.
15266 (build_continue_stmt): Likewise.
15267 (build_case_label): Likewise.
15269 * c-parse.in (BREAK): Change to build tree, then generate RTL.
15270 (CONTINUE): Likewise.
15271 (RETURN): Likewise.
15273 (DEFAULT): Likewise.
15275 * c-parse.y: Regenerate.
15276 * c-pasre.c: Likewise.
15278 2000-07-09 Jason Merrill <jason@redhat.com>
15280 * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
15282 * tree.h (STRIP_NOPS): Check for error_mark_node.
15283 (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
15284 (dwarf2out_*): Remove duplicate declarations.
15286 * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
15287 DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
15289 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
15291 * diagnostic.c (wrap_text): New function.
15292 (maybe_wrap_text): Likewise.
15293 (output_add_string): Use it.
15294 (output_format): Likewise.
15295 (count_error): Use verbatim instead of notice.
15296 (report_error_function): Likewise. Don't use plain fprintf.
15297 (finish_diagnostic): New function.
15298 (output_do_verbatim): Tweak. Commonalize functionalities in
15299 output_verbatim and verbatim.
15300 (output_verbatim): Adjust.
15301 (verbatim): Likewise.
15302 (report_diagnostic): Define.
15304 * diagnostic.h (report_diagnostic): Prototype.
15306 2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
15308 * cppexp.c (_cpp_parse_expr): Don't use unary plus.
15310 2000-07-09 Neil Booth <NeilB@earthling.net>
15312 * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
15313 IShspace, ISspace: Update.
15315 * cppinit.c: ISTABLE: Update.
15318 * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
15319 (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
15320 (skip_block_comment, skip_line_comment, parse_string,
15321 lex_line): Use is_vspace rather than IS_NEWLINE.
15322 (skip_whitespace, lex_line): Clean up to use is_nvspace.
15323 (lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
15325 (lex_next): Unconditionally stop if within a directive.
15326 Treat directives within macro invocations as directives
15327 (after parse_args emits error), not as the argument.
15329 2000-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
15331 * diagnostic.c (diagnostic_args): New macro.
15332 (diagnostic_msg): Likewise.
15333 (output_formatted_integer): Likewise.
15334 (output_state): New data type.
15335 (digit_buffer): Make global.
15336 (output_add_integer): Rename to output_decimal. Squeeze
15338 (output_long_decimal, output_unsigned_decimal,
15339 output_long_unsigned_decimal, output_octal, output_long_octal,
15340 output_hexadecimal, output_long_hexadecimal): New functions.
15341 (output_append_r): New function.
15342 (output_append): Tweak.
15343 (output_flush_on): Rename to output_to_stream.
15344 (output_format): Change prototype. Improve documentation. Handle
15345 more format specifiers.
15346 (build_location_prefix): Rename to context_as_prefix.
15347 (output_notice): Rename to output_do_printf.
15348 (output_printf): Tweak.
15349 (line_wrapper_printf): Likewise.
15350 (vline_wrapper_message_with_location): Adjust call to renamed
15352 (v_message_with_decl): Likewise.
15353 (default_print_error_function): Likewise.
15354 (save_output_state): New function.
15355 (restore_output_state): Likewise.
15356 (output_do_verbatim): Likewise.
15357 (output_verbatim): Define.
15358 (verbatim): Likewise.
15360 * diagnostic.h (printer_fn): Change return type from void to int.
15361 Improve documentation.
15362 (output_add_integer): Rename to output_decimal.
15363 (output_flush_on, output_format): Don't export.
15364 (output_verbatim, verbatim): Declare.
15366 2000-07-08 Toon Moene <toon@moene.indiv.nluug.nl>
15368 * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
15369 Check whether c divides op1 exactly if operation is not
15372 2000-07-08 Richard Henderson <rth@cygnus.com>
15374 * final.c (final): Do not abort when reg-stack introduces
15377 2000-07-08 Zack Weinberg <zack@wolery.cumb.org>
15379 * cpplib.h (struct cpp_name): Now struct cpp_string.
15380 (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
15381 CPP_HEADER_NAME): Change to type S.
15382 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
15383 field, a cpp_hashnode *. All references to val.name updated
15384 to use val.str or val.node as appropriate.
15385 (struct cpp_reader): Add spec_nodes field.
15386 (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
15388 * cpphash.h (struct spec_nodes): New.
15389 (enum spell_type): Reorder. Only SPELL_STRING tokens use
15390 val.str. All references to 'spelling > SPELL_NONE' updated to
15393 (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
15394 pfile->buffer->inc are not NULL before dereferencing them.
15396 * cpplex.c (parse_name): Take a pointer to the current token,
15397 plus current position and limit as args; return the new
15398 position; don't copy the text of a name into the string
15399 buffer, instead call cpp_lookup and store the node pointer.
15400 If extending a token, copy out the text of the old into a
15401 scratch buffer, append the new, look that up and store the new
15402 node pointer. Inline.
15403 (maybe_paste_with_next): If the result of paste is a NAME,
15404 then look up the pasted text and store its node pointer.
15405 (lex_line): Adjust for new parse_name interface.
15406 Check for L"str", L'str' using spec_nodes->n_L.
15407 (spell_token): SPELL_IDENT tokens have their spelling in
15408 val.node->name. Handle SPELL_STRING tokens that don't have
15410 (_cpp_expand_name_space,
15411 (can_paste): Check for L ## "str" using spec_nodes->n_L.
15412 (cpp_get_token, special_symbol): No need to call cpp_lookup.
15413 (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
15414 return 1=equal 0=not, not a tristate.
15416 * cpphash.c (var_args_str): Delete.
15417 (find_param): Compare node fields directly.
15418 (is__va_args__): Use CPP_PEDANTIC. Just compare
15419 token->val.node with spec_nodes->n__VA_ARGS__.
15420 (dump_funlike_macro): Don't use var_args_str.
15422 * cpplib.c (_cpp_check_directive): Just walk through
15423 spec_nodes->dirs comparing pointers.
15424 (get_define_node, do_pragma_poison, detect_if_not_defined,
15425 parse_ifdef): The identifier has already been looked up.
15426 (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
15428 (do_if): Only call detect_if_not_defined at beginning of file.
15429 (_cpp_parse_assertion): Only copy string pointers for
15430 SPELL_STRING tokens.
15431 (pragma_dispatch): Take a node pointer and examine its name
15433 (_cpp_init_stacks): Also initialize the spec_nodes structure.
15435 * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
15437 (cpp_cleanup): Free pfile->spec_nodes. Call _cpp_cleanup_* in
15438 reverse order from the corresponding _cpp_init_* routines.
15440 * cppexp.c (parse_number, parse_charconst, parse_defined,
15441 lex): Check val.node->type instead of calling cpp_defined.
15442 Use spec_nodes entries where appropriate.
15444 * fix-header.c, scan-decls.c: Update for interface changes.
15446 2000-07-08 Geoffrey Keating <geoffk@cygnus.com>
15448 * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
15449 emitting aux_truncdfsf2.
15451 2000-07-03 Donn Terry (donnte@microsoft.com)
15453 * cppinit.c (print_help): split overlong line into ISO C89
15456 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
15458 * cppexp.c: Update all code for new lexer interface.
15459 (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
15460 (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
15461 * cpplex.c (token_names): Trim leading CPP_ from names; make
15462 the strings unsigned.
15463 (_cpp_spell_operator): New.
15464 (is_macro_disabled): Disable all macros if rescanning
15466 (_cpp_get_directive_token): Remove.
15468 * cppinit.c: Don't set no_macro_expand.
15469 * cpplib.c (read_line_number, do_line): Check only for EOF,
15471 * cpphash.h: Update prototypes.
15472 * cpplib.h (CPP_VSPACE): Remove.
15473 (struct cpp_reader): Remove no_macro_expand.
15475 2000-07-08 Neil Booth <NeilB@earthling.net>
15477 * cpphash.c (is__va_args__): New function.
15478 (count_params): Fix line reported in error messages. Use
15479 is__va_args__. Don't return ')' on error. Flag GNU style
15480 rest args macro definitions.
15481 (parse_define): Check macro name is not __VA_ARGS__.
15482 (save_expansion): Check identifier in non-varargs-macro is
15483 not __VA_ARGS__. Don't flag GNU_VARARGS.
15484 * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
15485 (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
15486 than per-token GNU_VARARGS.
15487 * cpplib.h (GNU_VARARGS): Remove.
15488 (GNU_REST_ARGS): New.
15490 Sat Jul 8 01:38:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
15492 * i386.md (call_pop, call, call_value_pop): Do not set
15493 current_function_uses_pic_offset_table for calls to static
15494 functions or indirect calls.
15496 2000-07-07 Jim Wilson <wilson@cygnus.com>
15498 * config/ia64/ia64.c (rws_access_reg): New local write_count. If
15499 is_predicate_reg, then take max write_count of register pair.
15501 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15503 * tradcpp.c (main): Rename label `include' to `add_include' to
15504 avoid conflicts with variable `include' in traditional C.
15506 2000-07-07 Jakub Jelinek <jakub@redhat.com>
15508 * integrate.c (copy_insn_list): Remove REG_LABEL notes.
15510 2000-07-07 Jakub Jelinek <jakub@redhat.com>
15512 * sibcall.c (uses_addressof): Add INMEM argument, check for
15513 current_function_internal_arg_pointer outside of MEM rtxs in addition
15515 (sequence_uses_addressof): Update caller.
15517 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
15519 * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
15522 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15524 * system.h (UNION_INIT_ZERO): New macro for initializing union
15525 members in structs.
15527 * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
15529 2000-07-07 Neil Booth <NeilB@earthling.net>
15531 * cpp.texi: Update.
15533 Fri Jul 7 07:47:35 2000 Jeffrey A Law (law@cygnus.com)
15535 * final.c (final): Detect out of bounds array access to
15536 the insn_lengths array.
15538 2000-07-07 Kazu Hirata <kazu@hxi.com>
15540 * fold-const.c (fold): Fix a comment typo.
15542 2000-07-07 Neil Booth <NeilB@earthling.net>
15544 * cpp.texi: Update to new lexer.
15546 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
15548 * tradcpp.c: New file.
15549 * tradcif.y: New file.
15550 * tradcif.c: New generated file.
15552 * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
15553 $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and
15554 dependencies of C. Install tradcpp from install-common, in
15557 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
15559 * cppinit.c: Include cppdefault.h. Refer to
15560 cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
15561 to GCC_INCLUDE_DIR and its length.
15562 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
15563 USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
15564 STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to
15566 (include_defaults_array): Move to cppdefault.c.
15568 * cppdefault.h: New file.
15569 * cppdefault.c: New file.
15571 * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
15572 (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
15573 (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
15576 Thu Jul 6 18:30:36 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15578 * reload.c (push_reload): When seeing if can reuse a register,
15579 check extra registers against widest of INMODE and OUTMODE.
15581 2000-07-06 Neil Booth <NeilB@earthling.net>
15583 * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
15584 based on full length of predicate.
15586 2000-07-06 Hans-Peter Nilsson <hp@axis.com>
15588 * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
15589 [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
15591 2000-07-05 Kazu Hirata <kazu@hxi.com>
15593 * h8300-proto.h: Fix formatting.
15594 * h8300.c: Likewise.
15595 * h8300.h: Likewise.
15597 2000-07-05 Jim Wilson <wilson@cygnus.com>
15599 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
15602 2000-07-05 Rodney Brown <RodneyBrown@pmsc.com>
15604 * invoke.texi: Fix minor typos
15605 * md.texi: Fix minor typos
15607 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
15609 * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
15611 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
15613 * cpplex.c: Don't include sys/mman.h.
15614 (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
15616 * cpplib.c: Include sys/mman.h and obstack.h.
15617 (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
15619 (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
15620 (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't
15621 bother freeing if stack entries (they will be freed with their buffer).
15622 (do_endif): Free if stack entries from the buffer obstack.
15623 (push_conditional): Allocate if stack entries from the buffer obstack.
15625 (find_answer): Rename to _cpp_find_answer.
15626 (do_assert, do_unassert): Update.
15628 * cpphash.h: Update prototypes.
15629 (xobnew): New convenience macro.
15630 * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
15632 (struct cpp_hashnode): Remove disabled field.
15634 * cppinit.c: Don't include hashtab.h or splay-tree.h.
15635 (report_missing_guard): Moved to cppfiles.c.
15636 (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
15638 (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
15639 cpp_cleanup_includes. Don't destroy hashtab or
15640 all_include_files here.
15641 (cpp_finish): Use _cpp_report_missing_guards.
15643 * cppfiles.c (report_missing_guard): Moved from cppinit.c.
15644 (_cpp_init_include_table): Rename _cpp_init_includes.
15645 (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
15647 * cppexp.c (parse_assertion): Update for new name of
15650 * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
15652 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
15654 * cpplib.c (do_ident): s/VSPACE/EOF/
15656 2000-07-05 Neil Booth <NeilB@earthling.net>
15658 * cpplex.c: Fix trigraph replacement within strings.
15660 2000-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15662 * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
15664 * xcoffout.c (assign_type_number): Constify.
15665 (xcoffout_source_file): Add static prototype. Don't needlessly
15666 cast away const-ness.
15668 2000-07-04 Jason Merrill <jason@redhat.com>
15670 * frame.h (frame_state): Move base_offset to end.
15672 Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
15674 * calls.c (emit_library_call_value_1): Revert previous change.
15676 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
15678 * fix-header.c (struct partial_proto): Remove unnecessary fields.
15679 (recognized_extern, recognized_function, read_scan_file):
15680 Update for new scheme.
15681 (check_protection): It's still a multiple include guard even
15682 if it doesn't always trigger.
15683 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
15685 * scan.h: Declare struct cpp_token. Update prototypes.
15687 2000-07-03 Neil Booth <neilb@earthling.net>
15688 Zack Weinberg <zack@wolery.cumb.org>
15690 Complete overhaul of the lexer and macro expander.
15692 * cpphash.c (object_defn, funct_defn, push_macro_expansion,
15693 arg, arglist, argdata, reflist, collect_objlike_expansion,
15694 collect_funlike_expansion, collect_params,
15695 warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
15696 unsafe_chars, macarg, compare_defs, special_symbol,
15697 scan_arguments, stringify, funlike_macroexpand,
15698 _cpp_quote_string, monthnames): Delete.
15699 (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
15700 _cpp_create_definition, _cpp_dump_definition,
15701 dump_hash_helper): Adjust.
15702 (find_param, count_params, parse_define, var_args_str,
15703 check_macro_redefinition, save_expansion): New.
15705 * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
15706 parse_string, output_line_command, trigraph_replace,
15707 lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
15708 cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
15709 cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
15710 _cpp_skip_rest_of_line): Modify.
15712 (maybe_macroexpand, skip_comment, copy_comment, skip_string,
15713 find_position, null_warning, bump_column, expand_name_space,
15714 pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
15715 _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
15716 _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
15717 _cpp_prescan): Delete.
15719 (dump_param_spelling, process_directive, lex_next,
15720 is_macro_disabled, stringify_arg, expand_context_stack,
15721 output_token, make_string_token, alloc_number_token,
15722 special_symbol, duplicate_token, maybe_paste_with_next,
15723 can_paste, prevent_macro_expansion, restore_macro_expansion,
15724 get_temp_token, release_temp_tokens, quote_string,
15725 token_names, token_spellings, _cpp_expand_name_space,
15726 _cpp_glue_header_name, _cpp_reserve_name_space,
15727 digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
15728 placemarker_token, eof_token, cpp_context, macro_args,
15729 get_raw_token, parse_arg, parse_args, save_token,
15730 push_arg_context, push_macro_context, pop_context,
15731 do_pop_context, free_macro_args, _cpp_get_line,
15732 _cpp_run_directive): New.
15734 * cpplib.c (validate_else, parse_include, push_conditional,
15735 pass_thru_directive, read_line_number, parse_ifdef,
15736 detect_if_not_defined, _cpp_check_directive, do_define,
15737 do_undef, do_include, do_import, do_include_next, do_error,
15738 do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
15739 top_pragmas, do_pragma_gcc, do_pragma_implementation,
15740 do_pragma_poison, do_pragma_system_header,
15741 do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
15742 dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
15743 do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
15744 cpp_defined): Update for new scheme.
15745 (strtoul_for_line, get_define_node, dump_macro_name,
15746 _cpp_check_linemarker, _cpp_parse_assertion): New.
15747 (_cpp_handle_directive, do_pragma_default): Delete.
15749 * cpphash.h (struct predicate): Now struct answer.
15750 (enum spell_type, struct token_spelling, struct directive,
15751 directive_handler): New.
15752 Update prototypes. Remove unused macros.
15753 * cpplib.h: Update prototypes. Remove unused macros,
15754 structure definitions, and fields.
15756 * cpperror.c (print_containing_files, v_message): Adjust.
15757 * cppexp.c (parse_assertion, lex, parse_escape,
15758 _cpp_parse_expr): Adjust.
15759 * cppfiles.c (open_include_file, _cpp_execute_include,
15760 _cpp_compare_file_date, cpp_read_file, read_include_file):
15762 * cppinit.c (dump_special_to_buffer): Delete.
15763 (append_include_chain, merge_include_chains, cpp_reader_init,
15764 cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
15765 cpp_finish, handle_option, print_help): Adjust.
15766 * cppmain.c (main): Adjust.
15768 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
15770 * cppspec.c (lang_specific_driver): Use double quotes in error
15773 Mon Jul 3 16:53:43 2000 Clinton Popetz <cpopetz@cygnus.com>
15775 * calls.c (emit_library_call_value_1): Use valreg instead
15776 of hard_libcall_value.
15778 2000-07-03 Geoff Keating <geoffk@cygnus.com>
15780 * config/rs6000/rs6000.c (rs6000_emit_move): New function.
15781 * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
15782 * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
15790 * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
15791 mode instead of wider_mode is being used.
15793 2000-07-03 Jakub Jelinek <jakub@redhat.com>
15795 * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
15796 of 'r'. Use q_regs_operand.
15797 (andsi_1+2): Use q_regs_operand.
15799 2000-07-03 Jakub Jelinek <jakub@redhat.com>
15801 * builtins.c (get_memory_rtx): Always put into alias set 0.
15803 2000-07-03 Nick Clifton <nickc@cygnus.com>
15805 * config/arm/arm.md: Fix post increment and pre increment
15806 peepholes so that they do not generate UNPREDICATBLE opcodes.
15807 (ie ones where the increment clobbers the source/destination).
15809 2000-07-01 Marek Michalkiewicz <marekm@linux.org.pl>
15811 * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
15812 change too big for -mtiny-stack" a warning, if larger than 63.
15813 (out_set_stack_ptr): Change the logic so -mno-interrupts is
15814 always safe to use on possible future devices.
15815 (function_prologue): Write SPH before SPL, for consistency.
15816 If interrupt_func_p true, we know we have enabled interrupts.
15817 (avr_num_arg_regs): New function. Round up to even number of
15818 bytes if no -mpack-args or if calling a libgcc function.
15819 (function_arg, function_arg_advance): Use it.
15820 (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
15821 Output "movw" if available.
15822 (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
15823 of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
15824 (asm_output_section_name): Add blanks for consistent output.
15825 (encode_section_info): Set TREE_READONLY for progmem data to
15826 avoid gas warnings about changed section attributes.
15827 (avr_hard_regno_mode_ok): Force non-QImode data to start in
15828 even numbered registers on devices with "movw".
15829 * config/avr/avr.h (MASK_*): Define bits for target_flags.
15830 (TARGET_SWITCHES): Mark help strings for translation.
15831 Add new -mpack-args and -menhanced switches.
15832 (TARGET_OPTIONS): Mark help strings for translation.
15833 (progmem_section): Add section attributes.
15834 * config/avr/avr.md (*movhi, call_insn, call_value_insn):
15835 Output "movw" if available.
15836 (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
15838 * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
15839 call convention (arguments aligned on even registers).
15840 (_cleanup, _exit): Make weak symbols libc can override.
15842 2000-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15844 * fp-bit.h: New file.
15846 * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
15847 Comment #endif statements.
15848 (__thenan_sf, __thenan_df): Add missing braces around initializer.
15850 Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
15852 * gcse.c (compute_pre_data): Compute ae_kill using other local
15853 properties instead of calling compute_ae_kill.
15855 * alias.c (init_alias_analysis): Do not call
15856 prologue_epilogue_contains until after reload has completed.
15858 2000-07-02 Benjamin Chelf <chelf@codesourcery.com>
15860 * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
15861 (genrtl_finish_compound_stmt): Likewise.
15862 (genrtl_compound_stmt): Change to return void.
15864 * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
15865 move code from here to ...
15866 (genrtl_compound_stmt): ... here.
15867 (genrtl_finish_compound_stmt): Remove.
15868 (expand_stmt): Add comment.
15870 2000-07-02 Zack Weinberg <zack@wolery.cumb.org>
15872 * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
15875 2000-07-02 Jakub Jelinek <jakub@redhat.com>
15877 * cpplib.h (struct cpp_reader): New field include_depth.
15878 (struct cpp_printer): Rename last_bsd to last_id.
15879 * cppfiles.c (read_include_file): Bump include_depth.
15880 * cpplex.c (cpp_pop_buffer): Decrement include_depth.
15881 (output_line_command): Output correct #line if a header
15882 is including itself and is not protected against multiple inclusion.
15883 Use include_depth instead of buffer_stack_depth, last_id instead of
15885 * cppinit.c (cpp_start_read): Initialize last_id instead of
15888 2000-07-01 Benjamin Chelf <chelf@codesourcery.com>
15890 * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
15891 (c-semantics.o): New target.
15893 * c-common.h (TREE_LANG_FLAG_?): Added documentation.
15894 (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
15895 (genrtl_clear_out_block): Likewise.
15896 (genrtl_goto_stmt): Likewise.
15897 (genrtl_expr_stmt): Likewise.
15898 (genrtl_decl_stmt): Likewise.
15899 (genrtl_if_stmt): Likewise.
15900 (genrtl_while_stmt): Likewise.
15901 (genrtl_do_stmt): Likewise.
15902 (genrtl_return_stmt): Likewise.
15903 (genrtl_for_stmt): Likewise.
15904 (genrtl_break_stmt): Likewise.
15905 (genrtl_continue_stmt): Likewise.
15906 (genrtl_scope_stmt): Likewise.
15907 (genrtl_switch_stmt): Likewise.
15908 (genrtl_case_label): Likewise.
15909 (genrtl_begin_compound_stmt): Likewise.
15910 (gerntl_finish_compound_stmt): Likewise.
15911 (genrtl_compound_stmt): Likewise.
15912 (genrtl_asm_stmt): Likewise.
15913 (genrtl_decl_cleanup): Likewise.
15914 (DECL_ANON_UNION_ELEMS): Likewise.
15915 (emit_local_var): Likewise.
15916 (make_rtl_for_local_static): Likewise.
15917 (expand_cond): Likewise.
15918 (expand_stmt): Likewise.
15919 (c_expand_return): Likewise.
15920 (c_expand_start_case): Likewise.
15921 (do_case): Likewise.
15922 (COMPOUND_STMT_NO_SCOPE): Likewise.
15923 (c_expand_asm_operands): Likewise.
15924 (NEW_FOR_SCOPE_P): New macro.
15925 (expand_expr_stmt_fn): New type.
15927 (set_current_function_name_declared): Likewise.
15928 (current_function_name_declared): Likewise.
15929 (lang_expand_stmt): Likewise.
15930 (stmts_are_full_exprs_p): Likewise.
15931 (anon_aggr_type_p): Likewise.
15932 (lang_expand_expr_stmt): Likewise.
15933 (build_case_label): Likewise.
15935 * c-decl.c (lang_expand_expr_stmt): Initialize.
15936 (stmts_are_full_exprs_p): Define.
15937 (current_function_name_declared): Likewise.
15938 (do_case): Likewise.
15939 (lang_expand_stmt): Likewise.
15940 (set_current_function_name_declared): Likewise.
15941 (anon_aggr_type_p): Likewise.
15943 * c-semantics.c: New file.
15944 (expand_cond): Moved from cp/semantics.c.
15945 (genrtl_do_pushlevel): Likewise.
15946 (genrtl_clear_out_block): Likewise.
15947 (genrtl_goto_stmt): Likewise.
15948 (genrtl_expr_stmt): Likewise.
15949 (genrtl_decl_stmt): Likewise.
15950 (genrtl_if_stmt): Likewise.
15951 (genrtl_while_stmt): Likewise.
15952 (genrtl_do_stmt): Likewise.
15953 (genrtl_return_stmt): Likewise.
15954 (genrtl_for_stmt): Likewise.
15955 (genrtl_break_stmt): Likewise.
15956 (genrtl_continue_stmt): Likewise.
15957 (genrtl_scope_stmt): Likewise.
15958 (genrtl_switch_stmt): Likewise.
15959 (genrtl_case_label): Likewise.
15960 (genrtl_begin_compound_stmt): Likewise.
15961 (genrtl_finish_compound_stmt): Likewise.
15962 (genrtl_compound_stmt): Likewise.
15963 (genrtl_asm_stmt): Likewise.
15964 (genrtl_decl_cleanup): Likewise.
15965 (make_rtl_for_local_static): Moved from cp/decl.c.
15966 (emit_local_var): Likewise.
15967 (expand_stmt): Define.
15969 * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
15970 (c_expand_return): Likewise.
15971 (c_expand_start_case): Likewise.
15973 2000-07-01 Richard Henderson <rth@cygnus.com>
15975 * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
15976 with the low 13 bits set.
15977 (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
15978 * config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
15979 of the low 13 bits into a CONST plus an adddi3.
15980 (load_symptr): Set RTX_UNCHANGING_P.
15982 See ChangeLog.3 for earlier changes.