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