1 2001-02-07 Bernd Schmidt <bernds@redhat.com>
3 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
4 a scheduling barrier at the end.
6 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
8 * config/sh/sh.md (reload_outsf): Removed.
9 (movsf_ie): Introduce constraints for FPUL loads and stores.
10 (reload_insf): Broaden the output constraint.
12 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
14 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
15 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
17 2001-02-06 Chandrakala Chavva <cchavva@redhat.com>
19 * final.c: Revert back my previous changes.
20 * output.h: Make profile_label_no extern.
21 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
24 2001-02-06 Laurynas Biveinis <lauras@softhome.net>
26 * config/i386/djgpp.h: Add comments about standard paths.
27 (MD_EXEC_PREFIX): Undefine before defining.
28 (MD_STARTFILE_PREFIX): New.
30 2001-01-30 Bruce Korb <bkorb@gnu.org>
32 fixinc/fixincl.c(process): Emit error message only if appropriate :)
33 (load_file): do not rely on load_file_data() to close file pointer
34 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
35 fixinc/inclhack.def(irix_limits_const): add test_text
37 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
39 * cppexp.c (parse_defined): Improve diagnostics for invalid
42 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
44 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
46 2001-02-06 Mark Mitchell <mark@codesourcery.com>
48 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
49 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
50 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
51 (rs6000_output_symbol_ref): New function.
52 (output_toc): Use VTABLE_NAME_P.
54 Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
56 * print-tree.c (print_node, case PARM_DECL):
57 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
59 * stor-layout.c (reference_types_internal): New variable.
60 (internal_reference_types): New function.
61 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
62 * tree.h (internal_reference_types): New declaration.
64 * cse.c (find_best_addr): Fix typo in computing cost.
66 Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
68 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
69 and this is the sum of a pointer and a constant, we know the result
71 (num_sign_bit_copies, case PLUS): Likewise.
72 * explow.c (convert_memory_address): Remove opposite SUBREG.
73 * function.c (instantiate_new_reg): New function (from common code).
74 (instantiate_virtual_regs_1): Call it.
75 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
76 if pointers sign- or zero-extend.
77 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
78 If pointers extend unsigned, use inside of SUBREG.
79 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
81 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
83 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
84 subdir of gcc_gxx_include_dir.
85 (gcc_gxx_target_include_dir): Remove.
87 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
89 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
90 (dwarf2out_frame_debug_expr): Revise introductory comments to add
91 a high-level description.
93 2001-02-05 Chandrakala Chavva <cchavva@redhat.com>
95 * final.c: Move the declaration of profile_label_no to ...
97 * function.c (expand_function_start): Call PROFILE_HOOK.
98 * config/rs6000/aix.h: Define PROFILE_HOOK.
99 * config/rs6000/rs6000-protos.h: output_profile_hook new.
100 * config/rs6000/rs6000.c (output_profile_hook): Define.
101 (output_prolog): Do nothing for ABI_AIX as it is taken care by
103 tm.texi : Explain new macro PROFILE_HOOK.
105 2001-02-06 Hans-Peter Nilsson <hp@axis.com>
107 * extend.texi (Extended Asm): Do not say that semicolon is always
108 a valid line-breaking character for GNU assemblers. Use
109 newline-tab as the most commonly supported syntax. Use
110 newline-tab rather than semicolon in multi-insn examples.
112 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
114 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
116 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
117 David Edelsohn <edelsohn@gnu.org>
119 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
120 code for AIX, even without flag_pic.
122 2001-02-05 Jakub Jelinek <jakub@redhat.com>
124 * c-typeck.c (common_type): push and pop binding level around
125 calling common_type on function parameters.
127 Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
129 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
131 Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
133 * config/mips/mips.c (override_options): Fix typo in last change.
134 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
135 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
137 2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
139 * invoke.texi (-fdump-class-layout): Document.
140 (-fdump-translation-unit): Use `=' as filename separator.
142 2001-02-05 Mark Mitchell <mark@codesourcery.com>
144 * Makefile.in (s-mlib): Don't build multilibs if
146 (DRIVER_DEFINES): Adjust accordingly.
148 (protoize.o): Likewise.
149 (unprotoize.o): Likewise.
150 * configure.in: Recognize --enable-multilib.
152 2001-02-04 Mark Mitchell <mark@codesourcery.com>
154 * Makefile.in (DRIVER_DEFINES): Fix quoting.
156 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
157 * configure.in: Remove --enable-libstdcxx_v3 support.
158 * configure: Regenerated.
160 Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
162 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
163 Call abort instead of fatal.
164 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
165 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
166 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
167 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
168 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
169 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
171 * diagnostic.h (set_internal_error_function): Renamed.
172 * toplev.h (internal_error): Renamed from fatal.
173 (pfatal_with_name): Deleted.
174 (fatal_io_error): Now has printf-style arguments.
175 * diagnostic.c (pfatal_with_name): Deleted.
176 (fatal_io_error): Rework to have args in printf-style.
177 (set_internal_error_function): Renamed from set_fatal_function.
178 (internal_error): Renamed from fatal.
179 (error_recursion, fancy_abort): Call internal_error instead of fatal.
180 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
181 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
182 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
183 * flow.c (verify_flow_info): Likewise.
184 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
185 * config/mips/mips.c (save_restore_insns): Likewise.
187 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
188 * flow.c (verify_flow_info): Likewise.
189 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
190 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
191 (avr_normalize_condition): Likewise.
192 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
193 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
194 (limit_reload_class, double_reg_to_memory): Likewise.
195 (print_operand_address, emit_1600_code_shift): Likewise.
196 (gen_tst_reg, gen_compare_reg): Likewise.
197 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
198 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
200 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
202 * c-parse.in (methoddef): Call fatal_error instead of fatal.
203 * objc/objc-act.c (build_ivar_chain): Likewise.
204 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
206 * graph.c (clean_graph_dump_file): Likewise.
207 * profile.c (init_branch_prob): Likewise.
208 * objc/objc-act.c (objc_init): Likewise.
210 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
211 * config/avr/avr.c (avr_override_options): Likewise.
212 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
213 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
214 * config/h8300/h8300.c (h8300_init_once): Likewise.
215 * config/mips/mips.c (override_options): Likewise.
216 * config/i386/i386.c (override_options): Likewise, rework.
217 * config/m68k/m68k.c (override_options): Likewise.
219 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
221 * config/mips/mips.c (print_operand): Likewise.
222 * hash.c (hash_allocate): Don't check for failure returns from
223 obstack functions that can't fail.
224 (hash_table_init_n, hash_table_init): Likewise; also now return void.
225 * hash.h (hash_table_init_n, hash_table_init): Now return void.
226 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
227 (get_object_reference): Likewise.
229 2001-02-04 Nick Clifton <nickc@redhat.com>
231 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
232 StrongARM1110, 10TDMI, and 1020T.
234 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
236 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
238 2001-02-04 Alexandre Oliva <aoliva@redhat.com>
240 * config/sh/sh.md (movdf load split): Pass register number to
243 2001-02-04 Mark Mitchell <mark@codesourcery.com>
245 * cppinit.c (BC): New macro.
246 (builtin_array): Add __GXX_WEAK__.
247 * cpplib.h (builtin_type): Add BT_WEAK.
248 * cppmacro.c (builtin_macro): Handle BT_WEAK.
249 * defaults.h (SUPPORTS_ONE_ONLY): Define.
250 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
252 2001-02-03 Jakub Jelinek <jakub@redhat.com>
254 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
256 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
258 * cpphash.h: Rename _ALIGN POOL_ALIGN.
259 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
261 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
263 * cpphash.h: Rename ALIGN _ALIGN.
264 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
266 Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
268 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
269 compilation environment.
270 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
271 control over location of cygwin includes and libs.
273 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
275 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
277 2001-02-02 lars brinkhoff <lars@nocrew.org>
279 * md.texi (Standard Names): remove reference to spur.md.
281 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
283 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
284 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
285 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
286 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
287 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
289 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
291 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
292 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
293 number before reload.
294 (c4x_adjust_cost): Return zero before reload.
295 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
298 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
300 * c4x.c (c4x_hard_regno_rename_ok): New.
301 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
302 * c4x.h (HARD_REGNO_RENAME_OK): Define.
304 Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
306 * diagnostic.h: Add missing "extern" in all declarations.
308 2001-02-02 Alex Samuel <samuel@codesourcery.com>
310 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
311 as for gcc_gxx_include_dir.
313 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
315 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
317 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
319 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
320 label before alignment to be used as the braf base address.
321 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
323 (casesi_jump_2): Require at least TARGET_SH2.
325 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
326 truncation to 32-bit doubles on -m3e and -m4-single-only.
328 2001-02-02 Mark Mitchell <mark@codesourcery.com>
330 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
331 the default when building a shared object.
333 * testsuite/lib/g++.exp: Include the directory where libgcc
334 is located to the LD_LIBRARY_PATH list.
335 * invoke.texi (-shared-libgcc): Document the cases in which
336 GCC defaults to using the shared libgcc.
338 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
340 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
341 unsigned is wide enough.
343 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
344 (si_to_float): Likewise.
345 (float_to_si, float_to_usi): Use BITS_PER_SI.
347 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
349 * dwarf2out.c: Added explanation of abbreviations.
350 (def_cfa_1): Added comments listing DWARF2 instructions.
351 (cfa_temp_reg): Removed in favor of cfa_temp.
352 (cfa_temp_value): Removed in favor of cfa_temp.
353 (cfa_temp): New global variable.
354 (dwarf2out_frame_debug_expr): Added extensive introductory
355 comments explaining the function's transformations. Revised to
356 use cfa_temp. Added some rtx checking. Generalize IOR case.
357 (dwarf2out_frame_debug): Revised to use cfa_temp.
358 (output_aranges): Cast as "unsigned" to avoid warning.
359 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
360 explain which instructions must be marked.
362 2001-02-01 Richard Henderson <rth@redhat.com>
364 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
367 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
369 * config/sh/crt1.asm (main_k): Modified so that start calls
370 ___setup_argv_and_call_main.
372 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
374 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
375 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
376 and AVOID_LPASTE is cleared on meeting an unescaped newline.
377 * cppmacro.c (builtin_macro): Set builtin flags here.
378 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
379 (replace_args): Clarify intent.
380 (cpp_get_token): Macro expansion tokens get the saved flags.
382 * cppmain.c (scan_buffer): Remove now-redundant print.printed
385 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
387 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
390 Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
392 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
393 returns Pmode pseudo, but we need ptr_mode.
394 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
395 Remove bogus conversions; use HOST_WIDE_INT for size.
396 Don't use TARGET if wrong mode.
398 * config/i386/i386.c (ix86_compute_frame_size): Allow
399 stack_alignment_needed to be non-default even if size is zero.
401 2001-01-31 Alan Modra <alan@linuxcare.com.au>
403 * (hppa_init_pic_save): Emit the pic offset table
404 reg save after last_parm_insn.
405 * pa.c (hppa_init_pic_save): New function.
406 * pa.h (hppa_init_pic_save): Declare.
407 * pa.md (call, call_value, sibcall, sibcall_value): Use
408 the above instead of duplicated code.
410 * pa.c (hppa_encode_label): Correct size of alloca buffer
411 so we don't overrun it. Correct leading `*' case.
412 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
414 (FUNCTION_NAME_P): Likewise.
416 2001-01-31 Richard Henderson <rth@redhat.com>
418 * config.gcc (alpha-osf5): Use float-i128.h.
420 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
421 * config/float-i32.h: Likewise.
422 * config/float-i64.h: Likewise.
423 * config/float-sh.h: Likewise.
424 * config/float-sparc.h: Likewise.
426 2001-01-31 DJ Delorie <dj@redhat.com>
428 * expmed.c (extract_bit_field): allow non-integral modes if we
429 want to extract a whole register from itself.
431 2001-01-31 Jakub Jelinek <jakub@redhat.com>
433 * c-typeck.c (set_init_index): If first is equal to last, assume as
434 if it was not a range at all.
436 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
438 * config/fp-bit.c: Include tm.h.
439 (float_to_si): Don't assume SImode is 32-bits wide.
440 (float_to_usi): Likewise.
442 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
444 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
446 (typename): Call pending_xref_error after parsing typed_typespecs.
447 * c-decl.c (lookup_tag): Give error immediately rather than
448 leaving it pending if the tag of the wrong type is in the same
450 (xref_tag): Don't pedwarn for forward declarations of enum types
452 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
455 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
457 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
459 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
461 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
462 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
464 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
466 * cpphash.h (struct cpp_reader): New saved_flags.
467 * cppmacro.c (cpp_get_token): Use saved_flags to remember
468 to avoid a paste after a pasted token.
470 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
472 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
473 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
474 Wtype_MIN instead of LONG_MIN.
476 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
478 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
480 * fixinc/fixincl.x: Regenerated.
481 * fixinc/inclhack.def (irix_limits_const): New definition to
482 convert "const" to "__const" in limits.h.
484 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
486 * fixinc/genfixes (AG): Fix "autogen4" thinko.
488 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
490 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
491 when register dies in the insn.
493 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
495 * diagnostic.c (fatal): Fix word wrap.
497 2001-01-30 Alexandre Oliva <aoliva@redhat.com>
499 * combine.c (try_combine): Fix SUBREG setting for
500 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
502 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
504 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
507 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
509 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
511 * toplev.c (decode_W_option): Update warn_larger_than
512 unconditionally for each processed switch.
514 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
516 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
518 (hppa_expand_prologue): Delete code to save pic offset table register
519 in the function prologue.
520 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
521 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
522 table register at the beginning of the function after the prologue.
524 2001-01-29 lars brinkhoff <lars@nocrew.org>
526 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
528 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
529 Jeff Law <law@redhat.com>
531 * pa.md (return): Revise comment for trivial return.
532 (return_internal): Non-trivial return pattern for non-PIC code.
533 (return_internal_pic): Non-trivial return pattern for PIC code.
534 It uses the PIC register to ensure it is restored after
536 (epilogue): Generate appropriate return for PIC and non-PIC code.
538 Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
540 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
542 2001-01-29 DJ Delorie <dj@redhat.com>
544 * combine.c (if_then_else_cond): Pass the correct mode to
545 operand_subword() for constants.
547 Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
549 * config/i386/cygwin.h: Add w32api to include search. Search different
550 directories in a cross-build environment.
552 2001-11-29 Tim Josling <tej@melbpc.org.au>
554 * tree.h (TYPE_STUB_DECL): Add documentation.
556 2001-11-29 Laurynas Biveinis <lauras@softhome.net>
558 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
559 (sdbout_field_types): Likwise. Fix use of host_integerp.
561 2001-01-29 Thomas Pfaff <tpfaff@gmx.net>
563 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
566 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
568 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
569 to use flag_gnu_linker.
571 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
573 * cpplib.c (T_BAD_DIRECTIVE): Remove.
574 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
576 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
578 * tree.c, tree.h (build_parse_node): Remove; was identical to
580 * c-lang.c (start_cdtor), objc/objc-act.c
581 (build_module_descriptor): Use build_nt instead of
584 2001-01-29 Jakub Jelinek <jakub@redhat.com>
586 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
587 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
588 not have any upper bits set.
590 2001-01-29 Phil Edwards <pme@sources.redhat.com>
592 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
594 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
596 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
598 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
600 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
601 (integer_minus_one_node): Define.
603 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
605 * Makefile.in (bootstrap2-lean): Fix typo.
607 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
609 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
610 : Don't set fe_value.
611 * cpplib.h (AVOID_LPASTE): New flag.
612 (struct cpp_hashnode): Remove fe_value.
613 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
614 * cppmacro.c (builtin_macro): Don't set flags here.
615 (replace_args): Set AVOID_LPASTE flag on first token of an
616 argument, and the token following it.
617 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
618 macro expansion, and on the token following it. Do it for
620 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
622 2001-01-27 Richard Henderson <rth@redhat.com>
624 * config/alpha/t-ieee: Remove multilibbing.
625 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
627 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
629 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
631 * Makefile.in: Remove all dependencies on defaults.h.
632 * builtins.c: Don't include defaults.h.
633 * c-common.c: Likewise.
634 * c-decl.c: Likewise.
635 * c-pragma.c: Likewise.
636 * c-typeck.c: Likewise.
637 * combine.c: Likewise.
639 * frame-ia64.c: Likewise.
640 * cppexp.c: Likewise.
641 * crtstuff.c: Likewise.
642 * dbxout.c: Likewise.
643 * dwarf2out.c: Likewise.
644 * dwarfout.c: Likewise.
645 * emit-rtl.c: Likewise.
646 * except.c: Likewise.
649 * frame-dwarf2.c: Likewise.
650 * libgcc2.c: Likewise.
651 * optabs.c: Likewise.
652 * profile.c: Likewise.
653 * sdbout.c: Likewise.
654 * toplev.c: Likewise.
655 * tradcif.y: Likewise.
657 * varasm.c: Likewise.
659 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
661 * builtins.c (expand_builtin_fputs): Use size_one_node when
662 transforming into fwrite.
664 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
666 * extend.texi (Attribute Syntax): New section.
668 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
670 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
671 they didn't need fixing.
673 2001-01-27 Janis Johnson <janis@us.ibm.com>
675 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
677 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
678 to remove macro definitions that are duplicated from elfos.h.
680 2001-01-27 Richard Henderson <rth@redhat.com>
682 * config/i386/sco5gas.h: Move ...
683 * config/usegas.h: ... here.
684 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
686 2001-01-27 Jakub Jelinek <jakub@redhat.com>
688 * c-typeck.c (struct constructor_stack): Add range_stack member.
689 (really_start_incremental_init): Clear it.
690 (push_init_level): Save constructor_range_stack and clear it if
691 pushing explicit braces.
692 (pop_init_level): abort if constructor_range_stack is non-zero at
693 explicit closing brace. Restore saved constructor_range_stack if
696 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
698 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
699 into register was forced into memory.
701 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
703 * Makefile.in: Remove uses of + before $(MAKE).
705 2001-01-26 Richard Henderson <rth@redhat.com>
707 * stmt.c (cost_table): Remove.
708 (COST_TABLE, cost_table_initialized): New.
709 (estimate_case_costs): Use the later instead of the former.
710 (balance_case_nodes): Likewise.
712 2001-01-26 Richard Henderson <rth@redhat.com>
714 * alias.c (objects_must_conflict_p): Read-only slots may not
715 conflict despite having the same type.
717 2001-01-27 Michael Hayes <mhayes@redhat.com>
719 * loop.c (loop_giv_reduce_benefit): Copy mode size into
721 (check_ext_dependant_givs): Initialise u_start_val and
723 (load_mems): Make last_max_reg unsigned.
724 (try_swap_copy_prop): Use INSN_P and initialise set.
726 Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
728 * README.AVR : Removed.
730 Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
732 * pa-64.h (text_section): Remove declaration.
734 * pa.md (return_internal): Remove mode on PIC register use.
736 2001-01-25 lars brinkhoff <lars@nocrew.org>
738 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
739 ASM_CLOSE_PAREN): fix typos.
741 2001-01-25 Mark Mitchell <mark@codesourcery.com>
743 * acconfig.h: Define `const' to the empty string if neither
744 __STDC__ nor __cplusplus is defined.
745 * config.in: Regenerated.
747 2001-01-25 David Edelsohn <edelsohn@gnu.org>
749 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
750 * collect2.c (main): Delete importf. Add ".obj" file extension.
751 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
752 (aix_std_libs): Add additional AIX libraries to skip.
753 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
754 * config/rs6000/aix51.h: New file.
756 2001-01-25 Michael Hayes <mhayes@redhat.com>
758 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
759 (loop_insn_emit_before): No longer static.
760 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
761 (loop_givs_rescan, load_mems): Likewise.
762 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
763 (maybe_eliminate_biv_1):
764 (move_movables): Replace emit_call_insn_before with
765 loop_call_insn_hoist.
766 * loop.h (loop_insn_emit_before): Add.
767 * unroll.c (copy_loop_body): Replace emit_insn_before with
768 loop_insn_emit_before.
770 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
772 * diagnostic.c (fatal): Request preprocessed source.
774 Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
776 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
777 olddecl has argument types and newdecl has none, use the argument
780 2001-01-24 Ulrich Drepper <drepper@redhat.com>
782 * dwarf2out.c (prefix_of): New function. Determine longest common
783 prefix of the two arguments. The units are whole path components.
784 (output_file_names): When adding a new directory find the one entry
785 with the longest common prefix already in the list. Artificially
786 generate entry if there is none for this prefix.
787 Fix test to check whether the zeroth directory entry is used.
789 Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
791 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
792 Changed all callers. Take it into account when deciding if a
793 previously loaded value matches.
795 2001-01-24 Richard Henderson <rth@redhat.com>
797 * reload.c (find_reloads_subreg_address): Fail the substitution
798 if the resulting address is insufficiently aligned.
800 2001-01-24 DJ Delorie <dj@redhat.com>
802 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
803 check the original operand's mode also.
804 * simplify-rtx.c (simplify_ternary_operation): Ditto.
806 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
808 * c-parse.in (cast_expr): Move compound literals from here ...
809 (primary): ... to here. Use standard terminology "compound
810 literal" instead of "constructor expression".
812 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
814 * gcc.1, cpp.1: Regenerate.
816 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
818 * calls.c (emit_library_call_value_1): Memory slot for
819 pass-by-reference argument should have the mode of the argument,
820 not of the pointer to it.
822 2001-01-24 Tom Tromey <tromey@redhat.com>
824 * gcc.texi (G++ and GCC): Mention gcj manual.
825 (Standards): Link to section of manual mentioning gcj/Java
828 2001-01-24 Jakub Jelinek <jakub@redhat.com>
830 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
831 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
832 * tradcpp.c (main): Add -imacros or -include'd dependencies
834 * cpp.texi (-M, -MM): Document -M -include behaviour.
836 2001-01-24 Roger Collins <roger@ProProject.com>
838 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
840 2001-01-24 Will Cohen <wcohen@redhat.com>
842 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
843 whether registers are 32 bits or 64 bits in size.
845 2001-01-24 Ben Elliston <bje@redhat.com>
847 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
849 2001-01-24 Richard Henderson <rth@redhat.com>
851 * config/alpha/alpha.md (builtin_longjmp_internal): New.
852 (builtin_longjmp): Use it instead of emit_indirect_jump.
854 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
856 * bb-reorder.c (make_reorder_chain_1): Handle case where
857 jump edge goes to the same block as the fallthru edge.
859 2001-01-23 Jim Wilson <wilson@redhat.com>
861 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
862 * frame.h (__ia64_personality_v1): Add prototype.
863 * libgcc2.c (ia64_throw_helper): Change personality declaration to
864 prototype form. Add void * cast to first argument to personality
866 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
867 (asctoe113): Likewise.
868 * config/ia64/frame-ia64.c: Include eh-common.h.
869 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
871 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
873 (itanium_split_issue): Add prototype.
874 (gen_nop_type): Ifdef out.
875 (find_best_packet): Initialize best_packet.
876 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
878 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
879 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
880 (flushrs): Add explicit stop bit at end.
881 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
884 2001-01-23 Chris Demetriou <cgd@broadcom.com>
886 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
888 * libgcc2.c (__terminate_func): Make variable static.
889 (__terminate_set_func): New function to set __terminate_func.
890 * libgcc2.h (__terminate_func_ptr): New typedef.
891 (__terminate_set_func): New function.
893 2001-01-23 Richard Henderson <rth@redhat.com>
895 * flow.c (init_propagate_block_info): Don't consider unchanging
896 memories for dead frame store elimination.
898 2001-01-23 Richard Henderson <rth@redhat.com>
900 * varasm.c (UNIQUE_SECTION): Move default implementation ...
901 * defaults.h: ... here.
903 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
905 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
907 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
909 * c-lex.c (lex_charconst): Fix typo: s/p/str.
911 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
913 * rs6000.h (rs6000_return_addr): Move prototype from here...
914 * rs6000-protos.h (rs6000_return_addr): ...to here.
915 (rs6000_init_expanders): Delete prototype.
917 2001-01-23 Nick Clifton <nickc@redhat.com>
919 * invoke.texi: Replace , with \, inside @gccoptlist macros.
920 (Spec Files): Document %B and %j and %. and %v3 and %M and
921 %{S*&T} spec switches.
923 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
925 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
927 2001-01-23 Chris Demetriou <cgd@sibyte.com>
928 Neil Booth <neil@daikokuya.demon.co.uk>
930 * cpperror.c: Merge handlers of PEDWARN and WARNING.
931 Have -Werror make pedantic warnings errors, like the
934 2001-01-23 Phil Edwards <pme@sources.redhat.com>
936 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
938 2001-01-23 Jakub Jelinek <jakub@redhat.com>
940 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
941 * integrate.c (expand_inline_function): Initialize them.
942 (subst_constants): If changing COMPARE so that both its arguments
943 will be VOIDmode and the comparison mode will be lost, note
944 compare_mode. Use the recorded compare_mode to optimize
947 2001-01-23 Jason Merrill <jason@redhat.com>
949 * dwarf2out.c (new_die): Use xcalloc.
950 (output_die): Abort rather than emit a local reference to offset 0.
952 2001-01-17 Andrew Haley <aph@redhat.com>
954 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
955 of a saved register; return NULL instead.
956 (copy_reg): Take a pointer to a source register rather than a
958 (next_stack_level): Remember the address in the stack frame of all
960 Use the saved register pointer array as the source of the CFA.
961 (throw_helper): Rewrite. Unwind once rather than twice and keep
962 track of saved registers as we go.
964 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
966 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
967 * c4x.c (c4x_legitimize_reload_address): Remove.
968 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
969 reload address for ldp(k) insn.
971 Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
973 * pa.md (return_internal): Add a USE of the PIC register to ensure
974 it is restored after each call.
975 (return expander): Corresponding changes.
977 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
979 * rs6000.h (INIT_EXPANDERS): Delete.
980 (RETURN_ADDR_RTX): Call rs6000_return_addr().
981 * rs6000.c (rs6000_override_options): Call *_machine_status from
983 (rs6000_init_expanders): ...instead of here. Delete.
984 (rs6000_mark_machine_status): New function.
985 (rs6000_init_machine_status): Use xcalloc.
986 (rs6000_return_addr): Generate RTX for the return address.
987 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
988 (rs6000_stack_info): Use it.
990 2001-01-22 Thomas Pfaff <tpfaff@gmx.net>
992 * gthr-win32.h: Include errno.h to get a declaration for
993 EINVAL and _mingw.h if the target is mingw32.
995 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
997 * cpp.texi: Correct typos.
999 Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1001 * explow.c (probe_stack_range): Ensure value passed to
1002 stack_check_libfunc is ptr_mode, not Pmode.
1004 Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
1006 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
1007 case, don't use operand_subword to calculate a SUBREG that is
1010 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
1012 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1014 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
1015 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
1016 valid. If not replace it by equivalent insns.
1018 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1020 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
1021 contains SYMBOL_REF, LABEL_REF and CONST_INT.
1022 (c4x_U_constraint, symbolic_address_operand): Likewise.
1023 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
1025 (c4x_r11_set_p, c4x_check_laj_p): New functions.
1026 * c4x-protos.h (c4x_check_laj_p): Add prototype.
1027 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
1028 anulling slot because of silicon bug.
1029 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
1031 2001-01-22 Alan Modra <alan@linuxcare.com.au>
1033 * cppexp.c (parse_charconst): Change `mask' type to agree
1036 2001-01-21 Richard Henderson <rth@redhat.com>
1038 * config/i386/i386.c (ix86_asm_file_end): Disable putting
1039 pic_label_name in a linkonce section.
1041 2001-01-17 Philipp Thomas <pthomas@suse.de>
1043 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
1045 * configure: Regenerate.
1047 Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
1049 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
1050 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
1052 Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
1054 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
1055 If REVERSE nonzero then condition code in X must be reversed.
1056 (encode_section_info): Optimise if/else.
1057 (avr_function_value): Fix formatting.
1059 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
1060 (difficult_branch): Likewise.
1061 (rvbranch): Likewise.
1062 (difficult_rvbranch): Likewise.
1064 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
1066 * config/avr/libgcc.S: Fix comment.
1068 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1070 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
1072 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1074 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
1076 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1078 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
1079 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
1080 * configure, config.in: Regenerate.
1081 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
1082 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
1083 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
1084 (doprint.o): New rule.
1086 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
1088 * c-typeck.c (digest_init): Handle boolean types as scalars.
1090 Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1092 * stmt.c (expand_return): Don't return anything if size is zero.
1093 Delete redundant assignment to BYTES.
1094 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
1096 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
1098 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
1099 the same as the default library function names.
1100 * config/avr/avr.md: Document special characters after '%'.
1101 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
1102 knowing which of the call-used registers are really clobbered.
1103 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
1104 New. Both quotient and remainder from one libgcc.S call.
1105 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
1106 clobber as few registers as possible.
1107 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
1109 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
1111 * cppmacro.c (funlike_invocation_p): Don't move back up to the
1112 context of the top of the stack.
1114 2001-01-20 Jakub Jelinek <jakub@redhat.com>
1116 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
1117 (fixup_var_refs_insns): ...here.
1119 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
1121 * function.c (fixup_var_refs_insns): Break up into
1122 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
1123 [loop over entire insn list], and fixup_var_refs_insns_with_hash
1124 [loop over hash table entries].
1125 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
1126 fixup_var_refs_insns_with_hash, to match above changes.
1128 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1130 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
1131 (libgcc.a): Likewise.
1132 (stmp-multilib): Likewise.
1133 (STAGE2_FLAGS_TO_PASS): Likewise.
1135 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1137 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
1138 temporary if no_new_pseudos.
1140 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
1142 * cppinternals.texi: Update.
1144 2001-01-19 Richard Earnshaw <rearnsha@arm.com>
1146 * arm.c (arm_init_builtins): Re-enable builtins.
1148 Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1150 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
1151 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
1152 element to be null, and always expect an EXPR_LIST.
1153 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
1154 * sched-deps.c (sched_analyze_1): Likewise.
1155 * sched-rgn.c (check_live_1, update_live_1): Likewise.
1157 * regclass.c (max_set_parallel): New variable.
1158 (reg_scan): Take it into account in computation of max_parallel.
1159 (reg_scan_mark_refs, case SET): Compute it.
1161 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
1163 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
1164 * function.c (assign_parms): Use INTVAL for a CONST_INT.
1166 2001-01-19 Jason Merrill <jason@redhat.com>
1168 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
1169 for the abstract instance of an inline function.
1171 Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
1172 J"orn Rennecke <amylaar@redhat.com>
1174 * reload1.c (move2add_note_store): Treat all registers directly or
1175 indirectly derived from a base register as members of the same set
1177 (reload_cse_move2add): Adjust accordingly. Take mode and offset
1178 of base register into account.
1180 Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
1182 * alias.c (find_base_value): Recognize TRUNCATE.
1183 (record_set): In PLUS case, invalidate if other summand is also a
1186 Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1188 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
1189 entry to be EXPR_LIST.
1190 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
1191 be an EXPR_LIST (but not null, which other code doesn't allow).
1192 (note_stores): Properly handle PARALLEL in SET.
1193 Recursively call for top-level PARALLEL.
1194 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
1195 * sched-rgn.c (check_live_1, update_live_1): Likewise.
1197 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
1199 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
1201 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
1202 not pfile->skipping (== 0).
1204 2001-01-17 Nick Clifton <nickc@redhat.com>
1206 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
1209 2001-01-17 Jim Wilson <wilson@redhat.com>
1211 * invoke.texi (IA-64 options): Improve.
1213 2001-01-17 Tom Tromey <tromey@redhat.com>
1215 * invoke.texi (Optimize Options): Use `{}' to around @samp
1218 2001-01-17 Aldy Hernandez <aldyh@redhat.com>
1220 * invoke.texi (-fno-guess-branch-probability): New option.
1222 Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1224 * combine.c (try_combine): Don't set i3_subst_into_i2 for
1225 case of making new double-word constant.
1226 Revert last change: instead just test i3_subst_into_i2.
1228 2001-01-17 Jakub Jelinek <jakub@redhat.com>
1230 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
1231 Use q constraints instead of r.
1233 Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
1235 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
1236 (machine_function): Define.
1237 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
1238 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
1239 pa_free_machine_status): New functions.
1240 (override_options): Set {init,mark,free}_machine_status to above.
1241 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
1242 PIC_OFFSET_TABLE_REGNUM_SAVED.
1243 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
1244 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
1245 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
1246 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
1247 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
1249 2001-01-15 DJ Delorie <dj@redhat.com>
1251 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
1255 Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1257 * flow.c (propagate_on_insn): Make trying to delete a prologue
1258 or epilogue insn an ICE, not a warning. Allow doing this if
1259 the current function returns with stack pointer depressed.
1261 * combine.c (try_combine): If i3_subst_into_i2, properly check for
1262 I3 having more than one SET.
1264 2001-01-16 Jim Wilson <wilson@redhat.com>
1266 * invoke.texi: Document IA-64 options.
1268 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
1269 (fixup_errata): Delete TARGET_A_STEP use.
1270 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
1271 (TARGET_SWITCHES): Delete -ma-step option.
1272 * config/ia64/ia64.md (all FP patterns): Delete %B0.
1273 (movqicc_astep, movqi_internal_astep, movhicc_astep,
1274 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
1275 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
1276 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
1277 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
1279 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
1280 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
1281 cmovsi_internal): Delete ! TARGET_A_STEP check.
1283 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1285 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
1286 possibility to report bugs via postal mail. Change a URL and
1287 merge in a nearly duplicate statement...
1288 (Bug Reporting): ...from here.
1289 (Service): Refer to the Bug Reporting section instead of
1291 (Contributing): Remove trivial explanations concerning snapshots.
1293 2001-01-16 Alan Modra <alan@linuxcare.com.au>
1295 * cppmain.c (general_init): Don't use ANSI prototype.
1297 2001-01-16 Tom Tromey <tromey@redhat.com>
1299 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
1301 2001-01-16 Richard Henderson <rth@redhat.com>
1303 * config/i386/i386.h: Fix comment typo.
1304 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
1305 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
1307 2001-01-16 Phil Edwards <pme@sources.redhat.com>
1309 * gcc.c: Revert previous -fsyntax-only-related change; move
1312 2001-01-16 Jakub Jelinek <jakub@redhat.com>
1314 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
1315 inmode after checking GET_CODE (op).
1317 2001-01-16 Richard Henderson <rth@redhat.com>
1319 * flow.c (struct propagate_block_info): Add mem_set_list_len.
1320 (MAX_MEM_SET_LIST_LEN): New.
1321 (propagate_one_insn): Update mem_set_list_len.
1322 (invalidate_mems_from_autoinc): Likewise.
1323 (invalidate_mems_from_set): Likewise.
1324 (mark_used_regs): Likewise.
1325 (init_propagate_block_info): Likewise. Stop collecting memories
1326 when we reach MAX_MEM_SET_LIST_LEN.
1327 (mark_set_1): Likewise.
1329 2001-01-16 Richard Henderson <rth@redhat.com>
1331 * unroll.c (precondition_loop_p): Fail if no iteration
1334 2001-01-16 Phil Edwards <pme@sources.redhat.com>
1336 * gcc.c: When -fsyntax-only is given, do not complain about
1339 2001-01-15 Richard Henderson <rth@redhat.com>
1341 * config/i386/i386.c (asm_output_function_prefix): Remove.
1342 (ix86_asm_file_end): New.
1343 (load_pic_register): Generate pic_label_name into a
1344 staticly allocated buffer.
1345 * config/i386/i386-protos.h: Update.
1346 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
1347 (ASM_FILE_END): New.
1348 * config/i386/i386afe.h: New file.
1349 * config.gcc (i?86-*-elf) [tm_file]: Use it.
1350 (i?86-*-{freebsd,linux*,moss*}): Likewise.
1351 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
1352 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
1353 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
1354 * config/i386/sco5.h (ASM_FILE_END): Likewise.
1355 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
1357 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1359 * Makefile.in (install-man): Remove explicit dependency on
1362 * configure.in, configure: Revert previous patch requiring perl
1365 2001-01-12 Aldy Hernandez <aldyh@redhat.com>
1367 * toplev.c (flag_guess_branch_prob): New.
1368 (f_options): Add guess-branch-probability option.
1369 (rest_of_decl_compilation): Only estimate branch probability if
1371 (main): set flag_guess_branch_prob.
1373 * flags.h (flag_guess_branch_prob): New.
1375 2001-01-15 DJ Delorie <dj@redhat.com>
1377 * gcc.texi (Makefile): Add documentation for Makefile targets.
1379 2001-01-15 Philip Blundell <philb@gnu.org>
1381 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
1383 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
1384 (is_pic): Delete declaration.
1385 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
1386 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
1387 * config/arm/arm.md (builtin_setjmp_receiver): New.
1389 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1391 * arm.c (use_return_insn): Don't try to determine the function type
1392 until after reload has completed.
1393 (arm_output_epilogue): Don't adjust the sp value recovered from the
1395 (emit_multi_reg_push): Don't record dwarf information for the pc.
1396 * arm.md (eh_epilogue): The function type may have changed, so it
1397 needs to be recalculated.
1398 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
1399 unwind tables on arm/netbsd.
1401 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1403 * arm.md (cbranchsi4): Correct calculation of branch ranges.
1404 (negated_cbranchsi4): Likewise.
1406 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
1408 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
1409 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
1410 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
1411 pass -mapcs-* options to assembler.
1412 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
1413 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
1414 (ASM_SPEC): Call subtarget_extra_asm_spec.
1416 2001-01-15 Andreas Jaeger <aj@suse.de>
1418 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
1420 (ix86_expand_builtin): Likewise.
1422 * gencodes.c (output_predicate_decls): Make i size_t to avoid
1423 warning about comparison between signed and unsigned.
1425 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
1427 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
1429 2001-01-14 Ralf Baechle <ralf@gnu.org>
1431 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
1432 SUBTARGET_CPP_SPEC apropriatly.
1434 2001-01-12 Mark Mitchell <mark@codesourcery.com>
1436 * varasm.c (make_decl_rtl): Fix typo in last change.
1438 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
1440 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
1441 linker supports the init_priority C++ attribute.
1442 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
1443 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
1444 linker does not support init_priority C++ attribute.
1446 Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
1448 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
1450 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
1452 * c-parse.in (finish_parse): Add comment about cpp_destroy.
1453 * cp/lex.c (finish_parse): Similarly.
1454 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
1455 Return the number of errors encountered.
1456 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
1457 * cppmain.c (main): Don't call cpp_destroy.
1459 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1461 * configure.in: Require at least perl 5.6.0 to regenerate
1463 * configure: Regenerate.
1465 2001-01-14 Richard Henderson <rth@redhat.com>
1467 * genrecog.c (DT_veclen_ge): New.
1468 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
1469 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
1470 (nodes_identical_1): Handle DT_veclen_ge.
1471 (write_cond, debug_decision_2): Likewise.
1473 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
1475 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
1477 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
1479 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
1481 * cppmain.c (do_preprocessing): New function; most of the old
1483 (main): Call it to do most of the work.
1484 (cb): Move from global scope to set_callbacks ().
1485 (setup_callbacks): Get the callback pointer.
1486 (general_init, printer_init): Clean up code and comments.
1488 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
1490 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
1493 2001-01-14 Kazu Hirata <kazu@hxi.com>
1495 * config/h8300/h8300.c (get_shift_alg): Update comments.
1497 Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1499 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
1500 (alloc_page, ggc_alloc): Add casts to remove warnings.
1502 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
1504 * combine.c (simplify_comparison): Don't change `code' when
1505 can't reverse comparison.
1507 2001-01-14 Richard Henderson <rth@redhat.com>
1509 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
1510 update all call sites. Return true for all non-label constants.
1512 Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
1514 * i386.c (ix86_expand_compare): Add bypass_test and second_test
1516 (ix86_expand_branch): Update.
1517 (ix86_expand_setcc): Update to handle multiple test conditions.
1518 (expand_int_movcc): Likewise.
1519 (expand_fp_movcc): Likewise.
1520 * i386-protos.h (ix86_expand_compare): New.
1521 * i386.md (andqi_?_slp, orqi_?_slp): New.
1522 (conditional trap expander): Update call to ix86_expand_compare.
1524 2001-01-14 Richard Henderson <rth@redhat.com>
1526 * config/vax/vax.md: Use nonimmediate_operand instead of
1527 general_operand in destinations.
1529 * config/vax/vax.md (indirect_jump): Use register_operand.
1531 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
1532 * config/vax/vax.md (call_pop): Turn into an expander.
1533 (call_value_pop): Likewise.
1534 (call, call_value): New.
1536 2001-01-14 Andreas Jaeger <aj@suse.de>
1538 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
1540 (ix86_fp_compare_mode): Add unused attribute.
1541 (ix86_expand_fp_movcc): Remove unused variable.
1542 (ix86_expand_builtin): Make fcode unsigned.
1544 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
1545 (expand_expr): Add cast to avoid signed warning.
1546 (store_field): Likewise.
1547 (store_constructor_field): Likewise.
1548 (store_constructor): Likewise.
1549 (store_expr): Likewise.
1550 (clear_storage): Likewise.
1551 (emit_group_store): Likewise.
1552 (emit_group_load): Likewise.
1554 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
1556 * c-common.c: Move format checking code to ...
1557 * c-format.c: ... here. New file. Reorder some functions and
1559 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
1561 * c-common.h (decl_handle_format_attribute,
1562 decl_handle_format_arg_attribute): Declare.
1563 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
1564 (c-common.o): Adjust dependencies.
1565 (c-format.o): New list of dependencies.
1567 2001-01-13 Jakub Jelinek <jakub@redhat.com>
1569 * unroll.c (loop_iterations): If we cannot prove iteration variable
1570 is set once in each iteration, punt.
1572 Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
1574 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
1575 (*strlenhi): Remove clobber (which was buggy) of output address.
1577 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
1579 * Makefile.in (generated-manpages): Add gcc.1
1580 ($(srcdir)/gcc.1): New target.
1581 (maintainer-clean): Delete $(srcdir)/gcc.1.
1582 * gcc.texi: Add macros @gccoptlist and @gol.
1583 * invoke.texi: Include option summary in manpage. Mark up option
1584 summary with @gccoptlist and @gol. Use @r in one place where
1586 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
1587 * gcc.1: Generate from invoke.texi.
1589 2001-01-13 Richard Henderson <rth@redhat.com>
1591 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
1592 (struct page_entry): Add group member.
1593 (struct page_group): New.
1594 (struct globals): Add page_groups member.
1595 (alloc_anon): Only define for using mmap; remove valloc call.
1596 (page_group_index): New.
1597 (set_page_group_in_use): New.
1598 (clear_page_group_in_use): New.
1599 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
1600 (free_page, release_pages): Likewise.
1601 * configure.in (with-gc): Default to ggc-page always.
1603 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1605 * reload1.c (replace_pseudos_in_call_usage): Use
1606 reg_equiv_constant and reg_equiv_address, and don't try
1607 regno_reg_rtx first.
1609 2001-01-13 Richard Henderson <rth@redhat.com>
1611 * ggc-page.c (alloc_page): Round up allocation size to one page.
1612 Set e->order on extra pages.
1614 2001-01-13 Richard Henderson <rth@redhat.com>
1616 * genrecog.c (nodes_identical): Expand commentary.
1617 (write_switch): Watch out for identical nodes.
1619 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1621 * cppfiles.c (_cpp_fake_include): New function.
1622 * cpphash.h (_cpp_fake_include): New.
1623 * cpplib.c (do_line): Call _cpp_fake_include when entering
1624 header files in preprocessed input.
1625 * cppmain.c (cb_pragma_implementation): Remove handling.
1626 (setup_callbacks): Don't register pragmas.
1628 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1630 * extend.texi: Udate for CPP.
1632 2001-01-13 Andreas Jaeger <aj@suse.de>
1634 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
1636 * regmove.c: Add prototype for replace_in_call_usage.
1638 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1640 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
1641 struct cpp_chunk, struct htab, struct toklist,
1642 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
1643 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
1644 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
1645 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
1646 (struct macro_args): Delete.
1647 * cpphash.h: See above.
1649 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1651 * cppmain.c (struct printer): Remove no_line_dirs.
1653 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
1654 : Use options rather than CPP_OPTION.
1655 (setup_callbacks): Use cb rather than pfile->cb.
1656 (main): No need to check for a buffer. Use cpp_errors.
1657 (printer_init): Don't set no_line_dirs.
1658 (maybe_print_line): Use options not no_line_dirs.
1659 (cb_file_change): Don't call print_line if -P.
1661 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1663 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
1665 * c-parse.in (finish_parse): Use cpp_errors.
1666 (__yylex): Use return value of cpp_pop_buffer.
1667 * cp/lex.c (finish_parse): Use cpp_errors.
1668 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
1670 Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
1672 * README.AVR: URLs corrected.
1674 Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1676 * c-decl.c (start_function): Don't warn if old prototype is builtin
1677 that's not in C's namespace.
1678 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
1679 (_bb): Add prototype for ctime.
1680 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
1682 Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
1684 * i386.c (ix86_fp_comparison_arithmetics_cost,
1685 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
1686 ix86_fp_comparison_cost): New functions.
1687 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
1688 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
1689 two-branch sequences; make static.
1690 (ix86_use_fcomi_compare): Do decision according to the costs.
1691 (split_fp_branch): New.
1692 * i386.md (compare-and-branch patterns): Use split_fp_branch.
1693 * i386-protos.h (ix86_expand_fp_compare): Remove
1694 (ix86_split_fp_branch): Declare.
1696 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
1697 and ix86_comparison_operator.
1699 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
1702 * i386.c (put_condition_code): Output properly the unordered/ordered
1703 compares in fp case.
1704 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
1706 * tm.texi (REVERSE_CONDITION): Document.
1707 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
1708 in -ffast-math mode.
1709 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
1711 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1713 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
1715 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
1718 * config/sh/sh.c (mova_p): Fix test for mova_const.
1720 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1722 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
1723 cpp_get_options rather than dereferencing pfile and using
1725 * scan-decls.c (scan_decls): Use return value of
1726 cpp_pop_buffer rather than CPP_BUFFER.
1728 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
1730 * cppinit.c (cpp_handle_option): help_only is now part of the
1731 cpp_options structure.
1732 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
1733 cpp_set_callbacks): New functions.
1734 * cpplib.h (cpp_callbacks): Break out as a named structure.
1735 (cpp_options): Move help_only here from cpp_reader.
1736 (CPP_FATAL_ERRORS): Update to use cpp_errors.
1737 (cpp_errors, cpp_get_options, cpp_get_callbacks,
1738 cpp_set_callbacks): New prototypes.
1739 * cppmain.c (main): Update for help_only.
1741 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
1743 * Makefile.in (info, maintainer-clean, install-info, uninstall):
1744 Also build and remove and install and uninstall c-tree.info and
1746 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
1747 ($(srcdir)/cppinternals.info): New target.
1748 * c-tree.texi: Change file name used when makeinfo used without -o
1749 from ir.info to c-tree.info. Add info directory entry.
1750 * cppinternals.texi: Add info directory entry.
1751 * .cvsignore: Update.
1753 2001-01-12 Jakub Jelinek <jakub@redhat.com>
1755 * c-typeck.c (store_init_value): Don't require constant initializer
1756 elements with -pedantic -std=c99.
1757 (digest_init): Change error about non-constant initializer elements
1759 (constructor_range_end): Remove.
1760 (constructor_incremental, designator_depth,
1761 designator_errorneous): New variables.
1762 (struct constructor_stack): Remove range_end, add incremental.
1763 (struct constructor_range_stack, constructor_range_stack): New.
1764 (struct initializer_stack): Add constructor_range_stack.
1765 (finish_init): Set it.
1766 (start_init): Likewise. require_constant_elements for non-static
1767 trees only if not flag_isoc99.
1768 (really_start_incremental_init): Remove constructor_range_end, add
1769 constructor_incremental.
1770 (pop_init_level): Likewise.
1771 (push_init_level): Likewise. If implicit and the subobject had some
1772 value set already, preinitialize the level with it.
1773 Warn about missing braces only if not pushing due to designators.
1774 (set_designator, push_range_stack): New functions.
1775 (set_init_label): Use them.
1776 (set_init_index): Likewise. Remove constructor_range_end.
1777 Error if designator index is outside of array bounds.
1778 (add_pending_init): Compare values of purpose index trees, not the
1779 trees themselves. Allow overwriting of already initialized element.
1780 Issue a warning if it had side-effects.
1781 (set_nonincremental_init, set_nonincremental_init_from_string): New
1783 (pending_init_member): Rename to...
1784 (find_init_member): ...this function. Call set_nonincremental_init
1785 if necessary. Compare values of purpose index trees, not the trees
1786 themselves. Return the actual value, not just non-zero if something
1788 (output_init_element): Remove checks for duplicates.
1789 If field has zero size, only check the initializer for correctness.
1790 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
1791 if constructor_incremental is zero. Change error about initializers
1792 not computable at load time into pedwarn.
1793 (output_pending_init_elements): Compare bit positions, not
1794 FIELD_DECLs to take into account zero-sized fields.
1795 (process_init_element): Use constructor_range_stack to fill all
1796 ranges in the designator lists from current level up.
1797 * extend.texi: Update documentation for labeled elements.
1799 2001-01-12 Alexandre Oliva <aoliva@redhat.com>
1801 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
1802 to function usage for arguments passed by reference. Optimize
1803 callee-copied arguments.
1804 * regmove.c (replace_in_call_usage): New function.
1805 (fixup_match_1): Call it.
1806 * cse.c (cse_insn): Canonicalize registers in function usage.
1807 * reload1.c (replace_pseudos_in_call_usage): New function.
1810 * Makefile.in: Reverted yesterday's wrong patch. Installed the
1813 2001-01-12 Jakub Jelinek <jakub@redhat.com>
1815 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
1818 2001-01-12 DJ Delorie <dj@redhat.com>
1820 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
1821 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
1824 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1826 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
1827 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
1828 -std options alongside references to -ansi. Update some
1829 documentation for C99.
1830 * cpp.1: Regenerate.
1832 2001-01-12 Andreas Jaeger <aj@suse.de>
1834 * haifa-sched.c (restore_line_notes): Remove argument block B
1836 * sched-ebb.c (schedule_ebb): Change caller.
1837 * sched-rgn.c (schedule_region): Likewise.
1838 * sched-int.h (restore_line_notes): Adjust prototype.
1840 * loop.h: Remove wrong declaration of doloop_condition_get.
1842 2001-01-12 Phil Edwards <pme@sources.redhat.com>
1844 * extend.texi: Move C++-extension-related node from the C section
1845 into the C++ section.
1847 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1849 * extend.texi: Refer to an array of pointers to functions instead
1850 of one of functions.
1852 Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
1853 Jan Hubicka <jh@suse.cz>
1855 * combine.c (reversed_comparison): Fix typo in last patch.
1857 (combine_reversed_comparison_code): Make static to follow
1858 prototype declaration.
1860 2001-01-12 Phil Edwards <pme@sources.redhat.com>
1862 * install.texi: Remove misplaced duplicate entry.
1864 2001-01-11 Ulrich Drepper <drepper@redhat.com>
1866 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
1868 Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
1870 * final.c: (leaf_function_p): Fix typo.
1872 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
1874 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
1875 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
1877 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
1878 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
1879 mmap_anon, and valloc is available.
1880 * ggc-page.c: Restructure ifdef logic to match new autoconf
1881 spec. Don't throw away the test page in init_ggc.
1883 * configure, config.in: Regenerate.
1885 2001-01-12 Michael Hayes <mhayes@redhat.com>
1887 * loop.h (total_biv_increment): Constify iv_class pointer.
1888 (struct induction): Replace `mem_mode' with `mem' rtx.
1889 * unroll.c (total_biv_increment): Constify iv_class pointer.
1890 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
1891 (find_mem_givs, combine_givs_p): Likewise.
1892 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
1894 2001-01-10 Thomas Pfaff <tpfaff@gmx.net>
1896 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
1898 (__gthread_getspecific): Ditto.
1900 Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
1902 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
1903 put_condition_code): Convert fp comparison codes to integer
1905 (ix86_expand_fp_compare): Postnote the fp comparison code converison
1908 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
1909 * i386-protos.h (no_comparison_operator): Kill.
1911 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
1913 * combine.c (REVERSIBLE_CC_MODE): Remove.
1914 (reversible_comparison_p): Remove.
1915 (combine_reversed_comparison_code): New.
1916 (reversed_comparison): New.
1917 (combine_simplify_rtx): Use
1918 combine_reversed_comparison_code/reversed_comparison instead
1919 of reversible_comparison_p.
1920 (simplify_if_then_else): Likewise.
1921 (simplify_set): Likewise.
1922 (simplify_logical): Likewise.
1923 (if_then_else_cond): Likewise.
1924 (known_cond): Likewise.
1925 (simplify_comparison): Likewise.
1927 2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
1929 * builtins.c (std_expand_builtin_va_start): Handle varargs when
1930 sizeof (int) is larger than sizeof(__word__).
1932 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1934 * cppinit.c (do_includes): Fix typo.
1936 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1938 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
1939 in S_REGS does not occur because not all sources are possible
1940 when a S_REGS is a destination (sometimes needs a clobber).
1941 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
1942 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
1943 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
1944 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
1945 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
1946 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
1947 (lshrdi_const1, lshrsi3_const16): Likewise.
1948 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
1949 (*movhi_68hc12, *movqi_68hc12): Likewise.
1950 (movstrictqi): Make sure reloading in D_REGS as a destination
1953 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1955 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
1957 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1959 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
1960 -D, -U and -A, and don't initialize the builtins.
1961 (do_includes): Error if -include or -imacros with -fpreprocessed.
1962 * cppmain.c (cb_define, cb_undef): Unconditionally process
1964 * tradcpp.c (main): Fix typo.
1966 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
1968 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
1969 (read_name_map): Use IS_ABSOLUTE_PATH.
1970 * tradcpp.c (get_filename): Likewise.
1972 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1974 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
1975 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
1976 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
1977 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
1978 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
1979 (cmphi_z_used): Don't use '@' for the output.
1980 (tstqi_z_used): Likewise.
1981 (cmpqi_z_used): Likewise.
1982 (one_cmplsi2): Likewise.
1984 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1986 * config/sh/sh.c (barrier_align): Recognize branch around far
1987 branch and redundant insn.
1989 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1991 * invoke.texi: Restore documentation of the drivers' switches -MD
1994 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1996 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
1998 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
1999 check-objc//%): Support parallel testing of multilibs.
2000 (TESTSUITEDIR): Set to testsuite by default, but override for
2002 (check-gcc, check-g++, check-g77, check-objc): Enter
2005 2001-01-11 Bernd Schmidt <bernds@redhat.com>
2007 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
2008 * sched-deps.c (deps_may_trap_p): Likewise.
2009 * basic-block.h: Remove a comment.
2010 * flow.c (PROP_POSTRELOAD): Remove.
2011 (update_life_info): Don't add it to prop_flags.
2012 (mark_set_1): Lose the code that was enabled by it.
2014 2001-01-11 Michael Hayes <mhayes@redhat.com>
2016 * flow.c (flow_call_edges_add): New.
2017 * basic_block.h (flow_call_edges_add): New.
2019 2001-01-11 J"orn Rennecke <amylaar@redhat.com>
2021 * reload1.c (move2add_note_store): Update reg_set_luid even if
2022 base reg remains the same.
2024 2001-01-10 Nick Clifton <nickc@redhat.com>
2026 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
2027 machine_function structure to zero.
2028 Add prototypes for machine_status functions.
2030 2001-01-10 Mark Mitchell <mark@codesourcery.com>
2032 * c-common.h (CTI_VOID_LIST): Remove.
2033 (void_list_node): Likewise.
2034 * tree.h (TI_VOID_LIST_NODE): New enumeral.
2035 (void_list_node): New macro.
2036 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
2037 * config/i386/i386.c (ix86_init_builtins): Likewise.
2038 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
2040 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2042 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
2043 * cppinit.c (cpp_start_read): Update comment, remove unneeded
2045 * tradcpp.c: Include mkdeps.h.
2046 (deps, print_deps_phony_targets, deps_append, output_deps,
2047 init_dependency_output, output_deps): New.
2048 (deps_buffer, deps_allocated_size, deps_size, deps_column,
2049 deps_output): Delete.
2050 (print_deps_missing_files): Rename deps_missing_files.
2051 (inhibit_output): Make global.
2052 (main): Delete inhibit_output, deps_stream, deps_target.
2053 Use mkdeps functionality in the same way as cpplib. Remove
2054 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
2055 -M and -MM. Remove old handling of deps via deps_out, and
2056 old reading of environment variables.
2057 (get_filename): Update to use deps_add_dep.
2059 2001-01-10 Mark Mitchell <mark@codesourcery.com>
2061 * output.h (make_function_rtl): Remove prototype.
2062 (make_decl_rtl): Likewise.
2063 * varasm.c (make_function_rtl): Remove.
2064 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
2065 than from a third parameter.
2066 * tree.h (make_decl_rtl): Remove last parameter.
2067 * c-decl.c (builtin_function): Remove last argument in call to
2068 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
2069 (start_function): Likewise.
2070 * except.c (call_get_eh_context): Likewise.
2071 * expr.c (emit_block_move): Likewise.
2072 (clear_storage): Likewise.
2073 * profile.c (output_func_start_profiler): Likewise.
2074 * toplev.c (rest_of_decl_compilation): Likewise.
2075 * objc/objc-act.c (create_builtin_decl): Likewise.
2076 (synth_module_prologue): Likewise.
2077 (generate_static_reference): Likewise.
2078 (build_selector_reference_decl): Likewise.
2079 (build_class_reference_decl): Likewise.
2080 (build_objc_string_decl): Likewise.
2081 (build_protocol_reference): Likewise.
2083 2001-01-10 Richard Henderson <rth@redhat.com>
2085 * hwint.h: Revert yesterday's change.
2087 2001-01-10 Nick Clifton <nickc@redhat.com>
2089 * function.h (save_machine_status): Delete.
2090 (restore_machine_status): Delete.
2091 Amend comment describing {init|mark|free}_machine_status.
2093 * function.c (save_machine_status): Delete.
2094 (restore_machine_status): Delete.
2095 Amend comment describing {init|mark|free}_machine_status.
2096 (push_function_context_to): Remove invocation of
2097 save_machine_status.
2098 (pop_function_context_from): Remove invocation of
2099 restore_machine_status.
2101 * emit-rtl.c (init_emit_once): Amend comment describing
2102 {init|mark|free}_machine_status.
2104 * tm.texi (Per-Function Data): New node. Describe the
2105 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
2108 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2110 * cppinit.c (OPT_g): Remove.
2111 (cpp_handle_option): Update for removed -g3.
2112 (print_help): Update.
2113 * cpplib.h (struct cpp_options): Remove debug_output.
2114 * cppmain.c (setup_callbacks, cb_define): Update.
2115 * gcc.c (cpp_options): Translate -g3 to -dD.
2117 2001-01-10 Aldy Hernandez <aldyh@redhat.com>
2119 * config/i960/i960.md: Change modifier to + on the zero_extract
2120 pattern after the (rotate -2 reg) canonicalization pattern.
2122 2001-01-10 Richard Henderson <rth@redhat.com>
2124 * config/alpha/alpha.c (alpha_free_machine_status): New.
2125 (override_options): Install it.
2126 (alpha_mark_machine_status): Verify machine non-null.
2127 * config/i386/i386.c (ix86_free_machine_status): New.
2128 (override_options): Install it.
2129 (ix86_init_machine_status): Use xcalloc.
2130 (ix86_mark_machine_status): Verify machine non-null.
2131 * config/ia64/ia64.c (ia64_free_machine_status): New.
2132 (ia64_override_options): Install it.
2133 (ia64_mark_machine_status): Verify machine non-null.
2135 Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
2137 * function.c (instantiate_virtual_regs): Instantiate virtual
2138 registers found in CALL_INSN_FUNCTION_USAGE.
2140 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2142 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
2143 equivalent to -ansi in disabling -Di386.
2145 Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
2147 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
2149 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
2151 2001-01-10 Richard Earnshaw <rearnsha@arm.com>
2153 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
2155 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2157 * invoke.texi: Document that -fcond-mismatch isn't supported for
2160 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2162 * gcc.texi: Define macro gcctabopt.
2163 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
2164 @command, @env and @option in some places where appropriate. Use
2165 @gcctabopt where appropriate. Put URLs and email addresses inside
2168 2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
2170 * gcc.c (cpp_options): Set MD file name from output
2171 filename, if specified.
2172 (suffix_subst): New static variable.
2173 (do_spec): Clear it.
2174 (do_spec_1, case '.'): Handle new `%.suffix' spec.
2176 (give_switch): Handle suffix_subst.
2178 2001-01-10 Phil Edwards <pme@sources.redhat.com>
2180 * invoke.texi: Fix another typo.
2182 2001-01-10 Phil Edwards <pme@sources.redhat.com>
2184 * invoke.texi: Fix typo.
2186 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
2188 * c-lang.c (lang_hooks): Update.
2189 (lang_decode_option): Remove.
2190 (lang_init_options): Rename c_init_options.
2191 * toplev.c (main): Use lang_hooks for lang_init_options
2192 and lang_decode_option.
2193 * toplev.h (lang_hooks): Add 2 new hooks.
2194 * tree.h: Remove lang_init_options and lang_decode_option.
2195 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
2196 * cp/decl2.c: Similarly.
2197 * cp/lex.c (lang_init_options): Rename cxx_init_options.
2198 (lang_hooks): Update.
2199 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
2201 (lang_init_options): Rename ffe_init_options.
2202 (lang_hooks): Update.
2203 (lang_decode_option): Remove.
2204 * java/lang.c (lang_init_options): Rename java_init_options.
2205 (lang_decode_option): Rename java_decode_option.
2206 (lang_hooks): Update.
2207 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
2208 (lang_decode_option): Rename objc_decode_option.
2209 (lang_hooks): Update.
2211 2001-01-09 Nick Clifton <nickc@redhat.com>
2213 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
2214 (d30v_return_addr_rtx): Delete.
2215 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
2216 cfun->machine structure.
2217 (struct machine_function): Move to d30v.h
2218 (d30v_save_machine_status): Delete.
2219 (d30v_restore_machine_status): Delete.
2220 (d30v_init_machine_status): New Function.
2221 (d30v_mark_machine_status): New Function.
2222 (d30v_free_machine_status): New Function.
2223 (d30v_init_expanders): Use new functions.
2224 (d30v_return_addr): Use ra_rtx field in cfun->machine.
2225 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
2226 d30v_return_addr_rtx.
2228 * config/d30v/d30v.h (struct_machine): Move here.
2229 Add eh_epilogue_sp_ofs field.
2231 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
2232 field in cfun->machine structure.
2234 Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
2236 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
2237 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
2238 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
2240 Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
2242 * objc/lang-options.h: Remove bogus reference to
2245 2001-01-09 Kazu Hirata <kazu@hxi.com>
2247 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
2250 2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
2252 * reload.c (find_reloads_address): Check for eliminable registers
2253 when substituting a constant expression for a pseudo.
2255 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
2257 * c-common.c (enum format_type): Add format_type_error.
2258 (decode_format_type): New function.
2259 (decl_attributes): Use it.
2260 (format_kind_info): Adjust comment.
2262 2001-01-09 David O'Brien <obrien@BSDi.com>
2264 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
2265 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
2267 * config/i386/gnu.h: Don't include required platform specific .h files,
2268 tm.h will do it instead.
2269 * config/i386/i386elf.h: Likewise.
2270 * config/i386/linux.h: Likewise.
2271 * config/i386/moss.h: Likewise.
2272 * config/mips/gnu.h: Likewise.
2274 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2276 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
2277 (rs6000-ibm-aix3.[01]*): Likewise.
2278 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
2279 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
2280 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
2281 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2282 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
2283 (powerpc-*-eabiaix*): Likewise.
2284 (powerpc-*-eabisim*): Likewise.
2285 (powerpc-*-elf*): Likewise.
2286 (powerpc-*-eabi*): Likewise.
2287 (powerpc-*-rtems*): Likewise.
2288 (powerpc-*-linux*libc1): Likewise.
2289 (powerpc-*-linux*): Likewise.
2290 (powerpc-wrs-vxworks*): Likewise.
2291 (powerpcle-wrs-vxworks*): Likewise.
2292 (powerpcle-*-sysv*): Likewise.
2293 (powerpcle-*-elf*): Likewise.
2294 (powerpcle-*-eabisim*): Likewise.
2295 (powerpcle-*-eabi*): Likewise.
2296 (powerpcle-*-solaris2*): Likewise.
2297 * config/rs6000/aix31.h: Delete includes.
2298 * config/rs6000/aix3newas.h: Likewise.
2299 * config/rs6000/aix41.h: Likewise.
2300 * config/rs6000/aix43.h: Likewise.
2301 * config/rs6000/beos.h: Likewise.
2302 * config/rs6000/rtems.h: Likewise.
2303 * config/rs6000/sysv4.h: Likewise.
2305 2001-01-09 Kazu Hirata <kazu@hxi.com>
2307 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
2308 Change an argument mode of machine_mode to shift_mode of
2309 shift_mode. Remove an extra error check.
2310 (emit_a_shift): Adopt to the new calling prototype of
2312 (function_prologue): Fix code for a monitor
2313 function. Support H8/S.
2314 (function_epilogue): Do not output pop for a monitor function.
2316 2001-01-09 Nick Clifton <nickc@redhat.com>
2318 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
2319 (setup_incoming_varargs): Use sysv_varargs_p field of the
2320 cfun->machine structure.
2321 (struct machine_function): Move to rs6000.h
2322 (rs6000_save_machine_status): Delete.
2323 (rs6000_restore_machine_status): Delete.
2324 (rs6000_init_machine_status): New Function.
2325 (rs6000_free_machine_status): New Function.
2326 (rs6000_init_expanders): Use new functions.
2328 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
2330 (struct machine_function): Move here.
2332 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
2333 sysv_varargs_p field of the cfun->machine structure.
2335 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
2337 (rs6000_restore_machine_status): Remove prototype.
2339 2001-01-09 Richard Henderson <rth@redhat.com>
2341 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
2342 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
2343 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
2344 (sched_analyze_2, sched_analyze_insn): Likewise.
2345 (sched_analyze, init_deps): Likewise.
2346 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
2347 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
2348 (compute_block_backward_dependences): Update propagate_deps call.
2350 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
2352 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
2354 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2356 * cppinit.c (OPT_MD, OPT_MMD): Restore.
2357 (cpp_handle_option): Handle them.
2358 (cpp_post_options): Ensure one of -M or -MM is specified with
2359 any other -M? option.
2360 (init_dependency_output): Suppress output with -MG.
2362 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2365 * invoke.texi: Update.
2367 2001-01-09 Bernd Schmidt <bernds@redhat.com>
2369 * sh.md (reload_outsf): Generate recognizable patterns for
2372 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
2374 * c-lang.c (lang_hooks): Update.
2375 (lang_init): Rename c_init.
2376 (lang_finish): Remove.
2377 * toplev.c (compile_file): Use lang_hooks for lang_init ()
2379 * toplev.h (lang_hooks): Add init () and finish ().
2380 * tree.h (lang_init, lang_finish): Remove.
2381 * cp/tree.h (lang_init, lang_finish): Remove.
2382 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
2383 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
2385 (lang_init, lang_finish): Remove.
2386 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
2387 (lang_hooks): Update.
2388 * java/lang.c (lang_init): Rename java_init.
2389 (lang_finish): Remove.
2390 (lang_hooks): Update.
2391 * objc/objc-act.c (lang_init): Rename objc_init.
2392 (lang_finish): Remove.
2393 (lang_hoooks): Update.
2395 20001-01-09 Graham Stott <grahams@redhat.com>
2397 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
2398 after `ptr` is initialised.
2400 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2402 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
2403 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
2404 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
2405 stack adjusts, instead of r3.
2407 2001-01-09 Michael Hayes <mhayes@redhat.com>
2409 * flow.c (flow_loop_scan): Break out of ...
2410 (flow_loops_find) ... here.
2411 * basic-block.h (flow_loop_scan): New.
2412 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
2413 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
2415 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2417 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
2419 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
2420 realloc()ing macro_buffer.
2422 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
2423 if it's wider than long and the target's long is wider than the
2426 2001-01-09 Mark Mitchell <mark@codesourcery.com>
2428 Remove support for using UWIN as a host machine.
2429 * configure.in: Issue an error message.
2430 * configure: Regenerated.
2431 * config.gcc: Remove xm_* UWIN configury.
2432 * config/i386/xm-uwin.h: Remove.
2434 2001-01-08 Nick Clifton <nickc@redhat.com>
2436 * config/v850/v850.c (ra_rtx): Delete.
2437 (v850_save_machine_status): Delete.
2438 (v850_restore_machine_status): Delete.
2439 (v850_init_machine_status): New function.
2440 (v850_mark_machine_status): New function.
2441 (v850_free_machine_status): New function.
2442 (v850_return_addr): Use ra_rtx field in machine structure.
2443 (v850_init_expanders): Use new functions.
2445 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
2446 * config/v850/v850.c: Change arguments to v850_output+* functions
2447 to take a const char *, to avoid compile time warning.
2448 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
2449 (USER_LABEL_PREFIX): Redefine.
2451 2000-01-08 Jim Wilson <wilson@redhat.com>
2453 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
2454 1 to unsigned HOST_WIDE_INT before left shift.
2456 2001-01-08 Nick Clifton <nickc@redhat.com>
2458 * config/arm/arm.c (arm_mark_machine_status): Check to see if
2459 the machine structure has been allocated.
2460 (arm_free_machine_status): New function: Free the machine
2461 specific function structure.
2463 2001-01-08 Richard Henderson <rth@redhat.com>
2465 * jump.c (simplejump_p): Revert last change.
2467 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
2469 * cppinit.c (init): Rename init_library.
2470 (cpp_create_reader): Update.
2471 * gcc.c (cpp_options): If -o given, use it as the target of
2474 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
2476 * arm.c (arm_arch5e): New variable.
2477 (all_cores): XScale is a 5TE device.
2478 (arm_override_options): Set arm_arch5e.
2479 (arm_init_builtins): __builtin_prefetch is in arch5e.
2480 * arm.h (arm_arch5e): Declare it.
2482 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
2484 * arm.md (define_constants): Add defines for UNSPEC and
2485 UNSPEC_VOLATILE insns. Update all users.
2486 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
2487 * arm.c (multi_register_push, note_invalid_constants)
2488 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
2489 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
2490 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
2492 Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
2494 * jump.c (jump_optimize_1): Use reversed_comparison_code
2495 instead of can_reverse_comparison_p.
2496 (jump_back_p): Likewise.
2497 (invert_exp_1): Likewise.
2498 (thread_jumps): Likewise.
2499 * simplify-rtx.c (simplify_unary_operation): Likewise.
2500 (simplify_ternary_operation): Likewise.
2501 * cse.c (find_comparison_args): Convert to use
2502 can_reverse_comparison_p.
2503 (record_jump_equiv): Likewise.
2505 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
2507 * arm.h (HARD_REGNO_RENAME_OK): Delete.
2508 (EPILOGUE_USES): Define.
2509 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
2510 automatically stack the LR if it isn't live.
2512 Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
2514 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
2517 Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
2519 * ggc-page.c (max_alignment): New structure.
2520 (MAX_ALIGNMENT): New macro.
2521 (init_ggc): Use it to round up the sizes in the
2522 extra_order_size_table.
2524 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2526 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
2529 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2531 * builtins.def (BUILT_IN_FPRINTF): New entry.
2533 * c-common.c (c_expand_builtin_fprintf): New function.
2534 (init_function_format_info): Handle __builtin_fprintf.
2535 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
2536 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
2538 * c-decl.c (duplicate_decls): Adjust comment.
2540 * extend.texi (fprintf): Document new builtin.
2542 2001-01-07 Richard Henderson <rth@redhat.com>
2544 * jump.c (simplejump_p): Recognize any single_set jump
2547 2001-01-07 Richard Henderson <rth@redhat.com>
2549 * configure.in (slibdir): Accept an --with-slibdir option.
2550 Use "test" not "[" in configure. Default to $(libdir).
2552 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
2554 * config/t-aix43 (SHLIB_INSTALL): Likewise.
2555 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
2556 (SHLIB_LINK): Create links for the soname.
2557 * config/mips/t-iris6: Likewise.
2558 * config/sparc/t-slibgcc: Likewise.
2559 * config/sparc/t-slibgcc-sld: Likewise.
2561 2001-01-07 Jakub Jelinek <jakub@redhat.com>
2563 * config/i386/i386.c (constant_call_address_operand): Accept
2564 (const (plus (symbol_ref) (const_int))).
2565 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
2566 constant_call_address_operand.
2568 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2570 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
2571 and LONG_LONG_TYPE_SIZE > 32.
2573 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2575 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
2576 the previous change.
2578 Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
2580 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
2582 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
2583 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
2584 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
2587 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
2589 * fix-header.c (read_scan_file): s/pfile/scan_in/.
2591 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
2593 * c-lang.c (c_post_options): Call cpp_post_options.
2594 * objc/objc-act.c (objc_post_options): Similarly.
2595 * cppmain.c (main): Similarly.
2596 * fix-header.c (read_scan_file): Similarly.
2597 * cppinit.c (cpp_start_read): Move option consistency checks
2598 to cpp_post_options. Don't call init_dependency_output.
2599 If needed, add default target and main file dependency.
2600 (OPT_MD, OPT_MMD): Remove.
2602 (cpp_handle_option): Update for OPT_* changes.
2603 (cpp_post_options): New.
2604 (init_dependency_output): Command line -MF overrides environment
2605 variables. Don't set default target etc. Suppress output
2606 if dependencies are going to stdout.
2607 (print_help): Update.
2608 * cpplib.h (cpp_post_options): New.
2609 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
2611 Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
2613 * jump.c (comparison_dominates_p): Support unordered compares.
2615 Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
2617 * simplify-rtx.c (simplify_relational_operation): Always simplify
2618 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
2621 Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
2623 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
2624 (nonzero_bits): Likewise.
2625 (simplify_comparison): Likewise.
2626 (num_sign_bit_copies): Likewise; return more sane value depending
2627 on STORE_FLAG_VALUE.
2628 (known_cond): Do not assume EQ to be always true for equivalent
2631 Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
2633 * cse.c (fold_rtx): Handle unordered comparisons.
2635 Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
2637 * rtlanal.c (set_of_1): New static function.
2638 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
2639 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
2640 reg_set_last_last_regno): Remove.
2641 (set_of): New global function.
2642 (set_of_data): New structure.
2643 (reg_set_p, reg_set_last): Revamp for set_of.
2644 * rtl.h (set_of): New.
2646 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2648 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
2649 * extend.texi: Document _Exit builtin.
2651 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
2653 * (initialize, initialize_builtins,
2654 initialize_dependency_output, initialize_standard_includes):
2655 Rename s/initialize/init. Update.
2656 (init_dependency_output): Move to after
2657 cpp_handle_options, the correct location temporally at least.
2658 (opt_comp): Move next to init (), its caller. Fix prototype.
2659 (init): Make "initialized" local scope.
2660 (cpp_create_reader): Always call init ().
2661 (cpp_start_read): Update.
2662 (output_deps): New function, broken out of cpp_finish.
2663 (cpp_finish): Break out output_deps.
2665 2001-01-07 Richard Henderson <rth@redhat.com>
2667 * collect2.c (COFF specific stuff): Revert 12-06 patch
2668 to prototype system functions.
2670 2001-01-07 Michael Hayes <mhayes@redhat.com>
2672 * hard-reg-set.h: Add multiple include guard.
2673 * basic-block.h (struct loop): Add `sink' field.
2674 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
2675 (emit_iv_add_mult): Delete.
2676 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
2677 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
2678 (unroll_loop): Remove end_insert_before argument.
2679 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
2680 (maybe_eliminate_biv_1): Likewise.
2681 (emit_iv_add_mult): Delete.
2682 (gen_add_mult, loop_regs_update): New.
2683 (loop_insn_emit_after, loop_insn_emit_before): New.
2684 (loop_insn_sink, loop_insn_sink_or_swim): New.
2685 (emit_iv_add_mult): Delete.
2686 (scan_loop): Set loop->sink.
2687 (loop_givs_reduce): Use loop_insn_sink and its ilk.
2688 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
2689 (maybe_eliminate_biv_1): Likewise.
2690 (maybe_eliminate_biv_1): Add basic block argument.
2691 * unroll.c (unroll_loop): Remove end_insert_before argument.
2692 (find_splittable_regs): Likewise.
2693 (find_splittable_regs): Use loop_insn_sink and its ilk.
2694 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
2696 2001-01-07 Michael Hayes <mhayes@redhat.com>
2698 * loop.h (loop_insn_hoist): New prototype.
2699 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
2700 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
2701 (check_dbra_loop, load_mems): Likewise.
2702 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
2703 (find_splittable_givs): Likewise.
2705 2001-01-07 Michael Hayes <mhayes@redhat.com>
2707 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
2709 2001-01-07 Richard Henderson <rth@redhat.com>
2711 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
2713 2001-01-07 Richard Henderson <rth@redhat.com>
2715 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
2716 NO_SHARED_LIBGCC_MULTILIB as required for the target.
2717 * gcc.c (init_spec): Massage the existing libgcc_spec into a
2718 variant that handles a shared libgcc.
2719 (process_command): Always validate -{static,shared}-libgcc.
2720 (do_spec_1): New 'M' case.
2721 * invoke.text (Link Options): Document -{static,shared}-libgcc.
2723 2001-01-07 Richard Henderson <rth@redhat.com>
2725 * Makefile.in (slibdir): New variable.
2726 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
2727 (installdirs): Create slibdir.
2728 (install-libgcc, install-multilib): Defer to libgcc.mk.
2729 * configure.in (slibdir): Substitute.
2730 * mklibgcc.in (install): New target.
2732 * config/t-linux (SHLIB_LINK): Create links for the soname.
2733 (SHLIB_INSTALL): New.
2734 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
2735 * config/mips/t-iris6 (SHLIB_INSTALL): New.
2736 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
2737 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
2738 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
2740 2001-01-07 Richard Henderson <rth@redhat.com>
2742 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
2743 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
2744 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
2746 2001-01-07 Michael Hayes <mhayes@redhat.com>
2748 * loop.c (count_loop_regs_set): Delete.
2749 (load_mems_and_recount_loop_regs_set): Delete.
2750 (loop_regs_scan): Merge common code from count_loop_regs_set,
2751 scan_loop, and load_mems_and_recount_loop_regs_set.
2752 (scan_loop): Call load_mems directly and loop_regs_scan
2753 again if new registers created.
2755 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
2757 * toplev.c (main): Call the front-end specific post_options
2758 hook if one is given.
2759 * toplev.h (struct_lang_hooks, lang_hooks): New.
2760 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
2761 for the C front end.
2762 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
2763 lang_hooks for the C++ front end.
2764 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
2765 lang_hooks for the ObjC front end.
2766 * f/com.c (lang_hooks): Hooks for the Fortran front end.
2767 * java/lang.c (lang_hooks): Hooks for the Java front end.
2769 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
2771 * c-lex.c (init_c_lex): Request #define / #undef callbacks
2772 for verbose DWARF[2] debugging.
2773 (cb_define, cb_undef): The new callbacks.
2774 * toplev.h (debug_define, debug_undef): Make const correct.
2775 * toplev.c (debug_define, debug_undef): Similarly. Do not
2776 perform the verbosity tests here anymore.
2778 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
2780 * reload.c (subst_reloads): Take INSN argument. When
2781 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
2782 * reload.h (subst_reloads): Adjust prototype.
2783 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
2784 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
2785 present in JUMP_INSNs and copy them to JUMP_LABEL.
2786 * flow.c (find_label_refs, find_basic_blocks_1): Skip
2787 JUMP_INSNs and insns with REG_LABELs that are followed by
2788 JUMP_INSNs with the same REG_LABEL.
2789 * sched-rgn.c (is_cfg_nonregular): Likewise.
2790 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
2792 * unroll.c (unroll_loop): Look for REG_LABEL notes in
2794 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
2796 2001-01-06 Richard Henderson <rth@redhat.com>
2798 * loop.c (scan_loop): Use xcalloc for the regs array.
2799 (load_mems_and_recount_loop_regs_set): Zero the new memory
2800 received from xrealloc.
2802 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
2804 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
2806 Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
2808 * integrate.c (copy_rtx_and_substitute): When copying
2809 an ignored return value, strip REG_FUNCTION_VALUE_P.
2811 2001-01-06 Michael Hayes <mhayes@redhat.com>
2813 * loop.c (debug_biv, debug_giv): New.
2814 (loop_biv_dump): Break out from ...
2815 (record_biv): ... here.
2816 (loop_giv_dump): Break out from ...
2817 (record_giv): ... here.
2818 (loop_bivs_check): Use print_simple_rtl.
2819 * unroll.c (loop_iterations): Use print_simple_rtl.
2821 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2823 * pa.md (return, return_internal): Modify patterns to prevent regrename
2824 mucking with the return pointer.
2826 2001-01-05 Richard Henderson <rth@redhat.com>
2828 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
2830 Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
2832 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
2833 version supplied by Matteo Frigo.
2835 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2837 * cpp.texi: Update for -MQ.
2838 * cppinit.c (cpp_create_reader): Always create pfile->deps.
2839 (cpp_cleanup): Always free pfile->deps.
2840 (initialize_dependency_output): Don't create pfile->deps.
2841 (cpp_handle_option): Similarly.
2843 * gcc.c (cpp_options): Handle -MQ.
2844 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
2845 * mkdeps.c (base_name): Remove.
2846 (deps_init): Don't allocate vector space until it's needed.
2847 (deps_free): Only free vectors if allocated.
2848 (deps_add_target, deps_add_dep): Update for initial allocation.
2849 (deps_add_default_target): Don't strip to the base_name.
2851 2001-01-05 DJ Delorie <dj@redhat.com>
2853 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
2854 (INIT_EXPANDERS): Define.
2856 * config/v850/v850.c (struct machine_function): Define.
2857 (v850_save_machine_status): New function.
2858 (v850_restore_machine_status): New function.
2859 (v850_return_addr): New function.
2860 (v850_init_expanders): New function.
2862 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
2863 and v850_init_expanders.
2865 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
2867 * cpplib.h (struct cpp_reader): Add help_only field.
2868 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
2869 (cpp_handle_option): Set pfile->help_only if we see -h,
2870 --help, -target-help, or --version. Print version string but
2871 do not set help_only if we see -v or -version. Make text
2872 printed by -v match that printed by (-)-version.
2874 * cppmain.c (main): Exit after option parsing if
2875 pfile->help_only is true.
2877 * toplev.c (independent_decode_option): Call print_version,
2878 then exit, if we see --version (but not -version).
2879 (print_version): Split lengthy message into two lines.
2881 2001-01-05 Nick Clifton <nickc@redhat.com>
2883 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
2884 temporary string for initialisation before calling ggc_alloc_string.
2886 2001-01-06 Michael Hayes <mhayes@redhat.com>
2888 * rtl.h (print_simple_rtl): New.
2889 * print-rtl.c (print_simple_rtl): New.
2891 (print_rtx): Disable printing of flags and modes, etc.,
2892 if `flag_simple` nonzero.
2894 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
2896 * function.c (fixup_var_refs): Use push_to_full_sequence where
2899 2001-01-05 Michael Meissner <meissner@redhat.com>
2901 * flags.h (flag_reorder_blocks): Add declaration.
2902 (flag_rename_block): Ditto.
2904 2001-01-05 DJ Delorie <dj@redhat.com>
2906 * function.c (reorder_blocks): Make sure the flags are all reset
2907 before using them to mark blocks, else a second invocation will
2908 corrupt the block chain.
2909 (reorder_blocks_0): New, resets the flags.
2911 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
2913 * cse.c (find_comparison_args): Stop if the argument is known to
2916 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
2918 * config/sh/sh.md (movdf): When splitting load into pair of
2919 registers, don't clobber the register used in the address too
2922 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
2924 * varasm.c (mark_constant_pool): Improve initial comments.
2925 (mark_constants): Move marking of constants to mark_constant.
2926 (mark_constant): New function to recursively mark all constants
2927 referred to by a constant.
2929 2001-01-05 Catherine Moore <clm@redhat.com>
2931 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
2933 2001-01-05 Phil Edwards <pme@sources.redhat.com>
2935 * cp/lang-options.h: Bring comment in line with reality.
2936 * f/lang-options.h: Likewise.
2937 * java/lang-options.h: Likewise.
2938 * objc/lang-options.h: Likewise.
2939 * ch/lang-options.h: Likewise.
2940 * f/g77.texi: And update the manual.
2942 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
2943 Denis Chertykov <denisc@overta.ru>
2945 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
2946 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
2947 * config/avr/avr.md (all peepholes that request a scratch register):
2948 Call it, FAIL the peephole if not safe (in interrupt functions).
2950 2001-01-05 Mark Mitchell <mark@codesourcery.com>
2952 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
2954 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
2956 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
2958 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
2959 BUILT_IN_CREAL and BUILT_IN_CIMAG.
2960 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
2961 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
2962 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
2964 * extend.texi: Document these builtins.
2966 2001-01-05 Daniel Berlin <dberlin@redhat.com>
2968 * c-common.c (lang_get_alias_set): Say we know nothing of
2969 VECTOR_TYPE aliasing.
2971 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
2973 2001-01-05 Bruce Korb <bkorb@gnu.org>
2975 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
2976 their x* equivalent versions for atexit-less systems
2977 * fixinc/fixincl.c(main): do not return from main() on atexit-less
2978 systems (or any other system any more).
2980 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
2982 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
2983 output operands. Use arm_hard_register_operand for operand 4.
2984 (stmsi_postinc): Similarly.
2985 (ldmsi): Use arm_hard_register_operand for opernand 2.
2987 * arm.c (arm_hard_register_operand): New function.
2988 * arm-protos.h (arm_hard_register_operand): Prototype it.
2990 * arm.h (HARD_REGNO_RENAME_OK): Define.
2992 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
2994 * simplify-rtx.c (cfc_args): add "unordered" field.
2995 (check_fold_consts): Set unordered field.
2996 (simplify_relational_operation): Simplify the unordered
2999 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
3002 * emit-rtl.c (try_split): Fix code to mark labels.
3003 * jump.c (mark_jump_label): Make global.
3004 * rtl.h (mark_jump_label): Declare.
3006 * predict.c (estimate_probability): Handle unordred comparisons.
3008 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
3010 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
3011 * cppinit.c (initialize_dependency_output): Update.
3012 (cpp_finish): Output dummy targets for -MP.
3014 (cpp_handle_option): Handle -MP. Don't quote -MT options.
3015 * cpplib.h (struct cpp_options): Add deps_phony_targets.
3016 * gcc.c (cpp_options): Update to handle -MP.
3017 * mkdeps.c (deps_add_target, deps_add_default_target): Update
3018 to quote only the default target.
3019 (deps_phony_targets): Insert a preceding newline. Rename from
3020 deps_dummy_targets for consistency.
3023 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3025 * calls.c (emit_library_call_value_1): Support
3026 INIT_CUMULATIVE_LIBCALL_ARGS.
3027 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
3029 2001-01-04 Richard Henderson <rth@redhat.com>
3031 * c-decl.c (finish_struct): Detect flexible array members
3032 used in an inappropriate context.
3033 * c-typeck.c (really_start_incremental_init): Special case
3034 constructor_max_index for zero length arrays.
3035 (pop_init_level): Allow initialization of flexible array
3036 members. Deprecate initialization of zero length arrays.
3037 Don't issue missing initializer warning for flexible array
3038 members or zero length arrays.
3039 (process_init_element): Don't dereference null DECL_SIZE.
3040 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
3041 Don't abort for empty constructors. Use size_binop
3042 (output_constructor): Add commentary regarding zero length
3043 array futures. Abort if we try to initialize an array of
3044 unspecified length with a non-empty constructor in the middle
3047 * extend.texi (Zero Length): Update and clarify documentation
3048 on static initialization.
3050 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3052 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
3053 with more than 32767 words of local storage.
3055 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3057 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
3058 for 'abs', 'labs', and 'fabs'.
3059 (c4x_expand_builtin): Likewise.
3060 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
3062 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
3064 * config/sh/sh.md (prget, prset): New insn types.
3065 (return delay slot): Dont' allow prset.
3066 (call, sfunc delay slot): Don't allow prget.
3067 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
3068 for prset and prget.
3070 2001-01-05 Michael Hayes <mhayes@redhat.com>
3072 * loop.h (struct loop_reg): New.
3073 (struct loop_regs): Change to use array of `struct loop_reg'.
3074 * loop.c: Replace assortment of varrays with single regs array.
3075 (count_one_set): Delete may_not_move array argument
3076 and use regs array instead. All caller's changed.
3077 (count_loop_regs_set): Delete may_not_move and single_usage
3078 arguments and use regs array instead. All caller's changed.
3079 (find_single_use_in_loop): Replace usage array argument with pointer
3080 to regs structure. All caller's changed.
3081 (loop_optimize): Delete `moved_once' array.
3083 2001-01-05 Michael Hayes <mhayes@redhat.com>
3085 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
3086 Use it instead of loop_info->has_call for scanning loop mems.
3087 (check_dbra_loop): Replace loop_info->has_call test with
3088 loop_info->has_nonconst_call.
3090 2000-01-04 Matthew Hiller <hiller@redhat.com>
3092 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
3095 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
3097 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
3098 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
3100 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
3102 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
3103 (flag_short_double, flag_short_wchar): Define.
3104 (c_common_nodes_and_builtins): Create many tree nodes shared
3105 between C and C++ here instead of in cp/decl.c and ...
3106 * c-decl.c (init_decl_processing): ... here.
3107 (SIZE_TYPE, WCHAR_TYPE): Don't define.
3108 (flag_short_double, flag_short_wchar): Don't define.
3109 (record_builtin_type): New function.
3110 (build_void_list_node): New function.
3111 * c-common.h (flag_short_double, flag_short_wchar,
3112 record_builtin_type, build_void_list_node): Declare.
3114 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
3116 * integrate.c (expand_inline_function): Don't put a virtual
3117 register into the reg map.
3119 * function.c (fixup_var_refs_1): If force_operand didn't put
3120 the address into the target, move it there.
3122 2001-01-04 Mark Mitchell <mark@codesourcery.com>
3124 Special-case tree_decl/tree_list allocations.
3125 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
3126 (OBJECT_SIZE): New macro.
3127 (NUM_EXTRA_ORDER): Likewise.
3128 (extra_order_size_table): New variable.
3129 (NUM_ORDERS): New macro.
3130 (objects_per_page_table): New variable.
3131 (object_size_table): New variable.
3132 (G.pages): Use NUM_ORDERS to bound the array.
3133 (G.page_tails): Likewise.
3134 (DIV_ROUND_UP): Remove.
3135 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
3136 (alloc_page): Use OBJECT_SIZE.
3137 (size_lookup): Don't make it const.
3138 (ggc_alloc): Use OBJECT_SIZE.
3139 (ggc_set_mark): Likewise.
3140 (ggc_get_size): Likewise.
3141 (init_ggc): Set up the object_size_table, objects_per_page_table,
3142 and adjust size_lookup.
3143 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
3144 (ggc_pop_context): Use NUM_ORDERS.
3145 (clear_marks): Likewise.
3146 (sweep_pages): Likewise.
3147 (poison_pages): Likewise.
3148 (ggc_print_statistics): Use OBJECT_SIZE.
3150 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3152 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
3153 Only call array_size_for_constructor if last field and array type
3154 with no upper bound.
3156 2001-01-04 Philip Blundell <philb@gnu.org>
3158 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
3159 from bit 31 downwards, if this requires no more insns.
3160 (count_insns_for_constant): New helper function for above.
3162 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
3164 * gencodes.c (output_predicate_decls): Remove empty initializer.
3166 2001-01-04 Mark Mitchell <mark@codesourcery.com>
3168 * tree.c (copy_node): Remove documentation about obstacks.
3169 (buidl1): Check that nobody tries to build 2-argument nodes this
3172 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3174 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
3177 * gencodes.c (output_predicate_decls): Fill empty initializer
3180 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3182 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
3183 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
3185 (do_include): Handle missing headers like cpp0.
3186 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
3187 paths with first include pathname. Don't strcat to uninitialized
3190 2001-01-04 Bernd Schmidt <bernds@redhat.com>
3192 * regrename.c (regrename_optimize): Don't rename from frame pointer
3193 if frame_pointer_needed.
3194 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
3195 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
3196 (ia64_reorg): Use it instead of scheduling if ! optimize.
3197 (errata_emit_nops): Properly call asm_noperands.
3198 (ia64_sched_reorder): Finish cycle if we see an asm.
3199 (ia64_variable_issue): Clear scheduling state after asms.
3201 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
3203 * cpp.texi: Update for -MT.
3204 * cppinit.c (initialize_dependency_output): Add a default
3205 target if none has been given already.
3206 (no_tgt, OPT_MT): New.
3207 (cpp_handle_option): Handle -MT. Update -M etc.
3208 * cpplib.h (struct cpp_options): Remove deps_target.
3209 * gcc.c (cpp_options): Handle -MT.
3210 * mkdeps.c (struct deps): Move from mkdeps.h.
3211 (deps_calc_target): Rename deps_add_default_target. Add a
3212 default target if none has been specified already.
3213 * mkdeps.h (struct deps): Move to mkdeps.c.
3214 (deps_calc_target): Rename deps_add_default_target.
3216 2000-01-03 Richard Henderson <rth@redhat.com>
3218 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
3220 * c-typeck.c (push_init_level): Move checks for flexible array
3221 members and zero length arrays ...
3222 (pop_init_level): ... here. Silently discard empty initializations.
3224 * varasm.c (output_constructor): Update for sizeof change to
3227 * extend.texi (Zero Length): Clarify semantics.
3229 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3231 * configure.in (tm.h): Include isns-codes.h last.
3232 * configure: Rebuilt.
3234 2001-01-03 Richard Henderson <rth@redhat.com>
3236 * config/alpha/alpha.md (addvsi3, addvdi3): New.
3237 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
3239 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3241 * tradcpp.c (main): Make sure finclude() is called with a valid
3242 indepth value while handling -include.
3244 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3246 * gencodes.c (output_predicate_decls): New function.
3248 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
3249 even if it is not the first time machmode.h is #included.
3250 * config/sh/sh.c (fpul_operand): Declare MODE argument.
3251 * tm.texi (PREDICATE_CODES): Document predicate declarations.
3252 * gcc.texi (Copyright): Added 2001.
3254 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3256 * c-common.c (c_common_lang_init): New function. Warn if format
3257 warning options which only have effects when used with -Wformat
3258 are used without -Wformat.
3259 * c-common.h (c_common_lang_init): Declare.
3260 * c-lang.c (lang_init): Call c_common_lang_init.
3261 * objc/objc-act.c (lang_init): Call c_common_lang_init.
3263 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3265 * configure.in: Check for the mktemp command.
3266 * configure: Regenerate.
3267 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
3268 $TEMP. Create temporary files with mktemp, if available at
3269 configure time; otherwise use set -C. Remove temporary files
3272 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
3274 * configure.in: Require at least texinfo 4.0. Check for whether
3275 Pod::Man is sufficiently recent to regenerate GCC manpages.
3276 * configure: Regenerate.
3277 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
3279 (GENERATED_MANPAGES): Define.
3280 (generated-manpages): New target. Depend on cpp.1 as well as
3282 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
3283 configure to generated-manpages or empty) rather than on the
3284 manpages directly. Remove execute permission from installed
3285 gcov.1 as well as cpp.1.
3286 * cpp.1, gcov.1: Regenerate.
3288 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3290 * builtins.c (expand_builtin_strncmp): Use host_integerp and
3291 tree_low_cst. Allow using cmpstrsi in more cases.
3293 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3295 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
3298 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
3300 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
3301 * Makefile.in (HOST_CFLAGS): Mention build-make.
3303 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3305 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
3308 2001-01-01 Bernd Schmidt <bernds@redhat.com>
3310 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
3313 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
3316 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
3317 reg_base_value and reg_known_value arrays.
3318 (init_alias_analysis): Add more cases to detect known values.
3319 * sched-deps.c (deps_may_trap_p): New function.
3320 (sched_analyze_2): Use it.
3322 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
3324 * combine.c (simplify_shift_const): Even if we're sign-extracting,
3325 don't discard an ASHIFTRT if we're shifting in a wider mode.
3327 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
3329 * toplev.c (rest_of_compilation): Don't print basic block information
3330 when CFG isn't up to date.
3332 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
3334 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
3335 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
3336 (UNALIGNED_SHORT_ASM_OP): Define.
3337 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
3339 2001-01-02 Mark Mitchell <mark@codesourcery.com>
3341 * fold-const.c (fold_convert): Fix typo.
3343 2001-01-02 Richard Henderson <rth@redhat.com>
3345 * c-common.h (ASM_INPUT_P): New.
3346 * c-parse.in (asm): Set it when needed.
3347 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
3348 existance of an operand.
3350 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
3352 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
3353 (dwarf2out_frame_debug_expr): Likewise.
3354 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
3356 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
3358 * i386.c (ix86_split_to_parts): Return number of part required;
3360 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
3362 (ix86_split_long_move): Use number of part returned
3363 by ix86_split_to_parts
3364 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
3366 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
3367 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
3368 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
3369 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
3370 (ALIGN_MODE_128): Add TFmode.
3371 (IS_STACK_MODE): Likewise.
3372 (HARD_REGNO_NREGS): TFmode needs 3 registers.
3373 (HARD_REGNO_OK): Support TFmodes.
3374 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
3375 * i386.md (scheduler definitions): Use memory operand to determine
3376 fst/fld instructions; use mode attribute to determine real mode of
3378 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
3379 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
3381 2001-01-02 Mark Mitchell <mark@codesourcery.com>
3383 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
3385 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
3387 * expr.c (store_constructor_field): Update ALIGN before calling
3390 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
3392 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
3395 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
3397 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
3400 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
3402 * c-decl.c (start_function): Don't warn on third parameter to main.
3404 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3406 * tsystem.h: Define HAVE_DECL_GETOPT.
3408 2001-01-02 Philip Blundell <pb@futuretv.com>
3410 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
3413 2001-01-02 Richard Henderson <rth@redhat.com>
3415 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
3417 2001-01-02 Andreas Jaeger <aj@suse.de>
3419 * c-decl.c (c_decode_option): Remove support of
3422 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
3423 (W_options): Add -Wmissing-noreturn here.
3425 * flow.c: Define lang_missing_noreturn_ok_p.
3426 (check_function_return_warnings): Use it.
3428 * c-common.h: Declare lang_missing_noreturn_ok_p.
3430 * c-lang.c (c_missing_noreturn_ok_p): New function.
3431 (lang_init): Set lang_missing_noreturn_ok_p.
3433 * invoke.texi (Warning Options): Document this.
3435 2000-12-27 Phil Edwards <pme@sources.redhat.com>
3437 * extend.texi (C++ Extensions): New node for C++ attributes;
3438 describe init_priority and com_interface.
3439 * invoke.texi: Remove -finit-priority as it now has zero effect.
3440 * install.texi: Fix xref syntax.
3441 * md.texi: Likewise.
3443 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3445 * config.gcc (sparc64-wrs-vxworks*): New case.
3446 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
3448 * config/sparc/sparc.c (sparc_override_options): Do support different
3449 pointer and architecture size.
3450 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
3451 (POINTERS_EXTEND_UNSIGNED): Define.
3452 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
3453 (FUNCTION_MODE): Define to be Pmode.
3454 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
3456 * function.c (expand_function_end): Properly handle DECL_RESULT
3457 and copy when ptr_mode != Pmode.
3458 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
3460 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3462 * c-common.c (c_common_nodes_and_builtins): Set prototype
3463 parameters for __builtin_fputs, __builtin_fputc and
3464 __builtin_fwrite. Don't declare plain fputc as a builtin.
3466 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
3468 * loop.c (add_label_notes): Increment the label usage count when
3469 a note is added to an insn which refers to a CODE_LABEL.
3470 * gcse.c (add_label_notes): Likewise.
3472 2001-01-01 Andreas Jaeger <aj@suse.de>
3474 * loop.c (scan_loop): Use xmalloc to allocate movables.
3476 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
3478 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
3479 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
3480 * reload1.c (REGISTER_MOVE_COST): Likewise.
3481 * regclass.c (REGISTER_MOVE_COST): Likewise.
3482 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
3483 dimension. Adjust all users.
3484 (init_reg_sets_1): Iterate on all modes.
3485 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
3486 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
3487 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
3488 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
3489 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
3490 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
3491 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
3492 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
3493 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
3494 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
3495 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
3496 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
3497 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
3498 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
3499 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
3500 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
3501 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
3502 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
3503 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
3504 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
3505 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
3506 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
3507 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
3508 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
3509 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
3510 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
3511 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
3513 2001-01-01 Bernd Schmidt <bernds@redhat.com>
3515 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
3516 arg VARIES_P. Call it with extra arg.
3517 (true_dependence): Likewise.
3518 * rtl.h (rtx_addr_can_trap_p): Declare.
3519 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
3521 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
3522 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
3523 pic offset table register if it's zero. All callers changed.
3524 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
3526 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3528 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
3529 STRING_POOL_ADDRESS_P.
3531 * config/sparc/sparc.c (input_operand): Properly test for short op.
3533 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
3534 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
3535 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
3536 * config/sparc/elf.h: No longer include sol2.h.
3537 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
3538 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
3540 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
3542 2001-01-01 Michael Hayes <mhayes@redhat.com>
3544 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
3545 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
3546 (record_initial): Likewise.
3547 * unroll.c (copy_loop_body, loop_iterations): Likewise.
3548 (remap_split_bivs): Likewise.
3550 2001-01-01 Michael Hayes <mhayes@redhat.com>
3552 * loop.c (loop_ivs_free): New function.
3553 (strength_reduce): Break out from...
3555 2001-01-01 Michael Hayes <mhayes@redhat.com>
3557 * loop.h (struct iv): New.
3558 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
3559 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
3560 'reg_biv_class' fields with 'regs' and 'n_regs'.
3561 (struct ivs): Rename 'loop_iv_list' field to 'list'.
3562 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
3563 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
3565 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
3567 * resource.c (mark_referenced_resources): Abort() before
3568 attempting to mark a pseudo register.
3569 (mark_set_resources): Likewise.
3571 2001-01-01 Michael Hayes <mhayes@redhat.com>
3573 * loop.h (REG_IV_CLASS): New accessor macro.
3574 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
3575 * unroll.c (REG_IV_CLASS): Likewise.
3577 See ChangeLog.4 for earlier changes.