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