OSDN Git Service

* cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
2
3         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ. 
4
5 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
6
7         * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
8         -D, -U and -A, and don't initialize the builtins.
9         * cppmain.c (cb_define, cb_undef): Unconditionally process
10         the callback.
11         * tradcpp.c (main): Fix typo.
12
13 2000-01-11  Mark Elbrecht  <snowball3@bigfoot.com>
14           
15          * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
16            (read_name_map): Use IS_ABSOLUTE_PATH.
17          * tradcpp.c (get_filename): Likewise.   
18
19 2001-01-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
20
21         * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
22         (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
23         (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
24         (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
25         (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
26         (cmphi_z_used): Don't use '@' for the output.
27         (tstqi_z_used): Likewise.
28         (cmpqi_z_used): Likewise.
29         (one_cmplsi2): Likewise.
30
31 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
32
33         * config/sh/sh.c (barrier_align): Recognize branch around far
34         branch and redundant insn.
35
36 2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
37
38         * invoke.texi: Restore documentation of the drivers' switches -MD
39         and -MMD.
40
41 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
42
43         * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
44
45         * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
46         check-objc//%): Support parallel testing of multilibs.
47         (TESTSUITEDIR): Set to testsuite by default, but override for
48         parallel testing.
49         (check-gcc, check-g++, check-g77, check-objc): Enter
50         $(TESTSUITEDIR).
51
52 2001-01-11  Bernd Schmidt  <bernds@redhat.com>
53
54         * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
55         * sched-deps.c (deps_may_trap_p): Likewise.
56         * basic-block.h: Remove a comment.
57         * flow.c (PROP_POSTRELOAD): Remove.
58         (update_life_info): Don't add it to prop_flags.
59         (mark_set_1): Lose the code that was enabled by it.
60
61 2001-01-11  Michael Hayes  <mhayes@redhat.com>
62
63         * flow.c (flow_call_edges_add): New.
64         * basic_block.h (flow_call_edges_add): New.
65
66 2001-01-11  J"orn Rennecke <amylaar@redhat.com>
67
68         * reload1.c (move2add_note_store): Update reg_set_luid even if
69         base reg remains the same.
70
71 2001-01-10  Nick Clifton  <nickc@redhat.com>
72
73         * config/d30v/d30v.c (d30v_init_machine_status): Initialise
74         machine_function structure to zero.
75         Add prototypes for machine_status functions.
76
77 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
78
79         * c-common.h (CTI_VOID_LIST): Remove.
80         (void_list_node): Likewise.
81         * tree.h (TI_VOID_LIST_NODE): New enumeral.
82         (void_list_node): New macro.
83         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
84         * config/i386/i386.c (ix86_init_builtins): Likewise.
85         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
86
87 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
88
89         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
90         * cppinit.c (cpp_start_read): Update comment, remove unneeded
91         if statement.
92         * tradcpp.c: Include mkdeps.h.
93         (deps, print_deps_phony_targets, deps_append, output_deps,
94         init_dependency_output, output_deps): New.
95         (deps_buffer, deps_allocated_size, deps_size, deps_column,
96         deps_output): Delete.
97         (print_deps_missing_files): Rename deps_missing_files.
98         (inhibit_output): Make global.
99         (main): Delete inhibit_output, deps_stream, deps_target.
100         Use mkdeps functionality in the same way as cpplib.  Remove
101         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
102         -M and -MM.  Remove old handling of deps via deps_out, and
103         old reading of environment variables.
104         (get_filename): Update to use deps_add_dep.
105
106 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
107
108         * output.h (make_function_rtl): Remove prototype.
109         (make_decl_rtl): Likewise.
110         * varasm.c (make_function_rtl): Remove.
111         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
112         than from a third parameter.
113         * tree.h (make_decl_rtl): Remove last parameter.
114         * c-decl.c (builtin_function): Remove last argument in call to
115         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
116         (start_function): Likewise.
117         * except.c (call_get_eh_context): Likewise.
118         * expr.c (emit_block_move): Likewise.
119         (clear_storage): Likewise.
120         * profile.c (output_func_start_profiler): Likewise.
121         * toplev.c (rest_of_decl_compilation): Likewise.
122         * objc/objc-act.c (create_builtin_decl): Likewise.
123         (synth_module_prologue): Likewise.
124         (generate_static_reference): Likewise.
125         (build_selector_reference_decl): Likewise.
126         (build_class_reference_decl): Likewise.
127         (build_objc_string_decl): Likewise.
128         (build_protocol_reference): Likewise.
129
130 2001-01-10  Richard Henderson  <rth@redhat.com>
131
132         * hwint.h: Revert yesterday's change.
133
134 2001-01-10  Nick Clifton  <nickc@redhat.com>
135
136         * function.h (save_machine_status): Delete.
137         (restore_machine_status): Delete.
138         Amend comment describing {init|mark|free}_machine_status.
139
140         * function.c (save_machine_status): Delete.
141         (restore_machine_status): Delete.
142         Amend comment describing {init|mark|free}_machine_status.
143         (push_function_context_to): Remove invocation of
144         save_machine_status.
145         (pop_function_context_from): Remove invocation of
146         restore_machine_status.
147
148         * emit-rtl.c (init_emit_once): Amend comment describing
149         {init|mark|free}_machine_status. 
150
151         * tm.texi (Per-Function Data): New node.  Describe the
152         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
153         function pointers.
154
155 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
156
157         * cppinit.c (OPT_g): Remove.
158         (cpp_handle_option): Update for removed -g3. 
159         (print_help): Update.
160         * cpplib.h (struct cpp_options): Remove debug_output.
161         * cppmain.c (setup_callbacks, cb_define): Update.
162         * gcc.c (cpp_options): Translate -g3 to -dD.  
163
164 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
165
166         * config/i960/i960.md: Change modifier to + on the zero_extract
167         pattern after the (rotate -2 reg) canonicalization pattern.
168
169 2001-01-10  Richard Henderson  <rth@redhat.com>
170
171         * config/alpha/alpha.c (alpha_free_machine_status): New.
172         (override_options): Install it.
173         (alpha_mark_machine_status): Verify machine non-null.
174         * config/i386/i386.c (ix86_free_machine_status): New.
175         (override_options): Install it.
176         (ix86_init_machine_status): Use xcalloc.
177         (ix86_mark_machine_status): Verify machine non-null.
178         * config/ia64/ia64.c (ia64_free_machine_status): New.
179         (ia64_override_options): Install it.
180         (ia64_mark_machine_status): Verify machine non-null.
181
182 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
183
184         * function.c (instantiate_virtual_regs): Instantiate virtual
185         registers found in CALL_INSN_FUNCTION_USAGE.
186
187 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
188
189         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
190         equivalent to -ansi in disabling -Di386.
191
192 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
193
194         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
195         new functions.
196         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
197
198 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
199
200         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
201
202 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
203
204         * invoke.texi: Document that -fcond-mismatch isn't supported for
205         C++.
206
207 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
208
209         * gcc.texi: Define macro gcctabopt.
210         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
211         @command, @env and @option in some places where appropriate.  Use
212         @gcctabopt where appropriate.  Put URLs and email addresses inside
213         @w.
214
215 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
216         
217         * gcc.c (cpp_options): Set MD file name from output
218         filename, if specified.
219         (suffix_subst): New static variable.
220         (do_spec): Clear it.
221         (do_spec_1, case '.'): Handle new `%.suffix' spec.
222         Clear it.
223         (give_switch): Handle suffix_subst.
224
225 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
226
227         * invoke.texi:  Fix another typo.
228
229 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
230
231         * invoke.texi:  Fix typo.
232
233 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
234
235         * c-lang.c (lang_hooks): Update.
236         (lang_decode_option): Remove.
237         (lang_init_options): Rename c_init_options.
238         * toplev.c (main): Use lang_hooks for lang_init_options
239         and lang_decode_option.
240         * toplev.h (lang_hooks): Add 2 new hooks.
241         * tree.h: Remove lang_init_options and lang_decode_option.
242         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
243         * cp/decl2.c: Similarly.
244         * cp/lex.c (lang_init_options): Rename cxx_init_options.
245         (lang_hooks): Update.   
246         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
247         for consistency.
248         (lang_init_options): Rename ffe_init_options.
249         (lang_hooks): Update.
250         (lang_decode_option): Remove.
251         * java/lang.c (lang_init_options): Rename java_init_options.
252         (lang_decode_option): Rename java_decode_option.
253         (lang_hooks): Update.
254         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
255         (lang_decode_option): Rename objc_decode_option.
256         (lang_hooks): Update.
257
258 2001-01-09  Nick Clifton  <nickc@redhat.com>
259
260         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
261         (d30v_return_addr_rtx): Delete.
262         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
263         cfun->machine structure.
264         (struct machine_function): Move to d30v.h
265         (d30v_save_machine_status): Delete.
266         (d30v_restore_machine_status): Delete.
267         (d30v_init_machine_status): New Function.
268         (d30v_mark_machine_status): New Function.
269         (d30v_free_machine_status): New Function.
270         (d30v_init_expanders): Use new functions.
271         (d30v_return_addr): Use ra_rtx field in cfun->machine.
272         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
273         d30v_return_addr_rtx.
274
275         * config/d30v/d30v.h (struct_machine): Move here.
276         Add eh_epilogue_sp_ofs field.
277
278         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
279         field in cfun->machine structure.
280
281 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
282
283         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
284         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
285         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
286
287 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
288
289         * objc/lang-options.h: Remove bogus reference to
290         Java trademark.
291
292 2001-01-09  Kazu Hirata  <kazu@hxi.com>
293
294         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
295         return the result.
296
297 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
298
299         * reload.c (find_reloads_address): Check for eliminable registers
300                   when substituting a constant expression for a pseudo.
301         
302 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
303
304         * c-common.c (enum format_type): Add format_type_error.
305         (decode_format_type): New function.
306         (decl_attributes): Use it.
307         (format_kind_info): Adjust comment.
308
309 2001-01-09  David O'Brien  <obrien@BSDi.com>
310
311         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
312         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
313         files in tm_file.
314         * config/i386/gnu.h: Don't include required platform specific .h files,
315         tm.h will do it instead.
316         * config/i386/i386elf.h: Likewise.
317         * config/i386/linux.h: Likewise.
318         * config/i386/moss.h: Likewise.
319         * config/mips/gnu.h: Likewise.
320
321 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
322
323         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
324         (rs6000-ibm-aix3.[01]*): Likewise.
325         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
326         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
327         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
328         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
329         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
330         (powerpc-*-eabiaix*): Likewise.
331         (powerpc-*-eabisim*): Likewise.
332         (powerpc-*-elf*): Likewise.
333         (powerpc-*-eabi*): Likewise.
334         (powerpc-*-rtems*): Likewise.
335         (powerpc-*-linux*libc1): Likewise.
336         (powerpc-*-linux*): Likewise.
337         (powerpc-wrs-vxworks*): Likewise.
338         (powerpcle-wrs-vxworks*): Likewise.
339         (powerpcle-*-sysv*): Likewise.
340         (powerpcle-*-elf*): Likewise.
341         (powerpcle-*-eabisim*): Likewise.
342         (powerpcle-*-eabi*): Likewise.
343         (powerpcle-*-solaris2*): Likewise.
344         * config/rs6000/aix31.h: Delete includes.
345         * config/rs6000/aix3newas.h: Likewise.
346         * config/rs6000/aix41.h: Likewise.
347         * config/rs6000/aix43.h: Likewise.
348         * config/rs6000/beos.h: Likewise.
349         * config/rs6000/rtems.h: Likewise.
350         * config/rs6000/sysv4.h: Likewise.
351
352 2001-01-09  Kazu Hirata  <kazu@hxi.com>
353
354         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
355         Change an argument mode of machine_mode to shift_mode of
356         shift_mode.  Remove an extra error check.
357         (emit_a_shift): Adopt to the new calling prototype of
358         get_shift_alg.
359         (function_prologue): Fix code for a monitor
360         function.  Support H8/S.
361         (function_epilogue): Do not output pop for a monitor function.
362
363 2001-01-09  Nick Clifton  <nickc@redhat.com>
364
365         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
366         (setup_incoming_varargs): Use sysv_varargs_p field of the
367         cfun->machine structure.
368         (struct machine_function): Move to rs6000.h
369         (rs6000_save_machine_status): Delete.
370         (rs6000_restore_machine_status): Delete.
371         (rs6000_init_machine_status): New Function.
372         (rs6000_free_machine_status): New Function.
373         (rs6000_init_expanders): Use new functions.
374
375         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
376         export.
377         (struct machine_function): Move here.
378
379         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
380         sysv_varargs_p field of the cfun->machine structure.
381
382         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
383         Remove prototype.
384         (rs6000_restore_machine_status): Remove prototype.
385
386 2001-01-09  Richard Henderson  <rth@redhat.com>
387
388         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
389         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
390         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
391         (sched_analyze_2, sched_analyze_insn): Likewise.
392         (sched_analyze, init_deps): Likewise.
393         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
394         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
395         (compute_block_backward_dependences): Update propagate_deps call.
396
397 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
398
399         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
400
401 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
402
403         * cppinit.c (OPT_MD, OPT_MMD): Restore.
404         (cpp_handle_option): Handle them.
405         (cpp_post_options): Ensure one of -M or -MM is specified with
406         any other -M? option.
407         (init_dependency_output): Suppress output with -MG.
408
409 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
410
411         * cpp.texi: Update.
412         * invoke.texi: Update.
413
414 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
415
416         * sh.md (reload_outsf): Generate recognizable patterns for
417         TARGET_SH3E.
418
419 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
420
421         * c-lang.c (lang_hooks): Update.
422         (lang_init): Rename c_init.
423         (lang_finish): Remove.
424         * toplev.c (compile_file): Use lang_hooks for lang_init ()
425         and lang_finish ().
426         * toplev.h (lang_hooks): Add init () and finish ().
427         * tree.h (lang_init, lang_finish): Remove.
428         * cp/tree.h (lang_init, lang_finish): Remove.
429         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
430         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
431         lang_hooks): New.
432         (lang_init, lang_finish): Remove.
433         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
434         (lang_hooks): Update.
435         * java/lang.c (lang_init): Rename java_init.
436         (lang_finish): Remove.
437         (lang_hooks): Update.
438         * objc/objc-act.c (lang_init): Rename objc_init.
439         (lang_finish): Remove.
440         (lang_hoooks): Update.
441
442 20001-01-09  Graham Stott  <grahams@redhat.com>
443
444         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
445         after `ptr` is initialised.
446
447 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
448
449         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
450         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
451         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
452         stack adjusts, instead of r3.
453
454 2001-01-09  Michael Hayes  <mhayes@redhat.com>
455
456         * flow.c (flow_loop_scan): Break out of ...
457         (flow_loops_find) ... here.
458         * basic-block.h (flow_loop_scan): New.
459         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
460         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
461
462 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
463
464         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
465         macro_buffer_len.
466         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
467         realloc()ing macro_buffer.
468
469         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
470         if it's wider than long and the target's long is wider than the
471         host's.
472
473 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
474
475         Remove support for using UWIN as a host machine.
476         * configure.in: Issue an error message.
477         * configure: Regenerated.
478         * config.gcc: Remove xm_* UWIN configury.
479         * config/i386/xm-uwin.h: Remove.
480
481 2001-01-08  Nick Clifton  <nickc@redhat.com>
482
483         * config/v850/v850.c (ra_rtx): Delete.
484         (v850_save_machine_status): Delete.
485         (v850_restore_machine_status): Delete.
486         (v850_init_machine_status): New function.
487         (v850_mark_machine_status): New function.
488         (v850_free_machine_status): New function.
489         (v850_return_addr): Use ra_rtx field in machine structure.
490         (v850_init_expanders): Use new functions.
491
492         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
493         * config/v850/v850.c: Change arguments to v850_output+* functions
494         to take a const char *, to avoid compile time warning.
495         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
496         (USER_LABEL_PREFIX): Redefine.
497         
498 2000-01-08  Jim Wilson  <wilson@redhat.com>
499
500         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
501         1 to unsigned HOST_WIDE_INT before left shift.
502
503 2001-01-08  Nick Clifton  <nickc@redhat.com>
504
505         * config/arm/arm.c (arm_mark_machine_status): Check to see if
506         the machine structure has been allocated.
507         (arm_free_machine_status): New function: Free the machine
508         specific function structure.
509
510 2001-01-08  Richard Henderson  <rth@redhat.com>
511
512         * jump.c (simplejump_p): Revert last change.
513
514 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
515
516         * cppinit.c (init): Rename init_library.
517         (cpp_create_reader): Update.
518         * gcc.c (cpp_options): If -o given, use it as the target of
519         any -M options.
520
521 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
522
523         * arm.c (arm_arch5e): New variable.
524         (all_cores): XScale is a 5TE device.
525         (arm_override_options): Set arm_arch5e.
526         (arm_init_builtins): __builtin_prefetch is in arch5e.
527         * arm.h (arm_arch5e): Declare it.
528
529         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
530
531         * arm.md (define_constants): Add defines for UNSPEC and
532         UNSPEC_VOLATILE insns.  Update all users.
533         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
534         * arm.c (multi_register_push, note_invalid_constants)
535         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
536         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
537         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
538         
539 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
540
541         * jump.c (jump_optimize_1): Use reversed_comparison_code
542         instead of can_reverse_comparison_p.
543         (jump_back_p): Likewise.
544         (invert_exp_1): Likewise.
545         (thread_jumps): Likewise.
546         * simplify-rtx.c (simplify_unary_operation): Likewise.
547         (simplify_ternary_operation): Likewise.
548         * cse.c (find_comparison_args): Convert to use
549         can_reverse_comparison_p.
550         (record_jump_equiv): Likewise.
551
552 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
553
554         * arm.h (HARD_REGNO_RENAME_OK): Delete.
555         (EPILOGUE_USES): Define.
556         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not 
557         automatically stack the LR if it isn't live.
558
559 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
560
561         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
562         properly.
563
564 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
565
566         * ggc-page.c (max_alignment): New structure.
567         (MAX_ALIGNMENT): New macro.
568         (init_ggc): Use it to round up the sizes in the
569         extra_order_size_table.
570
571 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
572
573         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
574         after reload.
575
576 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
577
578         * builtins.def (BUILT_IN_FPRINTF): New entry.
579
580         * c-common.c (c_expand_builtin_fprintf): New function.
581         (init_function_format_info): Handle __builtin_fprintf.
582         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
583         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
584
585         * c-decl.c (duplicate_decls): Adjust comment.
586
587         * extend.texi (fprintf): Document new builtin.
588
589 2001-01-07  Richard Henderson  <rth@redhat.com>
590
591         * jump.c (simplejump_p): Recognize any single_set jump
592         of the proper form.
593
594 2001-01-07  Richard Henderson  <rth@redhat.com>
595
596         * configure.in (slibdir): Accept an --with-slibdir option.
597         Use "test" not "[" in configure.  Default to $(libdir).
598
599         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
600         fix typo in rm -f.
601         * config/t-aix43 (SHLIB_INSTALL): Likewise.
602         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
603         (SHLIB_LINK): Create links for the soname.
604         * config/mips/t-iris6: Likewise.
605         * config/sparc/t-slibgcc: Likewise.
606         * config/sparc/t-slibgcc-sld: Likewise.
607
608 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
609
610         * config/i386/i386.c (constant_call_address_operand): Accept
611         (const (plus (symbol_ref) (const_int))).
612         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
613         constant_call_address_operand.
614
615 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
616
617         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
618         and LONG_LONG_TYPE_SIZE > 32.
619
620 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
621
622         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
623         the previous change.
624
625 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
626
627         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
628         New.
629         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
630         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
631         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
632         Declare.
633
634 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
635
636         * fix-header.c (read_scan_file): s/pfile/scan_in/.
637
638 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
639
640         * c-lang.c (c_post_options): Call cpp_post_options.
641         * objc/objc-act.c (objc_post_options): Similarly.
642         * cppmain.c (main): Similarly.
643         * fix-header.c (read_scan_file): Similarly.
644         * cppinit.c (cpp_start_read): Move option consistency checks
645         to cpp_post_options.  Don't call init_dependency_output.
646         If needed, add default target and main file dependency.
647         (OPT_MD, OPT_MMD): Remove.
648         (OPT_MF): New.
649         (cpp_handle_option): Update for OPT_* changes.
650         (cpp_post_options): New.
651         (init_dependency_output): Command line -MF overrides environment
652         variables.  Don't set default target etc.  Suppress output
653         if dependencies are going to stdout.
654         (print_help): Update.
655         * cpplib.h (cpp_post_options): New.
656         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
657         
658 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
659
660         * jump.c (comparison_dominates_p): Support unordered compares.
661
662 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
663
664         * simplify-rtx.c (simplify_relational_operation): Always simplify
665         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
666         and UNGE.
667
668 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
669
670         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
671         (nonzero_bits): Likewise.
672         (simplify_comparison): Likewise.
673         (num_sign_bit_copies): Likewise; return more sane value depending
674         on STORE_FLAG_VALUE.
675         (known_cond): Do not assume EQ to be always true for equivalent
676         operands.
677
678 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
679
680         * cse.c (fold_rtx): Handle unordered comparisons.
681
682 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
683
684         * rtlanal.c (set_of_1): New static function.
685         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
686          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
687          reg_set_last_last_regno): Remove.
688         (set_of): New global function.
689         (set_of_data): New structure.
690         (reg_set_p, reg_set_last): Revamp for set_of.
691         * rtl.h (set_of): New.
692
693 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
694
695         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
696         * extend.texi: Document _Exit builtin.
697
698 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
699
700         * (initialize, initialize_builtins,
701         initialize_dependency_output, initialize_standard_includes):
702         Rename s/initialize/init. Update.
703         (init_dependency_output): Move to after
704         cpp_handle_options, the correct location temporally at least.
705         (opt_comp): Move next to init (), its caller.  Fix prototype.
706         (init): Make "initialized" local scope.
707         (cpp_create_reader): Always call init ().
708         (cpp_start_read): Update.
709         (output_deps): New function, broken out of cpp_finish.
710         (cpp_finish): Break out output_deps.
711
712 2001-01-07  Richard Henderson  <rth@redhat.com>
713
714         * collect2.c (COFF specific stuff): Revert 12-06 patch
715         to prototype system functions.
716
717 2001-01-07  Michael Hayes  <mhayes@redhat.com>
718
719         * hard-reg-set.h: Add multiple include guard.
720         * basic-block.h (struct loop): Add `sink' field.
721         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
722         (emit_iv_add_mult): Delete.
723         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
724         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
725         (unroll_loop): Remove end_insert_before argument.
726         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
727         (maybe_eliminate_biv_1): Likewise.
728         (emit_iv_add_mult): Delete.
729         (gen_add_mult, loop_regs_update): New.
730         (loop_insn_emit_after, loop_insn_emit_before): New.
731         (loop_insn_sink, loop_insn_sink_or_swim): New.
732         (emit_iv_add_mult): Delete.
733         (scan_loop): Set loop->sink.
734         (loop_givs_reduce): Use loop_insn_sink and its ilk.
735         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
736         (maybe_eliminate_biv_1): Likewise.
737         (maybe_eliminate_biv_1): Add basic block argument.
738         * unroll.c (unroll_loop): Remove end_insert_before argument.
739         (find_splittable_regs): Likewise.
740         (find_splittable_regs): Use loop_insn_sink and its ilk.
741         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
742
743 2001-01-07  Michael Hayes  <mhayes@redhat.com>
744
745         * loop.h (loop_insn_hoist): New prototype.
746         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
747         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
748         (check_dbra_loop, load_mems): Likewise.
749         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
750         (find_splittable_givs): Likewise.
751
752 2001-01-07  Michael Hayes  <mhayes@redhat.com>
753
754         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
755
756 2001-01-07  Richard Henderson  <rth@redhat.com>
757
758         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
759
760 2001-01-07  Richard Henderson  <rth@redhat.com>
761
762         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
763         NO_SHARED_LIBGCC_MULTILIB as required for the target.
764         * gcc.c (init_spec): Massage the existing libgcc_spec into a
765         variant that handles a shared libgcc.
766         (process_command): Always validate -{static,shared}-libgcc.
767         (do_spec_1): New 'M' case.
768         * invoke.text (Link Options): Document -{static,shared}-libgcc.
769
770 2001-01-07  Richard Henderson  <rth@redhat.com>
771
772         * Makefile.in (slibdir): New variable.
773         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
774         (installdirs): Create slibdir.
775         (install-libgcc, install-multilib): Defer to libgcc.mk.
776         * configure.in (slibdir): Substitute.
777         * mklibgcc.in (install): New target.
778
779         * config/t-linux (SHLIB_LINK): Create links for the soname.
780         (SHLIB_INSTALL): New.
781         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
782         * config/mips/t-iris6 (SHLIB_INSTALL): New.
783         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
784         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
785         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
786
787 2001-01-07  Richard Henderson  <rth@redhat.com>
788
789         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
790         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
791         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
792
793 2001-01-07  Michael Hayes  <mhayes@redhat.com>
794
795         * loop.c (count_loop_regs_set): Delete.
796         (load_mems_and_recount_loop_regs_set): Delete.
797         (loop_regs_scan): Merge common code from count_loop_regs_set,
798         scan_loop, and load_mems_and_recount_loop_regs_set.
799         (scan_loop): Call load_mems directly and loop_regs_scan
800         again if new registers created.
801
802 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
803
804         * toplev.c (main): Call the front-end specific post_options
805         hook if one is given.
806         * toplev.h (struct_lang_hooks, lang_hooks): New.
807         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
808         for the C front end.
809         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
810         lang_hooks for the C++ front end.
811         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
812         lang_hooks for the ObjC front end.
813         * f/com.c (lang_hooks): Hooks for the Fortran front end.
814         * java/lang.c (lang_hooks): Hooks for the Java front end.
815
816 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
817
818         * c-lex.c (init_c_lex): Request #define / #undef callbacks
819         for verbose DWARF[2] debugging.
820         (cb_define, cb_undef): The new callbacks.
821         * toplev.h (debug_define, debug_undef): Make const correct.
822         * toplev.c (debug_define, debug_undef): Similarly.  Do not   
823         perform the verbosity tests here anymore.
824
825 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
826
827         * reload.c (subst_reloads): Take INSN argument.  When
828         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
829         * reload.h (subst_reloads): Adjust prototype.
830         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
831         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
832         present in JUMP_INSNs and copy them to JUMP_LABEL.
833         * flow.c (find_label_refs, find_basic_blocks_1): Skip
834         JUMP_INSNs and insns with REG_LABELs that are followed by
835         JUMP_INSNs with the same REG_LABEL.
836         * sched-rgn.c (is_cfg_nonregular): Likewise.
837         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
838         note is available.
839         * unroll.c (unroll_loop): Look for REG_LABEL notes in
840         JUMP_INSNs too.
841         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
842
843 2001-01-06  Richard Henderson  <rth@redhat.com>
844
845         * loop.c (scan_loop): Use xcalloc for the regs array.
846         (load_mems_and_recount_loop_regs_set): Zero the new memory
847         received from xrealloc.
848
849 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
850
851         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
852
853 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
854
855         * integrate.c (copy_rtx_and_substitute): When copying
856         an ignored return value, strip REG_FUNCTION_VALUE_P.
857
858 2001-01-06  Michael Hayes  <mhayes@redhat.com>
859
860         * loop.c (debug_biv, debug_giv): New.
861         (loop_biv_dump): Break out from ...
862         (record_biv): ... here.
863         (loop_giv_dump): Break out from ...
864         (record_giv): ... here.
865         (loop_bivs_check): Use print_simple_rtl.
866         * unroll.c (loop_iterations): Use print_simple_rtl.
867
868 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
869
870         * pa.md (return, return_internal): Modify patterns to prevent regrename
871         mucking with the return pointer.
872
873 2001-01-05  Mike Stump  <mrs@wrs.com>
874
875         * varasm.c (assemble_name): Ensure we output the stripped name.
876
877 2001-01-05  Richard Henderson  <rth@redhat.com>
878
879         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
880
881 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
882
883         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
884         version supplied by Matteo Frigo.
885
886 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
887
888         * cpp.texi: Update for -MQ.
889         * cppinit.c (cpp_create_reader): Always create pfile->deps.
890         (cpp_cleanup): Always free pfile->deps.
891         (initialize_dependency_output): Don't create pfile->deps.
892         (cpp_handle_option): Similarly.
893         (OPT_MQ): New.
894         * gcc.c (cpp_options): Handle -MQ.
895         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
896         * mkdeps.c (base_name): Remove.
897         (deps_init): Don't allocate vector space until it's needed.
898         (deps_free): Only free vectors if allocated.
899         (deps_add_target, deps_add_dep): Update for initial allocation.
900         (deps_add_default_target): Don't strip to the base_name.
901
902 2001-01-05  DJ Delorie <dj@redhat.com>
903
904         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
905         (INIT_EXPANDERS): Define.
906
907         * config/v850/v850.c (struct machine_function): Define.
908         (v850_save_machine_status): New function.
909         (v850_restore_machine_status): New function.
910         (v850_return_addr): New function.
911         (v850_init_expanders): New function.
912
913         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
914         and v850_init_expanders.
915         
916 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
917
918         * cpplib.h (struct cpp_reader): Add help_only field.
919         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
920         (cpp_handle_option): Set pfile->help_only if we see -h,
921         --help, -target-help, or --version.  Print version string but
922         do not set help_only if we see -v or -version.  Make text
923         printed by -v match that printed by (-)-version.
924
925         * cppmain.c (main): Exit after option parsing if
926         pfile->help_only is true.
927
928         * toplev.c (independent_decode_option): Call print_version,
929         then exit, if we see --version (but not -version).
930         (print_version): Split lengthy message into two lines.
931
932 2001-01-05  Nick Clifton  <nickc@redhat.com>
933
934         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
935         temporary string for initialisation before calling ggc_alloc_string.
936
937 2001-01-06  Michael Hayes  <mhayes@redhat.com>
938
939         * rtl.h (print_simple_rtl): New.
940         * print-rtl.c (print_simple_rtl): New.
941         (flag_simple): New.
942         (print_rtx): Disable printing of flags and modes, etc.,
943         if `flag_simple` nonzero.
944
945 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
946
947         * function.c (fixup_var_refs): Use push_to_full_sequence where
948         possible.
949
950 2001-01-05  Michael Meissner  <meissner@redhat.com>
951
952         * flags.h (flag_reorder_blocks): Add declaration.
953         (flag_rename_block): Ditto.
954
955 2001-01-05  DJ Delorie  <dj@redhat.com>
956
957         * function.c (reorder_blocks): Make sure the flags are all reset
958         before using them to mark blocks, else a second invocation will
959         corrupt the block chain.
960         (reorder_blocks_0): New, resets the flags.
961
962 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
963
964         * cse.c (find_comparison_args): Stop if the argument is known to
965         be constant.
966
967 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
968
969         * config/sh/sh.md (movdf): When splitting load into pair of
970         registers, don't clobber the register used in the address too
971         early.
972
973 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
974
975         * varasm.c (mark_constant_pool): Improve initial comments.
976         (mark_constants): Move marking of constants to mark_constant.
977         (mark_constant): New function to recursively mark all constants
978         referred to by a constant.
979
980 2001-01-05  Catherine Moore  <clm@redhat.com>
981
982         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
983
984 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
985
986         * cp/lang-options.h:  Bring comment in line with reality.
987         * f/lang-options.h:  Likewise.
988         * java/lang-options.h:  Likewise.
989         * objc/lang-options.h:  Likewise.
990         * ch/lang-options.h:  Likewise.
991         * f/g77.texi:  And update the manual.
992
993 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
994             Denis Chertykov  <denisc@overta.ru>
995
996         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
997         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
998         * config/avr/avr.md (all peepholes that request a scratch register):
999         Call it, FAIL the peephole if not safe (in interrupt functions).
1000
1001 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
1002
1003         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
1004
1005 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
1006
1007         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
1008         Define.
1009         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
1010         BUILT_IN_CREAL and BUILT_IN_CIMAG.
1011         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
1012         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
1013         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
1014         BUILT_IN_CIMAG.
1015         * extend.texi: Document these builtins.
1016
1017 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
1018
1019         * c-common.c (lang_get_alias_set): Say we know nothing of
1020         VECTOR_TYPE aliasing. 
1021
1022         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
1023
1024 2001-01-05  Bruce Korb  <bkorb@gnu.org>
1025
1026         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
1027         their x* equivalent versions for atexit-less systems
1028         * fixinc/fixincl.c(main): do not return from main() on atexit-less
1029         systems (or any other system any more).
1030
1031 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
1032
1033         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
1034         output operands.  Use arm_hard_register_operand for operand 4.
1035         (stmsi_postinc): Similarly.
1036         (ldmsi): Use arm_hard_register_operand for opernand 2.
1037         (stmsi): Similarly.
1038         * arm.c (arm_hard_register_operand): New function.
1039         * arm-protos.h (arm_hard_register_operand): Prototype it.
1040
1041         * arm.h (HARD_REGNO_RENAME_OK): Define.
1042
1043 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
1044
1045         * simplify-rtx.c (cfc_args): add "unordered" field.
1046         (check_fold_consts): Set unordered field.
1047         (simplify_relational_operation): Simplify the unordered
1048         comparisons.
1049
1050         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
1051         is valid.
1052
1053         * emit-rtl.c (try_split): Fix code to mark labels.
1054         * jump.c (mark_jump_label): Make global.
1055         * rtl.h (mark_jump_label): Declare.
1056
1057         * predict.c (estimate_probability): Handle unordred comparisons.
1058
1059 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1060
1061         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
1062         * cppinit.c (initialize_dependency_output):  Update.
1063         (cpp_finish): Output dummy targets for -MP.
1064         (OPT_MP): New.
1065         (cpp_handle_option): Handle -MP.  Don't quote -MT options.  
1066         * cpplib.h (struct cpp_options): Add deps_phony_targets.
1067         * gcc.c (cpp_options): Update to handle -MP.
1068         * mkdeps.c (deps_add_target, deps_add_default_target): Update
1069         to quote only the default target.
1070         (deps_phony_targets): Insert a preceding newline.  Rename from
1071         deps_dummy_targets for consistency.
1072         * mkdeps.h: Update
1073
1074 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1075
1076         * calls.c (emit_library_call_value_1): Support
1077         INIT_CUMULATIVE_LIBCALL_ARGS.
1078         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
1079
1080 2001-01-04  Richard Henderson  <rth@redhat.com>
1081
1082         * c-decl.c (finish_struct): Detect flexible array members
1083         used in an inappropriate context.
1084         * c-typeck.c (really_start_incremental_init): Special case
1085         constructor_max_index for zero length arrays.
1086         (pop_init_level): Allow initialization of flexible array
1087         members.  Deprecate initialization of zero length arrays.
1088         Don't issue missing initializer warning for flexible array
1089         members or zero length arrays.
1090         (process_init_element): Don't dereference null DECL_SIZE.
1091         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
1092         Don't abort for empty constructors.  Use size_binop
1093         (output_constructor): Add commentary regarding zero length 
1094         array futures.  Abort if we try to initialize an array of
1095         unspecified length with a non-empty constructor in the middle
1096         of a structure.
1097
1098         * extend.texi (Zero Length): Update and clarify documentation
1099         on static initialization.
1100
1101 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1102
1103         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
1104         with more than 32767 words of local storage.
1105
1106 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1107
1108         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
1109         for 'abs', 'labs', and 'fabs'.
1110         (c4x_expand_builtin): Likewise.
1111         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
1112
1113 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1114
1115         * config/sh/sh.md (prget, prset): New insn types.
1116         (return delay slot): Dont' allow prset.
1117         (call, sfunc delay slot): Don't allow prget.
1118         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
1119         for prset and prget.
1120
1121 2001-01-05  Michael Hayes  <mhayes@redhat.com>
1122         
1123         * loop.h (struct loop_reg): New.
1124         (struct loop_regs): Change to use array of `struct loop_reg'.
1125         * loop.c: Replace assortment of varrays with single regs array.
1126         (count_one_set): Delete may_not_move array argument
1127         and use regs array instead.  All caller's changed.
1128         (count_loop_regs_set): Delete may_not_move and single_usage
1129         arguments and use regs array instead.  All caller's changed.
1130         (find_single_use_in_loop): Replace usage array argument with pointer
1131         to regs structure.  All caller's changed.
1132         (loop_optimize): Delete `moved_once' array.
1133
1134 2001-01-05  Michael Hayes  <mhayes@redhat.com>
1135         
1136         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
1137         Use it instead of loop_info->has_call for scanning loop mems.
1138         (check_dbra_loop): Replace loop_info->has_call test with
1139         loop_info->has_nonconst_call.
1140
1141 2000-01-04  Matthew Hiller  <hiller@redhat.com>
1142
1143         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
1144         for TARGET_SH3E.
1145
1146 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1147
1148         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
1149         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
1150
1151 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1152
1153         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
1154         (flag_short_double, flag_short_wchar): Define.
1155         (c_common_nodes_and_builtins): Create many tree nodes shared
1156         between C and C++ here instead of in cp/decl.c and ...
1157         * c-decl.c (init_decl_processing): ... here.
1158         (SIZE_TYPE, WCHAR_TYPE): Don't define.
1159         (flag_short_double, flag_short_wchar): Don't define.
1160         (record_builtin_type): New function.
1161         (build_void_list_node): New function.
1162         * c-common.h (flag_short_double, flag_short_wchar,
1163         record_builtin_type, build_void_list_node): Declare.
1164
1165 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
1166
1167         * integrate.c (expand_inline_function): Don't put a virtual
1168         register into the reg map.
1169
1170         * function.c (fixup_var_refs_1): If force_operand didn't put
1171         the address into the target, move it there.
1172
1173 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
1174
1175         Special-case tree_decl/tree_list allocations.
1176         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
1177         (OBJECT_SIZE): New macro.
1178         (NUM_EXTRA_ORDER): Likewise.
1179         (extra_order_size_table): New variable.
1180         (NUM_ORDERS): New macro.
1181         (objects_per_page_table): New variable.
1182         (object_size_table): New variable.
1183         (G.pages): Use NUM_ORDERS to bound the array.
1184         (G.page_tails): Likewise.
1185         (DIV_ROUND_UP): Remove.
1186         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
1187         (alloc_page): Use OBJECT_SIZE.
1188         (size_lookup): Don't make it const.
1189         (ggc_alloc): Use OBJECT_SIZE.
1190         (ggc_set_mark): Likewise.
1191         (ggc_get_size): Likewise.
1192         (init_ggc): Set up the object_size_table, objects_per_page_table,
1193         and adjust size_lookup.
1194         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
1195         (ggc_pop_context): Use NUM_ORDERS.
1196         (clear_marks): Likewise.
1197         (sweep_pages): Likewise.
1198         (poison_pages): Likewise.
1199         (ggc_print_statistics): Use OBJECT_SIZE.
1200
1201 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1202
1203         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
1204         Only call array_size_for_constructor if last field and array type
1205         with no upper bound.
1206
1207 2001-01-04  Philip Blundell  <philb@gnu.org>
1208
1209         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
1210         from bit 31 downwards, if this requires no more insns.
1211         (count_insns_for_constant): New helper function for above.
1212
1213 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
1214
1215         * gencodes.c (output_predicate_decls): Remove empty initializer.
1216
1217 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
1218
1219         * tree.c (copy_node): Remove documentation about obstacks.
1220         (buidl1): Check that nobody tries to build 2-argument nodes this
1221         way.
1222
1223 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1224
1225         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
1226         fp_high_losum_p.
1227
1228         * gencodes.c (output_predicate_decls): Fill empty initializer
1229         braces.
1230
1231 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
1232
1233         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
1234         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
1235         or -MM.
1236         (do_include): Handle missing headers like cpp0.
1237         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
1238         paths with first include pathname.  Don't strcat to uninitialized
1239         string.
1240
1241 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
1242
1243         * regrename.c (regrename_optimize): Don't rename from frame pointer
1244         if frame_pointer_needed.
1245         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
1246         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
1247         (ia64_reorg): Use it instead of scheduling if ! optimize.
1248         (errata_emit_nops): Properly call asm_noperands.
1249         (ia64_sched_reorder): Finish cycle if we see an asm.
1250         (ia64_variable_issue): Clear scheduling state after asms.
1251
1252 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
1253
1254         * cpp.texi: Update for -MT.
1255         * cppinit.c (initialize_dependency_output): Add a default
1256         target if none has been given already.
1257         (no_tgt, OPT_MT): New.
1258         (cpp_handle_option): Handle -MT.  Update -M etc.
1259         * cpplib.h (struct cpp_options): Remove deps_target.
1260         * gcc.c (cpp_options): Handle -MT.
1261         * mkdeps.c (struct deps): Move from mkdeps.h.
1262         (deps_calc_target): Rename deps_add_default_target.  Add a
1263         default target if none has been specified already.
1264         * mkdeps.h (struct deps): Move to mkdeps.c.
1265         (deps_calc_target): Rename deps_add_default_target.
1266
1267 2000-01-03  Richard Henderson  <rth@redhat.com>
1268
1269         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
1270         Remove dead code.
1271         * c-typeck.c (push_init_level): Move checks for flexible array
1272         members and zero length arrays ...
1273         (pop_init_level): ... here.  Silently discard empty initializations.
1274         Remove dead code.
1275         * varasm.c (output_constructor): Update for sizeof change to
1276         zero-length arrays.
1277
1278         * extend.texi (Zero Length): Clarify semantics.
1279
1280 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1281
1282         * configure.in (tm.h): Include isns-codes.h last.
1283         * configure: Rebuilt.
1284
1285 2001-01-03  Richard Henderson  <rth@redhat.com>
1286
1287         * config/alpha/alpha.md (addvsi3, addvdi3): New.
1288         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
1289         
1290 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1291
1292         * tradcpp.c (main): Make sure finclude() is called with a valid
1293         indepth value while handling -include.
1294
1295 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1296
1297         * gencodes.c (output_predicate_decls): New function.
1298         (main): Call it.
1299         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
1300         even if it is not the first time machmode.h is #included.
1301         * config/sh/sh.c (fpul_operand): Declare MODE argument.
1302         * tm.texi (PREDICATE_CODES): Document predicate declarations.
1303         * gcc.texi (Copyright): Added 2001.
1304
1305 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1306
1307         * c-common.c (c_common_lang_init): New function.  Warn if format
1308         warning options which only have effects when used with -Wformat
1309         are used without -Wformat.
1310         * c-common.h (c_common_lang_init): Declare.
1311         * c-lang.c (lang_init): Call c_common_lang_init.
1312         * objc/objc-act.c (lang_init): Call c_common_lang_init.
1313
1314 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1315
1316         * configure.in: Check for the mktemp command.
1317         * configure: Regenerate.
1318         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
1319         $TEMP.  Create temporary files with mktemp, if available at
1320         configure time; otherwise use set -C.  Remove temporary files
1321         before exit.
1322
1323 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1324
1325         * configure.in: Require at least texinfo 4.0.  Check for whether
1326         Pod::Man is sufficiently recent to regenerate GCC manpages.
1327         * configure:  Regenerate.
1328         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
1329         on #!.
1330         (GENERATED_MANPAGES): Define.
1331         (generated-manpages): New target.  Depend on cpp.1 as well as
1332         gcov.1.
1333         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
1334         configure to generated-manpages or empty) rather than on the
1335         manpages directly.  Remove execute permission from installed
1336         gcov.1 as well as cpp.1.
1337         * cpp.1, gcov.1: Regenerate.
1338
1339 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1340
1341         * builtins.c (expand_builtin_strncmp): Use host_integerp and
1342         tree_low_cst.  Allow using cmpstrsi in more cases.
1343
1344 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1345
1346         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
1347         sized types.
1348
1349 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
1350
1351         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
1352         * Makefile.in (HOST_CFLAGS): Mention build-make.
1353
1354 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1355
1356         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
1357         as JUMP_INSN.
1358
1359 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
1360
1361         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
1362         a REG rtx.
1363
1364         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
1365         callers changed.
1366
1367         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
1368         reg_base_value and reg_known_value arrays.
1369         (init_alias_analysis): Add more cases to detect known values.
1370         * sched-deps.c (deps_may_trap_p): New function.
1371         (sched_analyze_2): Use it.
1372
1373 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1374
1375         * combine.c (simplify_shift_const): Even if we're sign-extracting,
1376         don't discard an ASHIFTRT if we're shifting in a wider mode.
1377
1378 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1379
1380         * toplev.c (rest_of_compilation): Don't print basic block information
1381         when CFG isn't up to date.
1382
1383 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
1384
1385         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
1386         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
1387         (UNALIGNED_SHORT_ASM_OP): Define.
1388         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
1389
1390 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
1391
1392         * fold-const.c (fold_convert): Fix typo.
1393
1394 2001-01-02  Richard Henderson  <rth@redhat.com>
1395
1396         * c-common.h (ASM_INPUT_P): New.
1397         * c-parse.in (asm): Set it when needed.
1398         * c-semantics.c (genrtl_asm_stmt): Test it instead of the 
1399         existance of an operand.
1400
1401 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
1402
1403         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
1404         (dwarf2out_frame_debug_expr): Likewise.
1405         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
1406
1407 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
1408
1409         * i386.c (ix86_split_to_parts): Return number of part required;
1410         handle TFmodes.
1411         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
1412         TFmodes.
1413         (ix86_split_long_move): Use number of part returned
1414         by ix86_split_to_parts
1415         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
1416         New macros.
1417         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
1418         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
1419         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
1420         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
1421         (ALIGN_MODE_128): Add TFmode.
1422         (IS_STACK_MODE): Likewise.
1423         (HARD_REGNO_NREGS): TFmode needs 3 registers.
1424         (HARD_REGNO_OK): Support TFmodes.
1425         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
1426         * i386.md (scheduler definitions): Use memory operand to determine
1427         fst/fld instructions; use mode attribute to determine real mode of
1428         the instruction.
1429         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
1430         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
1431
1432 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
1433
1434         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
1435
1436 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
1437
1438         * expr.c (store_constructor_field): Update ALIGN before calling
1439         store_constructor.
1440
1441 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
1442
1443         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
1444         host_integerp.
1445
1446 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
1447
1448         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
1449         incomplete type.
1450
1451 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
1452
1453         * c-decl.c (start_function): Don't warn on third parameter to main.
1454
1455 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1456
1457         * tsystem.h: Define HAVE_DECL_GETOPT.
1458
1459 2001-01-02  Philip Blundell  <pb@futuretv.com>
1460
1461         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber 
1462         of input operand.
1463
1464 2001-01-02  Richard Henderson  <rth@redhat.com>
1465
1466         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
1467
1468 2001-01-02  Andreas Jaeger  <aj@suse.de>
1469
1470         * c-decl.c (c_decode_option): Remove support of
1471         -Wmissing-noreturn.
1472
1473         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
1474         (W_options): Add -Wmissing-noreturn here.
1475
1476         * flow.c: Define lang_missing_noreturn_ok_p.
1477         (check_function_return_warnings): Use it.
1478
1479         * c-common.h: Declare lang_missing_noreturn_ok_p.
1480
1481         * c-lang.c (c_missing_noreturn_ok_p): New function.
1482         (lang_init): Set lang_missing_noreturn_ok_p.
1483
1484         * invoke.texi (Warning Options): Document this.
1485
1486 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
1487
1488         * extend.texi (C++ Extensions):  New node for C++ attributes;
1489           describe init_priority and com_interface.
1490         * invoke.texi:  Remove -finit-priority as it now has zero effect.
1491         * install.texi:  Fix xref syntax.
1492         * md.texi:  Likewise.
1493
1494 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1495
1496         * config.gcc (sparc64-wrs-vxworks*): New case.
1497         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
1498
1499         * config/sparc/sparc.c (sparc_override_options): Do support different
1500         pointer and architecture size.
1501         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
1502         (POINTERS_EXTEND_UNSIGNED): Define.
1503         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
1504         (FUNCTION_MODE): Define to be Pmode.
1505         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
1506
1507         * function.c (expand_function_end): Properly handle DECL_RESULT
1508         and copy when ptr_mode != Pmode.
1509         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
1510
1511 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1512
1513         * c-common.c (c_common_nodes_and_builtins): Set prototype
1514         parameters for __builtin_fputs, __builtin_fputc and
1515         __builtin_fwrite.  Don't declare plain fputc as a builtin.
1516
1517 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1518
1519         * loop.c (add_label_notes): Increment the label usage count when
1520         a note is added to an insn which refers to a CODE_LABEL.
1521         * gcse.c (add_label_notes): Likewise.
1522
1523 2001-01-01  Andreas Jaeger  <aj@suse.de>
1524
1525         * loop.c (scan_loop): Use xmalloc to allocate movables.
1526
1527 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
1528
1529         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
1530         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
1531         * reload1.c (REGISTER_MOVE_COST): Likewise.
1532         * regclass.c (REGISTER_MOVE_COST): Likewise.
1533         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
1534         dimension.  Adjust all users.
1535         (init_reg_sets_1): Iterate on all modes.
1536         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
1537         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
1538         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
1539         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
1540         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
1541         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
1542         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
1543         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
1544         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
1545         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
1546         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
1547         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
1548         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
1549         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
1550         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
1551         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
1552         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
1553         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
1554         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
1555         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
1556         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
1557         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
1558         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
1559         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
1560         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
1561         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
1562         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
1563
1564 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
1565
1566         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
1567         arg VARIES_P.  Call it with extra arg.
1568         (true_dependence): Likewise.
1569         * rtl.h (rtx_addr_can_trap_p): Declare.
1570         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
1571         prototypes.
1572         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
1573         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
1574         pic offset table register if it's zero.  All callers changed.
1575         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
1576
1577 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1578
1579         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
1580         STRING_POOL_ADDRESS_P.
1581
1582         * config/sparc/sparc.c (input_operand): Properly test for short op.
1583
1584         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
1585         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
1586         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
1587         * config/sparc/elf.h: No longer include sol2.h.
1588         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
1589         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
1590
1591         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
1592
1593 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1594
1595         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
1596         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
1597         (record_initial): Likewise.
1598         * unroll.c (copy_loop_body, loop_iterations): Likewise.
1599         (remap_split_bivs): Likewise.
1600
1601 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1602
1603         * loop.c (loop_ivs_free): New function.
1604         (strength_reduce): Break out from...
1605
1606 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1607
1608         * loop.h (struct iv): New.
1609         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
1610         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
1611         'reg_biv_class' fields with 'regs' and 'n_regs'.
1612         (struct ivs): Rename 'loop_iv_list' field to 'list'.
1613         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
1614         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
1615
1616 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
1617
1618         * resource.c (mark_referenced_resources): Abort() before
1619         attempting to mark a pseudo register.
1620         (mark_set_resources): Likewise.
1621
1622 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1623
1624         * loop.h (REG_IV_CLASS): New accessor macro.
1625         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
1626         * unroll.c (REG_IV_CLASS): Likewise.
1627
1628 See ChangeLog.4 for earlier changes.
1629