1 2001-02-14 Mark Mitchell <mark@codesourcery.com>
3 * Makefile.in (toplev.o): Depend on params.h.
4 (intergate.o): Likewise.
5 (params.o): New target.
6 * flags.h (inline_max_insns): Remove.
7 * integrate.c: Include params.h.
8 Use MAX_INLINE_INSNS instead of inline_max_insns.
11 * params.def: Likewise.
12 * toplev.c: Include params.h.
13 (lang_independent_params): New variable.
14 (decode_f_option): Use the param machinery instead of setting
16 (independent_decode_option): Handle "--param name=value".
17 (main): Register language-independent parameters.
19 Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
21 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
23 2001-02-14 Richard Henderson <rth@redhat.com>
25 * regclass.c (init_reg_sets_1): Revert last two changes.
27 2001-02-14 Jakub Jelinek <jakub@redhat.com>
29 * stor-layout.c (is_pending_size, put_pending_size): New functions.
30 (variable_size): Call put_pending_size.
31 * tree.h (is_pending_size, put_pending_size): Add prototypes.
32 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
33 sizes list, put newly created SAVE_EXPR there as well.
35 2001-02-14 Jakub Jelinek <jakub@redhat.com>
37 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
38 (errata_find_address_regs): load_group has only 2 entries.
39 (errata_emit_nops): Likewise. shladd is not problematic.
40 Clear last_group if nop was emitted.
41 (fixup_errata): load_group has only 2 entries.
44 2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
46 * c-lex.c (lex_number): Only warn traditionally for U suffix
47 outside system macros.
48 * cppexp.c (parse_number): Similarly.
49 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
50 * cppmacro.c (struct cpp_macro): New member node.
51 (parse_args): Only warn about missing rest args if not
53 (funlike_invocation_p): Similarly for uninvoked funlike macros.
54 (cpp_sys_objmacro_p): New.
55 (_cpp_create_definition): Store the node with the macro defn.
56 Remember if the macro is defined in a system header.
58 2001-02-13 DJ Delorie <dj@redhat.com>
60 * configure.in (check_languages): determine languages to check
61 * Makefile.in (check-c++): alias for check-g++
62 (check-f77): alias for check-g77
63 (CHECK_TARGETS): depend on configured languages
65 Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
67 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
68 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
69 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
70 (sqrtextendsfdf2): Disable for SSE2.
72 Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
74 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
75 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
76 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
77 (sqrtextendsfdf2): Disable for SSE2.
79 Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
81 * i386.md (movsfcc_1): Support integer cmove instruction.
82 (movdfcc_1): Likewise; new splitter.
84 Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
86 * i386.c (output_fp_compare): Support SSE.
87 (prepare_fp_compare_args): SSE comparisons always support memory.
88 * i386.h (TARGET_CMOVE): SSE imply cmove.
89 * i386.md (cmp?f2): Enable for SSE too.
90 (cmpfp_i*): Support SSE.
92 (cmpfp_i_sse_only): New.
93 (s*, b* fp expanters): Enable for SSE too.
94 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
97 Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
99 * regclass.c (init_reg_sets_1): Silence warning.
101 Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
103 * i386.md (sqrt?f2): Change to expander.
104 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
106 Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
108 * rtlanal.c (find_reg_equal_equiv_note): New function.
109 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
110 (simplify_gen_relational, simplify_replace_rtx): Likewise.
111 * rtl.h: Add declarations for above functions.
113 Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
115 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
117 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
118 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
119 * flow.c (mark_regs_live_at_end): Likewise.
120 (calculate_global_regs_live): Likewise.
121 * gcse.c (compute_hash_table): Likewise.
122 (compute_kill_rd): Likewise.
123 * resource.c (mark_target_live_regs): Likewise.
124 * rtl.h (INVALID_REGNUM): New macro.
126 Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
128 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
130 Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
132 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
135 Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
137 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
139 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
140 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
141 (fop_sf_1_sse, fop_df_1_sse): New patterns
142 (fop_*): Disable float_extend and float patterns for SSE compilation.
143 * i386.c (output_387_binary_op): Support SSE.
145 Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
147 * i386.md (dummy_extendsfdf2): Support SSE2
148 (extendsfdf2): Enable if 80387 or SSE2.
149 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
151 (extendsfdf2_1_sse_only): New pattern.
152 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
154 (truncdfsf2_1): Support SSE.
155 (truncdfsf2_2): Support SSE.
156 (truncdfsf2_2_1_sse): New pattern.
157 (fixtruncsfsi2): Always use SSE if available.
158 (fix_truncsfsi_sse): New pattern.
159 (fix_truncdfsi_sse): New pattern.
160 (floatsis?f2): Support SSE.
161 (floatsidf2_i387): New pattern.
162 (floatsidf2_sse): Likewise.
164 Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
166 * configure.in: Use "have_gnat" variable, not "gnat".
167 * configure: Regenerated.
169 * config/sparc/sparc.c (function_value): Treat all non-record
170 aggregate types like used to treat UNION_TYPE.
172 Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
174 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
175 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
177 (MASK_MIX_SSE_I387): New.
178 (TARGET_SSE): SSE2 imply SSE.
179 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
180 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
181 (enum reg_class): Add new classes.
182 (REG_CLASS_NAMES): Likewise.
183 (REG_CLASS_CONTENTS): Likewise.
184 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
185 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
186 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
187 (CLASS_MAX_NREGS): Use new macros.
188 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
189 * i386.md (pushsf, movsf): Support SSE.
190 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
191 splitters to use ANY_FP_REGNO_P.
192 (movdf_nointeger, movdf_integer): Likewise.
194 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
196 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
197 (try_combine): Use it.
199 Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
201 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
202 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
203 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
204 (REGISTER_MOVE_COST): Likewise.
205 * i386-protos.h (ix86_secondary_memory_needed,
206 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
207 * i386.c (ix86_secondary_memory_needed,
208 ix86_preferred_reload_class, ix86_register_move_cost): New function.
210 Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
212 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
213 (HARD_REGNO_MODE_OK): Move offline to ....
214 * i386.c (ix86_hard_regno_mode_ok) ... here;
215 refuse all incorrect modes.
216 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
218 2001-02-13 Richard Henderson <rth@redhat.com>
220 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
221 entire operator; replicate that and match_dup the operands.
222 (cmp_ccx_arith_op_set): Likewise.
223 (cmp_cc_arith_op_not_set): Likewise.
224 (cmp_ccx_arith_op_not_set): Likewise.
226 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
228 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
230 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
232 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
233 (TARGET_NO_BITFIELD_WORD): New macro.
234 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
235 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
237 Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
239 * cselib.c: New file, from simplify-rtx.c.
240 * simplify-rtx.c: Remove cselib parts.
241 * Makefile.in: Add cselib.o.
243 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
245 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
246 (setup_incoming_varargs): Remove warning.
248 * config/rs6000/rs6000.c (validate_condition_mode): When
249 flag_fast_math, allow floating-point conditionals to be reversed.
250 (rs6000_generate_compare): When flag_fast_math, don't generate
251 cror operations for FP conditionals.
253 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
255 (ASM_SPEC): Likewise.
256 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
257 (CC1_SPEC): Likewise.
258 (LINK_TARGET_SPEC): Likewise.
259 (CPP_ENDIAN_SPEC): Likewise.
260 * Makefile.in (check-consistency): New target.
262 2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
264 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
265 "return type defaults" warning for functions with return type
267 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
268 function declarations by default rather than only when pedantic.
270 Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
272 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
275 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
277 * extend.texi (Deprecated): Deprecate new initializer lists.
279 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
281 * mkdeps.c (deps_add_default_target): Robustify. Add
282 basename component only.
283 * cpp.texi (-M): Describe how default target is generated.
284 * invoke.texi (-M): Likewise.
286 2001-02-12 Kazu Hirata <kazu@hxi.com>
288 * toplev.c (push_float_handler): Remove.
289 (pop_float_handler): Remove.
290 * toplev.h: Remove prototypes for the above functions.
292 2001-02-12 Jakub Jelinek <jakub@redhat.com>
294 * c-common.c (constant_fits_type_p): New function.
295 (convert_and_check): Use it.
297 2001-02-11 Mark Mitchell <mark@codesourcery.com>
299 * Makefile.in (GXX_ABI_FLAG): Don't define.
300 * configure.in (--enable-new-gxx-abi): Remove option.
301 * config.in: Regenerated.
302 * configure: Likewise.
304 2001-02-12 Alexandre Oliva <aoliva@redhat.com>
306 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
308 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
309 regular basic block, and arrange for all edges into it to switch
312 2001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
314 * Makefile.in (distclean): Do not remove .gdbinit.
316 2001-02-11 Mark Mitchell <mark@codesourcery.com>
318 * Makefile.in (gcc.o): Fix typos.
319 (protize.o): Likewise.
320 (unprotoize.o): Likewise.
322 2001-02-11 Richard Henderson <rth@redhat.com>
324 * tree.c (build1): Check for null operand in last change.
326 2001-02-11 Richard Henderson <rth@redhat.com>
328 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
329 (fold): Don't assume a constant isn't foldable.
330 * tree.c (build): Set TREE_CONSTANT for an expression with no
331 side-effects and constant operands.
334 2001-02-10 Richard Henderson <rth@redhat.com>
336 * jump.c (squeeze_notes): Revert 2000-05-12 change.
338 2001-02-10 Anthony Green <green@redhat.com>
340 * cpp.texi (Standard Predefined): Add documentation for
343 * c-common.c (combine_strings): Improve warning message.
345 2001-02-10 Geoffrey Keating <geoffk@redhat.com>
347 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
349 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
351 Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
353 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
356 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
358 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
361 2001-02-09 Nick Clifton <nickc@redhat.com>
363 * config/arm/arm.md: Change output contraint on post inc
364 load/store multiple patterns to be a read/write contraint.
366 2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
368 * gcc.c (cpp_options): Delete .d files on error. Don't delete
369 .o files when using the -M options.
371 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
372 David Edelsohn <edelsohn@gnu.org>
374 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
375 handle DImode constants. Use one TOC entry for SImode and smaller
376 constants, aligned properly.
378 2001-02-08 Jason Merrill <jason@redhat.com>
380 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
381 about the SP adjustment for saving the static chain pointer.
382 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
383 offset when setting a temporary CFA register.
385 2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
387 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
388 powerpc-*-chorusos* .
389 * config/rs6000/chorus.h : New file.
390 * config/i386/chorus.h : New file.
391 * config/sparc/chorus.h : New file.
392 * config/sparc/t-chorus-elf : New file.
394 2001-02-08 David Edelsohn <edelsohn@gnu.org>
396 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
397 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
398 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
399 (__WCHAR_TYPE__): Correct macro name.
401 2001-02-08 Richard Henderson <rth@redhat.com>
403 * config/i386/i386.c (ix86_frame_pointer_required): New.
404 (ix86_setup_frame_addresses): New.
405 (struct machine_funciton): Add accesses_prev_frame.
406 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
407 ix86_frame_pointer_required.
408 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
409 (SETUP_FRAME_ADDRESSES): New.
410 * config/i386/i386-protos.h: Update.
411 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
412 from FRAME_POINTER_REQUIRED.
413 * config/i386/svr3gas.h: Likewise.
414 * config/i386/sysv3.h: Likewise.
415 * config/i386/v3gas.h: Likewise.
417 2001-02-08 Richard Henderson <rth@redhat.com>
419 * config/sparc/sparc.c (function_arg_record_value_3): Fix
420 calculation of the number of integer registers required.
421 (function_arg_record_value): Likewise.
423 2001-02-08 Jason Merrill <jason@redhat.com>
425 * diagnostic.c (internal_error): Say "confused" after 1 error, not
426 two. Print file and line with "confused" message.
428 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
430 Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
432 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
434 2001-02-08 Bernd Schmidt <bernds@redhat.com>
436 * final.c (cleanup_subreg_operands): The address of a MEM can
439 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
442 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
444 * gcc.texi (Incompatibilities): Update documentation of
445 preprocessing numbers.
447 2001-02-07 Jakub Jelinek <jakub@redhat.com>
449 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
451 2001-02-07 Mark Mitchell <mark@codesourcery.com>
453 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
455 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
456 * gcc.c (struct compiler): Add cpp_spec field.
457 (input_file_compiler): New variable.
458 (do_spec_1): Allow a particular compiler to handle `%C'
460 (main): Store the current compiler in input_file_compiler.
461 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
463 2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
465 * cpphash.h (struct spec_nodes): Add n_true and n_false.
466 * cppinit.c (cpp_create_reader): Initialize them.
467 (append_include_chain): cxx_aware arg might be unused.
468 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
469 keywords and give them their phase 7 meaning. Pedwarn about
470 this unless '__bool_true_false_are_defined' is defined.
472 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
474 * lcm.c (optimize_mode_switching): Emit mode_set before the
475 JUMP_INSN of an abnormal edge.
477 2001-02-07 Bernd Schmidt <bernds@redhat.com>
479 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
480 a scheduling barrier at the end.
482 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
484 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
486 * config/sh/sh.md (reload_outsf): Removed.
487 (movsf_ie): Introduce constraints for FPUL loads and stores.
488 (reload_insf): Broaden the output constraint.
490 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
492 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
493 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
495 2001-02-06 Chandrakala Chavva <cchavva@redhat.com>
497 * final.c: Revert my previous changes.
498 * output.h: Make profile_label_no extern.
499 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
500 for generating label.
502 2001-02-06 Laurynas Biveinis <lauras@softhome.net>
504 * config/i386/djgpp.h: Add comments about standard paths.
505 (MD_EXEC_PREFIX): Undefine before defining.
506 (MD_STARTFILE_PREFIX): New.
508 2001-01-30 Bruce Korb <bkorb@gnu.org>
510 fixinc/fixincl.c(process): Emit error message only if appropriate :)
511 (load_file): do not rely on load_file_data() to close file pointer
512 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
513 fixinc/inclhack.def(irix_limits_const): add test_text
515 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
517 * cppexp.c (parse_defined): Improve diagnostics for invalid
520 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
522 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
524 2001-02-06 Mark Mitchell <mark@codesourcery.com>
526 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
527 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
528 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
529 (rs6000_output_symbol_ref): New function.
530 (output_toc): Use VTABLE_NAME_P.
532 Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
534 * print-tree.c (print_node, case PARM_DECL):
535 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
537 * stor-layout.c (reference_types_internal): New variable.
538 (internal_reference_types): New function.
539 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
540 * tree.h (internal_reference_types): New declaration.
542 * cse.c (find_best_addr): Fix typo in computing cost.
544 Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
546 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
547 and this is the sum of a pointer and a constant, we know the result
549 (num_sign_bit_copies, case PLUS): Likewise.
550 * explow.c (convert_memory_address): Remove opposite SUBREG.
551 * function.c (instantiate_new_reg): New function (from common code).
552 (instantiate_virtual_regs_1): Call it.
553 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
554 if pointers sign- or zero-extend.
555 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
556 If pointers extend unsigned, use inside of SUBREG.
557 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
559 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
561 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
562 subdir of gcc_gxx_include_dir.
563 (gcc_gxx_target_include_dir): Remove.
565 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
567 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
568 (dwarf2out_frame_debug_expr): Revise introductory comments to add
569 a high-level description.
571 2001-02-05 Chandrakala Chavva <cchavva@redhat.com>
573 * final.c: Move the declaration of profile_label_no to ...
574 * output.h: ... here.
575 * function.c (expand_function_start): Call PROFILE_HOOK.
576 * config/rs6000/aix.h: Define PROFILE_HOOK.
577 * config/rs6000/rs6000-protos.h: output_profile_hook new.
578 * config/rs6000/rs6000.c (output_profile_hook): Define.
579 (output_prolog): Do nothing for ABI_AIX as it is taken care by
581 tm.texi : Explain new macro PROFILE_HOOK.
583 2001-02-06 Hans-Peter Nilsson <hp@axis.com>
585 * extend.texi (Extended Asm): Do not say that semicolon is always
586 a valid line-breaking character for GNU assemblers. Use
587 newline-tab as the most commonly supported syntax. Use
588 newline-tab rather than semicolon in multi-insn examples.
590 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
592 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
594 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
595 David Edelsohn <edelsohn@gnu.org>
597 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
598 code for AIX, even without flag_pic.
600 2001-02-05 Jakub Jelinek <jakub@redhat.com>
602 * c-typeck.c (common_type): push and pop binding level around
603 calling common_type on function parameters.
605 Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
607 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
609 Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
611 * config/mips/mips.c (override_options): Fix typo in last change.
612 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
613 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
615 2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
617 * invoke.texi (-fdump-class-layout): Document.
618 (-fdump-translation-unit): Use `=' as filename separator.
620 2001-02-05 Mark Mitchell <mark@codesourcery.com>
622 * Makefile.in (s-mlib): Don't build multilibs if
624 (DRIVER_DEFINES): Adjust accordingly.
626 (protoize.o): Likewise.
627 (unprotoize.o): Likewise.
628 * configure.in: Recognize --enable-multilib.
630 2001-02-04 Mark Mitchell <mark@codesourcery.com>
632 * Makefile.in (DRIVER_DEFINES): Fix quoting.
634 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
635 * configure.in: Remove --enable-libstdcxx_v3 support.
636 * configure: Regenerated.
638 Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
640 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
641 Call abort instead of fatal.
642 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
643 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
644 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
645 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
646 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
647 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
649 * diagnostic.h (set_internal_error_function): Renamed.
650 * toplev.h (internal_error): Renamed from fatal.
651 (pfatal_with_name): Deleted.
652 (fatal_io_error): Now has printf-style arguments.
653 * diagnostic.c (pfatal_with_name): Deleted.
654 (fatal_io_error): Rework to have args in printf-style.
655 (set_internal_error_function): Renamed from set_fatal_function.
656 (internal_error): Renamed from fatal.
657 (error_recursion, fancy_abort): Call internal_error instead of fatal.
658 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
659 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
660 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
661 * flow.c (verify_flow_info): Likewise.
662 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
663 * config/mips/mips.c (save_restore_insns): Likewise.
665 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
666 * flow.c (verify_flow_info): Likewise.
667 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
668 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
669 (avr_normalize_condition): Likewise.
670 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
671 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
672 (limit_reload_class, double_reg_to_memory): Likewise.
673 (print_operand_address, emit_1600_code_shift): Likewise.
674 (gen_tst_reg, gen_compare_reg): Likewise.
675 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
676 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
678 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
680 * c-parse.in (methoddef): Call fatal_error instead of fatal.
681 * objc/objc-act.c (build_ivar_chain): Likewise.
682 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
684 * graph.c (clean_graph_dump_file): Likewise.
685 * profile.c (init_branch_prob): Likewise.
686 * objc/objc-act.c (objc_init): Likewise.
688 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
689 * config/avr/avr.c (avr_override_options): Likewise.
690 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
691 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
692 * config/h8300/h8300.c (h8300_init_once): Likewise.
693 * config/mips/mips.c (override_options): Likewise.
694 * config/i386/i386.c (override_options): Likewise, rework.
695 * config/m68k/m68k.c (override_options): Likewise.
697 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
699 * config/mips/mips.c (print_operand): Likewise.
700 * hash.c (hash_allocate): Don't check for failure returns from
701 obstack functions that can't fail.
702 (hash_table_init_n, hash_table_init): Likewise; also now return void.
703 * hash.h (hash_table_init_n, hash_table_init): Now return void.
704 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
705 (get_object_reference): Likewise.
707 2001-02-04 Nick Clifton <nickc@redhat.com>
709 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
710 StrongARM1110, 10TDMI, and 1020T.
712 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
714 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
716 2001-02-04 Alexandre Oliva <aoliva@redhat.com>
718 * config/sh/sh.md (movdf load split): Pass register number to
721 2001-02-04 Mark Mitchell <mark@codesourcery.com>
723 * cppinit.c (BC): New macro.
724 (builtin_array): Add __GXX_WEAK__.
725 * cpplib.h (builtin_type): Add BT_WEAK.
726 * cppmacro.c (builtin_macro): Handle BT_WEAK.
727 * defaults.h (SUPPORTS_ONE_ONLY): Define.
728 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
730 2001-02-03 Jakub Jelinek <jakub@redhat.com>
732 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
734 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
736 * cpphash.h: Rename _ALIGN POOL_ALIGN.
737 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
739 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
741 * cpphash.h: Rename ALIGN _ALIGN.
742 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
744 Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
746 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
747 compilation environment.
748 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
749 control over location of cygwin includes and libs.
751 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
753 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
755 2001-02-02 lars brinkhoff <lars@nocrew.org>
757 * md.texi (Standard Names): remove reference to spur.md.
759 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
761 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
762 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
763 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
764 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
765 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
767 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
769 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
770 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
771 number before reload.
772 (c4x_adjust_cost): Return zero before reload.
773 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
776 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
778 * c4x.c (c4x_hard_regno_rename_ok): New.
779 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
780 * c4x.h (HARD_REGNO_RENAME_OK): Define.
782 Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
784 * diagnostic.h: Add missing "extern" in all declarations.
786 2001-02-02 Alex Samuel <samuel@codesourcery.com>
788 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
789 as for gcc_gxx_include_dir.
791 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
793 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
795 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
797 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
798 label before alignment to be used as the braf base address.
799 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
801 (casesi_jump_2): Require at least TARGET_SH2.
803 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
804 truncation to 32-bit doubles on -m3e and -m4-single-only.
806 2001-02-02 Mark Mitchell <mark@codesourcery.com>
808 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
809 the default when building a shared object.
811 * testsuite/lib/g++.exp: Include the directory where libgcc
812 is located to the LD_LIBRARY_PATH list.
813 * invoke.texi (-shared-libgcc): Document the cases in which
814 GCC defaults to using the shared libgcc.
816 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
818 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
819 unsigned is wide enough.
821 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
822 (si_to_float): Likewise.
823 (float_to_si, float_to_usi): Use BITS_PER_SI.
825 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
827 * dwarf2out.c: Added explanation of abbreviations.
828 (def_cfa_1): Added comments listing DWARF2 instructions.
829 (cfa_temp_reg): Removed in favor of cfa_temp.
830 (cfa_temp_value): Removed in favor of cfa_temp.
831 (cfa_temp): New global variable.
832 (dwarf2out_frame_debug_expr): Added extensive introductory
833 comments explaining the function's transformations. Revised to
834 use cfa_temp. Added some rtx checking. Generalize IOR case.
835 (dwarf2out_frame_debug): Revised to use cfa_temp.
836 (output_aranges): Cast as "unsigned" to avoid warning.
837 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
838 explain which instructions must be marked.
840 2001-02-01 Richard Henderson <rth@redhat.com>
842 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
845 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
847 * config/sh/crt1.asm (main_k): Modified so that start calls
848 ___setup_argv_and_call_main.
850 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
852 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
853 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
854 and AVOID_LPASTE is cleared on meeting an unescaped newline.
855 * cppmacro.c (builtin_macro): Set builtin flags here.
856 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
857 (replace_args): Clarify intent.
858 (cpp_get_token): Macro expansion tokens get the saved flags.
860 * cppmain.c (scan_buffer): Remove now-redundant print.printed
863 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
865 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
868 Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
870 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
871 returns Pmode pseudo, but we need ptr_mode.
872 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
873 Remove bogus conversions; use HOST_WIDE_INT for size.
874 Don't use TARGET if wrong mode.
876 * config/i386/i386.c (ix86_compute_frame_size): Allow
877 stack_alignment_needed to be non-default even if size is zero.
879 2001-01-31 Alan Modra <alan@linuxcare.com.au>
881 * (hppa_init_pic_save): Emit the pic offset table
882 reg save after last_parm_insn.
883 * pa.c (hppa_init_pic_save): New function.
884 * pa.h (hppa_init_pic_save): Declare.
885 * pa.md (call, call_value, sibcall, sibcall_value): Use
886 the above instead of duplicated code.
888 * pa.c (hppa_encode_label): Correct size of alloca buffer
889 so we don't overrun it. Correct leading `*' case.
890 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
892 (FUNCTION_NAME_P): Likewise.
894 2001-01-31 Richard Henderson <rth@redhat.com>
896 * config.gcc (alpha-osf5): Use float-i128.h.
898 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
899 * config/float-i32.h: Likewise.
900 * config/float-i64.h: Likewise.
901 * config/float-sh.h: Likewise.
902 * config/float-sparc.h: Likewise.
904 2001-01-31 DJ Delorie <dj@redhat.com>
906 * expmed.c (extract_bit_field): allow non-integral modes if we
907 want to extract a whole register from itself.
909 2001-01-31 Jakub Jelinek <jakub@redhat.com>
911 * c-typeck.c (set_init_index): If first is equal to last, assume as
912 if it was not a range at all.
914 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
916 * config/fp-bit.c: Include tm.h.
917 (float_to_si): Don't assume SImode is 32-bits wide.
918 (float_to_usi): Likewise.
920 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
922 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
924 (typename): Call pending_xref_error after parsing typed_typespecs.
925 * c-decl.c (lookup_tag): Give error immediately rather than
926 leaving it pending if the tag of the wrong type is in the same
928 (xref_tag): Don't pedwarn for forward declarations of enum types
930 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
933 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
935 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
937 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
939 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
940 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
942 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
944 * cpphash.h (struct cpp_reader): New saved_flags.
945 * cppmacro.c (cpp_get_token): Use saved_flags to remember
946 to avoid a paste after a pasted token.
948 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
950 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
951 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
952 Wtype_MIN instead of LONG_MIN.
954 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
956 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
958 * fixinc/fixincl.x: Regenerated.
959 * fixinc/inclhack.def (irix_limits_const): New definition to
960 convert "const" to "__const" in limits.h.
962 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
964 * fixinc/genfixes (AG): Fix "autogen4" thinko.
966 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
968 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
969 when register dies in the insn.
971 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
973 * diagnostic.c (fatal): Fix word wrap.
975 2001-01-30 Alexandre Oliva <aoliva@redhat.com>
977 * combine.c (try_combine): Fix SUBREG setting for
978 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
980 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
982 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
985 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
987 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
989 * toplev.c (decode_W_option): Update warn_larger_than
990 unconditionally for each processed switch.
992 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
994 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
996 (hppa_expand_prologue): Delete code to save pic offset table register
997 in the function prologue.
998 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
999 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
1000 table register at the beginning of the function after the prologue.
1002 2001-01-29 lars brinkhoff <lars@nocrew.org>
1004 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
1006 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
1007 Jeff Law <law@redhat.com>
1009 * pa.md (return): Revise comment for trivial return.
1010 (return_internal): Non-trivial return pattern for non-PIC code.
1011 (return_internal_pic): Non-trivial return pattern for PIC code.
1012 It uses the PIC register to ensure it is restored after
1014 (epilogue): Generate appropriate return for PIC and non-PIC code.
1016 Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
1018 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
1020 2001-01-29 DJ Delorie <dj@redhat.com>
1022 * combine.c (if_then_else_cond): Pass the correct mode to
1023 operand_subword() for constants.
1025 Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
1027 * config/i386/cygwin.h: Add w32api to include search. Search different
1028 directories in a cross-build environment.
1030 2001-11-29 Tim Josling <tej@melbpc.org.au>
1032 * tree.h (TYPE_STUB_DECL): Add documentation.
1034 2001-11-29 Laurynas Biveinis <lauras@softhome.net>
1036 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
1037 (sdbout_field_types): Likwise. Fix use of host_integerp.
1039 2001-01-29 Thomas Pfaff <tpfaff@gmx.net>
1041 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
1044 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
1046 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
1047 to use flag_gnu_linker.
1049 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
1051 * cpplib.c (T_BAD_DIRECTIVE): Remove.
1052 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
1054 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
1056 * tree.c, tree.h (build_parse_node): Remove; was identical to
1058 * c-lang.c (start_cdtor), objc/objc-act.c
1059 (build_module_descriptor): Use build_nt instead of
1062 2001-01-29 Jakub Jelinek <jakub@redhat.com>
1064 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
1065 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
1066 not have any upper bits set.
1068 2001-01-29 Phil Edwards <pme@sources.redhat.com>
1070 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1072 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1074 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
1076 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
1078 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
1079 (integer_minus_one_node): Define.
1081 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
1083 * Makefile.in (bootstrap2-lean): Fix typo.
1085 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
1087 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
1088 : Don't set fe_value.
1089 * cpplib.h (AVOID_LPASTE): New flag.
1090 (struct cpp_hashnode): Remove fe_value.
1091 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
1092 * cppmacro.c (builtin_macro): Don't set flags here.
1093 (replace_args): Set AVOID_LPASTE flag on first token of an
1094 argument, and the token following it.
1095 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
1096 macro expansion, and on the token following it. Do it for
1098 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
1100 2001-01-27 Richard Henderson <rth@redhat.com>
1102 * config/alpha/t-ieee: Remove multilibbing.
1103 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
1105 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1107 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
1109 * Makefile.in: Remove all dependencies on defaults.h.
1110 * builtins.c: Don't include defaults.h.
1111 * c-common.c: Likewise.
1112 * c-decl.c: Likewise.
1113 * c-pragma.c: Likewise.
1114 * c-typeck.c: Likewise.
1115 * combine.c: Likewise.
1117 * frame-ia64.c: Likewise.
1118 * cppexp.c: Likewise.
1119 * crtstuff.c: Likewise.
1120 * dbxout.c: Likewise.
1121 * dwarf2out.c: Likewise.
1122 * dwarfout.c: Likewise.
1123 * emit-rtl.c: Likewise.
1124 * except.c: Likewise.
1126 * final.c: Likewise.
1127 * frame-dwarf2.c: Likewise.
1128 * libgcc2.c: Likewise.
1129 * optabs.c: Likewise.
1130 * profile.c: Likewise.
1131 * sdbout.c: Likewise.
1132 * toplev.c: Likewise.
1133 * tradcif.y: Likewise.
1135 * varasm.c: Likewise.
1137 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1139 * builtins.c (expand_builtin_fputs): Use size_one_node when
1140 transforming into fwrite.
1142 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
1144 * extend.texi (Attribute Syntax): New section.
1146 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1148 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
1149 they didn't need fixing.
1151 2001-01-27 Janis Johnson <janis@us.ibm.com>
1153 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
1155 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
1156 to remove macro definitions that are duplicated from elfos.h.
1158 2001-01-27 Richard Henderson <rth@redhat.com>
1160 * config/i386/sco5gas.h: Move ...
1161 * config/usegas.h: ... here.
1162 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
1164 2001-01-27 Jakub Jelinek <jakub@redhat.com>
1166 * c-typeck.c (struct constructor_stack): Add range_stack member.
1167 (really_start_incremental_init): Clear it.
1168 (push_init_level): Save constructor_range_stack and clear it if
1169 pushing explicit braces.
1170 (pop_init_level): abort if constructor_range_stack is non-zero at
1171 explicit closing brace. Restore saved constructor_range_stack if
1174 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
1176 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
1177 into register was forced into memory.
1179 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
1181 * Makefile.in: Remove uses of + before $(MAKE).
1183 2001-01-26 Richard Henderson <rth@redhat.com>
1185 * stmt.c (cost_table): Remove.
1186 (COST_TABLE, cost_table_initialized): New.
1187 (estimate_case_costs): Use the later instead of the former.
1188 (balance_case_nodes): Likewise.
1190 2001-01-26 Richard Henderson <rth@redhat.com>
1192 * alias.c (objects_must_conflict_p): Read-only slots may not
1193 conflict despite having the same type.
1195 2001-01-27 Michael Hayes <mhayes@redhat.com>
1197 * loop.c (loop_giv_reduce_benefit): Copy mode size into
1199 (check_ext_dependant_givs): Initialise u_start_val and
1201 (load_mems): Make last_max_reg unsigned.
1202 (try_swap_copy_prop): Use INSN_P and initialise set.
1204 Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
1206 * README.AVR : Removed.
1208 Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
1210 * pa-64.h (text_section): Remove declaration.
1212 * pa.md (return_internal): Remove mode on PIC register use.
1214 2001-01-25 lars brinkhoff <lars@nocrew.org>
1216 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
1217 ASM_CLOSE_PAREN): fix typos.
1219 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1221 * acconfig.h: Define `const' to the empty string if neither
1222 __STDC__ nor __cplusplus is defined.
1223 * config.in: Regenerated.
1225 2001-01-25 David Edelsohn <edelsohn@gnu.org>
1227 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
1228 * collect2.c (main): Delete importf. Add ".obj" file extension.
1229 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
1230 (aix_std_libs): Add additional AIX libraries to skip.
1231 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
1232 * config/rs6000/aix51.h: New file.
1234 2001-01-25 Michael Hayes <mhayes@redhat.com>
1236 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
1237 (loop_insn_emit_before): No longer static.
1238 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
1239 (loop_givs_rescan, load_mems): Likewise.
1240 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
1241 (maybe_eliminate_biv_1):
1242 (move_movables): Replace emit_call_insn_before with
1243 loop_call_insn_hoist.
1244 * loop.h (loop_insn_emit_before): Add.
1245 * unroll.c (copy_loop_body): Replace emit_insn_before with
1246 loop_insn_emit_before.
1248 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
1250 * diagnostic.c (fatal): Request preprocessed source.
1252 Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
1254 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
1255 olddecl has argument types and newdecl has none, use the argument
1258 2001-01-24 Ulrich Drepper <drepper@redhat.com>
1260 * dwarf2out.c (prefix_of): New function. Determine longest common
1261 prefix of the two arguments. The units are whole path components.
1262 (output_file_names): When adding a new directory find the one entry
1263 with the longest common prefix already in the list. Artificially
1264 generate entry if there is none for this prefix.
1265 Fix test to check whether the zeroth directory entry is used.
1267 Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
1269 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
1270 Changed all callers. Take it into account when deciding if a
1271 previously loaded value matches.
1273 2001-01-24 Richard Henderson <rth@redhat.com>
1275 * reload.c (find_reloads_subreg_address): Fail the substitution
1276 if the resulting address is insufficiently aligned.
1278 2001-01-24 DJ Delorie <dj@redhat.com>
1280 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
1281 check the original operand's mode also.
1282 * simplify-rtx.c (simplify_ternary_operation): Ditto.
1284 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
1286 * c-parse.in (cast_expr): Move compound literals from here ...
1287 (primary): ... to here. Use standard terminology "compound
1288 literal" instead of "constructor expression".
1290 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
1292 * gcc.1, cpp.1: Regenerate.
1294 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1296 * calls.c (emit_library_call_value_1): Memory slot for
1297 pass-by-reference argument should have the mode of the argument,
1298 not of the pointer to it.
1300 2001-01-24 Tom Tromey <tromey@redhat.com>
1302 * gcc.texi (G++ and GCC): Mention gcj manual.
1303 (Standards): Link to section of manual mentioning gcj/Java
1306 2001-01-24 Jakub Jelinek <jakub@redhat.com>
1308 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
1309 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
1310 * tradcpp.c (main): Add -imacros or -include'd dependencies
1312 * cpp.texi (-M, -MM): Document -M -include behaviour.
1314 2001-01-24 Roger Collins <roger@ProProject.com>
1316 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
1318 2001-01-24 Will Cohen <wcohen@redhat.com>
1320 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
1321 whether registers are 32 bits or 64 bits in size.
1323 2001-01-24 Ben Elliston <bje@redhat.com>
1325 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
1327 2001-01-24 Richard Henderson <rth@redhat.com>
1329 * config/alpha/alpha.md (builtin_longjmp_internal): New.
1330 (builtin_longjmp): Use it instead of emit_indirect_jump.
1332 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1334 * bb-reorder.c (make_reorder_chain_1): Handle case where
1335 jump edge goes to the same block as the fallthru edge.
1337 2001-01-23 Jim Wilson <wilson@redhat.com>
1339 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
1340 * frame.h (__ia64_personality_v1): Add prototype.
1341 * libgcc2.c (ia64_throw_helper): Change personality declaration to
1342 prototype form. Add void * cast to first argument to personality
1344 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
1345 (asctoe113): Likewise.
1346 * config/ia64/frame-ia64.c: Include eh-common.h.
1347 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
1349 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
1351 (itanium_split_issue): Add prototype.
1352 (gen_nop_type): Ifdef out.
1353 (find_best_packet): Initialize best_packet.
1354 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
1356 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
1357 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
1358 (flushrs): Add explicit stop bit at end.
1359 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
1362 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1364 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
1366 * libgcc2.c (__terminate_func): Make variable static.
1367 (__terminate_set_func): New function to set __terminate_func.
1368 * libgcc2.h (__terminate_func_ptr): New typedef.
1369 (__terminate_set_func): New function.
1371 2001-01-23 Richard Henderson <rth@redhat.com>
1373 * flow.c (init_propagate_block_info): Don't consider unchanging
1374 memories for dead frame store elimination.
1376 2001-01-23 Richard Henderson <rth@redhat.com>
1378 * varasm.c (UNIQUE_SECTION): Move default implementation ...
1379 * defaults.h: ... here.
1381 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1383 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
1385 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
1387 * c-lex.c (lex_charconst): Fix typo: s/p/str.
1389 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1391 * rs6000.h (rs6000_return_addr): Move prototype from here...
1392 * rs6000-protos.h (rs6000_return_addr): ...to here.
1393 (rs6000_init_expanders): Delete prototype.
1395 2001-01-23 Nick Clifton <nickc@redhat.com>
1397 * invoke.texi: Replace , with \, inside @gccoptlist macros.
1398 (Spec Files): Document %B and %j and %. and %v3 and %M and
1399 %{S*&T} spec switches.
1401 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1403 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
1405 2001-01-23 Chris Demetriou <cgd@sibyte.com>
1406 Neil Booth <neil@daikokuya.demon.co.uk>
1408 * cpperror.c: Merge handlers of PEDWARN and WARNING.
1409 Have -Werror make pedantic warnings errors, like the
1412 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1414 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
1416 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1418 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
1419 * integrate.c (expand_inline_function): Initialize them.
1420 (subst_constants): If changing COMPARE so that both its arguments
1421 will be VOIDmode and the comparison mode will be lost, note
1422 compare_mode. Use the recorded compare_mode to optimize
1425 2001-01-23 Jason Merrill <jason@redhat.com>
1427 * dwarf2out.c (new_die): Use xcalloc.
1428 (output_die): Abort rather than emit a local reference to offset 0.
1430 2001-01-17 Andrew Haley <aph@redhat.com>
1432 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
1433 of a saved register; return NULL instead.
1434 (copy_reg): Take a pointer to a source register rather than a
1436 (next_stack_level): Remember the address in the stack frame of all
1438 Use the saved register pointer array as the source of the CFA.
1439 (throw_helper): Rewrite. Unwind once rather than twice and keep
1440 track of saved registers as we go.
1442 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1444 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
1445 * c4x.c (c4x_legitimize_reload_address): Remove.
1446 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
1447 reload address for ldp(k) insn.
1449 Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
1451 * pa.md (return_internal): Add a USE of the PIC register to ensure
1452 it is restored after each call.
1453 (return expander): Corresponding changes.
1455 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1457 * rs6000.h (INIT_EXPANDERS): Delete.
1458 (RETURN_ADDR_RTX): Call rs6000_return_addr().
1459 * rs6000.c (rs6000_override_options): Call *_machine_status from
1461 (rs6000_init_expanders): ...instead of here. Delete.
1462 (rs6000_mark_machine_status): New function.
1463 (rs6000_init_machine_status): Use xcalloc.
1464 (rs6000_return_addr): Generate RTX for the return address.
1465 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
1466 (rs6000_stack_info): Use it.
1468 2001-01-22 Thomas Pfaff <tpfaff@gmx.net>
1470 * gthr-win32.h: Include errno.h to get a declaration for
1471 EINVAL and _mingw.h if the target is mingw32.
1473 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
1475 * cpp.texi: Correct typos.
1477 Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1479 * explow.c (probe_stack_range): Ensure value passed to
1480 stack_check_libfunc is ptr_mode, not Pmode.
1482 Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
1484 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
1485 case, don't use operand_subword to calculate a SUBREG that is
1488 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
1490 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1492 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
1493 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
1494 valid. If not replace it by equivalent insns.
1496 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1498 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
1499 contains SYMBOL_REF, LABEL_REF and CONST_INT.
1500 (c4x_U_constraint, symbolic_address_operand): Likewise.
1501 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
1503 (c4x_r11_set_p, c4x_check_laj_p): New functions.
1504 * c4x-protos.h (c4x_check_laj_p): Add prototype.
1505 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
1506 anulling slot because of silicon bug.
1507 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
1509 2001-01-22 Alan Modra <alan@linuxcare.com.au>
1511 * cppexp.c (parse_charconst): Change `mask' type to agree
1514 2001-01-21 Richard Henderson <rth@redhat.com>
1516 * config/i386/i386.c (ix86_asm_file_end): Disable putting
1517 pic_label_name in a linkonce section.
1519 2001-01-17 Philipp Thomas <pthomas@suse.de>
1521 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
1523 * configure: Regenerate.
1525 Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
1527 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
1528 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
1530 Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
1532 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
1533 If REVERSE nonzero then condition code in X must be reversed.
1534 (encode_section_info): Optimise if/else.
1535 (avr_function_value): Fix formatting.
1537 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
1538 (difficult_branch): Likewise.
1539 (rvbranch): Likewise.
1540 (difficult_rvbranch): Likewise.
1542 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
1544 * config/avr/libgcc.S: Fix comment.
1546 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1548 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
1550 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1552 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
1554 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1556 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
1557 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
1558 * configure, config.in: Regenerate.
1559 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
1560 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
1561 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
1562 (doprint.o): New rule.
1564 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
1566 * c-typeck.c (digest_init): Handle boolean types as scalars.
1568 Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1570 * stmt.c (expand_return): Don't return anything if size is zero.
1571 Delete redundant assignment to BYTES.
1572 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
1574 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
1576 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
1577 the same as the default library function names.
1578 * config/avr/avr.md: Document special characters after '%'.
1579 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
1580 knowing which of the call-used registers are really clobbered.
1581 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
1582 New. Both quotient and remainder from one libgcc.S call.
1583 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
1584 clobber as few registers as possible.
1585 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
1587 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
1589 * cppmacro.c (funlike_invocation_p): Don't move back up to the
1590 context of the top of the stack.
1592 2001-01-20 Jakub Jelinek <jakub@redhat.com>
1594 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
1595 (fixup_var_refs_insns): ...here.
1597 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
1599 * function.c (fixup_var_refs_insns): Break up into
1600 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
1601 [loop over entire insn list], and fixup_var_refs_insns_with_hash
1602 [loop over hash table entries].
1603 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
1604 fixup_var_refs_insns_with_hash, to match above changes.
1606 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1608 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
1609 (libgcc.a): Likewise.
1610 (stmp-multilib): Likewise.
1611 (STAGE2_FLAGS_TO_PASS): Likewise.
1613 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1615 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
1616 temporary if no_new_pseudos.
1618 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
1620 * cppinternals.texi: Update.
1622 2001-01-19 Richard Earnshaw <rearnsha@arm.com>
1624 * arm.c (arm_init_builtins): Re-enable builtins.
1626 Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1628 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
1629 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
1630 element to be null, and always expect an EXPR_LIST.
1631 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
1632 * sched-deps.c (sched_analyze_1): Likewise.
1633 * sched-rgn.c (check_live_1, update_live_1): Likewise.
1635 * regclass.c (max_set_parallel): New variable.
1636 (reg_scan): Take it into account in computation of max_parallel.
1637 (reg_scan_mark_refs, case SET): Compute it.
1639 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
1641 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
1642 * function.c (assign_parms): Use INTVAL for a CONST_INT.
1644 2001-01-19 Jason Merrill <jason@redhat.com>
1646 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
1647 for the abstract instance of an inline function.
1649 Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
1650 J"orn Rennecke <amylaar@redhat.com>
1652 * reload1.c (move2add_note_store): Treat all registers directly or
1653 indirectly derived from a base register as members of the same set
1655 (reload_cse_move2add): Adjust accordingly. Take mode and offset
1656 of base register into account.
1658 Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
1660 * alias.c (find_base_value): Recognize TRUNCATE.
1661 (record_set): In PLUS case, invalidate if other summand is also a
1664 Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1666 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
1667 entry to be EXPR_LIST.
1668 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
1669 be an EXPR_LIST (but not null, which other code doesn't allow).
1670 (note_stores): Properly handle PARALLEL in SET.
1671 Recursively call for top-level PARALLEL.
1672 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
1673 * sched-rgn.c (check_live_1, update_live_1): Likewise.
1675 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
1677 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
1679 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
1680 not pfile->skipping (== 0).
1682 2001-01-17 Nick Clifton <nickc@redhat.com>
1684 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
1687 2001-01-17 Jim Wilson <wilson@redhat.com>
1689 * invoke.texi (IA-64 options): Improve.
1691 2001-01-17 Tom Tromey <tromey@redhat.com>
1693 * invoke.texi (Optimize Options): Use `{}' to around @samp
1696 2001-01-17 Aldy Hernandez <aldyh@redhat.com>
1698 * invoke.texi (-fno-guess-branch-probability): New option.
1700 Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1702 * combine.c (try_combine): Don't set i3_subst_into_i2 for
1703 case of making new double-word constant.
1704 Revert last change: instead just test i3_subst_into_i2.
1706 2001-01-17 Jakub Jelinek <jakub@redhat.com>
1708 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
1709 Use q constraints instead of r.
1711 Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
1713 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
1714 (machine_function): Define.
1715 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
1716 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
1717 pa_free_machine_status): New functions.
1718 (override_options): Set {init,mark,free}_machine_status to above.
1719 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
1720 PIC_OFFSET_TABLE_REGNUM_SAVED.
1721 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
1722 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
1723 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
1724 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
1725 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
1727 2001-01-15 DJ Delorie <dj@redhat.com>
1729 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
1733 Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1735 * flow.c (propagate_on_insn): Make trying to delete a prologue
1736 or epilogue insn an ICE, not a warning. Allow doing this if
1737 the current function returns with stack pointer depressed.
1739 * combine.c (try_combine): If i3_subst_into_i2, properly check for
1740 I3 having more than one SET.
1742 2001-01-16 Jim Wilson <wilson@redhat.com>
1744 * invoke.texi: Document IA-64 options.
1746 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
1747 (fixup_errata): Delete TARGET_A_STEP use.
1748 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
1749 (TARGET_SWITCHES): Delete -ma-step option.
1750 * config/ia64/ia64.md (all FP patterns): Delete %B0.
1751 (movqicc_astep, movqi_internal_astep, movhicc_astep,
1752 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
1753 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
1754 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
1755 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
1757 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
1758 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
1759 cmovsi_internal): Delete ! TARGET_A_STEP check.
1761 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1763 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
1764 possibility to report bugs via postal mail. Change a URL and
1765 merge in a nearly duplicate statement...
1766 (Bug Reporting): ...from here.
1767 (Service): Refer to the Bug Reporting section instead of
1769 (Contributing): Remove trivial explanations concerning snapshots.
1771 2001-01-16 Alan Modra <alan@linuxcare.com.au>
1773 * cppmain.c (general_init): Don't use ANSI prototype.
1775 2001-01-16 Tom Tromey <tromey@redhat.com>
1777 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
1779 2001-01-16 Richard Henderson <rth@redhat.com>
1781 * config/i386/i386.h: Fix comment typo.
1782 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
1783 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
1785 2001-01-16 Phil Edwards <pme@sources.redhat.com>
1787 * gcc.c: Revert previous -fsyntax-only-related change; move
1790 2001-01-16 Jakub Jelinek <jakub@redhat.com>
1792 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
1793 inmode after checking GET_CODE (op).
1795 2001-01-16 Richard Henderson <rth@redhat.com>
1797 * flow.c (struct propagate_block_info): Add mem_set_list_len.
1798 (MAX_MEM_SET_LIST_LEN): New.
1799 (propagate_one_insn): Update mem_set_list_len.
1800 (invalidate_mems_from_autoinc): Likewise.
1801 (invalidate_mems_from_set): Likewise.
1802 (mark_used_regs): Likewise.
1803 (init_propagate_block_info): Likewise. Stop collecting memories
1804 when we reach MAX_MEM_SET_LIST_LEN.
1805 (mark_set_1): Likewise.
1807 2001-01-16 Richard Henderson <rth@redhat.com>
1809 * unroll.c (precondition_loop_p): Fail if no iteration
1812 2001-01-16 Phil Edwards <pme@sources.redhat.com>
1814 * gcc.c: When -fsyntax-only is given, do not complain about
1817 2001-01-15 Richard Henderson <rth@redhat.com>
1819 * config/i386/i386.c (asm_output_function_prefix): Remove.
1820 (ix86_asm_file_end): New.
1821 (load_pic_register): Generate pic_label_name into a
1822 staticly allocated buffer.
1823 * config/i386/i386-protos.h: Update.
1824 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
1825 (ASM_FILE_END): New.
1826 * config/i386/i386afe.h: New file.
1827 * config.gcc (i?86-*-elf) [tm_file]: Use it.
1828 (i?86-*-{freebsd,linux*,moss*}): Likewise.
1829 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
1830 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
1831 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
1832 * config/i386/sco5.h (ASM_FILE_END): Likewise.
1833 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
1835 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1837 * Makefile.in (install-man): Remove explicit dependency on
1840 * configure.in, configure: Revert previous patch requiring perl
1843 2001-01-12 Aldy Hernandez <aldyh@redhat.com>
1845 * toplev.c (flag_guess_branch_prob): New.
1846 (f_options): Add guess-branch-probability option.
1847 (rest_of_decl_compilation): Only estimate branch probability if
1849 (main): set flag_guess_branch_prob.
1851 * flags.h (flag_guess_branch_prob): New.
1853 2001-01-15 DJ Delorie <dj@redhat.com>
1855 * gcc.texi (Makefile): Add documentation for Makefile targets.
1857 2001-01-15 Philip Blundell <philb@gnu.org>
1859 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
1861 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
1862 (is_pic): Delete declaration.
1863 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
1864 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
1865 * config/arm/arm.md (builtin_setjmp_receiver): New.
1867 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1869 * arm.c (use_return_insn): Don't try to determine the function type
1870 until after reload has completed.
1871 (arm_output_epilogue): Don't adjust the sp value recovered from the
1873 (emit_multi_reg_push): Don't record dwarf information for the pc.
1874 * arm.md (eh_epilogue): The function type may have changed, so it
1875 needs to be recalculated.
1876 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
1877 unwind tables on arm/netbsd.
1879 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1881 * arm.md (cbranchsi4): Correct calculation of branch ranges.
1882 (negated_cbranchsi4): Likewise.
1884 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1886 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
1887 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
1888 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
1889 pass -mapcs-* options to assembler.
1890 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
1891 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
1892 (ASM_SPEC): Call subtarget_extra_asm_spec.
1894 2001-01-15 Andreas Jaeger <aj@suse.de>
1896 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
1898 (ix86_expand_builtin): Likewise.
1900 * gencodes.c (output_predicate_decls): Make i size_t to avoid
1901 warning about comparison between signed and unsigned.
1903 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
1905 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
1907 2001-01-14 Ralf Baechle <ralf@gnu.org>
1909 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
1910 SUBTARGET_CPP_SPEC apropriatly.
1912 2001-01-12 Mark Mitchell <mark@codesourcery.com>
1914 * varasm.c (make_decl_rtl): Fix typo in last change.
1916 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
1918 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
1919 linker supports the init_priority C++ attribute.
1920 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
1921 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
1922 linker does not support init_priority C++ attribute.
1924 Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
1926 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
1928 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
1930 * c-parse.in (finish_parse): Add comment about cpp_destroy.
1931 * cp/lex.c (finish_parse): Similarly.
1932 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
1933 Return the number of errors encountered.
1934 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
1935 * cppmain.c (main): Don't call cpp_destroy.
1937 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1939 * configure.in: Require at least perl 5.6.0 to regenerate
1941 * configure: Regenerate.
1943 2001-01-14 Richard Henderson <rth@redhat.com>
1945 * genrecog.c (DT_veclen_ge): New.
1946 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
1947 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
1948 (nodes_identical_1): Handle DT_veclen_ge.
1949 (write_cond, debug_decision_2): Likewise.
1951 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
1953 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
1955 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
1957 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
1959 * cppmain.c (do_preprocessing): New function; most of the old
1961 (main): Call it to do most of the work.
1962 (cb): Move from global scope to set_callbacks ().
1963 (setup_callbacks): Get the callback pointer.
1964 (general_init, printer_init): Clean up code and comments.
1966 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
1968 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
1971 2001-01-14 Kazu Hirata <kazu@hxi.com>
1973 * config/h8300/h8300.c (get_shift_alg): Update comments.
1975 Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1977 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
1978 (alloc_page, ggc_alloc): Add casts to remove warnings.
1980 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
1982 * combine.c (simplify_comparison): Don't change `code' when
1983 can't reverse comparison.
1985 2001-01-14 Richard Henderson <rth@redhat.com>
1987 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
1988 update all call sites. Return true for all non-label constants.
1990 Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
1992 * i386.c (ix86_expand_compare): Add bypass_test and second_test
1994 (ix86_expand_branch): Update.
1995 (ix86_expand_setcc): Update to handle multiple test conditions.
1996 (expand_int_movcc): Likewise.
1997 (expand_fp_movcc): Likewise.
1998 * i386-protos.h (ix86_expand_compare): New.
1999 * i386.md (andqi_?_slp, orqi_?_slp): New.
2000 (conditional trap expander): Update call to ix86_expand_compare.
2002 2001-01-14 Richard Henderson <rth@redhat.com>
2004 * config/vax/vax.md: Use nonimmediate_operand instead of
2005 general_operand in destinations.
2007 * config/vax/vax.md (indirect_jump): Use register_operand.
2009 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
2010 * config/vax/vax.md (call_pop): Turn into an expander.
2011 (call_value_pop): Likewise.
2012 (call, call_value): New.
2014 2001-01-14 Andreas Jaeger <aj@suse.de>
2016 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
2018 (ix86_fp_compare_mode): Add unused attribute.
2019 (ix86_expand_fp_movcc): Remove unused variable.
2020 (ix86_expand_builtin): Make fcode unsigned.
2022 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
2023 (expand_expr): Add cast to avoid signed warning.
2024 (store_field): Likewise.
2025 (store_constructor_field): Likewise.
2026 (store_constructor): Likewise.
2027 (store_expr): Likewise.
2028 (clear_storage): Likewise.
2029 (emit_group_store): Likewise.
2030 (emit_group_load): Likewise.
2032 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
2034 * c-common.c: Move format checking code to ...
2035 * c-format.c: ... here. New file. Reorder some functions and
2037 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
2039 * c-common.h (decl_handle_format_attribute,
2040 decl_handle_format_arg_attribute): Declare.
2041 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
2042 (c-common.o): Adjust dependencies.
2043 (c-format.o): New list of dependencies.
2045 2001-01-13 Jakub Jelinek <jakub@redhat.com>
2047 * unroll.c (loop_iterations): If we cannot prove iteration variable
2048 is set once in each iteration, punt.
2050 Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
2052 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
2053 (*strlenhi): Remove clobber (which was buggy) of output address.
2055 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
2057 * Makefile.in (generated-manpages): Add gcc.1
2058 ($(srcdir)/gcc.1): New target.
2059 (maintainer-clean): Delete $(srcdir)/gcc.1.
2060 * gcc.texi: Add macros @gccoptlist and @gol.
2061 * invoke.texi: Include option summary in manpage. Mark up option
2062 summary with @gccoptlist and @gol. Use @r in one place where
2064 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
2065 * gcc.1: Generate from invoke.texi.
2067 2001-01-13 Richard Henderson <rth@redhat.com>
2069 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
2070 (struct page_entry): Add group member.
2071 (struct page_group): New.
2072 (struct globals): Add page_groups member.
2073 (alloc_anon): Only define for using mmap; remove valloc call.
2074 (page_group_index): New.
2075 (set_page_group_in_use): New.
2076 (clear_page_group_in_use): New.
2077 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
2078 (free_page, release_pages): Likewise.
2079 * configure.in (with-gc): Default to ggc-page always.
2081 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
2083 * reload1.c (replace_pseudos_in_call_usage): Use
2084 reg_equiv_constant and reg_equiv_address, and don't try
2085 regno_reg_rtx first.
2087 2001-01-13 Richard Henderson <rth@redhat.com>
2089 * ggc-page.c (alloc_page): Round up allocation size to one page.
2090 Set e->order on extra pages.
2092 2001-01-13 Richard Henderson <rth@redhat.com>
2094 * genrecog.c (nodes_identical): Expand commentary.
2095 (write_switch): Watch out for identical nodes.
2097 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2099 * cppfiles.c (_cpp_fake_include): New function.
2100 * cpphash.h (_cpp_fake_include): New.
2101 * cpplib.c (do_line): Call _cpp_fake_include when entering
2102 header files in preprocessed input.
2103 * cppmain.c (cb_pragma_implementation): Remove handling.
2104 (setup_callbacks): Don't register pragmas.
2106 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2108 * extend.texi: Udate for CPP.
2110 2001-01-13 Andreas Jaeger <aj@suse.de>
2112 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
2114 * regmove.c: Add prototype for replace_in_call_usage.
2116 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2118 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
2119 struct cpp_chunk, struct htab, struct toklist,
2120 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
2121 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
2122 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
2123 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
2124 (struct macro_args): Delete.
2125 * cpphash.h: See above.
2127 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2129 * cppmain.c (struct printer): Remove no_line_dirs.
2131 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
2132 : Use options rather than CPP_OPTION.
2133 (setup_callbacks): Use cb rather than pfile->cb.
2134 (main): No need to check for a buffer. Use cpp_errors.
2135 (printer_init): Don't set no_line_dirs.
2136 (maybe_print_line): Use options not no_line_dirs.
2137 (cb_file_change): Don't call print_line if -P.
2139 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2141 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
2143 * c-parse.in (finish_parse): Use cpp_errors.
2144 (__yylex): Use return value of cpp_pop_buffer.
2145 * cp/lex.c (finish_parse): Use cpp_errors.
2146 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
2148 Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
2150 * README.AVR: URLs corrected.
2152 Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2154 * c-decl.c (start_function): Don't warn if old prototype is builtin
2155 that's not in C's namespace.
2156 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
2157 (_bb): Add prototype for ctime.
2158 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
2160 Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
2162 * i386.c (ix86_fp_comparison_arithmetics_cost,
2163 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
2164 ix86_fp_comparison_cost): New functions.
2165 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
2166 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
2167 two-branch sequences; make static.
2168 (ix86_use_fcomi_compare): Do decision according to the costs.
2169 (split_fp_branch): New.
2170 * i386.md (compare-and-branch patterns): Use split_fp_branch.
2171 * i386-protos.h (ix86_expand_fp_compare): Remove
2172 (ix86_split_fp_branch): Declare.
2174 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
2175 and ix86_comparison_operator.
2177 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
2180 * i386.c (put_condition_code): Output properly the unordered/ordered
2181 compares in fp case.
2182 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
2184 * tm.texi (REVERSE_CONDITION): Document.
2185 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
2186 in -ffast-math mode.
2187 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
2189 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
2191 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
2193 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
2196 * config/sh/sh.c (mova_p): Fix test for mova_const.
2198 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2200 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
2201 cpp_get_options rather than dereferencing pfile and using
2203 * scan-decls.c (scan_decls): Use return value of
2204 cpp_pop_buffer rather than CPP_BUFFER.
2206 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
2208 * cppinit.c (cpp_handle_option): help_only is now part of the
2209 cpp_options structure.
2210 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
2211 cpp_set_callbacks): New functions.
2212 * cpplib.h (cpp_callbacks): Break out as a named structure.
2213 (cpp_options): Move help_only here from cpp_reader.
2214 (CPP_FATAL_ERRORS): Update to use cpp_errors.
2215 (cpp_errors, cpp_get_options, cpp_get_callbacks,
2216 cpp_set_callbacks): New prototypes.
2217 * cppmain.c (main): Update for help_only.
2219 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
2221 * Makefile.in (info, maintainer-clean, install-info, uninstall):
2222 Also build and remove and install and uninstall c-tree.info and
2224 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
2225 ($(srcdir)/cppinternals.info): New target.
2226 * c-tree.texi: Change file name used when makeinfo used without -o
2227 from ir.info to c-tree.info. Add info directory entry.
2228 * cppinternals.texi: Add info directory entry.
2229 * .cvsignore: Update.
2231 2001-01-12 Jakub Jelinek <jakub@redhat.com>
2233 * c-typeck.c (store_init_value): Don't require constant initializer
2234 elements with -pedantic -std=c99.
2235 (digest_init): Change error about non-constant initializer elements
2237 (constructor_range_end): Remove.
2238 (constructor_incremental, designator_depth,
2239 designator_errorneous): New variables.
2240 (struct constructor_stack): Remove range_end, add incremental.
2241 (struct constructor_range_stack, constructor_range_stack): New.
2242 (struct initializer_stack): Add constructor_range_stack.
2243 (finish_init): Set it.
2244 (start_init): Likewise. require_constant_elements for non-static
2245 trees only if not flag_isoc99.
2246 (really_start_incremental_init): Remove constructor_range_end, add
2247 constructor_incremental.
2248 (pop_init_level): Likewise.
2249 (push_init_level): Likewise. If implicit and the subobject had some
2250 value set already, preinitialize the level with it.
2251 Warn about missing braces only if not pushing due to designators.
2252 (set_designator, push_range_stack): New functions.
2253 (set_init_label): Use them.
2254 (set_init_index): Likewise. Remove constructor_range_end.
2255 Error if designator index is outside of array bounds.
2256 (add_pending_init): Compare values of purpose index trees, not the
2257 trees themselves. Allow overwriting of already initialized element.
2258 Issue a warning if it had side-effects.
2259 (set_nonincremental_init, set_nonincremental_init_from_string): New
2261 (pending_init_member): Rename to...
2262 (find_init_member): ...this function. Call set_nonincremental_init
2263 if necessary. Compare values of purpose index trees, not the trees
2264 themselves. Return the actual value, not just non-zero if something
2266 (output_init_element): Remove checks for duplicates.
2267 If field has zero size, only check the initializer for correctness.
2268 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
2269 if constructor_incremental is zero. Change error about initializers
2270 not computable at load time into pedwarn.
2271 (output_pending_init_elements): Compare bit positions, not
2272 FIELD_DECLs to take into account zero-sized fields.
2273 (process_init_element): Use constructor_range_stack to fill all
2274 ranges in the designator lists from current level up.
2275 * extend.texi: Update documentation for labeled elements.
2277 2001-01-12 Alexandre Oliva <aoliva@redhat.com>
2279 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
2280 to function usage for arguments passed by reference. Optimize
2281 callee-copied arguments.
2282 * regmove.c (replace_in_call_usage): New function.
2283 (fixup_match_1): Call it.
2284 * cse.c (cse_insn): Canonicalize registers in function usage.
2285 * reload1.c (replace_pseudos_in_call_usage): New function.
2288 * Makefile.in: Reverted yesterday's wrong patch. Installed the
2291 2001-01-12 Jakub Jelinek <jakub@redhat.com>
2293 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
2296 2001-01-12 DJ Delorie <dj@redhat.com>
2298 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
2299 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
2302 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2304 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
2305 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
2306 -std options alongside references to -ansi. Update some
2307 documentation for C99.
2308 * cpp.1: Regenerate.
2310 2001-01-12 Andreas Jaeger <aj@suse.de>
2312 * haifa-sched.c (restore_line_notes): Remove argument block B
2314 * sched-ebb.c (schedule_ebb): Change caller.
2315 * sched-rgn.c (schedule_region): Likewise.
2316 * sched-int.h (restore_line_notes): Adjust prototype.
2318 * loop.h: Remove wrong declaration of doloop_condition_get.
2320 2001-01-12 Phil Edwards <pme@sources.redhat.com>
2322 * extend.texi: Move C++-extension-related node from the C section
2323 into the C++ section.
2325 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2327 * extend.texi: Refer to an array of pointers to functions instead
2328 of one of functions.
2330 Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
2331 Jan Hubicka <jh@suse.cz>
2333 * combine.c (reversed_comparison): Fix typo in last patch.
2335 (combine_reversed_comparison_code): Make static to follow
2336 prototype declaration.
2338 2001-01-12 Phil Edwards <pme@sources.redhat.com>
2340 * install.texi: Remove misplaced duplicate entry.
2342 2001-01-11 Ulrich Drepper <drepper@redhat.com>
2344 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
2346 Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
2348 * final.c: (leaf_function_p): Fix typo.
2350 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
2352 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
2353 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
2355 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
2356 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
2357 mmap_anon, and valloc is available.
2358 * ggc-page.c: Restructure ifdef logic to match new autoconf
2359 spec. Don't throw away the test page in init_ggc.
2361 * configure, config.in: Regenerate.
2363 2001-01-12 Michael Hayes <mhayes@redhat.com>
2365 * loop.h (total_biv_increment): Constify iv_class pointer.
2366 (struct induction): Replace `mem_mode' with `mem' rtx.
2367 * unroll.c (total_biv_increment): Constify iv_class pointer.
2368 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
2369 (find_mem_givs, combine_givs_p): Likewise.
2370 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
2372 2001-01-10 Thomas Pfaff <tpfaff@gmx.net>
2374 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
2376 (__gthread_getspecific): Ditto.
2378 Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
2380 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
2381 put_condition_code): Convert fp comparison codes to integer
2383 (ix86_expand_fp_compare): Postnote the fp comparison code converison
2386 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
2387 * i386-protos.h (no_comparison_operator): Kill.
2389 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
2391 * combine.c (REVERSIBLE_CC_MODE): Remove.
2392 (reversible_comparison_p): Remove.
2393 (combine_reversed_comparison_code): New.
2394 (reversed_comparison): New.
2395 (combine_simplify_rtx): Use
2396 combine_reversed_comparison_code/reversed_comparison instead
2397 of reversible_comparison_p.
2398 (simplify_if_then_else): Likewise.
2399 (simplify_set): Likewise.
2400 (simplify_logical): Likewise.
2401 (if_then_else_cond): Likewise.
2402 (known_cond): Likewise.
2403 (simplify_comparison): Likewise.
2405 2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
2407 * builtins.c (std_expand_builtin_va_start): Handle varargs when
2408 sizeof (int) is larger than sizeof(__word__).
2410 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
2412 * cppinit.c (do_includes): Fix typo.
2414 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2416 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
2417 in S_REGS does not occur because not all sources are possible
2418 when a S_REGS is a destination (sometimes needs a clobber).
2419 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
2420 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
2421 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
2422 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
2423 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
2424 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
2425 (lshrdi_const1, lshrsi3_const16): Likewise.
2426 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
2427 (*movhi_68hc12, *movqi_68hc12): Likewise.
2428 (movstrictqi): Make sure reloading in D_REGS as a destination
2431 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
2433 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
2435 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
2437 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
2438 -D, -U and -A, and don't initialize the builtins.
2439 (do_includes): Error if -include or -imacros with -fpreprocessed.
2440 * cppmain.c (cb_define, cb_undef): Unconditionally process
2442 * tradcpp.c (main): Fix typo.
2444 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
2446 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
2447 (read_name_map): Use IS_ABSOLUTE_PATH.
2448 * tradcpp.c (get_filename): Likewise.
2450 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2452 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
2453 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
2454 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
2455 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
2456 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
2457 (cmphi_z_used): Don't use '@' for the output.
2458 (tstqi_z_used): Likewise.
2459 (cmpqi_z_used): Likewise.
2460 (one_cmplsi2): Likewise.
2462 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
2464 * config/sh/sh.c (barrier_align): Recognize branch around far
2465 branch and redundant insn.
2467 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
2469 * invoke.texi: Restore documentation of the drivers' switches -MD
2472 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
2474 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
2476 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
2477 check-objc//%): Support parallel testing of multilibs.
2478 (TESTSUITEDIR): Set to testsuite by default, but override for
2480 (check-gcc, check-g++, check-g77, check-objc): Enter
2483 2001-01-11 Bernd Schmidt <bernds@redhat.com>
2485 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
2486 * sched-deps.c (deps_may_trap_p): Likewise.
2487 * basic-block.h: Remove a comment.
2488 * flow.c (PROP_POSTRELOAD): Remove.
2489 (update_life_info): Don't add it to prop_flags.
2490 (mark_set_1): Lose the code that was enabled by it.
2492 2001-01-11 Michael Hayes <mhayes@redhat.com>
2494 * flow.c (flow_call_edges_add): New.
2495 * basic_block.h (flow_call_edges_add): New.
2497 2001-01-11 J"orn Rennecke <amylaar@redhat.com>
2499 * reload1.c (move2add_note_store): Update reg_set_luid even if
2500 base reg remains the same.
2502 2001-01-10 Nick Clifton <nickc@redhat.com>
2504 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
2505 machine_function structure to zero.
2506 Add prototypes for machine_status functions.
2508 2001-01-10 Mark Mitchell <mark@codesourcery.com>
2510 * c-common.h (CTI_VOID_LIST): Remove.
2511 (void_list_node): Likewise.
2512 * tree.h (TI_VOID_LIST_NODE): New enumeral.
2513 (void_list_node): New macro.
2514 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
2515 * config/i386/i386.c (ix86_init_builtins): Likewise.
2516 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
2518 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2520 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
2521 * cppinit.c (cpp_start_read): Update comment, remove unneeded
2523 * tradcpp.c: Include mkdeps.h.
2524 (deps, print_deps_phony_targets, deps_append, output_deps,
2525 init_dependency_output, output_deps): New.
2526 (deps_buffer, deps_allocated_size, deps_size, deps_column,
2527 deps_output): Delete.
2528 (print_deps_missing_files): Rename deps_missing_files.
2529 (inhibit_output): Make global.
2530 (main): Delete inhibit_output, deps_stream, deps_target.
2531 Use mkdeps functionality in the same way as cpplib. Remove
2532 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
2533 -M and -MM. Remove old handling of deps via deps_out, and
2534 old reading of environment variables.
2535 (get_filename): Update to use deps_add_dep.
2537 2001-01-10 Mark Mitchell <mark@codesourcery.com>
2539 * output.h (make_function_rtl): Remove prototype.
2540 (make_decl_rtl): Likewise.
2541 * varasm.c (make_function_rtl): Remove.
2542 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
2543 than from a third parameter.
2544 * tree.h (make_decl_rtl): Remove last parameter.
2545 * c-decl.c (builtin_function): Remove last argument in call to
2546 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
2547 (start_function): Likewise.
2548 * except.c (call_get_eh_context): Likewise.
2549 * expr.c (emit_block_move): Likewise.
2550 (clear_storage): Likewise.
2551 * profile.c (output_func_start_profiler): Likewise.
2552 * toplev.c (rest_of_decl_compilation): Likewise.
2553 * objc/objc-act.c (create_builtin_decl): Likewise.
2554 (synth_module_prologue): Likewise.
2555 (generate_static_reference): Likewise.
2556 (build_selector_reference_decl): Likewise.
2557 (build_class_reference_decl): Likewise.
2558 (build_objc_string_decl): Likewise.
2559 (build_protocol_reference): Likewise.
2561 2001-01-10 Richard Henderson <rth@redhat.com>
2563 * hwint.h: Revert yesterday's change.
2565 2001-01-10 Nick Clifton <nickc@redhat.com>
2567 * function.h (save_machine_status): Delete.
2568 (restore_machine_status): Delete.
2569 Amend comment describing {init|mark|free}_machine_status.
2571 * function.c (save_machine_status): Delete.
2572 (restore_machine_status): Delete.
2573 Amend comment describing {init|mark|free}_machine_status.
2574 (push_function_context_to): Remove invocation of
2575 save_machine_status.
2576 (pop_function_context_from): Remove invocation of
2577 restore_machine_status.
2579 * emit-rtl.c (init_emit_once): Amend comment describing
2580 {init|mark|free}_machine_status.
2582 * tm.texi (Per-Function Data): New node. Describe the
2583 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
2586 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2588 * cppinit.c (OPT_g): Remove.
2589 (cpp_handle_option): Update for removed -g3.
2590 (print_help): Update.
2591 * cpplib.h (struct cpp_options): Remove debug_output.
2592 * cppmain.c (setup_callbacks, cb_define): Update.
2593 * gcc.c (cpp_options): Translate -g3 to -dD.
2595 2001-01-10 Aldy Hernandez <aldyh@redhat.com>
2597 * config/i960/i960.md: Change modifier to + on the zero_extract
2598 pattern after the (rotate -2 reg) canonicalization pattern.
2600 2001-01-10 Richard Henderson <rth@redhat.com>
2602 * config/alpha/alpha.c (alpha_free_machine_status): New.
2603 (override_options): Install it.
2604 (alpha_mark_machine_status): Verify machine non-null.
2605 * config/i386/i386.c (ix86_free_machine_status): New.
2606 (override_options): Install it.
2607 (ix86_init_machine_status): Use xcalloc.
2608 (ix86_mark_machine_status): Verify machine non-null.
2609 * config/ia64/ia64.c (ia64_free_machine_status): New.
2610 (ia64_override_options): Install it.
2611 (ia64_mark_machine_status): Verify machine non-null.
2613 Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
2615 * function.c (instantiate_virtual_regs): Instantiate virtual
2616 registers found in CALL_INSN_FUNCTION_USAGE.
2618 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2620 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
2621 equivalent to -ansi in disabling -Di386.
2623 Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
2625 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
2627 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
2629 2001-01-10 Richard Earnshaw <rearnsha@arm.com>
2631 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
2633 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2635 * invoke.texi: Document that -fcond-mismatch isn't supported for
2638 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2640 * gcc.texi: Define macro gcctabopt.
2641 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
2642 @command, @env and @option in some places where appropriate. Use
2643 @gcctabopt where appropriate. Put URLs and email addresses inside
2646 2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
2648 * gcc.c (cpp_options): Set MD file name from output
2649 filename, if specified.
2650 (suffix_subst): New static variable.
2651 (do_spec): Clear it.
2652 (do_spec_1, case '.'): Handle new `%.suffix' spec.
2654 (give_switch): Handle suffix_subst.
2656 2001-01-10 Phil Edwards <pme@sources.redhat.com>
2658 * invoke.texi: Fix another typo.
2660 2001-01-10 Phil Edwards <pme@sources.redhat.com>
2662 * invoke.texi: Fix typo.
2664 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2666 * c-lang.c (lang_hooks): Update.
2667 (lang_decode_option): Remove.
2668 (lang_init_options): Rename c_init_options.
2669 * toplev.c (main): Use lang_hooks for lang_init_options
2670 and lang_decode_option.
2671 * toplev.h (lang_hooks): Add 2 new hooks.
2672 * tree.h: Remove lang_init_options and lang_decode_option.
2673 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
2674 * cp/decl2.c: Similarly.
2675 * cp/lex.c (lang_init_options): Rename cxx_init_options.
2676 (lang_hooks): Update.
2677 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
2679 (lang_init_options): Rename ffe_init_options.
2680 (lang_hooks): Update.
2681 (lang_decode_option): Remove.
2682 * java/lang.c (lang_init_options): Rename java_init_options.
2683 (lang_decode_option): Rename java_decode_option.
2684 (lang_hooks): Update.
2685 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
2686 (lang_decode_option): Rename objc_decode_option.
2687 (lang_hooks): Update.
2689 2001-01-09 Nick Clifton <nickc@redhat.com>
2691 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
2692 (d30v_return_addr_rtx): Delete.
2693 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
2694 cfun->machine structure.
2695 (struct machine_function): Move to d30v.h
2696 (d30v_save_machine_status): Delete.
2697 (d30v_restore_machine_status): Delete.
2698 (d30v_init_machine_status): New Function.
2699 (d30v_mark_machine_status): New Function.
2700 (d30v_free_machine_status): New Function.
2701 (d30v_init_expanders): Use new functions.
2702 (d30v_return_addr): Use ra_rtx field in cfun->machine.
2703 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
2704 d30v_return_addr_rtx.
2706 * config/d30v/d30v.h (struct_machine): Move here.
2707 Add eh_epilogue_sp_ofs field.
2709 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
2710 field in cfun->machine structure.
2712 Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
2714 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
2715 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
2716 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
2718 Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
2720 * objc/lang-options.h: Remove bogus reference to
2723 2001-01-09 Kazu Hirata <kazu@hxi.com>
2725 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
2728 2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
2730 * reload.c (find_reloads_address): Check for eliminable registers
2731 when substituting a constant expression for a pseudo.
2733 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
2735 * c-common.c (enum format_type): Add format_type_error.
2736 (decode_format_type): New function.
2737 (decl_attributes): Use it.
2738 (format_kind_info): Adjust comment.
2740 2001-01-09 David O'Brien <obrien@BSDi.com>
2742 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
2743 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
2745 * config/i386/gnu.h: Don't include required platform specific .h files,
2746 tm.h will do it instead.
2747 * config/i386/i386elf.h: Likewise.
2748 * config/i386/linux.h: Likewise.
2749 * config/i386/moss.h: Likewise.
2750 * config/mips/gnu.h: Likewise.
2752 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2754 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
2755 (rs6000-ibm-aix3.[01]*): Likewise.
2756 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
2757 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
2758 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
2759 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2760 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
2761 (powerpc-*-eabiaix*): Likewise.
2762 (powerpc-*-eabisim*): Likewise.
2763 (powerpc-*-elf*): Likewise.
2764 (powerpc-*-eabi*): Likewise.
2765 (powerpc-*-rtems*): Likewise.
2766 (powerpc-*-linux*libc1): Likewise.
2767 (powerpc-*-linux*): Likewise.
2768 (powerpc-wrs-vxworks*): Likewise.
2769 (powerpcle-wrs-vxworks*): Likewise.
2770 (powerpcle-*-sysv*): Likewise.
2771 (powerpcle-*-elf*): Likewise.
2772 (powerpcle-*-eabisim*): Likewise.
2773 (powerpcle-*-eabi*): Likewise.
2774 (powerpcle-*-solaris2*): Likewise.
2775 * config/rs6000/aix31.h: Delete includes.
2776 * config/rs6000/aix3newas.h: Likewise.
2777 * config/rs6000/aix41.h: Likewise.
2778 * config/rs6000/aix43.h: Likewise.
2779 * config/rs6000/beos.h: Likewise.
2780 * config/rs6000/rtems.h: Likewise.
2781 * config/rs6000/sysv4.h: Likewise.
2783 2001-01-09 Kazu Hirata <kazu@hxi.com>
2785 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
2786 Change an argument mode of machine_mode to shift_mode of
2787 shift_mode. Remove an extra error check.
2788 (emit_a_shift): Adopt to the new calling prototype of
2790 (function_prologue): Fix code for a monitor
2791 function. Support H8/S.
2792 (function_epilogue): Do not output pop for a monitor function.
2794 2001-01-09 Nick Clifton <nickc@redhat.com>
2796 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
2797 (setup_incoming_varargs): Use sysv_varargs_p field of the
2798 cfun->machine structure.
2799 (struct machine_function): Move to rs6000.h
2800 (rs6000_save_machine_status): Delete.
2801 (rs6000_restore_machine_status): Delete.
2802 (rs6000_init_machine_status): New Function.
2803 (rs6000_free_machine_status): New Function.
2804 (rs6000_init_expanders): Use new functions.
2806 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
2808 (struct machine_function): Move here.
2810 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
2811 sysv_varargs_p field of the cfun->machine structure.
2813 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
2815 (rs6000_restore_machine_status): Remove prototype.
2817 2001-01-09 Richard Henderson <rth@redhat.com>
2819 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
2820 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
2821 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
2822 (sched_analyze_2, sched_analyze_insn): Likewise.
2823 (sched_analyze, init_deps): Likewise.
2824 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
2825 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
2826 (compute_block_backward_dependences): Update propagate_deps call.
2828 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
2830 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
2832 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2834 * cppinit.c (OPT_MD, OPT_MMD): Restore.
2835 (cpp_handle_option): Handle them.
2836 (cpp_post_options): Ensure one of -M or -MM is specified with
2837 any other -M? option.
2838 (init_dependency_output): Suppress output with -MG.
2840 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2843 * invoke.texi: Update.
2845 2001-01-09 Bernd Schmidt <bernds@redhat.com>
2847 * sh.md (reload_outsf): Generate recognizable patterns for
2850 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2852 * c-lang.c (lang_hooks): Update.
2853 (lang_init): Rename c_init.
2854 (lang_finish): Remove.
2855 * toplev.c (compile_file): Use lang_hooks for lang_init ()
2857 * toplev.h (lang_hooks): Add init () and finish ().
2858 * tree.h (lang_init, lang_finish): Remove.
2859 * cp/tree.h (lang_init, lang_finish): Remove.
2860 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
2861 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
2863 (lang_init, lang_finish): Remove.
2864 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
2865 (lang_hooks): Update.
2866 * java/lang.c (lang_init): Rename java_init.
2867 (lang_finish): Remove.
2868 (lang_hooks): Update.
2869 * objc/objc-act.c (lang_init): Rename objc_init.
2870 (lang_finish): Remove.
2871 (lang_hoooks): Update.
2873 20001-01-09 Graham Stott <grahams@redhat.com>
2875 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
2876 after `ptr` is initialised.
2878 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2880 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
2881 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
2882 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
2883 stack adjusts, instead of r3.
2885 2001-01-09 Michael Hayes <mhayes@redhat.com>
2887 * flow.c (flow_loop_scan): Break out of ...
2888 (flow_loops_find) ... here.
2889 * basic-block.h (flow_loop_scan): New.
2890 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
2891 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
2893 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2895 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
2897 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
2898 realloc()ing macro_buffer.
2900 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
2901 if it's wider than long and the target's long is wider than the
2904 2001-01-09 Mark Mitchell <mark@codesourcery.com>
2906 Remove support for using UWIN as a host machine.
2907 * configure.in: Issue an error message.
2908 * configure: Regenerated.
2909 * config.gcc: Remove xm_* UWIN configury.
2910 * config/i386/xm-uwin.h: Remove.
2912 2001-01-08 Nick Clifton <nickc@redhat.com>
2914 * config/v850/v850.c (ra_rtx): Delete.
2915 (v850_save_machine_status): Delete.
2916 (v850_restore_machine_status): Delete.
2917 (v850_init_machine_status): New function.
2918 (v850_mark_machine_status): New function.
2919 (v850_free_machine_status): New function.
2920 (v850_return_addr): Use ra_rtx field in machine structure.
2921 (v850_init_expanders): Use new functions.
2923 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
2924 * config/v850/v850.c: Change arguments to v850_output+* functions
2925 to take a const char *, to avoid compile time warning.
2926 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
2927 (USER_LABEL_PREFIX): Redefine.
2929 2000-01-08 Jim Wilson <wilson@redhat.com>
2931 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
2932 1 to unsigned HOST_WIDE_INT before left shift.
2934 2001-01-08 Nick Clifton <nickc@redhat.com>
2936 * config/arm/arm.c (arm_mark_machine_status): Check to see if
2937 the machine structure has been allocated.
2938 (arm_free_machine_status): New function: Free the machine
2939 specific function structure.
2941 2001-01-08 Richard Henderson <rth@redhat.com>
2943 * jump.c (simplejump_p): Revert last change.
2945 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
2947 * cppinit.c (init): Rename init_library.
2948 (cpp_create_reader): Update.
2949 * gcc.c (cpp_options): If -o given, use it as the target of
2952 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
2954 * arm.c (arm_arch5e): New variable.
2955 (all_cores): XScale is a 5TE device.
2956 (arm_override_options): Set arm_arch5e.
2957 (arm_init_builtins): __builtin_prefetch is in arch5e.
2958 * arm.h (arm_arch5e): Declare it.
2960 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
2962 * arm.md (define_constants): Add defines for UNSPEC and
2963 UNSPEC_VOLATILE insns. Update all users.
2964 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
2965 * arm.c (multi_register_push, note_invalid_constants)
2966 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
2967 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
2968 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
2970 Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
2972 * jump.c (jump_optimize_1): Use reversed_comparison_code
2973 instead of can_reverse_comparison_p.
2974 (jump_back_p): Likewise.
2975 (invert_exp_1): Likewise.
2976 (thread_jumps): Likewise.
2977 * simplify-rtx.c (simplify_unary_operation): Likewise.
2978 (simplify_ternary_operation): Likewise.
2979 * cse.c (find_comparison_args): Convert to use
2980 can_reverse_comparison_p.
2981 (record_jump_equiv): Likewise.
2983 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
2985 * arm.h (HARD_REGNO_RENAME_OK): Delete.
2986 (EPILOGUE_USES): Define.
2987 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
2988 automatically stack the LR if it isn't live.
2990 Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
2992 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
2995 Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
2997 * ggc-page.c (max_alignment): New structure.
2998 (MAX_ALIGNMENT): New macro.
2999 (init_ggc): Use it to round up the sizes in the
3000 extra_order_size_table.
3002 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3004 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
3007 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3009 * builtins.def (BUILT_IN_FPRINTF): New entry.
3011 * c-common.c (c_expand_builtin_fprintf): New function.
3012 (init_function_format_info): Handle __builtin_fprintf.
3013 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
3014 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
3016 * c-decl.c (duplicate_decls): Adjust comment.
3018 * extend.texi (fprintf): Document new builtin.
3020 2001-01-07 Richard Henderson <rth@redhat.com>
3022 * jump.c (simplejump_p): Recognize any single_set jump
3025 2001-01-07 Richard Henderson <rth@redhat.com>
3027 * configure.in (slibdir): Accept an --with-slibdir option.
3028 Use "test" not "[" in configure. Default to $(libdir).
3030 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
3032 * config/t-aix43 (SHLIB_INSTALL): Likewise.
3033 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
3034 (SHLIB_LINK): Create links for the soname.
3035 * config/mips/t-iris6: Likewise.
3036 * config/sparc/t-slibgcc: Likewise.
3037 * config/sparc/t-slibgcc-sld: Likewise.
3039 2001-01-07 Jakub Jelinek <jakub@redhat.com>
3041 * config/i386/i386.c (constant_call_address_operand): Accept
3042 (const (plus (symbol_ref) (const_int))).
3043 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
3044 constant_call_address_operand.
3046 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3048 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
3049 and LONG_LONG_TYPE_SIZE > 32.
3051 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3053 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
3054 the previous change.
3056 Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
3058 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
3060 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
3061 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
3062 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
3065 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
3067 * fix-header.c (read_scan_file): s/pfile/scan_in/.
3069 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
3071 * c-lang.c (c_post_options): Call cpp_post_options.
3072 * objc/objc-act.c (objc_post_options): Similarly.
3073 * cppmain.c (main): Similarly.
3074 * fix-header.c (read_scan_file): Similarly.
3075 * cppinit.c (cpp_start_read): Move option consistency checks
3076 to cpp_post_options. Don't call init_dependency_output.
3077 If needed, add default target and main file dependency.
3078 (OPT_MD, OPT_MMD): Remove.
3080 (cpp_handle_option): Update for OPT_* changes.
3081 (cpp_post_options): New.
3082 (init_dependency_output): Command line -MF overrides environment
3083 variables. Don't set default target etc. Suppress output
3084 if dependencies are going to stdout.
3085 (print_help): Update.
3086 * cpplib.h (cpp_post_options): New.
3087 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
3089 Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
3091 * jump.c (comparison_dominates_p): Support unordered compares.
3093 Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
3095 * simplify-rtx.c (simplify_relational_operation): Always simplify
3096 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
3099 Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
3101 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
3102 (nonzero_bits): Likewise.
3103 (simplify_comparison): Likewise.
3104 (num_sign_bit_copies): Likewise; return more sane value depending
3105 on STORE_FLAG_VALUE.
3106 (known_cond): Do not assume EQ to be always true for equivalent
3109 Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
3111 * cse.c (fold_rtx): Handle unordered comparisons.
3113 Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
3115 * rtlanal.c (set_of_1): New static function.
3116 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
3117 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
3118 reg_set_last_last_regno): Remove.
3119 (set_of): New global function.
3120 (set_of_data): New structure.
3121 (reg_set_p, reg_set_last): Revamp for set_of.
3122 * rtl.h (set_of): New.
3124 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
3126 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
3127 * extend.texi: Document _Exit builtin.
3129 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
3131 * (initialize, initialize_builtins,
3132 initialize_dependency_output, initialize_standard_includes):
3133 Rename s/initialize/init. Update.
3134 (init_dependency_output): Move to after
3135 cpp_handle_options, the correct location temporally at least.
3136 (opt_comp): Move next to init (), its caller. Fix prototype.
3137 (init): Make "initialized" local scope.
3138 (cpp_create_reader): Always call init ().
3139 (cpp_start_read): Update.
3140 (output_deps): New function, broken out of cpp_finish.
3141 (cpp_finish): Break out output_deps.
3143 2001-01-07 Richard Henderson <rth@redhat.com>
3145 * collect2.c (COFF specific stuff): Revert 12-06 patch
3146 to prototype system functions.
3148 2001-01-07 Michael Hayes <mhayes@redhat.com>
3150 * hard-reg-set.h: Add multiple include guard.
3151 * basic-block.h (struct loop): Add `sink' field.
3152 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
3153 (emit_iv_add_mult): Delete.
3154 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
3155 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
3156 (unroll_loop): Remove end_insert_before argument.
3157 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
3158 (maybe_eliminate_biv_1): Likewise.
3159 (emit_iv_add_mult): Delete.
3160 (gen_add_mult, loop_regs_update): New.
3161 (loop_insn_emit_after, loop_insn_emit_before): New.
3162 (loop_insn_sink, loop_insn_sink_or_swim): New.
3163 (emit_iv_add_mult): Delete.
3164 (scan_loop): Set loop->sink.
3165 (loop_givs_reduce): Use loop_insn_sink and its ilk.
3166 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
3167 (maybe_eliminate_biv_1): Likewise.
3168 (maybe_eliminate_biv_1): Add basic block argument.
3169 * unroll.c (unroll_loop): Remove end_insert_before argument.
3170 (find_splittable_regs): Likewise.
3171 (find_splittable_regs): Use loop_insn_sink and its ilk.
3172 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
3174 2001-01-07 Michael Hayes <mhayes@redhat.com>
3176 * loop.h (loop_insn_hoist): New prototype.
3177 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
3178 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
3179 (check_dbra_loop, load_mems): Likewise.
3180 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
3181 (find_splittable_givs): Likewise.
3183 2001-01-07 Michael Hayes <mhayes@redhat.com>
3185 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
3187 2001-01-07 Richard Henderson <rth@redhat.com>
3189 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
3191 2001-01-07 Richard Henderson <rth@redhat.com>
3193 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
3194 NO_SHARED_LIBGCC_MULTILIB as required for the target.
3195 * gcc.c (init_spec): Massage the existing libgcc_spec into a
3196 variant that handles a shared libgcc.
3197 (process_command): Always validate -{static,shared}-libgcc.
3198 (do_spec_1): New 'M' case.
3199 * invoke.text (Link Options): Document -{static,shared}-libgcc.
3201 2001-01-07 Richard Henderson <rth@redhat.com>
3203 * Makefile.in (slibdir): New variable.
3204 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
3205 (installdirs): Create slibdir.
3206 (install-libgcc, install-multilib): Defer to libgcc.mk.
3207 * configure.in (slibdir): Substitute.
3208 * mklibgcc.in (install): New target.
3210 * config/t-linux (SHLIB_LINK): Create links for the soname.
3211 (SHLIB_INSTALL): New.
3212 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
3213 * config/mips/t-iris6 (SHLIB_INSTALL): New.
3214 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
3215 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
3216 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
3218 2001-01-07 Richard Henderson <rth@redhat.com>
3220 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
3221 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
3222 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
3224 2001-01-07 Michael Hayes <mhayes@redhat.com>
3226 * loop.c (count_loop_regs_set): Delete.
3227 (load_mems_and_recount_loop_regs_set): Delete.
3228 (loop_regs_scan): Merge common code from count_loop_regs_set,
3229 scan_loop, and load_mems_and_recount_loop_regs_set.
3230 (scan_loop): Call load_mems directly and loop_regs_scan
3231 again if new registers created.
3233 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
3235 * toplev.c (main): Call the front-end specific post_options
3236 hook if one is given.
3237 * toplev.h (struct_lang_hooks, lang_hooks): New.
3238 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
3239 for the C front end.
3240 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
3241 lang_hooks for the C++ front end.
3242 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
3243 lang_hooks for the ObjC front end.
3244 * f/com.c (lang_hooks): Hooks for the Fortran front end.
3245 * java/lang.c (lang_hooks): Hooks for the Java front end.
3247 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
3249 * c-lex.c (init_c_lex): Request #define / #undef callbacks
3250 for verbose DWARF[2] debugging.
3251 (cb_define, cb_undef): The new callbacks.
3252 * toplev.h (debug_define, debug_undef): Make const correct.
3253 * toplev.c (debug_define, debug_undef): Similarly. Do not
3254 perform the verbosity tests here anymore.
3256 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
3258 * reload.c (subst_reloads): Take INSN argument. When
3259 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
3260 * reload.h (subst_reloads): Adjust prototype.
3261 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
3262 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
3263 present in JUMP_INSNs and copy them to JUMP_LABEL.
3264 * flow.c (find_label_refs, find_basic_blocks_1): Skip
3265 JUMP_INSNs and insns with REG_LABELs that are followed by
3266 JUMP_INSNs with the same REG_LABEL.
3267 * sched-rgn.c (is_cfg_nonregular): Likewise.
3268 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
3270 * unroll.c (unroll_loop): Look for REG_LABEL notes in
3272 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
3274 2001-01-06 Richard Henderson <rth@redhat.com>
3276 * loop.c (scan_loop): Use xcalloc for the regs array.
3277 (load_mems_and_recount_loop_regs_set): Zero the new memory
3278 received from xrealloc.
3280 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
3282 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
3284 Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
3286 * integrate.c (copy_rtx_and_substitute): When copying
3287 an ignored return value, strip REG_FUNCTION_VALUE_P.
3289 2001-01-06 Michael Hayes <mhayes@redhat.com>
3291 * loop.c (debug_biv, debug_giv): New.
3292 (loop_biv_dump): Break out from ...
3293 (record_biv): ... here.
3294 (loop_giv_dump): Break out from ...
3295 (record_giv): ... here.
3296 (loop_bivs_check): Use print_simple_rtl.
3297 * unroll.c (loop_iterations): Use print_simple_rtl.
3299 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3301 * pa.md (return, return_internal): Modify patterns to prevent regrename
3302 mucking with the return pointer.
3304 2001-01-05 Richard Henderson <rth@redhat.com>
3306 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
3308 Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
3310 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
3311 version supplied by Matteo Frigo.
3313 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3315 * cpp.texi: Update for -MQ.
3316 * cppinit.c (cpp_create_reader): Always create pfile->deps.
3317 (cpp_cleanup): Always free pfile->deps.
3318 (initialize_dependency_output): Don't create pfile->deps.
3319 (cpp_handle_option): Similarly.
3321 * gcc.c (cpp_options): Handle -MQ.
3322 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
3323 * mkdeps.c (base_name): Remove.
3324 (deps_init): Don't allocate vector space until it's needed.
3325 (deps_free): Only free vectors if allocated.
3326 (deps_add_target, deps_add_dep): Update for initial allocation.
3327 (deps_add_default_target): Don't strip to the base_name.
3329 2001-01-05 DJ Delorie <dj@redhat.com>
3331 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
3332 (INIT_EXPANDERS): Define.
3334 * config/v850/v850.c (struct machine_function): Define.
3335 (v850_save_machine_status): New function.
3336 (v850_restore_machine_status): New function.
3337 (v850_return_addr): New function.
3338 (v850_init_expanders): New function.
3340 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
3341 and v850_init_expanders.
3343 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
3345 * cpplib.h (struct cpp_reader): Add help_only field.
3346 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
3347 (cpp_handle_option): Set pfile->help_only if we see -h,
3348 --help, -target-help, or --version. Print version string but
3349 do not set help_only if we see -v or -version. Make text
3350 printed by -v match that printed by (-)-version.
3352 * cppmain.c (main): Exit after option parsing if
3353 pfile->help_only is true.
3355 * toplev.c (independent_decode_option): Call print_version,
3356 then exit, if we see --version (but not -version).
3357 (print_version): Split lengthy message into two lines.
3359 2001-01-05 Nick Clifton <nickc@redhat.com>
3361 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
3362 temporary string for initialisation before calling ggc_alloc_string.
3364 2001-01-06 Michael Hayes <mhayes@redhat.com>
3366 * rtl.h (print_simple_rtl): New.
3367 * print-rtl.c (print_simple_rtl): New.
3369 (print_rtx): Disable printing of flags and modes, etc.,
3370 if `flag_simple` nonzero.
3372 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
3374 * function.c (fixup_var_refs): Use push_to_full_sequence where
3377 2001-01-05 Michael Meissner <meissner@redhat.com>
3379 * flags.h (flag_reorder_blocks): Add declaration.
3380 (flag_rename_block): Ditto.
3382 2001-01-05 DJ Delorie <dj@redhat.com>
3384 * function.c (reorder_blocks): Make sure the flags are all reset
3385 before using them to mark blocks, else a second invocation will
3386 corrupt the block chain.
3387 (reorder_blocks_0): New, resets the flags.
3389 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
3391 * cse.c (find_comparison_args): Stop if the argument is known to
3394 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3396 * config/sh/sh.md (movdf): When splitting load into pair of
3397 registers, don't clobber the register used in the address too
3400 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
3402 * varasm.c (mark_constant_pool): Improve initial comments.
3403 (mark_constants): Move marking of constants to mark_constant.
3404 (mark_constant): New function to recursively mark all constants
3405 referred to by a constant.
3407 2001-01-05 Catherine Moore <clm@redhat.com>
3409 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
3411 2001-01-05 Phil Edwards <pme@sources.redhat.com>
3413 * cp/lang-options.h: Bring comment in line with reality.
3414 * f/lang-options.h: Likewise.
3415 * java/lang-options.h: Likewise.
3416 * objc/lang-options.h: Likewise.
3417 * ch/lang-options.h: Likewise.
3418 * f/g77.texi: And update the manual.
3420 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
3421 Denis Chertykov <denisc@overta.ru>
3423 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
3424 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
3425 * config/avr/avr.md (all peepholes that request a scratch register):
3426 Call it, FAIL the peephole if not safe (in interrupt functions).
3428 2001-01-05 Mark Mitchell <mark@codesourcery.com>
3430 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
3432 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3434 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
3436 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
3437 BUILT_IN_CREAL and BUILT_IN_CIMAG.
3438 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
3439 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
3440 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
3442 * extend.texi: Document these builtins.
3444 2001-01-05 Daniel Berlin <dberlin@redhat.com>
3446 * c-common.c (lang_get_alias_set): Say we know nothing of
3447 VECTOR_TYPE aliasing.
3449 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
3451 2001-01-05 Bruce Korb <bkorb@gnu.org>
3453 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
3454 their x* equivalent versions for atexit-less systems
3455 * fixinc/fixincl.c(main): do not return from main() on atexit-less
3456 systems (or any other system any more).
3458 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
3460 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
3461 output operands. Use arm_hard_register_operand for operand 4.
3462 (stmsi_postinc): Similarly.
3463 (ldmsi): Use arm_hard_register_operand for opernand 2.
3465 * arm.c (arm_hard_register_operand): New function.
3466 * arm-protos.h (arm_hard_register_operand): Prototype it.
3468 * arm.h (HARD_REGNO_RENAME_OK): Define.
3470 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
3472 * simplify-rtx.c (cfc_args): add "unordered" field.
3473 (check_fold_consts): Set unordered field.
3474 (simplify_relational_operation): Simplify the unordered
3477 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
3480 * emit-rtl.c (try_split): Fix code to mark labels.
3481 * jump.c (mark_jump_label): Make global.
3482 * rtl.h (mark_jump_label): Declare.
3484 * predict.c (estimate_probability): Handle unordred comparisons.
3486 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3488 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
3489 * cppinit.c (initialize_dependency_output): Update.
3490 (cpp_finish): Output dummy targets for -MP.
3492 (cpp_handle_option): Handle -MP. Don't quote -MT options.
3493 * cpplib.h (struct cpp_options): Add deps_phony_targets.
3494 * gcc.c (cpp_options): Update to handle -MP.
3495 * mkdeps.c (deps_add_target, deps_add_default_target): Update
3496 to quote only the default target.
3497 (deps_phony_targets): Insert a preceding newline. Rename from
3498 deps_dummy_targets for consistency.
3501 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3503 * calls.c (emit_library_call_value_1): Support
3504 INIT_CUMULATIVE_LIBCALL_ARGS.
3505 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
3507 2001-01-04 Richard Henderson <rth@redhat.com>
3509 * c-decl.c (finish_struct): Detect flexible array members
3510 used in an inappropriate context.
3511 * c-typeck.c (really_start_incremental_init): Special case
3512 constructor_max_index for zero length arrays.
3513 (pop_init_level): Allow initialization of flexible array
3514 members. Deprecate initialization of zero length arrays.
3515 Don't issue missing initializer warning for flexible array
3516 members or zero length arrays.
3517 (process_init_element): Don't dereference null DECL_SIZE.
3518 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
3519 Don't abort for empty constructors. Use size_binop
3520 (output_constructor): Add commentary regarding zero length
3521 array futures. Abort if we try to initialize an array of
3522 unspecified length with a non-empty constructor in the middle
3525 * extend.texi (Zero Length): Update and clarify documentation
3526 on static initialization.
3528 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3530 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
3531 with more than 32767 words of local storage.
3533 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3535 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
3536 for 'abs', 'labs', and 'fabs'.
3537 (c4x_expand_builtin): Likewise.
3538 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
3540 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3542 * config/sh/sh.md (prget, prset): New insn types.
3543 (return delay slot): Dont' allow prset.
3544 (call, sfunc delay slot): Don't allow prget.
3545 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
3546 for prset and prget.
3548 2001-01-05 Michael Hayes <mhayes@redhat.com>
3550 * loop.h (struct loop_reg): New.
3551 (struct loop_regs): Change to use array of `struct loop_reg'.
3552 * loop.c: Replace assortment of varrays with single regs array.
3553 (count_one_set): Delete may_not_move array argument
3554 and use regs array instead. All caller's changed.
3555 (count_loop_regs_set): Delete may_not_move and single_usage
3556 arguments and use regs array instead. All caller's changed.
3557 (find_single_use_in_loop): Replace usage array argument with pointer
3558 to regs structure. All caller's changed.
3559 (loop_optimize): Delete `moved_once' array.
3561 2001-01-05 Michael Hayes <mhayes@redhat.com>
3563 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
3564 Use it instead of loop_info->has_call for scanning loop mems.
3565 (check_dbra_loop): Replace loop_info->has_call test with
3566 loop_info->has_nonconst_call.
3568 2000-01-04 Matthew Hiller <hiller@redhat.com>
3570 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
3573 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
3575 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
3576 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
3578 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
3580 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
3581 (flag_short_double, flag_short_wchar): Define.
3582 (c_common_nodes_and_builtins): Create many tree nodes shared
3583 between C and C++ here instead of in cp/decl.c and ...
3584 * c-decl.c (init_decl_processing): ... here.
3585 (SIZE_TYPE, WCHAR_TYPE): Don't define.
3586 (flag_short_double, flag_short_wchar): Don't define.
3587 (record_builtin_type): New function.
3588 (build_void_list_node): New function.
3589 * c-common.h (flag_short_double, flag_short_wchar,
3590 record_builtin_type, build_void_list_node): Declare.
3592 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
3594 * integrate.c (expand_inline_function): Don't put a virtual
3595 register into the reg map.
3597 * function.c (fixup_var_refs_1): If force_operand didn't put
3598 the address into the target, move it there.
3600 2001-01-04 Mark Mitchell <mark@codesourcery.com>
3602 Special-case tree_decl/tree_list allocations.
3603 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
3604 (OBJECT_SIZE): New macro.
3605 (NUM_EXTRA_ORDER): Likewise.
3606 (extra_order_size_table): New variable.
3607 (NUM_ORDERS): New macro.
3608 (objects_per_page_table): New variable.
3609 (object_size_table): New variable.
3610 (G.pages): Use NUM_ORDERS to bound the array.
3611 (G.page_tails): Likewise.
3612 (DIV_ROUND_UP): Remove.
3613 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
3614 (alloc_page): Use OBJECT_SIZE.
3615 (size_lookup): Don't make it const.
3616 (ggc_alloc): Use OBJECT_SIZE.
3617 (ggc_set_mark): Likewise.
3618 (ggc_get_size): Likewise.
3619 (init_ggc): Set up the object_size_table, objects_per_page_table,
3620 and adjust size_lookup.
3621 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
3622 (ggc_pop_context): Use NUM_ORDERS.
3623 (clear_marks): Likewise.
3624 (sweep_pages): Likewise.
3625 (poison_pages): Likewise.
3626 (ggc_print_statistics): Use OBJECT_SIZE.
3628 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3630 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
3631 Only call array_size_for_constructor if last field and array type
3632 with no upper bound.
3634 2001-01-04 Philip Blundell <philb@gnu.org>
3636 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
3637 from bit 31 downwards, if this requires no more insns.
3638 (count_insns_for_constant): New helper function for above.
3640 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
3642 * gencodes.c (output_predicate_decls): Remove empty initializer.
3644 2001-01-04 Mark Mitchell <mark@codesourcery.com>
3646 * tree.c (copy_node): Remove documentation about obstacks.
3647 (buidl1): Check that nobody tries to build 2-argument nodes this
3650 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3652 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
3655 * gencodes.c (output_predicate_decls): Fill empty initializer
3658 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3660 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
3661 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
3663 (do_include): Handle missing headers like cpp0.
3664 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
3665 paths with first include pathname. Don't strcat to uninitialized
3668 2001-01-04 Bernd Schmidt <bernds@redhat.com>
3670 * regrename.c (regrename_optimize): Don't rename from frame pointer
3671 if frame_pointer_needed.
3672 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
3673 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
3674 (ia64_reorg): Use it instead of scheduling if ! optimize.
3675 (errata_emit_nops): Properly call asm_noperands.
3676 (ia64_sched_reorder): Finish cycle if we see an asm.
3677 (ia64_variable_issue): Clear scheduling state after asms.
3679 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
3681 * cpp.texi: Update for -MT.
3682 * cppinit.c (initialize_dependency_output): Add a default
3683 target if none has been given already.
3684 (no_tgt, OPT_MT): New.
3685 (cpp_handle_option): Handle -MT. Update -M etc.
3686 * cpplib.h (struct cpp_options): Remove deps_target.
3687 * gcc.c (cpp_options): Handle -MT.
3688 * mkdeps.c (struct deps): Move from mkdeps.h.
3689 (deps_calc_target): Rename deps_add_default_target. Add a
3690 default target if none has been specified already.
3691 * mkdeps.h (struct deps): Move to mkdeps.c.
3692 (deps_calc_target): Rename deps_add_default_target.
3694 2000-01-03 Richard Henderson <rth@redhat.com>
3696 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
3698 * c-typeck.c (push_init_level): Move checks for flexible array
3699 members and zero length arrays ...
3700 (pop_init_level): ... here. Silently discard empty initializations.
3702 * varasm.c (output_constructor): Update for sizeof change to
3705 * extend.texi (Zero Length): Clarify semantics.
3707 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3709 * configure.in (tm.h): Include isns-codes.h last.
3710 * configure: Rebuilt.
3712 2001-01-03 Richard Henderson <rth@redhat.com>
3714 * config/alpha/alpha.md (addvsi3, addvdi3): New.
3715 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
3717 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3719 * tradcpp.c (main): Make sure finclude() is called with a valid
3720 indepth value while handling -include.
3722 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3724 * gencodes.c (output_predicate_decls): New function.
3726 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
3727 even if it is not the first time machmode.h is #included.
3728 * config/sh/sh.c (fpul_operand): Declare MODE argument.
3729 * tm.texi (PREDICATE_CODES): Document predicate declarations.
3730 * gcc.texi (Copyright): Added 2001.
3732 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3734 * c-common.c (c_common_lang_init): New function. Warn if format
3735 warning options which only have effects when used with -Wformat
3736 are used without -Wformat.
3737 * c-common.h (c_common_lang_init): Declare.
3738 * c-lang.c (lang_init): Call c_common_lang_init.
3739 * objc/objc-act.c (lang_init): Call c_common_lang_init.
3741 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3743 * configure.in: Check for the mktemp command.
3744 * configure: Regenerate.
3745 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
3746 $TEMP. Create temporary files with mktemp, if available at
3747 configure time; otherwise use set -C. Remove temporary files
3750 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3752 * configure.in: Require at least texinfo 4.0. Check for whether
3753 Pod::Man is sufficiently recent to regenerate GCC manpages.
3754 * configure: Regenerate.
3755 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
3757 (GENERATED_MANPAGES): Define.
3758 (generated-manpages): New target. Depend on cpp.1 as well as
3760 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
3761 configure to generated-manpages or empty) rather than on the
3762 manpages directly. Remove execute permission from installed
3763 gcov.1 as well as cpp.1.
3764 * cpp.1, gcov.1: Regenerate.
3766 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3768 * builtins.c (expand_builtin_strncmp): Use host_integerp and
3769 tree_low_cst. Allow using cmpstrsi in more cases.
3771 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3773 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
3776 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
3778 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
3779 * Makefile.in (HOST_CFLAGS): Mention build-make.
3781 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3783 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
3786 2001-01-01 Bernd Schmidt <bernds@redhat.com>
3788 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
3791 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
3794 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
3795 reg_base_value and reg_known_value arrays.
3796 (init_alias_analysis): Add more cases to detect known values.
3797 * sched-deps.c (deps_may_trap_p): New function.
3798 (sched_analyze_2): Use it.
3800 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3802 * combine.c (simplify_shift_const): Even if we're sign-extracting,
3803 don't discard an ASHIFTRT if we're shifting in a wider mode.
3805 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
3807 * toplev.c (rest_of_compilation): Don't print basic block information
3808 when CFG isn't up to date.
3810 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
3812 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
3813 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
3814 (UNALIGNED_SHORT_ASM_OP): Define.
3815 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
3817 2001-01-02 Mark Mitchell <mark@codesourcery.com>
3819 * fold-const.c (fold_convert): Fix typo.
3821 2001-01-02 Richard Henderson <rth@redhat.com>
3823 * c-common.h (ASM_INPUT_P): New.
3824 * c-parse.in (asm): Set it when needed.
3825 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
3826 existance of an operand.
3828 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
3830 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
3831 (dwarf2out_frame_debug_expr): Likewise.
3832 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
3834 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
3836 * i386.c (ix86_split_to_parts): Return number of part required;
3838 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
3840 (ix86_split_long_move): Use number of part returned
3841 by ix86_split_to_parts
3842 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
3844 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
3845 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
3846 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
3847 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
3848 (ALIGN_MODE_128): Add TFmode.
3849 (IS_STACK_MODE): Likewise.
3850 (HARD_REGNO_NREGS): TFmode needs 3 registers.
3851 (HARD_REGNO_OK): Support TFmodes.
3852 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
3853 * i386.md (scheduler definitions): Use memory operand to determine
3854 fst/fld instructions; use mode attribute to determine real mode of
3856 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
3857 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
3859 2001-01-02 Mark Mitchell <mark@codesourcery.com>
3861 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
3863 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
3865 * expr.c (store_constructor_field): Update ALIGN before calling
3868 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
3870 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
3873 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
3875 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
3878 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
3880 * c-decl.c (start_function): Don't warn on third parameter to main.
3882 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3884 * tsystem.h: Define HAVE_DECL_GETOPT.
3886 2001-01-02 Philip Blundell <pb@futuretv.com>
3888 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
3891 2001-01-02 Richard Henderson <rth@redhat.com>
3893 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
3895 2001-01-02 Andreas Jaeger <aj@suse.de>
3897 * c-decl.c (c_decode_option): Remove support of
3900 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
3901 (W_options): Add -Wmissing-noreturn here.
3903 * flow.c: Define lang_missing_noreturn_ok_p.
3904 (check_function_return_warnings): Use it.
3906 * c-common.h: Declare lang_missing_noreturn_ok_p.
3908 * c-lang.c (c_missing_noreturn_ok_p): New function.
3909 (lang_init): Set lang_missing_noreturn_ok_p.
3911 * invoke.texi (Warning Options): Document this.
3913 2000-12-27 Phil Edwards <pme@sources.redhat.com>
3915 * extend.texi (C++ Extensions): New node for C++ attributes;
3916 describe init_priority and com_interface.
3917 * invoke.texi: Remove -finit-priority as it now has zero effect.
3918 * install.texi: Fix xref syntax.
3919 * md.texi: Likewise.
3921 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3923 * config.gcc (sparc64-wrs-vxworks*): New case.
3924 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
3926 * config/sparc/sparc.c (sparc_override_options): Do support different
3927 pointer and architecture size.
3928 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
3929 (POINTERS_EXTEND_UNSIGNED): Define.
3930 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
3931 (FUNCTION_MODE): Define to be Pmode.
3932 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
3934 * function.c (expand_function_end): Properly handle DECL_RESULT
3935 and copy when ptr_mode != Pmode.
3936 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
3938 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3940 * c-common.c (c_common_nodes_and_builtins): Set prototype
3941 parameters for __builtin_fputs, __builtin_fputc and
3942 __builtin_fwrite. Don't declare plain fputc as a builtin.
3944 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
3946 * loop.c (add_label_notes): Increment the label usage count when
3947 a note is added to an insn which refers to a CODE_LABEL.
3948 * gcse.c (add_label_notes): Likewise.
3950 2001-01-01 Andreas Jaeger <aj@suse.de>
3952 * loop.c (scan_loop): Use xmalloc to allocate movables.
3954 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
3956 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
3957 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
3958 * reload1.c (REGISTER_MOVE_COST): Likewise.
3959 * regclass.c (REGISTER_MOVE_COST): Likewise.
3960 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
3961 dimension. Adjust all users.
3962 (init_reg_sets_1): Iterate on all modes.
3963 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
3964 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
3965 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
3966 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
3967 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
3968 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
3969 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
3970 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
3971 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
3972 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
3973 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
3974 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
3975 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
3976 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
3977 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
3978 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
3979 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
3980 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
3981 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
3982 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
3983 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
3984 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
3985 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
3986 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
3987 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
3988 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
3989 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
3991 2001-01-01 Bernd Schmidt <bernds@redhat.com>
3993 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
3994 arg VARIES_P. Call it with extra arg.
3995 (true_dependence): Likewise.
3996 * rtl.h (rtx_addr_can_trap_p): Declare.
3997 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
3999 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
4000 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
4001 pic offset table register if it's zero. All callers changed.
4002 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
4004 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4006 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
4007 STRING_POOL_ADDRESS_P.
4009 * config/sparc/sparc.c (input_operand): Properly test for short op.
4011 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
4012 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
4013 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
4014 * config/sparc/elf.h: No longer include sol2.h.
4015 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
4016 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
4018 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
4020 2001-01-01 Michael Hayes <mhayes@redhat.com>
4022 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
4023 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
4024 (record_initial): Likewise.
4025 * unroll.c (copy_loop_body, loop_iterations): Likewise.
4026 (remap_split_bivs): Likewise.
4028 2001-01-01 Michael Hayes <mhayes@redhat.com>
4030 * loop.c (loop_ivs_free): New function.
4031 (strength_reduce): Break out from...
4033 2001-01-01 Michael Hayes <mhayes@redhat.com>
4035 * loop.h (struct iv): New.
4036 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
4037 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
4038 'reg_biv_class' fields with 'regs' and 'n_regs'.
4039 (struct ivs): Rename 'loop_iv_list' field to 'list'.
4040 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
4041 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
4043 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
4045 * resource.c (mark_referenced_resources): Abort() before
4046 attempting to mark a pseudo register.
4047 (mark_set_resources): Likewise.
4049 2001-01-01 Michael Hayes <mhayes@redhat.com>
4051 * loop.h (REG_IV_CLASS): New accessor macro.
4052 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
4053 * unroll.c (REG_IV_CLASS): Likewise.
4055 See ChangeLog.4 for earlier changes.