OSDN Git Service

* c-common.h (CTI_VOID_LIST): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
2
3         * c-common.h (CTI_VOID_LIST): Remove.
4         (void_list_node): Likewise.
5         * tree.h (TI_VOID_LIST_NODE): New enumeral.
6         (void_list_node): New macro.
7         * config/arm/arm.c (arm_init_builtins): Use void_list_node.
8         * config/i386/i386.c (ix86_init_builtins): Likewise.
9         * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
10
11 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
12
13         * Makefile.in (tradcpp0): Depend on mkdeps.h.  Link mkdeps.o
14         * cppinit.c (cpp_start_read): Update comment, remove unneeded
15         if statement.
16         * tradcpp.c: Include mkdeps.h.
17         (deps, print_deps_phony_targets, deps_append, output_deps,
18         init_dependency_output, output_deps): New.
19         (deps_buffer, deps_allocated_size, deps_size, deps_column,
20         deps_output): Delete.
21         (print_deps_missing_files): Rename deps_missing_files.
22         (inhibit_output): Make global.
23         (main): Delete inhibit_output, deps_stream, deps_target.
24         Use mkdeps functionality in the same way as cpplib.  Remove
25         -g3 handling.  Handle -MF, -MP, -MQ, -MT.  Update handling of
26         -M and -MM.  Remove old handling of deps via deps_out, and
27         old reading of environment variables.
28         (get_filename): Update to use deps_add_dep.
29
30 2001-01-10  Mark Mitchell  <mark@codesourcery.com>
31
32         * output.h (make_function_rtl): Remove prototype.
33         (make_decl_rtl): Likewise.
34         * varasm.c (make_function_rtl): Remove.
35         (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
36         than from a third parameter.
37         * tree.h (make_decl_rtl): Remove last parameter.
38         * c-decl.c (builtin_function): Remove last argument in call to
39         make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
40         (start_function): Likewise.
41         * except.c (call_get_eh_context): Likewise.
42         * expr.c (emit_block_move): Likewise.
43         (clear_storage): Likewise.
44         * profile.c (output_func_start_profiler): Likewise.
45         * toplev.c (rest_of_decl_compilation): Likewise.
46         * objc/objc-act.c (create_builtin_decl): Likewise.
47         (synth_module_prologue): Likewise.
48         (generate_static_reference): Likewise.
49         (build_selector_reference_decl): Likewise.
50         (build_class_reference_decl): Likewise.
51         (build_objc_string_decl): Likewise.
52         (build_protocol_reference): Likewise.
53
54 2001-01-10  Richard Henderson  <rth@redhat.com>
55
56         * hwint.h: Revert yesterday's change.
57
58 2001-01-10  Nick Clifton  <nickc@redhat.com>
59
60         * function.h (save_machine_status): Delete.
61         (restore_machine_status): Delete.
62         Amend comment describing {init|mark|free}_machine_status.
63
64         * function.c (save_machine_status): Delete.
65         (restore_machine_status): Delete.
66         Amend comment describing {init|mark|free}_machine_status.
67         (push_function_context_to): Remove invocation of
68         save_machine_status.
69         (pop_function_context_from): Remove invocation of
70         restore_machine_status.
71
72         * emit-rtl.c (init_emit_once): Amend comment describing
73         {init|mark|free}_machine_status. 
74
75         * tm.texi (Per-Function Data): New node.  Describe the
76         INIT_EXPANDERS macro and the {init|mark|free}_machine_status
77         function pointers.
78
79 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
80
81         * cppinit.c (OPT_g): Remove.
82         (cpp_handle_option): Update for removed -g3. 
83         (print_help): Update.
84         * cpplib.h (struct cpp_options): Remove debug_output.
85         * cppmain.c (setup_callbacks, cb_define): Update.
86         * gcc.c (cpp_options): Translate -g3 to -dD.  
87
88 2001-01-10  Aldy Hernandez  <aldyh@redhat.com>
89
90         * config/i960/i960.md: Change modifier to + on the zero_extract
91         pattern after the (rotate -2 reg) canonicalization pattern.
92
93 2001-01-10  Richard Henderson  <rth@redhat.com>
94
95         * config/alpha/alpha.c (alpha_free_machine_status): New.
96         (override_options): Install it.
97         (alpha_mark_machine_status): Verify machine non-null.
98         * config/i386/i386.c (ix86_free_machine_status): New.
99         (override_options): Install it.
100         (ix86_init_machine_status): Use xcalloc.
101         (ix86_mark_machine_status): Verify machine non-null.
102         * config/ia64/ia64.c (ia64_free_machine_status): New.
103         (ia64_override_options): Install it.
104         (ia64_mark_machine_status): Verify machine non-null.
105
106 Wed Jan 10 11:34:39 2001  Jeffrey A Law  (law@cygnus.com)
107
108         * function.c (instantiate_virtual_regs): Instantiate virtual
109         registers found in CALL_INSN_FUNCTION_USAGE.
110
111 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
112
113         * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
114         equivalent to -ansi in disabling -Di386.
115
116 Wed Jan 10 16:38:31 MET 2001  Jan Hubicka  <jh@suse.cz>
117
118         * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
119         new functions.
120         (ix86_expand_fp_compare): Make trivial use of new infrastructure.
121
122 2001-01-10  Richard Earnshaw  <rearnsha@arm.com>
123
124         * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
125
126 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
127
128         * invoke.texi: Document that -fcond-mismatch isn't supported for
129         C++.
130
131 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
132
133         * gcc.texi: Define macro gcctabopt.
134         * invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
135         @command, @env and @option in some places where appropriate.  Use
136         @gcctabopt where appropriate.  Put URLs and email addresses inside
137         @w.
138
139 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
140         
141         * gcc.c (cpp_options): Set MD file name from output
142         filename, if specified.
143         (suffix_subst): New static variable.
144         (do_spec): Clear it.
145         (do_spec_1, case '.'): Handle new `%.suffix' spec.
146         Clear it.
147         (give_switch): Handle suffix_subst.
148
149 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
150
151         * invoke.texi:  Fix another typo.
152
153 2001-01-10  Phil Edwards  <pme@sources.redhat.com>
154
155         * invoke.texi:  Fix typo.
156
157 2001-01-10  Neil Booth  <neil@daikokuya.demon.co.uk>
158
159         * c-lang.c (lang_hooks): Update.
160         (lang_decode_option): Remove.
161         (lang_init_options): Rename c_init_options.
162         * toplev.c (main): Use lang_hooks for lang_init_options
163         and lang_decode_option.
164         * toplev.h (lang_hooks): Add 2 new hooks.
165         * tree.h: Remove lang_init_options and lang_decode_option.
166         * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
167         * cp/decl2.c: Similarly.
168         * cp/lex.c (lang_init_options): Rename cxx_init_options.
169         (lang_hooks): Update.   
170         * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
171         for consistency.
172         (lang_init_options): Rename ffe_init_options.
173         (lang_hooks): Update.
174         (lang_decode_option): Remove.
175         * java/lang.c (lang_init_options): Rename java_init_options.
176         (lang_decode_option): Rename java_decode_option.
177         (lang_hooks): Update.
178         * objc/objc-act.c (lang_init_options): Rename objc_init_options.
179         (lang_decode_option): Rename objc_decode_option.
180         (lang_hooks): Update.
181
182 2001-01-09  Nick Clifton  <nickc@redhat.com>
183
184         * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
185         (d30v_return_addr_rtx): Delete.
186         (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
187         cfun->machine structure.
188         (struct machine_function): Move to d30v.h
189         (d30v_save_machine_status): Delete.
190         (d30v_restore_machine_status): Delete.
191         (d30v_init_machine_status): New Function.
192         (d30v_mark_machine_status): New Function.
193         (d30v_free_machine_status): New Function.
194         (d30v_init_expanders): Use new functions.
195         (d30v_return_addr): Use ra_rtx field in cfun->machine.
196         (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
197         d30v_return_addr_rtx.
198
199         * config/d30v/d30v.h (struct_machine): Move here.
200         Add eh_epilogue_sp_ofs field.
201
202         *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
203         field in cfun->machine structure.
204
205 Tue Jan  9 21:34:57 2001  John David Anglin  <dave@hiauly1.hia.nrc.ca>
206
207         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
208         PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
209         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
210
211 Tue Jan  9 21:25:19 2001  Jeffrey A Law  (law@cygnus.com)
212
213         * objc/lang-options.h: Remove bogus reference to
214         Java trademark.
215
216 2001-01-09  Kazu Hirata  <kazu@hxi.com>
217
218         * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
219         return the result.
220
221 2001-01-09  Alan Lehotsky  <lehotsky@tiac.net>
222
223         * reload.c (find_reloads_address): Check for eliminable registers
224                   when substituting a constant expression for a pseudo.
225         
226 2001-01-09  Joseph S. Myers  <jsm28@cam.ac.uk>
227
228         * c-common.c (enum format_type): Add format_type_error.
229         (decode_format_type): New function.
230         (decl_attributes): Use it.
231         (format_kind_info): Adjust comment.
232
233 2001-01-09  David O'Brien  <obrien@BSDi.com>
234
235         * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
236         i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
237         files in tm_file.
238         * config/i386/gnu.h: Don't include required platform specific .h files,
239         tm.h will do it instead.
240         * config/i386/i386elf.h: Likewise.
241         * config/i386/linux.h: Likewise.
242         * config/i386/moss.h: Likewise.
243         * config/mips/gnu.h: Likewise.
244
245 2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
246
247         * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
248         (rs6000-ibm-aix3.[01]*): Likewise.
249         (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
250         (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
251         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
252         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
253         (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
254         (powerpc-*-eabiaix*): Likewise.
255         (powerpc-*-eabisim*): Likewise.
256         (powerpc-*-elf*): Likewise.
257         (powerpc-*-eabi*): Likewise.
258         (powerpc-*-rtems*): Likewise.
259         (powerpc-*-linux*libc1): Likewise.
260         (powerpc-*-linux*): Likewise.
261         (powerpc-wrs-vxworks*): Likewise.
262         (powerpcle-wrs-vxworks*): Likewise.
263         (powerpcle-*-sysv*): Likewise.
264         (powerpcle-*-elf*): Likewise.
265         (powerpcle-*-eabisim*): Likewise.
266         (powerpcle-*-eabi*): Likewise.
267         (powerpcle-*-solaris2*): Likewise.
268         * config/rs6000/aix31.h: Delete includes.
269         * config/rs6000/aix3newas.h: Likewise.
270         * config/rs6000/aix41.h: Likewise.
271         * config/rs6000/aix43.h: Likewise.
272         * config/rs6000/beos.h: Likewise.
273         * config/rs6000/rtems.h: Likewise.
274         * config/rs6000/sysv4.h: Likewise.
275
276 2001-01-09  Kazu Hirata  <kazu@hxi.com>
277
278         * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
279         Change an argument mode of machine_mode to shift_mode of
280         shift_mode.  Remove an extra error check.
281         (emit_a_shift): Adopt to the new calling prototype of
282         get_shift_alg.
283         (function_prologue): Fix code for a monitor
284         function.  Support H8/S.
285         (function_epilogue): Do not output pop for a monitor function.
286
287 2001-01-09  Nick Clifton  <nickc@redhat.com>
288
289         * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
290         (setup_incoming_varargs): Use sysv_varargs_p field of the
291         cfun->machine structure.
292         (struct machine_function): Move to rs6000.h
293         (rs6000_save_machine_status): Delete.
294         (rs6000_restore_machine_status): Delete.
295         (rs6000_init_machine_status): New Function.
296         (rs6000_free_machine_status): New Function.
297         (rs6000_init_expanders): Use new functions.
298
299         * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
300         export.
301         (struct machine_function): Move here.
302
303         * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
304         sysv_varargs_p field of the cfun->machine structure.
305
306         * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
307         Remove prototype.
308         (rs6000_restore_machine_status): Remove prototype.
309
310 2001-01-09  Richard Henderson  <rth@redhat.com>
311
312         * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
313         reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
314         * sched-deps.c (sched_analyze_1): Update uses of struct deps.
315         (sched_analyze_2, sched_analyze_insn): Likewise.
316         (sched_analyze, init_deps): Likewise.
317         (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
318         * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
319         (compute_block_backward_dependences): Update propagate_deps call.
320
321 2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>
322
323         * gcc.c (process_command): Set switches[n_switches].ordering to 0.
324
325 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
326
327         * cppinit.c (OPT_MD, OPT_MMD): Restore.
328         (cpp_handle_option): Handle them.
329         (cpp_post_options): Ensure one of -M or -MM is specified with
330         any other -M? option.
331         (init_dependency_output): Suppress output with -MG.
332
333 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
334
335         * cpp.texi: Update.
336         * invoke.texi: Update.
337
338 2001-01-09  Bernd Schmidt  <bernds@redhat.com>
339
340         * sh.md (reload_outsf): Generate recognizable patterns for
341         TARGET_SH3E.
342
343 2001-01-09  Neil Booth  <neil@daikokuya.demon.co.uk>
344
345         * c-lang.c (lang_hooks): Update.
346         (lang_init): Rename c_init.
347         (lang_finish): Remove.
348         * toplev.c (compile_file): Use lang_hooks for lang_init ()
349         and lang_finish ().
350         * toplev.h (lang_hooks): Add init () and finish ().
351         * tree.h (lang_init, lang_finish): Remove.
352         * cp/tree.h (lang_init, lang_finish): Remove.
353         * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
354         * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
355         lang_hooks): New.
356         (lang_init, lang_finish): Remove.
357         * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
358         (lang_hooks): Update.
359         * java/lang.c (lang_init): Rename java_init.
360         (lang_finish): Remove.
361         (lang_hooks): Update.
362         * objc/objc-act.c (lang_init): Rename objc_init.
363         (lang_finish): Remove.
364         (lang_hoooks): Update.
365
366 20001-01-09  Graham Stott  <grahams@redhat.com>
367
368         * cppfiles.c (_cpp_execute_include): Move `len` initialisation
369         after `ptr` is initialised.
370
371 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
372
373         * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
374         (INITIALIZE_TRAMPOLINE): Adjust accordingly.
375         * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
376         stack adjusts, instead of r3.
377
378 2001-01-09  Michael Hayes  <mhayes@redhat.com>
379
380         * flow.c (flow_loop_scan): Break out of ...
381         (flow_loops_find) ... here.
382         * basic-block.h (flow_loop_scan): New.
383         (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
384         (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
385
386 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
387
388         * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
389         macro_buffer_len.
390         * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
391         realloc()ing macro_buffer.
392
393         * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
394         if it's wider than long and the target's long is wider than the
395         host's.
396
397 2001-01-09  Mark Mitchell  <mark@codesourcery.com>
398
399         Remove support for using UWIN as a host machine.
400         * configure.in: Issue an error message.
401         * configure: Regenerated.
402         * config.gcc: Remove xm_* UWIN configury.
403         * config/i386/xm-uwin.h: Remove.
404
405 2001-01-08  Nick Clifton  <nickc@redhat.com>
406
407         * config/v850/v850.c (ra_rtx): Delete.
408         (v850_save_machine_status): Delete.
409         (v850_restore_machine_status): Delete.
410         (v850_init_machine_status): New function.
411         (v850_mark_machine_status): New function.
412         (v850_free_machine_status): New function.
413         (v850_return_addr): Use ra_rtx field in machine structure.
414         (v850_init_expanders): Use new functions.
415
416         * config/v850/v850-protos.h: Fix prototypes for v850_output_*
417         * config/v850/v850.c: Change arguments to v850_output+* functions
418         to take a const char *, to avoid compile time warning.
419         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
420         (USER_LABEL_PREFIX): Redefine.
421         
422 2000-01-08  Jim Wilson  <wilson@redhat.com>
423
424         * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
425         1 to unsigned HOST_WIDE_INT before left shift.
426
427 2001-01-08  Nick Clifton  <nickc@redhat.com>
428
429         * config/arm/arm.c (arm_mark_machine_status): Check to see if
430         the machine structure has been allocated.
431         (arm_free_machine_status): New function: Free the machine
432         specific function structure.
433
434 2001-01-08  Richard Henderson  <rth@redhat.com>
435
436         * jump.c (simplejump_p): Revert last change.
437
438 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
439
440         * cppinit.c (init): Rename init_library.
441         (cpp_create_reader): Update.
442         * gcc.c (cpp_options): If -o given, use it as the target of
443         any -M options.
444
445 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
446
447         * arm.c (arm_arch5e): New variable.
448         (all_cores): XScale is a 5TE device.
449         (arm_override_options): Set arm_arch5e.
450         (arm_init_builtins): __builtin_prefetch is in arch5e.
451         * arm.h (arm_arch5e): Declare it.
452
453         * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
454
455         * arm.md (define_constants): Add defines for UNSPEC and
456         UNSPEC_VOLATILE insns.  Update all users.
457         (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
458         * arm.c (multi_register_push, note_invalid_constants)
459         (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
460         * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
461         (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
462         
463 Mon Jan  8 16:14:56 MET 2001  Jan Hubicka  <jh@suse.cz>
464
465         * jump.c (jump_optimize_1): Use reversed_comparison_code
466         instead of can_reverse_comparison_p.
467         (jump_back_p): Likewise.
468         (invert_exp_1): Likewise.
469         (thread_jumps): Likewise.
470         * simplify-rtx.c (simplify_unary_operation): Likewise.
471         (simplify_ternary_operation): Likewise.
472         * cse.c (find_comparison_args): Convert to use
473         can_reverse_comparison_p.
474         (record_jump_equiv): Likewise.
475
476 2001-01-08  Richard Earnshaw  <rearnsha@arm.com>
477
478         * arm.h (HARD_REGNO_RENAME_OK): Delete.
479         (EPILOGUE_USES): Define.
480         (INITIAL_ELIMINATION_OFFSET): Current prologue code does not 
481         automatically stack the LR if it isn't live.
482
483 Mon Jan  8 13:46:02 MET 2001  Jan Hubicka  <jh@suse.cz>
484
485         * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
486         properly.
487
488 Sun Jan  7 18:37:43 2001  Mark P Mitchell  <mark@codesourcery.com>
489
490         * ggc-page.c (max_alignment): New structure.
491         (MAX_ALIGNMENT): New macro.
492         (init_ggc): Use it to round up the sizes in the
493         extra_order_size_table.
494
495 2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
496
497         * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
498         after reload.
499
500 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
501
502         * builtins.def (BUILT_IN_FPRINTF): New entry.
503
504         * c-common.c (c_expand_builtin_fprintf): New function.
505         (init_function_format_info): Handle __builtin_fprintf.
506         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
507         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
508
509         * c-decl.c (duplicate_decls): Adjust comment.
510
511         * extend.texi (fprintf): Document new builtin.
512
513 2001-01-07  Richard Henderson  <rth@redhat.com>
514
515         * jump.c (simplejump_p): Recognize any single_set jump
516         of the proper form.
517
518 2001-01-07  Richard Henderson  <rth@redhat.com>
519
520         * configure.in (slibdir): Accept an --with-slibdir option.
521         Use "test" not "[" in configure.  Default to $(libdir).
522
523         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
524         fix typo in rm -f.
525         * config/t-aix43 (SHLIB_INSTALL): Likewise.
526         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
527         (SHLIB_LINK): Create links for the soname.
528         * config/mips/t-iris6: Likewise.
529         * config/sparc/t-slibgcc: Likewise.
530         * config/sparc/t-slibgcc-sld: Likewise.
531
532 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
533
534         * config/i386/i386.c (constant_call_address_operand): Accept
535         (const (plus (symbol_ref) (const_int))).
536         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
537         constant_call_address_operand.
538
539 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
540
541         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
542         and LONG_LONG_TYPE_SIZE > 32.
543
544 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
545
546         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
547         the previous change.
548
549 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
550
551         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
552         New.
553         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
554         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
555         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
556         Declare.
557
558 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
559
560         * fix-header.c (read_scan_file): s/pfile/scan_in/.
561
562 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
563
564         * c-lang.c (c_post_options): Call cpp_post_options.
565         * objc/objc-act.c (objc_post_options): Similarly.
566         * cppmain.c (main): Similarly.
567         * fix-header.c (read_scan_file): Similarly.
568         * cppinit.c (cpp_start_read): Move option consistency checks
569         to cpp_post_options.  Don't call init_dependency_output.
570         If needed, add default target and main file dependency.
571         (OPT_MD, OPT_MMD): Remove.
572         (OPT_MF): New.
573         (cpp_handle_option): Update for OPT_* changes.
574         (cpp_post_options): New.
575         (init_dependency_output): Command line -MF overrides environment
576         variables.  Don't set default target etc.  Suppress output
577         if dependencies are going to stdout.
578         (print_help): Update.
579         * cpplib.h (cpp_post_options): New.
580         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
581         
582 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
583
584         * jump.c (comparison_dominates_p): Support unordered compares.
585
586 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
587
588         * simplify-rtx.c (simplify_relational_operation): Always simplify
589         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
590         and UNGE.
591
592 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
593
594         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
595         (nonzero_bits): Likewise.
596         (simplify_comparison): Likewise.
597         (num_sign_bit_copies): Likewise; return more sane value depending
598         on STORE_FLAG_VALUE.
599         (known_cond): Do not assume EQ to be always true for equivalent
600         operands.
601
602 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
603
604         * cse.c (fold_rtx): Handle unordered comparisons.
605
606 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
607
608         * rtlanal.c (set_of_1): New static function.
609         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
610          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
611          reg_set_last_last_regno): Remove.
612         (set_of): New global function.
613         (set_of_data): New structure.
614         (reg_set_p, reg_set_last): Revamp for set_of.
615         * rtl.h (set_of): New.
616
617 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
618
619         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
620         * extend.texi: Document _Exit builtin.
621
622 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
623
624         * (initialize, initialize_builtins,
625         initialize_dependency_output, initialize_standard_includes):
626         Rename s/initialize/init. Update.
627         (init_dependency_output): Move to after
628         cpp_handle_options, the correct location temporally at least.
629         (opt_comp): Move next to init (), its caller.  Fix prototype.
630         (init): Make "initialized" local scope.
631         (cpp_create_reader): Always call init ().
632         (cpp_start_read): Update.
633         (output_deps): New function, broken out of cpp_finish.
634         (cpp_finish): Break out output_deps.
635
636 2001-01-07  Richard Henderson  <rth@redhat.com>
637
638         * collect2.c (COFF specific stuff): Revert 12-06 patch
639         to prototype system functions.
640
641 2001-01-07  Michael Hayes  <mhayes@redhat.com>
642
643         * hard-reg-set.h: Add multiple include guard.
644         * basic-block.h (struct loop): Add `sink' field.
645         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
646         (emit_iv_add_mult): Delete.
647         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
648         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
649         (unroll_loop): Remove end_insert_before argument.
650         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
651         (maybe_eliminate_biv_1): Likewise.
652         (emit_iv_add_mult): Delete.
653         (gen_add_mult, loop_regs_update): New.
654         (loop_insn_emit_after, loop_insn_emit_before): New.
655         (loop_insn_sink, loop_insn_sink_or_swim): New.
656         (emit_iv_add_mult): Delete.
657         (scan_loop): Set loop->sink.
658         (loop_givs_reduce): Use loop_insn_sink and its ilk.
659         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
660         (maybe_eliminate_biv_1): Likewise.
661         (maybe_eliminate_biv_1): Add basic block argument.
662         * unroll.c (unroll_loop): Remove end_insert_before argument.
663         (find_splittable_regs): Likewise.
664         (find_splittable_regs): Use loop_insn_sink and its ilk.
665         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
666
667 2001-01-07  Michael Hayes  <mhayes@redhat.com>
668
669         * loop.h (loop_insn_hoist): New prototype.
670         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
671         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
672         (check_dbra_loop, load_mems): Likewise.
673         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
674         (find_splittable_givs): Likewise.
675
676 2001-01-07  Michael Hayes  <mhayes@redhat.com>
677
678         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
679
680 2001-01-07  Richard Henderson  <rth@redhat.com>
681
682         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
683
684 2001-01-07  Richard Henderson  <rth@redhat.com>
685
686         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
687         NO_SHARED_LIBGCC_MULTILIB as required for the target.
688         * gcc.c (init_spec): Massage the existing libgcc_spec into a
689         variant that handles a shared libgcc.
690         (process_command): Always validate -{static,shared}-libgcc.
691         (do_spec_1): New 'M' case.
692         * invoke.text (Link Options): Document -{static,shared}-libgcc.
693
694 2001-01-07  Richard Henderson  <rth@redhat.com>
695
696         * Makefile.in (slibdir): New variable.
697         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
698         (installdirs): Create slibdir.
699         (install-libgcc, install-multilib): Defer to libgcc.mk.
700         * configure.in (slibdir): Substitute.
701         * mklibgcc.in (install): New target.
702
703         * config/t-linux (SHLIB_LINK): Create links for the soname.
704         (SHLIB_INSTALL): New.
705         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
706         * config/mips/t-iris6 (SHLIB_INSTALL): New.
707         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
708         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
709         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
710
711 2001-01-07  Richard Henderson  <rth@redhat.com>
712
713         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
714         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
715         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
716
717 2001-01-07  Michael Hayes  <mhayes@redhat.com>
718
719         * loop.c (count_loop_regs_set): Delete.
720         (load_mems_and_recount_loop_regs_set): Delete.
721         (loop_regs_scan): Merge common code from count_loop_regs_set,
722         scan_loop, and load_mems_and_recount_loop_regs_set.
723         (scan_loop): Call load_mems directly and loop_regs_scan
724         again if new registers created.
725
726 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
727
728         * toplev.c (main): Call the front-end specific post_options
729         hook if one is given.
730         * toplev.h (struct_lang_hooks, lang_hooks): New.
731         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
732         for the C front end.
733         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
734         lang_hooks for the C++ front end.
735         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
736         lang_hooks for the ObjC front end.
737         * f/com.c (lang_hooks): Hooks for the Fortran front end.
738         * java/lang.c (lang_hooks): Hooks for the Java front end.
739
740 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
741
742         * c-lex.c (init_c_lex): Request #define / #undef callbacks
743         for verbose DWARF[2] debugging.
744         (cb_define, cb_undef): The new callbacks.
745         * toplev.h (debug_define, debug_undef): Make const correct.
746         * toplev.c (debug_define, debug_undef): Similarly.  Do not   
747         perform the verbosity tests here anymore.
748
749 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
750
751         * reload.c (subst_reloads): Take INSN argument.  When
752         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
753         * reload.h (subst_reloads): Adjust prototype.
754         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
755         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
756         present in JUMP_INSNs and copy them to JUMP_LABEL.
757         * flow.c (find_label_refs, find_basic_blocks_1): Skip
758         JUMP_INSNs and insns with REG_LABELs that are followed by
759         JUMP_INSNs with the same REG_LABEL.
760         * sched-rgn.c (is_cfg_nonregular): Likewise.
761         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
762         note is available.
763         * unroll.c (unroll_loop): Look for REG_LABEL notes in
764         JUMP_INSNs too.
765         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
766
767 2001-01-06  Richard Henderson  <rth@redhat.com>
768
769         * loop.c (scan_loop): Use xcalloc for the regs array.
770         (load_mems_and_recount_loop_regs_set): Zero the new memory
771         received from xrealloc.
772
773 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
774
775         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
776
777 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
778
779         * integrate.c (copy_rtx_and_substitute): When copying
780         an ignored return value, strip REG_FUNCTION_VALUE_P.
781
782 2001-01-06  Michael Hayes  <mhayes@redhat.com>
783
784         * loop.c (debug_biv, debug_giv): New.
785         (loop_biv_dump): Break out from ...
786         (record_biv): ... here.
787         (loop_giv_dump): Break out from ...
788         (record_giv): ... here.
789         (loop_bivs_check): Use print_simple_rtl.
790         * unroll.c (loop_iterations): Use print_simple_rtl.
791
792 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
793
794         * pa.md (return, return_internal): Modify patterns to prevent regrename
795         mucking with the return pointer.
796
797 2001-01-05  Mike Stump  <mrs@wrs.com>
798
799         * varasm.c (assemble_name): Ensure we output the stripped name.
800
801 2001-01-05  Richard Henderson  <rth@redhat.com>
802
803         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
804
805 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
806
807         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
808         version supplied by Matteo Frigo.
809
810 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
811
812         * cpp.texi: Update for -MQ.
813         * cppinit.c (cpp_create_reader): Always create pfile->deps.
814         (cpp_cleanup): Always free pfile->deps.
815         (initialize_dependency_output): Don't create pfile->deps.
816         (cpp_handle_option): Similarly.
817         (OPT_MQ): New.
818         * gcc.c (cpp_options): Handle -MQ.
819         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
820         * mkdeps.c (base_name): Remove.
821         (deps_init): Don't allocate vector space until it's needed.
822         (deps_free): Only free vectors if allocated.
823         (deps_add_target, deps_add_dep): Update for initial allocation.
824         (deps_add_default_target): Don't strip to the base_name.
825
826 2001-01-05  DJ Delorie <dj@redhat.com>
827
828         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
829         (INIT_EXPANDERS): Define.
830
831         * config/v850/v850.c (struct machine_function): Define.
832         (v850_save_machine_status): New function.
833         (v850_restore_machine_status): New function.
834         (v850_return_addr): New function.
835         (v850_init_expanders): New function.
836
837         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
838         and v850_init_expanders.
839         
840 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
841
842         * cpplib.h (struct cpp_reader): Add help_only field.
843         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
844         (cpp_handle_option): Set pfile->help_only if we see -h,
845         --help, -target-help, or --version.  Print version string but
846         do not set help_only if we see -v or -version.  Make text
847         printed by -v match that printed by (-)-version.
848
849         * cppmain.c (main): Exit after option parsing if
850         pfile->help_only is true.
851
852         * toplev.c (independent_decode_option): Call print_version,
853         then exit, if we see --version (but not -version).
854         (print_version): Split lengthy message into two lines.
855
856 2001-01-05  Nick Clifton  <nickc@redhat.com>
857
858         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
859         temporary string for initialisation before calling ggc_alloc_string.
860
861 2001-01-06  Michael Hayes  <mhayes@redhat.com>
862
863         * rtl.h (print_simple_rtl): New.
864         * print-rtl.c (print_simple_rtl): New.
865         (flag_simple): New.
866         (print_rtx): Disable printing of flags and modes, etc.,
867         if `flag_simple` nonzero.
868
869 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
870
871         * function.c (fixup_var_refs): Use push_to_full_sequence where
872         possible.
873
874 2001-01-05  Michael Meissner  <meissner@redhat.com>
875
876         * flags.h (flag_reorder_blocks): Add declaration.
877         (flag_rename_block): Ditto.
878
879 2001-01-05  DJ Delorie  <dj@redhat.com>
880
881         * function.c (reorder_blocks): Make sure the flags are all reset
882         before using them to mark blocks, else a second invocation will
883         corrupt the block chain.
884         (reorder_blocks_0): New, resets the flags.
885
886 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
887
888         * cse.c (find_comparison_args): Stop if the argument is known to
889         be constant.
890
891 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
892
893         * config/sh/sh.md (movdf): When splitting load into pair of
894         registers, don't clobber the register used in the address too
895         early.
896
897 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
898
899         * varasm.c (mark_constant_pool): Improve initial comments.
900         (mark_constants): Move marking of constants to mark_constant.
901         (mark_constant): New function to recursively mark all constants
902         referred to by a constant.
903
904 2001-01-05  Catherine Moore  <clm@redhat.com>
905
906         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
907
908 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
909
910         * cp/lang-options.h:  Bring comment in line with reality.
911         * f/lang-options.h:  Likewise.
912         * java/lang-options.h:  Likewise.
913         * objc/lang-options.h:  Likewise.
914         * ch/lang-options.h:  Likewise.
915         * f/g77.texi:  And update the manual.
916
917 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
918             Denis Chertykov  <denisc@overta.ru>
919
920         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
921         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
922         * config/avr/avr.md (all peepholes that request a scratch register):
923         Call it, FAIL the peephole if not safe (in interrupt functions).
924
925 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
926
927         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
928
929 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
930
931         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
932         Define.
933         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
934         BUILT_IN_CREAL and BUILT_IN_CIMAG.
935         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
936         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
937         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
938         BUILT_IN_CIMAG.
939         * extend.texi: Document these builtins.
940
941 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
942
943         * c-common.c (lang_get_alias_set): Say we know nothing of
944         VECTOR_TYPE aliasing. 
945
946         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
947
948 2001-01-05  Bruce Korb  <bkorb@gnu.org>
949
950         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
951         their x* equivalent versions for atexit-less systems
952         * fixinc/fixincl.c(main): do not return from main() on atexit-less
953         systems (or any other system any more).
954
955 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
956
957         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
958         output operands.  Use arm_hard_register_operand for operand 4.
959         (stmsi_postinc): Similarly.
960         (ldmsi): Use arm_hard_register_operand for opernand 2.
961         (stmsi): Similarly.
962         * arm.c (arm_hard_register_operand): New function.
963         * arm-protos.h (arm_hard_register_operand): Prototype it.
964
965         * arm.h (HARD_REGNO_RENAME_OK): Define.
966
967 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
968
969         * simplify-rtx.c (cfc_args): add "unordered" field.
970         (check_fold_consts): Set unordered field.
971         (simplify_relational_operation): Simplify the unordered
972         comparisons.
973
974         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
975         is valid.
976
977         * emit-rtl.c (try_split): Fix code to mark labels.
978         * jump.c (mark_jump_label): Make global.
979         * rtl.h (mark_jump_label): Declare.
980
981         * predict.c (estimate_probability): Handle unordred comparisons.
982
983 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
984
985         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
986         * cppinit.c (initialize_dependency_output):  Update.
987         (cpp_finish): Output dummy targets for -MP.
988         (OPT_MP): New.
989         (cpp_handle_option): Handle -MP.  Don't quote -MT options.  
990         * cpplib.h (struct cpp_options): Add deps_phony_targets.
991         * gcc.c (cpp_options): Update to handle -MP.
992         * mkdeps.c (deps_add_target, deps_add_default_target): Update
993         to quote only the default target.
994         (deps_phony_targets): Insert a preceding newline.  Rename from
995         deps_dummy_targets for consistency.
996         * mkdeps.h: Update
997
998 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
999
1000         * calls.c (emit_library_call_value_1): Support
1001         INIT_CUMULATIVE_LIBCALL_ARGS.
1002         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
1003
1004 2001-01-04  Richard Henderson  <rth@redhat.com>
1005
1006         * c-decl.c (finish_struct): Detect flexible array members
1007         used in an inappropriate context.
1008         * c-typeck.c (really_start_incremental_init): Special case
1009         constructor_max_index for zero length arrays.
1010         (pop_init_level): Allow initialization of flexible array
1011         members.  Deprecate initialization of zero length arrays.
1012         Don't issue missing initializer warning for flexible array
1013         members or zero length arrays.
1014         (process_init_element): Don't dereference null DECL_SIZE.
1015         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
1016         Don't abort for empty constructors.  Use size_binop
1017         (output_constructor): Add commentary regarding zero length 
1018         array futures.  Abort if we try to initialize an array of
1019         unspecified length with a non-empty constructor in the middle
1020         of a structure.
1021
1022         * extend.texi (Zero Length): Update and clarify documentation
1023         on static initialization.
1024
1025 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1026
1027         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
1028         with more than 32767 words of local storage.
1029
1030 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1031
1032         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
1033         for 'abs', 'labs', and 'fabs'.
1034         (c4x_expand_builtin): Likewise.
1035         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
1036
1037 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
1038
1039         * config/sh/sh.md (prget, prset): New insn types.
1040         (return delay slot): Dont' allow prset.
1041         (call, sfunc delay slot): Don't allow prget.
1042         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
1043         for prset and prget.
1044
1045 2001-01-05  Michael Hayes  <mhayes@redhat.com>
1046         
1047         * loop.h (struct loop_reg): New.
1048         (struct loop_regs): Change to use array of `struct loop_reg'.
1049         * loop.c: Replace assortment of varrays with single regs array.
1050         (count_one_set): Delete may_not_move array argument
1051         and use regs array instead.  All caller's changed.
1052         (count_loop_regs_set): Delete may_not_move and single_usage
1053         arguments and use regs array instead.  All caller's changed.
1054         (find_single_use_in_loop): Replace usage array argument with pointer
1055         to regs structure.  All caller's changed.
1056         (loop_optimize): Delete `moved_once' array.
1057
1058 2001-01-05  Michael Hayes  <mhayes@redhat.com>
1059         
1060         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
1061         Use it instead of loop_info->has_call for scanning loop mems.
1062         (check_dbra_loop): Replace loop_info->has_call test with
1063         loop_info->has_nonconst_call.
1064
1065 2000-01-04  Matthew Hiller  <hiller@redhat.com>
1066
1067         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
1068         for TARGET_SH3E.
1069
1070 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1071
1072         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
1073         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
1074
1075 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1076
1077         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
1078         (flag_short_double, flag_short_wchar): Define.
1079         (c_common_nodes_and_builtins): Create many tree nodes shared
1080         between C and C++ here instead of in cp/decl.c and ...
1081         * c-decl.c (init_decl_processing): ... here.
1082         (SIZE_TYPE, WCHAR_TYPE): Don't define.
1083         (flag_short_double, flag_short_wchar): Don't define.
1084         (record_builtin_type): New function.
1085         (build_void_list_node): New function.
1086         * c-common.h (flag_short_double, flag_short_wchar,
1087         record_builtin_type, build_void_list_node): Declare.
1088
1089 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
1090
1091         * integrate.c (expand_inline_function): Don't put a virtual
1092         register into the reg map.
1093
1094         * function.c (fixup_var_refs_1): If force_operand didn't put
1095         the address into the target, move it there.
1096
1097 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
1098
1099         Special-case tree_decl/tree_list allocations.
1100         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
1101         (OBJECT_SIZE): New macro.
1102         (NUM_EXTRA_ORDER): Likewise.
1103         (extra_order_size_table): New variable.
1104         (NUM_ORDERS): New macro.
1105         (objects_per_page_table): New variable.
1106         (object_size_table): New variable.
1107         (G.pages): Use NUM_ORDERS to bound the array.
1108         (G.page_tails): Likewise.
1109         (DIV_ROUND_UP): Remove.
1110         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
1111         (alloc_page): Use OBJECT_SIZE.
1112         (size_lookup): Don't make it const.
1113         (ggc_alloc): Use OBJECT_SIZE.
1114         (ggc_set_mark): Likewise.
1115         (ggc_get_size): Likewise.
1116         (init_ggc): Set up the object_size_table, objects_per_page_table,
1117         and adjust size_lookup.
1118         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
1119         (ggc_pop_context): Use NUM_ORDERS.
1120         (clear_marks): Likewise.
1121         (sweep_pages): Likewise.
1122         (poison_pages): Likewise.
1123         (ggc_print_statistics): Use OBJECT_SIZE.
1124
1125 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1126
1127         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
1128         Only call array_size_for_constructor if last field and array type
1129         with no upper bound.
1130
1131 2001-01-04  Philip Blundell  <philb@gnu.org>
1132
1133         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
1134         from bit 31 downwards, if this requires no more insns.
1135         (count_insns_for_constant): New helper function for above.
1136
1137 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
1138
1139         * gencodes.c (output_predicate_decls): Remove empty initializer.
1140
1141 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
1142
1143         * tree.c (copy_node): Remove documentation about obstacks.
1144         (buidl1): Check that nobody tries to build 2-argument nodes this
1145         way.
1146
1147 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1148
1149         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
1150         fp_high_losum_p.
1151
1152         * gencodes.c (output_predicate_decls): Fill empty initializer
1153         braces.
1154
1155 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
1156
1157         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
1158         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
1159         or -MM.
1160         (do_include): Handle missing headers like cpp0.
1161         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
1162         paths with first include pathname.  Don't strcat to uninitialized
1163         string.
1164
1165 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
1166
1167         * regrename.c (regrename_optimize): Don't rename from frame pointer
1168         if frame_pointer_needed.
1169         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
1170         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
1171         (ia64_reorg): Use it instead of scheduling if ! optimize.
1172         (errata_emit_nops): Properly call asm_noperands.
1173         (ia64_sched_reorder): Finish cycle if we see an asm.
1174         (ia64_variable_issue): Clear scheduling state after asms.
1175
1176 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
1177
1178         * cpp.texi: Update for -MT.
1179         * cppinit.c (initialize_dependency_output): Add a default
1180         target if none has been given already.
1181         (no_tgt, OPT_MT): New.
1182         (cpp_handle_option): Handle -MT.  Update -M etc.
1183         * cpplib.h (struct cpp_options): Remove deps_target.
1184         * gcc.c (cpp_options): Handle -MT.
1185         * mkdeps.c (struct deps): Move from mkdeps.h.
1186         (deps_calc_target): Rename deps_add_default_target.  Add a
1187         default target if none has been specified already.
1188         * mkdeps.h (struct deps): Move to mkdeps.c.
1189         (deps_calc_target): Rename deps_add_default_target.
1190
1191 2000-01-03  Richard Henderson  <rth@redhat.com>
1192
1193         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
1194         Remove dead code.
1195         * c-typeck.c (push_init_level): Move checks for flexible array
1196         members and zero length arrays ...
1197         (pop_init_level): ... here.  Silently discard empty initializations.
1198         Remove dead code.
1199         * varasm.c (output_constructor): Update for sizeof change to
1200         zero-length arrays.
1201
1202         * extend.texi (Zero Length): Clarify semantics.
1203
1204 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1205
1206         * configure.in (tm.h): Include isns-codes.h last.
1207         * configure: Rebuilt.
1208
1209 2001-01-03  Richard Henderson  <rth@redhat.com>
1210
1211         * config/alpha/alpha.md (addvsi3, addvdi3): New.
1212         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
1213         
1214 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1215
1216         * tradcpp.c (main): Make sure finclude() is called with a valid
1217         indepth value while handling -include.
1218
1219 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1220
1221         * gencodes.c (output_predicate_decls): New function.
1222         (main): Call it.
1223         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
1224         even if it is not the first time machmode.h is #included.
1225         * config/sh/sh.c (fpul_operand): Declare MODE argument.
1226         * tm.texi (PREDICATE_CODES): Document predicate declarations.
1227         * gcc.texi (Copyright): Added 2001.
1228
1229 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1230
1231         * c-common.c (c_common_lang_init): New function.  Warn if format
1232         warning options which only have effects when used with -Wformat
1233         are used without -Wformat.
1234         * c-common.h (c_common_lang_init): Declare.
1235         * c-lang.c (lang_init): Call c_common_lang_init.
1236         * objc/objc-act.c (lang_init): Call c_common_lang_init.
1237
1238 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1239
1240         * configure.in: Check for the mktemp command.
1241         * configure: Regenerate.
1242         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
1243         $TEMP.  Create temporary files with mktemp, if available at
1244         configure time; otherwise use set -C.  Remove temporary files
1245         before exit.
1246
1247 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1248
1249         * configure.in: Require at least texinfo 4.0.  Check for whether
1250         Pod::Man is sufficiently recent to regenerate GCC manpages.
1251         * configure:  Regenerate.
1252         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
1253         on #!.
1254         (GENERATED_MANPAGES): Define.
1255         (generated-manpages): New target.  Depend on cpp.1 as well as
1256         gcov.1.
1257         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
1258         configure to generated-manpages or empty) rather than on the
1259         manpages directly.  Remove execute permission from installed
1260         gcov.1 as well as cpp.1.
1261         * cpp.1, gcov.1: Regenerate.
1262
1263 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1264
1265         * builtins.c (expand_builtin_strncmp): Use host_integerp and
1266         tree_low_cst.  Allow using cmpstrsi in more cases.
1267
1268 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1269
1270         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
1271         sized types.
1272
1273 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
1274
1275         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
1276         * Makefile.in (HOST_CFLAGS): Mention build-make.
1277
1278 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1279
1280         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
1281         as JUMP_INSN.
1282
1283 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
1284
1285         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
1286         a REG rtx.
1287
1288         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
1289         callers changed.
1290
1291         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
1292         reg_base_value and reg_known_value arrays.
1293         (init_alias_analysis): Add more cases to detect known values.
1294         * sched-deps.c (deps_may_trap_p): New function.
1295         (sched_analyze_2): Use it.
1296
1297 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
1298
1299         * combine.c (simplify_shift_const): Even if we're sign-extracting,
1300         don't discard an ASHIFTRT if we're shifting in a wider mode.
1301
1302 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1303
1304         * toplev.c (rest_of_compilation): Don't print basic block information
1305         when CFG isn't up to date.
1306
1307 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
1308
1309         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
1310         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
1311         (UNALIGNED_SHORT_ASM_OP): Define.
1312         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
1313
1314 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
1315
1316         * fold-const.c (fold_convert): Fix typo.
1317
1318 2001-01-02  Richard Henderson  <rth@redhat.com>
1319
1320         * c-common.h (ASM_INPUT_P): New.
1321         * c-parse.in (asm): Set it when needed.
1322         * c-semantics.c (genrtl_asm_stmt): Test it instead of the 
1323         existance of an operand.
1324
1325 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
1326
1327         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
1328         (dwarf2out_frame_debug_expr): Likewise.
1329         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
1330
1331 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
1332
1333         * i386.c (ix86_split_to_parts): Return number of part required;
1334         handle TFmodes.
1335         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
1336         TFmodes.
1337         (ix86_split_long_move): Use number of part returned
1338         by ix86_split_to_parts
1339         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
1340         New macros.
1341         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
1342         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
1343         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
1344         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
1345         (ALIGN_MODE_128): Add TFmode.
1346         (IS_STACK_MODE): Likewise.
1347         (HARD_REGNO_NREGS): TFmode needs 3 registers.
1348         (HARD_REGNO_OK): Support TFmodes.
1349         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
1350         * i386.md (scheduler definitions): Use memory operand to determine
1351         fst/fld instructions; use mode attribute to determine real mode of
1352         the instruction.
1353         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
1354         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
1355
1356 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
1357
1358         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
1359
1360 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
1361
1362         * expr.c (store_constructor_field): Update ALIGN before calling
1363         store_constructor.
1364
1365 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
1366
1367         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
1368         host_integerp.
1369
1370 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
1371
1372         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
1373         incomplete type.
1374
1375 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
1376
1377         * c-decl.c (start_function): Don't warn on third parameter to main.
1378
1379 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1380
1381         * tsystem.h: Define HAVE_DECL_GETOPT.
1382
1383 2001-01-02  Philip Blundell  <pb@futuretv.com>
1384
1385         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber 
1386         of input operand.
1387
1388 2001-01-02  Richard Henderson  <rth@redhat.com>
1389
1390         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
1391
1392 2001-01-02  Andreas Jaeger  <aj@suse.de>
1393
1394         * c-decl.c (c_decode_option): Remove support of
1395         -Wmissing-noreturn.
1396
1397         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
1398         (W_options): Add -Wmissing-noreturn here.
1399
1400         * flow.c: Define lang_missing_noreturn_ok_p.
1401         (check_function_return_warnings): Use it.
1402
1403         * c-common.h: Declare lang_missing_noreturn_ok_p.
1404
1405         * c-lang.c (c_missing_noreturn_ok_p): New function.
1406         (lang_init): Set lang_missing_noreturn_ok_p.
1407
1408         * invoke.texi (Warning Options): Document this.
1409
1410 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
1411
1412         * extend.texi (C++ Extensions):  New node for C++ attributes;
1413           describe init_priority and com_interface.
1414         * invoke.texi:  Remove -finit-priority as it now has zero effect.
1415         * install.texi:  Fix xref syntax.
1416         * md.texi:  Likewise.
1417
1418 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1419
1420         * config.gcc (sparc64-wrs-vxworks*): New case.
1421         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
1422
1423         * config/sparc/sparc.c (sparc_override_options): Do support different
1424         pointer and architecture size.
1425         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
1426         (POINTERS_EXTEND_UNSIGNED): Define.
1427         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
1428         (FUNCTION_MODE): Define to be Pmode.
1429         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
1430
1431         * function.c (expand_function_end): Properly handle DECL_RESULT
1432         and copy when ptr_mode != Pmode.
1433         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
1434
1435 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1436
1437         * c-common.c (c_common_nodes_and_builtins): Set prototype
1438         parameters for __builtin_fputs, __builtin_fputc and
1439         __builtin_fwrite.  Don't declare plain fputc as a builtin.
1440
1441 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1442
1443         * loop.c (add_label_notes): Increment the label usage count when
1444         a note is added to an insn which refers to a CODE_LABEL.
1445         * gcse.c (add_label_notes): Likewise.
1446
1447 2001-01-01  Andreas Jaeger  <aj@suse.de>
1448
1449         * loop.c (scan_loop): Use xmalloc to allocate movables.
1450
1451 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
1452
1453         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
1454         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
1455         * reload1.c (REGISTER_MOVE_COST): Likewise.
1456         * regclass.c (REGISTER_MOVE_COST): Likewise.
1457         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
1458         dimension.  Adjust all users.
1459         (init_reg_sets_1): Iterate on all modes.
1460         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
1461         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
1462         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
1463         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
1464         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
1465         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
1466         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
1467         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
1468         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
1469         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
1470         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
1471         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
1472         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
1473         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
1474         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
1475         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
1476         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
1477         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
1478         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
1479         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
1480         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
1481         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
1482         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
1483         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
1484         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
1485         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
1486         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
1487
1488 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
1489
1490         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
1491         arg VARIES_P.  Call it with extra arg.
1492         (true_dependence): Likewise.
1493         * rtl.h (rtx_addr_can_trap_p): Declare.
1494         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
1495         prototypes.
1496         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
1497         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
1498         pic offset table register if it's zero.  All callers changed.
1499         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
1500
1501 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1502
1503         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
1504         STRING_POOL_ADDRESS_P.
1505
1506         * config/sparc/sparc.c (input_operand): Properly test for short op.
1507
1508         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
1509         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
1510         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
1511         * config/sparc/elf.h: No longer include sol2.h.
1512         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
1513         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
1514
1515         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
1516
1517 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1518
1519         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
1520         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
1521         (record_initial): Likewise.
1522         * unroll.c (copy_loop_body, loop_iterations): Likewise.
1523         (remap_split_bivs): Likewise.
1524
1525 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1526
1527         * loop.c (loop_ivs_free): New function.
1528         (strength_reduce): Break out from...
1529
1530 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1531
1532         * loop.h (struct iv): New.
1533         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
1534         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
1535         'reg_biv_class' fields with 'regs' and 'n_regs'.
1536         (struct ivs): Rename 'loop_iv_list' field to 'list'.
1537         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
1538         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
1539
1540 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
1541
1542         * resource.c (mark_referenced_resources): Abort() before
1543         attempting to mark a pseudo register.
1544         (mark_set_resources): Likewise.
1545
1546 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1547
1548         * loop.h (REG_IV_CLASS): New accessor macro.
1549         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
1550         * unroll.c (REG_IV_CLASS): Likewise.
1551
1552 Sun Dec 31 19:20:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1553
1554         * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
1555         (loc_descriptor_from_tree, case SAVE_EXPR): New.
1556
1557 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1558
1559         * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
1560         (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
1561         (prescan_loop): Set pre_header_has_call in loop_info.
1562         * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
1563         (struct loop_info): Add `pre_header_has_call'.
1564
1565         * loop.c (loop_bivs_find): Break out from strength_reduce.
1566         (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
1567         (loop_givs_check, loop_biv_eliminable_p): Likewise.
1568
1569         * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
1570         (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
1571
1572         * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
1573         * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
1574         direct access to uid_luid array.
1575         * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
1576
1577         * loop.h (struct loop_movables): New.
1578         (LOOP_MOVABLES): New.
1579         (struct loop_info): Add movables field.
1580         * loop.c (struct movables): Delete.  Replace all uses
1581         with struct loop_movables.
1582         (the_movables): Delete.  Replace all uses with movables
1583         field in loop_info.
1584         (loop_movables_add, loop_movables_free): New functions.
1585         (scan_loop): Use xmalloc instead of alloca for movables.
1586         Call loop_movables_free.
1587
1588         * loop.c (debug_loops): New.
1589
1590 2000-12-31  Philip Blundell  <philb@gnu.org>
1591
1592         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
1593         operands.
1594
1595 2000-12-30  Richard Henderson  <rth@redhat.com>
1596
1597         * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
1598         Initialize variables properly for DBX_LBRAC_FIRST.
1599
1600 2000-12-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1601
1602         * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
1603
1604 2000-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1605
1606         * builtins.c (validate_arglist): New function, use it.
1607
1608 2000-12-30  Philip Blundell  <philb@gnu.org>
1609
1610         * config/arm/arm.c (arm_expand_prologue): Fix typos in error
1611         message and comment.  Note location of testcase for an unhandled
1612         situation.
1613
1614 2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>
1615
1616         * defaults.h (BUILD_VA_LIST_TYPE): New definition.
1617         * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
1618         is a copy, not an alias.
1619
1620 2000-12-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1621
1622         * calls.c (calls_function_1, case CONSTRUCTOR): New case.
1623
1624         * alias.c (alias_sets_conflict_p): New function.
1625         (mems_in_disjoint_alias_sets_p): Use it.
1626         (readonly_fields_p): Moved from expr.c; check for record type.
1627         (objects_must_conflict_p): New function.
1628         * calls.c (expand_call): Use assign_temp as much as possible, use
1629         readonly variant if assigned once, and don't set memory attributes.
1630         (emit_library_call_value_1, store_one_arg): Likewise.
1631         * integrate.c (expand_inline_function): Likewise.
1632         * stmt.c (expand_asm_operands, expand_return): Likewise.
1633         * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
1634         (store_field, save_noncopied_parts, expand_expr): Likewise.
1635         (expand_expr_unaligned): Likewise.
1636         (readonly_fields_p): Moved to alias.c.
1637         (safe_from_p): Rework handling of SAVE_EXPR.
1638         MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
1639         * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
1640         (assign_stack_for_temp): Use objects_must_confict_p.
1641         Set all memory attributes from type, if specified.
1642         (mark_temp_slot): Mark TYPE field.
1643         * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
1644         (objects_must_conflict_p): Likewise.
1645
1646         * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
1647         (add_case_node): No need to copy nodes anymore.
1648
1649 2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
1650
1651         * config/sh/sh.c (split_branches): Don't dereference re-computed
1652         `beyond' before checking it's non-NULL.
1653
1654 2000-12-29  Robert Lipe <robertl@sco.com>
1655
1656         Remove COFF support from i?86-pc-sco3.2v5.
1657         * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
1658         (TARGET_ELF): Now always true.
1659         (SUBTARGET_SWTICHES: )Remove -mcoff.
1660
1661         * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
1662         MULTILIB_EXCEPTION): Nuke coff.
1663         (CRTSTUFF_T_CFLAGS_S):  Deleted.
1664         (TARGET_LIBGCC2_CFLAGS): Added.
1665
1666 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1667
1668         * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
1669         twice.  Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
1670         modifies them.
1671
1672 2000-12-29  Bernd Schmidt  <bernds@redhat.com>
1673
1674         * ia64.c (ia64_expand_load_address): Accept additional scratch
1675         register argument.  All callers & prototype changed.
1676         Use scratch register when generating load_symptr insns.
1677         * ia64.md (movdi_symbolic): Clobber a scratch register.  Use it
1678         when calling ia64_expand_load_address.
1679         (movdi): Generate movdi_symbolic with additional operand.
1680         (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
1681         (load_symptr): Likewise.  Use additional operand as a scratch
1682         register instead of generating it here.
1683
1684         * basic-block.h: Add a comment.
1685         * flow.c (PROP_POSTRELOAD): New macro.
1686         (update_life_info): Add it to prop_flags.
1687         (mark_set_1): If it is set, compute REG_N_SETS for the original
1688         register number of a hard reg.
1689
1690         * emit-rtl.c (gen_raw_REG): New function.
1691         (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
1692         gen_rtx_raw_REG.
1693         * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
1694         * final.c (alter_subreg): Update it.
1695         * regrename.c (do_replace): Likewise.  Use gen_raw_REG.
1696         * rtl.def (REG): Update comment.
1697         * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
1698         (gen_raw_REG): Declare.
1699
1700 2000-12-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1701
1702         * tree.c (get_set_constructor_bits): Use host_integerp and
1703         tree_low_cst.
1704
1705         * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
1706
1707         * toplev.c (main): Call xmalloc_set_program_name.
1708         * gcc.c (main): Likewise.
1709
1710 2000-12-29  Philip Blundell  <philb@gnu.org>
1711
1712         * config/arm/arm.c (arm_override_options): Fix typo in warning
1713         message.
1714
1715 2000-12-29  Richard Henderson  <rth@redhat.com>
1716
1717         * config/alpha/alpha.c (alpha_expand_block_move): Initialize
1718         src_align and dst_align in bits.  Do unaligned quadword loads
1719         if possible for BWX too.
1720         (alpha_expand_block_clear): Initialize align in bits.  Track
1721         small leading offsets into a larger alignment.  Play games with
1722         stq_u for large 4-byte aligned blocks.  Use load/mask/store
1723         for appropreately aligned heads and tails.
1724
1725 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1726
1727         * function.c (assign_parms): Convert arguments passed by
1728         reference to the right mode.
1729
1730 2000-12-28  Geoffrey Keating  <geoffk@redhat.com>
1731
1732         * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
1733         on the condition of a FOR statement, so that it gets typechecked
1734         and optimised.
1735
1736 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1737
1738         * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
1739         array size.
1740
1741         * calls.c (emit_library_call_value_1): Add to call_fusage the
1742         stack slot assigned to argument passed by reference.
1743
1744 2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>
1745
1746         * toplev.h (extern really_sorry): Remove extern declaration for
1747         nonexistent function.
1748
1749 2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>
1750
1751         * varasm.c (initializer_constant_valid_p): Indicate subtraction of
1752         pointers to the same string constant is absolute.
1753
1754 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
1755
1756         * c-common.c (enum format_type): Add strfmon_format_type.
1757         (decl_attributes): Handle format attributes strfmon and
1758         __strfmon__.
1759         (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
1760         FMT_FLAG_EMPTY_PREC_OK): Define.
1761         (format_char_info): Update comment for flag_chars.
1762         (format_flag_spec): Add skip_next_char.
1763         (format_kind_info): Add left_precision_char.
1764         (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
1765         format_types): Update for these new structure members and flags.
1766         (time_char_table): Make const.
1767         (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
1768         monetary_char_table): New.
1769         (format_types): Add details of strfmon formats.
1770         (init_function_format_info): Create default attribute for strfmon.
1771         (check_format_info_main): Check the new flags.  Handle
1772         skip_next_char and left precision.
1773         * toplev.c (documented_lang_options): Update description of
1774         -Wformat.
1775         * extend.texi: Document strfmon format attributes.  Document
1776         attribute forms such as __printf__.  Clarify format_arg attribute
1777         documentation.
1778         * invoke.texi (-Wformat): Update for strfmon formats.
1779
1780 2000-12-28  Andreas Jaeger  <aj@suse.de>
1781
1782         * expmed.c (store_bit_field): Fix last patch.
1783
1784 2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
1785
1786         * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
1787         the trailing `__'.
1788
1789 2000-12-28  Alan Lehotsky  <lehotsky@tiac.net>
1790
1791         * expmed.c (store_bit_field): Correctly compute smallest mode that
1792         is sufficient to contain all bits we are storing.
1793
1794 2000-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1795
1796         * builtins.c (build_function_call_expr): New function.  Use it
1797         everywhere in lieu of manually constructing a CALL_EXPR.
1798
1799 2000-12-27  Chandrakala Chavva  <cchavva@redhat.com>
1800
1801         * calls.c (store_one_arg):  If parm is passed both in stack and in
1802         register and offset is greater than reg_parm_stack_space, split
1803         the offset and call emit_push_insn().
1804
1805 2000-12-27  Nick Clifton  <nickc@redhat.com>
1806
1807         * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
1808         PARALLEL.
1809
1810 2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
1811
1812         * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
1813         flag.
1814
1815 2000-12-27  Bruce Korb  <bkorb@gnu.org>
1816
1817         * fixinc/Makefile.in: fix for ancient Bourne shell
1818         * fixinc/Makefile.BEOS: obsolete
1819         * fixinc/Makefile.DOS: obsolete
1820         * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
1821
1822 2000-12-27  Bernd Schmidt  <bernds@redhat.com>
1823
1824         * sched-deps.c (get_condition, conditions_mutex_p): New functions.
1825         (add_dependence): Use them to avoid adding unnecessary dependencies
1826         between conditionally executed insns.
1827         (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
1828         dependency lists if current insn is a COND_EXEC.
1829
1830 2000-12-27  Geoffrey Keating  <geoffk@redhat.com>
1831
1832         * config/rs6000/rs6000.md (define_attr "length"): Correct
1833         calculation.
1834
1835 2000-12-26  Kazu Hirata  <kazu@hxi.com>
1836
1837         * config/h8300/h8300.c: Fix a comment typo.
1838         (get_shift_alg): Fix a typo in the assembly code for 12-bit
1839         ASHIFTRT in HImode.  Do not output extra whitespace after one line
1840         of assembly code.  Output a tab after an opcode instead of a
1841         space.
1842         (emit_a_shift): Output a tab after an opcode instead of a space.
1843
1844 2000-12-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1845
1846         * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
1847         out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
1848         %4 in output templates, do not modify operands passed by the caller.
1849
1850 2000-12-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1851
1852         * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
1853         Don't define.
1854         * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
1855         BUILT_IN_LLABS and BUILT_IN_IMAXABS.
1856         * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
1857         builtin labs, llabs and imaxabs.
1858         (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
1859         and BUILT_IN_IMAXABS.
1860
1861 2000-12-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1862
1863         * c-common.c (builtin_function_2): New function.
1864         (c_common_nodes_and_builtins): Use it to define each pair (foo,
1865         __builtin_foo) of builtins in one place.
1866
1867 2000-12-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1868
1869         * gccbug.in: Add libgcj and preprocessor categories.
1870
1871 2000-12-22  Bernd Schmidt  <bernds@redhat.com>
1872
1873         * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
1874         the final scheduling pass.
1875
1876 2000-12-22  Nick Clifton  <nickc@redhat.com>
1877
1878         * config/arm/arm.h (struct machine_function): Add new field
1879         'lr_save_eliminated'.
1880         * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
1881         link register if its save has been eliminated.
1882         (output_arm_prologue): Mention if the save of the link register
1883         has been eliminated.
1884         (output_arm_epilogue): Rename 'live_regs_mask' to
1885         'saved_regs_mask'.
1886         Test 'saved_regs_mask' for the link register, not regs_ever_live.
1887         (arm_expand_prologue): If the link register has not been saved set
1888         lr_save_eliminated and emit a USE to prevent later passes from
1889         scavenging it.
1890
1891         * dwarf2out_frame_debug_expr: Allow the (scratch) frame
1892         pointer to be initialised from the stack pointer plus a
1893         constant.
1894
1895 2000-12-22  Bernd Schmidt  <bernds@redhat.com>
1896
1897         * regrename.c (struct du_chain): New field "earlyclobber".
1898         (enum scan_actions): Remove unused entry "note_reference".
1899         (enum scan_actions_name): Likewise.
1900         (note_sets, clear_dead_regs, merge_overlapping_regs): New static
1901         functions.
1902         (regrename_optimize): Use them to compute unavailable regs; get
1903         rid of the more simpleminded code we used to have here.
1904         Use a tick array to ensure registers are allocated in a more
1905         round-robin way.  Disable code that only optimizes registers
1906         that were seen more than once.
1907         (referenced_regs): Remove variable.
1908         (scan_rtx_reg): New arg "earlyclobber".  All callers changed.
1909         Store its value in newly generated du_chain structures.
1910         Add new du_chains at the end, not the start, of the list.
1911         Don't handle the "note_reference" action.
1912         (scan_rtx): New arg "earlyclobber".  All callers changed.
1913         (build_def_use): Lose code to keep track of referenced regs.
1914
1915 2000-12-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1916
1917         * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
1918
1919         * fp-bit.h (usi_to_float): Add prototype.
1920
1921         * i386.c (ix86_expand_builtin): Delete unused label.
1922
1923         * dwarf2out.c (file_info_cmp): Prototype.
1924         (dwarf2out_line): Hide variable `old_in_use'.
1925
1926         * objc-act.c (objc_fatal): Delete.
1927
1928         * sched-vis.c (visualize_stall_cycles): Remove unused variable.
1929
1930         * system.h (getopt): Fix error in last change.
1931
1932         * varasm.c (assemble_trampoline_template): Constify.
1933
1934 2000-12-22  Jason Merrill  <jason@redhat.com>
1935
1936         * collect2.c (main): Use auto_demangling.
1937
1938 2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1939
1940         * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
1941         when optimizing PARALLEL to REG.
1942
1943 2000-12-22  Graham Stott  <grahams@redhat.com>
1944
1945         * reload.c (update_auto_inc_notes): New, broken out from ...
1946         (find_reloads_address_1): ... use here, also correct possible
1947         use of uninitialised reloadnum.
1948
1949 2000-12-21  David O'Brien  <obrien@FreeBSD.org>
1950
1951         * config/freebsd.h (LIB_SPEC): remove -kthread option.
1952
1953 2000-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1954
1955         * resource.c (mark_set_resources): Use MARK_SRC_DEST for
1956         PRE_MODIFY and POST_MODIFY cases.
1957
1958         * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
1959
1960 2000-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1961
1962         * md.texi (Looping Patterns): New node.
1963
1964 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1965
1966         * gcc.texi, cpp.texi: Update last-updated dates.
1967
1968 2000-12-21  Chandrakala Chavva  <cchavva@redhat.com>
1969
1970         * varasm.c (output_addressed_constants): Use language specific
1971         expander on unknown nodes.
1972
1973 2000-12-21  Graham Stott  <grahams@redhat.com>
1974
1975         * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
1976
1977 2000-12-21  Bernd Schmidt  <bernds@redhat.com>
1978
1979         * Makefile.in (out_object_file): Depend on sched-int.h.
1980         * rtl.h (single_set_1): New macro.
1981         (single_set_2): Renamed from single_set_1 and extra argument added.
1982         * rtlanal.c (single_set_2): Likewise.
1983
1984         * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
1985         ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
1986         ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
1987         Declare.
1988         * config/ia64/ia64.c: Include "sched-int.h".
1989         (hard_regno_rename_ok): Also disallow renaming from the various
1990         reg_save_* regs.
1991         (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
1992         ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
1993         safe_group_barrier_needed_p, fixup_errata): New static functions.
1994         (rtx_needs_barrier):  Handle bundle selector and cycle display
1995         insns.
1996         (emit_insn_group_barriers): Accept additional FILE * arg.  All
1997         callers changed.  Rework to only generate stop bits between
1998         basic blocks that haven't been inserted by scheduling.
1999         (struct bundle, struct ia64_packet): New structures.
2000         (NR_BUNDLES, NR_PACKETS): New macros.
2001         (bundle, packets, type_names): New static arrays.
2002         (ia64_final_schedule): New variable.
2003         (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
2004         gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
2005         cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
2006         find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
2007         New static functions.
2008         (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
2009         ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
2010         functions.
2011         (ia64_reorg): Perform a final scheduling pass.
2012         * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
2013         (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
2014         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
2015         MD_SCHED_VARIABLE_ISSUE): Define macros.
2016         (ia64_final_schedule): Declare variable.
2017         * config/ia64/ia64.md (attr itanium_class): Add some more classes.
2018         (attr type): Account for them.
2019         (itanium_requires_unit0): New attribute.
2020         (function units): Rewrite.
2021         (some splitters): Don't create scheduling barriers here.
2022         (gr_spill_internal, gr_restore_internal): Don't predicate the
2023         pseudo-op.
2024         (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
2025         bundle_selector): New patterns.
2026         (insn_group_barrier): Now has an operand.
2027
2028 2000-12-21  DJ Delorie  <dj@redhat.com>
2029
2030         * dwarf2out.c (simple_decl_align_in_bits): new
2031         (field_byte_offset): Try both the type align and the
2032         decl align, use whichever works, preferring the type align.
2033
2034 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2035
2036         * gccbug.in: Fix typo.
2037
2038 2000-12-20  Benjamin Kosnik  <bkoz@redhat.com>
2039
2040         * Makefile.in (gcc_gxx_target_include_dir): Use instead of
2041         build_tooldir and libstdcxx_incdir.
2042
2043 2000-12-20  Robert Lipe <robertlipe@usa.net>
2044
2045         * haifa-sched.c (schedule_block): Provide empty source statement
2046         if not MD_SCHED_REORDER2.
2047
2048 2000-12-20  Richard Henderson  <rth@redhat.com>
2049
2050         * rtl.h (REG_NON_LOCAL_GOTO): New.
2051         * rtl.c (reg_note_name): Update.
2052         * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
2053         * builtins.c (expand_builtin_longjmp): Likewise.
2054         * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
2055         not emit an edge.
2056
2057 2000-12-20  Marek Michalkiewicz  <marekm@linux.org.pl>
2058
2059         * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
2060         Do not output undefined opcodes where source or destination register
2061         overlaps with modified pointer register.  Handle (X + d) addresses.
2062         * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
2063         in alternatives with memory operand.
2064
2065 2000-12-20  Richard Henderson  <rth@redhat.com>
2066
2067         * c-typeck.c (build_asm_stmt): New, broken out from ...
2068         (c_expand_asm_operands): ... here.  Just do rtl expansion.
2069         (c_expand_return): Return the new stmt node.
2070         (c_start_case, do_case): Likewise.
2071         * c-common.c (c_expand_expr_stmt): Likewise.
2072         * c-common.h: Update declarations.
2073         * c-tree.h: Likewise.
2074         * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
2075         * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
2076         (nested_function, notype_nested_function): Likewise.
2077         (compstmt): Return the compound statement not the binding level.
2078         (lineno_labeled_stmt): Simplify.
2079         (lineno_stmt, lineno_label): Set STMT_LINENO.
2080         (stmt, label): Return the new stmt node.
2081
2082 2000-12-20  Bernd Schmidt  <bernds@redhat.com>
2083
2084         * Makefile.in (OBJS): Add sched-ebb.o.
2085         (sched-ebb.o): New rule.
2086         (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
2087         (haifa-sched.o): Depend on insn-flags.h.
2088         * haifa-sched.c: Include "insn-flags.h".
2089         (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
2090         callback.
2091         * rtl.h (schedule_ebbs): Declare.
2092         * sched-int.h (struct sched_info): Add new members
2093         contributes_to_priority and compute_jump_reg_dependencies.
2094         * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
2095         New functions.
2096         (region_sched_info): Add them.
2097         * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
2098         * sched-ebb.c: New file.
2099         * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
2100
2101         * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
2102         handle all relational operators.
2103
2104 2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
2105
2106         * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
2107         * tm.texi: Document it.
2108
2109 2000-12-19  Benjamin Kosnik  <bkoz@redhat.com>
2110
2111         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
2112         instead of gcc_tooldir.
2113
2114 2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2115
2116         * system.h (getopt): Update prototype to match include/getopt.h.
2117
2118 2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2119
2120         From Jeff Law.
2121         * pa.c (basereg_operand): Simplify.
2122
2123 2000-12-19  Bernd Schmidt  <bernds@redhat.co.uk>
2124
2125         * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
2126         not block number.  All callers and prototype changed.
2127         (set_priorities): Likewise.
2128         (save_line_notes): Add head and tail arguments; all callers and
2129         prototype changed.
2130         (restore_line_notes): Likewise.  Don't crash on insns generated
2131         during scheduling.
2132         (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
2133         Call MD_SCHED_INIT with additional argument.
2134         When starting a new cycle, emit cycle_display insns if available.
2135         Don't stop scheduling when encountering a JUMP_INSN, but add another
2136         call to schedule_more_p in the inner loop.
2137         Call MD_SCHED_REORDER2 after scheduling an insn.
2138         Call MD_SCHED_FINISH once all insns are scheduled.
2139         (sched_init): Compensate for the fact that get_block_head_tail
2140         doesn't include leading notes.
2141         * sched-deps.c (free_deps): Free vectors here.
2142         * sched-rgn.c (compute_block_backward_dependencies): Not here.
2143         (last_was_jump): New static variable.
2144         (schedule_more_p): Test it.
2145         (init_ready_list): Initialize it.
2146         (can_schedule_ready_p): Set it if we have a JUMP_INSN.
2147
2148         * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
2149         * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
2150         * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
2151
2152         * md.texi (cycle_display): Document.
2153         * tm.texi (MD_SCHED_INIT): Document new arg.
2154         (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
2155
2156         * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
2157         to use different representation.  All callers changed.
2158         (and_reg_cond): Renamed from nand_reg_cond; caller changed.
2159         (init_propagate_block_info): Don't test flags to determine
2160         whether to compute conditional lifetimes.
2161         Adjust code for new representation of conditional lifetimes.
2162         (mark_regno_cond_dead): Similar adjustment.
2163         (free_reg_cond_life_info): Similar adjustment.
2164         (elim_reg_cond): New function.
2165         (flush_reg_cond_1): Use it.
2166
2167 2000-12-19  Catherine Moore  <clm@redhat.com>
2168
2169         * reload1.c (reload_combine): Take multi-hard-regs into account
2170         when processing CALL_INSN_FUNCTION_USAGE.
2171
2172 2000-12-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2173
2174         * invoke.texi (-print-search-dirs): Make references to cpp refer
2175         to cpp0 instead.
2176
2177 2000-12-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2178
2179         * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
2180         non-negative.
2181
2182 Tue Dec 19 00:37:08 2000  J"orn Rennecke <amylaar@redhat.com>
2183
2184         * reload.c (push_reload): When using a dying register for the reload
2185         register in an in-out reload, use outmode if wider than inmode.
2186
2187 2000-12-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2188
2189         * config/d30v/d30v.h (EXIT_BODY): Update comment.
2190
2191 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2192
2193         * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
2194         * tm.texi (EXIT_BODY): Update documentation.
2195         * config/freebsd.h, config/netware.h, config/arm/coff.h,
2196         config/arm/conix-elf.h, config/arm/unknown-elf.h,
2197         config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
2198         sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
2199         commented out) and associated comments.
2200
2201 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2202
2203         * c-common.c (STD_C9L, ADJ_STD): Define.
2204         (printf_length_specs, scanf_length_specs): Mark "ll" as standard
2205         STD_C9L.
2206         (T99_LL): Rename to T9L_LL.
2207         (T99_ULL): Rename to T9L_ULL.
2208         (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
2209         instead of T99_LL and T99_ULL.
2210         (check_format_info_main): Use ADJ_STD on all format standard
2211         versions being compared.
2212         * c-common.h: Declare warn_long_long.
2213         * c-tree.h: Don't declare warn_long_long.
2214
2215 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2216
2217         * COPYING: Update to current
2218         ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
2219         to 19yy as example year in copyright notice).
2220
2221 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2222
2223         * c-lex.c (cb_file_change): Treat in_system_header as strictly
2224         boolean (0 or 1).
2225
2226 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2227
2228         * cppmain.c: Update print.lineno with -P.
2229
2230 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2231
2232         * c-lex.c: s/change_file/file_change.
2233         * cpplib.h: Similarly.
2234         * cppmain.c: Similarly.
2235         * fix-header.c: Similarly.
2236         * cppfiles.c (stack_include_file): Pass the buffer location and
2237         size to cpp_push_buffer.  Generate the file_change callback,
2238         so that sysp is already set.
2239         * cpphash.h: Add _cpp_do_file_change.
2240         * cpplib.c (do_line): Set buffer->sysp directly. Generate the
2241         file_change callback after setting sysp.
2242         (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
2243         here.
2244         (cpp_push_buffer): Don't generate a callback.  Clear sysp.
2245         (cpp_pop_buffer): Clean up logic.
2246
2247 2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>
2248
2249         * configure.in (gcc_gxx_include_dir): Simplify.
2250         (libstdcxx_incdir): Export.
2251         * configure: Regenerate.
2252         * Makefile.in (PREPROCESSOR_DEFINES): Add in
2253         GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
2254         (libstdcxx_incdir): Add.
2255         * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
2256
2257 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2258
2259         * c-lex.c (lex_lineno): Remove.
2260         (init_c_lex, c_lex): Remove lex_lineno.
2261         (cb_change_file): Update lineno correctly, both before calling
2262         push_srcloc and before leaving the function.
2263         (cb_def_pragma): Set lineno before outputting diagnostics.
2264
2265 Sun Dec 17 18:45:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2266
2267         * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
2268         Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
2269         Use print_node_brief to print bounds.
2270
2271 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2272
2273         * cpplib.h (struct cpp_reader): Remove references to string_pool
2274         and temp_string_pool.
2275         * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
2276         ident_pool in place.
2277         * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
2278         save_comment, cpp_token_as_text): Similarly.
2279         * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
2280         * cppmacro.c (make_number_token, builtin_macro, lock_pools,
2281         unlock_pools, stringify_arg, paste_tokens): Similarly.
2282
2283 Sun Dec 17 12:41:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2284
2285         * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
2286         (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
2287         (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
2288
2289 2000-12-17  Richard Earnshaw  <rearnsha@arm.com>
2290
2291         * Makefile.in (check-po): Use $(MAKE).
2292         (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
2293
2294 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2295
2296         * cppmain.c (check_multiline_token): New function.
2297         (scan_buffer): Use it.
2298         (cb_change_file): Restructure to avoid warning.
2299         * cpperror.c (print_location): Initialize col.
2300
2301 2000-12-14  Philipp Thomas  <pthomas@suse.de>
2302
2303         * protoize.c (main): Correctly set locale categories.
2304         * gcc.c (main): Likewise.
2305         * cppmain.c (general_init): Likewise.
2306         * toplev.c (main): Likewise.
2307         * gcov.c (main): Likewise.
2308         * collect2.c (main): Likewise.
2309
2310 2000-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2311
2312         * c-common.c (c_common_nodes_and_builtins): Create a
2313         cstring_endlink, use it.  Rename int_ftype_string_string to
2314         int_ftype_cstring_cstring, string_ftype_string_int to
2315         string_ftype_cstring_int, and string_ftype_string_string to
2316         string_ftype_cstring_cstring.  Prefer sizetype_endlink and
2317         int_endlink to manually recreating them.  Fix the prototype
2318         set for __builtin_strspn/__builtin_strcspn.
2319
2320 2000-12-12  Marek Michalkiewicz  <marekm@linux.org.pl>
2321
2322         * config/avr/avr.c (out_set_stack_ptr): Update comment.
2323         (print_operand): Add support for %~ and %o.
2324
2325 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2326
2327         * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
2328
2329 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2330
2331         * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
2332         * cpperror.c (print_containing_files): Get right line number.
2333         (print_location): Output column of 1 if 0.
2334         * cppfiles.c (stack_include_file): cpp_push_buffer handles
2335         the callback.
2336         * cpphash.h (_cpp_do_file_change): No longer external.
2337         * cpplib.c (do_file_change): Now local to cpplib.c.
2338         (do_line): Fake a buffer stack for preprocessed files.
2339         (cpp_push_buffer): Create a file_change callback.  Handle faked
2340         buffers.
2341         (cpp_pop_buffer): Similarly.
2342         * cpplib.h: BUF_FAKE: New buffer type.
2343         * cppmain.c: Update to handle correct file renaming where a
2344         #line is the first line of the main file, and produce only
2345         the renamed file, not the original file, as output.
2346
2347 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2348
2349         * config/c4x/c4x.md: Remove redundant @s from output patterns.
2350
2351 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2352             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2353
2354         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
2355
2356         * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
2357
2358         * config/c4x/c4x.c (c4x_init_pragma): New function.
2359         (c_lex_func): New variable.
2360         (c4x_parse_pragma): Use c_lex_func.
2361
2362 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2363             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2364
2365         * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
2366           to c4x_init_builtins.
2367
2368         * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
2369
2370         * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
2371         (c4x_output_ascii):  Fix.
2372
2373 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2374             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2375
2376         * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
2377
2378         * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
2379         (c4x_expand_builtin): Likewise.
2380
2381         * config/c4x/c4x.c (c4x_init_builtins): New function.
2382         (c4x_expand_builtin): Likewise.
2383
2384         * config/c4x/c4x.md (floatunsqihf2): New pattern.
2385         (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
2386         (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
2387         (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
2388         (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
2389
2390 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2391
2392         * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
2393         * libgcc2.c (__absvsi2): Use Wtype and DWtype.
2394         (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
2395         (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
2396
2397 2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
2398
2399         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
2400         statement in do/while(0).
2401
2402 Sat Dec 16 19:56:24 MET 2000  Jan Hubicka  <jh@suse.cz>
2403
2404         * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
2405         lshrhi3_cmpno): Remove redundant '@' from the template.
2406
2407         * i386.md (cmpstrsi_1): Fix type of the compare.
2408
2409         * genattrtab.c (attr_rtx_cost): New function.
2410         (simplify_test_exp): Avoid overactive inlining; use temporary
2411         obstacks for tests.
2412
2413 Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2414
2415         * diagnostic.c (finish_abort): Deleted.
2416         (fatal): Add code from finish_abort.
2417         (error_recursion, fancy_abort): Call fatal, not finish_abort.
2418         (trim_filename): Remove leading "../".
2419         * diagnostic.h (finish_abort): Deleted.
2420         * toplev.c (crash_signal): Call fatal, not finish_abort.
2421
2422         * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
2423         as if size were variable.
2424
2425         * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
2426
2427 2000-12-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2428
2429         * tradcpp.c: T_WARNING: New.
2430         (do_warning): New function.
2431         (finclude): Skip past the newline and increase the line number
2432         before calling output_line_command.
2433         (do_line): Skip the new line after output_line_command.  Don't
2434         pre-decrement the line number.
2435
2436 2000-12-15  Diego Novillo  <dnovillo@redhat.com>
2437
2438         * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
2439         _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
2440
2441 2000-12-15  Jakub Jelinek  <jakub@redhat.com>
2442
2443         * gcc.c (cpp_options): Pass -fno-operator-names.
2444         * cpplib.h (struct cpp_options): Add operator_names.
2445         * cppinit.c (cpp_create_reader): Initialize it.
2446         (initialize_builtins): If -fno-operator-names, don't add
2447         C++ alternate operator names.
2448         (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
2449         (cpp_handle_option): Clear operator_names.
2450
2451 2000-12-15  Jason Merrill  <jason@redhat.com>
2452
2453         * jump.c (jump_optimize_1): Don't delete the line note after the
2454         prologue even if it seems redundant.
2455
2456         * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
2457         on all insns used to adjust the stack.
2458
2459 Fri Dec 15 15:32:16 MET 2000  Jan Hubicka  <jh@suse.cz>
2460
2461         * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
2462         hardreg<->reg moves.
2463
2464 Fri Dec 15 14:48:37 MET 2000  Jan Hubicka  <jh@suse.cz>
2465
2466         * genrecog.c (add_to_sequence): Remove special case for
2467         const_int_operand.
2468         (maybe_both_true): Return 1 when falling out of sequence when
2469         trying to find common possition in the pattern.
2470
2471 Fri Dec 15 14:44:51 MET 2000  Jan Hubicka  <jh@suse.cz>
2472
2473         * integrate.c (copy_rtx_and_substitute): Copy mode too.
2474
2475 Fri Dec 15 14:11:57 MET 2000  Jan Hubicka  <jh@suse.cz>
2476
2477         * flow.c (notice_stack_pointer_modification_1): Cleanup.
2478
2479 2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
2480
2481         * function.c (adjust_trampoline_addr): New function.
2482         (trampoline_address): Call it instead of round_trampoline_addr().
2483         * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
2484
2485 2000-12-14  Zack Weinberg  <zack@wolery.stanford.edu>
2486
2487         * cppfiles.c (hack_vms_include_specification): Delete function
2488         (not used since 1998).
2489
2490 Fri Dec 15 03:37:51 2000  J"orn Rennecke <amylaar@redhat.com>
2491
2492         * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
2493
2494 2000-12-14  Jim Wilson  <wilson@redhat.com>
2495
2496         * alias.c (get_alias_set): Call record_component_aliases for
2497         COMPLEX_TYPE.
2498         (record_component_aliases): Handle COMPLEX_TYPE.
2499
2500 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2501
2502         * fixinc/gnu-regex.c: Disable NLS.
2503
2504 2000-12-14  Richard Henderson  <rth@redhat.com>
2505
2506         * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
2507         comparison operands when that would create non-canonical rtl.
2508
2509         * config/i386/i386.md (umulsi3_highpart): Remove * from name.
2510         (smulsi3_highpart): Likewise.
2511
2512 2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2513
2514         * gcc.c (cpp_options): Add -remap.
2515
2516 2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2517
2518        * gcc.c (cpp_options): Update to use '&'.
2519        (struct switchstr): Change type of validated to save space.
2520        New member 'ordering'.
2521        (handle_braces, validate_switches): Update to handle '&'.
2522
2523 2000-12-13  Laurynas Biveinis  <lauras@softhome.net>
2524
2525         * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
2526         found in a header.
2527         * fixinc/fixincl.x: regenerated.
2528
2529 2000-12-13  DJ Delorie  <dj@redhat.com>
2530
2531         * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
2532
2533 2000-12-13  Tom Tromey  <tromey@redhat.com>
2534
2535         * gcc.c (handle_braces): Handle %{<S*} spec correctly.
2536
2537 2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
2538
2539         * function.c (assign_parms): Optimize incoming PARALLELs into
2540         REGs if possible.
2541
2542 2000-12-13  Bruce Korb  <bkorb@gnu.org>
2543
2544         * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
2545         that cannot handle bi-directional pipes, viz. BeOS and DOS.
2546         * fixinc/fixlib.h(IGNORE_ARG): new macro
2547         (STATIC): define for all of fixinc to use
2548         * fixinc/fixfixes.c(*): eliminate unused arg warnings
2549         * fixinc/fixtests.c(*): ditto
2550         * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
2551         * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
2552         warning.  Also, eliminate the ``#ifdef emacs'' stuff.
2553         (re_syntax_options): make global as it is declared so.
2554         * fixinc/mkfixinc.sh: process the argument list more consistently
2555         (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
2556         * fixinc/procopen.c(globals): include "fixlib.h" for std defs
2557         * fixinc/server.c(globals): ditto
2558         * fixinc/server.h(defines): ditto
2559
2560 2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2561
2562         * tradcpp.c (special_symbol): Improve test for definedness,
2563         though it is still not perfect.
2564         (do_define): Don't define illegal macro names.
2565
2566 2000-12-07  Aldy Hernandez  <aldyh@redhat.com>
2567
2568         * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
2569         if changing into .bss section.
2570         * config/mips/elf64.h: same.
2571         * config/mips/iris6.h: same.
2572         * config/mips/netbsd.h: same.
2573         * config/mips/openbsd.h: same.
2574
2575 2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2576
2577         * cppfiles.c (read_name_map): Return null if open () fails.
2578         (remap_filename): Simplify logic.  Add ICE if it doesn't work
2579         as expected. Perform secondary lookup attempt on base filename
2580         only.
2581
2582 Wed Dec 13 19:48:04 MET 2000  Jan hubicka  <jh@suse.cz>
2583
2584         * flow.c (notice_stack_pointer_modification_1): Notice midifications
2585         using PRE_MODIFY and POST_MODIFY.
2586
2587 Wed Dec 13 17:25:32 MET 2000  Jan Hubicka  <jh@suse.cz>
2588
2589         * genoutput.c (process_template): Add sanity checking for '@' templates.
2590
2591 2000-12-13  Bernd Schmidt  <bernds@redhat.co.uk>
2592
2593         * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
2594         varrays.
2595
2596 2000-12-12  Mike Stump  <mrs@wrs.com>
2597
2598         * Makefile.in (distclean): Remove safe-ctype.c as well.
2599
2600 2000-12-12  Brad Lucier <lucier@math.purdue.edu>
2601
2602         * tradcpp.c (do_error): Cast difference of pointers to int
2603         for error message.
2604
2605 2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2606
2607         * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
2608         * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
2609
2610 2000-12-12  Jim Wilson  <wilson@redhat.com>
2611
2612         * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
2613
2614 2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
2615
2616         * configure.in: Simplify language enabling/disabling code.
2617         * configure: Rebuilt.
2618         * ch/config-lang.in (target_libs): Set.
2619         (build_by_default): Set to no.
2620         * cp/config-lang.in (target_libs): Set.
2621         * f/config-lang.in (target_libs): Set.
2622         * java/config-lang.in (target_libs): Set.
2623         * objc/config-lang.in (target_libs): Set.
2624
2625 2000-12-12  Neil Booth  <neil@daikokuya.demon.co.uk>
2626
2627         * tradcpp.c (enum node_type): Add T_ERROR.
2628         (do_error): New function.
2629         (directive_table): Add #error handler.
2630
2631 2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2632
2633         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
2634         for powerpc*-*-*.
2635         * configure: Regenerated.
2636         * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2637         * config/rs6000/rs6000.c (rs6000_unique_section): Use
2638         STRIP_NAME_ENCODING.
2639
2640 Mon Dec 11 13:51:09 2000  Jeffrey A Law  (law@cygnus.com)
2641
2642         * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
2643         * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
2644         changes.
2645
2646 2000-12-11  Bruce Korb  <bkorb@gnu.org>
2647
2648         * fixinc/fixincl.tpl: initialize all fields for warnings
2649         * fixinc/fixincl.x: regenerate
2650
2651 2000-12-11  Neil Booth  <neilb@earthling.net>
2652
2653         * tradcpp.h: For tradcpp, NUL is not whitespace.
2654
2655 2000-12-11  Neil Booth  <neilb@earthling.net>
2656
2657         * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
2658
2659 2000-12-05  Marek Michalkiewicz  <marekm@linux.org.pl>
2660
2661         * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
2662         (compare_diff_p, compare_eq_p): Call compare_condition.
2663         (out_tsthi, out_tstsi): Call compare_sign_p.
2664         (avr_progmem_p): Check for error_mark_node.
2665
2666 2000-12-11  Neil Booth  <neilb@earthling.net>
2667
2668         * cpperror.c (print_location): New function.
2669         (print_containing_files): Simplify.
2670         (_cpp_begin_message): Simplify and use print_location.
2671         * cppfiles.c (stack_include_file): Update.
2672         (_cpp_pop_file_buffer): Update.
2673         * cpphash.h (struct cpp_buffer): New members
2674         include_stack_listed and type.
2675         * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
2676         (run_directive): Take buffer type.  cpp_push_buffer cannot fail.
2677         (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
2678         handle_assertion): Update.
2679         (cpp_push_buffer): Take a buffer type and file name.
2680         (cpp_pop_buffer): Update.  Clear include_stack_listed.
2681         * cpplib.h (input_stack_listing_current): Remove.
2682         (enum cpp_buffer_type): New.
2683         (cpp_push_buffer): New prototype.
2684         * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
2685         * fix-header.c (read_scan_file): Update.
2686
2687 2000-12-10  Robert Lipe <robertlipe@usa.net>
2688
2689         * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
2690         in html version.
2691
2692 2000-12-10  Richard Henderson  <rth@redhat.com>
2693
2694         * genrecog.c (find_operand): Handle 'V' format code.
2695         (find_matching_operand): New.
2696         (validate_pattern): Accept '=' for an in-out operand if there
2697         is another operand with a matching constraint.
2698
2699         * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
2700         for op1 to op0.
2701
2702 2000-12-10  Richard Henderson  <rth@redhat.com>
2703
2704         * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
2705
2706 2000-12-09  Richard Henderson  <rth@redhat.com>
2707
2708         * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
2709         STRICT_LOW_PART as SET_DEST have in-out constraints.
2710
2711 2000-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2712
2713         * c-common.c (check_function_format): Don't suggest adding format
2714         attributes to functions with no parameter to which to add them.
2715
2716 2000-12-09  Nick Clifton  <nickc@redhat.com>
2717
2718         * config/arm/arm.c (arm_expand_prologue): Mark the generated
2719         insn not the set as being DWARF2_FRAME_RELATED_P.
2720
2721 2000-12-09  Laurynas Biveinis  <lauras@softhome.net>
2722
2723         * Makefile.in: use $(build_exeext) for all build
2724         system executable targets.
2725
2726 2000-12-09  Laurynas Biveinis  <lauras@softhome.net>
2727
2728         * install.texi: remove i[345]86-*-winnt3.5 section.
2729         * configur.bat: removed.
2730         * config/msdos: directory removed.
2731
2732 2000-12-09  Neil Booth  <neilb@earthling.net>
2733
2734         * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
2735         * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
2736         * cpplex.c (parse_identifier): Improve diagnostic.
2737         (_cpp_lex_token): Return unconditionally at the end of a directive.
2738         * cpplib.c (read_flag): Verify legality of each flag.
2739         (end_directive): Resotre pfile->skipping before skip_rest_of_line.
2740         (do_line): Use the new read_flag.
2741         * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
2742         check_macro_redefinition, parse_params): Rename var_args to
2743         variadic.
2744
2745 2000-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2746
2747         * .cvsignore: Add info files.
2748
2749 2000-12-08 Laurynas Biveinis <lauras@softhome.net>
2750
2751         * config/winnt: Remove obsolete directory.
2752         * install.texi (Configurations): Remove obsolete documentation for
2753         Windows NT.
2754
2755 2000-12-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2756
2757         * configure.in: Don't define INSTALL_INFO.
2758         * configure: Regenerate.
2759         * Makefile.in (INSTALL_INFO): Remove.
2760         (info): Depend on info files in source directory.
2761         (cpp.info, gcc.info, c-tree.info): Build info files in source
2762         directory.
2763         (distclean): Don't remove info files.
2764         (maintainer-clean): Remove info files from source directory.
2765         (install-normal): Depend on install-info.
2766         (install-info): Install info files from source directory, if they
2767         exist.
2768         * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
2769
2770 2000-12-08  Alexandre Oliva  <aoliva@redhat.com>
2771
2772         * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
2773         before taking its NOTE_LINE_NUMBER.
2774
2775 2000-12-08  Nick Clifton  <nickc@redhat.com>
2776
2777         * config/arm/arm.md (load_indirect_jump): Add pool ranges.
2778
2779         * extend.texi: Document ARM "interrupt" function attribute.
2780         Mention that the ARM also support the "naked" function
2781         attribute.
2782
2783         * config/arm/arm-protos.h (arm_current_func_type): Add
2784         prototype.
2785
2786         * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
2787         (struct machine_function): Add 'func_type' field.
2788         Define bit values for 'func_type' field.
2789         (ARM_FUNC_TYPE): New macro.
2790         (IS_INTERRUPT): New macro.
2791         (IS_VOLATILE): New macro.
2792         (IS_NAKED): New macro.
2793         (IS_NESTED): New macro.
2794         (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
2795
2796         * config/arm/arm.c (isr_attribute_args): New Structure.  A
2797         list of "interrupt" function attribute modifiers.
2798         (arm_isr_value): New Function: Returns the type of the current
2799         interrupt function.
2800         (arm_compute_func_type): New Function: Computes the type of
2801         the current function.
2802         (arm_current_func_type): New Function: Returns the type of the
2803         current function.
2804         (use_return_insn): Use arm_current_func_type.
2805         (arm_valid_type_attribute_p): Accept "interrupt" function
2806         attribute.
2807         (arm_comp_type_attributes): Check "interrupt" attributes.
2808         (arm_valid_machine_decl): Accept "interrupt" function
2809         attribute.
2810         (arm_function_ok_for_sibcall): Do not allow interrupt
2811         functions to use sibcalls.
2812         (arm_naked_function_p): Delete.
2813         (print_multi_reg): Remove redundant parameter 'hat'.
2814         (arm_compute_save_reg_mask): New Function: Compute a bit mask
2815         of registers saved during the current function's prologue.
2816         (output_arm_return_instruction): Use arm_current_func_type.
2817         Generate return instruction when LR is not poppsed off the
2818         stack.
2819         (arm_volatile_func): Delete.
2820         (output_arm_prologue): Use arm_current_func_type and
2821         arm_compute_save_reg_mask.
2822         Note presernce of interrupt functions.
2823         (arm_output_epilogue): Use arm_current_func_type and
2824         arm_compute_save_reg_mask.
2825         (arm_expand_prologue): Use arm_current_func_type and
2826         arm_compute_save_reg_mask.
2827         (arm_init_machine_status): Initialise func_type field, if
2828         necessary.
2829         (thumb_expand_prologue): Use arm_current_func_type.
2830         (output_thumb_prologue): Use arm_current_func_type.
2831
2832 2000-12-08  Brad Lucier <lucier@math.purdue.edu>
2833
2834         * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2835
2836 Fri Dec  8 08:23:29 2000  J"orn Rennecke <amylaar@redhat.com>
2837
2838         * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
2839         for multiplies.
2840
2841 2000-12-07  Mike Stump  <mrs@wrs.com>
2842
2843         * Makefile.in (distclean): Remove alloca.c hashtab.c.
2844
2845 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
2846
2847         * Makefile.in (HOST_RTL): Add safe-ctype.o.
2848         (safe-ctype.o): New rule.
2849         * system.h: Include safe-ctype.h, not ctype.h.  No need to
2850         wrap ctype macros.
2851
2852         * cpphash.h: Zap IStable and related macros.  Define is_* in
2853         terms of safe-ctype.h macros.
2854         * cppinit.c: Delete the IStable and all related code.
2855
2856         * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
2857         is_space arrays.  Delete initialize_char_syntax.  Change all
2858         references to the above arrays to use macros instead.
2859         * tradcpp.h: Define is_idchar, is_idstart, is_space, and
2860         is_nvspace in terms of safe_ctype.h's macros.
2861         * tradcif.y: is_idchar, is_idstart are macros not arrays.
2862
2863         * config/i370/i370.c, config/winnt/dirent.c,
2864         config/winnt/fixinc-nt.c, config/winnt/ld.c:
2865         Use uppercase ctype macros.  If we included ctype.h,
2866         include safe-ctype.h instead.
2867
2868         * fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
2869         ISLOWER(c) before calling TOUPPER(c).
2870         * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
2871         * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
2872         wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
2873
2874 2000-12-07  DJ Delorie  <dj@redhat.com>
2875
2876         * c-decl.c (grokdeclarator): preserve previous alignments when
2877         rebuilding array types.
2878
2879 2000-12-07  Neil Booth  <neilb@earthling.net>
2880
2881         * cppfiles.c (struct include_file): Move from cpphash.h.
2882         (_cpp_never_reread): New function.
2883         (open_file, read_include_file): Use it.
2884         (stack_include_file): Set the buffer's sysp according to the
2885         path in which the file was found.
2886         (find_include_file): Don't set sysp.
2887         (cpp_make_system_header, actual_directory): Update.
2888         (_cpp_execute_include): Do #include_next lookup handling here,
2889         not in cpplib.c.  Use _cpp_never_reread.
2890         * cpphash.h (struct_include_file): Remove.
2891         (struct cpp_buffer): New member sysp.
2892         (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
2893         (_cpp_never_reread): New.
2894         * cpplib.c (read_line_number): Rename read_flag.  Rework slightly.
2895         (end_directive): Clear line_extension flag.
2896         (_cpp_handle_directive): Set line_extension flag for #number.
2897         (do_include_next): Handle path lookup in _cpp_execute_include.
2898         (do_line): Cleanup to use read_flag.  Don't allow flags in #line.
2899         (_cpp_do_file_change): Update.
2900         (do_pragma_once): Use cpp_never_reread.  Clean up.
2901         * cpplib.h (struct lexer_state): New member line_extension.
2902
2903 2000-12-07  Richard Henderson  <rth@redhat.com>
2904
2905         * flow.c (calculate_global_regs_live): Force the stack pointer live
2906         after reload as well.
2907
2908 2000-12-07  Bruce Korb  <bkorb@gnu.org>
2909
2910         * fixinc/Makefile.*(exeext): the variables are exeext, the
2911         substitution expression is build_exeext.
2912
2913 2000-12-07  Neil Booth  <neilb@earthling.net>
2914
2915         * c-common.c (parse_in): Make a cpp_reader *.
2916         * cppfiles.c (_cpp_fake_include): Remove.
2917         * cpphash.h: Similarly.
2918         * cpplib.c (do_line): Don't call _cpp_fake_include.  A valid
2919         #line always creates a callback; FC_RENAME if there are no
2920         #line flags.
2921         * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
2922         The first EOF must be our get_char buffer.
2923
2924 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2925
2926         * c-common.c (warn_format_security): New variable.
2927         (check_format_info): Warn about non-literal formats with no format
2928         arguments if either -Wformat-nonliteral or -Wformat-security is
2929         specified.
2930         (set_Wformat): Set warn_format_security for settings other than 1.
2931         * c-common.h (warn_format_security): Declare.
2932         * c-decl.c (c_decode_option): Decode -Wformat-security and
2933         -Wno-format-security.
2934         * invoke.texi: Document -Wformat-security.
2935         * toplev.c (documented_lang_options): Include -Wformat-security
2936         and -Wno-format-security.
2937
2938 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2939
2940         * c-common.c (check_format_info): Warn for non-constant format
2941         strings with strftime formats if -Wformat-nonliteral.  Where the
2942         format can convert arguments, if the format is not a string
2943         literal and there are no arguments to the format, give a different
2944         warning message from the general non-string-literal case.
2945
2946 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2947
2948         * c-common.c (format_wanted_type): Add reading_from_flag.
2949         (print_char_table): Mark %s and %S formats with flag "R".
2950         (check_format_info_main): Set up reading_from_flag appropriately.
2951         If aflag, always set writing_in_flag rather than relying on the
2952         format used being a scanf format and so having it set.
2953         (check_format_types): Check for formats reading through null
2954         pointers.
2955
2956 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2957
2958         * invoke.texi (-Wformat): Document what format features are
2959         checked.
2960
2961 2000-12-06  Kazu Hirata  <kazu@hxi.com>
2962
2963         * config/h8300/h8300.h: Fix formatting.
2964
2965 2000-12-06      Joel Sherrill <joel@OARcorp.com>
2966
2967         * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
2968         h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
2969         * config.gcc (*-rtems*): Add support for gthr-rtems.h.
2970         * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2971         config/h8300/rtems.h, config/mips/rtems.h: New files.
2972
2973 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
2974
2975         * config.gcc: Reorganize handling of *-*-gnu*, to share target
2976         specific make details with Linux.  Update comments to clarify
2977         the distinction between GNU/Linux and GNU/Hurd.
2978
2979 Wed Dec  6 19:22:02 2000  Jeffrey A Law  (law@cygnus.com)
2980
2981         * contrib.texi: Fix my email address.  Update Per's
2982         list of contributions.
2983
2984 2000-12-06  Rodney Brown  <RodneyBrown@mynd.com>
2985
2986         * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
2987         * collect2.c (scan_libraries): Remove unused `ch'.
2988         (COFF specific stuff): Prototype ldgetname.  Declare and prototype
2989         ldbtread and ldclose.
2990
2991         * config/alpha/osf.h: Standarize copyright statement.
2992         * config/arc/arc.h: Likewise.
2993         * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
2994         * config/arm/arm.c config/arm/arm.h: Likewise.
2995         * config/elxsi/elxsi.h: Likewise.
2996         * config/i386/sco.h: Likewise.
2997         * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
2998         * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
2999         * config/m68k/sun3.h: Likewise.
3000         * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
3001         * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
3002         * config/romp/romp.h: Likewise.
3003         * config/rs6000/aix41.h: Likewise.
3004         * config/sparc/sysv4.h: Likewise.
3005         * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
3006         * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
3007         * cpplib.h cppexp.c cselib.h profile.c: Likewise.
3008         * longlong.h: Likewise.
3009         * libgcc2.c: Likewise.
3010
3011 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3012
3013         * machmode.def: Use correct definition for BITSIZE on targets where
3014         BITS_PER_UNIT != 8.
3015
3016 2000-12-06  Bruce Korb  <bkorb@gnu.org>
3017
3018         * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
3019         the number of them.
3020
3021 2000-12-06  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3022
3023         * pa.c: Include expr.h before c-tree.h.
3024         (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
3025         instead of reverse_condition.
3026         (print_operand): Correct predicates for GT, GE, LT and LE.  Add
3027         predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
3028         ORDERED.
3029         (cmpib_comparison_operator): Add GEU and LTU codes.
3030         * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
3031         * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
3032         bordered): New float conditional branch patterns.
3033
3034 Wed Dec  6 21:03:41 2000  J"orn Rennecke <amylaar@redhat.com>
3035
3036         * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
3037
3038 2000-12-06  Sylvain Pion  <Sylvain.Pion@sophia.inria.fr>
3039
3040         * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
3041         backslash and newline, when inside a comment.
3042
3043 2000-12-06  Joseph S. Myers  <jsm28@cam.ac.uk>
3044
3045         * invoke.texi: Use @table @samp instead of @itemize @minus for
3046         table of language standards.  Fix use of @pxref.  From Zack
3047         Weinberg.  Also exclude specs documentation from generated
3048         manpage, and create separate ENVIRONMENT section.
3049
3050 2000-12-06  Michael Matz  <matzmich@cs.tu-berlin.de>
3051
3052         * gcse.c (compute_pre_data): Kill trapping expressions in
3053         destination blocks of abnormal edges.
3054
3055 2000-12-05  Richard Sandiford  <r.sandiford@redhat.com>
3056
3057         * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
3058         (mn10300_get_live_callee_saved_regs): Likewise.
3059         (mn10300_gen_multiple_store): Likewise.
3060         (store_multiple_operation): Likewise.
3061         (expand_prologue): Use mn10300_gen_multiple_store().
3062         * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
3063         (mn10300_get_live_callee_saved_regs): Likewise.
3064         (mn10300_gen_multiple_store): Likewise.
3065         (store_multiple_operation): Likewise.
3066         * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
3067         tied to store_multiple_operation().
3068
3069 Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
3070
3071         * builtins.c (expand_builtin_setjmp_setup): Set
3072         current_function_has_nonlocal_label.
3073
3074 2000-12-05  Neil Booth  <neilb@earthling.net>
3075
3076         * cppfiles.c (stack_include_file): Push zero-length buffers
3077         in case of failure.  Return void, as we don't fail any more.
3078         (read_include_file): Check for files we shouldn't re-read.
3079         Don't return an error code; errors are implied by marking the
3080         file NEVER_REREAD.
3081         (_cpp_execute_include): Move the recursion and in-macro checks
3082         here.  Update for stack_include_file not failing.
3083         * cpplib.c (cpp_push_buffer): Always succeed, since
3084         _cpp_execute_include performs the recursion check.  Tidy up.
3085         * cpplib.h (cpp_push_buffer): Update prototype.
3086
3087 2000-12-05  Alexandre Oliva  <aoliva@redhat.com>
3088
3089         * sched-vis.c (visual_tbl_line_length): New variable.
3090         (get_visual_tbl_length): Set it.
3091         (visualize_stall_cycles): Don't let stalls overrun
3092         visual_tbl_line_length.
3093
3094 2000-12-05  Geoffrey Keating  <geoffk@redhat.com>
3095
3096         * global.c (global_conflicts): Allow for a REG_UNUSED note
3097         with a different mode to the REG set in the insn.
3098
3099 2000-12-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3100
3101         * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
3102
3103         * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
3104
3105 2000-12-05  Bruce Korb  <bkorb@gnu.org>
3106
3107         * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
3108         GNU/Linux.
3109
3110 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
3111
3112         * fixinc/mkfixinc.sh: Run fixinc on netbsd.
3113         * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
3114         to cope with aliased copies.
3115         * fixinc/fixincl.x: Regenerate.
3116
3117 2000-12-05  Bernd Schmidt  <bernds@redhat.co.uk>
3118
3119         * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
3120         * sched-rgn.c: Likewise.
3121         (rgn_print_insn): Fix output.
3122
3123 2000-12-05  Bruce Korb  <bkorb@gnu.org>
3124
3125         * fixinc/Makefile.*: make these more consistent
3126         * fixinc/mkfixincl.sh: enable BeOS fixincludes
3127
3128 2000-12-05  Richard Henderson  <rth@redhat.com>
3129
3130         * stmt.c (warn_if_unused_value): Move side effects test earlier.
3131
3132 2000-12-05  Alan Modra <alan@linuxcare.com.au>
3133
3134         * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
3135         when using sjlj.
3136
3137 2000-12-05  Richard Henderson  <rth@redhat.com>
3138
3139         * flow.c (calculate_global_regs_live): Only force stack pointer
3140         live before reload.  Force pic register live before reload.
3141         (insn_dead_p): Don't protect pic references from deletion.
3142
3143 2000-12-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3144
3145         * invoke.texi: Add support for using texi2pod.pl.  Don't use
3146         @multitable.
3147
3148 2000-12-04  Nick Clifton  <nickc@redhat.com>
3149
3150         * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
3151         'tune_flags' for XScale nature.
3152         Remove spurious test of HARD_FLOAT and XScale flags.
3153
3154         * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
3155         contraint, accidentally changed during XScale contribution.
3156
3157         * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
3158         not create these functions if the target architecture does not
3159         support Thumb instructions.
3160
3161 2000-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3162
3163         * ONEWS: New file with the current contents of NEWS up to EGCS
3164         1.1.
3165         * NEWS: Generate automatically from online release notes from EGCS
3166         1.0 to GCC 2.95.2, using ../contrib/gennews.
3167
3168 2000-12-04  Neil Booth  <neilb@earthling.net>
3169
3170         * tradcif.y: Move lexptr to top of file.  Add rule to handle
3171         assertions in conditional expressions.
3172         * tradcpp.c (parse_answer): Assertions do not need to go to
3173         end of line in conditional directives.
3174         (parse_assertion): Get first character of identifiers correct.
3175         (test_assertion): New function.
3176         * tradcpp.h (test_assertion): New prototype.
3177
3178 2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>
3179
3180         * config.gcc: Fix typo for UnixWare 7.
3181
3182 2000-12-03  Phil Edwards  <pme@sources.redhat.com>
3183
3184         * invoke.texi:  Replace `pedwarns' with clearer text.
3185
3186 2000-12-04  Bruce Korb  <bkorb@gnu.org>
3187
3188         * fixinc/Makefile.*(clean):  don't clean autogenerated files.
3189         (mainainer-clean): clean autogenerated files
3190
3191 2000-12-04  DJ Delorie  <dj@redhat.com>
3192
3193         * md.texi: Add overview, clarify match_dup and define_expand.
3194
3195 2000-12-04  DJ Delorie  <dj@redhat.com>
3196
3197         * print-tree.c (print_node): Target-specific builtins print
3198         numbers, not names.
3199
3200 2000-12-04  Jason Merrill  <jason@redhat.com>
3201
3202         * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
3203         MODE_VECTOR_FLOAT.
3204
3205         * diagnostic.c (report_problematic_module): s/function/module/.
3206
3207         * c-lex.h: Remove decl for check_newline.
3208
3209 2000-12-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3210
3211         * README.APOLLO: Remove obsolete file.
3212
3213 2000-12-04  Neil Booth  <neilb@earthling.net>
3214
3215         * cppinternals.texi: New file.
3216
3217 2000-12-04  Neil Booth  <neilb@earthling.net>
3218
3219         * cppfiles.c (cpp_make_system_header): Take 2 booleans,
3220         and operate on current buffer.
3221         (cpp_read_file): Rename _cpp_read_file.
3222         * cpplib.c (do_line, do_pragma_system_header): Update calls to
3223         cpp_make_system_header.
3224         * fix-header.c: Similarly.
3225         * cpphash.h (_cpp_read_file): Move from...
3226         * cpplib.h: ... here.
3227         * cppinit.c (do_includes, cpp_start_read): Update appropriately.
3228
3229 2000-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3230
3231         * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
3232         Handle another transformation.
3233
3234 2000-12-03  Nick Clifton  <nickc@redhat.com>
3235
3236         * config.gcc: Add support for StrongARM targets.
3237         * config/arm/t-strongarm-elf: New file.
3238         * config/arm/t-strongarm-coff: New file.
3239         * config/arm/t-strongarm-pe: New file.
3240         * config/arm/strongarm-pe.h: New file.
3241
3242 2000-12-03  Nick Clifton  <nickc@redhat.com>
3243
3244         * NEWS: Mention XScale has been added.
3245         * config.gcc: Add support for XScale targets.
3246         * config/arm/arm.h: Add support for XScale processor.
3247         * config/arm/arm.c: Add support for XScale processor.
3248         * config/arm/arm.md: Add support for XScale processor.
3249         * config/arm/t-xscale-elf: New file.
3250         * config/arm/t-xscale-coff: New file.
3251         * config/arm/xscale-elf.h: New file.
3252         * config/arm/xscale-coff.h: New file.
3253
3254 2000-12-03  Richard Henderson  <rth@redhat.com>
3255
3256         * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
3257         unless exception handling is enabled, and if not using sjlj.
3258
3259         * builtins.c (expand_builtin_setjmp_setup): New.
3260         (expand_builtin_setjmp_receiver): New.
3261         (expand_builtin_setjmp): Split out _setup and _receiver functions.
3262         Move argument parsing in from ...
3263         (expand_builtin): ... here.
3264         * except.c (receive_exception_label): Branch around receiver
3265         unless new-style exceptions.  Call expand_builtin_setjmp_receiver.
3266         (start_dynamic_handler): Call expand_builtin_setjmp_setup.
3267         * expr.h: Update builtin setjmp decls.
3268
3269 2000-12-03  Bruce Korb  <bkorb@gcc.org>
3270
3271         * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
3272         build machine name.  Default to the target.
3273
3274 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
3275
3276         * Makefile.in: use $(build_canonical), not $(canonical_build).
3277
3278 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
3279
3280         * Makefile.in (OBJS): Add sched-rgn.o.
3281         (sched-rgn.o): New rule.  * haifa-sched.c (sched_verbose): No
3282         longer static.
3283         (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
3284         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
3285         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
3286         MAX_BLOCKAGE_COST): Move to sched-int.h.
3287         (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
3288         IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
3289         FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
3290         OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
3291         rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
3292         RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
3293         debug_regions, find_single_block_region, find_rgns, too_large,
3294         init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
3295         bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
3296         extract_bitlst, bblst, struct candidate, candidate_table,
3297         bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
3298         SRC_PROB, target_bb, split_edges, compute_trg_info,
3299         debug_candidate, debug_candidates, bbset, bbset_size, dom,
3300         IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
3301         rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
3302         EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
3303         compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
3304         IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
3305         MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
3306         update_live, set_spec_fed, is_pfree, find_conditional_protection,
3307         is_conditionally_protected, may_trap_exp, haifa_classify_insn,
3308         is_prisky, is_exception_free, add_branch_dependences,
3309         propagate_deps, compute_block_backward_dependences,
3310         debug_dependencies, is_cfg_nonregular, build_control_flow,
3311         new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
3312         BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
3313         UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
3314         CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
3315         target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
3316         can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
3317         rgn_rank, region_sched_info): Move to sched-rgn.c.
3318         (debug_reg_vector): Delete useless function.
3319         (get_bb_head_tail): Likewise.
3320         (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
3321         no_real_insns_p, rm_line_notes, save_line_notes,
3322         restore_line_notes, rm_redundant_line_notes, sched_init): No
3323         longer static.
3324         (rm_line_notes, save_line_notes, restore_line_notes,
3325         schedule_block, set_priorities): Change argument to be a real
3326         basic block, not one of haifa's "bb"s.  All callers changed
3327         (rm_other_notes): Initialize note_list here, not in
3328         schedule_region.
3329         (sched_finish): New function, called from schedule_insn.  * *
3330         sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
3331         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
3332         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
3333         MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
3334         (get_block_head_tail, no_real_insns_p, rm_line_notes,
3335         save_line_notes, restore_line_notes, rm_redundant_line_notes,
3336         rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
3337         sched_init, sched_finish, ready_add, insn_cost): Declare.
3338
3339 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
3340             Bruce Korb  <bkorb@gnu.org>
3341
3342         * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
3343         * fixinc/mkfixinc.sh: accept build system name as an argument.
3344         Use it for choosing the fix build method.  Use the target for
3345         selecting special fix rules.
3346
3347 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
3348
3349         * Makefile.in (OBJS): Add sched-deps.o.
3350         (sched-deps.o): New rule.
3351         * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
3352         sched-int.h.
3353         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
3354         sched-int.h.
3355         (SIZE_FOR_MODE): Delete unused macro.
3356         (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
3357         reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
3358         anti_dependency_cache, output_dependency_cache,
3359         forward_dependency_cache): Variables moved to sched-deps.c.
3360         (add_dependence, remove_dependence, find_insn_list,
3361         find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
3362         sched_analyze_insn, sched_analyze_1, sched_analyze_2,
3363         sched_analyze, group_leader, compute_forward_dependences,
3364         init_deps, free_deps, init_dependency_caches, free_dependency_caches):
3365         Functions moved to sched-deps.c.
3366         (schedule_region): Call init_deps_global and finish_deps_global
3367         instead of directly manipulating dependency data structures.
3368         * sched-deps.c: New file.
3369         (init_deps_global, finish_deps_global): New functions.
3370         * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
3371         haifa-sched.c.
3372         (h_i_d): Declare.
3373         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
3374         from haifa-sched.c.
3375
3376         * Makefile.in (OBJS): Add sched-vis.o.
3377         (sched-vis.o): New rule.
3378         * haifa-sched.c (get_unit_last_insn): New function.
3379         (sched_dump, insn_unit, actual_hazard_this_instance): No longer
3380         static.
3381         (schedule_block): Call visualize_alloc and visualize_free.  Delete
3382         spurious return statement.
3383         (init_target_units, insn_print_units, get_visual_tbl_length,
3384         init_block_visualization, print_block_visualization, safe_concat,
3385         visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
3386         print_exp, print_value, print_pattern, print_insn, target_units,
3387         MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
3388         n_vis_no_unit, vis_no_unit): Move scheduling visualization
3389         functions/variables...
3390         * sched-vis.c: ...here.  New file.
3391         (visualize_alloc, visualize_free): New functions.
3392         (visualize_scheduled_insns, visualize_stall_cycles,
3393         print_block_visualization): Lose basic block argument.  All callers
3394         changed.
3395         (visualize_scheduled_insns): Use new function get_unit_last_insn.
3396         * sched-int.h (current_sched_info, sched_dump): Declare.
3397         (init_target_units, insn_print_units, init_block_visualization,
3398         print_block_visualization, visualize_scheduled_inns,
3399         visualize_no_unit, visualize_stall_cycles, visualize_alloc,
3400         visualize_free): Declare functions.
3401
3402         * sched-int.h: New file.
3403         * Makefile.in (haifa-sched.o): Depend on it.
3404         * haifa-sched.c: Include it.
3405         (no_real_insns_p): New function.
3406         (current_sched_info): New static variable.
3407         (__inline, HAIFA_INLINE): Moved to sched-int.h.
3408         (get_block_head_tail): Minor cleanup.
3409         (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
3410         rgn_print_insn, rgn_rank): New functions, broken out of
3411         rank_for_schedule, schedule_insn and schedule_block, where they
3412         are now called through function pointers in current_sched_info.
3413         (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
3414         print_insn): To display uid and block number, call the print_insn
3415         function pointer in current_schedule_info.
3416         (region_sched_info): New static variable.
3417         (sched_target_n_insns, sched_n_insns, target_n_insns): New global
3418         variables, moved out of schedule_block.
3419         (schedule_block): Return void.  All callers changed.
3420         Move some of the setup code into schedule_region.  Get head/tail
3421         from current_sched_info, and update it when done.
3422         (schedule_region): Slightly rearranged, some code moved here from
3423         schedule_block.  Call no_real_insns_p to avoid doing work for a
3424         block that consists only of notes and labels.
3425         (schedule_insns): Initialize current_sched_info.
3426
3427 2000-12-03  Neil Booth  <neilb@earthling.net>
3428
3429         * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
3430         by contexts drops AFTER argument pre-expansion, so that they
3431         remain enabled during argument pre-expansion.
3432         (_cpp_pop_context): Unconditionally re-enable a macro when
3433         dropping a context level.
3434
3435 2000-12-03  Manfred Hollstein  <manfredh@redhat.com>
3436
3437         * arm/t-linux (MULTILIB_OPTIONS): Comment.
3438         (MULTILIB_DIRNAMES): Likewise.
3439         (EXTRA_MULTILIB_PARTS): Likewise.
3440         (LIBGCC): Likewise.
3441         (INSTALL_LIBGCC): Likewise.
3442
3443 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3444
3445         * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
3446         expand_builtin_strspn, expand_builtin_strcspn): New functions.
3447         (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
3448         BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
3449
3450         * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
3451         BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
3452
3453         * c-common.c (c_common_nodes_and_builtins): Declare builtin
3454         strcat, strncat, strspn and strcspn.
3455         (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
3456
3457         * extend.texi (strcat, strcspn, strncat, strspn): Document new
3458         builtins.
3459
3460 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3461
3462         * builtins.c (expand_builtin_strcmp): Use const*_rtx when
3463         expanding strcmp at compile-time.  Add another transformation.
3464         (expand_builtin_strncmp): Add more transformations.  Call
3465         expand_builtin_memcmp, not expand_builtin_strcmp, under
3466         appropriate conditions if HAVE_cmpstrsi.
3467
3468 2000-12-02  David Edelsohn  <edelsohn@gnu.org>
3469
3470         * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
3471         instruction.
3472         (cr logic): Really make operands sequential.
3473
3474 2000-12-02  Geoffrey Keating  <geoffk@redhat.com>
3475
3476         * c-common.c (combine_strings): When the ISO C standard specifies
3477         the maximum length of a string, it doesn't include the trailing
3478         zero byte.
3479
3480         * cpplib.c (do_ifdef): Add check_eol() call.
3481         (do_ifndef): Likewise.
3482
3483 2000-12-02  Daniel Berlin  <dberlin@redhat.com>
3484             Bruce Korb  <bkorb@gnu.org>
3485
3486         * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
3487         * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
3488         * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
3489         * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
3490         use the "__need_" hackery.  It breaks them.
3491         * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
3492         Sometimes on DOS and BeOS the temp output file cannot be opened.
3493         Skip the file noisily.  Ought to be fixed instead.
3494
3495 2000-12-02  Bruce Korb  <bkorb@gnu.org>
3496
3497         From: 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3498
3499         * fixfixes.c (emit_gnu_type, format_write): Prototype.
3500         (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
3501         custom uppercase ctype macros.
3502         * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
3503         Use gcc's custom uppercase ctype macros.
3504         (main): Prototype.
3505         (machine_matches): Add static prototype and constify variable.
3506         (create_file, test_test, egrep_test): Add static prototype.
3507         (quoted_file_exists): Likewise, and constify parameters.
3508         (extract_quoted_files, internal_fix, start_fixer, fix_applies,
3509         write_replacement, test_for_changes): Add static prototype.
3510         (write_replacement, test_for_changes): Delete excess argument to
3511         `create_file'.
3512         * fixtests.c (test): Make static.
3513         * server.c (load_data, sig_handler, server_setup, find_shell): Add
3514         static prototype.
3515         (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
3516
3517 2000-12-02  Bruce Korb  <bkorb@gnu.org>
3518
3519         * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
3520         (per Laurynas Biveinis  <lauras@softhome.net>)
3521
3522 2000-12-02  Richard Earnshaw  <rearnsha@arm.com>
3523
3524         * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
3525         macros.
3526         (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
3527         (REGNO_OK_FOR_FOR_BASE_P): Delete.
3528         (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
3529         both strict and non-strict uses.
3530         (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
3531         (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
3532         (REG_OK_FOR_INDEX_P): Define in terms of above.
3533         (REG_OK_FOR_BASE_P): Delete.
3534         (REG_OK_FOR_PRE_POST_P): Delete.
3535         (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
3536         (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
3537         (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
3538         (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
3539         (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes.  Use ARM
3540         specific variants rather than general ones.  Use ARM_REG_OK_FOR_BASE_P
3541         in pre/post increment cases.
3542         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
3543         (ARM_LEGITIMIZE_ADDRESS): Similarly.
3544         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
3545         * arm.c (legitimate_pic_address): Similarly.
3546
3547 2000-12-02  Neil Booth  <neilb@earthling.net>
3548
3549         * tradcpp.c (struct answer, parse_assertion, parse_answer,
3550         canonicalize_text, find_answer): New.
3551         (do_assert, do_unassert): Provide appropriate function bodies.
3552         (union hashval): New member answers.
3553
3554 2000-11-23  Marek Michalkiewicz  <marekm@linux.org.pl>
3555
3556         * config/avr/avr.md: Document UNSPEC usage.
3557         (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
3558         Make operand 0 input only, clobber it.  Use UNSPEC, not a bogus
3559         MEM for program memory word reference.  Do not add the label to
3560         the table index in each of the asm output templates, instead ...
3561         (casesi): ... do it in RTL.  Adjust to match the above change.
3562
3563 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
3564
3565         * c-common.c (PTRDIFF_TYPE): Provide default here, ...
3566         * c-decl.c: ... not here.
3567
3568         * haifa-sched.c (sched_dump): Renamed from dump.  All users changed.
3569         (old_max_uid): New variable.
3570         (compute_forward_dependences): Renamed from
3571         compute_block_forward_dependences; changed to accept block head and
3572         tail instead of block number.  Caller changed.
3573         (free_deps, init_dependency_caches, free_dependency_caches,
3574         init_regions, sched_init): New functions, split out from
3575         schedule_insns and compute_block_backward_dependences.
3576
3577 2000-12-02  Neil Booth  <neilb@earthling.net>
3578
3579         * cppexp.c (parse_number): Update diagnostic test.
3580
3581 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
3582
3583         * reload1.c (free_for_value_p): New function, frontend to
3584         reload_reg_free_for_value_p.  All callers of the latter now call
3585         this function with an additional mode argument.
3586
3587 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3588
3589         * install.texi (Configurations): Remove obsolete documentation for
3590         hppa*-*-*.
3591
3592 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3593
3594         * install.texi (Installation): Remove obsolete description for
3595         libstdc++ which is now an integral part of GCC.
3596
3597 2000-12-01  Jim Blandy  <jimb@redhat.com>
3598
3599         * dbxout.c (dbxout_parms): Correctly describe parameters passed by
3600         invisible reference in registers, but then spilled to the stack.
3601         Remove code to emit a second stab for such parameters; it attempts
3602         to describe the value's location by introducing a synthetic C++
3603         `reference' type, and then saying the stack slot has that
3604         reference type.  This loses type information (breaking GDB's
3605         `ptype' command, among other things) just to describe a location
3606         which stabs can represent correctly in other ways.
3607
3608 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
3609
3610         * final.c (output_addr_const) <PLUS>: Don't assume at least one
3611         operand is a CONST_INT.
3612
3613         * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
3614         (machine_dependent_reorg): Split all insns.
3615         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
3616         reg_class_contents[SIBCALL_REGS].
3617         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
3618         * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
3619         call_value_pcrel, call, call_value, sibcall): Match even when
3620         not optimizing.
3621         (sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
3622         for call address.
3623         (sibcalli): Likewise.
3624
3625 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3626
3627         * c-common.c (warn_format, warn_format_y2k,
3628         warn_format_extra_args, warn_format_nonliteral): Define.
3629         (check_format_info): Check warn_format_nonliteral and
3630         warn_format_extra_args.
3631         (check_format_info_main): Check warn_format_y2k.
3632         (set_Wformat): New function.
3633         * c-common.h (warn_format_y2k, warn_format_extra_args,
3634         warn_format_nonliteral, set_Wformat): Declare.
3635         * c-decl.c (warn_format): Remove definition.
3636         (c_decode_option): Handle -Wformat-nonliteral,
3637         -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
3638         Use set_Wformat.
3639         * invoke.texi: Document these new options and -Wformat=2.
3640         * toplev.c (documented_lang_options): Add these new options.
3641
3642 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3643
3644         * builtins.def (BUILT_IN_IMAXABS): Add.
3645         * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
3646         * c-common.c (c_common_nodes_and_builtins): Create builtin
3647         functions __builtin_imaxabs, and plain imaxabs unless
3648         flag_no_nonansi_builtin outside C99 mode.
3649         (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
3650         * extend.texi: Document builtin imaxabs.
3651
3652 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3653
3654         * c-common.c: Include "defaults.h".
3655         (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
3656         (c_common_nodes_and_builtins): Create string_type_node,
3657         const_string_type_node, wint_type_node, intmax_type_node,
3658         uintmax_type_node, default_function_type, ptrdiff_type_node and
3659         unsigned_ptrdiff_type_node.
3660         * c-common.h (identifier_global_value): Declare.
3661         * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
3662         (init_decl_processing): Don't create string_type_node,
3663         const_string_type_node, wint_type_node, intmax_type_node,
3664         uintmax_type_node, default_function_type, ptrdiff_type_node and
3665         unsigned_ptrdiff_type_node.
3666         (identifier_global_value): New function.
3667
3668 2000-12-01  Neil Booth  <neilb@earthling.net>
3669
3670         * cppinit.c (initialize): Forgotten prototype.
3671         * cpplex.c (_cpp_lex_token): Loop until not skipping.
3672         Always clear PREV_WHITE upon meeting a new line.
3673         * cpplib.c (end_directive): Set pfile->skipping after
3674         skip_rest_of_line.
3675         * cpplib.h (cpp_reader): Remove macro_pos.
3676         * cppmacro.c (cpp_get_line): Don't do anything special inside
3677         macros.
3678         (parse_arg): Add PREV_WHITE if a token appears after new lines.
3679         (funlike_invocation_p): Save and restore the output position
3680         over a successful check for a '('.
3681         (enter_macro_context): Delete uses of macro_pos.
3682         (cpp_get_token): Don't use pfile->skipping.
3683
3684 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
3685
3686         * diagnostic.c:  Fix typos in comments.
3687         * diagnostic.h:  Likewise.
3688
3689 2000-11-30  Phil Edwards  <pme@sources.redhat.com>
3690
3691         * rtl.texi (Machine Modes):  Document BImode and OImode.
3692
3693 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3694
3695         * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
3696         .FPP.
3697
3698 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3699
3700         * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
3701         incomplete element type.
3702         (grokparms): Before checking for incomplete parameter type, check
3703         the type isn't error_mark_node.
3704
3705 2000-12-01  Jakub Jelinek  <jakub@redhat.com>
3706
3707         * builtins.c (target_char_cast): New function.
3708         (expand_builtin_strchr): Use it.
3709         (expand_builtin_strrchr): Use it.
3710         (builtin_memset_read_str): New function.
3711         (expand_builtin_memset): Use target_char_cast.
3712         Try to optimize memset with second argument non-zero using
3713         store_by_pieces.
3714
3715 2000-11-30  Marek Michalkiewicz  <marekm@linux.org.pl>
3716
3717         * install.texi (avr): Replace incomplete list of supported MCU
3718         types with a link to the current one ...
3719         * invoke.texi (AVR Options): ... here.  Update -mmcu= to list
3720         all supported MCU types.  Document -minit-stack= default.
3721         Document new options -mno-tablejump, -mtiny-stack.
3722         * md.texi (AVR family):  Fix typo in 'w' constraint letter
3723         description.  Document 'q'.  Update 'O'.
3724
3725 2000-12-01  Bernd Schmidt  <bernds@redhat.co.uk>
3726
3727         * combine.c (cant_combine_insn_p): Only disallow insns involving
3728         hard regs if they are reg-reg moves.
3729         (try_combine, can_combine_p, combinable_i3pat): Delete old
3730         SMALL_REGISTER_CLASSES tests.
3731
3732 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
3733
3734         * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
3735         whether X is a CONST_INT.
3736         (addsubcosts): Likewise.
3737
3738         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
3739         mis-used XINT.
3740         (ARG_POINTER_REGNUM): Set to AP_REG.
3741
3742 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
3743
3744         * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
3745         splits): Only match on TARGET_SH4.
3746
3747         * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
3748         of subsequent insns.
3749
3750 2000-11-30  Richard Henderson  <rth@redhat.com>
3751
3752         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
3753         * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
3754
3755 2000-11-30  Richard Henderson  <rth@redhat.com>
3756
3757         * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
3758         (DO_SELECT_SECTION): New.
3759         (SELECT_SECTION): Use it.
3760         (UNIQUE_SECTION_P): New.
3761         (UNIQUE_SECTION): New.
3762
3763 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
3764
3765         * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
3766         from va_list before using it.
3767
3768 2000-11-30  Michael Matz  <matzmich@cs.tu-berlin.de>
3769
3770         * flow.c (make_edge): Early out, if no flags to set.
3771         (calculate_global_regs_live): Clear out garbage only when necessary.
3772
3773         * simplify-rtx.c (varray_type used_regs): New.
3774         (clear_table): Use it to only clear necessary items.
3775         (cselib_lookup, cselib_record_set): Remember newly set items.
3776         (cselib_update_varray_sizes, cselib_init): Initialize and grow
3777         used_regs.
3778
3779         * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
3780         Move clearing of dead regs out of insn-loop.
3781
3782 2000-11-30  Richard Henderson  <rth@redhat.com>
3783
3784         * calls.c (expand_call): Emit queued insns before creating
3785         the tail recursion sequence.
3786
3787 2000-11-30  J. David Anglin  <dave.anglin@nrc.ca>
3788             Bruce Korb  <bkorb@gnu.org>
3789
3790         * fixinc/inclhack.def(): prevent dual double definition protection
3791         * fixinc/fixincl.x: regenerate
3792
3793 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
3794
3795         * fixinc/Makefile.in (fixincl.x): Explicitly state the
3796         location of the generated file.
3797
3798 2000-11-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3799
3800         * README.FRESCO: Remove obsolete file.
3801
3802 2000-11-30  Mark Kettenis  <kettenis@gnu.org>
3803
3804         * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
3805         TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
3806         config/t-linux for the Hurd.
3807
3808 2000-11-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3809
3810         * config/mn10200/udivmod.c, config/mn10200/divmod.c,
3811         config/mn10200/udivmodsi4.c: Moved from here.
3812         * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
3813         * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
3814         C division functions.
3815         * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
3816
3817 Thu Nov 30 01:12:52 2000  Jeffrey A Law  (law@cygnus.com)
3818
3819         * pa.md (conditional moves): Avoid holes in operand list.
3820         (mod, umod patterns): Similarly.
3821         (variable extract/shift patterns): Similarly.
3822
3823 2000-11-30  Neil Booth  <neilb@earthling.net>
3824
3825         * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
3826         maybe_objc_check_decl, build_objc_string_object,
3827         objc_declare_alias, objc_declare_class, build_message_expr,
3828         build_protocol_expr, build_selector_expr, build_encode_expr,
3829         get_class_ivars, start_class, start_protocol): Remove
3830         redundant code, assuming doing_objc_thang is true.
3831
3832 2000-11-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3833
3834         * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
3835         (record_unscaled_index_insn_codes): Likewise.
3836         (unscaled_index_insn_codes): Delete.
3837         (max_unscaled_index_insn_codes_uid): Delete.
3838         (output_function_prologue, output_function_epilogue, pa_reorg):
3839         Don't use the unscaled index insn hack.
3840
3841         * pa.md: Remove hack from all index insns to reverse the operand
3842         order of frame and stack pointer references incorrectly created
3843         in the reload pass.
3844
3845         * function.h (emit_status): Delete member regno_pointer_flag and
3846         rename regno_pointer_flag_length to regno_pointer_align_length.
3847         Delete define for REGNO_POINTER_FLAG.
3848         * integrate.h (inline_remap): Delete member regno_pointer_flag.
3849         Add member x_regno_reg_rtx.
3850         * rtl.h (rtx_def): Use frame_related bit to indicate register is
3851         a pointer in REG expressions.  Define REG_POINTER macro.
3852         * alias.c (find_base_value, find_base_term): Use REG_POINTER
3853         instead of REGNO_POINTER_FLAG.
3854         * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
3855         * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
3856         of regno_pointer_flag_length.  Remove code which refers to
3857         regno_pointer_flag.
3858         (mark_reg_pointer): Use REG_POINTER.
3859         (free_emit_status): Remove code which refers to regno_pointer_flag.
3860         (init_emit, mark_emit_status): Likewise.
3861         * flow.c (dump_flow_info): Likewise.
3862         * function.c (preserve_temp_slots): Likewise.
3863         * integrate.c (expand_inline_function, copy_rtx_and_substitute):
3864         Use x_regno_reg_rtx instead of regno_pointer_flag for function
3865         pointer determination in map.
3866         * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
3867         * predict.c (estimate_probability): Likewise.
3868         * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
3869         * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
3870         regno_pointer_flag for function pointer determination in map.
3871         * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
3872         REG_POINTER.
3873         * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
3874         Use REG_POINTER.
3875         (restore_unscaled_index_insn_codes): Revise comment.
3876
3877         * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
3878
3879 2000-11-30  Joseph S. Myers  <jsm28@cam.ac.uk>
3880
3881         * extend.texi: Update documentation for attributes.
3882
3883 2000-11-29  David O'Brien  <obrien@FreeBSD.org>
3884
3885         * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
3886         (ASM_DECLARE_OBJECT_NAME): Same.
3887         (ASM_FILE_END): Same.
3888         (ASM_FINISH_DECLARE_OBJECT): Same.
3889         (ASM_IDENTIFY_GCC): Same.
3890         (ASM_IDENTIFY_LANGUAGE): Same.
3891         (ASM_OUTPUT_CONSTRUCTOR): Same.
3892         (ASM_OUTPUT_DEF): Same.
3893         (ASM_OUTPUT_DESTRUCTOR): Same.
3894         (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
3895         (ASM_OUTPUT_SECTION_NAME): Same.
3896         (ASM_WEAKEN_LABEL): Same.
3897         (BSS_SECTION_ASM_OP): Same.
3898         (COMMON_ASM_OP): Same.
3899         (CONST_SECTION_ASM_OP): Same.
3900         (CONST_SECTION_FUNCTION): Same.
3901         (CTORS_SECTION_ASM_OP): Same.
3902         (DTORS_SECTION_ASM_OP): Same.
3903         (ESCAPES): Same.
3904         (FINI_SECTION_ASM_OP): Same.
3905         (IDENT_ASM_OP): Same.
3906         (IDENT_ASM_OP): Same.
3907         (INIT_SECTION_ASM_OP): Same.
3908         (INT_ASM_OP): Same.
3909         (MAX_OFILE_ALIGNMENT): Same.
3910         (SBSS_SECTION_ASM_OP): Same.
3911         (SDATA_SECTION_ASM_OP): Same.
3912         (SECTION_FUNCTION_TEMPLATE): Same.
3913         (SELECT_SECTION): Same.
3914         (SE_CONST_SECTION): Same.
3915         (SIZE_ASM_OP): Same.
3916         (SKIP_ASM_OP): Same.
3917         (STRING_ASM_OP): Same.
3918         (STRING_LIMIT): Same.
3919         (TYPE_ASM_OP): Same.
3920         (TYPE_OPERAND_FMT): Same.
3921
3922 2000-11-29  Neil Booth  <neilb@earthling.net>
3923
3924         * c-decl.c (c_decode_option): Don't handle -lang-objc.
3925         * objc/lang-options.h: Remove -lang-objc.
3926         * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
3927         * objc/objc-act.c (lang_init_options): Set c_language.
3928
3929 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
3930
3931         * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
3932         tests.
3933
3934 2000-11-29  Neil Booth  <neilb@earthling.net>
3935
3936         * c-pragma.c (init_pragma): Update for parse_in type change.
3937
3938 2000-11-29  Laurynas Biveinis  <lauras@softhome.net>
3939
3940         * configure.in: recognize DOS-style absolute paths.
3941
3942 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
3943
3944         * expr.h (store_by_pieces): Add prototype.
3945         (can_store_by_pieces): Likewise.
3946         * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
3947         (can_store_by_pieces): New.
3948         (store_by_pieces): New.
3949         (clear_by_pieces): New.
3950         (clear_by_pieces_1): New.
3951         (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
3952         arbitrary compiler generated constants into memory block.
3953         (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
3954         * builtins.c (c_readstr): New.
3955         (builtin_memcpy_read_str): New.
3956         (expand_builtin_memcpy): If src is string constant and
3957         emit_block_move would move it by pieces, compute integer constants
3958         from the string and store it into memory block instead.
3959         (builtin_strncpy_read_str): New.
3960         (expand_builtin_strncpy): If N is not constant zero and c_strlen does
3961         not return INTEGER_CST, don't optimize.
3962         If N is larger than strlen(src) + 1, try to copy the string
3963         including padding with store_by_pieces.
3964         (expand_builtin_strcmp): If both arguments have side effects, don't
3965         optimize.
3966         (expand_builtin_fputs): If STR has side effects, don't optimize.
3967
3968 2000-11-29  Richard Earnshaw  <rearnsha@arm.com>
3969
3970         * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
3971         Add use of link register.
3972
3973 2000-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
3974
3975         * extend.texi: Update documentation for default format attributes.
3976
3977 Tue Nov 28 21:56:45 2000  Jeffrey A Law  (law@cygnus.com)
3978
3979         * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3980         a list, to keep track of the sections.
3981
3982 2000-11-28  Nick Clifton  <nickc@redhat.com>
3983
3984         * config/arm/arm.md (pic_load_addr): Split into
3985         pic_load_addr_arm and pic_load_addr_thumb.
3986
3987         * config/arm/arm.c (legitimize_pic_address): Generate either
3988         ARM or Thumb versions of pic_load_addr.
3989         (arm_finalize_pic): Generate either ARM or Thumb versions of
3990         pic_load_addr.
3991
3992 2000-11-28  Richard Henderson  <rth@redhat.com>
3993
3994         * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
3995         after sibcall do_pending_stack_adjust.
3996
3997 Wed Nov 29 00:08:23 2000  J"orn Rennecke <amylaar@redhat.com>
3998
3999         * jump.c (delete_insn): Check that REG_LABEL note actually contains
4000         a CODE_LABEL.
4001
4002 2000-11-28  Neil Booth  <neilb@earthling.net>
4003
4004         * c-common.h: Remove flag_digraphs.
4005         * c-decl.c: Remove flag_digraphs.
4006         (c_decode_option): Don't set it.
4007         * c-lex.c (init_c_lex): Don't do anything for digraphs.
4008
4009 2000-11-28  Richard Henderson  <rth@redhat.com>
4010
4011         * c-parse.in (finish_parse): Update for parse_in type change.
4012         (_yylex): Likewise.
4013
4014 2000-11-28  Neil Booth  <neilb@earthling.net>
4015
4016         * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
4017         indicating whether to scan all buffers on the stack or
4018         just one.
4019         * cppinit.c (do_includes): Update.
4020         * cppmain.c (main): Update.
4021         * cpplib.h: Update prototype.
4022
4023 2000-11-28  Richard Henderson  <rth@redhat.com>
4024
4025         * genoutput.c (validate_insn_operands): New.
4026         (gen_insn): Call it.
4027
4028         * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
4029         (divmoddi_internal): Likewise.
4030         * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
4031         * config/i960/i960.md (branch patterns): Likewise.
4032         * config/ia64/ia64.md (tbit_and_0): Likewise.
4033         (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
4034         * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
4035         * config/mips/mips.md (divmodsi4_internal): Likewise.
4036         (divmoddi4_internal): Likewise.
4037         * config/rs6000/rs6000.md (call patterns): Likewise.
4038         * config/sh/sh.md (movsi_y): Likewise.
4039         * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
4040
4041 2000-11-28  Richard Henderson  <rth@redhat.com>
4042
4043         * config.gcc: Kill residual pyramid support.
4044
4045 2000-11-28  Neil Booth  <neilb@earthling.net>
4046
4047         * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
4048         * c-decl.c (c_decode_option): Update to match.
4049         * c-lex.c (init_c_lex, yyparse): Update to match.
4050         * c-lang.c (lang_init_options): Use cpp_create_reader.
4051         * cppinit.c (cpp_init): Rename initialize.
4052         (cpp_reader_init): Rename cpp_create_reader.  Create the
4053         reader.  Initialize cpplib if appropriate.
4054         * cpplib.h (cpp_create_reader) New prototype.
4055         (cpp_init, cpp_reader_init): Delete prototypes.
4056         * cppmain.c (general_init, setup_callbacks): New functions.
4057         (main): Use them.
4058         * fix-header.c (scan_in): Change type to cpp_reader *.
4059         (read_scan_file): Update for new cpplib interface and scan_in type.
4060
4061         * cp/decl.c (parse_in): Change to cpp_reader *.
4062         (lang_decode_option): Update.
4063         * cp/lex.c (lang_init_options): Use new cpplib interface.
4064         (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
4065         * cp/spew.c (read_token): Update.
4066         * objc/objc-act.c (lang_init_options): Update new cpplib interface.
4067
4068 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
4069
4070         * loop.c (load_mems): Avoid using next_label to find end_label. If
4071         jumping outside of the loop (other than loop end), don't hoist MEMs
4072         out of loop.
4073
4074 2000-11-28  Jan Hubicka  <jh@suse.cz>
4075
4076         * calls.c (expand_call): Don't disable tail recursion based
4077         on the loop nest.
4078
4079 2000-11-28  Neil Booth  <neilb@earthling.net>
4080
4081         * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
4082         (struct directive): Drop 4th argument from handlers.
4083         (do_define, do_line, do_include, do_undef, do_else, do_elif,
4084         do_endif): Similarly.
4085         (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
4086         (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
4087         (make_definition, make_undef): Take a const char*.
4088         (make_assertion): New function.
4089         (struct directive_table): Update.
4090         (main): Handle -A command line argument.
4091         (handle_directive): Drop fourth handler argument.
4092
4093 2000-11-28  Bernd Schmidt  <bernds@redhat.co.uk>
4094
4095         * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
4096         is anything but REG or MEM, but look inside STRICT_LOW_PART.
4097
4098 Tue Nov 28 09:53:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4099
4100         * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
4101         (IS_ABSOLUTE_PATHNAME): New macro.
4102         * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
4103
4104 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
4105
4106         * config/i386/i386.md (truncxfsf2_2): Fix predicate.
4107
4108 2000-11-27  Jim Wilson  <wilson@redhat.com>
4109
4110         * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
4111
4112 2000-11-27  Matthias Klose  <doko@cs.tu-berlin.de>
4113
4114         * extend.texi (Nested Functions): Update URL of Usenix paper.
4115
4116 2000-11-27  Mark Mitchell  <mark@codesourcery.com>
4117
4118         * function.c (free_after_compilation): Clear x_clobber_return_insn.
4119
4120 2000-11-27  Neil Booth  <neilb@earthling.net>
4121
4122         * cppinit.c (cpp_reader_init): Remove handling of warn_paste
4123         command line options.
4124         (cpp_handle_option): Similarly.
4125         * cpplib.h (struct cpp_options): Remove warn_paste.
4126         * cppmacro.c (paste_tokens): Apart from assembler, make
4127         unpasteable token warning mandatory.
4128
4129 2000-11-27  Neil Booth  <neilb@earthling.net>
4130
4131         * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
4132         (main): Allocate a pending directive set of these.  Use it.
4133         Merge handling of -D and -U.  Update handling of pending
4134         directives.  Free the memory after use.
4135
4136 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
4137
4138         * flow.c (entry_exit_blocks): Add entry for cond_local_set.
4139         (struct propagate_block_info): Add new member cond_local_set.
4140         (propagate_block): Accept new arg cond_local_set.  All callers
4141         changed.
4142         (init_propagate_block_info): Likewise.
4143         (calculate_global_regs_live): Allocate & free cond_local_set.  Always
4144         rescan if there's overlap between cond_local_set and new_live_at_end.
4145         (mark_set_1): Set bits either in cond_local_set or local_set, as
4146         appropriate.
4147         * basic-block.h (struct basic_block_def): New field cond_local_set.
4148         (propagate_block, init_propagate_block_info): Update prototypes.
4149
4150 Mon Nov 27 17:29:44 2000  kaz Kojima <kkojima@rr.iij4u.or.jp>
4151
4152         * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
4153         T register.
4154
4155 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
4156
4157         * arm.c (select_dominance_cc_mode): Handle new way that combine
4158         canonicalizes conditional compares.
4159         (arm_select_cc_mode): Likewise.
4160         * arm.md: Garbage collect some dead code.
4161         (cmp_and, cmp_ior): New patterns.
4162         (splitter for conditional move with inverted false): Use cond_exec
4163         and handle unordered comparisons.
4164
4165 Mon Nov 27 17:22:56 MET 2000  Jan Hubicka  <jh@suse.cz>
4166
4167         * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
4168         * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
4169         * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
4170         ix86_force_to_memory and ix86_free_from_memory.
4171
4172 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
4173
4174         * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
4175         arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
4176         anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
4177         one_cmpldi2): Merge with splitters to create define_insn_and_split
4178         patterns.  Remove redundant splits.
4179         (peephole2 for add:SI of invalid immediate): New.
4180         (peephole2 for minus:SI of invalid immediate): New.
4181         (peephole2 for ior:SI of invalid immediate): New.
4182         (peephole for merge of move and compare): Convert ot peephole2.
4183         (addsf3, adddf3): Mark as commutative.
4184
4185         * arm.md (thumb peephole for merging stack adjustments): Convert to
4186         peephole2.
4187
4188 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
4189
4190         * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
4191
4192         * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
4193         (reload_cse_simplify_operands): Do nothing about operands where both
4194         the operand and the match_operand fail to give us a mode.
4195         * simplify-rtx.c (wrap_constant): New function.
4196         (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
4197         CONST describing the proper mode.
4198         (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
4199         cselib_lookup.
4200         (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
4201         htab_find_slot_with_hash.
4202         (cselib_lookup): Likewise.
4203
4204         Based on a patch from Geoff Keating <geoffk@redhat.com>:
4205         * loop.c (basic_induction_var): If a REG is set from something
4206         that is not a biv, then the REG is not a biv.  Even if it is
4207         earlier set from something that is a biv.
4208
4209 2000-11-27  Alexandre Oliva  <aoliva@redhat.com>
4210
4211         * configure.in (extra_objs): Enclose extra_headers in quotes.
4212         * configure: Rebuilt.
4213
4214 2000-11-27  Neil Booth  <neilb@earthling.net>
4215
4216         * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
4217         Combine into the new function cb_change_file.
4218         (init_c_lex): Update.
4219         * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
4220         (cpp_syshdr_flags): Delete.
4221         * cpphash.h (_cpp_do_file_change): New prototype.
4222         Move struct cpp_buffer here from...
4223         * cpplib.h (struct cpp_buffer): ... here.
4224         (enum cpp_fc_reason, struct cpp_file_loc,
4225         struct_cpp_file_change, change_file): New.
4226         (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
4227         * cpplib.c (do_line): Update for new cb_change_file callback.
4228         (_cpp_do_file_change): New function.
4229         (_cpp_pop_buffer): Update to use it.
4230         * cppmain.c (move_printer): Delete.
4231         (main): Set up single callback cb_change_file.
4232         (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
4233         (cb_change_file): New.
4234         * fix-header.c (cur_file, cb_change_file): New.
4235         (recognized_function, read_scan_file): Update.
4236         * scan-decls.c (scan_decls): Update.
4237         * scan.h (recognized_function): Update prototype.
4238
4239 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
4240
4241         * tree.h (mark_tree_hashtable): New function.
4242         * tree.c (mark_tree_hashtable_entry): New function.
4243         (mark_tree_hashtable): Likewise.
4244
4245 2000-11-27  Michael Meissner  <meissner@redhat.com>
4246
4247         * d30v-protos.h (srelational_si_operator): Correctly spell
4248         function.
4249         (urelational_si_operator): Ditto.
4250         (relational_si_operator): Ditto.
4251         (d30v_expand_prologue): Add prototype.
4252         (d30v_expand_epilogue): Ditto.
4253
4254         * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
4255
4256         * d30v.md (movcccc_*): Delete now unused patterns.
4257         (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
4258         IF_THEN_ELSE.
4259         (define_cond_exec): Use 'b' to select branch flags.
4260
4261 2000-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4262
4263         * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
4264         functions.
4265         (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
4266
4267         * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
4268
4269         * c-common.c (c_common_nodes_and_builtins): Declare builtin
4270         strncpy and strncmp.
4271
4272         * extend.texi (strncmp, strncpy): Document new builtins.
4273
4274 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
4275
4276         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
4277         a list, to keep track of the sections.
4278         * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
4279         parameter provided will always be a canonical string.
4280
4281 2000-11-26  Neil Booth  <neilb@earthling.net>
4282
4283         * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
4284         current buffer.
4285
4286 2000-11-26  Joseph S. Myers  <jsm28@cam.ac.uk>
4287
4288         * makefile.vms: Remove EGCS references.
4289
4290 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
4291
4292         * dwarf2out.c (output_file_names): New function.  Compute minimal
4293         combination of directory and file name table and emit them.
4294         (output_line_info): Remove code to emit directory and file name
4295         table and call output_file_names instead.
4296         (file_info_cmp): Helper function to sort directory names.
4297
4298 2000-11-26  Neil Booth  <neilb@earthling.net>
4299
4300         * cpplib.h (struct cpp_reader): Remove lang_asm.
4301         (struct cpp_options): Remove c89. New members lang,
4302         extended_numbers.
4303         * cppexp.c (parse_number): Use them.
4304         * cpphash.h (VALID_SIGN): Use them.
4305         * cppinit.c (set_lang, cpp_start_read): Update.
4306         * cpplex.c (parse_string, _cpp_lex_token): Update.
4307         * cpplib.c (_cpp_handle_directive): Update.
4308         * cppmacro.c (parse_args): Update.
4309         * cppmain.c (scan_buffer): Update.
4310
4311 Sun Nov 26 10:02:37 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4312
4313         * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
4314         proper type.
4315
4316 2000-11-26  Neil Booth  <neilb@earthling.net>
4317
4318         * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
4319         * c-decl.c: Remove parse_in declaration.
4320         * c-lang.c: Similarly.
4321         * c-lex.c: Similarly.
4322         * c-parse.in: Similarly.
4323         * c-pragma.c: Similarly.
4324         * configure.in: Similarly.
4325         * cp/Make-lang.in: Similarly.
4326         * cp/spew.c: Similarly.
4327         * cp/decl2.c: Remove check for lang-c++ option.
4328         * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
4329         * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
4330         * c-lex.h: Add declaration of parse_in.
4331         * cppinit.c: Call set_lang after allocating pfile->pending.
4332         * configure: Regenerate.
4333
4334 2000-11-25  Zack Weinberg  <zack@wolery.stanford.edu>
4335
4336         * combine.c (try_combine): Remove redundant test.
4337
4338 2000-11-25  Richard Henderson  <rth@redhat.com>
4339
4340         * c-common.h (DECL_C_HARD_REGISTER): New.
4341         * c-decl.c (finish_decl): Set it for asm register variables.
4342         * c-semantics.c (emit_local_var): Test it when instantiating one.
4343
4344 2000-11-25  Richard Henderson  <rth@redhat.com>
4345
4346         * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
4347         lineno for the start of the function.
4348
4349 2000-11-25  Richard Henderson  <rth@redhat.com>
4350
4351         * dwarf2out.c (file_table, file_table_allocated): Remove.
4352         (file_table_allocated): Remove.
4353         (struct file_table): New.
4354         (decl_file_table, line_file_table): New.
4355         (print_dwarf_line_table): Use them.
4356         (size_of_line_prolog): Likewise.
4357         (output_line_info): Likewise.
4358         (add_src_coords_attributes): Likewise.
4359         (gen_subprogram_die): Likewise.
4360         (gen_variable_die): Likewise.
4361         (dwarf2out_add_library_unit_info): Likewise.
4362         (dwarf2out_line): Likewise.
4363         (lookup_filename): Take a struct file_table argument.
4364         (init_file_table): New.
4365         (dwarf2out_init): Use it.
4366
4367 2000-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
4368
4369         * invoke.texi: Update sequence points references.
4370
4371 2000-11-25  Neil Booth  <neilb@earthling.net>
4372
4373         * c-common.c: Remove USE_CPPLIB conditional inclusions.
4374         * c-common.h: Similarly.
4375         * c-decl.c: Similarly.
4376         * c-lang.c: Similarly.
4377         * c-lex.c: Similarly.
4378         * c-parse.in: Similarly.
4379         * c-pragma.c: Similarly.
4380         * c-pragma.h: Similarly.
4381         * gcc.c: Similarly.
4382         * toplev.c: Similarly.
4383         * cp/cp-tree.h: Similarly.
4384         * cp/decl2.c: Similarly.
4385         * cp/lang-specs.h: Similarly.
4386         * cp/lex.c: Similarly.
4387         * cp/lex.h: Similarly.
4388         * cp/spew.c: Similarly.
4389         * java/lang-options.h: Similarly.
4390         * objc/lang-specs.h: Similarly.
4391         * objc/objc-act.c: Similarly.
4392
4393         * configure.in: Remove configure option.
4394         * config.in: Regenerate.
4395         * configure: Regenerate.
4396
4397 2000-11-25  Richard Henderson  <rth@redhat.com>
4398
4399         * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
4400         Revert 2000-11-22 change.
4401
4402 2000-11-25  Bernd Schmidt  <bernds@redhat.co.uk>
4403
4404         * config/i386/i386.h (FIXED_REGS): Make the three flags registers
4405         fixed.
4406
4407 2000-11-25  Philipp Thomas  <pthomas@suse.de>
4408         * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
4409         * configure: Rebuilt.
4410
4411 2000-11-25  Jakub Jelinek  <jakub@redhat.com>
4412
4413         * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
4414         Handle CONST_INT as second argument.
4415         * config/sparc/sparc.c (set_extends): Remove first argument.
4416         Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
4417         MOV.
4418         (sparc_check_64): Abort if first argument is not REG.
4419         If it is DImode REG, look at the lower register of the register
4420         pair.
4421
4422         * config/sparc/sparc.c (load_pic_register, restore_regs,
4423         output_return, sparc_v8plus_shift, sparc_function_profiler,
4424         sparc_function_block_profiler, sparc_block_profiler): Fix output
4425         formatting.
4426
4427 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>
4428
4429         * config/sh/sh.h (TARGET_NONE): New.
4430         (TARGET_SWITCHES): For all variant-selecting switch, use
4431         TARGET_NONE to reset all other variant-selecting switch.  Added
4432         empty strings to avoid warnings.
4433         (TARGET_DEFAULT): Set to SH1_BIT.
4434
4435         * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
4436         insn-codes.h.
4437
4438         * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
4439         (sibcall_pcrel): New insn_and_split.
4440         (sibcall, sibcall_value, sibcall_epilogue): New expands.
4441
4442         * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
4443         symPLT_label2reg, call, call_value): Don't set
4444         current_function_uses_pic_offset_table.
4445         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
4446         PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
4447         takes it into account.
4448         (FINALIZE_PIC): Delete, useless.
4449         (LEGITIMATE_CONSTANT_P): Delete, unused.
4450         * config/sh/sh.c (sh_expand_prologue): Don't use
4451         current_function_uses_pic_offset_table.  Don't special-case
4452         PIC_OFFSET_TABLE_REGNUM.  Initialize it if it's ever live and
4453         PIC is enabled.
4454         (sh_expand_epilogue, initial_elimination_offset): Don't
4455         special case PIC_OFFSET_TABLE_REGNUM.
4456
4457 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>, NIIBE Yutaka  <gniibe@m17n.org>
4458
4459         * config/sh/sh-protos.h (symbol_ref_operand): Declare.
4460         * config/sh/sh.md (UNSPEC_CALLER): New constant.
4461         (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
4462         (call_pcrel, call_value_pcrel): New insn_and_splits.
4463         (call, call_value): Use them.
4464         (call_site): New expand.
4465         (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
4466         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
4467         Output call_site label.
4468         (PREDICATE_CODES): Added symbol_ref_operand.
4469         * config/sh/sh.c (symbol_ref_operand): Define.
4470         * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
4471         to CALL_INSNs in the split sequence.
4472
4473 2000-11-24  Nick Clifton  <nickc@redhat.com>
4474
4475         * config.gcc (v850-*-*): Define c_target_objs and
4476         cxx_target_objs.
4477
4478         * config/v850/t-v850: Define how to build v850-c.o
4479
4480         * config/v850/v850.h (struct data_area_stack_element): Move
4481         definition here from v850.c.
4482
4483         * config/v850v850.c: Include gcc.h to avoid compile time
4484         warning.
4485         (push_data_area): Move to v850-c.c.
4486         (pop_data_area): Move to v850-c.c.
4487         (mark_current_function_as_interrupt): Move to v850-c.c.
4488         (GHS_default_section_names): Allow to be exported.
4489         (GHS_current_section_names): Allow to be exported.
4490         (data_area_stack_elements): Allow to be exported.
4491         (ghs_pragma_section): Move to v850-c.c.
4492         (ghs_pragma_interrupt): Move to v850-c.c.
4493         (ghs_pragma_starttda): Move to v850-c.c.
4494         (ghs_pragma_startsda): Move to v850-c.c.
4495         (ghs_pragma_startzda): Move to v850-c.c.
4496         (ghs_pragma_endtda): Move to v850-c.c.
4497         (ghs_pragma_endsda): Move to v850-c.c.
4498         (ghs_pragma_endzda): Move to v850-c.c.
4499
4500         * config/v850/v850-c.c: New file: Contains v850 specific
4501         pragma parsing functions.
4502
4503 2000-11-24  Nick Clifton  <nickc@redhat.com>
4504
4505         * config.gcc (extra_objs): Remove duplicate description.
4506         (c_target_objs): New variable.  Contains target specific
4507         object files for the gcc C compiler only.
4508         (cxx_target_objs): New variable.  Contains target specific
4509         object files for the gxx C++ compiler only.
4510
4511         * configure.in (c_target_objs): Substitute in the makefile.
4512         (cxx_target_objs): Substitute in the makefile.
4513         * configure: Regenerate.
4514
4515         * Makefile.in (C_TARGET_OBJS): Define and initialise from
4516         c_target_objs.
4517         (CXX_TARGET_OBJS): Define and initialise from
4518         cxx_target_objs.
4519         (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
4520
4521         * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
4522
4523         * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
4524         about how the use of the 'c_lex' function requires the use of
4525         the target specific, language specific object files feature of
4526         the configuration mechanism.
4527
4528 Fri Nov 24 18:50:58 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4529
4530         * gcc.c (process_command): Use F_OK, not R_OK.
4531
4532 2000-11-24  Arno J. Klaassen  <arno@heho.snv.jussieu.fr>
4533
4534         * flow.c (print_rtl_and_abort): Remove ANSIism.
4535
4536 Fri Nov 24 19:54:36 2000  Alexandre Oliva  <aoliva@redhat.com>
4537
4538         * config/sh/sh.h (GENERAL_REGISTER_P,
4539         GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
4540         FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros.  Use them
4541         all over.
4542         (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
4543         * config/sh/sh.c: Use new macros.
4544         * config/sh/sh.md: Likewise.
4545
4546 Fri Nov 24 19:46:16 2000  Alexandre Oliva  <aoliva@redhat.com>
4547
4548         * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
4549         instead of just MACH_REG in DImode.  Always refer to FPSCR_REG
4550         in PSImode.
4551
4552 Fri Nov 24 22:37:41 2000  Denis Chertykov  <denisc@overta.ru>
4553
4554         * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
4555         fixed.
4556         (machine_dependent_reorg): Wrong optimization based on
4557         NOTICE_UPDATE_CC removed.
4558
4559 Fri Nov 24 19:48:09 2000  J"orn Rennecke <amylaar@redhat.com>
4560
4561         * jump.c (delete_computation): Re-instate deletion of feeding insn.
4562         (delete_insn): Look for REG_LABEL notes.
4563         (redirect_tablejump): Delete feeding insns.
4564
4565 2000-11-24  Bernd Schmidt  <bernds@redhat.co.uk>
4566
4567         * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
4568         call_value_pop_1): Make sure operand numbers are contiguous.
4569
4570         * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
4571
4572         * reload1.c (conflicts_with_override): New function.
4573         (emit_input_reload_insns): Use it to tighten test for validity
4574         of substituting into output of previous insn.
4575
4576         * haifa-sched.c (struct ready_list): New.
4577         (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
4578         functions.
4579         (schedule_insn): Replace args READY and N_READY with a pointer to a
4580         ready_list; return void.  Use the new functions to access the ready
4581         list.  All callers changed.
4582         (queue_to_ready, debug_ready_list): Likewise.
4583         (schedule_block): Initialize a ready_list structure.  Use new
4584         functions to access it.
4585         (max_priority): Remove unused variable.
4586         (schedule_insn): Don't set it.
4587
4588         * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
4589
4590         * combine.c (cant_combine_insn_p): New function.
4591         (try_combine): Use it.
4592
4593         * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
4594         * c-common.c (c-obstack.c): Include "obstack.h".
4595         (struct reverse_tree): Delete.
4596         (reverse_list, reverse_max_depth): Delete.
4597         (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
4598         (struct tlist, struct tlist_cache): New.
4599         (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
4600         (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
4601         warn_for_collisions, warn_for_collisions_1, new_tlist): New
4602         static functions.
4603         (verify_sequence_points): Rewritten.
4604         * fold-const.c (fold): Don't lose possibly important sequence
4605         points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
4606
4607 2000-11-24  Richard Sandiford  <rsandifo@redhat.com>
4608
4609         * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
4610         when reversing a register-to-register copy.  Reversal now disabled
4611         when the previous instruction has a REG_EQUIV.
4612
4613 2000-11-24  Nathan Sidwell  <nathan@codesourcery.com>
4614
4615         * c-parse.in (unary_expr): Move VA_ARG from here ...
4616         (primary): ... to here.
4617
4618 2000-11-23  Graham Stott  <grahams@redhat.com>
4619
4620         * expr.c (store_constructor): If a field is non addressable and
4621         the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
4622
4623 2000-11-23  Bernd Schmidt  <bernds@redhat.co.uk>
4624
4625         * flow.c (print_rtl_and_abort): New function.
4626         (verify_wide_reg, verify_local_live_at_start): Try to dump more
4627         information before aborting.
4628
4629 2000-11-23  Alexandre Oliva  <aoliva@redhat.com>
4630
4631         * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
4632         is narrower than requested mode.
4633         (gen_highpart): Abort if register mode is narrower than
4634         requested mode.
4635
4636 2000-11-23  Graham Stott  <grahams@redhat.com>
4637
4638         * cse.c (cse_insn): Initialise all regcost variables.
4639         Fix a typo add missing '='.
4640         Only compare costs if there is a replacement insn.
4641
4642 Thu Nov 23 04:33:33 2000  Alexandre Oliva  <aoliva@redhat.com>
4643
4644         * final.c (output_addr_const) [LABEL_REF]: Simplify.
4645         [MINUS]: Enclose non-CONST_INTs in parentheses.
4646         [default]: Try OUTPUT_ADDR_CONST_EXTRA.
4647         * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
4648         * varasm.c (decode_rtx_const) [CONST]: If it's not something
4649         PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
4650         instead of abort()ing.
4651         * sh.c (output_pic_addr_const): Removed.  Fixed all callers.
4652         * sh.h (OUTPUT_ADDR_CONST_EXTRA): New.  Handle the UNSPECs
4653         formerly handled in output_pic_addr_const.
4654         * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
4655         operands of MINUS in CONSTs so that decode_rtx_const() will
4656         accept them.
4657
4658 Thu Nov 23 04:10:30 2000  Alexandre Oliva  <aoliva@redhat.com>
4659
4660         * config/sh/sh.md (mova_const): New pattern.
4661         (GOTaddr2picreg): Use it.
4662         * config/sh/sh.c (broken_move): Match it.
4663         (mova_p): Don't match it.
4664         (machine_dependent_reorg): Adjust it.
4665
4666 Thu Nov 23 02:09:09 2000  Alexandre Oliva  <aoliva@redhat.com>
4667
4668         * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
4669         Moved most register-number #defines...
4670         * config/sh/sh.md (define_constants): ... here.  Use macros to
4671         refer to registers and unspecs.
4672         * config/sh/sh.c: Likewise.
4673
4674 Thu Nov 23 01:01:32 2000  J"orn Rennecke <amylaar@redhat.com>
4675
4676         * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
4677         (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
4678         (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
4679         (splay-tree.o, hash.o): Likewise.
4680         GCONFIG_H: New.
4681         (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
4682         (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
4683         (hashtab.o): Likewise.
4684         (gcov.o): Depend on $(CONFIG_H).
4685         * configure.in: #include insn-codes.h in tm.h.
4686
4687 2000-11-22  Nick Clifton  <nickc@redhat.com>
4688
4689         * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
4690         const char * to avoid a compile time warning.
4691
4692         * config/arm/arm.md (define_constants): Define symbolic names for
4693         the link register, last integer register and the fake CC register.
4694         Update patterns to use these symbolic names.
4695
4696 2000-11-22  Neil Booth  <neilb@earthling.net>
4697
4698         * cpplex.c (trigraph_ok): Ensure we don't warn twice.
4699         * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
4700
4701 2000-11-22  Richard Henderson  <rth@redhat.com>
4702
4703         * haifa-sched.c (sched_analyze_1): Don't special-case calls
4704         for clobbering registers.
4705         (sched_analyze_2): Likewise.
4706         (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
4707
4708 2000-11-22  Chris Demetriou  <cgd@sibyte.com>
4709             Neil Booth  <neilb@earthling.net>
4710
4711         * gcc.c (validate_switches): Validate multiple switches named
4712         in '|' (or) expressions in specs.
4713         (handle_braces): If more than 1 alternative in a '|' spec
4714         matches, call do_spec1 just once.
4715
4716 2000-11-22  Michael Meissner  <meissner@redhat.com>
4717
4718         * d30v.h (TARGET_SWITCHES): Add documentation strings.
4719         (TARGET_OPTIONS): Ditto.
4720         (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
4721         -O3.
4722
4723 Wed Nov 22 06:40:56 2000  Jeffrey A Law  (law@cygnus.com)
4724
4725         * pa.c (hppa_encode_label): Account for addition of encoding
4726         character when allocating persistent space for the new label
4727         name.
4728
4729 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
4730
4731         * Makefile.in, config.gcc, configure.in: Expunge remaining
4732         traces of facility for running MD files through C preprocessor.
4733
4734 2000-11-22  Joseph S. Myers  <jsm28@cam.ac.uk>
4735
4736         * gcov.texi: Add magic comments for texi2pod.pl.
4737         * Makefile.in: Add rules to generate and install gcov.1.
4738         * gcov.1: New (generated) file.
4739
4740 2000-11-21  Richard Henderson  <rth@redhat.com>
4741
4742         * regrename.c (scan_rtx_reg): Terminate the chain rather than
4743         abort on mark_read with NO_REGS.
4744
4745 2000-11-21  Mike Stump  <mrs@wrs.com>
4746
4747         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
4748         compilation with older compilers, such as /bin/cc on SunOS.
4749         * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
4750
4751 2000-11-21  Richard Henderson  <rth@redhat.com>
4752
4753         * varasm.c (record_constant): Pad the constructed
4754         constant_descriptor appropriately.
4755
4756 Wed Nov 22 00:52:55 2000  J"orn Rennecke <amylaar@redhat.com>
4757
4758         * rtl.h (traverse_md_constants): Declare.
4759         (struct md_constant): Define.
4760         * Makefile.in (HOST_RTL): Add hashtab.o .
4761         (OBJS): Add hashtab.o .
4762         (hashtab.o): New rule.
4763         (rtl.o): Depends on HASHTAB_H.
4764         * rtl.c (hashtab.h): #include.
4765         (md_constants): New static variable.
4766         (def_hash, def_name_eq_p, read_constants): New static functions.
4767         (traverse_md_constants): New function.
4768         (read_name): Do constant expansion.
4769         (read_rtx): Recognize define_constants.
4770         * gencodes.c (print_md_constant): New function.
4771         (main): Emit #defines for all constant definitions encountered.
4772         * md.texi (Constant Definitions): New node.
4773         * gensupport.c (xcalloc): New function.
4774
4775 2000-11-21  Richard Henderson  <rth@redhat.com>
4776
4777         * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
4778         * config/alpha/alpha-protos.h: Declare it.
4779         * config/alpha/alpha.md (abstf_internal): Use it.
4780         (negtf_internal): Likewise.
4781         (andnotdi3): Unstar the name.
4782         (movtf_internal): Add o/G alternative.
4783
4784 2000-11-21  Zack Weinberg  <zack@wolery.stanford.edu>
4785
4786         * stringpool.c (stringpool_statistics): Also report number and
4787         percentage of entries which are identifiers.
4788
4789 2000-11-21  Diego Novillo  <dnovillo@redhat.com>
4790
4791         * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
4792         visited before visiting it.
4793
4794 2000-11-21  Nick Clifton  <nickc@redhat.com>
4795
4796         * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
4797         TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
4798
4799         * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
4800
4801 2000-11-21  Richard Henderson  <rth@redhat.com>
4802
4803         * c-common.c (c_unsafe_for_reeval): New function.
4804         (add_c_tree_codes): Register it.
4805         * c-common.h: Declare it.
4806         * tree.c (lang_unsafe_for_reeval): New hook.
4807         (unsafe_for_reeval): Call it.
4808         * tree.h: Declare it.
4809
4810 2000-11-21  Richard Henderson  <rth@redhat.com>
4811
4812         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
4813         references as well.
4814
4815 2000-11-21  Neil Booth  <neilb@earthling.net>
4816
4817         * do_includes: Revert to using cpp_read_file.
4818
4819 2000-11-21  Bernd Schmidt  <bernds@redhat.co.uk>
4820
4821         * loop.c (consec_sets_giv): If the reg we're examining is anything
4822         but UNKNOWN_INDUCT, do nothing.
4823         Reset the reg's type to UNKNOWN_INDUCT before returning.
4824
4825         Mostly from Vladimir Makarov (vmakarov@redhat.com)
4826         * ia64.md (attr itanium_class): Define insn types as described in
4827         Itanium docs.
4828         (all insn patterns): Use itanium_class, not type attributes.
4829         Occasionally split alternatives as necessary.
4830         (attr type): Compute from new attr itanium_class.
4831
4832 2000-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4833
4834         * tradcpp.c (output_line_command): Mark system headers as such in
4835         `line' commands.
4836
4837 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
4838
4839         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
4840         support in as as well.
4841         * configure: Regenerate.
4842
4843 2000-11-20  Richard Henderson  <rth@redhat.com>
4844
4845         * c-lex.c (orig_filename): New variable.
4846         (init_c_lex): Set it.  Move call to cpp_start_read ...
4847         (yyparse): ... here.  New function.
4848         * c-parse.in (yyparse_1): Rename the parser entry point.
4849         * c-tree.h: Declare it.
4850
4851 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
4852
4853         * expr.c (do_compare_and_jump): If op0 was replaced by promoted
4854         integer constant, use type of op1 for comparison.
4855
4856 2000-11-20  Stan Shebs  <shebs@apple.com>
4857
4858         * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
4859         * config/rs6000/x-darwin: New file, Darwin host fragment.
4860         * config.gcc (powerpc-*-darwin*): New host.
4861         * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
4862         overridden by a config file.
4863
4864 2000-11-20  Neil Booth  <neilb@earthling.net>
4865
4866         * cppmacro.c (paste_tokens): Rename from paste_payloads.
4867         Change token type after pasting spellings.
4868         (paste_all_tokens): Use it.
4869         * gcc.dg/cpp/paste2.c: Update test.
4870         * objc/execute/paste.m: New test.
4871
4872 2000-11-20  Richard Henderson  <rth@redhat.com>
4873
4874         * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
4875         dwarf_subscr_data_formats bits.
4876         * dwarfout.c (simple_type_size_in_bits): Handle a type with
4877         no computed size as size zero.
4878         (field_byte_offset): Likewise.
4879         (subscript_data_attribute): Handle a range with no upper bound.
4880
4881 2000-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4882
4883         * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
4884
4885 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4886
4887         * c-typeck.c (build_conditional_expr): When merging type
4888         qualifiers for conditional expressions between a pointer and a
4889         pointer to a void type, merge the qualifiers on the target types
4890         rather than the pointer type.  Remove obsolete conditioned out
4891         code.
4892
4893 2000-11-20  Neil Booth  <neilb@earthling.net>
4894
4895         * c-lang.c (lang_init_options): Update call to
4896         cpp_reader_init.
4897         * cppmain.c (main): Similarly.
4898         * fix-header.c (read_scan_file): Similarly.
4899         * cp/lex.c (lang_init_options): Similarly.
4900         * objc/objc-act.c (lang_init_options): Similarly.
4901         * cppexp.c (parse_number): Only warn for unextended C89.
4902         * cppinit.c (set_lang): New function.
4903         (cpp_reader_init): Take a LANG argument and pass it to set_lang.
4904         (COMMAND_LINE_OPTIONS): New option std=c++98.
4905         (cpp_handle_option): Use set_lang.
4906         * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
4907         * cppib.h (enum_c_lang): New enumeration.  Update comments.
4908
4909 2000-11-20  Will Cohen  <wcohen@redhat.com>
4910
4911         * calls.c (expand_call): Clear target only when target is in
4912         hard register and current_function_check_memory_usage is set.
4913
4914 2000-11-20  Bernd Schmidt  <bernds@redhat.co.uk>
4915
4916         * toplev.c (rest_of_compilation): Run optimize_mode_switching even
4917         if not optimizing.
4918         * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
4919
4920 2000-11-19  Richard Henderson  <rth@redhat.com>
4921
4922         * crtstuff.c (force_to_data): Use array size 1 not 0.
4923
4924         * dwarf2out.c (simple_type_size_in_bits): Handle a type with
4925         no computed size as size zero.
4926         (field_byte_offset): Likewise.
4927
4928 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4929
4930         * config.gcc: Fix another typo.
4931
4932 2000-11-19  Richard Henderson  <rth@redhat.com>
4933
4934         * c-decl.c (grokdeclarator): Support flexible array members.
4935         Use open-ended ranges for these and zero-length arrays.
4936         * c-typeck.c (push_init_level): Validate the context of
4937         initialization of a zero-length array.
4938         * tree.c (int_fits_type_p): Be prepared for missing bounds.
4939         * varasm.c (array_size_for_constructor): New.
4940         (output_constructor): Use it for arrays of unspecified length.
4941         * extend.texi (Zero Length): Mention C99 flexible array members.
4942         Document initialization in a top-level struct as valid.
4943
4944 2000-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
4945
4946         * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
4947
4948         * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
4949         stdarg and varargs functions.
4950
4951 2000-11-19  Zack Weinberg  <zack@wolery.stanford.edu>
4952
4953         * gcc.c (process_command): Define 'j' variable when
4954         MODIFY_TARGET_NAME is defined.
4955
4956 2000-11-19  Richard Henderson  <rth@redhat.com>
4957
4958         * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
4959
4960 2000-11-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4961
4962         * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
4963         calculation and allocation.
4964
4965 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4966
4967         * builtins.c (c_getstr): Constify variable.
4968         * gmon-sol2.c (_mcleanup): Comment out #endif labels.
4969         * conflict.c (const_conflict_graph_arc): New typedef.
4970         (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
4971         * cppmacro.c (builtin_macro): Likewise.
4972         * dwarf2out.c (output_comp_unit): Constify variable.
4973         * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
4974         * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
4975         * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
4976         away const-ness.
4977         * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
4978         ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
4979         * varasm.c (const_str_htab_hash, const_str_htab_eq,
4980         compare_constant_1, record_constant_1): Constify.
4981
4982 2000-11-18  Richard Henderson  <rth@redhat.com>
4983
4984         * c-decl.c (grokdeclarator): Special case the creation of an
4985         index for a zero-length array.
4986         * tree.c (build_index_type): Revert Oct 20 change.
4987
4988 2000-11-18  Marek Michalkiewicz  <marekm@linux.org.pl>
4989
4990         * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
4991         * config/avr/avr.c (jump_tables_size): New variable.
4992         (function_prologue): Initialize it as 0.
4993         (function_epilogue): Add it to function_size.
4994         (avr_output_addr_vec_elt): New function.  Count words in jump
4995         tables in jump_tables_size.  Move code ...
4996         * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
4997         Call avr_output_addr_vec_elt instead.
4998         * config/avr/avr.md (tablejump): Remove disabled define_expand.
4999
5000 2000-11-18  Mark Mitchell  <mark@codesourcery.com>
5001
5002         * configure.in: Make --enable-new-gxx-abi the default.
5003         * configure: Likewise.
5004
5005 2000-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5006
5007         * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
5008
5009         * tradcif.y: Include tradcpp.h.  Constify.  Make functions static.
5010         Move extern function declarations to tradcpp.h.
5011
5012         * tradcpp.c: Likewise.
5013
5014         * tradcpp.h: New file.
5015
5016 2000-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
5017
5018         * c-decl.c (check_for_loop_decls): New function.
5019         * c-parse.in (for_init_stmt): New.
5020         (select_or_iter_stmt): Use for_init_stmt.
5021         * c-tree.h (check_for_loop_decls): New declaration.
5022
5023 2000-11-18  Neil Booth  <neilb@earthling.net>
5024
5025         * cppinit.c: Update comments.
5026         (cpp_reader_init): Make -imacro and -include use the standard
5027         #include "" search path.
5028         (do_includes): New function.
5029
5030 2000-11-18  Ben Elliston  <bje@redhat.com>
5031
5032         * config/sh/crt1.asm (start_l): Move PC-relative move instruction
5033         out of a branch delay slot.
5034
5035 2000-11-17  Richard Henderson  <rth@redhat.com>
5036
5037         * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
5038         (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
5039         (ASM_FILE_START): Only write out ecoff .file directive if
5040         emitting mdebug debugging.
5041
5042 2000-11-17  Richard Henderson  <rth@redhat.com>
5043
5044         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.  Detect
5045         whether as accepts .file/.loc and produces dwarf2 line info.
5046         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
5047         the assembler supports it.
5048         * config.in, configure: Regenerate.
5049
5050 2000-11-17  Richard Henderson  <rth@redhat.com>
5051
5052         * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
5053
5054 2000-11-17  Jim Wilson  <wilson@redhat.com>
5055
5056         * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
5057         Don't clear need_barrier is next_insn is a CALL_INSN, or has
5058         instruction type B or UNKNOWN.
5059
5060 2000-11-17  Neil Booth  <neilb@earthling.net>
5061
5062         * cpperror.c (print_file_and_line): Don't display line number if 0.
5063
5064 2000-11-17  Zack Weinberg  <zack@wolery.stanford.edu>
5065
5066         * ggc.h: Delete ggc_add_string_root and ggc_mark_string.  Add
5067         digit_vector and digit_string.
5068         * stringpool.c (digit_vector): New.
5069         (ggc_alloc_string): Use digit_string.
5070
5071         * stmt.c (digit_strings): Delete.
5072         (init_stmt): Do not initialize digit_strings.
5073         (expand_asm_operands): Use ggc.h's digit_string macro.
5074         * toplev.c (mark_file_stack): Delete.
5075         (compile_file): Don't call init_tree_codes.
5076         (main): No need to make the file stack a GC root.
5077         * tree.c (init_tree_codes): Delete.
5078         * tree.h (init_tree_codes): Delete.
5079
5080         * c-lex.c: Don't include ggc.h.
5081         (mark_splay_tree_node, mark_splay_tree): Delete.
5082         (init_c_lex): No need to ggc_strdup string constant.  Don't add
5083         file_info_tree to GGC roots.
5084         (cb_enter_file, cb_rename_file): No need to ggc_strdup
5085         ip->nominal_fname.
5086
5087         * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
5088
5089         * dbxout.c (dbxout_init),
5090         dwarf2out.c (dwarf2out_line),
5091         ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
5092         varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
5093         xcoffout.c (xcoffout_source_file),
5094         i386.c (load_pic_register):
5095         Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
5096
5097         * except.c (create_rethrow_ref),
5098         profile.c (init_edge_profiler),
5099         toplev.c (compile_file),
5100         varasm.c (named_section, assemble_static_space,
5101         assemble_trampoline_template, output_constant_def, force_const_mem),
5102         i386.c (load_pic_register),
5103         ia64.c (ia64_encode_section_info),
5104         rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
5105         rs6000_emit_prologue, rs6000_emit_epilogue),
5106         rs6000.md (load_toc_aix_si, load_toc_aix_di):
5107         Change ggc_alloc_string (var, -1) to ggc_strdup (var).
5108
5109         * profile.c (output_func_start_profiler),
5110         tree.c (make_node),
5111         i386.c (load_pic_register): No need to ggc_strdup string constant.
5112
5113 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
5114
5115         * Makefile.in (config.status): Depend on config.gcc.
5116         * configure.in <for machine in $build $host $target>: Move
5117         contents of loop into config.gcc, removing autoconf quoting.
5118         Fix changequote bug for alpha*-*-vxworks*.
5119         * configure: Regenerate.
5120         * config.gcc: New.
5121
5122 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
5123
5124         * c-parse.in (if_prefix): Find the filename and line number at
5125         $-2 and $-1 respectively.
5126         * diagnostic.c (error_recursion): Add missing newline, use
5127         fputs, translate string.
5128
5129 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
5130
5131         * stringpool.c: New file.
5132         * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
5133         (ggc_alloc_string): Now in stringpool.o.
5134         * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
5135         * ggc.h: Delete prototype of ggc_add_string_root.  #define
5136         ggc_add_string_root and ggc_mark_string to nothing.  Prototype
5137         init_stringpool and stringpool_statistics.
5138         (ggc_alloc_string): Returns a const char *.
5139         * tree.c (hash_table, do_identifier_warnings): Delete.
5140         (init_obstacks): Don't initialize the identifier hash table.
5141         (get_identifier, maybe_get_identifier, start_identifier_warnings,
5142         set_identifier_size): Now in stringpool.c.
5143         * tree.h (struct tree_string): Constify pointer field.
5144         (approx_sqrt): Prototype.
5145
5146         * Makefile.in (stringpool.o): Add rule, mention in OBJS.
5147
5148         * toplev.c (approx_sqrt): New function.
5149         (compile_file): Call stringpool_statistics if mem_report is on.
5150         (main): Call init_stringpool.
5151
5152         * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
5153         (process_directive), c-typeck.c (constructor_asmspec, struct
5154         initializer_stack, start_init), except.c (create_rethrow_ref),
5155         stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
5156         (built_in_filename), varasm,c (in_named_name,
5157         assemble_static_space, struct constant_descriptor, struct
5158         deferred_string, struct pool_constant, force_const_mem),
5159         i386.c (pic_label_name, global_offset_table_name), rs6000.c
5160         (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
5161
5162         * c-common.c (combine_strings): Combine strings in scratch
5163         buffer, then pass to build_string.
5164         * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
5165         output_func_start_profiler), stmt.c (init_stmt), alpha.c
5166         (alpha_need_linkage), arm.c (arm_encode_call_attribute),
5167         i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
5168         rs6000.c (rs6000_encode_section_info): Create string in
5169         scratch buffer, then pass to ggc_alloc_string.
5170
5171         * stmt.c (expand_asm_operands): If we must adjust the
5172         constraint strings, do so by creating a new one, not by
5173         modifying the old one in place.  Constify some char *s.
5174         * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
5175         argument.  Create string in scratch buffer, then pass to
5176         ggc_alloc_string.
5177         * config/pa/pa-protos.h: Update prototype.
5178         * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
5179         hppa_encode_label takes only one argument.
5180
5181 2000-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5182
5183         * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
5184         malloc/realloc.
5185
5186         * cpplib.c (glue_header_name): Likewise.
5187
5188         * fixincl.c (run_compiles, start_fixer): Likewise.
5189
5190         * fixlib.c (load_file_data): Likewise.
5191
5192         * mkdeps.c (munge): Likewise.
5193
5194 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
5195
5196         * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
5197         trailing ';'.  Fix formatting.
5198
5199 2000-11-16  Jim Wilson  <wilson@redhat.com>
5200
5201         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
5202         Shift masks left by one to avoid conflict.
5203
5204         * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
5205         DECL_EXTERNAL set.
5206
5207 2000-11-16  Nick Clifton  <nickc@redhat.com>
5208
5209         * config/arm/arm.c (output_arm_prologue): Note nested functions.
5210         (arm_expand_prologue): For nested functions preserve the
5211         static chain register during stack frame creation.
5212
5213         * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
5214         (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
5215         with a stack frame there is a 4 byte gap between the arg
5216         pointer and the hard frame pointer (used to preserve the
5217         static chain register during stack frame creation).
5218
5219 2000-11-16  DJ Delorie  <dj@redhat.com>
5220
5221         * rtl.c (read_rtx): Provide suitable names for unnamed
5222         define_insn and define_insn_and_split patterns, based on file
5223         and line numbers.
5224
5225 2000-11-15  Neil Booth  <neilb@earthling.net>
5226
5227         * cpplib.c (start_directive, end_directive): New functions.
5228         (_cpp_handle_directive, run_directive): Use them.
5229         (_cpp_handle_directive): Don't -Wtraditional on indented
5230         null directives.
5231         (_cpp_push_buffer): Don't re-clear was_skipping.
5232         * cpplib.h (struct cpp_reader): New member la_saved.
5233         * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
5234         directives.
5235
5236         gcc.dg/cpp/_Pragma1.c: Update.
5237         gcc.dg/cpp/_Pragma2.c: New test.
5238
5239 2000-11-15  Mark Mitchell  <mark@codesourcery.com>
5240
5241         * toplev.c (wrapup_global_declarations): Don't write out
5242         artificial static variables that aren't needed.
5243
5244 2000-11-15  Bernd Schmidt  <bernds@redhat.co.uk>
5245
5246         * ia64.c (struct group): New structure.
5247         (last_group): New static array.
5248         (group_idx): New static variable.
5249         (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
5250         New static functions.
5251         (emit_insn_group_barriers): Initialize and keep track of group_idx
5252         and last_group.
5253         Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
5254         Replace all calls to emit_insn_after that emit a group barrier to use
5255         emit_group_barrier_after.
5256         * ia64.h (MASK_B_STEP): New.
5257         (other MASK_XXX macros): Renumbered.
5258         (TARGET_B_STEP): New.
5259         (TARGET_SWITCHES): Add -mb-step.
5260
5261 2000-11-15  Fred Fish  <fnf@be.com>
5262
5263         * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
5264         machines for which fixincludes is not needed.
5265         * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
5266
5267 2000-11-15  Jason Merrill  <jason@redhat.com>
5268
5269         * diagnostic.c (finish_abort): New fn.
5270         (fancy_abort, error_recursion): Use it.
5271         * toplev.c (crash_signal): Likewise.
5272         * diagnostic.h: Declare it.
5273
5274 2000-11-13  Andrew Haley  <aph@redhat.com>
5275
5276         * tree.c (build_type_no_quals): New function.
5277         * tree.h (build_type_no_quals): Declare.
5278         * c-common.c (c_get_alias_set): When considering type
5279         compatibility for pointer types, ignore cv-qualifiers anywhere in
5280         a pointer chain.
5281
5282 2000-11-15  Graham Stott  <grahams@redhat.com>
5283
5284         * regrename.c (scan_rtx_rtx): Skip to the next chain on
5285         encountering a terminated chain.
5286
5287 2000-11-14  Mark Mitchell  <mark@codesourcery.com>
5288
5289         * configure.in: Move check for V3 above check for C++ header-file
5290         directory.
5291         * configure: Regenerated.
5292
5293 2000-11-14  DJ Delorie  <dj@redhat.com>
5294
5295         * config/v850/v850.c: Remove obstacks.
5296
5297 Tue Nov 14 21:54:31 2000  Marek Michalkiewicz  <marekm@linux.org.pl> & Denis Chertykov  <denisc@overta.ru>
5298
5299         * config/avr/avr.c (avr_case_values_threshold): New.
5300         (avr_override_options): Set it depending on options, make it large
5301         when not optimizing to work around "unable to generate reloads".
5302
5303         * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
5304         (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
5305         executable if not AVR_MEGA.  Make sure jump tables are word-aligned.
5306         (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
5307         (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
5308         (avr_case_values_threshold): Declare as extern int.
5309         (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
5310
5311         * config/avr/avr.md (tablejump): Removed.
5312         (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
5313         (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
5314         index in the table, not multiplied by 2.
5315         (casesi): Change to match the above insns.  Always enable.
5316
5317         * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
5318         Change to expect the word address of the table, multiply it by 2
5319         here and not in the caller.  Change "adiw" to faster "inc".
5320
5321 2000-11-14  Neil Booth  <neilb@earthling.net>
5322
5323         * cppexp.c (parse_defined): Call cpp_get_token not
5324         _cpp_get_token.
5325         (lex): Similarly.
5326         * cpplex.c (cpp_output_line): Similarly.
5327         * cpplib.c (glue_header_name, do_line, do_ident,
5328         parse_answer, parse_assertion): Similarly.
5329         (_cpp_handle_diretive): Don't save to lookaheads
5330         when processing directives.
5331         * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
5332         _cpp_get_token.
5333         (funlike_invocation_p): Don't save to lookaheads
5334         when pre-expanding arguments.
5335         (_cpp_get_token): Delete.
5336         (cpp_get_token): Merge contents of _cpp_get_token.
5337
5338 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
5339
5340         * builtins.c (expand_builtin_setjmp): Set
5341         current_function_calls_setjmp.
5342         (expand_builtin_longjmp): Set current_function_calls_longjmp.
5343
5344         * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
5345         (do_builtin_setjmp_setup): New insn.
5346
5347 Tue Nov 14 12:34:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5348
5349         * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
5350         (int_fits_type_p): For variable bounds, call force_fit_type.
5351
5352 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
5353
5354         * varasm.c (struct deferred_string): New structure.
5355         (const_str_htab): New variable.
5356         (STRHASH): New macro.
5357         (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
5358         constr_str_htab_eq, const_str_htab_del): New functions.
5359         (output_constant_def): Add DEFER argument, defer string
5360         constants until mark_constant_pool time if requested.
5361         (mark_constant_pool): Walk the insn chain even if const_str_htab is
5362         not empty.
5363         (mark_constants): If a SYMBOL_REF for deferred string is found,
5364         output it and remove from hash table.
5365         (output_addressed_constants): Set DEFER to 0 in call to
5366         output_constant_def.
5367         * rtl.h (STRING_POOL_ADDRESS_P): Define.
5368         (output_constant_def): Adjust prototype.
5369         * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
5370
5371 2000-11-14  Chandrakala Chavva  <cchavva@redhat.com>
5372
5373         * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
5374         signed types if flag_trapv.
5375
5376 2000-11-14  Zack Weinberg  <zack@wolery.stanford.edu>
5377
5378         * tradcpp.c, tradcif.y: Update FSF mailing address, delete
5379         reference to GPLv1.
5380
5381 2000-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
5382
5383         * c-common.h (CTI_C_SIZE_TYPE): Update comment.
5384
5385 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
5386
5387         * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
5388         to array of pool_constnat pointers.
5389         (struct pool_constant): Add next_sym and label members.
5390         (struct pool_sym): Remove.
5391         (init_varasm_status): Change pool_sym into pool_constant.
5392         (mark_pool_constant): Mark pc->label string as well.
5393         (mark_pool_sym_hash_table): Remove.
5394         (mark_varasm_status): Remove it from caller as well.
5395         (free_varasm_status): Don't free pool_sym structures.
5396         (force_const_mem): Don't allocate pool_sym structure, instead
5397         fill pool->label and chain it into rtx_sym hash table.
5398         (find_pool_constant, mark_constant_pool): Use pool_constant instead
5399         of pool_sym.
5400
5401 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
5402
5403         * reload1.c (emit_input_reload_insns): Honour forcing of constants
5404         into memory by PREFERRED_RELOAD_CLASS NO_REGS.
5405
5406 2000-11-14  Michael Matz  <matzmich@cs.tu-berlin.de>
5407
5408         * dominance.c: New file.
5409         * Makefile.in (OBJS): Add dominance.o.
5410
5411         * flow.c (compute_flow_dominators): Remove.
5412         (compute_immediate_dominators): Remove.
5413         (compute_immediate_postdominators): Remove.
5414         * basic-block.h: Remove their prototypes.
5415         (calculate_dominance_info): Add prototype.
5416
5417         * dce.c (eliminate_dead_code): Change calls to above functions.
5418         Don't compute dominators but only immediate dominators.
5419         * flow.c (flow_loops_find): Change callers.
5420         * gcse.c (compute_code_hoist_data): Likewise.
5421         * haifa-sched.c (schedule_insns): Likewise.
5422         * ifcvt.c (if_convert): Likewise.
5423         * ssa.c (convert_to_ssa): Likewise, and only compute immediate
5424         dominators.
5425
5426 2000-11-14  Richard Henderson  <rth@redhat.com>
5427
5428         * stmt.c (warn_if_unused_value): Don't warn if the expression
5429         has side effects.
5430
5431         * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
5432         (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
5433
5434 2000-11-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5435
5436         * loop.c (basic_induction_var): Revert accidental checkin.
5437
5438 2000-11-13  Hans-Peter Nilsson  <hp@axis.com>
5439
5440         * c-lex.c (cb_leave_file): Harmonize conditions and order of
5441         statements to those of process_directive for (action == act_pop).
5442
5443         * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
5444
5445         * local-alloc.c (equiv_init_movable_p): References to CC0 are not
5446         movable.
5447
5448 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5449
5450         * c-parse.in (stmts_and_decls): Deprecate use of label at end of
5451         compound statement.
5452
5453 2000-11-13  Neil Booth  <neilb@earthling.net>
5454
5455         * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
5456         cases return without MI check.
5457         * cpplib.c (do_diagnostic): Take boolean of whether to
5458         print the directive name.
5459         (do_error, do_warning): Update.
5460         (do_pragma_dependency): Use it.
5461         * cpplib.h (VARARGS_FIRST): Delete.
5462         (struct cpp_token): Delete integer.
5463         * cppmacro.c (enter_macro_context): Move disabled check
5464         to _cpp_get_token.
5465         (_cpp_get_token): Simplify into a single loop.
5466
5467 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
5468
5469         * configure.in:  Use 'test -f' not '[ -e'.
5470         * configure: Regenerated.
5471
5472 2000-11-13  DJ Delorie  <dj@redhat.com>
5473
5474         * config/mn10300/mn10300.md (store_movm): Note which registers are
5475         really used or clobbered.
5476
5477 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5478
5479         * c-parse.in (ends_in_label): Remove from %union and %type.
5480         (decls, stmts, lineno_stmt_or_labels, xstmts,
5481         lineno_stmt_or_label, stmt_or_label): Remove.
5482         (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
5483         lineno_stmt_decl_or_labels_ending_decl,
5484         lineno_stmt_decl_or_labels_ending_label,
5485         lineno_stmt_decl_or_labels_ending_error,
5486         lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
5487         lineno_stmt, lineno_label): New.
5488         (compstmt_nostart): Use compstmt_contents_nonempty.
5489
5490 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5491
5492         * c-common.c (boolean_increment): New function.
5493         * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
5494         CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
5495         (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
5496         (boolean_increment): Declare.
5497         * c-convert.c (convert): Allow for BOOLEAN_TYPE.
5498         * c-decl.c (init_decl_processing): Create boolean nodes.
5499         (finish_struct): Allow for _Bool bitfields.
5500         * c-parse.in (reswords): Add _Bool.
5501         (rid_to_yy): Allow for RID_BOOL.
5502         * c-typeck.c (default_conversion): Make booleans promote to int.
5503         (convert_arguments, build_unary_op, build_modify_expr,
5504         convert_for_assignment): Allow for booleans.
5505         * ginclude/stdbool.h: Make conforming to C99.
5506
5507 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5508
5509         * c-parse.in (c99_block_start, c99_block_end,
5510         c99_block_lineno_labeled_stmt): New.
5511         (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
5512         (stmt): Split off selection and iteration statements into...
5513         (select_or_iter_stmt): New.  Use c99_block_lineno_labeled_stmt.
5514
5515 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5516
5517         * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
5518         -time): Update.
5519
5520 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
5521
5522         * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
5523         Rewrite to avoid use of match_dup.  Don't try to tie registers that
5524         are not in the same mode.
5525
5526 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5527
5528         * invoke.texi: Update lists of languages and suffixes supported.
5529
5530 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5531
5532         * configure.in: Take toplevel configure arguments from the
5533         environment to create configargs.h and substitute
5534         gcc_config_arguments, taking account of any existing configargs.h
5535         if reconfiguring.
5536         * configure: Regenerate.
5537         * gccbug.in: Include toplevel configure arguments in gccbug.
5538
5539 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
5540
5541         * varasm.c (struct constant_descriptor): Put CONTENTS inside a
5542         union to make it well-aligned.  Update all uses.
5543
5544 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5545
5546         * c-parse.in (initelt): Give appropriate pedantic warnings,
5547         depending on flag_isoc99, for non-ISO syntax and for C99 syntax
5548         outside C99 mode.
5549         (designator): If pedantic, pedwarn for a designator specifying a
5550         range of elements.
5551         * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
5552         these cases.
5553         * extend.texi: Document the C99 syntax as the preferred syntax,
5554         and the pre-2.5 syntax as obsolete.  Mention use of designator
5555         lists for nested subobjects.
5556
5557 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5558
5559         * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
5560         Add ATTRIBUTE_PRINTF.
5561         * tradcpp.c (v_message, warning, error, fatal, error_with_line):
5562         Add ATTRIBUTE_PRINTF*.
5563
5564 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5565
5566         * function.c (assign_parms): When calling put_var_into_stack, make
5567         sure that there are no hidden pending sequences.
5568
5569 2000-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5570
5571         * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
5572         BUILT_IN_RINDEX.  Add missing checks for BUILT_IN_STRCHR and
5573         BUILT_IN_STRRCHR.
5574
5575         * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
5576
5577         * c-common.c (c_common_nodes_and_builtins): Declare index and
5578         rindex when nonansi builtins are allowed.
5579
5580         * extend.texi (index, rindex): Document new builtins.
5581
5582 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5583
5584         * configure.in: Turn on libstdc++ V3 by default.
5585         * configure: Regenerated.
5586
5587         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
5588
5589 2000-11-12  Jakub Jelinek  <jakub@redhat.com>
5590
5591         * reload1.c (set_label_offsets): Go inside of PARALLELs.
5592
5593 2000-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5594
5595         * invoke.texi: Clean up option summary.
5596
5597 2000-11-12  Nick Clifton  <nickc@redhat.com>
5598
5599         * config/mcore/mcore.c: Fix comment formating, and adjust sequence
5600         of #include headers.
5601
5602 2000-11-12  Marc Espie <espie@openbsd.org>
5603
5604         * configure.in: Fix filds test.
5605         * configure: Regen.
5606
5607 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5608
5609         * jump.c (delete_computation): Don't assume that just becuase an
5610         instruction sets a register, that register is dead.
5611
5612 2000-11-12  Neil Booth  <neilb@earthling.net>
5613
5614         * cppexp.c: Don't worry about pfile->skipping.
5615         * cpplib.c (struct if_stack): Make was_skipping unsigned char.
5616         (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
5617         for handled directives.
5618         (skip_rest_of_line): Use _cpp_lex_token after popping contexts
5619         and releasing lookaheads.
5620         (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
5621         (do_else, do_elif, push_conditional): Update logic.
5622         (do_endif): Set buffer->was_skipping rather than pfile->skipping.
5623         (unwind_if_stack): Inline into cpp_pop_buffer.
5624         (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
5625         * cpplex.c (_cpp_lex_token): Clear skipping on EOF.  Handle
5626         multiple-include optimisation.
5627         * cpplib.h (struct cpp_buffer): New member was_skipping.
5628         * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping.  This
5629         works because skipping == 0 in directives.
5630         (_cpp_release_lookahead): Renamed from release_lookahead.
5631         (cpp_get_token): No need to check skipping as _cpp_get_token does
5632         this for us.  No need to handle MI optimisation.
5633
5634 Sat Nov 11 21:14:02 2000  Mark P Mitchell  <mark@codesourcery.com>
5635
5636         * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
5637         declarations that use `__MATH_EXCEPTION' in their prototypes, too.
5638         * fixinc/fixincl.x: Regenerated.
5639
5640 2000-11-11  Bruce Korb  <bkorb@gnu.org>
5641
5642         * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
5643         (avoid_wchar_t_type): ditto
5644         * fixinc/fixinc.irix: obsoleted
5645
5646 2000-11-11  Zack Weinberg  <zack@wolery.stanford.edu>
5647
5648         * configure.in: Don't add $outputs to all_lang_makefiles.  Add
5649         $srcdir/$s/Makefile.in if it exists.
5650         * configure: Regenerate.
5651
5652 Sat Nov 11 18:41:20 2000  Mark P Mitchell  <mark@codesourcery.com>
5653
5654         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
5655
5656 2000-11-11  Jason Merrill  <jason@redhat.com>
5657
5658         * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
5659         give the parm a register and then call put_var_into_stack.
5660         * stmt.c (expand_decl): Likewise.
5661
5662 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5663
5664         * gcc.texi: Adjust wording.
5665
5666 2000-11-11  Mark Mitchell  <mark@codesourcery.com>
5667
5668         * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
5669         * fininc/fixincl.x: Regenerated.
5670
5671 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5672
5673         * invoke.texi: Correct spelling of -foptimize-register-move.
5674
5675 2000-11-11  Neil Booth  <neilb@earthling.net>
5676
5677         Remove CPP_PLACEMARKERs.
5678
5679         * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
5680         * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
5681         * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
5682                    Similarly.
5683         * cpplib.h: Remove CPP_PLACEMARKER.
5684         (struct lexer_state): Rename skip_newlines to next_bol.
5685         * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
5686         Simplify prev_white handling as a result.
5687         (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
5688         (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
5689         (parse_args): Similarly.  Update argument count tests.
5690         (enter_macro_context): Return 2 to indicate an empty macro.
5691         (replace_args): Don't bother pre-expanding an empty argument.
5692         Handle placemarkers and ## extension during pre-expansion.
5693         (cpp_get_token): Handle empty macro expansions.  Don't worry
5694         about CPP_PLACEMARKERs.
5695         (_cpp_create_definition): Empty macros are now empty.
5696         (cpp_macro_defintion): Don't special case empty macros.
5697         * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
5698         * c-lex.c: Similarly.
5699
5700 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5701
5702         * gcc.texi, invoke.texi: Add new section discussing language
5703         standards; link to it where appropriate; refer to ISO C instead of
5704         ANSI C.
5705
5706 2000-11-11  Alexandre Oliva  <aoliva@redhat.com>
5707
5708         * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
5709         into account.
5710
5711         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
5712         modes.
5713
5714 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5715
5716         * gcc.texi, gcov.texi: Update dates and version numbers.
5717
5718 2000-11-10  Zack Weinberg  <zack@wolery.stanford.edu>
5719
5720         * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.  Look for
5721         flex and bison, specifically, first in a unified build and
5722         then installed on the system.
5723         * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@.  Rename
5724         LEXFLAGS to FLEXFLAGS.  Adjust ORDINARY_FLAGS_TO_PASS to
5725         match.
5726
5727         (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
5728         cppdefault.o): Remove pointless sed munging of source file
5729         name.
5730
5731 2000-11-10  Bernd Schmidt  <bernds@redhat.co.uk>
5732
5733         * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
5734         for address reloads.  Push replacements for REG_INC notes.
5735         (regno_clobbered_p): New arg SETS.  Examine SETs if it's nonzero.  All
5736         callers changed.
5737         * reload1.c (choose_reload_regs): Registers set in the insn can't be
5738         used for RELOAD_OTHER reloads.
5739
5740 2000-11-10  Mark Mitchell  <mark@codesourcery.com>
5741
5742         * c-dump.h: New file.
5743
5744 2000-11-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5745
5746         * alpha.c (check_float_value): Use memcpy, not bcopy.
5747         * arm.c (output_move_double): Likewise.
5748         * arm.md: Likewise.
5749         * m88k.c (legitimize_operand): Likewise.
5750         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
5751         * m88k.md: Likewise.
5752         * mips.c (override_options): Likewise.
5753         * mips.md: Likewise.
5754         * romp.c (output_fpops): Likewise.
5755         * rs6000.c (rs6000_override_options): Likewise.
5756         * sh.md: Likewise.
5757         * vax.c (check_float_value): Likewise.
5758
5759         * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
5760         * expmed.c (synth_mult): Likewise.
5761         * final.c (add_bb_string): Likewise.
5762         * genattr.c (main): Likewise.
5763         * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
5764         Likewise.
5765         * jump.c (thread_jumps): Likewise.
5766         * prefix.c (save_string): Likewise.
5767         * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
5768         * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
5769         * reload1.c (reload, eliminate_regs): Likewise.
5770
5771 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5772
5773         * gcc.texi (Service): Update to reflect current practice and
5774         location of the GNU service directory.
5775
5776 2000-11-09  Bernd Schmidt  <bernds@redhat.co.uk>
5777
5778         * regrename.c (build_def_use): Mark contents of REG_INC notes as
5779         needing replacement.
5780
5781         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
5782         a no-op move if regs are equal.
5783         * toplev.c (rest_of_compilation): Do the noop moves elimination pass
5784         when calling jump after post-reload splitting.
5785
5786 2000-11-09  Jan van Male  <jan.vanmale@fenk.wau.nl>
5787
5788         * c-tree.texi: Fix typos.
5789         * extend.texi: Likewise
5790         * gcov.texi: Likewise
5791         * rtl.texi: Likewise
5792         * tm.texi: Likewise
5793
5794 2000-11-09  Hans-Peter Nilsson  <hp@axis.com>
5795
5796         * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
5797         in_system_header and flags[1] before dereferencing flags[2].
5798
5799 2000-11-09  Matthew Hiller <hiller@redhat.com>
5800
5801         * reload1.c (reload_combine): Fixed calculation of
5802         first_index_reg, last_index_reg.
5803
5804 2000-11-09  Mark Mitchell  <mark@codesourcery.com>
5805
5806         * c-dump.c (dequeue_and_dump): Dump function bodies.
5807
5808         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
5809         (c-dump.o): New target.
5810         * c-common.h (flag_dump_translation_unit): New variable.
5811         (C_TYPE_QUALS): New macro.
5812         (strip_array_types): New function.
5813         (DECL_C_BIT_FIELD): New macro.
5814         (SET_DECL_C_BIT_FIELD): Likewise.
5815         (CLEAR_DECL_C_BIT_FIELD): Likewise.
5816         (dump_info_p): New typedef.
5817         (dump_tree_fn): Likewise.
5818         (lang_dump_tree): New variable.
5819         (dump_node_to_file): New function.
5820         * c-common.c (flag_dump_translation_unit): Define it.
5821         (strip_array_types): New function.
5822         * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
5823         * c-lang.c (finish_file): Call dump_node_to_file if
5824         flag_dump_translation_unit.
5825         * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
5826         * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
5827         * c-dump.c: New file.
5828
5829 2000-11-09  Christopher Faylor <cgf@cygnus.com>
5830
5831         * config/i386/cygwin.h: Add mingw startfile prefix.
5832
5833 2000-11-09  Richard Henderson  <rth@redhat.com>
5834
5835         * flow.c (invalidate_mems_from_set): Split out from ...
5836         (mark_set_1): ... here.
5837         (try_pre_increment_1): Use it.  Use propagate_block_delete_insn
5838         instead of turning insn into a NOTE_INSN_DELETED.
5839
5840 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5841
5842         * extend.texi, invoke.texi: Move documentation of builtin versions
5843         of C library functions to one place and update.
5844
5845 2000-11-09  Richard Henderson  <rth@redhat.com>
5846
5847         * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
5848         the types themselves to discover type equivalence.
5849
5850 2000-11-09  Mike Stump  <mrs@wrs.com>
5851
5852         * Makefile.in (distclean): Remove a few extra leftovers.
5853
5854 2000-11-09  Richard Henderson  <rth@redhat.com>
5855
5856         * recog.c (validate_replace_rtx_1): Consider subregs when
5857         replacing a register with a constant inside a sign/zero_extend.
5858
5859         * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5860
5861 2000-11-09  Geoffrey Keating  <geoffk@redhat.com>
5862
5863         * c-decl.c (finish_struct): When a structure is completed,
5864         check all its variant types for completeness.
5865
5866 2000-11-09  Neil Booth  <neilb@earthling.net>
5867
5868         * cpphash.c: Move cpp_defined here from cpplib.c.
5869         * cpplib.c: Update comments, move cpp_defined to cpphash.c.
5870         * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
5871         * cppmacro.c (cpp_get_token): Update comments, no need now
5872         to catch the CPP_EOF meaning EOL case.
5873
5874 2000-11-08  Geoffrey Keating  <geoffk@redhat.com>
5875
5876         * config/sparc/sparc.c (sparc_va_arg): When the required alignment
5877         is more than that provided, copy to a temporary.
5878
5879 2000-11-09  Alexandre Oliva  <aoliva@redhat.com>
5880
5881         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
5882         interpreting $out as a macro assignment.
5883         * Makefile.in (T_TARGET): New auxiliary macro and target.
5884         (all): Add a target right in the beginning, so that we don't build
5885         T_TARGET by default.
5886
5887 2000-11-09  Graham Stott  <grahams@redhat.com>
5888
5889         * config/i386/i386.md (mmx_pinsrw): Output operands in correct
5890         order for -mintel-syntax.  Remove comment now that the operand
5891         order has been checked.
5892         (mmx_pextrw): Likewise.
5893         (mmx_pshufw): Likewise.
5894
5895 2000-11-09  Jakub Jelinek  <jakub@redhat.com>
5896
5897         * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
5898         (c_getstr): New function.
5899         (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
5900         If both arguments are constant string, optimize out.
5901         (expand_builtin_strchr, expand_builtin_strrchr): New functions.
5902         (expand_builtin_strpbrk): Use c_getstr, do nothing if
5903         -fcheck-memory-usage.
5904         (expand_builtin_fputs): Likewise.
5905         (expand_builtin_strcmp): Add MODE argument.
5906         Use even if !HAVE_cmpstrsi.
5907         Optimize the case when both arguments are constant strings.
5908         (expand_builtin): Adjust expand_builtin_strcmp caller.
5909         Call expand_builtin_strchr and expand_builtin_strrchr.
5910         * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
5911         builtins.
5912         * builtins.def (BUILT_IN_STRRCHR): Add.
5913
5914 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5915
5916         * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
5917
5918 2000-11-09  Joseph S. Myers  <jsm28@cam.ac.uk>
5919
5920         * calls.c (expand_call, emit_library_call_value_1), collect2.c
5921         (scan_prog_file), config/a29k/a29k.c (print_operand),
5922         config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
5923         instead of bcopy ().
5924         * real.h: Use memcmp () instead of bcmp ().
5925         * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
5926         (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
5927         ultrasparc_sched_init, ultrasparc_sched_reorder),
5928         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
5929         instead of bzero ().
5930         * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
5931         instead of rindex ().
5932         * configure.in: Don't check for bzero, bcmp, index or rindex.
5933         * configure, config.in: Regenerate.
5934         * system.h: Don't include declarations for bzero, bcmp, index or
5935         rindex.
5936         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
5937         bzero, bcmp, index or rindex.
5938
5939 Wed Nov  8 21:58:20 2000  Christopher Faylor <cgf@cygnus.com>
5940
5941         * config/i386/cygwin.h: Add -no-win32 switch.  Separate -mno-cygwin
5942         include and library paths from -mcygwin case.  Parameterize some
5943         declarations to avoid warnings.  Use standard locations for include and
5944         lib dirs.
5945
5946 2000-11-08  Nick Clifton  <nickc@redhat.com>
5947
5948         * config/arm/arm.md (mulsidi3adddi): Change output operand
5949         constraint from "=&" to "+&".
5950         (umulsidi3adddi): Change output operand constraint from "=&" to
5951         "+&".
5952
5953 2000-11-08  Richard Henderson  <rth@redhat.com>
5954
5955         * flow.c (init_propagate_block_info): Protect the rtx stored in
5956         mem_set_list from modification by find_auto_inc.
5957         (mark_set_1): Likewise.
5958
5959 2000-11-08  Neil Booth  <neilb@earthling.net>
5960
5961         Move directive handling into the lexer itself.
5962
5963         * cpplex.c (_cpp_lex_token): Handle directives directly.
5964         In the case of a directive interrupting a function-like
5965         macro invocation, use extra_char since read_ahead is
5966         used to store the '#'.  Return a CPP_EOF in this case.
5967         * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
5968         (cpp_get_token): Don't handle directives here.
5969         * cpplib.h: Remove CPP_DHASH token type.
5970
5971 Wed Nov  8 21:53:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5972
5973         * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
5974         formed using PRE_MODIFY too.
5975
5976 2000-11-08  Mark Mitchell  <mark@codesourcery.com>
5977
5978         * c-tree.texi (VAR_DECL): Describe representation of GCC's
5979         extension for placing variables in particular registers.
5980
5981         * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
5982         unprototyped C functions with no parameters.
5983
5984 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5985
5986         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
5987         before passing to fprintf.
5988
5989 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5990
5991         * function.c (expand_function_start): Cast GET_MODE_SIZE to
5992         HOST_WIDE_INT before negating it.
5993
5994 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5995
5996         * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
5997         passed in multiple non-contiguous locations.
5998
5999 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6000
6001         * README.gnat: Remove file.
6002
6003 2000-11-08  Alexandre Oliva  <aoliva@redhat.com>
6004
6005         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
6006         in-place.
6007
6008 2000-11-07  Richard Henderson  <rth@redhat.com>
6009
6010         * dwarfout.c (INSN_LABEL_FMT): Remove.
6011         (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
6012         (dwarfout_label): Remove.
6013         * dwarfout.h: Remove it's prototype.
6014         * dwarf2out.c (INSN_LABEL_FMT): Remove.
6015         (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
6016         (dwarf2out_label): Remove.
6017         * dwarf2out.h: Remove it's prototype.
6018         * final.c (final_scan_insn): Don't call dwarf[2]out_label.
6019
6020 2000-11-07  Richard Henderson  <rth@redhat.com>
6021
6022         * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
6023         search on the unwind region section.
6024
6025         * config/ia64/ia64.md (movbi): Add r/r alternative.
6026         (cmovdi_internal_astep): Describe all combinations of register
6027         classes for sources & destinations; remove matching constraints.
6028         (cmovdi_internal): Likewise.
6029
6030         * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
6031
6032 2000-11-07  Richard Henderson  <rth@redhat.com>
6033
6034         * c-lang.c (start_cdtor, finish_cdtor): New functions.
6035         (finish_file): Use them in building constructor/destructor functions.
6036
6037         * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
6038         LD_FINI_SWITCH): Move ...
6039         * config/alpha/osf.h: ... here.
6040         * config/alpha/alpha-interix.h: Don't undef them.
6041
6042 2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>
6043
6044         * config/mips/t-iris6 (FPBIT): New.  Added so that __unorddf2 is
6045         included in libgcc.a.
6046         (DPBIT): Likewise.
6047         (dp-bit.c): Likewise.
6048         (fp-bit.c): Likewise.
6049
6050 2000-11-07  Nick Clifton  <nickc@redhat.com>
6051
6052         * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
6053         (INTERNAL_ASM_OP): Add missing tab.
6054
6055 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6056
6057         * alias.c (init_alias_analysis), calls.c (expand_call,
6058         emit_library_call_value_1), combine.c (init_reg_last_arrays),
6059         cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
6060         (init_output_buffer, set_diagnostic_context), dwarf2out.c
6061         (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
6062         (init_emit_once), fold-const.c (mul_double, div_and_round_double),
6063         function.c (assign_parms), gcse.c (compute_can_copy,
6064         alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
6065         compute_hash_table, compute_set_hash_table,
6066         compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
6067         (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
6068         clear_units, schedule_block), integrate.c (initialize_for_inline,
6069         expand_inline_function), jump.c (thread_jumps), local-alloc.c
6070         (local_alloc), loop.c (combine_movables, count_loop_regs_set,
6071         load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
6072         regclass.c (init_reg_sets, init_reg_sets_1, regclass,
6073         record_reg_classes, allocate_reg_info), reload.c
6074         (get_secondary_mem, remove_address_replacements, find_reloads),
6075         reload1.c (reload, set_initial_label_offsets, finish_spills,
6076         reload_as_needed, choose_reload_regs_init,
6077         reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
6078         (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
6079         (rename_registers), stmt.c (expand_end_case), unroll.c
6080         (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
6081         () instead of bzero ().
6082
6083 2000-11-07  Neil Booth  <neilb@earthling.net>
6084
6085        * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
6086
6087 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6088
6089         * c-common.c (combine_strings): Only warn about long strings for C.
6090
6091 Tue Nov  7 19:44:30 2000  J"orn Rennecke <amylaar@redhat.com>
6092
6093         * combine.c (distribute_notes): Fix typo in last change.
6094
6095 2000-11-07  Geoff Keating  <geoffk@redhat.com>
6096
6097         * config/rs6000/rs6000.md (movdi_internal32+1): Use
6098         operand_subreg_force rather than gen_rtx_SUBREG.
6099         (movdi_internal32+2): Likewise.
6100
6101 2000-11-07  Philip Blundell  <philb@gnu.org>
6102
6103         * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
6104         * config/arm/linux-aout.h: Likewise.
6105         * configure: Regenerate.
6106
6107 2000-11-07  Philipp Thomas  <pthomas@suse.de>
6108
6109         * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
6110         accepted my the gettext maintainer.
6111
6112 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6113
6114         * builtins.c (expand_builtin_strpbrk): New function.
6115         (expand_builtin): Handle BUILT_IN_STRPBRK.
6116
6117         * builtins.def (BUILT_IN_STRPBRK): New entry.
6118
6119         * c-common.c (c_common_nodes_and_builtins): Declare builtin
6120         strpbrk.
6121
6122 2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
6123
6124         * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
6125         * POTFILES.in: Add config/alpha/freebsd.h
6126         * configure.in: Add alpha*-freebsd support.
6127         * configure: Regenerate.
6128
6129 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6130
6131         * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
6132         copy of ptr_type_node rather than ptr_type_node itself.
6133
6134 Tue Nov  7 06:29:24 2000  J"orn Rennecke <amylaar@redhat.com>
6135
6136         * combine.c (recog_for_combine): Allocate uninitialized vector with
6137         rtvec_alloc.
6138         * recog.c (apply_change_group): Likewise.
6139
6140 Tue Nov  7 06:24:02 2000  J"orn Rennecke <amylaar@redhat.com>
6141
6142         * flow.c (verify_local_live_at_start): Back out last change.
6143         * combine.c (distribute_notes): When parts of a hard reg are
6144         neither set nor referenced in PLACE, search backwards for a
6145         place to put a REG_UNUSED note; if none found, ask for flow
6146         info refresh.
6147
6148 Mon Nov  6 20:08:13 2000  J"orn Rennecke <amylaar@redhat.com>
6149
6150         * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
6151         with (clobber (match_scratch...)).
6152
6153 2000-11-06  Neil Booth  <neilb@earthling.net>
6154
6155         * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
6156         error status.
6157
6158 2000-11-06  Neil Booth  <neilb@earthling.net>
6159
6160         * tradcpp.c (special_symbol): Assign an null string rather
6161         than writing to an unallocated buffer.
6162
6163 2000-11-06  Neil Booth  <neilb@earthling.net>
6164
6165         * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
6166         CPP_MACRO_ARG case.
6167
6168 2000-11-06  Neil Booth  <neilb@earthling.net>
6169
6170         * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
6171         tok.val.arg_no as appropriate.
6172         * cppexp.c (lex): Similarly.
6173         * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
6174         cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
6175         * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
6176         cpp_macro_definition): Similarly.
6177         * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
6178
6179 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
6180
6181         * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
6182         operands[1] is constant, calculate the sum and generate movdi.
6183         (addsi3): Similarly.  Use SImode in call to arith_4096_operand.
6184         (subsi3): Use SImode in call to arith_4096_operand.
6185
6186 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
6187
6188         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
6189         adjust %o1, not %o0 if the return type is large structure.
6190
6191 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
6192
6193         * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
6194         update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
6195
6196 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz  <marekm@linux.org.pl>
6197
6198         * expmed.c (expand_divmod): For signed divide by 2, prefer
6199         a branch and fewer shifts if branches are very cheap.
6200
6201 2000-11-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6202
6203         * Makefile.in: Remove all targets related to building
6204         distributions and diffs, or INSTALL.
6205         * INSTALL, install1.texi: Remove.
6206         * configure.in: Remove mention of distdir.
6207         * configure: Regenerate.
6208         * objc/Make-lang.in: Remove mention of distdir.
6209
6210 2000-11-04  Neil Booth  <neilb@earthling.net>
6211
6212         * cpp.texi: Update for _Pragma.
6213
6214 2000-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
6215
6216         * gcc.texi (Contributing): Update URL for projects web page.
6217
6218 2000-11-04  Neil Booth  <neilb@earthling.net>
6219
6220         * cpplex.c (parse_string): Don't allow multiline strings in
6221         #include family directives.
6222
6223 2000-11-04  Neil Booth  <neilb@earthling.net>
6224
6225         * cpplib.c (do_line): Only warn pedantically if not reading
6226         preprocessed input.
6227
6228 2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
6229
6230         * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
6231         RETURN_POPS_ARGS().
6232
6233 2000-11-03  Zack Weinberg  <zack@wolery.stanford.edu>
6234
6235         * builtins.c (expand_builtin_strlen): Remove unused mode
6236         argument.
6237         * gcc.c (process_command): Remove unused variable.
6238         * fold-const.c: Include expr.h.
6239         * recog.c: Include reload.h.
6240         * Makefile.in (recog.o, fold-const.o): Update deps.
6241
6242 2000-11-02  Geoffrey Keating  <geoffk@cygnus.com>
6243
6244         * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
6245
6246 Fri Nov  3 13:41:04 2000  Mark P Mitchell  <mark@codesourcery.com>
6247
6248         * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
6249         handling.
6250         (STARTFILE_SPEC): Likewise.
6251         (LINK_SPEC): Likewise.
6252
6253 2000-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6254
6255         * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
6256         (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
6257         (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
6258
6259 2000-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
6260
6261         * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
6262         (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
6263         perm_calloc, get_identifier, maybe_get_identifier,
6264         real_value_from_int_cst, simple_cst_equal), varasm.c
6265         (assemble_name, assemble_real, immed_real_const_1,
6266         compare_constant_1, decode_rtx_const, output_constant_pool): Use
6267         strrchr () instead of rindex ().  Use memcmp () instead of bcmp
6268         ().  Use memcpy () instead of bcopy ().  Use memset () instead of
6269         bzero ().
6270
6271 2000-11-03  Nathan Sidwell  <nathan@codesourcery.com>
6272
6273         * cppfiles.c (open_file): If already read, then don't reopen.
6274         Immediately close an empty file.
6275
6276 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
6277
6278         * expr.h (fold_builtin): Move declaration...
6279         * tree.h (fold_builtin): ... here.
6280
6281 Fri Nov  3 05:41:07 2000  J"orn Rennecke <amylaar@redhat.com>
6282
6283         * flow.c (verify_local_live_at_start): Allow hard regs to die.
6284
6285 2000-11-02  Neil Booth  <neilb@earthling.net>
6286
6287 config:
6288         * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
6289         alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
6290         alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
6291         alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
6292         arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
6293         arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
6294         c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
6295         elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
6296         i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
6297         i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
6298         i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
6299         i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
6300         i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
6301         i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
6302         i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
6303         i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
6304         i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
6305         i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
6306         i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
6307         i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
6308         i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
6309         ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
6310         m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
6311         m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
6312         m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
6313         m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
6314         m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
6315         m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
6316         m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
6317         m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
6318         m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
6319         m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
6320         mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
6321         mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
6322         mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
6323         mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
6324         mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
6325         mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
6326         ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
6327         ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
6328         pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
6329         pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
6330         romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
6331         rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
6332         rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
6333         rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
6334         sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
6335         sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
6336         sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
6337         sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
6338         sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
6339         sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
6340         sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
6341         v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
6342         vax/vaxv.h, vax/vms.h, we32k/we32k.h
6343
6344         Replace -A() with -A=, the new assertion syntax.
6345
6346 Thu Nov  2 21:52:35 2000  J"orn Rennecke <amylaar@redhat.com>
6347
6348         * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
6349         elim_i1.
6350         In REG_DEAD handling: When handling parts of multi-hard-reg hard
6351         registers, increment the loop counter by the size of the parts;
6352         use recursion to handle individual parts.
6353
6354 2000-11-02  Neil Booth  <neilb@earthling.net>
6355
6356         * configure.in: Make integrated CPP the default.
6357         * configure: Regenerate.
6358
6359 Thu Nov  2 19:20:12 2000  J"orn Rennecke <amylaar@redhat.com>
6360
6361         * reload.c (find_equiv_reg): Test all hard registers for membership
6362         in the requested class.
6363
6364 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
6365
6366         * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
6367         process_command, main), gcov.c (open_files, output_data), tlink.c
6368         (frob_extension, scan_linker_output), toplev.c
6369         (file_name_nondirectory): Use strchr () and strrchr () instead of
6370         index () and rindex ().
6371
6372 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
6373
6374         * c-common.c (get_flag_spec, check_format_info_main,
6375         check_format_types): Use strchr () instead of index ().  Compare
6376         against error_mark_node instead of comparing the TREE_CODE against
6377         ERROR_MARK.
6378
6379 2000-11-02  Zack Weinberg <zackw@Stanford.EDU>
6380
6381         Integrated CPP.
6382
6383         * c-lex.c (init_c_lex): Update cpp_start_read call.
6384         (cb_ident): Update for new callback prototype.
6385         (cb_def_pragma): Update for new cpp_get_token prototype.
6386         (c_lex): Similarly.  Use cpp_get_line.
6387
6388         * c-parse.in (finish_parse): Update for new cpp_finish
6389         prototype.
6390
6391         * cp/lex.c (finish_parse): Similarly.
6392
6393 2000-11-01  Geoff Keating  <geoffk@cygnus.com>
6394
6395         * machmode.def: Add V16QImode.
6396
6397 2000-11-01  Richard Henderson  <rth@redhat.com>
6398
6399         * dwarf2out.c (loc_descriptor_from_tree): Check for null result
6400         from rtl_for_decl_location.
6401         (add_location_or_const_value_attribute): Likewise.
6402
6403 2000-11-01  Neil Booth  <neilb@earthling.net>
6404
6405         * cpplib.c (run_directive): Use correct line number for output
6406         of _Pragma.  Remember any in-progress directive.
6407
6408         * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
6409
6410 2000-11-01  Richard Henderson  <rth@redhat.com>
6411
6412         * stmt.c (expand_start_null_loop): Set continue_label.
6413
6414 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
6415
6416         * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
6417         (expand_builtin_constant_p): Move parts of the code into
6418         fold_builtin_constant_p.
6419         (expand_builtin_strlen): Move parts of the code into fold_builtin.
6420         * expr.h (fold_builtin): Declare.
6421         * fold-const.c (fold): Handle builtin calls.
6422
6423         * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
6424
6425 2000-11-01  Richard Henderson  <rth@redhat.com>
6426
6427         * stmt.c (expand_start_null_loop): New.
6428         (expand_end_null_loop): New.
6429         * c-semantics.c (genrtl_do_stmt): Use them.
6430         * tree.h: Declare them.
6431
6432 2000-11-01  Richard Henderson  <rth@redhat.com>
6433
6434         * cppmain.c (scan_buffer): Don't avoid paste for assembly.
6435
6436 2000-11-01  Neil Booth  <neilb@earthling.net>
6437
6438         * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
6439         * cp/spew.c: Similarly.
6440         * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
6441         * cppmacro.c (stringify_arg): Similarly.
6442         * cpplib.h (CPP_BACKSLASH): Delete.
6443
6444 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6445
6446         * builtins.c (expand_builtin_strstr): New function.
6447         (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
6448
6449         * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
6450
6451         * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
6452         and builtin strchr.
6453
6454 2000-10-31  Richard Henderson  <rth@redhat.com>
6455
6456         * config/i386/i386.c (fcmov_comparison_operator): Check for
6457         CCFPmode or CCFPUmode instead of CCmode.
6458         (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
6459         unordered operations as well.
6460
6461 2000-10-31  Richard Henderson  <rth@redhat.com>
6462
6463         * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
6464         of integer_zero_node.
6465
6466 2000-10-31  Richard Henderson  <rth@redhat.com>
6467
6468         * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
6469
6470 2000-10-31  Nick Clifton  <nickc@redhat.com>
6471
6472         * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
6473         -fdata-sections to override the section attribute of a DECL.
6474
6475 2000-10-31  Chris Demetriou  <cgd@sibyte.com>
6476
6477         * libgcc2.c (__shtab): Remove __shtab variable.
6478         * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
6479         * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
6480         members.
6481
6482 2000-10-31  Jim Wilson  <wilson@redhat.com>
6483
6484         * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
6485         * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
6486         * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
6487         instead of ASM_OUTPUT_INTERNAL_LABEL.
6488         (dwarf2out_end_block, dwarf2out_label): Likewise.
6489         * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
6490         * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
6491
6492 2000-10-31  Richard Henderson  <rth@redhat.com>
6493
6494         * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
6495         (size_of_locs): Set it.
6496         (output_loc_operands): Use it to compute branch displacement.
6497         (int_loc_descriptor): New.
6498         (mem_loc_descriptor): Dereference memory in the proper size.
6499         Use DW_OP_plus_uconst when possible.  Use int_loc_descriptor.
6500         (loc_descriptor_from_tree): New.
6501         (rtl_for_decl_location): Break out from ...
6502         (add_location_or_const_value_attribute): ... here.
6503         (add_bound_info): Use loc_descriptor_from_tree.
6504
6505 2000-10-31  Neil Booth  <neilb@earthling.net>
6506
6507         * cpp.texi: Update for new command line assertion syntax.
6508         * cpplib.c (cpp_define): Simplify a bit.
6509         (cpp_assert, cpp_unassert): Use handle_assertion.
6510         (handle_assertion): New function; accept new command line
6511         syntax with '='.
6512         * testsuite/gcc.dg/cpp/assert3.c: New tests.
6513
6514 2000-10-31  Neil Booth  <neilb@earthling.net>
6515
6516         * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
6517         undefined.  Remove #ifdef check.
6518         * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
6519         Define STDC_0_IN_SYSTEM_HEADERS to 1.
6520
6521 2000-10-31  Jan Hubicka  <jh@suse.cz>
6522             Jakub Jelinek  <jakub@redhat.com>
6523
6524         * config/i386/i386.h: Clarify CCNOmode description in comment.
6525         (EXTRA_CC_MODES): Remove CCRCmode.
6526         * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
6527         (put_condition_code, ix86_match_ccmode): Likewise.
6528         (ix86_cc_mode): Likewise.  Fix comment.
6529         (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
6530         * config/i386/i386.md: Add unspec 12 description.
6531         (adddi3 split): Use unspec 12 instead of CCRCmode.
6532         (addsi3_carry_rc): Remove.
6533         (addsi3_cc, addqi3_cc): New patterns.
6534         (addsi_3): Swap operands, match CCZmode.
6535         (addsi_4): Rewritten.
6536         (addsi_5): Renamed from addsi_6.
6537         (addsi_6): Removed.
6538         (addhi_3): Swap operands, match CCZmode.
6539         (addhi_4): Rewritten.
6540         (addhi_5): Renamed from addhi_6.
6541         (addhi_6): Removed.
6542         (addqi_3): Swap operands, match CCZmode.
6543         (addqi_4): Rewritten.
6544         (addqi_5): Renamed from addqi_6.  Use =q constraint for clobber.
6545         (subsi3_carry_rc): Removed.
6546         (iorqi_3): Use =q constraint for clobber.
6547         (xorqi_cc_2): Likewise.
6548         (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
6549         (x86_movsicc_0_m1_rc): Removed.
6550         (cmp?i peepholes): Remove neg.  Use CCGCmode instead of CCRCmode.
6551
6552 2000-10-31  Joseph S. Myers  <jsm28@cam.ac.uk>
6553
6554         * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
6555         and decrement of complex types.
6556
6557 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6558
6559         * builtins.c (expand_builtin_fputs): When deleting NOP calls to
6560         builtin fputs, ensure we still evaluate the stream in case it
6561         has side-effects.
6562
6563 2000-10-31  Jakub Jelinek  <jakub@redhat.com>
6564
6565         * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
6566         to expand_shift.
6567
6568 Tue Oct 31 15:33:27 2000  J"orn Rennecke <amylaar@redhat.com>
6569
6570         * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
6571         (fp_extended_operand, emit_fpscr_use): Likewise.
6572         * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
6573         (fpul_operand): New function.
6574         * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
6575         fp_extended_operand.  Add fpul_operand.
6576         * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
6577         (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
6578         (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
6579         (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
6580         (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
6581         (divdf3_i): Likewise.
6582         (floatsisf2): Likewise.  Use fpul_operand for 'y' operand.
6583         (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
6584         (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
6585         (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
6586         (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
6587
6588 2000-10-31  Bernd Schmidt  <bernds@redhat.co.uk>
6589
6590         * config/i386/i386.c (ix86_init_builtins): Correct return type
6591         building v4hi_ftype_v4hi_int_int tree node.
6592         (ix86_expand_builtin): Use correct operand numbers 0 and 1.
6593         Copy operand 0 into a Pmode register, don't generate a MEM rtx.
6594
6595         * config/i386/i386.md (sse_movntdi): Use mmx register constraint
6596         for operand 1.
6597         (mmx__uavgv8qi3): Correct insn mnemonic.
6598         (mmx_psadbw): Correct insn mnemonic.  Use V8QI mode for operands 1 and 2.
6599         (mmx_punpckhwd): Correct insn mnemonic.
6600         (mmx_punpckhdq): Likewise.
6601         (mmx_punpcklwd): Likewise.
6602         (mmx_punpckldq): Likewise.
6603         (prefetch): Use immediare_operand and 'n' constraint for operand 1.
6604         Renumber case labels to match the _mm_prefetch constants defined in
6605         xmmintrin.h.
6606
6607         * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
6608         if the splitter didn't emit new insns.
6609         Make sure we call cleanup_subreg_operands even when splitting the last
6610         insn in a basic block.
6611
6612         * invoke.texi (Debugging Options): Describe -do.
6613         * toplev.c (enum_dump_file_index): New entry DFI_postreload.
6614         (dump_file): Likewise.
6615         (rest_of_compilation): Split .greg dump into .greg and .postreload.
6616
6617 2000-10-30  Neil Booth  <neilb@earthling.net>
6618
6619         * cppfiles.c (stack_include_file): Check for stacked contexts
6620         here.
6621         * cpphash.h (_cpp_do__Pragma): New prototype.
6622         * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
6623
6624         * cpplex.c (skip_escaped_newlines): Only process trigraphs and
6625         escaped newlines if !(buffer->from_stage3).
6626         (_cpp_lex_token): Warn about missing newlines iff
6627         !buffer->from_stage3.
6628
6629         * cpplib.c (get__Pragma_string, destringize,
6630         _cpp_do__Pragma): New functions.
6631         (run_directive): Set output_line for _Pragma to avoid line
6632         markers in output.  Set from_stage3 and prevent macro expansion
6633         for _Pragma and command-line options.  Check buffer exhaustion.
6634         (cpp_push_buffer): Don't check for stacked macro contexts, as
6635         this is perfectly legitimate for _Pragma.  Move the check to
6636         stack_include_file instead. Set from_stage3 iff buffer is
6637         preprocessed input.
6638
6639         * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
6640         unsigned. New boolean from_stage3.
6641         (struct spec_nodes): Add n__Pragma.
6642
6643         * cppmacro.c (enter_macro_context): Flip sense of return value.
6644         (_cpp_get_token): Handle _Pragma operator.
6645
6646 2000-10-30  Phil Edwards  <pme@sources.redhat.com>
6647
6648         * gcc.texi:  The C++ standard isn't "draft" anymore.
6649
6650 2000-10-30  Mark Mitchell  <mark@codesourcery.com>
6651
6652         * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
6653
6654 2000-10-29  Neil Booth  <neilb@earthling.net>
6655
6656         * cpplib.c (skip_rest_of_line):  Use _cpp_get_token.
6657
6658 2000-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
6659
6660         * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
6661         fixinc/inclhack.def: Change comments mentioning C9X to refer to
6662         C99 instead.
6663
6664         * invoke.texi: Document that -V will only work for very similar
6665         versions of driver and compiler.
6666
6667 2000-10-29  Neil Booth  <neilb@earthling.net>
6668
6669         * cppmacro.c (_cpp_create_definition): Optimize the case of
6670         a macro defined to itself.
6671
6672 2000-10-29  Neil Booth  <neilb@earthling.net>
6673
6674         * cpplex.c (save_comment): Don't store new lines in C++ comments.
6675
6676 2000-10-29  Michael Hayes  <mhayes@redhat.com>
6677
6678         * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
6679
6680 2000-10-28  Geoffrey Keating  <geoffk@cygnus.com>
6681
6682         * cpphash.c (cpp_forall_identifiers): Add context variable
6683         for callback routine.
6684         * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
6685         change.
6686         (main): Call cpp_forall_identifiers with null context.
6687         * cpplib.h (cpp_forall_identifiers): Update prototype.
6688
6689         * cppmain.c: Make `parse_in' and `print' static.
6690
6691 2000-10-28  Alan Modra <alan@linuxcare.com.au>
6692
6693         * c-decl.c (finish_function): Clear c_function_name_declared_p.
6694
6695 2000-10-28  Richard Henderson  <rth@redhat.com>
6696
6697         * regrename.c (scan_rtx_address): Frob action, not class,
6698         when trying to disable optimization.
6699
6700 2000-10-28  Mark Mitchell  <mark@codesourcery.com>
6701
6702         * c-semantics.c (make_rtl_for_local_static): Don't clobber
6703         DECL_ASSEMBLER_NAME.
6704
6705 2000-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6706
6707         * configure.in: Determine and substitute gcc_version_full.
6708         * configure: Regenerate.
6709         * gccbug.in: Use it to give full version.  Don't allow
6710         confidential PRs.
6711
6712 2000-10-28  Richard Henderson  <rth@redhat.com>
6713
6714         * recog.c (split_all_insns): Run cleanup_subreg_operands
6715         after reload.
6716
6717         * regrename.c (regrename_optimize): Verify that all registers of
6718         a multiple register mode are available.
6719         (scan_rtx_address): Accept the mode of the address; all callers
6720         changed.
6721
6722         * cpplib.c (run_directive): Fix prototype.
6723
6724 2000-10-28  Bernd Schmidt  <bernds@redhat.co.uk>
6725
6726         * reload.c (find_reloads): Distinguish "wins" so that we know whether
6727         a given operand won because of a matching constraint or not; then use
6728         that information to compute goal_alternative_matched properly.
6729         * reload1.c (choose_reload_regs): Never set reload_override_in for an
6730         optional reload.
6731
6732         * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
6733         accurate value for MULT.
6734         * config/ia64/ia64.c (ia64_print_operand): Require probability to be
6735         2% or > 98% before using static branch prediction bits.
6736
6737 2000-10-28  Neil Booth  <neilb@earthling.net>
6738
6739         New macro expander.
6740
6741         * cpplib.c (struct answer): New.
6742         (struct if_stack): Use cpp_lexer_pos rather than line and col.
6743         Rename cmacro mi_cmacro.
6744         (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
6745         IN_I): New directive and flags.
6746         (skip_rest_of_line, check_eol, run_directive, glue_header_name,
6747         parse_answer, parse_assertion, find_answer): New functions.
6748         (parse_ifdef, detect_if_not_defined, validate_else): Remove.
6749         (lex_macro_node): New function to replace parse_ifdef and
6750         get_define_node.
6751
6752         (_cpp_handle_directive): New function, combines _cpp_check_directive
6753         and _cpp_check_linemarker.
6754
6755         (do_define, do_undef, parse_include, do_include, do_import,
6756         do_include_next, read_line_number, do_line, do_ident, do_pragma,
6757         do_pragma_once, do_pragma_poison, do_pragma_dependency):
6758         Update for new token getting interface.
6759
6760         (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
6761         : Update for new multiple-include optimisation technique.
6762         (do_elif): Don't forget to invalidate controlling macros.
6763
6764         (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
6765         (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
6766         Functions to handle assertions with the new token interface.
6767         (do_assert, do_unassert): Use them.
6768
6769         (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
6770         Use run_directive.
6771
6772         (_cpp_init_stacks): Register directive names.  Don't register special
6773         nodes.
6774
6775         * cpperror.c (print_containing_files, _cpp_begin_message): Update to
6776         new position recording regime.
6777         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
6778         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6779         cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
6780         (cpp_type2name): Move to cpplex.c.
6781
6782         * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
6783         (parse_defined): Update to handle new multiple include optimisation
6784         method.  Remove poisoned identifier warning.
6785         (parse_assertion, TYPE_NAME): Delete.
6786         (lex): Update for multiple include optimisation, removal of
6787         CPP_DEFINED, to use _cpp_test_assertion for assertions and
6788         cpp_token_as_text.
6789         (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
6790         (op_as_text): New function, to wrap cpp_token_as_text.
6791
6792         * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
6793         Update for MI optimisation.
6794         (_cpp_execute_include): Take a token rather than 3 arguments.  Fix
6795         segfault on diagnostic.
6796         (_cpp_compare_file_date): Take a token rather than 3 args.
6797         (cpp_read_file): Work correctly for zero-length files.
6798
6799         * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
6800         _cpp_init_hashtable and _cpp_cleanup_hashtable.
6801         (cpp_lookup): Place identifiers at front of identifier pool
6802         for _cpp_lookup_with_hash.
6803         (_cpp_lookup_with_hash): Require identifiers to be at the front of
6804         the identifier pool.  Commit the memory if not already in the
6805         hash table.
6806
6807         * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
6808         Initialise various members of cpp_reader, memory pools, and the
6809         special nodes.
6810         (cpp_printer_init): Delete.
6811         (cpp_cleanup): Update.
6812         (struct builtin, builtin_array, initialize_builtins): Update for new
6813         hashnode definition and builtin handling.
6814         (cpp_start_read, cpp_finish): Don't take or initialise a
6815         printer.  Update.
6816
6817         * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
6818         PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
6819         T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
6820         T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
6821         (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
6822         struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
6823         NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
6824         struct toklist, struct cpp_context, struct specnodes,
6825         TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
6826         NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
6827         enum builtin_type, cpp_can_paste): New.
6828         (struct cpp_token): Delete line and col members.
6829         (struct cpp_buffer): New member output_lineno.
6830         (struct lexer_state): Delete indented, in_lex_line, seen_dot.
6831         Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
6832         (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
6833         ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
6834         base_context, context, directive, mi_state, mi_if_not_defined,
6835         mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
6836         mlstring_pos, macro_buffer, macro_buffer_len.
6837         Delete members mls_line, mls_column, token_list, potential_control_macro,
6838         temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
6839         context_cap, cur_context, no_expand_level, paste_level, contexts, args,
6840         save_parameter_spellings, need_newline, .
6841         Change type of date, time and spec_nodes members.
6842         Change prototypes for include and ident callbacks.
6843         (struct cpp_hashnode): Change type of name.  Remove union members
6844         expansion and code.  Add members macro, operator and builtin.
6845
6846         (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
6847         cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
6848         cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
6849         cpp_stop_lookahead): New prototypes.
6850         (cpp_printer_init, cpp_dump_definition): Delete prototypes.
6851
6852         (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
6853         Move from cpphash.h.
6854
6855         * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
6856         ufputs): Move to cpplib.h.
6857         (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
6858         TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
6859         COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
6860         struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
6861         _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
6862         _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
6863         _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
6864         _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
6865         _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
6866         _cpp_parse_assertion, _cpp_find_answer): Delete.
6867         (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
6868         POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
6869         _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
6870         _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
6871         _cpp_handle_directive, DSC): New.
6872         (struct include_file): New member defined.
6873
6874         (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
6875         _cpp_compare_file_date): Update.
6876         (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
6877         (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
6878         _cpp_cleanup_hashtable.
6879
6880         * Makefile.in: Remove cppoutput.c.
6881
6882         * cppoutput.c: Delete
6883
6884         * fixheader.c (read_scan_file): Update for new cpp_get_token
6885         prototype.
6886         (recognized_function): New argument LINE.
6887
6888         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
6889         new cpp_get_token prototype.
6890
6891         * scan.h (recognized_function): Update prototype.
6892
6893         * po/POTFILES.in: Remove cppoutput.c.
6894
6895 2000-10-27  Mark Mitchell  <mark@codesourcery.com>
6896
6897         * c-typeck.c (check_init_type_bitfields): Remove.
6898         (constructor_incremental): Likewise.
6899         (struct constructor_stack): Remove incremental bit.
6900         (struct initializer_stack): Likewise.
6901         (start_init): Don't play with constructor_incremental.
6902         (finish_init): Likewise.
6903         (really_start_incremental_init): Likewise.
6904         (push_init_level): Likewise.
6905         (pop_init_level): Likewise.
6906         (output_init_level): Likewise.
6907         (output_pending_init_elements): Likewise.
6908
6909 2000-10-21  Mike Coleman  <mcoleman2@kc.rr.com>
6910
6911         * c-pragma.c (handle_pragma_pack): Initialize align to -1.
6912         Improve error messages.  Correct parsing of
6913         #pragma pack(pop [,id]).  Do not check the user-supplied
6914         alignment if we're popping.
6915
6916         * gcc.dg/pack-test-1.c: New test case.
6917         * gcc.dg/pack-test-2.c: New test case.
6918         * gcc.dg/pack-test-1.h: New file.
6919
6920 2000-10-27  Neil Booth  <neilb@earthling.net>
6921
6922         * cpp.texi: Update.
6923
6924 2000-10-27  Kelley Cook <kelley.cook@home.com>
6925
6926         * invoke.texi: Document -mintel-syntax
6927
6928 2000-10-27  Richard Henderson  <rth@redhat.com>
6929
6930         * invoke.texi: Document -frename-registers.  Add it to -O3.
6931         * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
6932         (enum dump_file_index, dump_file): Update order.
6933         (main): Set flag_rename_registers at -O3.
6934
6935 2000-10-27  Richard Henderson  <rth@redhat.com>
6936
6937         * config/alpha/alpha.h (enum reg_class): Add PV_REG.
6938         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
6939         (REG_CLASS_FROM_LETTER): Assign it to 'c'.
6940         * config/alpha/alpha.md (call_osf_1): Use it.
6941         (call_value_osf_1): Likewise.
6942
6943         * config/ia64/ia64.c: Revert 10-23 patch.
6944         (ia64_hard_regno_rename_ok): New.
6945         * config/ia64/ia64-protos.h: Declare it.
6946         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
6947
6948 2000-10-27  Bernd Schmidt  <bernds@redhat.co.uk>
6949             Richard Henderson  <rth@redhat.com>
6950
6951         * regrename.c: Rewrite to handle multi-register modes and
6952         cond_exec instructions.
6953         * Makefile.in (regrename.o): Update dependancies.
6954         * recog.h (struct operand_alternative): Add is_address.
6955         * recog.c (preprocess_constraints) [case 'p']: Set it.
6956
6957 2000-10-27  Zack Weinberg  <zack@wolery.stanford.edu>
6958
6959         * configure.in: If not NO_MINUS_C_MINUS_O, substitute
6960         OUTPUT_OPTION with '-o $@'.  Make zlibdir, zlibinc relative to
6961         top level.  Kill oldstyle_subdirs.  Do not include
6962         $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
6963         $outputs.  Do not run configure.lang from config.status.
6964         Rearrange warning-flag logic to correspond to what the
6965         makefile wants.  Put special vax stage1 options in
6966         @stage1_flags@ not @stage1_warn_cflags@.  Don't do anything
6967         with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
6968         (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
6969         switch is given, nothing otherwise.
6970         * configure.lang: Delete.
6971
6972         * Makefile.in: Expunge all traces of extra_c_objs,
6973         extra_cxx_objs, and extra_cpp_objs.  Set MAYBE_CPPLIB from
6974         @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS.  Set
6975         warning options via a three level scheme so that -pedantic and
6976         -Wtraditional are not used for non-C front ends: LOOSE_WARN,
6977         STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
6978         WARN_CFLAGS.  Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
6979         Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
6980         Set OUTPUT_OPTION, ZLIB, ZLIBINC.  Do not set P,
6981         LANG_FLAGS_TO_PASS.  Add OUTPUT_OPTION to all object-file
6982         generation rules.  Wrap all rules that change the current
6983         directory in parentheses; pmake doesn't spawn a new shell for
6984         each command.  Expunge all references to $(P).  When one
6985         command depends on another and they're run all at once, use &&
6986         to separate them, not ;.  Add libgcc_s$(SHLIB_EXT) to files
6987         deleted on make clean.  Force OUTPUT_OPTION='-o $@' in stage2
6988         and beyond.
6989
6990         * objc/Make-lang.in: Wrap all rules that change the current
6991         directory in parentheses.  Expunge all references to $(P).
6992         When one command depends on another and they're run all at
6993         once, use && to separate them, not ;.  Add OUTPUT_OPTION to
6994         all object-file generation rules.  Delete obsolete variables.
6995         * objc/Makefile.in: Delete.
6996
6997 2000-10-27  Jakub Jelinek  <jakub@redhat.com>
6998
6999         * calls.c (expand_call): If sibcall_failure is set during pass 1,
7000         clear tail_call_insns as well.
7001
7002 2000-10-27  Nick Clifton  <nickc@redhat.com>
7003
7004         * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
7005         prototype.
7006
7007 2000-10-26  Richard Henderson  <rth@redhat.com>
7008
7009         * calls.c (expand_call): Supress sibcall if we have a
7010         BLKmode return in registers.
7011
7012 2000-10-26  Bernd Schmidt  <bernds@redhat.co.uk>
7013
7014         * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
7015         into memory.
7016
7017 2000-10-26  Nathan Sidwell  <nathan@codesourcery.com>
7018
7019         * tree.c (make_node, case 't'): Set alignment to that of
7020         char_type_node.
7021         * expr.c (move_by_pieces_ninsns): Abort if some length remains.
7022
7023 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
7024
7025         * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
7026         * configure.in (enable-libstdcxx-v3): Arrange to have
7027         HAVE_LIBSTDCXX_V3 substituted into the output files.
7028
7029 2000-10-25  Richard Henderson  <rth@redhat.com>
7030
7031         * recog.c (constrain_operands): Initialize which_alternative
7032         before no alternatives early exit.
7033
7034         * cse.c (find_comparison_args): Check that we can reverse a
7035         comparison if needed before accepting the substitution.
7036
7037         * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
7038
7039         * simplify-rtx.c (simplify_relational_operation): Sign extend
7040         low words before sign extending to high words.
7041
7042 2000-10-25  Nick Clifton  <nickc@redhat.com>
7043
7044         * config/mcore/mcore.c: Include config.h before system.h.
7045
7046 2000-10-25  Ray Essick  <essick@ddna.labs.mot.com>
7047
7048         * config/mcore/mcore.md (return): Force function epilogue to
7049         always be generated to work around epilogue suppression bug in
7050         M*Core backend.
7051
7052 2000-10-25  Joseph S. Myers  <jsm28@cam.ac.uk>
7053
7054         * c-decl.c (grokdeclarator): Move warning for qualified void
7055         return types with -pedantic to when the function type is
7056         constructed.  At -W, warn in general for qualified function return
7057         types, except for volatile void.
7058         * invoke.texi: Document this new warning at -W.
7059
7060 2000-10-25  Neil Booth  <neilb@earthling.net>
7061
7062         * cpp.texi: Update with implementation-defined behavior and
7063         internal limits.
7064
7065 2000-10-25  Jakub Jelinek  <jakub@redhat.com>
7066
7067         * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
7068         incomplete type force it into alias set 0.
7069
7070 Wed Oct 25 01:02:44 EDT 2000  John Wehle  (john@feith.com)
7071
7072         * alias.c: Include basic-block.h.
7073         (loop_p): New function.
7074         (mark_constant_function): Use it.
7075         * Makefile.in (alias.o): Update dependencies.
7076
7077 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
7078
7079         * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
7080         like memory.
7081
7082 2000-10-24  Jim Wilson  <wilson@cygnus.com>
7083
7084         * expmed.c (store_bit_field): Move integer pun code down after
7085         code that calls emit_move_insn for entire register move.
7086         * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
7087         Oct 20 changes.  Only store mode in TYPE_MODE if RECORD_TYPE.
7088
7089 2000-10-24  Richard Henderson  <rth@cygnus.com>
7090
7091         * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
7092         register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
7093
7094 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
7095
7096         * gcse.c (cprop_insn): do not propagate constants into jump_insn
7097         for machines with CC0 more than once.
7098
7099 2000-10-24  Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
7100
7101         * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
7102         pseudos just like memory.
7103
7104 2000-10-24  Alexandre Oliva  <aoliva@redhat.com>
7105
7106         * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
7107         when deleting libcall sequence collapsed to a single instruction.
7108
7109 2000-10-24  Andrew Haley  <aph@cygnus.co.uk>
7110
7111         * expr.c (do_store_flag): Don't crash if either side of a
7112         comparison is error_mark_node.
7113
7114 2000-10-24  Jakub Jelinek  <jakub@redhat.com>
7115
7116         * sibcall.c (purge_mem_unchanging_flag): New function.
7117         (optimize_sibling_and_tail_recursive_calls): Call it.
7118
7119 2000-10-24  Philipp Thomas  <pthomas@suse.de>
7120
7121         * Makefile.in (check-po): New target for doing checks in the po
7122         subdir if all languages configured.
7123         (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
7124         configure if NLS is enabled.
7125         * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
7126         otherwise leave empty.
7127         * configure: Regenerate.
7128
7129 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
7130
7131         * i386.c (print_operand): Handle new 'A' formatting code.
7132         387 opcodes need suffixes even with -mintel-syntax.
7133         Check for explicit size override (codes 'b', 'w' and 'k').
7134         (print_operand_address): Check if register prefix is needed when
7135         emitting `ds' segment override.
7136         * i386.h: Add comment about new 'A' formatting code.
7137         * i386.md (jump and call patterns): Emit absolute references using %A.
7138
7139 2000-10-23  Richard Henderson  <rth@cygnus.com>
7140
7141         * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
7142         output registers as fixed.
7143         (ia64_function_epilogue): Undo output fixation.
7144
7145 2000-10-23  Richard Henderson  <rth@cygnus.com>
7146
7147         * config/alpha/alpha.md: Add names for all unnamed insns; use
7148         define_insn_and_split in some obvious places.
7149         (lda): Remove.
7150         (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
7151         (zero_extendqisi2, zero_extendqidi2): Likewise.
7152         (zero_extendhisi2, zero_extendhidi2): Likewise.
7153         (abs splitters): Fix match_scratch operand number.
7154         (bcc_reverse): Swap pc & label instead of non-canonical compare.
7155
7156 2000-10-23  Jim Wilson  <wilson@cygnus.com>
7157
7158         * ia64.c (ia64_print_operand, case 'r'): Correct comment.  Handle
7159         CONST_INT.
7160         * ia64.md (cmpsi_adjusted): Use %r3.
7161         (cmpdi_adjusted): Likewise.
7162
7163 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
7164
7165         * config/i386/att.h (ASM_FILE_START): Define.
7166
7167 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
7168
7169         * config/i386/linux.h (ASM_FILE_START): Define.
7170
7171 Wed Oct 18 11:16:40 2000  Donald Lindsay  <dlindsay@cygnus.com>
7172
7173         * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
7174         since this (only) drags in a crt0.o reference that the .ld files
7175         also introduce.
7176
7177 2000-10-23  Geoff Keating  <geoffk@cygnus.com>
7178
7179         * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
7180         overwrite the value in a RELOAD_FOR_INPUT and other kinds of
7181         reloads just like an RELOAD_FOR_OUTPUT would.
7182
7183         * local-alloc.c (update_equiv_regs): Add an abort().  When
7184         deleting or moving insns, update reg_equiv[regno].init_insns.
7185
7186 2000-10-23  Mark Mitchell  <mark@codesourcery.com>
7187
7188         * c-tree.texi: Improve documentation for IF_STMTs and related
7189         conditional statements.
7190
7191 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
7192
7193         * expr.c (do_preexpand_calls): Remove.
7194         (same_from_p): Don't use CALL_EXPR_RTL.
7195         (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
7196         (preexpand_calls): Remove.
7197         * tree.c (first_rtl_op): Remove CALL_EXPR case.
7198         (unsave_expr_1): Likewise.
7199         * tree.def (CALL_EXPR): Give it only two slots.
7200         * tree.h (CALL_EXPR_RTL): Remove.
7201
7202 2000-10-21  Chandrakala Chavva   <cchavva@redhat.com>
7203
7204         * libgcc-std.ver (__addvsi3, __addvdi3,  __subvsi3, __subvdi3,
7205         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
7206         New functions.
7207
7208 2000-10-22  Alexandre Oliva  <aoliva@redhat.com>
7209
7210         * calls.c (combine_pending_stack_adjustment_and_call): Don't
7211         adjust stack when unadjusted_alignment ends up as zero.
7212
7213 2000-10-22  Joseph S. Myers  <jsm28@cam.ac.uk>
7214
7215         * fixinc/genfixes: Remove EGCS reference.
7216         * install.texi: Remove EGCS reference.
7217         * INSTALL: Regenerate.
7218
7219 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
7220
7221         * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
7222
7223 2000-10-21  Joseph S. Myers  <jsm28@cam.ac.uk>
7224
7225         * diagnostic.c: Remove EGCS reference in comment.
7226
7227 Sat Oct 21 08:24:25 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7228
7229         * loop.c (strength_reduce): Fix error in last change.
7230
7231 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
7232
7233         * Makefile.in (SHLIB_NM_FLAGS): New.
7234         (libgcc.mk): Pass it.
7235         * mklibgcc.in (libgcc.map): Use it.
7236
7237         * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
7238         SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
7239
7240 2000-10-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7241
7242         * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
7243
7244         * sparc.c (load_pic_register): Delete unused varaible.
7245
7246         * libgcc2.c (__addvsi3): Delete unused variable.
7247
7248         * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
7249         __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
7250         __negvdi2): Prototype.
7251
7252         * ssa.c (apply_delayed_renames): Avoid undefined operation.
7253
7254         * toplev.c (display_target_options): Make static to match
7255         prototype.  Delete empty declaration.
7256
7257 2000-10-20  Tom Tromey  <tromey@cygnus.com>
7258
7259         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
7260         * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
7261
7262 Fri Oct 20 17:05:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7263
7264         * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
7265         returned MEM.
7266         (expand_expr_unaligned, case ARRAY_REF): Check that index is
7267         a constant before comparing it; use tree_low_cst.
7268         * tree.c (save_expr): Set TREE_READONLY.
7269         (substitute_expr): Return inside of NON_LVALUE_EXPR.
7270         (build, build1): Set TREE_READONLY if all operands are.
7271         (build_index_type): If upper bound is a negative number, lower
7272         bound is zero and sizetype is unsigned, use upper bound of one and
7273         lower of zero.
7274
7275 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
7276
7277         * gcc.c (process_command, main): Use "because" instead of
7278         "since" in error messages.
7279
7280 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7281
7282         * stor-layout.c (compute_record_mode): Use tree_low_cst.
7283         Don't use mode of field for record unless sizes are the same.
7284         (layout_type, case ARRAY_TYPE): Remove special bounds handling
7285         previously added for Ada; also change to using host_integerp
7286         and tree_low_cst.
7287
7288         * loop.c (strength_reduce): Show when new register made for
7289         giv is known to be a pointer and its aligment if so and known.
7290         (loop_dump_aux): Show VERBOSE parameter unused.
7291
7292         * gcse.c (set_hash_table_size): Now unsigned.
7293         * sdbout.c (template_name_p): Add "const" to avoid warnings.
7294         (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
7295         (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
7296         (sdbout_end_epilogue): Remove variable NAME.
7297         * system.h (getopt): Add default definition.
7298         * config/alpha/alpha.c (print_operand): Don't continue processing
7299         after issuing error.
7300         (summarize_insn): Avoid use of UL in constant.
7301
7302         * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
7303
7304         * fold-const.c (force_fit_type): Unsigned values can overflow
7305         if they are sizetype.
7306         (int_const_binop): Don't use cache if overflows.
7307
7308 2000-10-20  Richard Henderson  <rth@cygnus.com>
7309
7310         * function.c (locate_and_pad_parm): Zero alignment_pad.
7311
7312         * regrename.c (rr_replace_reg): Rewrite to use recog_data to
7313         perform substitutions, and apply_change_group to see if it worked.
7314
7315 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7316
7317         * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
7318
7319         * combine.c (struct undo): Change int to unsigned int.
7320         (do_SUBST_INT): Args are unsigned int.
7321         (make_extraction, force_to_mode): Use proper type when forming mask.
7322         (make_field_assignment): Likewise.
7323
7324 2000-10-20  Joseph S. Myers  <jsm28@cam.ac.uk>
7325
7326         * c-common.c (check_format_info_recurse): Extract string constant
7327         initializers from non-volatile constant arrays and check them as
7328         formats.
7329         * c-typeck.c (decl_constant_value): Don't check pedantic or check
7330         for DECL_MODE (decl) != BLKmode.
7331         (decl_constant_value_for_broken_optimization): New function which
7332         includes these checks.
7333         (default_conversion, convert_for_assignment, digest_init): Use
7334         decl_constant_value_for_broken_optimization instead of
7335         decl_constant_value.
7336
7337 2000-10-20  Mark Mitchell  <mark@codesourcery.com>
7338
7339         * tree.h (DECL_ALIGN_UNIT): New macro.
7340
7341 2000-10-14  Marek Michalkiewicz  <marekm@linux.org.pl>
7342
7343         * config/avr/avr-protos.h (avr_output_bld): New.
7344         (out_shift_with_cnt): Add t_len argument.
7345         * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
7346         (output_movqi, output_movhi, output_movsisf): Optimize loading
7347         any constant with exactly one bit set to NO_LD_REGS.
7348         (out_shift_with_cnt): Optimize output code for size or speed,
7349         depending on optimize_size.  Handle small shift counts as well
7350         (if not hand-optimized in ?sh??i3_out).  Shifts can be done
7351         with or without a scratch register, with help of __tmp_reg__
7352         or __zero_reg__ if necessary.  Add T_LEN argument to pass the
7353         length of TEMPLATE in words, return total insn length in *LEN.
7354         (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
7355         out_shift_with_cnt to work with the above change.
7356         (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
7357         lshrsi3_out): Likewise.  Optimize more known shift count cases.
7358         Remove cases already well optimized in out_shift_with_cnt.
7359         (avr_output_bld): New function.
7360         * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
7361         (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
7362         * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
7363         Add reload_completed to insn condition - only for peepholes.
7364         (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
7365         in a register or memory.
7366         (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
7367         Do not require a scratch register.
7368         (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
7369         *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
7370         Optimize shifts by known count using a scratch register, but only
7371         if one is still available after register allocation.
7372
7373 2000-10-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7374
7375         * t-vax: New file.  Don't build modules from libgcc1.c.
7376
7377 Fri Oct 20 00:57:00 EDT 2000  John Wehle  (john@feith.com)
7378
7379         * alias.c: (mark_constant_function): Don't check pure functions.
7380         Initialize and end alias analysis.
7381         (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
7382         Don't make a special exception for recursion.  Handle
7383         UNSPEC_VOLATILE.  Don't assume ASM_OPERANDS is non-local
7384         unless it's volatile.
7385
7386         * local-alloc.c (equivalence): New structure.
7387         (reg_equiv): Define.
7388         (contains_replace_regs): Remove array and use
7389         field in reg_equiv.
7390         (memref_referenced_p): Likewise.
7391         (no_equiv): Likewise.
7392         (update_equiv_regs): Likewise.
7393
7394         (equiv_init_varies_p,
7395         equiv_init_movable_p): New functions.
7396         (update_equiv_regs): Use them.  Use rtx_varies_p
7397         instead of function_invariant_p.  Process insns
7398         from end to beginning.  Allow a REG_EQUIV insn
7399         within the same loop as a use to be moved, also
7400         allow it to be moved out of a loop.  Update
7401         REG_DEAD notes when substituting into an insn.
7402
7403 2000-10-19  Jim Wilson  <wilson@cygnus.com>
7404
7405         * c-decl.c (start_decl): Check for error_mark_node type before using
7406         COMPLETE_TYPE_P.
7407         (finish_decl): Likewise.  Don't give an error if decl type is
7408         already error_mark_node.
7409
7410         * haifa-sched.c (compute_trg_info): Add explanatory comments.
7411         New local update_blocks.  Use update_blocks to remove duplicates
7412         when computing update blocks.  Check for bblst_table overflow.
7413         (schedule_block): Add explanatory comment.  Reduce bblst_size by
7414         factor of 2.
7415         * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
7416         notes.
7417
7418 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
7419
7420         * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
7421
7422 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
7423
7424         * expmed.c: Minor corrections in comments.
7425         * invoke.texi: Added desciption for the new option -ftrapv.
7426
7427 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
7428
7429         * libgcc2.c: Added the missing #endif.
7430
7431 Thu Oct 19 14:25:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7432
7433         * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
7434
7435 2000-10-18  Chandrakala Chavva  <cchavva@redhat.com>
7436
7437         * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
7438         Use smulv_optab for -ftrapv.
7439         (expand_mult_highpart): Use unsigned multiply.
7440         (expand_divmod): Special-case division by -1.
7441         For EXACT_DIV_EXPR, do right shift first, then the multiply.
7442         For complex divide, use abs with unsigned result.
7443         * expr.c (force_operand): Use unsigned multiply.
7444         (expand_expr): Use overflow-trapping optabs for signed types if
7445         flag_trapv.
7446         If flag_trapv, don't generate a recursive call with EXPAND_SUM
7447         if the type is signed and the original call wasn't EXPAND_SUM or
7448         EXPAND_INITIALIZER.
7449         * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
7450         (negv_optab, absv_optab): Declare.
7451         * flags.h (flag_trapv): Declare.
7452         * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
7453         smulv_optab, sdivv_optab, negv_optab and absv_optab.
7454         (gen_insn): Interpret '$P' as requiring an integer mode,
7455         including partial integer modes.
7456         * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
7457         (product_cheap_p): Use unsigned expand_mult.
7458         * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
7459         (negv_optab, absv_optab): Define.
7460         (expand_binop): Use overflow-trapping optabs for signed types if
7461         flag_trapv.
7462         Handle negv_optab libe neg_optab.
7463         (expand_abs): Take result_unsignedp argument instead of unsignedp one.
7464         Use overflow-trapping optabs for signed result if flag_trapv.
7465         (expand_complex_abs): Use overflow-trapping optabs for signed types if
7466         flag_trapv.
7467         Don't open-code complex absolute-value operation for flag_trapv.
7468         (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
7469         sdivv_optab, negv_optab and absv_optab.
7470         * toplev.c (flag_trapv): Define.
7471         (lang_independent_options f_options): Include flag_trapv.
7472         * tree.h (TYPE_TRAP_SIGNED): Define.
7473         * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
7474         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
7475         New functions.
7476         * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
7477         _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
7478
7479 2000-10-18  Geoffrey Keating  <geoffk@cygnus.com>
7480             David V. Henkel-Wallace  <gumby@cygnus.com>
7481
7482         * config/i386/t-netware: Bring in from the Red Hat tree.
7483         * config/i386/netware.h: Likewise.
7484         * config/netware.h: Likewise.
7485         * config/rs6000/netware.h: Delete.
7486         * configure.in: Add i[34567]86-*-netware.
7487         * configure: Hand-edit to match configure.in change.
7488
7489 2000-10-18  Mark Mitchell  <mark@codesourcery.com>
7490
7491         * c-common.h (flag_no_builtin): Declare.
7492         (flag_no_nonansi_builtin): Likewise.
7493         (c_common_nodes_and_builtins): Change prototype.
7494         * c-common.c (flag_no_builtin): New variable.
7495         (flag_no_nonansi_builtin): Likewise.
7496         (c_common_nodes_and_builtins): Remove parameters.  Adjust
7497         accordingly.
7498         * c-decl.c (flag_no_builtin): Remove.
7499         (flag_no_nonansi_builtin): Likewise.
7500         (init_decl_processing): Adjust call to
7501         c_common_nodes_and_builtins.
7502
7503 2000-10-18  Marc Espie <espie@openbsd.org>
7504
7505         * tm.texi (LIBGCC_SPEC): Synch with reality.
7506
7507 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7508
7509         * c-common.c (check_format_types): Check for writing through a
7510         NULL pointer argument.
7511
7512 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
7513
7514         * tm.texi (Exception Region Output): Document
7515         DWARF_CIE_DATA_ALIGNMENT.
7516         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
7517         #ifndef.
7518         [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
7519         DWARF_CIE_DATA_ALIGNMENT.
7520
7521 2000-10-18  Michael Hayes  <mhayes@cygnus.com>
7522
7523         * basic-block.h (struct loop): Delete fields pre_header_root
7524         and pre_header_trace and replace with pre_header_edges
7525         and num_pre_header_edges.
7526         * flow.c (flow_loop_dump): Dump pre_header_edges.
7527         (flow_loops_free): Free pre_header_edges.
7528         (flow_loop_pre_header_scan): Calculate pre_header_edges.
7529
7530 2000-10-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7531
7532         * contrib.texi: Update references to steering committee members
7533         and Jeff Law's entry.
7534
7535 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7536
7537         * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
7538         (maybe_read_dollar_number, check_format_info_main): Use them for
7539         pedantic warning messages.
7540
7541 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7542
7543         * c-common.c (check_format_info_main): Minor cleanup: move
7544         variables into inner scopes; initialize declarations where
7545         appropriate; don't hardcode "scanf" name on warning for zero
7546         width.
7547
7548 2000-10-17  Mark Mitchell  <mark@codesourcery.com>
7549
7550         * c-common.c (back_end_hook): New variable.
7551         * c-common.h (back_end_hook): Declare it.
7552         * c-lang.c (finish_file): Use it.
7553
7554         * emit-rtl.c (init_emit_once): Initialize the const_int_htab
7555         earlier.
7556
7557 2000-10-18  Jan Hubicka  <jh@suse.cz>
7558
7559         * i386.c (ix86_comparison_operator, put_condition_code,
7560         ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
7561         (ix86_expand_strlensi_unroll_1): Use CCRCmode.
7562         * i386.h (EXTRA_CC_MODES): Add CCRCmode.
7563         * i386.md (adddi and negdi splitter): Use CCRCmode.
7564         (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
7565         (subsi3_carry): add '*'
7566         (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
7567         (cmp to add peep2): Use CCRCmode; swap operands.
7568
7569 2000-10-18  Kazu Hirata  <kazu@hxi.com>
7570
7571         * h8300.c: Fix a comment typo.
7572         (round_frame_size): New.
7573         (compute_saved_regs): Likewise.
7574         (push): Likewise.
7575         (pop): Likewise.
7576         (push_order): Remove.
7577         (pop_order): Likewise.
7578         (function_prologue): Rearrange code for readability.
7579         (function_epilogue): Likewise.
7580
7581         * config/h8300/h8300.md: Remove an unnecessary sign_extend
7582         expander that is used when not optimizing.  Output a tab after
7583         each assembly insns.
7584
7585         * reorg.c: Fix formatting.
7586
7587 2000-10-17  Joern Rennecke <amylaar@redhat.co.uk>
7588
7589         * reload1.c (move2add_note_store): Check for simple
7590         auto-inc in destination.
7591
7592 2000-10-17  Michael Chastain  <chastain@redhat.com>
7593
7594         * config/i386/i386-aout.h: define INT_ASM_OP.
7595
7596 Tue Oct 17 20:11:08 2000  Alan Modra <alan@linuxcare.com.au>
7597
7598         * pa.c (print_operand): Handle case 'c' for .vtable_inherit
7599
7600 Tue Oct 17 20:05:51 2000  Martin Buchholz <martin@xemacs.org>
7601
7602         * i370.md: Fix spelling typo.
7603
7604 2000-10-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7605
7606         * function.c (locate_and_pad_parm): Don't align stack unconditionally.
7607         Fixes execute/20001017-1.c on powerpc-linux-gnu.
7608
7609         * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
7610         * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
7611         LABEL_REF.
7612
7613         * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
7614         ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
7615         here...
7616         * rs6000/aix.h: ...to here.
7617         * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
7618
7619 2000-10-17  Jakub Jelinek  <jakub@redhat.com>
7620
7621         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
7622
7623         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
7624         sure linker can relax even the delay slot mov %g1,%o7, fix output
7625         formating.
7626
7627 2000-10-17  Kazu Hirata  <kazu@hxi.com>
7628
7629         * config/h8300/h8300.md: Remove an unnecessary zero_extend
7630         expander that is used when not optimizing.  Output a tab after
7631         each assembly insns.
7632
7633 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
7634
7635         * gcc.c: New options --target-help.
7636         (process_command): Added code to parse this new option.
7637         * toplev.c (display_target_options): New function to support the
7638         above new option.
7639         * cppinit.c (new_pending_directive) : New option OPT_target__help.
7640         (cpp_handle_option): Support this new option.
7641         * invoke.texi: Added notes about --target-help option.
7642
7643 2000-10-17  Graham Stott  <grahams@redhat.com>
7644
7645         * config/i386/i386.md (testqi_1): Add missing operand prefix
7646         for operand 0.
7647         * config/i386/i386-protos.h: Add missing prototype.
7648
7649 2000-10-17  Diego Novillo  <dnovillo@cygnus.com>
7650
7651         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
7652         _GLOBAL_OFFSET_TABLE should not have a $ prefix when
7653         using -mintel-syntax.
7654
7655 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
7656
7657         * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
7658         (format_types): Use it for printf.
7659         (maybe_read_dollar_number): Add parameter for the kind of format
7660         involved.  Warn for multiple use for arguments if this is
7661         inappropriate for the kind of format involved.
7662         (check_format_info_main): Update calls to maybe_read_dollar_number.
7663
7664 2000-10-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7665
7666         * inclhack.def (hpux_maxint): Also apply fix to values.h.
7667         * fixincl.x: Rebuilt.
7668
7669 2000-10-17  Alexandre Oliva  <aoliva@redhat.com>
7670
7671         * genrecog.c (write_switch): Return the first condition that needs a
7672         label.
7673
7674 2000-10-17  Bernd Schmidt  <bernds@redhat.co.uk>
7675
7676         * c-tree.h (warn_sequence_point): Move declaration to...
7677         * c-common.h (warn_sequence_point): ... here.
7678         * c-decl.c (warn_sequence_point): Move definition to...
7679         * c-common.c (warn_sequence_point): ... here.
7680         (struct reverse_tree): New.
7681         (reverse_list, reverse_max_depth): New static variables.
7682         (build_reverse_tree, common_ancestor, modify_ok
7683         verify_sequence_points): New functions.
7684         (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
7685         * c-typeck.c (check_modify_expr): Delete.
7686         (build_modify_expr): Don't call it.
7687
7688 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
7689
7690         * c-common.h (warn_missing_format_attribute): New variable.
7691         * c-decl.c (warn_missing_format_attribute): New variable.
7692         (c_decode_option): Decode -Wmissing-format-attribute and
7693         -Wno-missing-format-attribute.
7694         * c-common.c (check_function_format): If
7695         -Wmissing-format-attribute, give a warning where a vprintf or
7696         vscanf function is called by a function without its own printf or
7697         scanf attribute.
7698         * toplev.c (documented_lang_options): Add
7699         -Wmissing-format-attribute.
7700         * invoke.texi: Document -Wmissing-format-attribute.
7701
7702 2000-10-17  Marc Espie <espie@openbsd.org>
7703
7704         * invoke.texi (-shared): Insist on requiring code generation flags
7705         to be used along with -shared, and document the subtle failure that
7706         may occur otherwise.
7707
7708 2000-10-16  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7709
7710         * pa.md (return_internal): Move `use' after `return'.
7711
7712 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
7713
7714         * machmode.def: Correct comment.
7715
7716 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
7717
7718         * print-rtl.c (print_rtx_head): Constify.
7719         * rtl.h (print_rtx_head): Similarly.
7720
7721         * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
7722         Constify char * return value.
7723         * config/pa/pa/pa.c
7724         (output_64bit_and, output_64bit_ior): Constify char * return value.
7725         (pa_can_combine_p): Make static.
7726         (function_arg): Decorate unused `named' argument. Fix comment typo.
7727         (function_arg_partial_nregs): Decorate unused `named' argument.
7728
7729 2000-10-16  Joseph S. Myers  <jsm28@cam.ac.uk>
7730
7731         * c-common.c (format_check_results): New structure.
7732         (finish_dollar_format_checking): Adjust to take a
7733         format_check_results * parameter.
7734         (check_format_info, check_format_info_recurse,
7735         check_format_info_main): Split check_format_info into three
7736         functions, the main checking going in check_format_info_main.
7737         Recurse when any reduction of the format string argument towards a
7738         string literal is done; go down both branches of a conditional
7739         expression.  Don't warn for extra format arguments or empty format
7740         strings if they only occur in some branches of a conditional
7741         expression.
7742
7743 2000-10-16  Kazu Hirata  <kazu@hxi.com>
7744
7745         * config/h8300/h8300.c: Remove obstack.  Include ggc.h.
7746
7747 2000-10-16  Jakub Jelinek  <jakub@redhat.com>
7748
7749         * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
7750
7751 2000-10-15  Diego Novillo  <dnovillo@cygnus.com>
7752
7753         * i386.md (*movsi_or): Switch operand order for intel syntax.
7754
7755 2000-10-14  Joseph S. Myers  <jsm28@cam.ac.uk>
7756
7757         * PROBLEMS: Remove.
7758
7759         * gcc.texi (Contributing): Update.
7760
7761 2000-10-13  Diego Novillo  <dnovillo@cygnus.com>
7762
7763         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
7764         appropriate assembler dialect.
7765
7766 2000-10-13  Alexandre Oliva  <aoliva@redhat.com>
7767
7768         * c-common.c (c_expand_builtin): PARAMS-ize prototype.
7769
7770 2000-10-12  Marek Michalkiewicz  <marekm@linux.org.pl>
7771
7772         * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
7773         constants 1 and 2 to NO_LD_REGS.
7774
7775 2000-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7776
7777         * Makefile.in (c-parse.c, tradcif.c): Create atomically.
7778
7779         * objc/Make-lang.in (objc-parse.c): Likewise.
7780
7781 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
7782
7783         * arm.c: Include obstack.h
7784         (minipool_obstack, minipool_startobj): Define.
7785         (arm_add_gc_roots): Initialize them.
7786         (create_fix_barrier): Use our new obstack.
7787         (push_minipool_barrier, push_minipool_fix): Likewise.
7788         (arm_reorg): Release obstack memory.
7789
7790 2000-10-13  Jakub Jelinek  <jakub@redhat.com>
7791
7792         * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
7793         (prologue, exception_receiver, builtin_setjmp_receiver): New
7794         patterns.
7795         * config/sparc/sparc.h (FINALIZE_PIC): Remove.
7796         * config/sparc/sparc-protos.h (finalize_pic): Remove.
7797         (load_pic_register): New prototype.
7798         * config/sparc/sparc.c (pic_setup_code): Remove.
7799         (finalize_pic): Rename to...
7800         (load_pic_register): ...this function.
7801         Don't look for nonlocal_goto_receivers and emit pic setup code
7802         directly.  Don't check current_function_uses_pic_offset_table.
7803
7804 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
7805
7806         * tree.h (struct obstack): Declare.
7807
7808 2000-10-12  Mark Mitchell  <mark@codesourcery.com>
7809
7810         Remove obstacks.
7811         * Makefile.in (ggc-callbacks.o): Remove target.
7812         (flow.o): Depend on GGC_H.
7813         * alias.c (init_alias_analysis):
7814         Remove ggc_p conditionals.
7815         (end_alias_analysis): Likewise.
7816         * basic-block.h (init_flow): New function.
7817         (allocate_reg_life_data): Declare.
7818         * bb-reorder.c  (function_obstack): Replace with ...
7819         (flow_obstack): ... new variable.
7820         (fixup_reorder_chain): Use it.
7821         * c-decl.c (ggc_p): Remove.
7822         (caller-save.c): Don't call oballoc/obfree.
7823         * combine.c (struct
7824         undobuf): Remove storage.
7825         (try_combine): Don't call oballoc.
7826         (undo_all): Don't call obfree.
7827         * cse.c (insert): Use xmalloc, not
7828         oballoc.
7829         (cse_main): Adjust accordingly.
7830         * dwarf2out.c (save_rtx): Remove
7831         obstack code.
7832         (dwarf2out_init): Remove ggc_p conditionals.
7833         * emit-rtl.c (rtl_obstack): Remove.
7834         (gen_rtx_CONST_INT): Remove ggc_p conditionals.
7835         (make_insn_raw): Likewise.
7836         (emit_insn_before): Likewise.
7837         (emit_insn_after): Likewise.
7838         (emit_insn): Likewise.
7839         (gen_sequence): Likewise.
7840         (copy_insn_1): Remove handling of `b' RTL components.
7841         (init_emit_once): Remove ggc_p conditionals.
7842         * except.c (create_rethrow_ref): Don't fool with obstacks.
7843         (add_partial_entry): Likewise.
7844         (call_get_eh_context): Likewise.
7845         (begin_protect_partials): Likewise.
7846         (protect_with_terminate): Likewise.
7847         * explow.c
7848         (plus_constant_wide): Likewise.
7849         * expr.c (init_expr_once):
7850         Likewise.
7851         (emit_block_move): Likewise.
7852         (clear_storage): Likewise.
7853         (expand_expr): Likewise.
7854         * flow.c (function_obstack): Remove.
7855         (flow_obstack): New variable.
7856         (flow_firstobj): Likewise.
7857         (create_base_block): Use the flow_obstack.
7858         (split_block): Likewise.
7859         (split_edge): Likewise.
7860         (calculate_global_regs_live): Likewise.
7861         (allocate_bb_life_data): Make it static.  Likewiwse.
7862         (init_flow): New function.
7863         (size_int_type_wide): Remove ggc_p conditionals.
7864         * function.c
7865         (push_function_context_to): Don't call save_tree_status.
7866         (pop_function_context_from): Or restore_tree_status.
7867         (assign_stack_local_1): Don't call push_obstacks.
7868         (find_fixup_replacement): Use xmalloc.
7869         (fixup_var_refs_insns): Free the storage.
7870         (insns_for_mem_walk): Don't mess with obstacks.
7871         (instantiate_decls): Likewise.
7872         (trampoline_address): Likewise.
7873         (expand_function_end): Likewise.
7874         * function.h (sturct function):
7875         Remove obstack-related variables.
7876         (save_tree_status): Don't declare.
7877         (restore_tree_status): Likewise.
7878         * gcse.c (compute_can_copy):
7879         Don't call oballoc/obfree.
7880         * genattrtab.c (operate_exp): Remove
7881         ggc_p conditionals.
7882         (simplify_cond): Likewise.
7883         (simplify_test_exp): Don't mess with obstacks.
7884         (optimize_attrs): Likewise.
7885         * gengenrtl.c (gendef): Don't include
7886         ggc_p conditionals.
7887         * ggc-callbacks.c (ggc_p): Remove.
7888         * ggc-none.c (ggc_p): Remove.
7889         * ggc.h (ggc_p): Don't declare.
7890         * integrate.c (save_for_inline): Don't mess with obstacks.
7891         (integrate_decl_tree): Likewise.
7892         (output_inline_function): Likewise.
7893         * lists.c
7894         (init_EXPR_INSN_LIST_cache): Likewise.
7895         * loop.c (temp_obstack):
7896         Remove.
7897         (rtl_obstack): Likewise.
7898         (init_loop): Don't mess with obstacks.
7899         (reg_address_cost): Free BIVs and GIVs.
7900         (check_insns_for_bivs): Use xmalloc, not oballoc.
7901         (find_mem_givs): Likewise.
7902         (record_biv): Likewise.
7903         (general_induction_var): Likewise.
7904         (product_cheap_p): Likewse.
7905         * optabs.c (init_one_libfunc): Remove
7906         ggc_p conditional.
7907         * print-tree.c (debug_tree): Don't use
7908         oballoc/obfree.
7909         (print_node): Likewise.
7910         * profile.c (output_func_start_profiler):
7911         Remove call to temporary_allocation.
7912         * reload1.c
7913         (eliminate_regs_in_insn): Don't mess with obstacks.
7914         * resource.c
7915         (mark_target_live_regs): Use xmalloc.
7916         (free_resource_info): Free the memory.
7917         * rtl.c (rtl_obstack):
7918         Remove.
7919         (rtvec_alloc): Don't mess with obstacks.
7920         (rtx_alloc): Likewise.
7921         (rtx_free): Remove.
7922         (copy_rtx): Don't handle `b' cases.
7923         (read_rtx): Use a local rtl_obstack.
7924         * rtl.h (oballoc): Remove.
7925         (obfree): Likewise.
7926         (pop_obstacks): Likewise.
7927         (push_obstacks): Likewise.
7928         (allocate_bb_life_data): Likewise.
7929         (allocate_reg_life_data): Likewise.
7930         (rtx_free): Likewise.
7931         * sdbout.c (sdbout_queue_anonymous_type):
7932         Use tree_cons, not saveable_tree_cons.
7933         * simplify-rtx.c
7934         (cselib_init): Don't mess with obstacks.
7935         * stmt.c
7936         (mark_block_nesting): Mark the label_chain.
7937         (epxand_label): Use ggc_alloc, not oballoc.
7938         (clear_last_expr): Don't mess with obstacks.
7939         (expand_decl_cleanup): Likewise.
7940         (expand_dcc_cleanup): Likewise.
7941         (expand_dhc_cleanup): Likewise.
7942         (expand_anon_union_decl): Likewise.
7943         (add_case_node): Use xmalloc, not oballoc.
7944         (free_case_nodes): New function.
7945         (expand_end_case): Call it.
7946         * stor-layout.c (layout_type): Don't
7947         mess with obstacks.
7948         (layout_type): Likewise.
7949         * toplev.c (wrapup_global_declarations):
7950         Likewise.
7951         (compile_file): Remove ggc_p conditionals.
7952         (rest_of_compilation): Call init_flow.  Remove ggc_p conditionals.
7953         (decode_f_option): Remove ggc_p conditionals.
7954         * tree.c
7955         (function_maybepermanent_obstack): Remove.
7956         (maybepermanent_obstack): Likewise.
7957         (function_obstack): Likewise.
7958         (tmeporary_obstack): Likewise.
7959         (momentary_obstack): Likewise.
7960         (temp_decl_obstack): Likewise.
7961         (saveable_obstack): Likewise.
7962         (rtl_obstack): Likewise.
7963         (current_obstack): Likewise.
7964         (expression_obstack): Likewise.
7965         (struct obstack_stack): Likewise.
7966         (obstack_stack): Likewise.
7967         (obstack_stack_obstack): Likewise.
7968         (maybepermanent_firstobj): Likewise.
7969         (temporary_firstobj): Likewise.
7970         (momentary_firstobj): Likewise.
7971         (temp_decl_firstobj): Likewise.
7972         (momentary_function_firstobj): Likewise.
7973         (all_types_permanent): Likewise.
7974         (struct momentary_level): Likewise.
7975         (momentary_stack): Likewise.
7976         (init_obstacks): Remove initialization of removed obstacks.
7977         (save_tree_status): Remove.
7978         (restore_tree_status): Likewise.
7979         (temporary_allocation): Liekwise.
7980         (end_temporary_allocation): Liekwise.
7981         (resume_temporary_allocation): Likewise.
7982         (saveable_allocation): Likewise.
7983         (push_obstacks): Likewise.
7984         (push_obstacks_nochange): Likewise.
7985         (pop_obstacks): Likewise.
7986         (allocation_temporary_p): Likewise.
7987         (permanent_allocation): Likewise.
7988         (preserve_data): Likewise.
7989         (preserve_initializer): Likewise.
7990         (rtl_in_current_obstack): Likewise.
7991         (rtl_in_saveable_obstack): Likewise.
7992         (oballoc): Likewise.
7993         (obfree): Likewise.
7994         (savealloc): Likewise.
7995         (expralloc): Likewise.
7996         (print_obstack_name): Likewise.
7997         (debug_obstack): Likewise.
7998         (object_permanent_p): Likewise.
7999         (push_momentary): Likewise.
8000         (perserve_momentary): Likewise.
8001         (clear_momentary): Likewise.
8002         (pop_momentary): Likewise.
8003         (pop_momentary_nofree): Likewise.
8004         (suspend_momentary): Likewise.
8005         (resume_momentary): Likewise.
8006         (make_node): Don't set TREE_PERMANENT.
8007         (copy_node): Remove ggc_p conditionals.  Don't set TYPE_OBSTACK.
8008         Don't set TREE_PERMANENT.
8009         (get_identifier): Remove ggc_p conditionals.
8010         (build_string): Likewise.
8011         (make_tree_vec): Likewise.
8012         (build_decl_list): Remove.
8013         (build_expr_list): Likewise.
8014         (tree_cons): Remove ggc_p conditionals.
8015         (decl_tree_cons): Remove.
8016         (expr_tree_cons): Likewise.
8017         (perm_tree_cons): Likewise.
8018         (temp_tree_cons): Likewise.
8019         (saveable_tree_cons): Likewise.
8020         (build1): Remove ggc_p conditionals.
8021         (build_parse_node): Likewise.
8022         (build_type_attribute_variant): Don't mess with obstacks.
8023         (build_type_copy): Likewise.
8024         (type_hash_canon): Likewise.
8025         (build_pointer_type): Likewise.
8026         (build_reference_type): Likewise.
8027         (build_index_type): Likewise.
8028         (build_range_type): Likewise.
8029         (dump_tree_statistics): Don't print obstack information.
8030         * tree.h
8031         (struct tree_common): Remove permanent_flag.
8032         (TREE_PERMANENT): Remove.
8033         (TREE_SET_PERMANENT): Likewise.
8034         (TYPE_OBSTACK): Likewise.
8035         (struct tree_type): Remove obstack.
8036         (oballoc): Remove.
8037         (savealloc): Likewise.
8038         (build_decl_list): Likewise.
8039         (build_expr_list): Likewise.
8040         (perm_tree_cons): Likewise.
8041         (temp_tree_cons): Likewise.
8042         (saveable_tree_cons): Likewise.
8043         (decl_tree_cons): Likewise.
8044         (expr_tree_cons): Likewise.
8045         (suspend_momentary): Likewise.
8046         (allocation_temporary_p): Likewise.
8047         (resume_momentary): Likewise.
8048         (push_obstacks_nochange): Likewise.
8049         (permanent_allocation): Likewise.
8050         (push_momentary): Likewise.
8051         (clear_momentary): Likewise.
8052         (pop_momentary): Likewise.
8053         (end_temporary_allocation): Likewise.
8054         (pop_obstacks): Likewise.
8055         (push_obstacks): Likewise.
8056         (pop_momentary_nofree): LIkewise.
8057         (preserve_momentary): Likewise.
8058         (saveable_allocation): Likewise.
8059         (temporary_allocation): Likewise.
8060         (resume_temporary_allocation): Likewise.
8061         (perserve_initializer): Likewise.
8062         (debug_obstack): Likewise.
8063         (rtl_in_current_obstack): Likewise.
8064         (rtl_in_saveable_obstack): Likewise.
8065         (obfree): Likewise.
8066         * varasm.c (current_obstack): Remove.
8067         (saveable_obstack): Remove.
8068         (rtl_obstack): Remove.
8069         (immed_double_const): Don't mess with obstacks.
8070         (immed_real_cons): Likewise.
8071         (output_constant_def): Likewise.
8072         (init_varasm_status): Use xcalloc.
8073         (mark_pool_constant): Mark the pool constant itself.
8074         (free_varasm_status): Free memory.
8075         (decode_rtx_const): Call bzero directly, rather than expanding it
8076         inline.
8077         (record_rtx_const): Don't mess with obstacks.
8078         (force_const_mem): Likewise.
8079         * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
8080         conditionals.
8081         (aof_pic_entry): Likewise.
8082         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
8083         * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
8084         * config/pa/pa.c (saveable_obstack): Remove.
8085         (rtl_obstack): Likewise.
8086         (current_obstack): Likewise.
8087         (output_call): Don't mess with obstacks.
8088         (hppa_encode_label): Remove ggc_p conditionals.
8089         * config/romp/romp.c (get_symref): Don't mess with obstacks.
8090         * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
8091         (rs6000_encode_section_info): Likewise.
8092         * config/sh/sh.c (get_fpscr_rtx): Likewise.
8093
8094 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka  <jh@suse.cz>
8095
8096         * i386.md (adddi3, subdi3 splitters): Update for new pattern.
8097         (addsi3_cc, addqi3_cc, subsi3_cc): Remove
8098         (addsi3_carry): Canonicalize.
8099         (addqi_5): Remove '*'.
8100         (sbb pattern): Canonicalize.
8101
8102         * i386.md (cmp to inc/add peep2): New.
8103
8104 2000-10-12  Richard Earnshaw  <rearnsha@arm.com>
8105
8106         * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
8107         the exit block.
8108
8109 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8110
8111         * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
8112         * README.TRAD, TESTS.FLUNK: Remove.
8113
8114 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8115
8116         * c-common.c (decl_attributes): Don't allow strftime formats with
8117         first_arg_num nonzero.
8118         (check_format_info): Set wanted_type and wanted_type_name to zero
8119         before they are possibly assigned and used.
8120
8121 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8122
8123         * c-common.c (scanf_flag_specs): Add flags ' and I.
8124         (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
8125         or the ^ and # flags together.
8126         (scan_char_table): Handle the ' and I flags.
8127         (format_types): Add ' and I flags for scanf.
8128
8129 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
8130
8131         * c-common.c (print_char_table): Use the unpromoted type for
8132         lengths "h" and "hh" with conversions dioxXu.
8133         (check_format_types): Apply the default argument promotions where
8134         the wanted type is not a pointer target.
8135
8136 2000-10-11  Michael Meeks  <mmeeks@gnu.org>
8137             Joseph S. Myers  <jsm28@cam.ac.uk>
8138
8139         * c-typeck.c (check_modify_expr): New function.
8140         (build_modify_expr): Call it if warn_sequence_point.
8141         * c-decl.c (warn_sequence_point): New variable.
8142         (c_decode_option): Handle -Wsequence-point and
8143         -Wno-sequence-point.  Enable -Wsequence-point as part of -Wall.
8144         * c-tree.h (warn_sequence_point): Declare.
8145         * invoke.texi (-Wsequence-point): Document.
8146         * toplev.c (documented_lang_options): Add -Wsequence-point and
8147         -Wno-sequence-point.
8148         Original work by Michael Meeks, 16 Jun 1998.
8149
8150 Wed Oct 11 06:15:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8151
8152         * tree.c (get_narrower): Don't look at precision of field if
8153         not laid out yet.
8154
8155 Tue Oct 10 23:14:33 2000  Denis Chertykov  <denisc@overta.ru>
8156
8157         * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
8158         declaration for data with "progmem" attribute.
8159
8160 2000-10-09  Marek Michalkiewicz  <marekm@linux.org.pl>
8161
8162         * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
8163         Correct insn length if shift count is a memory operand.
8164         * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
8165         (*iorhi3_clobber): Change lo8 to hi8.
8166         (zero_extendhisi2): Change %B0 to %A1.
8167         (ashlhi3, ashrhi3): Correct insn length.
8168         (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
8169         from "clobber" to "set_n" in some alternatives.
8170
8171 2000-10-10  Jakub Jelinek  <jakub@redhat.com>
8172
8173         * reload1.c (calculate_needs_all_insns): If deleting an instruction,
8174         remove its insn_chain structure as well.
8175
8176 2000-10-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8177
8178         * dbxout.c (dbxout_source_line): Remove extra tab.
8179
8180 2000-10-09  Hans-Peter Nilsson  <hp@bitrange.com>
8181
8182         * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
8183
8184 2000-10-09  Richard Henderson  <rth@cygnus.com>
8185
8186         * Makefile.in (LANG_LIB2FUNCS): Remove.
8187         (LIB2FUNCS): Remove _pure.
8188         (LIB2ADD): Remove LANG_LIB2FUNCS.
8189         (stage_a): Don't set LANG_LIB2FUNCS.
8190         * libgcc2.c (__terminate): Mark noreturn.
8191         (__pure_virtual): Remove.
8192         * mklibgcc.in: Remove LIB2ADD .txt processing.
8193
8194 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
8195
8196         * arm.md (push_multi): Revert unintended change.
8197
8198 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
8199
8200         * arm.c: Miscellaneous white space and comment clean-ups.  No
8201         functional change.
8202         * arm.md: Likewise.
8203
8204 2000-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8205
8206         * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
8207         STRING_CST by calling combine_strings.
8208
8209 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
8210
8211         * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
8212         (thumb_output_move_mem_multiple): Support new insn format.
8213         * arm.md (movmem12b): Use SSA compatible format.
8214         (movmem8b): Likewise.
8215
8216 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
8217
8218         * arm.md (predicable): New attribute, default to "no".
8219         (all patterns): Mark as predicable if appropriate.
8220         (conditional execution splits): Split using predication format.
8221         (define_cond_exec): Define.
8222         * arm.c (arm_print_operand): handle insn predicate.
8223
8224 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8225
8226         * README.NS32K: Remove file.
8227
8228 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8229
8230         * README-bugs: Remove file.
8231
8232 2000-10-08  Philipp Thomas  <pthomas@suse.de>
8233         * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
8234         for test.
8235         * configure: Rebuilt.
8236
8237 2000-10-08  Philipp Thomas  <pthomas@suse.de>
8238         * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
8239         disable catalog building if no suitable program was found.
8240         Move warning message from here
8241         (AM_GNU_GETTEXT): To here.
8242         * configure: Rebuilt.
8243
8244 2000-10-08  Philipp Thomas  <pthomas@suse.de>
8245         * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
8246         different cache variables.
8247         (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
8248         uses different cache variables.
8249         (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
8250         * configure: Regenerated.
8251
8252 2000-10-08  Richard Henderson  <rth@cygnus.com>
8253
8254         * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
8255         * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
8256         * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
8257         Use SHLIB_EXT.
8258
8259         * config/t-linux (SHLIB_EXT): New.
8260         (SHLIB_LINK): Use the entire build command, with substitutions.
8261         (SHLIB_LIBS): Remove.
8262         * config/alpha/t-osf4: Likewise.
8263         * config/mips/t-iris6: Likewise.
8264         * config/sparc/t-sol2: Likewise, but move shlib stuff...
8265         * config/sparc/t-slibgcc-sld: ...here.
8266         * config/sparc/t-slibgcc: New file.
8267
8268 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8269
8270         * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
8271         * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
8272         CTI_UINTMAX_TYPE.
8273         (intmax_type_node, uintmax_type_node): Define.
8274         * c-common.c (decl_attributes): If pedantic, warn if `mode'
8275         attributes create a type wider than intmax_t.
8276         (T_IM, T_UIM): Define properly.
8277         * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
8278         defined.
8279         (init_decl_processing): Initialize intmax_type_node and
8280         uintmax_type_node.
8281         * c-lex.c (lex_number): When pedantic and warning for integer
8282         constants that are too large, in C99 mode warn for those that have
8283         a type wider than long long.
8284
8285 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
8286
8287         * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
8288         FMT_FLAG_FANCY_PERCENT_OK): Define.
8289         (format_char_info): Add flag "4" to comment.
8290         (format_flag_spec, format_flag_pair): New structures.
8291         (format_kind_info): Add additional fields to control format
8292         checking.
8293         (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
8294         scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
8295         arrays.
8296         (time_char_table): Use "4" flag to handle %Ey.
8297         (format_types): Add entries for new fields.
8298         (get_flag_spec): New function.
8299         (check_format_info): Increase size of flag_chars[] to 256.
8300         Control format checking using the new fields of a format_kind_info
8301         and the new tables; remove all conditionals on printf_format_type,
8302         scanf_format_type or strftime_format_type.  Handle all details of
8303         bad combinations of flags (including width, precision and strftime
8304         modifiers) through data rather than ad hoc code.  Handle all
8305         details of standard versions in which flags appeared through
8306         data.  Use the "4" flag.
8307
8308 2000-10-07  Will Cohen  <wcohen@redhat.com>, Kazu Hirata  <kazu@hxi.com>
8309
8310         * config/h8300/h8300.md: Remove the memory alternative and correct
8311         the insn lengths in the templates for sign extention and zero
8312         extention.
8313
8314 2000-10-07  Richard Henderson  <rth@cygnus.com>
8315
8316         * calls.c (expand_call): Disallow sibcalls to noreturn functions.
8317         * flow.c (make_edges): Revert last change.
8318
8319         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
8320         TREE_THIS_VOLATILE.
8321         * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
8322
8323 2000-10-06  David O'Brien  <obrien@dragon.nuxi.com>
8324
8325         * config/alpha/elf.h: Standardize the formatting.
8326
8327 2000-10-06  David O'Brien  <obrien@FreeBSD.org>
8328
8329         * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
8330         #undef.
8331
8332 2000-10-06  Richard Henderson  <rth@cygnus.com>
8333
8334         * function.c (diddle_return_value): Examine
8335         current_function_return_rtx instead of the DECL_RESULT.
8336         (expand_function_end): Handle reloading DECL_RESULT from memory
8337         into a hard register.  Query promote_mode for sign of mismatched
8338         modes.
8339
8340 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
8341
8342         * haifa-sched.c (schedule_insns): Fix typo in freeing
8343         forward_dependency_cache.
8344
8345 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
8346
8347         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
8348         `TARGET_SH2' as a condition.
8349
8350 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
8351
8352         * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
8353         forward_dependency_cache): New variables.
8354         (add_dependence, remove_dependence): Use anti_dependency_cache and
8355         output_dependency_cache.
8356         (compute_block_forward_dependences): Use forward_dependency_cache.
8357         (schedule_insns): Allocate and free memory for anti/output/forward
8358         dependencies caches.
8359
8360 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
8361
8362         * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
8363         `! TARGET_SH1'.  Reindent.
8364
8365 2000-10-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8366
8367         * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
8368         Move functions from here ...
8369
8370         * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
8371         ... to here.
8372         (c_expand_builtin): New function.
8373         (init_function_format_info): Don't set `check_function_format_ptr'.
8374         (c_common_nodes_and_builtins): Set built_in_class type for
8375         printf/__builtin_printf to BUILT_IN_FRONTEND.
8376         (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
8377
8378         * c-common.h (build_function_call): Declare.
8379
8380         * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
8381         to `lang_expand_expr' rather than `expand_builtin'.
8382
8383         * tree.c (check_function_format_ptr): Delete.
8384
8385         * tree.h (check_function_format_ptr): Likewise.
8386
8387 2000-10-06  Hans-Peter Nilsson  <hp@bitrange.com>
8388
8389         * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
8390         DW_OP_bregx when cfa->reg > 31.
8391
8392         * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
8393         break.
8394
8395 2000-10-05  Richard Henderson  <rth@cygnus.com>
8396
8397         * c-decl.c (warn_missing_noreturn): Remove.
8398         (c_expand_body): Don't set or check can_reach_end.
8399         * c-tree.h (warn_missing_noreturn): Move ...
8400         * flags.h: ... here.
8401         (can_reach_end): Remove.
8402         * flow.c (check_function_return_warnings): New.
8403         (make_edges): No edge to exit for noreturn sibcalls.
8404         * function.c (expand_function_end): Save the return value
8405         clobber instruction.
8406         (mark_function_status): Mark it.
8407         * function.h (struct function): Add x_clobber_return_insn.
8408         * jump.c (can_reach_end): Remove.
8409         (calculate_can_reach_end): Remove.
8410         (jump_optimize_1): Don't call it.
8411         * output.h (check_function_return_warnings): Declare.
8412         * toplev.c (warn_missing_noreturn): Move from c-decl.c
8413         (rest_of_compilation): Call check_function_return_warnings.
8414
8415 2000-10-05  Richard Henderson  <rth@cygnus.com>
8416
8417         * Makefile.in (NM_FOR_TARGET): New.
8418         (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
8419         (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
8420         * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map.  Depend the
8421         shared library build on that and EXTRA_MULTILIB_PARTS.
8422         * mkmap-flat.awk: New file.
8423         * mkmap-symver.awk: New file.
8424         * libgcc-std.ver: New file.
8425         * config/libgcc-glibc.ver: New file.
8426         * config/ia64/libgcc-ia64.ver: New file.
8427         * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
8428         (SHLIB_LINK): Add --version-script.
8429         * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
8430         * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
8431         * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
8432         (SHLIB_LINK): Add -M.
8433
8434 2000-10-05  Richard Henderson  <rth@cygnus.com>
8435
8436         * Makefile.in (LIB2FUNCS): Add _clz.
8437         * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
8438         (__clz_tab): Put in its own unit, non-static.
8439         * libgcc2.h: Always include longlong.h.
8440
8441         * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
8442         a zero instead of -1.
8443         (count_trailing_zeros): Likewise.
8444
8445 2000-10-05  Richard Henderson  <rth@cygnus.com>
8446
8447         * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
8448         when second op1 is const0_rtx.  Validate op0 as a register.
8449         * config/alpha/alpha.md (setcc_internal): Don't allow constants
8450         in the first argument of the compare.
8451         (setcc_swapped_internal): Likewise.
8452         (setne_internal): Likewise.
8453
8454 2000-10-05  Geoff Keating  <geoffk@cygnus.com>
8455
8456         * tree.c (tree_size): New function split out of copy_node.
8457         (make_node): Remove obstack handling.  Use tree_size.
8458         (copy_node): Use tree_size.
8459         * tree.h: Prototype tree_size.
8460
8461 2000-10-05  Richard Henderson  <rth@cygnus.com>
8462
8463         * diagnostic.c (output_format): Add missing break.
8464
8465 2000-10-05  Jim Wilson  <wilson@cygnus.com>
8466
8467         * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
8468         SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
8469         sequence insn to INSN, and delete last sequence insn.
8470
8471 2000-10-05  Phil Edwards  <pme@gcc.gnu.org>
8472
8473         * gcc.c (main): Include generated configargs.h header
8474         and use arguments in '-v' output.
8475
8476 Thu Oct  5 16:16:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8477
8478         * gcc.c: Move data on prefixes forward in file and reorganize.
8479         (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
8480         Always define, but make null if no value.
8481         (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
8482         and "md_startfile_prefix_1".
8483         (main): Check whether md_exec_prefix and the others are the
8484         null string rather than whether the macro is defined.
8485
8486 Thu Oct  5 19:04:18 2000  J"orn Rennecke <amylaar@redhat.co.uk>
8487
8488         * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
8489         from PSImode to SImode.
8490
8491 2000-10-05  Jakub Jelinek  <jakub@redhat.com>
8492
8493         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
8494         from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
8495         * dwarf2out.c (add_const_value_attribute): Divide by 4, not
8496         sizeof(long).
8497
8498 Thu Oct  5 09:31:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8499
8500         * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
8501         negation in proper type.a
8502
8503 2000-10-04  Richard Henderson  <rth@cygnus.com>
8504
8505         * configure.in (enable-shared): New.
8506         * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
8507         (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
8508         * mklibgcc.in: Use them to link shared a libgcc.
8509         * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
8510         * config/alpha/t-ieee (SHLIB_MULTILIB): New.
8511         * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
8512         * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
8513
8514         * configure.in (alpha-osf*): Use t-osf and x-osf.
8515         * config/alpha/t-osf: New file.
8516         * config/alpha/t-osf4: New file.
8517         * config/alpha/x-osf: New file.
8518         * config/alpha/x-alpha: Remove file.
8519
8520 2000-10-04  Will Cohen  <wcohen@redhat.com>
8521
8522         * c-typeck.c (process_init_element): Added warning for zero-length
8523         array.
8524
8525         * extend.texi (Zero Length): State that static initializers for
8526         zero-length arrays are not allowed.
8527
8528 Mon Oct  2 14:50:14 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8529
8530         * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
8531         to come last.
8532
8533 2000-10-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8534
8535         * config/float-c4x.h: New.
8536         * configure.in (c4x-*): Set float_format to c4x.
8537         * configure: Regenerate.
8538
8539 2000-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8540
8541         * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
8542         compilation for solaris versions 2.7 and greater.
8543
8544 2000-10-02  Marc Espie <espie@openbsd.org>
8545
8546         * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
8547         instead of redefining from scratch.
8548
8549 2000-10-02  David O'Brien  <obrien@dragon.nuxi.com>
8550
8551         * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
8552
8553 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
8554
8555         * config/ns32k/genix.h: Remove.
8556         * config/ns32k/x-genix: Likewise.
8557         * config/ns32k/xm-genix.h: Likewise.
8558         * config/fx80: Remove all filee in directory.
8559         * config/pyr: Likewise.
8560         * config/tahoe: Likewise.
8561         * config/gmicro: Likewise.
8562         * config/spur: Likewise.
8563         * configure.in: Remove configury bits for above targets.
8564         * configure: Regenerated.
8565
8566         * configure.in: Don't configure chill by default.
8567         * configure: Regenerated.
8568
8569         * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
8570         (lang_mark_false_label_stack): Remove.
8571         * c-lex.c (init_c_lex): Add file_info_tree as GC root.  Allocate
8572         <top level> string in GC area.
8573         (mark_splay_tree_node): New function.
8574         (mark_splay_tree): Likewise.
8575         * except.c (mark_eh_status): Only call lang_mark_false_label_stack
8576         if it exists.
8577         * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
8578         * ggc-common.c (lang_mark_false_label_stack): Change type.
8579         * ggc.h (ggc_alloc_string): Add comment.
8580         (ggc_strdup): New function.
8581
8582 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru>
8583
8584         * config/avr/avr.h (BRANCH_COST): Define as 0.
8585
8586         * config/pdp11/pdp11.c: #include "tree.h" added.
8587
8588 2000-09-30  Marek Michalkiewicz  <marekm@linux.org.pl>
8589
8590         * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
8591         ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
8592         with known shift count.
8593         * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
8594         New alternative for shift count 2 with no scratch register.
8595         (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
8596         "set_n" for shift counts 1 and 2.
8597
8598 2000-09-30  Geoff Keating  <geoffk@cygnus.com>
8599
8600         * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE.  Calculate
8601         the mask value from the individual SET operations.
8602         (return_internal_si): Move the USE after the RETURN.
8603         (return_internal_di): Likewise.
8604         (return_and_restore_fpregs_si): Likewise.
8605         (return_and_restore_fpregs_di): Likewise.
8606         (return_eh_si): Likewise.
8607         (return_eh_di): Likewise.
8608         * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
8609         or check, the USE.
8610         (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
8611         Don't generate a PARALLEL around a single operation movsi_to_cr.
8612         Generate the RETURN first in any PARALLELs.
8613
8614         * rtlanal.c (single_set_1): Use fatal_insn to display the
8615         invalid insn.  Check for more cases when a USE or CLOBBER occurs
8616         before a SET.
8617         * Makefile.in: Update dependencies for rtlanal.o.
8618
8619 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
8620
8621         * i386.c: Move include of "config.h" to before that of <setjmp.h>.
8622
8623 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
8624
8625         * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
8626         Consistently use @email for formatting email addresses.
8627
8628 2000-09-29  Richard Henderson  <rth@cygnus.com>
8629
8630         * cse.c (notreg_cost): New argument outer.
8631         (COST): Pass in SET to notreg_cost
8632         (COST_IN): New.
8633         (fold_rtx): Use COST_IN.  Prefer constants when costs
8634         are the same.
8635
8636 2000-09-29  David Edelsohn  <edelsohn@gnu.org>
8637
8638         * fixinc/inclhack.def (broken_cabs): Generalize regex.
8639         * fixinc/fixincl.x: Regenerate.
8640
8641 2000-09-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8642
8643         * loop.c (check_final_value): A GIV is not replaceable if used
8644         before set.
8645
8646 Fri Sep 29 10:04:12 2000  Jeffrey A Law  (law@cygnus.com)
8647
8648         * version.c: Bump to gcc-2.97.
8649
8650 Frs Sep 29 13:37:59 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8651
8652         * final.c (final_scan_insn): Remove extra extract_insn call;
8653         Use caching for constrain_operands.
8654         (cleanup_subreg_operands): Use caching for extract_insn.
8655         * recog.c (constrain_operands_cached): New.
8656         * recog.h (constrain_operands_cached): Declare.
8657         * i386.c (ix86_attr_length_immediate_default,
8658         ix86_attr_length_address_default, ix86_agi_dependant): Cache
8659         extract_insn call.
8660
8661         * recog.c (asm_noperands): Tweak.
8662         (extract_insn): Do not call asm_noperads for non-asm instructions.
8663
8664 Fri Sep 29 13:20:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8665
8666         * recog.c (recog_memoized): Rename to recog_memoized_1.
8667         * recog.h (recog_memoized): Rename to recog_memoized_1.
8668         (recog_memoized): New macro.
8669         * rtl.h (single_set): Rename to single_set_1
8670         (single_set): New macro.
8671         * rtlanal.c (single_set): Rename to single_set_1;  expect clobbers
8672         to be last.
8673
8674         * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
8675         Do not use match_dup of input operands at outputs.
8676         Use register_operand for memory expression.
8677         (rep_movsi): Put use last, canonicalize.
8678         Use register_operand for memory expression.
8679         (rep_movqi): Put use last.
8680         Use register_operand for memory expression.
8681         (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
8682         of input operands at outputs.  Use register_operand for memory
8683         expression.
8684         (rep_stossi): Put use last; canonicalize; fix match_dup in
8685         the address expression
8686         (rep_stosqi): Likewise.
8687         (memcmp expander): Update calls.
8688         (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
8689         the clobbers.
8690
8691         * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
8692         VOIDmode.
8693         (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
8694
8695 2000-09-28  David O'Brien  <obrien@FreeBSD.org>
8696
8697         * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
8698         Contains the old contents of config/i386/freebsd.h
8699         * config/i386/freebsd.h: Now the ELF rather than a.out config file.
8700         Contains the old contents of config/i386/freebsd-elf.h
8701         * config/i386/freebsd-elf.h: Retire this file -- contents moved to
8702         config/i386/freebsd.h.
8703         * configure.in: Adjust for above changes.
8704         * po/POTFILES.in: Likewise.
8705         * po/en_GB.po: Likewise.
8706         * po/gcc.pot: Likewise.
8707         * configure: Rebuilt.
8708
8709 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8710
8711         * doloop.c (doloop_modify): Prevent delete_insn() from
8712         deleting too much.  Prefer loop->top over loop->start as
8713         target for the new JUMP insn.
8714         (doloop_valid_p): Ignore loop with exit_count != 0.
8715
8716 2000-09-28  Philipp Thomas  <pthomas@suse.de>
8717
8718         * invoke.texi (i386 Options): Add athlon to table of possible
8719         choices for -mcpu=.
8720
8721 2000-09-28  Gabriel Dos Reis  <gdr@codesourcery.com>
8722
8723         * diagnostic.h (output_clear_message_text): New function.
8724         (output_message_text): New macro.
8725
8726         * diagnostic.c (clear_text_info): Rename to
8727         output_clear_message_text.
8728         (output_clear): Adjust.
8729         (output_finish): Rename to output_finalize_message.  Tweek.
8730         (output_to_stream): Adjust.
8731
8732 2000-09-28  Neil Booth  <neilb@earthling.net>
8733
8734         * cpperror.c (_cpp_begin_message):  Do the test for suppression
8735         of warnings and pedantic warnings before the "is a warning an
8736         error" tests.
8737         * cppinit.c (cpp_handle_option): Remove surplus \n.
8738         * cpplex.c (ON_REST_ARG): Delete.
8739         (skip_block_comment): Initialise prevc.
8740         (parse_args): Improve error messages.
8741         (maybe_paste_with_next): Use CONTEXT_VARARGS rather
8742         than ON_REST_ARG.
8743         * cpplib.c (cpp_push_buffer): Fix grammar in message.
8744         * cppmain.c (main): Set callbacks for #ident and #pragma
8745         only if no_output option is false.
8746         (do_pragma_implementation): Only call the #pragma handler
8747         if it is set in the cpp_reader structure.
8748
8749 Wed Sep 27 14:00:07 2000  Donald Lindsay  <dlindsay@cygnus.com>
8750
8751         * integrate.c (copy_insn_list): if an ignored return value
8752         is being clobbered, skip cloning that into the inline copy.
8753
8754 2000-09-27  Joseph S. Myers  <jsm28@cam.ac.uk>
8755
8756         * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
8757         use @uref for formatting URLs.
8758
8759 2000-09-27  Mark Elbrecht  <snowball3@bigfoot.com>
8760
8761         * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
8762         name and prefix.
8763
8764 Tue 26-Sep-2000 18:25:38 BST  Neil Booth  <neilb@earthling.net>
8765
8766         * gcc.c (cpp_options): Add spec for -ftabstop=.
8767         (invoke_as): New spec that handles invoking as.
8768         Update specs to handle -save-temps and -traditional.
8769         * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
8770         Use invoke_as.
8771         * cp/lang-specs.h, objc/lang-specs.h: Update to use
8772         invoke_as, and handle -save-temps and -traditional (if
8773         appropriate).
8774
8775 2000-09-26  Jakub Jelinek  <jakub@redhat.com>
8776
8777         * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
8778         op0 is a SUBREG.
8779         (function_arg_slotno): Accept TImode/CTImode.
8780         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
8781         to UNITS_PER_WORD.
8782
8783 2000-09-26  Michael Hayes  <mhayes@cygnus.com>
8784
8785         * flow.c (flow_loop_pre_header_scan): Punt if loop enters
8786         from entry block.
8787
8788 2000-09-25  Jim Wilson  <wilson@cygnus.com>
8789
8790         * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
8791         (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
8792         (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
8793         (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
8794
8795 Tue 26-Sep-2000 00:16:22 BST  Neil Booth  <neilb@earthling.net>
8796
8797         * cpplex.c (parse_args): Don't set VOID_REST flag.
8798         (CONTEXT_VARARGS): New flag.
8799         (maybe_paste_with_next): Set context earlier in loop.  Use
8800         it.  Do varargs test with CONTEXT_VARARGS flag.
8801         (push_arg_context): Set CONTEXT_VARARGS flag if we're
8802         pushing an argument context for a varargs argument.
8803         * cpplib.h (VOID_REST): Delete.
8804         * gcc.dg/cpp/vararg1.c: Add test case.
8805
8806 2000-09-25  Branko Cibej  <branko.cibej@hermes.si>
8807
8808         * flags.h:  Declare warning flag warn_system_headers.
8809         * toplev.c:  Define it.
8810         (W_options): Add option -Wsystem-headers.
8811         * diagnostic.c (count_error): Test warn_system_headers.
8812         * invoke.texi:  Add description for -Wsystem-headers.
8813         * cpplib.h (cpp_options): New member warn_system_headers.
8814         * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
8815         CPP_IN_SYSTEM_HEADER.
8816         * cpplib.c (do_import, do_pragma_once): Likewise.
8817         * cpperror.c (_cpp_begin_message): Test warn_system_headers
8818         and CPP_IN_SYSTEM_HEADER.
8819         * cppinit.c (handle_option): Recognize -Wsystem_headers.
8820         (print_help): Describe -Wsystem_headers.
8821         * cpplex.c (lex_line): Reorganize condition so that warnings
8822         about C++ comments in system headers can be enabled. Remove
8823         label do_line_comment.
8824
8825 Mon 25-Sep-2000 23:38:27 BST  Neil Booth  <neilb@earthling.net>
8826
8827         * cpplex.c (save_comment): Only store the initial '/'
8828         now.
8829         (lex_token): Combine handling of the two comment types.
8830         Pass everything but the initial '/' to save_comment.
8831
8832 Mon 25-Sep-2000 23:31:45 BST  Neil Booth  <neilb@earthling.net>
8833
8834         * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
8835         _cpp_can_paste): New library-internal prototypes.
8836         * cpplex.c (dump_param_spelling, output_line_command,
8837         output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
8838         cpp_printf, cpp_output_list): Move to cppoutput.c.
8839         (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
8840         * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
8841         cppoutput.c.
8842         * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
8843         dump_param_spelling, output_line_command, cpp_scan_buffer,
8844         cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
8845         from elsewhere.
8846         * Makefile.in: Add cppoutput.c.
8847         * po/POTFILES.in: Add cppoutput.c.
8848
8849 2000-09-25  Richard Henderson  <rth@cygnus.com>
8850
8851         * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
8852         * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
8853         split until after reload.
8854         (rotlsi3, rotldi3): New.
8855
8856 2000-09-25  Gabriel Dos Reis  <gdr@codesourcery.com>
8857
8858         * diagnostic.c (output_last_position): Define.
8859         (set_real_maximum_length): Tweek.
8860         * diagnostic.h (output_last_position): Declare.
8861
8862 2000-09-25  Kazu Hirata  <kazu@hxi.com>
8863
8864         * config/i386/i386.c: Fix formatting.
8865
8866 2000-09-24  Alan Lehotsky  <alehotsky@cygnus.com>
8867
8868         * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
8869         UNITS_PER_WORD is small.
8870
8871 2000-09-25  Joseph S. Myers  <jsm28@cam.ac.uk>
8872
8873         * c-common.c (format_char_info): Add flags2; update comments.
8874         (print_char_table, scan_char_table, time_char_table): Split some
8875         flags out into flags2.
8876         (check_format_info): Use flags2 for those flags, for identifying
8877         the initial character of a scanf scanset, and for identifying
8878         printf formats where the '0' flag is ignored with precision.
8879
8880 2000-09-25  Hans-Peter Nilsson  <hp@axis.com>
8881
8882         Changes below marked "here" add TABs on either or both sides,
8883         covering start of line, up to any operand for all noted .*ASM.*_OP
8884         definitions.  All callers changed.
8885         * tm.texi: Make documented *_ASM.*_OP:s include spacing
8886         (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
8887         BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8888         ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8889         ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
8890         Fix typos in description for LONG_LONG_TYPE_SIZE and
8891         FINI_SECTION_ASM_OP.
8892         * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
8893         why these defaults don't have leading spacing.
8894         * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
8895         * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8896         UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
8897         * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
8898         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
8899         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
8900         * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
8901         * varasm.c (ASM_STABS_OP): Here.
8902         * xcoffout.h (ASM_STABS_OP): Here.
8903         * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8904         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8905         INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
8906         STRING_ASM_OP): Here.
8907         * config/freebsd.h (IDENT_ASM_OP): Here.
8908         * config/linux-aout.h (SET_ASM_OP): Here.
8909         * config/linux.h (SET_ASM_OP): Here.
8910         * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8911         INT_ASM_OP): Here.
8912         * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8913         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
8914         * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8915         * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8916         INT_ASM_OP): Here.
8917         * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8918         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8919         INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
8920         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8921         FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
8922         * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8923         CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8924         * config/a29k/udi.h (INT_ASM_OP): Here.
8925         * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
8926         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8927         SET_ASM_OP): Here.
8928         * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
8929         READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8930         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8931         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
8932         ASM_STABD_OP): Here.
8933         * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
8934         COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
8935         CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8936         BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
8937         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
8938         SIZE_ASM_OP, STRING_ASM_OP): Here.
8939         * config/alpha/vms.h (LINK_SECTION_ASM_OP,
8940         READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
8941         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
8942         * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8943         (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8944         * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
8945         Here.
8946         * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8947         BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
8948         * config/arm/coff.h (INT_ASM_OP): Here.
8949         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8950         * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
8951         * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
8952         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
8953         * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8954         * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8955         ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
8956         STRING_ASM_OP): Here.  Update documentation copy in comments.
8957         * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
8958         * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
8959         DATA_SECTION_ASM_OP): Here.
8960         * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
8961         Here.
8962         * config/convex/convex.h (TEXT_SECTION_ASM_OP,
8963         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8964         * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8965         BSS_SECTION_ASM_OP): Here.
8966         * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8967         BSS_SECTION_ASM_OP): Here.
8968         * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8969         Here.
8970         * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
8971         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8972         * config/h8300/h8300.h (ASM_WORD_OP): Here.
8973         * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8974         BSS_SECTION_ASM_OP): Here.
8975         * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
8976         * config/i386/bsd.h (ASM_BYTE_OP): Here.
8977         * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
8978         * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
8979         * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
8980         Here.
8981         * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
8982         * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
8983         Here.
8984         * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
8985         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8986         * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
8987         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8988         SET_ASM_OP): Here.
8989         * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
8990         * config/i386/netbsd.h (INT_ASM_OP): Here.
8991         * config/i386/openbsd.h (INT_ASM_OP): Here.
8992         * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
8993         IDENT_ASM_OP): Here.
8994         * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
8995         ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
8996         LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
8997         SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
8998         * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
8999         SHARED_BSS_SECTION_ASM_OP): Here.
9000         * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
9001         * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
9002         DATA_SECTION_ASM_OP): Here.
9003         * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9004         CONST_SECTION_ASM_OP): Here.
9005         * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
9006         * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9007         BSS_SECTION_ASM_OP): Here.
9008         * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
9009         * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
9010         * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
9011         BSS_ASM_OP): Here, but use trailing spaces.
9012         * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
9013         DATA_SECTION_ASM_OP): Here.
9014         * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
9015         Here.
9016         * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
9017         DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
9018         * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
9019         TDESC_SECTION_ASM_OP): Here.
9020         * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
9021         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
9022         * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9023         Here.
9024         * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9025         BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
9026         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9027         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
9028         * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
9029         COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
9030         FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
9031         SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
9032         * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
9033         * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
9034         * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
9035         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
9036         SET_ASM_OP): Here.
9037         * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
9038         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
9039         * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
9040         * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
9041         * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
9042         * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
9043         * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
9044         * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9045         GLOBAL_ASM_OP): Here.
9046         * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
9047         BSS_SECTION_ASM_OP): Here.
9048         * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
9049         * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9050         ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
9051         DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
9052         SKIP_ASM_OP): Here.
9053         * config/m68k/newsgas.h (SET_ASM_OP): Here.
9054         * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
9055         FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
9056         * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
9057         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
9058         SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
9059         but use trailing spaces.
9060         * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
9061         DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
9062         FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
9063         Here.
9064         * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
9065         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
9066         * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9067         CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
9068         DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9069         IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
9070         GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
9071         BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
9072         CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
9073         SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
9074         VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9075         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
9076         ASM_BYTE_OP): Here.
9077         * config/m88k/openbsd.h (SET_ASM_OP): Here.
9078         * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9079         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
9080         * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
9081         UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
9082         DTORS_SECTION_ASM_OP): Here.
9083         * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
9084         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
9085         * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
9086         BSS_SECTION_ASM_OP): Here.
9087         * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
9088         * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
9089         * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
9090         POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
9091         CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
9092         DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
9093         * config/mips/mips.c (ABICALLS_ASM_OP): Here.
9094         * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
9095         Here.
9096         * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
9097         Here.
9098         * config/mips/osfrose.h (SET_ASM_OP): Here.
9099         * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
9100         * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
9101         * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
9102         * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9103         Here.
9104         * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
9105         * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
9106         * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
9107         * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
9108         * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
9109         * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9110         Here.
9111         * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9112         Here.
9113         * config/rs6000/rs6000.h (SET_ASM_OP): Here.
9114         * config/rs6000/sol2.h (ASM_STABN_OP): Here.
9115         * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
9116         Here.
9117         * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
9118         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
9119         * config/sparc/linux.h (COMMON_ASM_OP): Here.
9120         * config/sparc/linux64.h (COMMON_ASM_OP,
9121         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
9122         * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
9123         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
9124         * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
9125         * config/sparc/pbd.h (ASM_INT_OP): Here.
9126         * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
9127         * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
9128         DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
9129         * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
9130         UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
9131         * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
9132         UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
9133         UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
9134         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
9135         CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9136         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
9137         EH_FRAME_SECTION_ASM_OP): Here.
9138         * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
9139         * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9140         Here.
9141         * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9142         Here.
9143         * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
9144         TCOMMON_ASM_OP): Here.
9145         * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
9146         Here.
9147         * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9148         ASM_BYTE_OP): Here.
9149
9150 2000-09-25  Richard Henderson  <rth@cygnus.com>
9151
9152         * expmed.c (store_bit_field): Adjust last change to not consider
9153         any word-sized field naturally aligned.
9154
9155 2000-09-24  Richard Henderson  <rth@cygnus.com>
9156
9157         * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
9158         TFmode unordered compares properly.  Revalidate integer compare
9159         operands.
9160         (alpha_emit_setcc): New.
9161         (alpha_emit_conditional_move): Revalidate integer compare operands.
9162         * config/alpha/alpha-protos.h: Update.
9163         * config/alpha/alpha.md (cmpdi): Allow general operands.
9164         (sne): Use alpha_emit_setcc.
9165         (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
9166         (sunordered, sordered): New.
9167
9168 2000-09-24  Richard Henderson  <rth@cygnus.com>
9169
9170         * config/ia64/ia64-protos.h: Update.
9171         * config/ia64/ia64.c (call_multiple_values_operation): Remove.
9172         (ia64_expand_call): New.
9173         (ia64_expand_prologue): Emit an alloc if we need extra input
9174         registers.
9175         (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
9176         instruction if true.
9177         (struct reg_flags): Add is_sibcall.
9178         (rtx_needs_barrier): A sibcall does not use CFM et al.  Ignore USEs.
9179         (emit_insn_group_barriers): Set flags.is_sibcall.  Remove hacks
9180         for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
9181         * config/ia64/ia64.h (PREDICATE_CODES): Update.
9182         * config/ia64/ia64.md (call): Use ia64_expand_call.
9183         (call_value): Likewise.
9184         (sibcall, sibcall_value): New.
9185         (call patterns): Remove extra expanders; tidy.
9186         (sibcall_epilogue): New.
9187         (set_bsp): Remove the extra USE.  Put the operand inside the UNSPEC.
9188
9189 2000-09-24  Richard Henderson  <rth@cygnus.com>
9190
9191         * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
9192
9193         * sibcall.c (skip_pic_restore): New.
9194         (identify_call_return_value): Use it.
9195
9196 2000-09-24  Mark Mitchell  <mark@codesourcery.com>
9197
9198         * c-tree.texi: Moved here from cp/ir.texi.  Documented nested
9199         functions.  Generalize to handle both C and C++.
9200         * Makefile.in (c-tree.info): New target.
9201         (info): Add c-tree.info.
9202
9203 Sun Sep 24 09:15:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9204
9205         * expr.c (store_field): If BITSIZE is negative, use size of type.
9206         (expand_expr, case COMPONENT_EXPR): Likewise.
9207
9208 Sun 24-Sep-2000 11:40:23 BST  Neil Booth  <NeilB@earthling.net>
9209
9210         * cpplex.c: Update TODO comment.
9211         * cpplib.c (do_error, do_warning): Merge common code of
9212         do_error and do_warning into do_diagnostic.  Use it.
9213         (do_diagnostic): New function.
9214         * cpplib.h: Fix comment typo.
9215
9216 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9217
9218         * c-common.c (check_format_info): Warn for a wide character string
9219         used as a non-wide format argument.
9220
9221 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9222
9223         * builtins.def (BUILT_IN_LLABS): Add.
9224         * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
9225         * c-common.c (c_common_nodes_builtins): Create builtin functions
9226         __builtin_llabs, and plain llabs unless no_nonansi_builtins
9227         outside of C99 mode.
9228         (expand_tree_builtin): Handle BUILT_IN_LLABS.
9229
9230 Sat 23-Sep-2000 22:39:18 BST  Neil Booth  <NeilB@earthling.net>
9231
9232         * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
9233         CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
9234         * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
9235         _cpp_free_toklist): No need to worry about extra dummy token
9236         at the start of token lists any more.
9237         (trigraph_ok): Only warn outside comments.
9238         (skip_block_comment): Set and clear lexing_comment.
9239         (skip_line_comment): Take a cpp_reader not cpp_buffer.
9240         Set and clear lexing_comment.
9241         (parse_number): Handle leading '.' indicated by pfile->seen_dot.
9242         (check_long_token): Delete.
9243         (lex_percent, lex_dot): New subroutines of lex_token to
9244         handle lexing of '.' and '%' without lookback.
9245         (lex_token): Use lex_dot and lex_percent.
9246         (lex_line): Don't check for LIST_OFFSET.
9247         (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
9248         * cpplib.c (_cpp_parse_assertion): Similarly.
9249         (cpp_push_buffer): Initialize extra_char.
9250         * cpplib.h (LIST_OFFSET): Delete.
9251         (struct cpp_buffer): New member extra_char.
9252         (struct lexer_state): New members lexing_comment and seen_dot.
9253
9254 2000-09-23  Jason Merrill  <jason@redhat.com>
9255
9256         * config/rs6000/x-aix41 (CLIB): Define here.
9257         * config/rs6000/t-aix43: Not here.
9258         * config/rs6000/t-aix41: Or here.  Remove.
9259         * configure.in: Don't use it.
9260
9261 2000-09-22  Jason Merrill  <jason@redhat.com>
9262
9263         * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
9264         * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
9265         * config.in: Regenerate.
9266
9267         * configure.in: Fix checks for assembler features when using a
9268         one-tree assembler that has not yet been built.
9269         Fix --disable-threads.
9270
9271 2000-09-19  Geoff Keating  <geoffk@cygnus.com>
9272
9273         * stmt.c (expand_asm_operands): Allow # in constraints.
9274
9275 2000-09-22  Jason Merrill  <jason@redhat.com>
9276
9277         * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
9278
9279         * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
9280         function-local names.
9281
9282 2000-09-22  Brad Lucier <lucier@math.purdue.edu>
9283             Mark Mitchell  <mark@codesourcery.com>
9284
9285         * toplev.c (warn_disabled_optimization): Declare new warning flag.
9286         * flags.h (warn_disabled_optimization): Add it here.
9287         * gcse.c (gcse_main): Add warning when disabled.
9288         * invoke.texi: Document -Wdisabled-optimization.
9289
9290 2000-09-21  Jason Merrill  <jason@redhat.com>
9291
9292         * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
9293
9294         * dwarf2out.c (tree_add_const_value_attribute): New fn.
9295         (gen_variable_die): Call it for non-definitions.
9296
9297         * dwarf2out.c (die_struct): Add die_mark field.
9298         (mark_dies, unmark_dies): New fns.
9299         (clear_die_sizes): Remove.
9300         (print_die): Check die_symbol rather than die_offset.
9301         (build_abbrev_table, output_pubnames, output_aranges): Check
9302         die_mark rather than die_offset.
9303         (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
9304         Call mark_dies.
9305
9306 Thu 21-Sep-2000 18:19:05 BST  Neil Booth  <NeilB@earthling.net>
9307
9308         * cppfiles.c (lookup_include_file): Rename to open_file.
9309         Always create a splay tree value, even on syscall failures.
9310         Negative entries indicated by fd == -2.
9311         Re-open files closed in the meantime.
9312         (_cpp_fake_include): Create a negative splay tree entry.
9313         (find_include_file, cpp_read_file): Update for function name
9314         change.
9315         * gcc.gd/cpp/mi4.c: Testcase.
9316
9317 2000-09-21  Nick Clifton  <nickc@redhat.com>
9318
9319         * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
9320         ARM and THUMB modes.
9321
9322         * config/mcore/mcore.c: Fix compile time warnings.
9323         * config/mcore/mcore-protos.h: Fix compile time warnings.
9324
9325 2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
9326
9327         * configure.in: Correct test of gcc_cv_glibc.
9328         * configure: Rebuilt.
9329         * config.in: Rebuilt.
9330
9331 2000-09-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9332
9333         * builtins.c (expand_builtin_fputs): Also expand when length!=1.
9334         (expand_builtin): Handle BUILT_IN_FWRITE.
9335
9336         * builtins.def (BUILT_IN_FWRITE): New entry.
9337
9338         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
9339
9340 Wed Sep 20 15:39:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9341
9342         * gcc.c (modify_target): New variable and struct.
9343         (process_command): Handle MODIFY_TARGET_NAME.
9344         * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
9345         * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
9346
9347         * c-decl.c (finish_decl): Add else's to avoid referencing
9348         TYPE_DOMAIN of an ERROR_MARK.
9349
9350 Wed Sep 20 21:44:31 2000  Denis Chertykov  <denisc@overta.ru>
9351
9352         * config/avr/avr.c (adjust_insn_length): Adjust lengths of
9353         `reload_in*' insns.
9354
9355 2000-09-19  Marek Michalkiewicz  <marekm@linux.org.pl>
9356
9357         * config/avr/avr.md (neghi2): Add alternative for input and output
9358         operands in different registers, as in negsi2.
9359         (*negsi2): Remove '*' from the name.  Use "movw" if available.
9360
9361 2000-09-19  Jim Wilson  <wilson@cygnus.com>
9362
9363         * config/ia64/crtbegin.asm (__dso_handle): Delete use of
9364         HAVE_GAS_HIDDEN macro.
9365
9366 Tue 19-Sep-2000 22:38:57 BST  Neil Booth  <NeilB@earthling.net>
9367
9368         * cpplex.c (lex_line): Drop the EOF token for unknown
9369         directives in assembler.
9370
9371 2000-09-19  David Edelsohn  <edelsohn@gnu.org>
9372
9373         * configure.in: Allow enable_threads_flag value of "aix".  Define
9374         thread_file as "aix" for AIX 4.3 and above.
9375         * configure: Regenerated.
9376
9377         * gthr-aix.h: New file.
9378
9379         * rs6000/t-aix43: Replace soft-float multilib with pthread.
9380         Remove 403 processor multilib match.  Fix rios2 processor multilib
9381         match.
9382
9383         * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
9384         to return to appropriate csect.
9385
9386 2000-09-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9387
9388         * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
9389         functions.
9390         (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
9391         (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
9392         BUILT_IN_PRINTF.
9393
9394         * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
9395         New entries.
9396
9397         * c-common.c (init_function_format_info): Handle __builtin_printf.
9398         Set `check_function_format_ptr'.
9399         (c_common_nodes_and_builtins): Set `puts_ftype' and
9400         `printf_ftype'.  Declare __builtin_putchar, __builtin_puts,
9401         __builtin_printf and printf.
9402
9403         * tree.c, tree.h (check_function_format_ptr): Declare.
9404
9405 Tue 19-Sep-2000 18:26:57 BST  Neil Booth  <NeilB@earthling.net>
9406
9407         * cppfiles.c (read_include_file): Take no special action for
9408         zero-length files.
9409
9410 2000-09-19  Bernd Schmidt  <bernds@redhat.co.uk>
9411
9412         * final.c (insn_current_reference_address): Use INSN_SHUID of seq
9413         rather than that of branch.
9414         (shorten_branches): Don't increment insn_current_address twice.
9415
9416         Undo most of the Wed Jan 27 23:39:53 1999 patch:
9417         * loop.h (struct induction): Delete members derived, ix and last_use.
9418         (struct loop_ivs): Delete members first_increment_giv and
9419         last_increment_giv.
9420         * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
9421         recombine_givs): Delete functions.
9422         (find_and_verify_loops): Don't initialize cont_dominator.
9423         (strength_reduce): Lose code to try to find bivs that can be
9424         expressed as givs of another biv, and to convert biv increments
9425         into givs.
9426         Lose loop_scan_start variable, always use loop->scan_start.
9427         Don't call recombine_givs.  Don't handle derived givs.
9428         (record_giv): Don't initialize derived and last_use fields.
9429         (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
9430         givs.
9431         * unroll.c (derived_regs): Delete static variable.
9432         (unroll_loop): Don't initialize it.
9433         (copy_loop_body): Lose code to handle derived givs.
9434         (find_splittable_givs): Don't check for givs made from biv
9435         increments.
9436         Don't set derived_regs.
9437
9438         Fix misapplied earlier patch:
9439         * config/sh/sh.md (floatsisf_ie): Reenable.  Remove explicit reference
9440         to fpul.
9441         (floatsisf2): Generate floatsisf_ie by default.
9442         (floatsisf_i4): Conditional on TARGET_SH4.
9443
9444         (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
9445         predicate for the expanders.
9446
9447 2000-09-19  Richard Henderson  <rth@cygnus.com>
9448
9449         * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
9450         in addition to pentium and pentiumpro symbols.
9451         (CPP_CPU_DEFAULT_SPEC): Likewise.
9452
9453         * c-typeck.c (c_expand_asm_operands): Restore the output tree
9454         after expanding.
9455
9456         * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
9457         if the tree has side effects.
9458         (warn_if_unused_value): Do not warn about void constructs.
9459
9460         * c-decl.c (poplevel): Invoke warn_about_unused_variables.
9461
9462         * unroll.c (copy_loop_body): Update LABEL_NUSES before
9463         calling invert_jump.
9464
9465 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
9466
9467         * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
9468         into anything.
9469
9470 2000-09-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9471
9472         * Makefile.in (c-common.o): Depend on diagnostic.h.
9473
9474         * c-common.c: Include diagnostic.h.
9475         (tfaff): Delete.
9476         (status_warning): New function.
9477         (check_format_info, maybe_read_dollar_number, check_format_types,
9478         finish_dollar_format_checking, check_function_format): Accept a
9479         `status' parameter.  All callers changed.
9480
9481         * c-common.h (check_function_format): Accept a `status' parameter.
9482
9483         * c-typeck.c: Update call to `check_function_format'.
9484
9485 2000-09-18  Richard Henderson  <rth@cygnus.com>
9486
9487         * c-decl.c (c_expand_body): Call mark_varargs before
9488         expand_function_start.
9489
9490 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
9491
9492         * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
9493         * config/rs6000/eabi-ci.asm: Likewise.
9494
9495 2000-09-18  Richard Henderson  <rth@cygnus.com>
9496
9497         * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
9498         for BImode.
9499
9500 2000-09-18  Jim Wilson  <wilson@cygnus.com>
9501
9502         * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
9503         before passing it to fold_rtx_mult_add.
9504
9505         * unroll.c (final_giv_value): Pass increment through
9506         extend_value_for_giv before passing it to emit_iv_add_mult.
9507
9508         * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
9509         paradoxical subreg, then directly substitute the replacement and
9510         return.
9511
9512 Mon 18-Sep-2000 22:12:44 BST  Neil Booth  <NeilB@earthling.net>
9513
9514         * cpp.texi: Update documentation, including some clarifications,
9515         the treatment of various newline combinations, and space between
9516         backslash and newline.
9517
9518 Mon Sep 18 21:00:47 2000  J"orn Rennecke <amylaar@redhat.co.uk>
9519
9520         * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
9521         Replace ASM_OUTPUT_LABELREF with assemble_name.
9522
9523 Mon Sep 18 20:26:50 2000  J"orn Rennecke <amylaar@redhat.co.uk>
9524
9525         * sh.c (addsubcosts): CONST is not cheap.
9526         (find_barrier): For Sh1, take alignment after jumps into account.
9527
9528 2000-09-15  Andrew Haley  <aph@redhat.com>
9529
9530         * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
9531         remove all SETs of SUBREGs of hard registers.
9532         * function.c (purge_hard_subreg_sets): New function.
9533         (purge_single_hard_subreg_set): New function.
9534         * rtl.h: (purge_hard_subreg_sets): New function.
9535
9536 2000-09-18  Richard Henderson  <rth@cygnus.com>
9537
9538         * config/ia64/ia64-protos.h: Update.
9539         * config/ia64/ia64.c (signed_inequality_operator): New.
9540         (ia64_expand_compare): New.
9541         (ia64_register_move_cost): Handle PR_REGS moves.
9542         (ia64_secondary_reload_class): Require a GR when moving to a PR.
9543         (struct reg_write_state): Add written_by_and/or.
9544         (struct reg_flags): Add is_and/or.
9545         (rws_update): Set them.
9546         (rws_access_regno): Test them to allow parallel comparisons.
9547         (rtx_needs_barrier): Recognize parallel comparisons.
9548         (emit_insn_group_barriers): Set prev_insn after a call stop bit.
9549         Call recog_memoized; ignore pred_rel_mutex.
9550         (emit_predicate_relation_info): Don't call find_basic_blocks here.
9551         (ia64_reorg): Do it here instead.
9552         * config/ia64/ia64.h: s/CCmode/BImode/g
9553         (MODES_TIEABLE_P): Don't tie BImode.
9554         (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
9555         (CONST_COSTS): Pick sensible values for CONST_INT based on context.
9556         (RTX_COSTS): Make multiply 4 insns.
9557         (MEMORY_MOVE_COST): New.
9558         (PREDICATE_CODES): Update.
9559         * config/ia64/ia64.md: s/CCmode/BImode/g
9560         (movcci, movbi): New.
9561         (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
9562         (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
9563         (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
9564         (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
9565         (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
9566         (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
9567         (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
9568         (mulsi, muldi): Use xmpy not xma.
9569         (cmpbi): New.
9570         (movcc, movcc_internal): Remove.
9571         (branch expanders): Use ia64_expand_compare.
9572         (setcc expanders): Likewise.
9573         (cmov insns): Use move_operand and ia64_move_ok.
9574         (pred_rel_mutex): Use unspec not unspec_volatile.  Prevent the
9575         scheduler from moving it past a use.
9576         * config/ia64/build.hacks: Remove.
9577
9578 Mon 18-Sep-2000 19:21:35 BST  Neil Booth  <NeilB@earthling.net>
9579
9580         * cpphash.h (HASHSTEP): Take character rather than pointer
9581         to character.
9582         (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
9583
9584         * cpphash.c (cpp_loookup): Update for new HASHSTEP.
9585
9586         * cpplex.c (auto_expand_name_space, trigraph_replace,
9587         backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
9588         IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
9589         BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
9590         KNOWN_DIRECTIVE): Delete.
9591
9592         (handle_newline, check_long_token, skip_escaped_newlines,
9593         unterminated): New functions.
9594         (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
9595
9596         (parse_identifier): Was parse_name, new implementation.
9597         (skip_line_comment, skip_block_comment, skip_whitespace,
9598         parse_number, parse_string, trigraph_ok, save_comment,
9599         adjust_column, _cpp_get_line): New implementations.
9600
9601         (lex_token): New function.  Lexes a token at a time, looking
9602         forwards.  Contains most of the guts of the old lex_line.
9603         (lex_line): New implementation, using lex_token to obtain
9604         individual tokens.
9605         (cpp_scan_buffer): Use the token's line, not the list's line.
9606
9607         * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
9608          New implementations.
9609         (do_assert): Don't bother setting the answer's list's line.
9610         (cpp_push_buffer): Initialise new pfile and read_ahead members
9611         of struct cpp_buffer.
9612
9613         * cpplib.h (cppchar_t): New typedef.
9614         (struct cpp_buffer): read_ahead, pfile and col_adjust are
9615         new members.
9616         (struct lexer_state): New structure that determines the state
9617         and behaviour of the lexer.
9618         (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
9619         (struct cpp_reader): New member "state". Rename
9620         multiline_string_line and multiline_string_column. Delete
9621         col_adjust, in_lex_line members.
9622         (CPP_BUF_COLUMN): Update.
9623
9624 2000-09-18  Richard Henderson  <rth@cygnus.com>
9625
9626         * combine.c (simplify_comparison): Shift a NOT out of a single
9627         bit test.
9628
9629         * combine.c (if_then_else_cond): Canonicalize BImode true to
9630         STORE_FLAG_VALUE.
9631         * explow.c (trunc_int_for_mode): Likewise.
9632
9633         * combine.c (combine_simplify_rtx): Use gen_unary to distribute
9634         the NOT for De Morgan's rule.
9635         * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
9636         of a comparison to the reverse comparison.
9637
9638         * combine.c (try_combine): Allow split to create a single insn.
9639
9640         * machmode.def: Add BImode.  Add a column for bitsize.
9641         * machmode.h (DEF_MACHMODE): Adjust for extra column.
9642         (GET_MODE_BITSIZE): Use it.
9643         * rtl.c (DEF_MACHMODE): Adjust for extra column.
9644         (mode_bitsize): New.
9645         (mode_mask_array): Use bitsize.
9646         * combine.c (combine_simplify_rtx): Require inner and outer
9647         modes to match on nonzero_bits optimizations.
9648
9649 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
9650
9651         * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
9652         its entry in spill_reg_store.
9653         * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
9654         * sh.c (reg_no_subreg_operand): New function.
9655         * sh-protos.h (reg_no_subreg_operand): Declare it.
9656         * sh.h (PREDICATE_CODES): Add it.
9657         * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
9658         input operand that needs to be in fpul.
9659         (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
9660         * sh.c (find_barrier): Take into account that machine_dependent_reorg
9661         might add new insns.
9662
9663 2000-09-18  Alexandre Oliva  <aoliva@redhat.com>
9664
9665         * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
9666         MAYBE_DEAD.
9667         (sh_expand_epilogue): Take the PIC register into account when
9668         computing the frame size.
9669
9670         * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
9671         * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
9672         LABEL_REFs with a PIC-safe unspec.
9673
9674 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9675
9676         * c-common.c (check_format_info): Properly save the argument
9677         number and parameter for $ operand number formats in case width
9678         and precision arguments are also used.  Allow printf width and
9679         precision arguments to have operand numbers even if none was
9680         specified for the main format, since this is OK for %*.*m.  Only
9681         object to missing $ operand number if the format used requires an
9682         argument.
9683
9684 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9685
9686         * c-common.c (format_char_info): Add 'W' flag to comment.
9687         (print_char_table, scan_char_table): Use it.
9688         (check_format_info): Use the 'W' flag to determine whether a
9689         format argument is written into.
9690
9691 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9692
9693         * c-common.c (check_format_types): Reorganise and clean up,
9694         checking earlier for ERROR_MARKs and making cur_type into its
9695         TYPE_MAIN_VARIANT where convenient.
9696
9697 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9698
9699         * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
9700
9701 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
9702
9703         * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
9704
9705         * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
9706         * i386.c (struct builtin_description): New.
9707         (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
9708         (mmx_reg_operand): Declare MODE arg as unused.
9709         (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
9710         ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
9711         ix86_expand_binop_builtin, ix86_expand_store_builtin,
9712         ix86_init_builtins, ix86_expand_builtin): New functions.
9713         * i386.h (ix86_builtins): New enumeration.
9714         (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
9715         * i386.md (attr length_immediate): 0 for mmx/sse types.
9716         (attr prefix_0f): 1 for mmx/sse types.
9717         (setcc_2): Remove "*" so we get gen_setcc_2.
9718         (emms): Account for changed register numbering.  Set "memory" attr
9719         to unknown.
9720         (sfence): Set "memory" attr to unknown.
9721
9722 2000-09-18  Andreas Jaeger  <aj@suse.de>
9723
9724         * configure.in: Define _GNU_SOURCE only when using the GNU C
9725         Library.
9726         * configure: Regenerated.
9727         * config.in: Regenerated.
9728
9729 2000-09-17  Mark Mitchell  <mark@codesourcery.com>
9730
9731         * cppinit.c (cpp_init): Don't use ANSI prototypes.
9732         * flow.c (flow_dump_loop): Likewise.
9733         (flow_loops_dump): Likewise.
9734
9735         * c-typeck.c (c_start_case): Fix typo.
9736
9737 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
9738
9739         * c-decl.c (grokdeclarator): Don't give a warning about defaulting
9740         to int for plain complex which defaults to complex double.  Do
9741         warn about defaulting to complex double if pedantic.  Warn about
9742         complex integer types if pedantic.  Warn about complex types if
9743         pedantic and not in C99 mode.
9744         * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
9745         for complex conjugation.
9746
9747 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
9748
9749         * contrib.texi: Update my entry.
9750
9751 Sun Sep 17 18:48:32 2000  Denis Chertykov  <denisc@overta.ru>
9752
9753         * config/avr/avr.md (mcu_enhanced): New attribute.
9754         (mcu_mega): Likewise.
9755         (extendhisi2): Use mcu_enhanced.
9756         (zero_extendhisi2): Likewise.
9757         (call_insn): Use mcu_enhanced and mcu_mega.
9758         (call_value_insn): Likewise.
9759         (*sbrx_branch): Use mcu_mega.
9760         (*sbrx_and_branchsi): Likewise.
9761         (*sbrx_and_branchhi): Likewise.
9762         (*tablejump_lib): Likewise.
9763
9764 Sun Sep 17 10:46:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9765
9766         * alias.c (true_dependence): Allow non-unchanging read to conflict
9767         with unchanging write.
9768
9769         * expr.c (store_constructor_field): Accept ALIAS_SET arg.
9770         (store_constructor): Pass alias_set to it.
9771
9772         * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
9773         TYPE_MAIN_VARIANT of ERROR_MARK.
9774         * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
9775
9776         * simplify-rtx.c (simplify_unary_operation): Add cases
9777         FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
9778
9779 2000-09-17  Bernd Schmidt  <bernds@redhat.co.uk>
9780
9781         * expr.h (emit_library_call, emit_library_call_value): Delete
9782         declarations.
9783         * rtl.h (enum libcall_type): New.
9784         (emit_library_call, emit_library_call_value): Change fn_type arg to
9785         be of type enum libcall_type.
9786         * calls.c: Likewise for the function definitions.  Several callers
9787         throughout changed to use the new enumeration appropriately.
9788         (emit_library_call_value_1): Likewise.  Put back code to make libcall
9789         blocks of equal form, but only use it for the two new higher
9790         enumeration values.
9791
9792 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
9793
9794         Convert the C front-end to use function-at-a-time mode.
9795         * c-common.h: Include splay-tree.h.
9796         (C_DECLARED_LABEL_FLAG): New macro.
9797         (struct language_function): Add x_scope_stmt_stack and
9798         x_function_name_declared_p.
9799         (RECHAIN_STMTS): Move definition.
9800         (lang_statment_code_p): Likewise.
9801         (lang_expand_stmt): Likewise.
9802         (lang_expand_decl_stmt): New variable.
9803         (lang_expand_function_end): Likewise.
9804         (current_scope_stmt_stack): New function.
9805         (add_decl_stmt): Likewise.
9806         (add_scope_stmt): Likewise.
9807         (mark_stmt_tree): Likewise.
9808         (struct c_lang_decl): New structure.
9809         (DECL_SAVED_TREE): Define.
9810         (c_mark_lang_decl): New function.
9811         (c_expand_start_cond): Change prototype.
9812         (c_finish_then): New function.
9813         (c_finish_else): Likewise.
9814         (current_function_name_declared): Remove.
9815         (set_current_function_name_declared): Likewise.
9816         (mark_c_language_function): Declare.
9817         (case_compare): Likewise.
9818         (c_add_case_label): Likewise.
9819         (c_expand_expr): Likewise.
9820         (c_safe_from_p): Likewise.
9821         * c-common.c (lang_expand_function_end): New variable.
9822         (struct if_elt): Add if_stmt.
9823         (c_expand_start_cond): Add the if-statement to the statement-tree,
9824         rather than generating RTL.
9825         (c_finish_then): New function.
9826         (c_expand_start_else): Don't generate RTL.
9827         (c_finish_else): New function.
9828         (c_expand_expr_stmt): Don't generate RTL.
9829         (statement_code_p): Add SCOPE_STMT.
9830         (case_compare): New function.
9831         (c_add_case_label): Likewise.
9832         (mark_stmt_tree): Likewise.
9833         (c_mark_lang_decl): Likewise.
9834         (mark_c_language_function): Likewise.
9835         (c_expand_expr): Likewise.
9836         (c_safe_from_p): Likewise.
9837         * c-decl.c (c_stmt_tree): New variable
9838         (c_scope_stmt_stack): Likewise.
9839         (c_function_name_declared_p): Likewise.
9840         (lang_expand_expr_stmt): Remove.
9841         (poplevel): Don't call output_inline_function for nested
9842         functions.
9843         (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
9844         `extern' function.
9845         (redeclaration_error_message): Change means of computing whether
9846         or not a function is nested.
9847         (lookup_label): Don't call label_rtx.
9848         (init_decl_processing): Add more GC roots.
9849         (start_decl): Add DECL_STMTs to the statement-tree, rather than
9850         calling rest_of_decl_compilation.
9851         (finish_decl): Don't call expand_decl.
9852         (store_parm_decls): Begin the statement-tree, but don't generate
9853         RTL.
9854         (finish_function): Tie off the statement-tree.  Call c_expand_body
9855         if appropriate.
9856         (c_expand_body): New function.
9857         (push_c_function_context): Save more information.
9858         (pop_c_function_contxt): Likewise.
9859         (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
9860         (lang_mark_tree): Mark it.
9861         (current_stmt_tree): Adjust.
9862         (current_scope_stmt_stack): New function.
9863         (do_case): Remove.
9864         (set_current_name_declared): Likewise.
9865         (c_begin_compound_stmt): Define.
9866         (c_expand_decl_stmt): Likewise.
9867         * c-lang.c: Include rtl.h and expr.h.
9868         (lang_init): Set more language-specific hooks.
9869         * c-lex.c: Include expr.h.
9870         * c-parse.in: Changes throughout to add statements to the
9871         statement-tree, rather than generating RTL after every statement.
9872         * c-semantics.c (lang_expand_decl_stmt): Define.
9873         (add_decl_stmt): New function.
9874         (add_scope_stmt): Likewise.
9875         (finish_stmt_tree): Tweak.
9876         (genrtl_expr_stmt): Likewise.
9877         (genrtl_decl_stmt): Handle local labels, and call
9878         lang_expand_decl_stmt if required.
9879         (genrtl_for_stmt): Fix line-number handling.
9880         (genrtl_case_label): Handle cleanups.
9881         (genrtl_asm_stmt): Don't call combine_strings.
9882         (genrtl_compound_stmt): Simplify.
9883         (expand_stmt): Handle SCOPE_STMTs.
9884         * c-tree.h (struct lang_decl): New structure.
9885         (C_DECLARED_LABEL_FLAG): Remove.
9886         (c_begin_compound_stmt): Declare.
9887         (c_expand_decl_stmt): Likewise.
9888         (c_expand_start_case): Rename to c_start_case.
9889         (c_finish_case): New function.
9890         * c-typeck.c (start_init): Tweak setting of
9891         constructor_incremental.
9892         (c_expand_asm_operands): Tweak error-handling.  Add to the
9893         statement-tree.
9894         (c_expand_return): Add to the statement-tree.
9895         (c_expand_start_case): Rename to ...
9896         (c_start_case): ... this.
9897         (struct c_switch): New type.
9898         (switch_stack): New variable.
9899         (do_case): Simplify.
9900         (c_finish_case): New function.
9901         * dependence.c: Include expr.h.
9902         (enum dependence_type): Change spelling of enumerals.
9903         (check_node_dependence): Adjust.
9904         * expr.h (lang_safe_from_p): Declare.
9905         (safe_from_p): Likewise.
9906         * expr.c (lang_safe_from_p): New variable.
9907         (safe_from_p): Give it external linkage.  Use lang_safe_from_p.
9908         * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
9909         * toplev.c (rest_of_decl_compilation): Robustify.
9910         * tree.c (contains_placeholder_p): Likewise.
9911         * Makefile.in: Update dependencies.
9912         * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
9913         * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
9914         (objc_expand_function_end): New function.
9915         (finish_method_def): Use it.
9916         (init_objc): Initialize more language-specific hooks.
9917         * objc/Make-lang.in: Update dependencies.
9918
9919 2000-09-16  Geoffrey Keating  <geoffk@cygnus.com>
9920
9921         * configure.in: Define macros that affect features before
9922         testing for features.  Don't define _XOPEN_SOURCE.
9923         * configure: Regenerated.
9924         * config.in: Regenerated.
9925
9926 Sat Sep 16 19:42:50 EDT 2000  John Wehle  (john@feith.com)
9927
9928         * rtlanal.c (rtx_varies_p): Volatile asms vary.
9929         (rtx_unstable_p): Restructure code.  Volatile asms
9930         are unstable.
9931
9932 Sat Sep 16 14:35:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9933
9934         * function.h (no_debugging_symbols): New field.
9935         * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
9936         Initialize no_debugging_symbols.
9937         (output_inline_function): Save and restore write_symbols and set from
9938         no_debugging_symbols.
9939         * toplev.c (rest_of_compilation): Call save_for_inline.
9940         * tree.h: Update comment.
9941
9942         * stor-layout.c (place_field): Don't do anything if field or
9943         its type are ERROR_MARK.
9944
9945 Sat Sep 16 19:14:00 2000  Laurynas Biveinis <lauras@softhome.net>
9946
9947         * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
9948         (read_include_file): Ensure inc->mmaped is initialized.
9949
9950 2000-09-16  Richard Henderson  <rth@cygnus.com>
9951
9952         * cppiles.c (purge_cache): Use PTR not caddr_t.
9953
9954 2000-09-16  Hans-Peter Nilsson  <hp@axis.com>
9955
9956         * gcc.c: In description for %{<S}, say the option removed is -S.
9957         * invoke.texi (Spec Files): Ditto.
9958
9959 2000-09-16  Andreas Jaeger  <aj@suse.de>
9960
9961         * configure.in: Always define _GNU_SOURCE to make interfaces
9962         visible that were hidden by only defining _GNU_SOURCE.
9963         * configure: Regenerated.
9964
9965 Sat 16-Sep-2000 08:13:45 BST  Neil Booth  <NeilB@earthling.net>
9966
9967         * cpplex.c (push_macro_context): Set an argument's level after
9968         calling parse_args.  We could loop infinitely otherwise.
9969
9970 2000-09-15  Tom Tromey  <tromey@cygnus.com>
9971
9972         * configure, config.in: Rebuilt.
9973         * configure.in: Check for iconv.h.  Define _XOPEN_SOURCE.
9974
9975 2000-09-15  Greg McGary  <greg@mcgary.org>
9976
9977         * cppmacro.c (check_trad_stringification): Check token
9978         text pointers against limit before dereferencing.
9979
9980 2000-09-15  Joseph S. Myers  <jsm28@cam.ac.uk>
9981
9982         * c-common.c (format_wanted_type): New structure.
9983         (check_format_types): New function.
9984         (check_format_info): Pass all checking of types of format
9985         arguments, including width and precision arguments, to this new
9986         function.
9987
9988 2000-09-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9989
9990         * BUGS: Remove file.
9991
9992 2000-09-15  Jakub Jelinek  <jakub@redhat.com>
9993
9994         * config/alpha/alpha.c (override_options): ev6 cache latencies
9995         from Richard Henderson.  Don't allow -mmemory-latency=L0.
9996
9997         * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
9998         (TARGET_OPTIONS): Add tune=.
9999         (alpha_tune_string): Declare.
10000         * config/alpha/alpha.c (override_options): Add cpu_table.
10001         Use alpha_cpu_string first to set both alpha_cpu and target_flags
10002         and then alpha_tune_string to set alpha_cpu only.
10003         Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
10004         * config/alpha/elf.h (ASM_FILE_START): Likewise.
10005         * config/alpha/osf.h (ASM_FILE_START): Likewise.
10006         * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
10007
10008 Fri Sep 15 19:45:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
10009
10010         * i386-protos.h (no_comparison_operator, uno_comparison_operator):
10011         Remove.
10012         (ix86_comparison_operator, ix86_cc_mode): Declare
10013         * i386.h (CCGC, CCGCO): New modes.
10014         (SELECT_CC_MODE): Move offline to ....
10015         * i386.c (ix86_cc_mode): .... here; use new modes.
10016         (ix86_comparison_operator): New.
10017         (fcmov_comparison_operator): Ensure proper mode.
10018         (put_condition_mode): More sanity checking.
10019         (ix86_match_ccmode): Handle new modes.
10020         (ix86_expand_fp_compare): GEU requires CCmode.
10021         (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
10022         doing it by hand.
10023         * i386.md (cmp?i_ccz_1): Remove
10024         (cmp?i_ccno_1): Use ix86_match_ccmode.
10025         (cmp?i_minus_1): New.
10026         (cmpsi_1): New expander.
10027         (cmpqi_ext_1): Use match_ccmode
10028         (cmpqi_ext_3): New expander.
10029         (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
10030         (cmpqi_ext_4): Use match_ccmode.
10031         (add?i_?): Use match_ccmode.
10032         (add?i_6): New.
10033         (test?i_ccz_1): Remove
10034         (test?i_1): New.
10035         (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
10036         (testqi_ext_0): Use ix86_match_ccmode.
10037         (*xorqi_cc_ext_1): Use ix86_match_ccmode.
10038         (xorqi_cc_ext_1): New expander.
10039         (shift patterns): Use CCGOCmode for all shifts except for sar.
10040         (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
10041         (setcc_3, jcc_3, miv?icc_c): Remove.
10042
10043 2000-09-15  Will Cohen  <wcohen@redhat.com>
10044
10045         * dwarf2out.c (add_const_value_attribute): Changed array into a
10046         xmalloced object, so it exists after function exit.
10047         (free_AT): Added case for dw_val_class_float to free allocated
10048         memory.
10049
10050 2000-09-15  Kazu Hirata  <kazu@hxi.com>
10051
10052         * config/i386/i386.md: Fix a comment typo.
10053         * gcc.c: Fix formatting.
10054
10055 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
10056
10057         * optabs.c (emit_libcall_block): If target is a user variable,
10058         copy to a temporary first.
10059         * expr.c (convert_move): When generating a libcall, make a libcall
10060         block.
10061         * calls.c (emit_library_call_value_1): Don't create a libcall
10062         sequence here; our caller will in most cases do it.
10063
10064         * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
10065         MACH into FPUL.
10066         (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
10067         * sh.md (reload_outsf): Generate recognizable patterns for
10068         TARGET_SH3E.
10069         (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
10070         fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
10071         fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
10072         truncdfsf2_i4): Change not to use explicit references to fpul.
10073         (floatsisf2_ie): Remove USE of fpscr.
10074         (floatsisf2): Change default expansion to match this.
10075         (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
10076         unused patterns.
10077
10078 2000-09-15  Richard Henderson  <rth@cygnus.com>
10079
10080         * expmed.c (store_bit_field): Consider naturally aligned
10081         memory for direct reference.
10082
10083 2000-09-15  Richard Henderson  <rth@cygnus.com>
10084
10085         * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
10086         AND addresses into alias set 0.
10087         (alpha_expand_unaligned_store): Likewise.
10088         (alpha_expand_unaligned_load_words): Likewise.
10089         (alpha_expand_unaligned_store_words): Likewise.
10090
10091 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
10092
10093         * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
10094         * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
10095         is defined.
10096         * config/mips/mips.c (mips_va_arg): Args passed by reference have a
10097         rsize of UNITS_PER_WORD.
10098
10099 Fri 15-Sep-2000 06:49:07 BST  Neil Booth  <NeilB@earthling.net>
10100
10101         * cpplex.c (ON_REST_ARG): Correct the test.
10102         (maybe_paste_with_next): Duplicate a token that fail pasting,
10103         and clear its PASTE_LEFT flag, so that nested pasting attempts
10104         do not occur.
10105
10106 2000-09-14  Richard Henderson  <rth@cygnus.com>
10107
10108         * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
10109         * cse.c (rtx_cost): Likewise.
10110         * optabls.c (expand_binop): Likewise.
10111         (expand_twoval_binop, prepare_cmp_insn): Likewise.
10112         * regclass.c (copy_cost): Likewise.
10113         * reload1.c (reload_cse_move2add): Likewise.
10114
10115 2000-09-14  Joseph S. Myers  <jsm28@cam.ac.uk>
10116
10117         * c-parse.in (reswords): Add _Complex.
10118
10119 2000-09-14  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
10120
10121         * gcc.1: Delete documentation for -undef preprocessor option.
10122
10123 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
10124
10125         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10126         STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
10127         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10128         Remove undefine before config/elfos.h.
10129         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
10130
10131 2000-09-14  Kazu Hirata  <kazu@hxi.com>
10132
10133         * invoke.texi (H8/300 Options): Add -ms2600.
10134         * config/h8300.c (h8300_init_once): Output an error when -ms2600
10135         is used without -ms.
10136         * config/h8300.h (TARGET_MAC): New.
10137         (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
10138         (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
10139         machine other than H8/S2600.
10140         * config/h8300.md: Accept mac instructions on the H8/S2600 instead
10141         of the H8/S2000.
10142
10143 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>, Bernd Schmidt  <bernds@redhat.co.uk>
10144
10145         * reload.c (find_reloads_address_1): Generate reloads for auto_inc
10146         pseudos that refer to the original pseudos, not only to their
10147         equivalent memory locations.
10148
10149 Thu Sep 14 12:10:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10150
10151         * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
10152         when making new MEM.
10153
10154         * Makefile.in (LN): Remove duplicate definition.
10155
10156 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
10157
10158         From Joern Rennecke:
10159         * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
10160         on an insn and function_invariant_p returns nonzero for the source,
10161         add a REG_EQUAL note.
10162
10163 Thu Sep 14 00:51:57 EDT 2000  John Wehle  (john@feith.com)
10164
10165         * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
10166         conflict with frame_pointer_rtx.
10167
10168 2000-09-13  Kazu Hirata  <kazu@hxi.com>
10169
10170         * loop.c: Fix formatting.
10171         * loop.h: Likewise.
10172
10173 2000-09-13  Richard Henderson  <rth@cygnus.com>
10174
10175         * config/ia64/ia64.md (divsf3): New.
10176         (divsf3_internal_lat, divsf3_internal_thr): New.
10177         (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
10178         (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
10179         (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
10180         (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
10181         (nmadddf4_alts, nmadddf4_trunc): New.
10182         (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
10183         (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
10184         (multf3_truncsf_alts, multf3_truncdf_alts): New.
10185         (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
10186         (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
10187         (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
10188         (nmaddtf4_truncdf_alts): New.
10189         (recip_approx): Don't predicate.
10190
10191 2000-09-13  Richard Henderson  <rth@cygnus.com>
10192
10193         * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
10194
10195 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10196
10197         * flags.h (flag_dump_rtl_in_asm): Declare.
10198         * toplev.c (flag_dump_rtl_in_asm): Define.
10199         (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
10200         if -dP is specified.
10201         * rtl.h (print_rtx_head): Declare.
10202         * print-rtl.c (print_rtx_head): Define.
10203         (print_rtx): Print the string pointed to by print_rtx_head
10204         at beginning of each dump line.
10205         (print_rtl): Likewise.
10206         (print_rtl_single): Likewise.
10207         * final.c (final_scan_insn): Dump the insn in the assembly
10208         file for debugging.
10209         * gcc.1: Document -dP option.
10210         * invoke.texi (Debugging Options): Likewise.
10211
10212 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10213
10214         * md.texi (Machine Constraints): Document the 68HC11 constraints.
10215         * install.texi (Configurations): Document the 68HC11&68HC12 port.
10216         * invoke.texi (Option Summary, M68hc1x Options): Document the options.
10217
10218 Tue Sep 12 13:51:13 2000  Denis Chertykov  <denisc@overta.ru>
10219
10220         * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
10221         * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
10222         (*clrstrqi): Likewise.
10223         (xorhi3,xorsi3,absqi2): Likewise.
10224         (one_cmplhi2,one_cmplsi2): Likewise.
10225         (addsi3): Two stupid constraint alternatives removed.
10226         (extendhisi2): Use `movw' for enhanced avr cores.
10227         (zero_extendhisi2): Likewise.
10228
10229 Wed Sep 13 02:31:23 EDT 2000  John Wehle  (john@feith.com)
10230
10231         * alias.c (find_base_term): Use frame_pointer_rtx
10232         when handling an ADDRESSOF.
10233
10234         * cse.c (canon_hash): Handle USE of BLKmode memory.
10235         (cse_insn): Outgoing arguments for a libcall don't
10236         affect any recorded expressions.
10237
10238 2000-09-12  Tom Tromey  <tromey@cygnus.com>
10239
10240         * configure, config.in: Rebuilt.
10241         * configure.in: Check for iconv, nl_langinfo, langinfo.h.
10242
10243 2000-09-12  Jakub Jelinek  <jakub@redhat.com>
10244
10245         * c-lex.c (lex_string): Use charwidth to compute bytemask.
10246         * expr.c (expand_expr): Don't optimize constant array references
10247         initialized with wide string constants.
10248
10249 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
10250
10251         * loop.c (note_set_pseudo_multiple_uses): Correct.
10252
10253 2000-09-12  Jim Wilson  <wilson@cygnus.com>
10254
10255         * ifcvt.c (noce_process_if_block): If A and B are the same, and no
10256         else block, and X has side-effects, then fail.
10257
10258 2000-09-12  Greg McGary  <greg@mcgary.org>
10259
10260         * config/mips/mips-protos.h
10261         (trap_cmp_op, mips_gen_conditional_trap): New func decls.
10262         * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
10263         (PREDICATE_CODES): Add "trap_cmp_op".
10264         * config/mips/mips.c
10265         (trap_cmp_op, mips_gen_conditional_trap): New functions.
10266         * config/mips/mips.md (trap, conditional_trap): New patterns.
10267
10268 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
10269
10270         * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
10271         pointer.
10272
10273 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10274
10275         * builtins.c (built_in_decls): New array.
10276         (expand_builtin_fputs): New function.
10277         (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
10278
10279         * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
10280
10281         * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
10282
10283         * tree.h (built_in_decls): New array.
10284
10285 Tue Sep 12 08:53:57 2000  Jeffrey A Law  (law@cygnus.com)
10286
10287         * convex.md: Use "+" instead of "=" for outputs wrapped in a
10288         STRICT_LOW_PART.
10289         * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
10290
10291 2000-09-12  Kazu Hirata  <kazu@hxi.com>
10292
10293         * haifa-sched.c: Fix formatting.
10294
10295         * genattrtab.c: Fix formatting.
10296
10297         * unroll.c: Fix formatting.
10298
10299 2000-09-12  Bruce Korb  <bkorb@gnu.org>
10300
10301         * fixinc/fixfixes.c: make a type for the fix procedure & use it,
10302         remove obsolete code
10303         * fixinc/fixincl.c: Use PARAMS, not _P_.  Add no-op default to switch.
10304         * fixinc/fixincl.tpl: make non-exported arrays static scope
10305         * fixinc/fixincl.x: regenerate
10306         * fixinc/fixlib.h: Use PARAMS, not _P_
10307         * fixinc/fixtests.c: make a type for the test proc & use it
10308         * fixinc/server.h: Use PARAMS, not _P_
10309
10310 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10311
10312         * c-typeck.c (process_init_element): Avoid union init warnings on
10313         floating point zero.  Don't crash on unions containing structs.
10314
10315 2000-09-12  Alexandre Oliva  <aoliva@redhat.com>
10316
10317         * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
10318         general_movsrc_operand, and remove CONST_INT from
10319         general_movdst_operand.
10320
10321 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
10322
10323         * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
10324         if a reference to non-fixed hardreg is seen.  Otherwise, count hard
10325         regs with a higher cost.
10326         (preferrable): Deal with cases where either cost or regcost is
10327         MAX_COST.
10328         (cse_insn): Use MAX_COST rather than 10000.  Always initialize
10329         regcost values.
10330         (COSTS_N_INSNS): Move definition...
10331         * rtl.h: ...here.
10332         (MAX_COST): New macro.
10333         * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
10334         constant.
10335
10336 2000-09-11  Mark Mitchell  <mark@codesourcery.com>
10337
10338         * c-common.h (genrtl_clear_out_block): Remove.
10339         * c-semantics.c (genrtl_clear_out_block): Remove.
10340         (genrtl_while_stmt): Don't call it.
10341         (genrtl_for_stmt): Likewise.
10342
10343 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
10344
10345         * cppfiles.c: Move all default-#defines to top of file.
10346         (open_include_file): Replace by lookup_include_file.
10347         (read_with_read, read_file): Merged into read_include_file.
10348         (stack_include_file, purge_cache): New functions.
10349         (close_cached_fd): Delete.
10350         (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
10351         Cache the in-memory buffer, not the file descriptor.
10352
10353         * cpphash.h (struct include_file): Add buffer, st, refcnt,
10354         mapped fields.
10355         (xcnew): New utility macro.
10356         (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
10357         * cpplib.h (struct cpp_buffer): Remove mapped field.
10358
10359 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
10360
10361         * cpplex.c (parse_string): Accept backslash space newline as a
10362         line continuation.
10363         (lex_line): Likewise.
10364         (_cpp_get_token): Remove hard limit on macro nesting.
10365
10366 2000-09-12  Philipp Thomas  <pthomas@suse.de>
10367
10368         * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
10369         * configure: Rebuilt.
10370
10371 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
10372
10373         * flow.c (split_block): Fix update of registers live at
10374         end of split block.
10375
10376 Tue Sep 12 01:51:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
10377
10378         * i386.md (add?i_3, add?i_5): New.
10379         (add?i_4): Rename from add?i_3;  Fix compare pattern.
10380         (sub?i_3, xor?i_3, ior?i_3): New.
10381
10382         * genrecog.c (write_tree): Output code to clear insn_extract cache.
10383         * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
10384         instead of extract_insn and extract_constrain_insn_cache instead of
10385         extract_insn and constrain_operands.
10386         * recog.c (extract_insn_cached, extract_constrain_insn_cached):
10387         New functions.
10388         (extract_insn): Clear which_alternative.
10389         (constrain_operands): Set which_alternative to -1 when failed.
10390         * recog.h (extract_constrain_insn_cached, extract_insn_cached):
10391         Declare.
10392
10393 2000-09-11  Matthew Hiller  <hiller@redhat.com>
10394
10395         * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
10396         on operand 0 to '+'.
10397         (movstricthi): Likewise.
10398
10399 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
10400
10401         * loop.h (LOOP_IVS): New macro.
10402         (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
10403         (struct loop_ivs): New.
10404         (struct loop_info): Add ivs field.
10405         (reg_iv_type, reg_iv_info): Delete prototype.
10406         (reg_biv_class, loop_iv_list): Likewise.
10407         * loop.c (record_biv, find_life_end): Pass loop argument.
10408         (reg_iv_type): Remove global array and use
10409         field in loop_regs structure within loop_ivs structure.
10410         (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
10411         (first_increment_giv, last_increment_giv): Use entry in
10412         loop_ivs structure.
10413         (record_initial): Pass ivs pointer.
10414         * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
10415
10416 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
10417
10418         * loop.h (LOOP_REGS): New macro.
10419         (struct loop_regs): New.
10420         (struct loop_info): Add regs field.
10421         * loop.c (set_in_loop): Remove global array and store
10422         in loop_regs structure as part of loop_info structure.
10423         (n_times_set, may_not_optimize): Likewise.
10424         (reg_single_usage, moved_once): Likewise.
10425         (count_one_set): Add regs argument.
10426         (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
10427         (set_pseudo_multiple_uses): Pass regs pointer.
10428
10429 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
10430
10431         * unroll.c (iteration_info): Subsume into loop_iterations.
10432         * loop.h (loop_info): New field iv.
10433
10434 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
10435
10436         * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
10437         (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
10438         (flow_loops_update): New prototype.
10439         (flow_loops_find): Add flags to prototype.
10440         (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
10441         * flow.c (flow_loop_pre_header_scan): New.
10442         (flow_loop_dump): Dump pre-header root and trace and exit dominators.
10443         (flow_loop_free): Free pre-header root and trace and exit dominators.
10444         (flow_loops_find): New argument flags.
10445         (flow_loops_update): New function.
10446         * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
10447
10448 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
10449
10450         * basic-block.h (split_block, update_bb_for_insn): New prototypes.
10451         * flow.c (split_block, update_bb_for_insn): New functions.
10452
10453 2000-09-11  Richard Henderson  <rth@cygnus.com>
10454
10455         * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
10456
10457 2000-09-11  Richard Henderson  <rth@cygnus.com>
10458
10459         * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
10460         * config/ia64/ia64.c (fr_nonimmediate_operand): New.
10461         (ia64_override_options): Prevent optimizing division for both
10462         latency and throughput.
10463         (rtx_needs_barrier): Handle frcpa.
10464         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
10465         (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
10466         (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
10467         (TARGET_SWITCHES): Add -minline-divide-min-latency and
10468         -minline-divide-max-throughput.
10469         (PREDICATE_CODES): Update.
10470         * config/ia64/ia64.md (extendsidi2): Remove * from f case.
10471         (zero_extendsidi2): Likewise.  Fix typo in f case insn.
10472         (extendsfdf2): Add cases for gr<->fr and fr<->mem.
10473         (extendsftf2): Likewise.
10474         (extenddftf2): Likewise.
10475         (fix_trunctfdi2_alts): New.
10476         (fixuns_trunctfdi2_alts): New.
10477         (madd*4): Rename from madd*3.
10478         (divsi3, modsi3, udivsi3, umodsi3): New.
10479         (divsi3_internal): New.
10480         (divdi3, moddi3, udivdi3, umoddi3): New.
10481         (divdi3_internal_lat, divdi3_internal_thr): New.
10482         (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
10483         (recip_approx): New.
10484
10485 2000-09-11  Alexandre Oliva  <aoliva@redhat.com>
10486
10487         * print-rtl.c (debug_call_placeholder_verbose): New variable.
10488         (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
10489         set.
10490         * integrate.c (copy_rtx_and_substitute): Don't share
10491         LEAF_REG_REMAPpable registers with the inlined function.  Don't
10492         share the function value with calling sequences.
10493
10494 2000-09-11  Jakub Jelinek  <jakub@redhat.com>
10495
10496         * c-decl.c (do_case): Fix a typo.
10497
10498         * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
10499         to a if the comparison is floating mode and not -ffast-math.
10500         * simplify-rtx.c (simplify_ternary_operation): Likewise.
10501
10502 Mon Sep 11 20:07:48 2000  J"orn Rennecke <amylaar@redhat.co.uk>
10503
10504         * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
10505         gen_ic_invalidate_line.
10506
10507 2000-09-11  Philip Blundell  <pb@futuretv.com>
10508
10509         * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
10510
10511 Mon Sep 11 10:48:41 2000  Ulrich Drepper <drepper@redhat.com>
10512
10513         * install.texi (LANGUAGES): Update to include new languages.
10514         * INSTALL: Rebuilt.
10515
10516 2000-09-11  DJ Delorie  <dj@redhat.com>
10517
10518         * gcc.c (main): Don't warn about unused -B prefixes
10519         (unused_prefix_warnings): remove
10520
10521 2000-09-11  Kazu Hirata  <kazu@hxi.com>
10522
10523         * final.c: Fix formatting.
10524
10525         * integrate.c: Fix formatting.
10526
10527 2000-09-11  Geoff Keating  <geoffk@cygnus.com>
10528
10529         * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
10530
10531 2000-09-11  Bernd Schmidt  <bernds@redhat.co.uk>
10532
10533         * reload.c (regno_clobbered_p): Fix thinko in previous change.
10534
10535 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10536
10537         * gcc.1: Document 68hc11 specific options.
10538
10539 2000-09-10  Geoff Keating  <geoffk@cygnus.com>
10540
10541         * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
10542         (TARGET_LONG_DOUBLE_128): Define.
10543         (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
10544         (LONG_DOUBLE_TYPE_SIZE): Redefine.
10545         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
10546         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
10547         of __LONG_DOUBLE_128__.
10548         (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
10549         passed.
10550         (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
10551         (CPP_SYSV_DEFAULT_SPEC): Define.
10552         (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
10553         (INIT_TARGET_OPTABS): Define.
10554
10555         * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
10556         (RS6000_UITRUNC): Likewise.
10557         (INIT_TARGET_OPTABS): New macro.
10558         * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
10559         (trunc_defined): Delete.
10560         (output_prolog): Don't output .extern definitions for fp->int
10561         conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
10562         * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
10563         (trunc_defined): Delete.
10564         (RS6000_ITRUNC): Moved to aix.h.
10565         (RS6000_UITRUNC): Likewise.
10566         * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
10567         only emit a libcall.
10568         (fixuns_truncdfsi2): Delete.
10569         (trunc_call): Delete.
10570         (trunc_call_rtl): Delete.
10571
10572 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10573
10574         * varasm.c (make_decl_rtl): Restore leading star on
10575         DECL_ASSEMBLER_NAME set for decls with an asmspec.
10576
10577 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10578
10579         * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
10580         won't give a spurious error for '#pragma pack()'.  Simplify
10581         control flow for readability.  'reset' action is not necessary.
10582
10583 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10584
10585         * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
10586         SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
10587         LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
10588         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
10589
10590         * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
10591         profile.c, sdbout.c, tradcif.y, tree.c:
10592         Include defaults.h if not already included.
10593         Don't define the above macros.
10594
10595         * Makefile.in: Update dependencies.
10596
10597 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
10598
10599         * c-common.h (add_stmt): Change prototype.
10600         (RECHAIN_STMTS): New macro.
10601         (CASE_LABEL_DECL): Likewise.
10602         (genrtl_case_label): Change prototype.
10603         (c_expand_start_case): Remove prototype.
10604         (build_case_label): Change prototype.
10605         (decl_constant_value): Declare.
10606         * c-common.c (check_case_value): Handle C++'s extensions to C
10607         semantics.
10608         * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
10609         field.
10610         * c-parse.in (stmt): Adjust handling of return statements and case
10611         laels.
10612         * c-semantics.c (add_stmt): Return the new statement.
10613         (genrtl_return_stmt): Take the RETURN_STMT as input, not the
10614         returned expression.  Directly generate RTL, rather than calling
10615         c_expand_return.
10616         (genrtl_switch_stmt): Don't call c_expand_start_case.
10617         (build_case_label): Take the LABEL_DECL as input, too.
10618         (genrtl_case_label): Just call add_case_node.
10619         (expand_stmt): Adjust calls to genrtl_return_stmt and
10620         genrtl_case_label.
10621         * c-tree.h (c_expand_start_case): Declare.
10622         * c-typeck.c (decl_constant_value): Give it external linkage.
10623         (c_expand_return): Don't call expand_return or expand_null_return;
10624         use genrtl_return_stmt instead.
10625         * stmt.c (struct nesting): Remove num_ranges field.
10626         (add_case_node): Give it external linkage.
10627         (expand_start_case): Don't set num_ranges.
10628         (expand_start_case_dummy): Don't clear it.
10629         (pushcase): Rely on add_case_node to handle `default' labels.
10630         (add_case_node): Handle `default' labels.
10631         * tree.c (tree_int_cst_compare): New function.
10632         * tree.h (tree_int_cst_compare): Declare.
10633         (add_case_node): Likewise.
10634
10635 2000-09-10  Richard Henderson  <rth@cygnus.com>
10636
10637         * c-parse.in: Revert last change.
10638         (init_reswords): Do not enter disabled keywords into the ridpointers
10639         table, modulo objc weirdness.
10640         (_yylex): Return the canonical spelling for a keyword.
10641
10642 2000-09-10  Philip Blundell  <philb@gnu.org>
10643
10644         * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
10645         * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
10646
10647 Sun Sep 10 14:30:28 EDT 2000  John Wehle  (john@feith.com)
10648
10649         * alias.c (find_base_term): Handle ADDRESSOF.
10650         (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
10651
10652 2000-09-10  Denis Chertykov  <denisc@overta.ru>
10653
10654         * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
10655         outputting templates with many lines.
10656
10657 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10658
10659         * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
10660         to decide whether 64-bit support must be generated.
10661
10662 2000-09-10  Richard Henderson  <rth@cygnus.com>
10663
10664         * c-parse.in (asm patterns): Fix volatile check.
10665
10666 2000-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10667
10668         * cppmacro.c (check_trad_stringification): New function.
10669         (save_expansion): If -Wtraditional, warn about stringification of
10670         macro arguments.
10671
10672 2000-09-11  Michael Hayes  <mhayes@cygnus.com>
10673
10674         * loop.h (struct loop_mem_info): Move from loop.c
10675         (struct loop_info): Add fields store_mems, mems, mems_idx,
10676         mems_allocated, unknown_address_altered,
10677         unknown_constant_address_altered, num_mem_sets, and
10678         first_loop_store_insn.
10679
10680         * loop.c (loop_store_mems): Replace with field in loop_info struct.
10681         (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
10682         (unknown_address_altered, unknown_constant_address_altered): Likewise.
10683         (num_mem_sets): Likewise.
10684         (replace_loop_mems, replace_loop_regs): New.
10685         (struct loop_replace_args): New.
10686         (load_mems): Use replace_loop_mems.
10687         (try_copy_prop): Use replace_loop_regs.
10688         (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
10689
10690 2000-09-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10691
10692         * configure.in: Recognize m6811-elf and m6812-elf.
10693         * configure: Regenerate.
10694
10695 2000-09-09  Geoff Keating  <geoffk@cygnus.com>
10696
10697         * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
10698         to operand_subword.
10699
10700 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
10701
10702         * loop.c (struct movables): New.
10703         (num_movables): Move into struct movables.
10704         (the_movables): Change type to struct movables.
10705         (ignore_some_movables): Change struct movable arg to struct movables.
10706         (force_movables, combine_movables, regs_match_p): Likewise.
10707         (rtx_equal_for_loop_p, move_movables): Likewise.
10708         (scan_loop): Change movables to be of type struct movables.
10709         Replace last_movable with field in movables structure.
10710
10711 2000-09-08  Zack Weinberg  <zack@wolery.cumb.org>
10712
10713         * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
10714         (init_pragma): Avoid warning if pfile happens to be unused.
10715         * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
10716         define init_pragma to nothing.  Always prototype
10717         init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.
10718
10719         * c-lex.c (process_directive): Always call dispatch_pragma.
10720         Initialize entering_c_header to 0.
10721
10722 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10723
10724         * config/m68hc11/m68hc11.md: New file, machine description for
10725         68HC11 & 68HC12.
10726         * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
10727         * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
10728         * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
10729         * config/m68hc11/m68hc11-protos.h: New file.
10730         * config/m68hc11/m68hc11-crt0.S: New file, startup code.
10731         * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
10732         * config/m68hc11/xm-m68hc11.h: New file, target defs.
10733         * config/m68hc11/larith.asm: New file, libgcc routines.
10734
10735 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10736
10737         * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
10738         (FPBIT_FUNCS): Add _usi_to_sf.
10739         * config/fp-bit.c (usi_to_float): New function.
10740         * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
10741         (usi_to_float): Add appropriate #define.
10742
10743 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
10744
10745         * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
10746         new functions.
10747         * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
10748         * i386.md (attr "type"): Add sse and mmx types.
10749         (attr "memory"): Handle them without a crash.
10750         (movsi_1, movdi_2): Allow MMX regs.
10751         (movdi splits): Don't split moves involving MMX regs.
10752         (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
10753         (movv4sf_internal, movv4si_internal, movv8qi_internal,
10754         movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
10755         movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
10756         sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
10757         sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
10758         sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
10759         addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
10760         divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
10761         sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
10762         sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
10763         vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
10764         smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
10765         cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
10766         addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
10767         subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
10768         mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
10769         mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
10770         mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
10771         eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
10772         smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
10773         lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
10774         mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
10775         mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
10776         mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
10777         mmx_clrdi): New patterns.
10778
10779 2000-09-08  Richard Earnshaw  <rearnsha@arm.com>
10780
10781         * arm.c: Don't include tm.h directly.
10782
10783 Fri Sep  8 14:34:56 MET DST 2000  Jan Hubicka  <jh@suse.cz>
10784
10785         * recog.c (validate_replace_rtx_1): Fix confusion about equality
10786         testing; simplify subregs of constants and nested subregs.
10787
10788 2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
10789
10790         * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
10791
10792 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
10793
10794         * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
10795         VEC_CONCAT.
10796         * rtl.texi (description of USE): Add note about possible pitfalls
10797         with this rtx.
10798         From Richard Henderson:
10799         * reload1.c (choose_reload_regs): Compute need_mode properly.
10800
10801 2000-09-07  Richard Henderson  <rth@cygnus.com>
10802
10803         * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
10804         (__modsi3, __umodsi3): Likewise.
10805         (__udivsi3): Likewise.  Normalize the TFmode values.
10806
10807 2000-09-07  Geoff Keating  <geoffk@cygnus.com>
10808
10809         * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
10810         with a prototype.
10811         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
10812         warning.
10813
10814 Fri Sep  8 03:26:38 2000  J"orn Rennecke <amylaar@redhat.co.uk>
10815
10816         * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
10817         (cmpeqdi_t): Add output pattern.
10818         (cmpeqdi_t+1): Don't split when not optimizing.
10819         Restore proper splitting operation.
10820
10821 2000-09-07  Richard Henderson  <rth@cygnus.com>
10822
10823         * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
10824         do not call dispatch_pragma.
10825
10826 2000-09-07  Jim Wilson  <wilson@cygnus.com>
10827
10828         * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
10829         to CLASS_CANNOT_CHANGE_MODE.
10830         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
10831         mode classes are different.
10832
10833 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
10834
10835         * cpplib.h (struct cpp_options): Add user_label_prefix member,
10836         left out of commit which removed cppulp.c.
10837
10838 2000-09-07  Richard Henderson  <rth@cygnus.com>
10839
10840         * bb-reorder.c (fixup_reorder_chain): Add jump in new block
10841         after switch for CASE_DROPS_THROUGH.
10842
10843 2000-09-07  Richard Henderson  <rth@cygnus.com>
10844
10845         * loop.c (strength_reduce): Call check_ext_dependant_givs.
10846         Properly extend the biv initial value for the giv.
10847         (record_biv): Zero ext_dependant.
10848         (record_giv): New argument ext_val.  Update all callers.
10849         (general_induction_var): Likewise.
10850         (consec_sets_giv): Likewise.
10851         (simplify_giv_expr): Likewise.  Fill in ext_val if we find
10852         a sign-extend, zero-extend, or truncate.
10853         (combine_givs_p): Make sure modes are compatible.
10854         (check_ext_dependant_givs): New.
10855         (extend_value_for_giv): New.
10856         * loop.h (struct induction): Add ext_dependant.
10857         * unroll.c (iteration_info): Extend the biv initial value for the giv.
10858         (find_splittable_givs): Likewise.
10859         (final_giv_value): Likewise.
10860
10861 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
10862
10863         * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
10864         REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
10865         definitions from cpplib.h.
10866         * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
10867         already done it.
10868         * tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
10869         documentation for REGISTER_TARGET_PRAGMAS.
10870
10871         * c-lex.c: Include cpplib.h before c-pragma.h.  Define a
10872         default-pragma callback to implement -Wunknown-pragmas if
10873         USE_CPPLIB.
10874         * c-parse.in: Move all includes to top of file.
10875         * c-pragma.c: Include cpplib.h before c-pragma.h.  Include
10876         tm_p.h.
10877         (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
10878         warning.
10879         (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
10880
10881         * arm.h, arm-protos.h, arm.c,
10882           c4x.h, c4x-protos.h, c4x.c,
10883           h8300.h, h8300-protos.h, h8300.c,
10884           i370.h, i370-protos.h, i370.c,
10885           i960.h, i960-protos.h, i960.c,
10886           sh.h, sh-protos.h, sh.c,
10887           v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
10888         pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
10889
10890         * d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
10891         multiple include guard.
10892         * i370.md (untyped_call): Use GEN_CALL.
10893         (umodsi3): Remove unused variable.
10894         * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
10895         * v850.c (output_move_single, output_move_double): Constify
10896         return value.
10897         (print_operand): Constify a char *.
10898         * v850.h (struct small_memory_info): Constify name member.
10899
10900 2000-09-07  Kazu Hirata  <kazu@hxi.com>
10901
10902         * config/h8300.h: Fix comment typos.
10903         * config/h8300/h8300.md: Likewise.
10904         * config/h8300/lib1funcs.asm: Likewise.
10905
10906 Thu 07-Sep-2000 21:29:00 BST  Neil Booth  <NeilB@earthling.net>
10907
10908         * Makefile.in: Remove references to cppulp.{c,o}.
10909         * cppinit.c (initialize_builtins, cpp_start_read,
10910         cpp_handle_option): Update to use cpp_options structure.
10911         * cppulp.c: Remove.
10912
10913 2000-09-07  Joseph S. Myers  <jsm28@cam.ac.uk>
10914
10915         * c-common.c (time_char_table): Allow %#b and %#h.
10916
10917 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10918
10919         * reorg.c (find_end_label): If the basic block reorder pass moves the
10920         return insn to some other place try to locate it again and put our
10921         end_of_function_label there.
10922         * reorg.c (relax_delay_slots): Check if find_end_label created a
10923         new label that invalidates the current optimazation.
10924
10925 2000-09-07  Catherine Moore  <clm@redhat.com>
10926
10927         * unroll.c (unroll_loop): Check for unconditional jumps
10928         to loop continuation.  Delete if n_iterations is 1.
10929         (ujump_to_loop_cont): New routine.
10930
10931 2000-09-07  Bernd Schmidt  <bernds@redhat.co.uk>
10932
10933         * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
10934         MODE_VECTOR_FLOAT.
10935         * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
10936         to handle multiword modes correctly.  All callers and the declaration
10937         changed.
10938
10939 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
10940
10941         * c-common.h (prep_stmt): Declare.
10942         (lang_expand_stmt): Likewise.
10943         * c-decl.c (lang_expand_stmt): Remove.
10944         * c-semantics.c (lang_expand_stmt): Define.
10945         (prep_stmt): New function.
10946         (expand_stmt): Handle common statement types here.
10947
10948 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
10949
10950         * configure.in (sh-*-linux*): Added.
10951         * configure: Rebuilt.
10952         * config/sh/t-linux: New file.
10953         * config/sh/sh.h (USERMODE_BIT): Define.
10954         (TARGET_USERMODE): Likewise.
10955         (TARGET_SWITCHES): New switches for the bits above.
10956         (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
10957         * config/sh/linux.h: New file.
10958         * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
10959         underscore on linux.
10960         (L_sdivsi3, L_udivsi3): Define for linux.
10961         (L_ic_invalidate): Define.
10962         * invoke.texi (SH Options): Document -musermode.
10963
10964 2000-09-07  Alexandre Oliva  <aoliva@redhat.com>
10965
10966         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
10967         CSE unless generating PIC.
10968
10969         * config/sh/sh.md (symPLT_label2reg): Force the initialization of
10970         the PIC register.
10971
10972 2000-09-06  H.J. Lu  (hjl@gnu.org)
10973
10974         * Makefile.in (clean_s1): Depend on stage_b.
10975         (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
10976         stage2. They are used for "make compare".
10977
10978 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
10979
10980         Move statement-tree facilities from C++ to C front-end.
10981         * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
10982         (void_zero_node): New macro.
10983         (struct stmt_tree_s): New type.
10984         (stmt_tree): New typedef.
10985         (struct language_function): New type.
10986         (last_tree): New macro.
10987         (last_expr_type): Likewise.
10988         (walk_tree_fn): New typedef.
10989         (current_stmt_tree): New function.
10990         (begin_stmt_tree): Likewise.
10991         (add_stmt): Likewise.
10992         (finish_stmt_tree): Likewise.
10993         (statement_code_p): Likewise.
10994         (lang_statement_code_p): New variable.
10995         (walk_stmt_tree): New function.
10996         (STMT_IS_FULL_EXPR_P): New macro.
10997         * c-common.c (lang_statement_code_p): New variable.
10998         (c_common_nodes_and_builtins): Initialize void_zero_node.
10999         (statement_code_p): New function.
11000         (walk_stmt_tree): Likewise.
11001         * c-decl.c (language_function): Rename to ...
11002         (c_language_function): ... this.  Include language_function.
11003         (push_c_function_context): Adjust accordingly.
11004         (pop_c_function_context): Likewise.
11005         (mark_c_function_context): Likewise.
11006         (current_stmt_tree): Define.
11007         * c-semantics.c (begin_stmt_tree): New function.
11008         (add_stmt): Likewise.
11009         (prune_unused_decls): Likewise.
11010         (finish_stmt_tree): Likewise.
11011
11012 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11013
11014         * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
11015
11016 2000-09-06  Kazu Hirata  <kazu@hxi.com>
11017
11018         * calls.c: Fix formatting.
11019
11020 2000-09-06  Graham Stott  <grahams@cygnus.co.uk>
11021
11022         * config/i386/i386.h (ADDRESS_COST): Fix typo.
11023
11024 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
11025
11026         Integrated preprocessor.
11027
11028         * Makefile.in: Remove all references to c-parse.gperf,
11029         c-gperf.h, and c-parse.h.  Remove -d from yacc command line
11030         generating c-parse.c.  Update dependencies.
11031         * c-parse.gperf, c-gperf.h: Delete.
11032
11033         * c-common.c: Don't define parse_options, cpp_token, yy_cur,
11034         yy_lim, or yy_get_token.  Don't define get_directive_line if
11035         USE_CPPLIB.
11036         * c-common.h: Add multiple include guard.  Define RID values
11037         for every keyword in C, C++, and Objective C.  Put all the
11038         modifiers first.
11039         (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
11040         * c-decl.c (c_decode_option): Handle -lang-objc here.
11041         (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
11042         (grokdeclarator): Adjust for new RID scheme.
11043         (extract_interface_info): New stub.
11044         * c-lang.c: Don't declare yy_cur or parse_options.
11045         (lang_init_options): Call cpp_init.  Don't call
11046         cpp_options_init.
11047         (lang_init): Don't call check_newline if USE_CPPLIB.
11048
11049         * c-lex.c: Don't include c-parse.h.  Do include timevar.h.
11050         Elide lots of unnecessary code if USE_CPPLIB.  Delete code
11051         rendered unnecessary by new architecture.  Move routines not
11052         shared with C++ to c-parse.in.  Maintain a local idea of the
11053         line number.    Handle C++ as well as C.
11054         [USE_CPPLIB]: Declare and register callbacks for #ident and
11055         for entering/leaving files.
11056         (init_c_lex, c_lex): Are now the entry points to this file.
11057         (check_newline): Break out directive handling to
11058         process_directive.
11059         (read_ucs, is_extended_char, utf8_extend_token): Moved here
11060         from C++ front end.
11061         (readescape, parse_float): Overhaul.
11062         (lex_number, lex_string, lex_charconst): Break out of c_lex
11063         (n'ee yylex).
11064         (get_fileinfo, update_header_times, dump_one_header,
11065         dump_time_statistics): New and/or moved here from C++.
11066         Support per-file data needed by C++ and per-header timing
11067         statistics (C++ only, at the moment).
11068         * c-lex.h: Update prototypes.  Add multiple include guard.
11069         * c-tree.h (struct lang_identifier): Add rid_code field.
11070         (C_IS_RESERVED_WORD, C_RID_CODE): New.
11071
11072         * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
11073         reinit_parse_for_function and/or position_after_white_space.
11074         (save_filename, save_lineno): Look ahead before saving.
11075         (label -> identifier ':'): Save file and line before shifting ':'.
11076         (reservedwords): No need to call get_identifier.
11077         (init_parse, finish_parse, yyerror, yylex, yyprint,
11078         make_pointer_declarator): Are now here for C/ObjC.
11079         (rid_to_yy): Conversion table from RID constants to Yacc codes.
11080
11081         * c-pragma.c: Rewrite parsing logic to fit with cpplib's
11082         #pragma registry.  Provide dummy implementation of that
11083         interface if !USE_CPPLIB.
11084         * c-pragma.h: Update to match.
11085
11086         * flags.h: Add multiple include guard.
11087         (flag_detailed_statistics): Moved here from C++.
11088         * toplev.c: Define flag_detailed_statistics.
11089
11090         * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
11091         #if USE_CPPLIB.
11092         * timevar.def (TV_CPP, TV_LEX): New.
11093         * timevar.h: Add multiple include guard.
11094
11095         * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
11096         #if USE_CPPLIB.
11097         * objc/objc-act.c: Don't mention yy_cur or parse_options.
11098         Initialize cpplib properly.  Force lineno to 0 after first
11099         call to check_newline.  Don't handle -lang-objc here.
11100         Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
11101
11102 2000-09-06  David Edelsohn  <edelsohn@gnu.org>
11103
11104         * rs6000.md: Correct function unit definitions for cr_logical and
11105         mtjmpr.
11106         (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
11107         and use portable method for >=0 and floating point >=.  Remove
11108         associated matchers.
11109
11110 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
11111
11112         * extend.texi: Mark named return value extension as deprecated.
11113
11114 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
11115
11116         * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
11117         the result.
11118
11119 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
11120
11121         * toplev.c (display_help): Fix thinko in documentation.
11122
11123         * diagnostic.h (output_buffer::indent_skip): New fields.
11124         (output_indentation): New macro.
11125
11126         * diagnostic.c (output_indent): New function.
11127         (output_set_prefix, clear_diagnostic_info): Use.
11128         (output_emit_prefix): Predict future indentation.
11129
11130 2000-09-06  DJ Delorie  <dj@redhat.com>
11131
11132         * Makefile.in (stage_*): add more dependencies to ensure parallel
11133         builds build correctly
11134
11135 2000-09-06  Manfred Hollstein  <manfredh@redhat.com>
11136
11137         * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
11138         not bootstrap-lean_f.
11139
11140 2000-09-06  Andreas Schwab  <schwab@suse.de>
11141
11142         * mklibgcc.in: Emit rule for libgcc-stage-start.
11143         * Makefile.in (stage1-start, stage2-start, stage3-start,
11144         stage4-start): Don't handle libgcc here, use libgcc.mk instead.
11145
11146 2000-09-06  Bernd Schmidt  <bernds@redhat.co.uk>
11147
11148         * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
11149         (update_equiv_regs): Likewise, except for the mn10200 kludge.
11150         (combine_regs): Likewise.
11151
11152         * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
11153         * cse.c: Include "basic-block.h".
11154         (struct table_elt): New field REGCOST.
11155         (CHEAP_REG): Delete macro.
11156         (COST): Return 0 for REGs.
11157         (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
11158         (notreg_cost): Return 0 for appropriate SUBREGs.
11159         (COSTS_N_INSNS): Return N * 2.
11160         (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
11161         SUBREGs.
11162         (CHEAPER): Use new function preferrable.
11163         (insert): Initialize REGCOST member.
11164         (find_best_addr): Use approx_reg_cost for estimation of register
11165         usage.
11166         (cse_insn): Likewise.
11167         * loop.c (iv_add_mult_cost): New function.
11168         (add_cost, shift_cost, mult_cost): Delete variables.
11169         (init_loop): Don't initialize add_cost; reduce copy_cost by half.
11170         (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
11171         Make code that detects autoinc opportunities slightly less optimistic.
11172         (simplify_giv_expr): If expression contains other reg that is also a
11173         giv, only increment benefit if this is the only use of that reg.
11174         (consec_sets_giv): Take that change into account.
11175         (combine_givs): Slightly more verbose output.
11176
11177         * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
11178         not the cost of an equivalent shift.
11179         * sh-protos.h (addsubcosts): Declare.
11180         * sh.c (addsubcosts): New function.
11181         * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
11182         (RTX_COSTS): Tweak.  Use addsubcosts.
11183         (ADDRESS_COST): Return higher cost for reg+reg addressing.
11184
11185 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
11186
11187         * config/rs6000/rs6000.c (validate_condition_mode): New function.
11188         (branch_comparison_operator): Call validate_condition_mode to
11189         abort rather than returning 0.
11190         (branch_positive_comparison_operator): New function.
11191         (scc_comparison_operator): Call validate_condition_mode to abort
11192         rather than returning 0.
11193         (ccr_bit): Call validate_condition_mode.  Update for
11194         new branch scheme.
11195         (print_operand): Delete %C modifier.  Update %E case
11196         to use EQ bit not SO bit.
11197         (rs6000_reverse_condition): New function.
11198         (rs6000_generate_compare): New function.
11199         (rs6000_emit_sCOND): New function.
11200         (rs6000_emit_cbranch): New function.
11201         (output_cbranch): The length of a long branch insn is
11202         now only 8 bytes.  Add validate_condition_mode.  Use
11203         rs6000_reverse_condition.  Remove cror generation.
11204
11205         * config/rs6000/rs6000.h: Update comments.
11206         (PREDICATE_CODES): Add new predicate.  Update codes used
11207         by branch_comparison_operator and scc_comparison_operator.
11208         * config/rs6000/rs6000-protos.h: Add prototypes for
11209         new external functions.
11210         * config/rs6000/rs6000.md: Add new scheduling parameters
11211         for cr_logical instructions.  Change length of branch
11212         instructions.
11213         (bCOND patterns): Call rs6000_emit_cbranch.
11214         (sCOND patterns): Call rs6000_emit_sCOND.
11215         (branch patterns): Change lengths to 4.
11216         (cr logical patterns): New.
11217
11218 2000-09-06  Richard Henderson  <rth@cygnus.com>
11219
11220         * config/i386/i386.md (call_pop): Fix test for setting
11221         current_function_uses_pic_offset_table.
11222         (call, call_value_pop, call_value): Likewise.
11223
11224 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
11225
11226         * timevar.c (timevar_add): Delete.
11227         (timevar_get): Also count time since the selected timer was
11228         last updated.  Do not examine the timevar stack if the
11229         selected timer is standalone.
11230
11231 2000-09-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11232
11233         * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
11234
11235 2000-09-05  Jason Merrill  <jason@redhat.com>
11236
11237         * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
11238         for 'extern' arrays.
11239
11240 2000-09-05  Richard Henderson  <rth@cygnus.com>
11241
11242         * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
11243         Eliminate final copy from non-trapping case.
11244         (__divdf3, __divsf3): Likewise.
11245
11246 2000-09-05  Richard Henderson  <rth@cygnus.com>
11247
11248         * config/ia64/ia64.md (mulhi3): Fix typo last change.
11249         * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
11250
11251 2000-09-03  Donn Terry  <donn@interix.com>,  Laurynas Biveinis  <lauras@softhome.net>
11252
11253         * Makefile.in: Restructure bootstrap stages to allow clean
11254         restart after failure.
11255
11256 2000-09-05  Richard Henderson  <rth@cygnus.com>
11257
11258         * config/ia64.md (movsi and movdi patterns): Allow moves from
11259         8-bit constants to AR registers.
11260
11261 2000-09-05  Richard Henderson  <rth@cygnus.com>
11262
11263         * config/ia64/ia64.md (mulhi3): New.
11264
11265 2000-09-05  Richard Henderson  <rth@cygnus.com>
11266
11267         * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
11268         * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
11269         Optimization Guide, minimum latency alternative.
11270         (__moddi3, __udivdi3, __umoddi3): Likewise.
11271         (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
11272
11273 2000-09-05  Bruce Korb  <bkorb@gnu.org>
11274
11275         * fixinc/fixincl.c (load_file): always read header files
11276         with sizes that are a multiple of the page size.
11277         & use libiberty's getpagesize for determining that.
11278
11279 2000-09-05  Alexandre Oliva  <aoliva@redhat.com>
11280
11281         * gcse.c (hash_string_1): Add prototype.
11282         * cse.c (canon_hash_string): Likewise.
11283
11284 2000-09-04  Craig Newell  <CraigN@ieee.org>
11285
11286         * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
11287
11288 2000-09-04  Andreas Schwab  <schwab@suse.de>
11289
11290         * Makefile.in (STAGESTUFF): Remove libgcc.
11291         (stage1-start, stage2-start, stage3-start): Copy the contents of
11292         the libgcc directory explicitly.
11293         (mostlyclean): Clean libgcc.
11294
11295 2000-09-04  Andrew Haley  <aph@redhat.com>
11296
11297         * dwarf2out.c: (stack_adjust_offset): New prototype.
11298
11299 Wed Jan  1 00:23:59 MET 1997  Jan Hubicka  <jh@suse.cz>
11300
11301         * combine.c (make_extraction): Fix rtx_cost comparison to
11302         match the comment.
11303
11304 Wed Jan  1 00:17:32 MET 1997  Jan Hubicka  <jh@suse.cz>
11305
11306         * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
11307         umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
11308         Add '*' to insn pattern name.
11309
11310 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
11311
11312         * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
11313         use posn - 1 to index into tokens array.
11314         (maybe_paste_with_next): Adjust caller.
11315
11316 2000-09-03  Geoff Keating  <geoffk@cygnus.com>
11317
11318         * invoke.texi: Document the -mvxworks option for rs6000 ELF.
11319
11320         * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
11321         (REGNO_REG_CLASS): Use symbolic register
11322         names.
11323
11324 2000-09-03  Richard Earnshaw  <rearnsha@arm.com>
11325
11326         * arm.c (final_prescan_insn): If the form of a jump insn isn't
11327         recognized, don't try to conditionally execute it.
11328
11329 Sun Sep  3 13:10:56 2000  Denis Chertykov  <denisc@overta.ru>
11330
11331         * config/avr/avr.md ("*tablejump_lib"): New pattern.
11332         (call_value_insn): Right length claculation.
11333         (call_insn): Likewise.
11334
11335 2000-09-02  Marek Michalkiewicz  <marekm@linux.org.pl>
11336
11337         * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
11338         gas_output_limited_string, gas_output_ascii, output_movqi,
11339         output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
11340         out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
11341         out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
11342         ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
11343         lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
11344         out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
11345         Add "const" as needed to remove warnings.
11346
11347         * config/avr/avr.c (avr_override_options, avr_init_once,
11348         function_prologue, function_epilogue, frame_pointer_required_p,
11349         class_likely_spilled_p, order_regs_for_local_alloc,
11350         avr_address_cost, avr_ret_register): Use K&R style arguments.
11351         (initial_elimination_offset, gas_output_limited_string):
11352         Remove ATTRIBUTE_UNUSED from the used arguments.
11353         (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
11354         Use local variables src, dest, base to access operands[].
11355         Rename reg_dest to reg_src if that's what it is.
11356         (output_movhi, output_movsisf): Optimize loading 8-bit immediate
11357         constants to LD_REGS if reg_was_0.
11358         (output_reload_insisf): Change arg 3 to insn length and set it.
11359         (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
11360         access to 16-bit I/O register pairs.
11361         (avr_address_cost): Lower cost for the above case.
11362         (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
11363         may be clobbered, also for LD_REGS.
11364         (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
11365         with a CONST_INT.
11366
11367         * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
11368
11369         * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
11370         macro to test_hard_reg_class function.
11371         (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
11372         for loading immediate constants to LD_REGS.
11373         (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
11374
11375
11376 Sat Sep  2 13:58:23 2000  Marek Michalkiewicz <marekm@linux.org.pl>
11377
11378         * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
11379         * config/avr/libgcc.S: Lost part of the previous patch.
11380
11381 2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11382
11383         * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
11384         object before calling pthread_mutex_init.
11385
11386 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
11387
11388         * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
11389         config/sh/crtn.asm: New files.
11390         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
11391         (crt1.o, crti.o, crtn.o): New targets.
11392         * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
11393         sh/t-elf.
11394         * configure: Rebuilt.
11395         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
11396         STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
11397         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
11398         Undefine for config/elfos.h to redefine.
11399         (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
11400
11401 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>, Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11402
11403         * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
11404         legitimize_pic_address, output_pic_addr_const): Declare.
11405         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
11406         (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
11407         (TARGET_SWITCHES): New switch -mprefergot.
11408         (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
11409         (PIC_OFFSET_TABLE_REGNUM): Define.
11410         (GOT_SYMBOL_TABLE): Likewise.
11411         (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
11412         (ENCODE_SECTION_INFO): Define.
11413         (FINALIZE_PIC): New macros.
11414         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
11415         (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
11416         * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
11417         (prepare_move_operands): Call emit_pic_move or
11418         emit_pic_const_move if appropriate.
11419         (output_far_jump): For PIC, use braf and output long offset.
11420         (machine_dependent_reorg):
11421         (sh_expand_prologue): Save and initialize the PIC register.
11422         (sh_expand_epilogue): Restore it.
11423         (initial_elimination_offset): Account for it.
11424         (nonpic_symbol_mentioned_p): New function.
11425         (legitimize_pic_address): Likewise.
11426         (output_pic_addr_const): Likewise.
11427         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
11428         (call, call_value): Use them.
11429         (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
11430         symPLT_label2reg): New expands.
11431         * invoke.texi (SH Options): Document -mprefergot.
11432
11433 2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
11434
11435         * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
11436         * gcse.c (hash_string_1): New function.
11437         (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
11438         (expr_equiv_p) <ASM_OPERANDS>: Likewise.
11439         * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
11440         (canon_hash_string): New function.
11441         (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
11442         (exp_equiv_p) <ASM_OPERANDS>: Likewise.
11443         (fold_rtx): Use ASM_OPERANDS accessor macros.
11444         * emit-rtl.c (copy_insn_1): Likewise.
11445         * integrate.c (copy_rtx_and_substitute): Likewise.
11446         * stmt.c (expand_asm_operands): Likewise.  Give an
11447         ASM_OPERANDS rtx the mode of the output reg being set from it.
11448
11449 2000-09-01  Fred Fish  <fnf@be.com>
11450
11451         * fix-header.c (write_rbrac): Add putc and getc to list of
11452         functions to protect against prior definition as a macro.
11453
11454 2000-09-01  Joseph S. Myers  <jsm28@cam.ac.uk>
11455
11456         * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
11457         (c_size_type_node): Define.
11458         * c-decl.c (init_decl_processing): Initialize c_size_type_node.
11459         * c-common.c (enum format_lengths, enum format_std_version,
11460         format_length_info, format_type_detail, BADLEN, NOLENGTHS,
11461         format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
11462         T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
11463         T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
11464         T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
11465         TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
11466         format_types): Define.
11467         (format_char_info, print_char_table, scan_char_table,
11468         time_char_table): Rearrange for new organization of information
11469         about format length modifiers and standard versions.
11470         (T_ST): Redefine to use c_size_type_node.
11471         (check_format_info): Obtain information about length modifiers and
11472         standard versions from tables.  Adjust warning message wordings.
11473         Use the name from the user's program for `ll' and `hh' length
11474         modifiers in warning messages.  Use more informative names for
11475         wanted types where available (for wchar_t, wint_t, size_t, signed
11476         size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
11477
11478 2000-09-01  Jim Wilson  <wilson@cygnus.com>
11479
11480         * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
11481         * combine.c (distribute_notes): Handle REG_NORETURN.
11482         * rtl.c (reg_note_name): Add REG_NORETURN.
11483         * rtl.h (enum reg_note): Likewise.
11484
11485         * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
11486         ia64_file_start.
11487         * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
11488         (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
11489         (emit_predicate_relation_info): Handle conditional calls with
11490         REG_NORETURN.
11491         * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
11492         instead of ia64_file_start.
11493         * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
11494         * config/ia64/ia64.md (safe_across_calls_all,
11495         save_across_calls_normal): New patterns.
11496
11497         * loop.c (check_final_value): Check for biv use before checking for
11498         giv use.  Check for both biv and giv uses.  Always set last_giv_use
11499         if there is a giv use.
11500
11501 2000-09-01  Richard Henderson  <rth@cygnus.com>
11502
11503         * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
11504         (madddi3): Likewise.
11505         (maddsi3): New.
11506
11507 Fri Sep  1 10:59:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11508
11509         * expr.c (clear_storage): Don't use emit_move_insn unless
11510         either BLKmode or proper size.
11511         (store_constructor): Don't call clear_storage if REG of wrong size.
11512
11513         * flow.c (init_propagate_block_info): Don't mark frame dead at end
11514         of function if returns wiht stack pointer depressed.
11515
11516 2000-09-01  Andrew Haley  <aph@redhat.com>
11517
11518         * dwarf2out.c (stack_adjust_offset): New function.
11519         (dwarf2out_stack_adjust): Break out stack adjust logic into
11520         new stack_adjust_offset function.  Look inside parallels and
11521         sequences for stack adjustments.
11522
11523 2000-08-31  Jeff Law <law@cygnus.com>
11524
11525         * arm.md: Use no_new_pseudos to determine when it is safe
11526         to create new pseudo registers.
11527
11528         * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
11529         when we can safely allocate new registers.
11530
11531 2000-08-31  Geoffrey Keating  <geoffk@cygnus.com>
11532
11533         * stmt.c (expand_asm_operands): Twiddle generating_concat_p
11534         so that CONCATs are not generated for ASMs.
11535         * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
11536         not generating_concat_p.
11537         * function.c (pop_function_context_from): Reset
11538         generating_concat_p.
11539         (prepare_function_start): Likewise.
11540         * rtl.c (generating_concat_p): Define.
11541         * rtl.h (generating_concat_p): Declare.
11542         * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
11543
11544 2000-08-22  Philipp Thomas  <pthomas@suse.de>
11545             Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
11546
11547         * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
11548         for translation.
11549
11550 2000-08-30  Greg McGary  <greg@mcgary.org>
11551
11552         * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
11553         * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
11554         * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
11555
11556 2000-08-30  Greg McGary  <greg@mcgary.org>
11557
11558         * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
11559         (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
11560         (TREE_INT_CST): New macro.
11561         * varasm.c (const_hash, compare_constant_1, record_constant_1):
11562         Use new macro TREE_INT_CST.
11563
11564 Wed 30-Aug-2000 23:18:59 BST  Neil Booth  <NeilB@earthling.net>
11565
11566         * contrib.texi: Add self.
11567
11568 2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
11569
11570         * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
11571         (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
11572         and labels.
11573
11574 2000-08-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11575
11576         * fixinc/gnu-regex.c: Don't define `const'.
11577
11578 Tue Aug 29 22:09:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11579
11580         * expr.c (store_constructor): Allow variable bounds of array type.
11581         (expand_expr): Don't blow up if type is ERROR_MARK.
11582         * varasm.c (output_constructor): Don't access lower bound of array
11583         type unless need it if index is supplied (so it can be a variable
11584         if no index is supplied).
11585         Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
11586         Other minor cleanups.
11587
11588 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11589
11590         * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
11591         for compilations in stage 1 and subsequent stages, respectively.
11592         * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
11593         * configure: Rebuilt.
11594         * x-vax, x-vax-gcc: Deleted.
11595
11596 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11597
11598         * c-common.c (declare_function_name): Use func_id_node,
11599         function_id_node, and pretty_function_id_node.  Do not make
11600         __func__ visible at file scope.
11601         * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
11602         CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
11603         (function_id_node, pretty_function_id_node, func_id_node): New
11604         macros.
11605         * c-decl.c (init_decl_processing): Initialize function_id_node,
11606         pretty_function_id_node, and func_id_node.
11607         (c_make_fname_decl): Correct comment.
11608
11609         * tree.h (struct tree_identifier): Constify pointer member.
11610
11611         * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
11612         * c-pragma.h (struct weak_syms): Constify name and value members.
11613         (add_weak): Constify arguments.
11614
11615         * calls.c (special_function_p): Constify a char *.
11616         (expand_call): Remove variable which is initialized and then
11617         never used.
11618         * dependence.c (struct def_use, struct induction, struct subscript):
11619         Constify 'variable' member.
11620         (get_low_bound, have_induction_variable): Constify char * argument.
11621         (find_induction_variable): Add braces to avoid dangling else.
11622         (classify_dependence): Constify char * arrays.
11623         * profile.c (output_func_start_profiler): Constify a char *.
11624         * stor-layout.c (finalize_record_size): Constify a char *.
11625         * tree.c (is_attribute_p): Constify a char *.
11626         * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
11627
11628         * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
11629         for comprehensibility.  Do not call get_identifier if we did
11630         not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
11631         create temporary string constants, not ggc_alloc_string.  No
11632         need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
11633         char * to hold IDENTIFIER_POINTERs.
11634
11635 2000-08-29  Richard Henderson  <rth@cygnus.com>
11636
11637         * config/ia64/ia64.md (muldi3): Use grfr_register_operand
11638         for the inputs.
11639
11640 2000-08-29  Richard Henderson  <rth@cygnus.com>
11641
11642         * reload.c (push_secondary_reload): Allow class == reload_class
11643         if we're using a reload_in/out pattern.
11644
11645         * config/ia64/ia64.md (reload_inti): Use a TImode scratch.  Use
11646         the half that does not conflict with the reload register.
11647         (reload_outti): Likewise.
11648
11649 2000-08-29  Kazu Hirata  <kazu@hxi.com>
11650
11651         * reload.c: Fix formatting.
11652
11653         * stmt.c: Fix formatting.
11654
11655         * gcc.c: Fix formatting.
11656
11657 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11658
11659         * flags.h (time_report, mem_report): New global flags.
11660         * toplev.c: Define time_report and mem_report.
11661         (f_options): Add -ftime-report and -fmem-report.
11662         (compile_file): Turn on time_report if quiet_flag is off.
11663         Call ggc_print_statistics at very end if mem_report is on.
11664         * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
11665
11666         * ggc-common.c (ggc_print_statistics): Rename to
11667         ggc_print_common_statistics; all callers changed.  Scale
11668         quantities above 10K to kilobytes and above 10M to megabytes.
11669         * ggc-page.c (ggc_page_print_statistics): Rename to
11670         ggc_print_statistics.  Report memory consumed by internal data
11671         structures for each allocation bucket.  Scale quantities above
11672         10K to kilobytes and above 10M to megabytes.
11673         * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
11674         Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
11675         Define tally_leaves always.
11676         (ggc_print_statistics): New function.
11677         * ggc.h: Adjust for renamed functions.
11678
11679 Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
11680
11681         * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
11682         output_movsisf instead of which_alternative.
11683
11684         * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
11685
11686 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
11687
11688         * config/avr/avr-protos.h: (avr_output_ascii) Removed.
11689         (avr_progmem_p): New prototype.
11690         (output_movsisf): Prototype declaration changed.
11691         (output_movqi): New prototype.
11692         (output_movhi): New prototype.
11693         (call_insn_operand): Likewise.
11694         (final_prescan_insn): Likewise.
11695         (avr_simplify_comparision_p): Likewise.
11696         (avr_normalize_condition): Likewise.
11697         (compare_eq_p): Likewise.
11698         (out_shift_with_cnt): Likewise.
11699         (const_int_pow2_p): Likewise.
11700         (output_reload_inhi): Prototype declaration changed.
11701
11702         * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
11703         (ldi_reg_rtx): New. rtx for r31.
11704         (avr_init_stack): Initialize as "__stack".
11705         (function_prologue): Use it.
11706         Replace all TARGET_ENHANCED with AVR_ENHANCED.
11707         (avr_mcu_name): Initialize as "avr2".
11708         (avr_enhanced_p, avr_mega_p): New variables.
11709         (mcu_types, avr_override_options): Handle all known MCU types.
11710         Also handle avr1 (only preprocess, assemble and link).
11711         (print_operand): Using of `%K' in output template removed.
11712         (out_movqi_r_mr): Optimized.
11713         (out_movhi_r_mr): Likewise.
11714         (output_movqi): New function.
11715         (output_movhi): Likewise.
11716         (out_movsi_r_mr): Optimized.
11717         (output_movsisf): Compute insn length for `adjust_insn_length'
11718         (out_movqi_mr_r): Optimized.
11719         (out_movhi_mr_r): Optimized.
11720         (adjust_insn_length): Use output_movsisf, output_movqi,
11721         output_movhi for insn length adjusting.
11722         (reg_unused_after): Use dead_or_set_p.
11723         (preferred_reload_class): Now havn't any restriction.
11724         (reg_was_0): New function.
11725         (io_address_p): Likewise.
11726         (const_int_pow2_p): Likewise.
11727         (output_reload_inhi): Likewise.
11728         (output_reload_insisf): Likewise.
11729
11730         * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
11731         (LIB_SPEC): Use -lc for all supported devices.
11732         (LIBGCC_SPEC): Use -lgcc for all supported devices.
11733         (AVR_MEGA): Define as avr_mega_p.
11734         (AVR_ENHANCED): New, define as avr_enhanced_p.
11735         (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
11736         (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
11737         (CRT_BINUTILS_SPECS): Handle all known MCU types.
11738         Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
11739         (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
11740         (ASM_SPEC): Pass -mmcu=... to the assembler.
11741         Change all -DAVR_* to -D__AVR_*__.
11742         (INIT_TARGET_OPTABS), config/avr/libgcc.S:
11743         Rename library functions to start with two underscores.
11744         (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
11745         alignment.
11746         (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
11747         (SUPPORTS_WEAK): Likewise.
11748         (LDI_REG_REGNO): New. Register r31 will be used as temporary
11749         register for loading constants to r0-r14.
11750
11751         * config/avr/avr.md: Replace all TARGET_ENHANCED with
11752         AVR_ENHANCED.
11753         (*mov_r_sp): Removed. Handled by output_movhi.
11754         (*mov_sp_r): Likewise.
11755         (*mov_sp_r_no_interrupts): Likewise
11756         (*mov_sp_r_tiny): Likewise.
11757         (*movqi): Use output_movqi.
11758         (*reload_inqi): New.
11759         (*movhi): Use output_movhi.
11760         (*reload_inhi): New.
11761         (*negsi2): Optimized.
11762         (*negsf2): Likewise.
11763         Added peepholes (define_peephole2) for loading constants to r0-r14
11764         and for using `cpse' command.
11765
11766         * config/avr/libgcc.S: Rename library functions to start with two
11767         underscores.
11768         Add support for enhanced core.
11769         (_moqhi3): Fix typo, now _modqi3.
11770         (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
11771         (__prologue_saves__): Remove test for stack adjust by 0.
11772         (__tablejump__): New.
11773
11774         * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
11775         Add multilib support.
11776
11777 Tue Aug 29 15:17:54 EDT 2000  John Wehle  (john@feith.com)
11778
11779         * loop.c (prescan_loop): Don't check unknown_address_altered
11780         when deciding if insert_loop_mem is safe.  Add BLKmode MEMs
11781         to loop_store_mems as necessary.
11782         (loop_invariant_p): Don't check unknown_address_altered
11783         or unknown_constant_address_altered.
11784
11785 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11786
11787         * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
11788
11789 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11790
11791         * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
11792         print just the filename.
11793         * cpplex.c (_cpp_run_directive): Add additional argument, the
11794         name to give the synthetic buffer.  This defaults to
11795         translated "<command line>".
11796         * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
11797         Adjust to match.
11798         (_cpp_define_builtin): New function.
11799         * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
11800         * cpphash.h: Update prototypes.
11801
11802         * tradcpp.c (main): Process -D and -U simultaneously, in the
11803         order they appeared on the command line.
11804
11805 2000-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11806
11807         * c-decl.c (define_label): Call warning_with_file_and_line and
11808         error_with_file_and_line instead of plain warning or error.
11809
11810         * c-parse.in (label): Use save_filename/save_lineno to ensure
11811         correct values for calls to define_label.
11812
11813 2000-08-29  Mark Mitchell  <mark@codesourcery.com>
11814
11815         * calls.c (expand_call): Don't create a VAR_DECL just to throw it
11816         away.
11817         * expr.c (expand_expr, case TARGET_EXPR): Don't call
11818         mark_addressable.
11819         * tree.h (get_file_function_name): Remove two duplicate
11820         declarations.
11821
11822 2000-08-28  Kazu Hirata  <kazu@hxi.com>
11823
11824         * tree.c: Fix formatting.
11825
11826         * xcoffout.c: Fix formatting.
11827
11828 2000-08-28  Jason Merrill  <jason@redhat.com>
11829
11830         * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
11831
11832 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
11833
11834         * dwarf2out.c (dwarf2out_finish): Don't bother calling
11835         break_out_includes if it won't do anything.
11836
11837 2000-08-28  Richard Henderson  <rth@cygnus.com>
11838
11839         * reload.c (push_secondary_reload): Revert 2000-08-16 change.
11840         (find_reloads): Likewise.
11841         * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
11842         (reload_inhi): Likewise.
11843
11844 2000-08-28  Richard Henderson  <rth@cygnus.com>
11845
11846         * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
11847         (call_insn_operand): Don't expect a surrounding mem.
11848         (constant_call_address_operand): Likewise.
11849         * config/i386/i386.h (PREDICATE_CODES): Update.
11850         * config/i386/i386.md (call patterns): Move the match_operand
11851         for the call destination inside the mem.
11852
11853 2000-08-28  Richard Henderson  <rth@cygnus.com>
11854
11855         * local-alloc.c (requires_inout): Don't use reserved range for
11856         EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
11857         * recog.c (asm_operand_ok): Likewise.
11858         (preprocess_constraints, constrain_operands): Likewise.
11859         * regclass.c (record_reg_classes): Likewise.
11860         * reload.c (find_reloads): Likewise.
11861         * reload1.c (maybe_fix_stack_asms): Likewise.
11862         (reload_cse_simplify_operands): Likewise.
11863         * stmt.c (expand_asm_operands): Likewise.
11864
11865         * md.texi: Update constraints documentation.
11866         * tm.texi (EXTRA_CONSTRAINT): Update.
11867
11868 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
11869
11870         * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
11871         (print_die): If we don't know the offset of the
11872         target die, try the symbol.  Add a trailing newline.
11873         (reverse_all_dies): New fn.
11874         (dwarf2out_finish): Call it.
11875         (break_out_includes): Reorganize for clarity.
11876         (add_sibling_attributes): Don't call reverse_die_lists.
11877         (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
11878         primary CU, too.
11879         * flags.h: Add flag_eliminate_dwarf2_dups.
11880         * toplev.c (f_options): Support -feliminate-dwarf2-dups.
11881
11882 2000-08-28  Jason Merrill  <jason@redhat.com>
11883
11884         * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
11885         * dwarf2out.c: #include "md5.h".
11886         (DIE_LABEL_PREFIX): New macro.
11887         (dw_val_struct): Add 'external' flag to val_die_ref.
11888         (add_AT_die_ref, AT_ref): Adjust.
11889         (AT_ref_external, set_AT_ref_external): New fns.
11890         (build_abbrev_table): Call set_AT_ref_external.
11891         (value_format): Call AT_ref_external.
11892         (die_struct): Add die_symbol field.
11893         (new_die): Clear it.
11894         (dwarf_tag_name): Handle BINCL/EINCL.
11895         (dwarf2out_start_source_file): Add BINCL DIE.
11896         (dwarf2out_end_source_file): Add EINCL DIE.
11897         (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
11898         (loc_checksum, attr_checksum, die_checksum): New fns.
11899         (is_type_die, is_comdat_die, is_symbol_die): New fns.
11900         (compute_section_prefix, assign_symbol_names): New fns.
11901         (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
11902         (output_die): Call output_die_symbol and AT_ref_external.
11903         (output_comdat_comp_unit): New fn, split out from...
11904         (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
11905         secondary CUs.
11906         (output_pubnames, output_aranges): Abort if we see entries from
11907         secondary CUs.
11908         * toplev.h: Declare file_name_nondirectory.
11909         * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
11910         (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
11911         (debug_start_source_file): Call dwarf2out_start_source_file
11912         regardless of debug verbosity.
11913         (debug_end_source_file): Similarly.
11914         * tree.h: Declare clean_symbol_name.
11915         * tree.c (clean_symbol_name): Split out from...
11916         (get_file_function_name_long): ...here.
11917
11918         * dwarf2out.c (new_loc_descr): Use calloc.
11919         (splice_child_die): Remove the die from the right parent.
11920         (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
11921
11922 Mon Aug 28 19:02:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11923
11924         * toplev.c (decode_g_option): Don't give warning for unknown -g
11925         option; return 0 instead.
11926         (main): If -g option is not recognized by front end or
11927         language-independent code, give warning.
11928
11929 2000-08-28  Greg McGary  <greg@mcgary.org>
11930
11931         * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
11932         * config/i386/i386.c (ix86_expand_compare): Remove `static'.
11933         * config/i386/i386.md (trap, conditional_trap): New insn & expand.
11934
11935 2000-08-27  Greg McGary  <greg@mcgary.org>
11936
11937         * cpplex.c (parse_string): Don't look for backslash
11938         before first char in `namebuf'.
11939         * loop.c (strength_reduce): Skip NOTEs.
11940
11941 2000-08-27  Jason Merrill  <jason@redhat.com>
11942
11943         * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
11944         DECL_EXTERNAL on a local extern.  Don't set DECL_IGNORED_P or
11945         TREE_ASM_WRITTEN, either.
11946         (finish_decl): Adjust.
11947
11948 2000-08-28  Philipp Thomas  <pthomas@suse.de>
11949
11950         * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
11951         they have been incorporated into the gettext CVS. Change the text to
11952         reflect the current status of NLS. Add instructions for accessing
11953         the gettext CVS and add the patch from Martin v. Loewis.
11954
11955 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
11956
11957         * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
11958         by using gen_lowpart_common.
11959         (movdi_internal64+6): Likewise.
11960
11961 2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
11962
11963         * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
11964         Document.
11965
11966         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
11967         numbers to the ranges used by GDB.
11968
11969 2000-08-25  Richard Henderson  <rth@cygnus.com>
11970
11971         * config/ia64/ia64.h (struct machine_function): Add n_varargs.
11972         * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
11973         (ia64_expand_prologue): Likewise.
11974         (ia64_setup_incoming_varargs): Set it.  Properly skip the current
11975         argument for stdargs.
11976
11977 2000-08-25  Jason Merrill  <jason@redhat.com>
11978
11979         * integrate.c (expand_inline_function): Pull out the original decl.
11980
11981 2000-08-25  Jim Wilson  <wilson@cygnus.com>
11982
11983         * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
11984
11985         * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
11986
11987 2000-08-25  Greg McGary  <greg@mcgary.org>
11988
11989         * flow.c (dump_edge_info): Use ARRAY_SIZE.
11990         * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
11991
11992 2000-08-25  Richard Earnshaw  <rearnsha@arm.com>
11993
11994         * arm.h (STRUCT_VALUE): Define to 0, not NULL.
11995
11996 Fri Aug 25 12:52:49 EDT 2000  John Wehle  (john@feith.com)
11997
11998         * i386.c (ix86_find_base_term): New.
11999         * i386-protos.h (ix86_find_base_term): Prototype.
12000         * i386.h (FIND_BASE_TERM): Define.
12001         * alias.c (find_base_term): Use it.
12002         * tm.texi (FIND_BASE_TERM): Document it.
12003
12004         * alias.c (true_dependence, write_dependence_p): Unchanging
12005         memory can't conflict with non-unchanging memory.
12006
12007         * alias.c (memrefs_conflict_p): A BLKmode reference
12008         to a symbol (or CONST_INT address) always conflicts
12009         with a reference to another symbol.
12010
12011 2000-08-25  Joseph S. Myers  <jsm28@cam.ac.uk>
12012
12013         * c-common.c (time_char_table): Don't allow width and flags with
12014         "z" format.
12015
12016 2000-08-25  Jakub Jelinek  <jakub@redhat.com>
12017
12018         * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
12019         way as LT and LTU when the second operand has 0 in low word.
12020
12021 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
12022
12023         * basic-block.h (struct loop): Rename `exits' field to
12024         `exit_edges'.  Add `entry_edges' and `num_entries' fields.
12025
12026         * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
12027         (flow_loop_entry_edges_find): Add.
12028         (flow_edge_list_print): Rename from flow_exits_print.
12029         (flow_loops_find): Call flow_loop_entry_edges_find.
12030         (flow_loop_dump): Dump entry_edges list.
12031         (flow_loops_free): Free entry_edges.
12032
12033 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
12034
12035         * loop.c (loop_dump_aux, debug_loop): New functions.
12036         (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
12037
12038         * flow.c (flow_loops_dump): Add callback parameter.
12039         (flow_loop_dump): Add callback parameter and call it.  Move
12040         loop note debugging code to loop_dump_aux.
12041
12042         * basic-block.h (flow_loop_dump): Add callback parameter
12043         (flow_loops_dump): Likewise.
12044
12045         * toplev.c (rest_of_compilation): Add NULL callback function pointer
12046         to call to flow_loops_dump.
12047
12048 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
12049
12050         * loop.c (count_loop_regs_set): Replace start and end arguments
12051         with loop argument.  All callers udated.
12052
12053 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
12054
12055         * loop.c (constant_high_bytes): Delete.
12056
12057 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
12058
12059         * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
12060         and NOTE_INSN_LOOP_VTOP to...
12061         (find_and_verify_loops) ...here.
12062
12063 Fri Aug 25 04:21:13 2000  Alexandre Oliva  <aoliva@redhat.com>
12064
12065         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
12066         (fini_dummy, init_dummy): Use it.
12067
12068 Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
12069
12070         * cpplex.c (is_macro_disabled): Caller has already checked
12071         that we're not a preprocessed file.
12072
12073 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
12074
12075         * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
12076         (c-iterate.o): Remove target.
12077         * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
12078         * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
12079         (finish_decl): Don't handle iterators.
12080         (grokdeclarator): Likewise.
12081         * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
12082         * gcc/c-gperf.h: Regenerated.
12083         * gcc/c-iterate.c: Removed.
12084         * gcc/c-lex.c (init_lex): Don't handle iterators.
12085         * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
12086         (compstmt_primary_start): Remove push_iterator_stack call.
12087         (stmt): Don't allow iterator statements.  Replace iterator_expand
12088         with expand_expr_stmt.
12089         (all_iter_stmt): Remove.
12090         (all_iter_stmt_simple): Likewise.
12091         (all_iter_stmt_with_decl): Likewise.
12092         * gcc/c-tree.h (ITERATOR_P): Remove.
12093         (ITERATOR_BOUND_P): Likewise.
12094         (init_iterators): Remove declaration.
12095         (iterator_expand): Likewise.
12096         (iterator_for_loop_start): Likewise.
12097         (iterator_for_loop_end): Likewise.
12098         (iterator_for_loop_record): Likewise.
12099         (push_iterator_stack): Likewise.
12100         (pop_iterator_stack): Likewise.
12101         * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
12102         (readonly_warning): Likewise.
12103         * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
12104
12105 2000-08-24  Jim Wilson  <wilson@cygnus.com>
12106
12107         * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
12108         Copy type in a TYPE_DECL, just like pushdecl does.
12109
12110 2000-08-24  Richard Henderson  <rth@cygnus.com>
12111
12112         * toplev.c (main): Enable flag_reorder_blocks at -O2.
12113
12114 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
12115
12116         * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
12117         asked for one page, allocate GGC_QUIRE_SIZE of them and put
12118         the extras on the free list.
12119         (release_pages): Clean up.
12120         (ggc_set_mark): Don't adjust G.allocated here...
12121         (sweep_pages): ... do it here.
12122
12123 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
12124
12125         * cppfiles.c (read_include_file): Rearrange initializations.
12126
12127 2000-08-24  Richard Henderson  <rth@cygnus.com>
12128
12129         * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
12130
12131         * config/ia64/ia64-protos.h: Update.
12132         * config/ia64/ia64.c (gr_register_operand): New.
12133         (fr_register_operand, grfr_register_operand): New.
12134         (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
12135         (grfr_reg_or_8bit_operand): New.
12136         (gr_reg_or_0_operand): Rename from reg_or_0_operand and
12137         use gr_register_operand.
12138         (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
12139         (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
12140         (gr_reg_or_8bit_and_adjusted_operand): Likewise.
12141         (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
12142         (fr_reg_or_fp01_operand): Likewise.
12143         (not_postinc_memory_operand): New.
12144         (ia64_split_timode): Remove unused variables.
12145         (rtx_needs_barrier): Check arguments to cmpxchg.
12146         (builtin_description): Remove.
12147         (bdesc_2argsi, bdesc_2argdi): Remove.
12148         (ia64_init_builtins): Declare all builtins directly.
12149         (ia64_expand_fetch_and_op): Rewrite to be called from
12150         ia64_expand_builtin directly.  Use expand_binop and co.
12151         (ia64_expand_op_and_fetch): Likewise.
12152         (ia64_expand_compare_and_swap): Likewise.
12153         (ia64_expand_binop_builtin): Remove.
12154         (ia64_expand_lock_test_and_set): New.
12155         (ia64_expand_lock_release): New.
12156         (ia64_expand_builtin): Use them.
12157         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
12158         (EXTRA_CONSTRAINT): Use it.
12159         (PREDICATE_CODES): Update.
12160         * config/ia64/ia64.md (*): Use gr_register_operand and co.
12161         (mf): Indicate that we set memory as well as use it.
12162         (fetchadd_acq_si): Show memory being modified as well.
12163         (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
12164         (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
12165         (lock_test_and_set_si, lock_test_and_set_di): Remove.
12166         (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
12167         (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
12168         (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
12169         (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
12170         (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
12171         (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
12172         (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
12173         (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
12174         * config/ia64/ia64intrin.h (*): Cast result to the appropriate
12175         return type.  Pretty print definitions.
12176
12177 2000-08-24  Jim Wilson  <wilson@cygnus.com>
12178
12179         * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
12180         we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
12181
12182 2000-08-24  Jason Merrill  <jason@redhat.com>
12183
12184         * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
12185         AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
12186         (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
12187         get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
12188
12189 2000-08-24  Greg McGary  <greg@mcgary.org>
12190
12191         * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
12192         and extendtab within their proper array boundaries.
12193         * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
12194         for the entire array.
12195
12196         * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
12197         * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
12198         * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
12199         * config/fr30/fr30.c (fr30_print_operand): Likewise.
12200         * config/i386/dgux.c (output_options): Likewise.
12201         * config/i386/dgux.h (ASM_FILE_START): Likewise.
12202         * config/m88k/m88k.c (output_options): Likewise.
12203         * config/m88k/m88k.h (ASM_FILE_START): Likewise.
12204         * config/mcore/mcore.c (mcore_output_inline_const_forced,
12205         layout_mcore_frame, handle_structs_in_regs): Likewise.
12206         * config/mips/mips.c (output_block_move): Likewise.
12207         * config/rs6000/rs6000.c (rs6000_override_options,
12208         rs6000_file_start): Likewise.
12209         * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
12210         * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
12211         * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
12212         * builtins.c (expand_builtin_setjmp): Likewise.
12213         * expr.c (safe_from_p): Likewise.
12214         * flow.c (life_analysis): Likewise.
12215         * fold-const.c (size_int_type_wide): Likewise.
12216         * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
12217         * genattrtab.c (make_length_attrs): Likewise.
12218         * genopinit.c (gen_insn): Likewise.
12219         * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
12220         * global.c (global_alloc): Likewise.
12221         * local-alloc.c (find_free_reg): Likewise.
12222         * mips-tdump.c (print_symbol): Likewise.
12223         * mips-tfile.c (parse_def, parse_input): Likewise.
12224         * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
12225         * stmt.c (expand_nl_goto_receiver): Likewise.
12226         * stor-layout.c (set_sizetype): Likewise.
12227         * varasm.c (decode_reg_name): Likewise.
12228         * toplev.c (decode_f_option, decode_W_option,
12229         set_target_switch, print_switch_values): Likewise.
12230         (NUM_ELEM): Remove macro.
12231         (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
12232
12233 2000-08-24  Greg McGary  <greg@mcgary.org>
12234
12235         * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
12236         (MAIN_NAME_P, main_identifier_node): New macros.
12237         * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
12238         * c-decl.c (start_decl, grokdeclarator, start_function,
12239         store_parm_decls, finish_function): Use MAIN_NAME_P.
12240         * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
12241         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
12242         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12243         * config/pdp11/pdp11.c (output_function_prologue): Likewise.
12244
12245 2000-08-24  Greg McGary  <greg@mcgary.org>
12246
12247         * cppfiles.c (actual_directory): Don't write beyond `dir'
12248         when it contains "".
12249         * real.c (asctoeg): Stay within bounds of etens[][].
12250
12251 2000-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12252
12253         * dependence.c (dependence_string, direction_string,
12254         dump_one_node, dump_node_dependence): Hide unused identifiers.
12255         (get_low_bound, normalize_coefficients): Match definition to
12256         static prototype.
12257         (get_one_coefficient): Initialize variables `value0_is_idx' and
12258         `value1_is_idx'.
12259         (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
12260         (ziv_test): Delete variable `idx', use parameter `sub' instead.
12261         (direction_merge): Avoid automatic aggregate initialization.
12262         (have_dependence_p): Use `src' not `dest' to set `src_idx'.
12263         Initialize variables `dest_idx' and `src_idx'.
12264         (end_dependence_analysis): Avoid C89 style function definition.
12265
12266 2000-08-24  Joseph S. Myers  <jsm28@cam.ac.uk>
12267
12268         * c-common.c (time_char_table): Don't allow width with %F.
12269         (check_format_info): Don't allow "Z" length with scanf.
12270
12271 2000-08-24  Gabriel Dos Reis  <gdr@codesourcery.com>
12272
12273         * diagnostic.c (finish_diagnostic): Define.
12274         (output_do_printf): Use wrap_text instead of output_add_string.
12275         (default_print_error_function): Avoid embedded '\n'.
12276
12277         * diagnostic.h (flush_diagnostic_buffer): Declare.
12278
12279 2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
12280
12281         * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
12282
12283 2000-08-23  Hans-Peter Nilsson  <hp@axis.com>
12284
12285         * Makefile.in (GCC_PASSES): Add specs.
12286
12287 2000-08-23  Jim Wilson  <wilson@cygnus.com>
12288
12289         * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
12290         * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
12291         EHANDLER nor UHANDLER bit is set.
12292         (__get_except_table): Likewise.
12293
12294 2000-08-23  Nick Clifton  <nickc@redhat.com>
12295
12296         * config/arm/lib1funcs.asm: Replace upper case condition codes
12297         with lower case versions.
12298
12299         * config/arm/arm.h (STRUCT_VALUE): Define.
12300         (STRUCT_VALUE_REGNUM): Delete.
12301
12302 2000-08-23  Zack Weinberg  <zack@wolery.cumb.org>
12303
12304         * cpphash.h (IN_I): New flag for directive table.
12305         * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
12306         #pragma with IN_I.
12307         (_cpp_check_directive): If -fpreprocessed, execute directives
12308         marked with IN_I.  Issue no warnings in this case.
12309         * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
12310
12311 2000-08-23  Joseph S. Myers  <jsm28@cam.ac.uk>
12312
12313         * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
12314         %u.
12315         (check_format_info): Support printf 'I' flag; warn about it with
12316         -pedantic.
12317
12318 2000-08-23  Richard Earnshaw  (rearnsha@arm.com)
12319
12320         * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
12321         barrier can't be ignored by the alias analysis code.
12322
12323 2000-08-12  Eli Zaretskii  <eliz@is.elta.co.il>
12324
12325         * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
12326         works inside fixincl.
12327
12328 Wed Aug 23 04:55:48 2000  Alexandre Oliva  <aoliva@redhat.com>
12329
12330         * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
12331         simplify_relational_operation() unless both operands are of
12332         VOIDmode.
12333         * cse.c (fold_rtx): Likewise.
12334
12335 Tue Aug 22 23:53:27 EDT 2000  John Wehle  (john@feith.com)
12336
12337         * rtlanal.c (rtx_unstable_p): The pic register is stable
12338         (within one function) and the actual rtx should be used
12339         when checking the registers.
12340         (rtx_addr_can_trap_p): Pic memory addresses can't trap.
12341
12342         * alias.c (true_dependence, write_dependence_p): Fix
12343         bug in previous patch.
12344
12345         * i386.c (ix86_GOT_alias_set): New.
12346         (legitimize_pic_address): Use it.
12347
12348         * rtlanal.c (rtx_unstable_p): An unchanging MEM is
12349         only stable if its address is stable.
12350         (rtx_varies_p): An unchanging MEM can't vary if
12351         its address doesn't vary.
12352
12353 2000-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12354
12355         * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
12356
12357 2000-08-22  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
12358
12359         * vax.h (ASM_SPEC): Pass `-J' to assembler.
12360         * x-vax-gcc: New file for bootstrapping with gcc.
12361         * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
12362         * configure.in: Use x-vax-gcc with gcc.
12363         * configure: Rebuilt.
12364
12365 Tue Aug 22 21:21:05 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12366
12367         * toplev.c (rest_of_compilation): Rebuild label notes after
12368         post-reload splitting pass if new labels have been created.
12369
12370 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
12371
12372         * diagnostic.h (output_buffer_state): New macro.
12373         * diagnostic.c (diagnostic_for_decl, sorry,
12374         default_print_error_function, output_do_verbatim,
12375         report_diagnostic, report_problematic_module): Use it.
12376         (wrap_text): Tweak.
12377         (output_format): Use wrap_text instead of maybe_wrap_text.
12378
12379 2000-08-22  Nick Clifton  <nickc@redhat.com>
12380
12381         * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
12382         Common code for ARM divide and modulus functions.
12383         (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
12384         ARM_DIV_MOD_BODY.
12385         (FUNC_END): New macro: Common code at the end of the division and
12386         modulo functions.
12387         (THUMB_FUNCTION_START): New macro:  Common code at the start of
12388         Thumb functions.
12389         (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
12390
12391 Tue Aug 22 20:34:52 2000  Kaz Kojima <kkojima@rr.iij4u.or.jp>
12392
12393         * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
12394
12395         * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
12396         sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
12397         const0_rtx.
12398
12399 2000-08-22  Nick Clifton  <nickc@redhat.com>
12400
12401         * config/arm/lib1funcs.asm (__umodsi3): Before performing any
12402         restorative additions, test for bottom bits of IP being set,
12403         rather than relying upon the RORs not matching.
12404         (__modsi3): Ditto.
12405
12406 2000-08-22  David Edelsohn  <edelsohn@gnu.org>
12407
12408         * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
12409         text_section() as appropriate instead of emitting text csect
12410         pseudo-op directly.
12411         (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
12412         (UNIQUE_SECTION): Define macro.
12413         (ASM_OUTPUT_SECTION_NAME): Define macro.
12414         * rs6000.c (rs6000_override_options): Disable -ffunction-sections
12415         on AIX if debugging and -fdata-sections always.
12416
12417 2000-08-22  Steven King  <sxking@uswest.net>
12418
12419         * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
12420         machinery.
12421         (LDBL_MAX): Same here.
12422
12423 2000-08-22  Richard Henderson  <rth@cygnus.com>
12424
12425         * flow.c (tidy_fallthru_edge): Update b->end properly.
12426
12427 2000-08-22  Stan Cox  <scox@redhat.com>
12428
12429         * Makefile.in (OBJS): Add dependence.o.
12430         * dependence.c: New file.
12431
12432 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>, John David Anglin  <dave.anglin@nrc.ca>
12433
12434         * calls.c (check_sibcall_argument_overlap_1): Adjust for
12435         ARGS_GROW_DOWNWARD.
12436         (check_sibcall_argument_overlap): Likewise.
12437
12438 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
12439
12440         * invoke.texi (SH Options): Document -m4-nofpu,
12441         -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
12442         -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
12443
12444 2000-08-22  Joseph S. Myers  <jsm28@cam.ac.uk>
12445
12446         * c-common.c (check_format_info): Give the 'some locales' warning
12447         for strftime %Ey rather than the unconditional 'only last 2 digits
12448         of year' one.
12449
12450 2000-08-22  Richard Henderson  <rth@cygnus.com>
12451
12452         * alias.c (init_alias_analysis): Do not register
12453         struct_value_incoming_rtx or static_chain_rtx as pointing
12454         to stack memory.
12455
12456 Tue Aug 22 01:44:43 2000  Jeffrey A Law  (law@cygnus.com)
12457
12458         * protoize.c (munge_compile_params): Fix typo and formatting buglets.
12459
12460 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
12461
12462         * diagnostic.h (report_problematic_module): Declare.
12463         * diagnostic.c (report_problematic_module): New function.
12464         (report_error_function): Tweak.
12465
12466 Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12467
12468         * stmt.c (expand_goto_internal, fixup_gotos): Only check
12469         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
12470
12471 2000-08-21  Richard Henderson  <rth@cygnus.com>
12472
12473         * flow.c (calculate_global_regs_live): Mark frame pointer live
12474         everywhere before reload.
12475
12476 2000-08-21  Jim Wilson  <wilson@cygnus.com>
12477
12478         * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
12479         INTEL_EXTENDED_IEEE_FORMAT.
12480         (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
12481         clear last two bytes of output FP value.
12482
12483 2000-08-21  Graham Stott  <grahams@cygnus.co.uk>
12484
12485         * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
12486
12487 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
12488
12489         * unroll.c (loop_find_equiv_value): If ret is modified between
12490         insn and loop_start, ret might not be equivalent to reg.
12491
12492 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
12493
12494         * c-common.c (init_dollar_format_checking,
12495         maybe_read_dollar_number, finish_dollar_format_checking): New
12496         functions.
12497         (dollar_arguments_used, dollar_arguments_count,
12498         dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
12499         New variables.
12500         (check_format_info): Support $ formats for scanf and printf width
12501         and precision.  Always increment format_chars to advance past the
12502         '*' of precision, not just when the format parameters are
12503         available to check.
12504
12505 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12506
12507         * mips.c (block_move_loop, expand_block_move,
12508         function_arg_partial_nregs, save_restore_insns, function_prologue,
12509         mips_expand_prologue, RA_MASK): Avoid using the `U' integer
12510         constant suffix.
12511         (function_arg_advance, function_arg): Match argument to format
12512         specifier `%p'.
12513
12514 2000-08-21  Nix  <nix@esperi.demon.co.uk>
12515
12516         * gcc.c (do_spec_1): Implement %j spec flag.
12517         Remove dead comment.
12518
12519         * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
12520         * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
12521         * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
12522         * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
12523
12524         * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
12525         writable) instead of hardcoded value.
12526
12527         * toplev.c (compile_file): Output to a file even if -fsyntax-only.
12528
12529         * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
12530         MKTEMP_EACH_FILE.
12531
12532         * gcc.c (cc1_options): Do not process -o or run the assembler if
12533         -fsyntax-only.
12534         * objc/lang-spec.h: Likewise.
12535
12536 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
12537
12538         * fixinc/fixincl.c (fix_with_system): Pipe the output of
12539         "external" fixes through `cat', to avoid truncating the input
12540         file by redirection.
12541
12542 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
12543
12544         * config/i386/i386.md (lea_general_1): Copy insn condition to split
12545         condition.
12546         (lea_general_2, lea_general_3): Likewise.
12547
12548 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12549
12550         * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
12551         warnings to user code.
12552
12553         * c-lex.c (readescape, yylex): Likewise.
12554
12555         * c-typeck.c (store_init_value, process_init_element): Likewise
12556         (c_expand_start_case): Format.
12557
12558 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12559
12560         * mips/linux.h (LINK_SPEC): Use %(endian_spec).
12561
12562         * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
12563         and linker_endian_spec to endian_spec.
12564         (ENDIAN_SPEC): Add %{EB} and %{EL}.
12565         (LINK_SPEC): Remove %{EB} and %{EL}.
12566         (ASM_SPEC): Likewise.  Use %(endian_spec).
12567
12568 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
12569
12570         * c-tree.h (flag_hosted): Move declaration from here...
12571         * c-common.h (flag_hosted): ... to here.
12572         (flag_noniso_default_format_attributes): New declaration.
12573         * c-decl.c (flag_noniso_default_format_attributes): New variable.
12574         (c_decode_option): Set it appropriately for options choosing
12575         language standard variant.
12576         * c-common.c (init_function_format_info): Only provide default
12577         format attributes if flag_hosted.  Only provide the gettext
12578         formats if flag_noniso_default_format_attributes.  Update
12579         comments.
12580         (check_format_info): Disable treatment of %a as a scanf flag in
12581         C99 mode.
12582
12583 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
12584
12585         * c-common.c (scan_char_table): Add 'w' to flags for all formats
12586         except 'n'.
12587         (check_format_info): Set 'wide' for scanf format widths.  Warn for
12588         a zero scanf width.  Make the check for writing into a constant
12589         object at the first level of indirection; at later levels, warn if
12590         any type qualifiers are encountered.
12591
12592 Mon Aug 21 07:41:12 2000  Jeffrey A Law  (law@cygnus.com)
12593
12594         * reload.c (reload_inner_reg_of_subreg): New function broken out of
12595         push_reload.
12596         (push_reload): Use reload_inner_reg_of_subreg.
12597         (combine_reloads): Do not combine reloads if the input reload
12598         is a SUBREG in which the inner part will need reloading.
12599
12600         * global.c (global_alloc): Avoid passing dumpfile argument to
12601         reload routines.
12602         * toplev.c (rest_of_compilation): Likewise.
12603         * reload.h (reload): Remove dumpfile argument.  Callers changed.
12604         (debug_reload, debug_reload_to_stream): Move prototypes here.
12605         * rtl.h  (reload): Remove dumpfile argument.
12606         * reload.c (debug_reload): Remove prototype.
12607         (debug_reload_to_stream): Likewise.
12608         * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
12609         instead.
12610
12611 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12612
12613         * diagnostic.c (context_as_prefix): Export.
12614         (need_error_newline): Remove.
12615         (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
12616         (error_module_changed, record_last_error_module,
12617         error_function_changed, record_last_error_function): New functions.
12618         (initialize_diagnostics): Default intialize
12619         lang_diagnostic_starter, lang_diagnostic_finalizer.
12620         (init_output_buffer): Tweak.
12621         (file_name_as_prefix): New function.
12622         (announce_function, default_print_error_function,
12623         report_error_function, set_diagnostic_context): Tweak.
12624
12625 2000-08-21  Richard Earnshaw  <rearnsha@arm.com>
12626
12627         * flow.c (init_propagate_block_info): Handle SUBREG in a jump
12628         condition expression.
12629
12630 2000-08-20  Richard Henderson  <rth@cygnus.com>
12631
12632         * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
12633
12634 2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
12635
12636         * cppinit.c (cpp_init): Set global flag when called.
12637         (cpp_reader_init): Bomb out if cpp_init hasn't been called.
12638
12639 Sun Aug 20 01:41:35 2000  Dennis Chernoivanov  <cdi@sparc.spb.su>
12640
12641         * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
12642         before `process_directive' so that newlines won't be missed
12643         for directives.
12644         (cpp_printf): Increment `print->lineno' when newline is emitted.
12645
12646         * cppmain.c (cb_ident): Likewise.
12647         (cb_define): Likewise.
12648         (cb_undef): Likewise.
12649         (cb_include): Likewise.
12650         (cb_def_pragma): Likewise.
12651         (dump_macros_helper): Likewise.
12652
12653 2000-08-20  Richard Henderson  <rth@cygnus.com>
12654
12655         * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
12656         assigned before a loop.
12657
12658         * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
12659         (ashrsi3, lshrsi3): Likewise.
12660
12661 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
12662
12663         * c-lang.c: #include diagnostic.h
12664         (c_tree_printer): New function.
12665         (lang_init): Initialize lang_printer.
12666
12667         * Makefile.in (c-lang.o): Depends on diagnostic.h
12668
12669 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
12670
12671         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
12672
12673         * diagnostic.c (default_diagnostic_starter,
12674         default_diagnostic_finalizer): New functions.
12675         (diagnostic_for_asm, diagnostic_for_decl): Tweak.
12676         (pedwarn, pedwarn_with_file_and_line, error,
12677         error_with_file_and_line, fatal, warning,
12678         warning_with_file_and_line): Adjust call to report_diagnostic.
12679         (report_diagnostic): Rework.
12680         (set_diagnostic_context): New function.
12681
12682         * diagnostic.h (struct diagnostic_context): New data structure.
12683         (diagnostic_message, diagnostic_argument_list,
12684         diagnostic_file_location, diagnostic_line_location,
12685         diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
12686         diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
12687         (set_diagnostic_context): Declare.
12688         (report_diagnostic): Change prototype.
12689
12690 Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
12691
12692         * fix-header.c (main): Initialize cpplib.
12693
12694 2000-08-19  Michael Meissner  <meissner@redhat.com>
12695
12696         * ifcvt.c (find_if_block): Do not assume that a THEN block has any
12697         instructions in it before checking for indirect jumps.
12698
12699         * ifcvt.c (find_if_block): Do not consider a THEN block that ends
12700         in a indirect jump as a potential for conditional execution.
12701
12702         * d30v.h (d30v_init_expanders): Don't declare here.
12703         * d30v-protos.h (d30v_init_expanders): Declare here with a valid
12704         prototype.
12705
12706 Sat 19-Aug-2000 21:11:45 BST  Neil Booth  <NeilB@earthling.net>
12707
12708         * cpp.texi: Add @section for assertions.
12709
12710 Sat Aug 19 12:37:08 EDT 2000  John Wehle  (john@feith.com)
12711
12712         * loop.c (scan_loop): Use CONST_CALL_P instead of
12713         checking for REG_LIBCALL / REG_RETVAL.
12714
12715 Sat Aug 19 09:18:47 2000  Jeffrey A Law  (law@cygnus.com)
12716
12717         * reload1.c (reload_as_needed): Accept dumpfile argument,
12718         pass it to emit_reload_insns.
12719         (emit_reload_insns): Add new dumpfile argument.  If non-null
12720         then dump the reloads for each insn into the dumpfile.
12721         (reload): Pass dumpfile to reload_as_needed.
12722
12723         * invoke.texi: Clean up linux-gnu vs linux comments.
12724
12725 2000-08-19  Richard Henderson  <rth@cygnus.com>
12726
12727         * config/ia64/ia64.c (reg_or_5bit_operand): New.
12728         (ia64_depz_field_mask): New.
12729         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
12730         (PREDICATE_CODES): Update.
12731         * config/ia64/ia64.md: Update commentary.
12732         (depz_internal): New.
12733         (ashlsi3): Implement directly.
12734         (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
12735         (ashldi3): Use shladd.
12736         * config/ia64/ia64-protos.h: Update.
12737
12738 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
12739
12740         * toplev.c (independent_decode_option): Always process -g.
12741         Remove third argument, now unused.  Adjust caller to match.
12742
12743 2000-08-18  Richard Henderson  <rth@cygnus.com>
12744
12745         * combine.c (make_compound_operation): Break after creating
12746         the extraction.
12747
12748 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
12749
12750         * cpplib.c (cpp_register_pragma_space): Just return if the
12751         namespace is already registered.
12752
12753 2000-08-18  Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton  <nickc@redhat.com>
12754
12755         * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
12756         constant amount.  Do not generate ROTL instruction.
12757
12758 Fri Aug 18 16:22:20 2000  Alexandre Oliva  <aoliva@redhat.com>
12759
12760         * config/sh/elf.h: Do not include sh/sh.h.
12761         * config/sh/rtems.h: Likewise.
12762         * config/sh/rtemself.h: Do not include sh/elf.h.
12763         * configure.in: Get them included with `tm_file's.
12764         * configure: Rebuilt.
12765
12766         * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
12767         * config/sh/sh.c (fpscr_set_from_mem): Use them.
12768
12769 Fri Aug 18 14:23:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12770
12771         * stor-layout.c (compute_record_type): Don't use mode of single
12772         field as mode of record if not integer mode of same type.
12773
12774         * regmove.c (perhaps_ends_bb_p): New function.
12775         (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
12776         (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
12777         (fixup_match_1): Likewise.
12778         (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
12779         avoid signed/unsigned warnings.
12780
12781         * function.c (fixup_var_refs_1, case MEM): Update CODE after
12782         updating X.
12783
12784 Fri 18-Aug-2000 18:33:45 BST  Neil Booth  <NeilB@earthling.net>
12785
12786         * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
12787         (_cpp_trigraph_map): Declaration moved from cpplex.c
12788
12789         * cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
12790         instead of 256.  Use consistent test for designated initializers.
12791         (cpp_init): Initialize trigraph_map.
12792         (initialize_standard_includes, parse_option):  Use memcmp
12793         instead of strncmp.
12794
12795         * cpplex.c (init_trigraph_map): Remove.
12796         (trigraph_ok, trigraph_replace, lex_line): Refer to
12797         _cpp_trigraph_map.
12798
12799         * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
12800         (do_unassert): Remove unused "next" local.
12801
12802         * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
12803
12804 2000-08-18  Emmanuel Marty  <emarty@suntech.fr>
12805
12806         * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
12807         insn.
12808
12809 2000-08-17  Richard Henderson  <rth@cygnus.com>
12810
12811         * config/ia64/ia64.c (spill_restore_mem): Handle emitting
12812         the first insn in a sequence.
12813
12814 Thu Aug 17 22:40:05 EDT 2000  John Wehle  (john@feith.com)
12815
12816         * alias.c (true_dependence, write_dependence_p): A read
12817         involving a label_ref or the constant pool doesn't create
12818         a dependency.
12819
12820         * rtl.h (unchanging): Improve documentation.
12821
12822 2000-08-17  Rodney Brown  <RodneyBrown@mynd.com>
12823
12824         * cse.c (insert_regs): Remove unused `regno'.
12825
12826 2000-08-17  Neil Booth  <NeilB@earthling.net>
12827
12828         * (cppinit.c) merge_include_chains: Use remove_dup_dir,
12829         remove_dup_dirs.  If qtail == brack, remove brack not
12830         qtail.
12831         (remove_dup_dir, remove_dup_dirs): New functions.
12832
12833 2000-08-17  Neil Booth  <NeilB@earthling.net>
12834
12835         * cppinit.c (cpp_cleanup): Free include dir chains.
12836         * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
12837         (do_unassert): Free the assert with _cpp_free_definition.
12838         * cppmacro.c (_cpp_free_definition): Free memory allocated for
12839         assertions.  Make the node a T_VOID node.
12840
12841 2000-08-17  Neil Booth  <NeilB@earthling.net>
12842
12843         * cppinit.c (path_include, append_include_chain):
12844         Remove 2nd parameter (struct cpp_pending *).
12845         (path_include, initialize_standard_includes, cpp_handle_option):
12846         Update callers appropriately.
12847         (cpp_handle_option): Use pend.
12848
12849 2000-08-17  Neil Booth  <NeilB@earthling.net>
12850
12851         * cppinit.c (sort_options): Remove, put functionality in
12852         cpp_init.
12853         (cpp_init): New.
12854         (initialize_builtins): Free memory.
12855         (cpp_start_read): Move init_IStable to cpp_init.
12856
12857         * cpplib.h (cpp_init): New prototype.
12858         * cppmain.c (main): Call cpp_init.
12859
12860 Thu Aug 17 13:20:32 EDT 2000  John Wehle  (john@feith.com)
12861
12862         * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
12863         (rtx_unstable_p, rtx_varies_p): Process vectors.
12864
12865 2000-08-16  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12866
12867         * config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
12868         references to GLOBAL symbols.  Use LOCAL where appropriate.
12869
12870 2000-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12871
12872         * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
12873         use t-aix41 when host == target.
12874
12875 2000-08-16  Richard Henderson  <rth@cygnus.com>
12876
12877         * reload.c (push_secondary_reload): Revert last change.
12878         If we use a reload_in/out pattern, make the when the same
12879         as the primary reload.
12880         (find_reloads): Likewise.
12881
12882 2000-08-16  Manfred Hollstein  <manfredh@redhat.com>
12883
12884         * configure.in (libstdcxx-v3): Fix test.
12885         * configure: Regenerate.
12886
12887 Wed Aug 16 08:10:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12888
12889         * calls.c (calls_function_1, expand_call): Only test
12890         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
12891         * function.c (thread_prologue_and_epilogue_insns): Likewise.
12892
12893 2000-08-16  Richard Henderson  <rth@cygnus.com>
12894
12895         * combine.c (simplify_shift_const): Revert previous two
12896         changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
12897         before the main loop.
12898
12899 2000-08-15  Richard Henderson  <rth@cygnus.com>
12900
12901         * combine.c (simplify_shift_const): Bound shift count when
12902         combining shifts.
12903
12904 Tue Aug 15 17:33:05 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12905
12906         * calls.c (ECF_SP_DEPRESSED): New macro.
12907         (calls_function_1): Treat calling sp-depressed function as alloca.
12908         (emit_call_1): Don't adjust SP if calling sp-depressed function.
12909         (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
12910         If sp-depressed, ensure block saves and restores SP.
12911         * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
12912         for INTEGER_TYPE.
12913         * function.c (keep_stack_depressed): New function.
12914         (thread_prologue_and_epilogue_insns): Call it.
12915         * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
12916         to print DECL_OFFSET_ALIGN.
12917         Print no-force-blk and transparent-union flags properly.
12918         * stmt.c (expand_goto_internal): Don't restore stack if last block
12919         and function returns with sp depressed.
12920         (fixup_gotos): Likewise.
12921         (save_stack_pointer): New function, from code in expand_decl.
12922         (expand_decl): Call new function.
12923         * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
12924         (TYPE_RETURNS_STACK_DEPRESSED): New macro.
12925         (save_stack_pointer): New declaration.
12926
12927         * diagnostic.c (fatal_function): New variable.
12928         (set_fatal_function): New function.
12929         (fatal): Call it.
12930         * diagnostic.h (set_fatal_function): New declaration.
12931
12932 2000-08-15  William Cohen  <wcohen@redhat.com>
12933
12934         * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
12935         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
12936         (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
12937
12938 2000-08-15  Richard Henderson  <rth@cygnus.com>
12939
12940         * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
12941
12942 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12943
12944         * arm.c (arm_function_ok_for_sibcall): New function.
12945         * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
12946         * arm.md (call expanders): Don't check here for calls that can't
12947         be sibling calls.
12948
12949 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12950
12951         * arm.md (splits generating cond_exec): Disable.
12952
12953 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12954
12955         * arm/linux-elf.h (text_section): Delete declaration.
12956
12957 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12958
12959         ARM support for unordered FP operations.
12960         * arm-protos.h (arm_comparison_operator): Declare.
12961         * arm.c (arm_comparison_operator): New function.
12962         (arm_select_cc_mode): Add unordered comparison codes.
12963         (get_arm_condition_code): Likewise.
12964         (arm_final_prescan_insn): Can't handle unordered jumps that can't
12965         be done in one insn.
12966         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
12967         * arm.md (all uses of comparison_operator): Replace with
12968         arm_comparison_operator.
12969         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
12970         expands.
12971         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
12972         patterns.
12973
12974 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
12975
12976         * gthr-posix.h: Conditionally include <sched.h>; include
12977         <config.h> from libobjc/.
12978
12979 2000-08-14  Richard Henderson  <rth@cygnus.com>
12980
12981         * config/i386/i386.c (legitimize_pic_address): Use Pmode
12982         for all CONSTs.
12983
12984 2000-08-14  Richard Henderson  <rth@cygnus.com>
12985
12986         * configure.in (ia64-*): Set float_format for i386 long double.
12987
12988         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
12989         as we would for i386 XFmode.
12990         (PUT_REAL): Likewise.
12991         (endian, ereal_atof, real_value_truncate): Likewise.
12992         (ereal_isneg, toe64, etens, make_nan): Likewise.
12993         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
12994
12995         * config/ia64/ia64-protos.h: Update.
12996         * config/ia64/ia64.c (general_tfmode_operand): New.
12997         (destination_tfmode_operand): New.
12998         (tfreg_or_fp01_operand): New.
12999         (ia64_split_timode): New.
13000         (spill_tfmode_operand): New.
13001         (ia64_expand_prologue): Use TFmode not XFmode.
13002         (ia64_expand_epilogue): Likewise.
13003         (ia64_function_arg): Likewise.
13004         (ia64_function_arg_advance): Likewise.
13005         (ia64_return_in_memory): Likewise.
13006         (ia64_function_value): Likewise.
13007         (ia64_print_operand): Likewise.
13008         (ia64_register_move_cost): Set GR<->FR to 5.
13009         (ia64_secondary_reload_class): Get GR for TImode memory op.
13010         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
13011         (ROUND_TYPE_ALIGN): Remove.
13012         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
13013         (INTEL_EXTENDED_IEEE_FORMAT): Define.
13014         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
13015         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
13016         (MODES_TIEABLE_P): Use TFmode, not XFmode.
13017         (CLASS_MAX_NREGS): Likewise.
13018         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
13019         (PREDICATE_CODES): Update.
13020         * config/ia64/ia64.md (movti): New.
13021         (movti_internal): Use a clobber for memory alternatives.
13022         (reload_inti, reload_outti): New.
13023         (movsfcc_astep): Predicate properly.
13024         (movdfcc_astep): Likewise.
13025         (movxf): Remove.
13026         (movtf): New.
13027         (extendsftf2, extenddftf2): New.
13028         (trunctfsf2, trunctfdf2): New.
13029         (floatditf2, fix_trunctfdi2): New.
13030         (floatunsditf2, fixuns_trunctfdi2): New.
13031         (addtf3, subtf3, multf3, abstf2): New.
13032         (negtf2, nabstf2, mintf3, maxtf3): New.
13033         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
13034         (cmptf): New.
13035         (fr_spill): Use TFmode, not XFmode.
13036         (fr_restore): Likewise.
13037         * config/ia64/lib1funcs.asm (__divtf3): New.
13038         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
13039
13040 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13041
13042         * cse.c (fold_rtx): Avoid empty body in an if-statement.
13043
13044         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
13045         `U' integer constant suffix.
13046
13047         * dwarf2out.c (add_subscript_info): Avoid empty body in an
13048         else-statement.
13049
13050         * sparc/sol2.h (__enable_execute_stack): Prototype.
13051
13052 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
13053
13054         * collect2.c: Remove use of AIX import file.
13055
13056         * longlong.h: Test ARCH_PWR not ARCH_POWER.
13057
13058         * rs6000.c (print_operand, case 'E'): Add else.
13059
13060 2000-08-14  Richard Henderson  <rth@cygnus.com>
13061
13062         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
13063         (movdi_symbolic): New.
13064
13065 2000-08-14  Jim Wilson  <wilson@cygnus.com>
13066
13067         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
13068         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
13069         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
13070         to GNU as.
13071
13072 2000-08-14  Richard Henderson  <rth@cygnus.com>
13073
13074         * expr.c (emit_group_load): Don't force constants into registers.
13075         Special case source already in the correct mode.
13076
13077 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
13078
13079         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
13080         * fixinc/inclhack.def: Likewise.
13081         * fixinc/mkfixinc.sh: Likewise.
13082         * configure: Regenerate.
13083         * fixinc/fixincl.x: Regenerate.
13084         * install.texi: Document equivalence of linux and linux-gnu.
13085
13086 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13087
13088         * cse.c (insert_regs): Also in REG case: When finding an invalid
13089         value, and we make a new quantity, make sure that it won't be
13090         mistaken by for a valid one by mention_regs.
13091
13092 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
13093
13094         * h8300.md: Remove obsolete peepholes.
13095
13096 2000-08-13  Kazu Hirata  <kazu@hxi.com>
13097
13098         * invoke.texi (H8/300 Options): Fix typos.
13099         * config/h8300.c: Fix formatting.
13100         * config/h8300.h: Fix comment typos.
13101         (OVERRIDE_OPTIONS): Fix formatting.
13102
13103         * function.c: Fix formatting.
13104
13105         * cse.c: Fix formatting.
13106
13107 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
13108
13109         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
13110         (attempt_auto_inc): Suppress parentheses warning.
13111         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
13112         * loop.c (load_mems): Remove `u' suffix in two places.
13113         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
13114         hex constants.
13115         * config/rs6000/rs6000.h: Likewise.
13116         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
13117         __eabi dummy routine.
13118         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
13119         variable `buf_ptr'.
13120
13121         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
13122         not put stuff in .sdata unnecessarily.
13123         (rs6000_unique_section): New function.
13124         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
13125         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
13126
13127         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
13128         arrays in C99.  Don't try to look at DECL_REGISTER of a
13129         COMPONENT_REF.  Don't complain twice about the same error.
13130
13131         * fixinc/inclhack.def (aix_pthread): New fix.
13132         (aix_sysmachine): New fix.
13133         * fixinc/fixincl.x: Regenerate.
13134
13135         * expr.c (expand_expr): Call convert_modes when turning a large
13136         multiply into a small one.
13137
13138 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
13139
13140         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
13141         the tree structure an exponent rather than an explicit alignment
13142         so it doesn't overflow.
13143         (SET_DECL_OFFSET_ALIGN): New macro.
13144         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
13145         rather than DECL_OFFSET_ALIGN.
13146         (place_field): Likewise.
13147         * expmed.c (store_bit_field): Abort on align==0 to avoid
13148         antisocial machine behaviour.
13149
13150 2000-08-12  Richard Henderson  <rth@cygnus.com>
13151
13152         * sibcall.c (uses_addressof): Accept both addressof and
13153         current_function_internal_arg_pointer inside a mem.
13154         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
13155         if current_function_uses_addressof.
13156         * stmt.c (expand_return): Kill tail recursion and HAVE_return
13157         optimizations.
13158
13159 2000-08-11  Richard Henderson  <rth@cygnus.com>
13160
13161         * config/ia64/ia64.md (addsi3): Remove expander.
13162         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
13163         (*addsi3_shladd): New.
13164
13165 2000-08-11  Richard Henderson  <rth@cygnus.com>
13166
13167         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
13168         (do_restore): Likewise.
13169         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
13170         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
13171         (rtx_needs_barrier): Track actual bit manipulation for
13172         ar.unat moves, gr_spill, and gr_restore.
13173         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
13174         (process_set): Don't handle varargs spills.
13175         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
13176         .mem.offset here instead of in process_set.
13177         (gr_restore): Likewise.
13178
13179 2000-08-11  Richard Henderson  <rth@cygnus.com>
13180
13181         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
13182
13183 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
13184
13185         * gcc.texi (The Configuration File): Document
13186         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
13187         UPDATE_PATH_HOST_CANONICALIZATION.
13188
13189 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13190
13191         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
13192         unprototyped function pointer casts on integer constants.
13193
13194 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
13195
13196         * fixproto: Recognize DOS paths with drive letters as absolute paths.
13197
13198 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
13199
13200         * extend.texi (Volatiles): Fix typos.
13201
13202 2000-08-11  Kazu Hirata  <kazu@hxi.com>
13203
13204         * flow.c: Fix formatting.
13205
13206 2000-08-11  Richard Henderson  <rth@cygnus.com>
13207
13208         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
13209         pattern, always allocate a tertiary scratch register.
13210
13211         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
13212         (reload_inhi): Likewise.
13213
13214 2000-08-11  Richard Henderson  <rth@cygnus.com>
13215
13216         * function.c (put_reg_into_stack): Allow type to be NULL.
13217         (schedule_fixup_var_refs): Likewise.
13218         (gen_mem_addressof): Allow decl to be NULL.
13219         (put_addressof_into_stack): Likewise.
13220
13221         * flow.c (merge_blocks_nomove): Be more careful about
13222         locating the beginning of block A.
13223
13224         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
13225
13226 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13227
13228         * configure.in:
13229         * configure:
13230         * gthr-posix.h:
13231         * config.in: Reverted the check for <sched.h>.
13232
13233 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
13234
13235         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
13236         macros define the name of CTOR and DTOR sections.
13237         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
13238         DTOR_LIST_END): Change to use attributes to specify
13239         sections.
13240         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
13241         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
13242         DTOR_LIST_END): Same as in mips/elf.h.
13243
13244 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
13245
13246         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
13247         disabling just crt0.o.
13248
13249 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
13250
13251         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
13252         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
13253         (EXTRA_SPECS): Add them.
13254         * arm/lib1funcs.asm: Support builds for interworking.
13255         Use macros to eliminate duplicated pieces of code.
13256
13257 2000-08-10  Kazu Hirata  <kazu@hxi.com>
13258
13259         * h8300.c (expand_a_rotate): New.
13260         (emit_a_rotate): Likewise.
13261         (h8300_adjust_insn_length): Add support for the rotate insns.
13262         * h8300.md (rotlqi3): New.
13263         (*rotlqi3_1): Likewise.
13264         (rotlhi3): Likewise.
13265         (*rotlhi3_1): Likewise.
13266         (rotlhi3): Likewise.
13267         (*rotlhi3_1): Likewise.
13268         * h8300-proto.h: Add prototypes for expand_a_rotate and
13269         emit_a_rotate.
13270
13271         * h8300.c: Fix comment typos.
13272         (dosize): Declare the variable amount as unsigned.
13273         (get_shift_alg): Fix a comparison between signed and unsigned.
13274         (emit_a_shift): Likewise.
13275         (h8300_adjust_insn_length): Simplify the code.
13276
13277         * c-decl.c: Fix formatting.
13278
13279 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13280
13281         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
13282         warning about non-traditional numeric constant suffixes.
13283
13284         * cppexp.c (parse_number): Likewise.
13285
13286         * invoke.texi: (-Wtraditional): Document new behavior.
13287
13288 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13289
13290         * gthr-posix.h: Include auto-host.h. Conditionally include
13291         <sched.h>.
13292         * configure.in: Check for the <sched.h> header file.
13293         * config.in: Added define for HAVE_SCHED_H.
13294
13295 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13296
13297         * c-typeck.c (process_init_element): For -Wtraditional, warn about
13298         initialization of unions.
13299
13300         * invoke.texi (-Wtraditional): Document new behavior.
13301
13302 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
13303
13304         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
13305         instead of extra_c_flags.
13306         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
13307         * configure: Regenerate.
13308         * config.in: Regenerate.
13309
13310         * cpperror.c (cpp_type2name): New function.
13311         * cpplex.c (lex_line): If we issued an error for an invalid
13312         preprocessing directive, discard that logical line.
13313         * cpplib.c (do_line): Call a hook function if the current file
13314         is renamed by #line.
13315         (do_ident): Pass the contents of the string, not the entire
13316         token, to the callback function.
13317         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
13318         (cb.rename_file): New hook function.
13319         (cb.ident): Adjust prototype.
13320         (cpp_type2name): Prototype.
13321         * cppmacro.c (dump_macro_args): Correct precedence lossage.
13322
13323         * cppmain.c (cb_ident): Update for changed interface.
13324         (cb_rename_file): New function.
13325         (main): Set rename callback.
13326
13327 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
13328
13329         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
13330         multi-word registers.
13331
13332 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13333
13334         * c-common.c (combine_strings, check_format_info): Refer to ISO C
13335         or ISO C89 instead of ANSI C.
13336         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
13337         build_enumerator, do_case): Likewise.
13338         * c-lex.c (parse_float, yylex): Likewise.
13339         * c-parse.in: Likewise.
13340         * c-typeck.c (common_type, build_array_ref, build_binary_op,
13341         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
13342         build_c_cast, convert_for_assignment, set_init_index,
13343         set_init_label, c_expand_start_case): Likewise.
13344         * toplev.c (documented_lang_options, display_help): Likewise.
13345
13346 2000-08-08  Kazu Hirata  <kazu@hxi.com>
13347
13348         * h8300.c: Fix formatting.
13349         * h8300.h: Likewise.
13350         * h8300.md: Likewise.
13351         (movsi_h8300hs): Fix formatting of the resulting assembly code.
13352
13353         * reload1.c: Fix formatting.
13354
13355 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
13356
13357         * alpha/alpha.c (alpha_emit_xfloating_libcall):
13358         Use GEN_CALL_VALUE define.
13359         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
13360         * clipper/clipper.md (untyped_call): Likewise.
13361         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
13362         * fx80/fx80.md (untyped_call): Likewise.
13363         * mips/mips.md (untyped_call): Likewise.
13364         * ns32k/ns32k.md (untyped_call): Likewise.
13365         * pa/pa.md (untyped_call): Likewise.
13366         * romp/romp.md (untyped_call): Likewise.
13367         * sparc/sparc.md (untyped_call): Likewise.
13368
13369 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
13370
13371         * config/i860/i860.c (singlemove_string): Do not generate assembler
13372         pseudo instructions that must be expanded (that is, with signed
13373         constants larger than 16 bits).
13374
13375 2000-08-08  Richard Henderson  <rth@cygnus.com>
13376
13377         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
13378         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
13379         (init_propagate_block_info): Don't kill memory stores at -O0.
13380         (mark_set_1, mark_used_regs): Likewise.
13381
13382 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
13383
13384         * rs6000.c (optimization_options): Decorate 'level' as
13385         ATTRIBUTE_UNUSED.
13386         (mask64_operand): Remove sign-extend thinko.
13387         (rldic_operand): New function.
13388         (load_multiple_operation): regno's are unsigned ints.
13389         (store_multiple_operation): Likewise.
13390         (lmw_operation): Likewise.
13391         (stmw_operation): Likewise.
13392         (includes_lshift_p): shift_mask is unsigned int.
13393         (includes_lshift64_p): New function.
13394         (addrs_ok_for_quad_peep): unsigned int reg1.
13395         (print_operand): Consistently add "else" after
13396         output_operand_lossage().
13397         (print_operand, case 'b'): Fold in case 'W'.
13398         (print_operand, case 'W'): Print rldic MB value.
13399         (output_epilogue): Update Objective-C language string.
13400         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
13401         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
13402         * rs6000.md (ashldi3): Add rldic instruction.
13403         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
13404         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
13405         modifier.
13406
13407 2000-08-08  Richard Henderson  <rth@cygnus.com>
13408
13409         * config/ia64/ia64-protos.h: Remove duplicates.  Update
13410         for massive code rearrangements.
13411         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
13412         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
13413         (ia64_local_regs, ia64_need_regstk): Remove.
13414         (ar_ccv_reg_operand): New.
13415         (ia64_gp_save_reg): New.
13416         (struct ia64_frame_info): Combine most of the size elements;
13417         add new gr save elements.
13418         (find_gr_spill): New.
13419         (next_scratch_gr_reg): New.
13420         (mark_reg_gr_used_mask): New.
13421         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
13422         to GR backing store regs when possible.
13423         (ia64_initial_elimination_offset): New.
13424         (ia64_rap_fp_offset): Remove.
13425         (save_restore_insns): Remove.
13426         (setup_spill_pointers): New.
13427         (finish_spill_pointers): New.
13428         (spill_restore_mem): New.
13429         (do_spill, do_restore): New.
13430         (ia64_expand_prologue): Rewrite to use them.
13431         (ia64_expand_epilogue): Likewise.
13432         (ia64_direct_return): Update for current_frame_info changes.
13433         (ia64_function_prologue): Simplify .prologue emission.  Emit
13434         .spill when needed.
13435         (ia64_setup_incoming_varargs): Don't ever emit rtl.
13436         (ia64_dbx_register_number): New.
13437         (ia64_initialize_trampoline): New.
13438         (ia64_secondary_reload_class): Request GR_REGS for integer
13439         arithmetic destined for FR_REGS.
13440         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
13441         (ia64_mark_machine_status): Mark ia64_gp_save.
13442         (rws_access_regno): Rename from rws_access_reg; don't treat
13443         predicates specially.
13444         (rws_access_reg): New.  Update all callers.
13445         (rtx_needs_barrier): Remove dead unspecs.
13446         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
13447         (ia64_encode_section_info): Silence signed/unsigned warnings.
13448         (spill_offset, sp_offset, spill_offset_emitted): Remove.
13449         (tmp_reg, tmp_saved): Remove.
13450         (process_set): Rewrite to expect complicated bits via
13451         REG_FRAME_RELATED_EXPR.
13452         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
13453         in the use of ar.ccv; never set RTX_UNCHANGING_P.
13454         (ia64_expand_op_and_fetch): Likewise.
13455         (ia64_expand_compare_and_swap): Likewise.
13456         (ia64_expand_builtin): Likewise.
13457         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
13458         (FIRST_PSEUDO_REGISTER): Update.
13459         (AR_M_REGNO_P): Update.
13460         (FIXED_REGS): Don't mark three local registers as used.
13461         (EXTRA_CC_MODES): New.
13462         (SELECT_CC_MODE): New.
13463         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
13464         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
13465         (FRAME_GROWS_DOWNWARD): Unset.
13466         (STARTING_FRAME_OFFSET): Zero.
13467         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
13468         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
13469         (HARD_FRAME_POINTER_REGNUM): New.
13470         (CAN_DEBUG_WITHOUT_FP): Define.
13471         (TRAMPOLINE_TEMPLATE): Remove.
13472         (TRAMPOLINE_SIZE): Lower to 32.
13473         (TRAMPOLINE_ALIGNMENT): Lower to 64.
13474         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
13475         (PREDICATE_CODES): Update.
13476         (struct machine_function): Add ia64_gp_save.
13477         * config/ia64/ia64.md: Purge unused unspecs.
13478         (movsi patterns): Allow moves to/from AR_M_REGS.
13479         (movdi patterns): Allow moves to/from p0.
13480         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
13481         (gr_spill, gr_restore): Indicate ar.unat read/written.
13482         (nonlocal_goto): Don't pass old frame_pointer.
13483         (nonlocal_goto_receiver): Remove.
13484         (exception_receiver): New.
13485         (builtin_setjmp_setup): New.
13486         (builtin_setjmp_receiver): New.
13487         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
13488         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
13489         (__ia64_restore_stack_nonlocal): Likewise.
13490         (__ia64_trampoline): New.
13491         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
13492         function.
13493         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
13494
13495 2000-08-08  Richard Henderson  <rth@cygnus.com>
13496
13497         * frame.h (ia64_frame_state): Add my_psp.
13498         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
13499         (__throw): Pass it in.  Don't clobber r7.
13500         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
13501         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
13502         and nothing to do with sp.
13503         (normalize_reg_loc): Use frame->my_psp.
13504         (frame_translate): Handle frame-pointer-less functions.  Set
13505         spill_base correctly, in absence of being told.
13506         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
13507         (__ia64_backtrace_helper): New sp argument.  Use
13508         builtin_return_address instead of label addresses.
13509         (print_record) [mem_stack_v]: No size member.
13510
13511 2000-08-08  Richard Henderson  <rth@cygnus.com>
13512
13513         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
13514
13515 2000-08-08  Richard Henderson  <rth@cygnus.com>
13516
13517         * tm.texi (LOCAL_REGNO): Document.
13518         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
13519         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
13520         * reload1.c (reload): Likewise when considering nonlocal labels.
13521
13522         * config/ia64/ia64.h (LOCAL_REGNO): New.
13523         * config/sparc/sparc.h (LOCAL_REGNO): New.
13524
13525 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13526
13527         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
13528
13529 2000-08-07  Nick Clifton  <nickc@redhat.com>
13530
13531         * config/mips/mips.c: Fix compile time warning messages.
13532         * config/mips/mips-protos.h: Add prototype for equality_op.
13533
13534         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
13535
13536 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
13537
13538         * mn10300.md: Use nonimmediate_operand instead of general_operand
13539         on output operands.
13540
13541         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
13542
13543 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
13544
13545         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
13546         * sh.c (expand_block_move): Break long lines.
13547         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
13548         * sh.md (mulsi3): Likewise.
13549         (movdi): Adjust spacing.
13550
13551 2000-08-07  Richard Henderson  <rth@cygnus.com>
13552
13553         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
13554         * expr.c (emit_group_store): Don't set it.
13555
13556 2000-08-07  Kazu Hirata  <kazu@hxi.com>
13557
13558         * invoke.texi (Options for Debugging Your Program or GCC): Remove
13559         duplicate entries for 'w' and 'z'.
13560
13561         * flow.c: Fix a comment typo.
13562
13563 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13564
13565         * c-parse.in: Changed the language string for Objective-C to "GNU
13566         Objective-C".
13567
13568 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13569
13570         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
13571         to improve the Posix thread support for Objective-C.
13572
13573 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
13574
13575         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
13576         CTI_UNSIGNED_PTRDIFF_TYPE.
13577         (signed_size_type_node): Define.
13578         (unsigned_ptrdiff_type_node): Define.
13579         * c-decl.c (init_decl_processing): Create the
13580         signed_size_type_node and unsigned_ptrdiff_type_node types.
13581         * c-common.c (T_SC): Define.
13582         (T_SST): Define.
13583         (T_UPD): Define.
13584         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
13585         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
13586         %s and %p.
13587         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
13588         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
13589         flags for %c, %s and %[.
13590         (check_format_info): Only allow leniency for signedness of targets
13591         of character pointers (when pedantic) for formats flagged with
13592         "c", so for strings but not for %hh formats.  When pedantic, don't
13593         allow character pointers to substitute for void pointers if a
13594         second level of indirection is present.
13595
13596 2000-08-06  Kazu Hirata  <kazu@hxi.com>
13597
13598         * invoke.texi (Options for Debugging Your Program or GCC): Update
13599         the names of dump files.
13600
13601         * h8300.c (dosize): Rearrange code for conciseness.
13602         (split_adds_subs): Likewise.
13603
13604         * loop.c: Fix formatting.
13605
13606         * dwarf2out.c: Fix formatting.
13607
13608         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
13609
13610         * expr.c: Fix formatting.
13611
13612 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13613
13614         * rs6000.c (rs6000_maybe_dead): Prototype.
13615
13616 2000-08-06  Richard Henderson  <rth@cygnus.com>
13617
13618         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
13619         HAVE_nonlocal_goto as well.
13620         * config/i960/i960.md (nonlocal_goto): Don't do it here.
13621         * config/pj/pj.md (nonlocal_goto): Likewise.
13622
13623 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
13624
13625         * loop.c (try_swap_copy_prop): New function.
13626         (load_mems): Rename copies to load_copies and add new regset
13627         store_copies.  Check for sets of shadow registers and mark
13628         in store_copies.   Call try_swap_copy_prop for registers
13629         marked in store_copies.
13630
13631 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13632
13633         * objc/objc-act.c: New command line option -fconstant-string-class
13634         to allow specifying a user defined constant string class,
13635         different from NXConstantString.
13636
13637         * toplev.c: Moved the Objective-C specific options to
13638         objc/lang-options.h.
13639
13640         * objc/lang-options.h: Moved the Objective-C specific options from
13641         toplev.c. Added -fconstant-string-class.
13642
13643 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
13644
13645         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
13646         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
13647         __CTOR_LIST__ from func_ptr array to just func_ptr, to
13648         avoid extra alignment imposed on arrays.
13649         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
13650         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
13651
13652         * mips.h: Clean up comments and spacing near MASKs.
13653         (TARGET_UNIX_ASM): Delete.
13654         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
13655         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
13656         values contiguous.
13657
13658 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
13659
13660         * c-common.c (print_char_table): Add entries for the X/Open '
13661         format flag (print decimals with locale's thousands grouping
13662         character).  Make %C expect wint_t.
13663         (check_format_info): If pedantic, warn when the %n$ operand
13664         number form is used.  Allow for the ' flag; warn about it if
13665         pedantic.
13666
13667 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
13668
13669         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
13670         type is a float mode, cfun->decl's return type is not, and
13671         TARGET_FLOAT_RETURNS_IN_80387.
13672
13673 2000-08-04  Andreas Schwab  <schwab@suse.de>
13674
13675         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
13676         token list, which are always `#' and `pragma'.
13677
13678 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
13679
13680         * tree.c (tree_expr_nonnegative_p): Move to...
13681         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
13682         (rtl_expr_nonnegative_p): New.
13683         * tree.h: Add prototype for rtl_expr_nonnegative_p.
13684
13685         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
13686         CONST_DOUBLE_CHAIN: Move to...
13687         * rtl.h: ...here.  Use XCINT/XCEXP.
13688
13689         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
13690         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
13691         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
13692         to VOL_FILES.
13693
13694         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
13695
13696 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13697
13698         * config/c4x/c4x.md (return_indirect_internal): New.
13699         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
13700
13701 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13702
13703         * c-common.c (time_char_table): Mark up formats added in C99 and
13704         make other corrections.  %D and %g were added in C99.  %Og is an
13705         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
13706         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
13707         C99 rather than GNU extensions, but %OG and %Oz are extensions.
13708         %h was added in C99.  %C was added in C99.  %OY and %OC are
13709         extensions.  Add the C99 format %F.
13710         (check_format_info): If pedantic and not in C99 mode, warn for C99
13711         formats, %E and %O.
13712
13713 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13714
13715         * function.c (schedule_fixup_var_refs): New function, broken out
13716         of put_reg_into_stack.
13717         (put_reg_into_stack): Use it.
13718         (put_var_into_stack): In CONCAT case, fixup up references for
13719         components only after fixing up references to the whole concat.
13720
13721 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
13722
13723         * alias.c (mark_constant_function): Use INSN_P.
13724         (init_alias_analysis): Likewise.
13725         * combine.c (combine_instructions): Use INSN_P.
13726         (can_combine_p): Likewise.
13727         (try_combine): Likewise.
13728         (distribute_notes): Likewise.
13729         (distribute_links): Likewise.
13730         * cse.c (cse_around_loop): Use INSN_P.
13731         (invalidate_skipped_block): Likewise.
13732         (cse_set_around_loop): Likewise.
13733         (cse_end_of_basic_block): Likewise.
13734         (delete_trivially_dead_insns): Likewise.
13735         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
13736         (unshare_all_rtl_1): Likewise.
13737         (next_cc0_user): Likewise.
13738         (try_split make_insn_raw): Likewise.
13739         (remove_unnecessary_notes): Likewise.
13740         * final.c (shorten_branches): Use INSN_P.
13741         (leaf_renumber_regs): Likewise.
13742         (leaf_renumber_regs_insn): Likewise.
13743         * flow.c (find_label_refs): Use INSN_P.
13744         (verify_wide_reg): Likewise.
13745         (notice_stack_pointer_modification): Likewise.
13746         (count_or_remove_death_notes): Likewise.
13747         (verify_flow_info): Likewise.
13748         (clear_log_links): Likewise.
13749         * function.c (fixup_var_refs_insns): Use INSN_P.
13750         (compute_insns_for_mem): Likewise.
13751         * gcse.c (alloc_gcse_mem): Use INSN_P.
13752         (compute_sets): Likewise.
13753         (compute_hash_table): Likewise.
13754         (classic_gcse): Likewise.
13755         (cprop): Likewise.
13756         (insert_insn_end_bb): Likewise.
13757         (delete_null_pointer_checks_1): Likewise.
13758         * global.c (expand_preferences): Use INSN_P.
13759         (build_insn_chain): Likewise.
13760         * graph.c (node_data): Use INSN_P.
13761         * haifa-sched.c (priority): Use INSN_P.
13762         (rm_line_notes): Likewise.
13763         (rm_other_notes): Likewise.
13764         (find_insn_reg_weight): Likewise.
13765         (init_target_units): Likewise.
13766         (schedule_block): Likewise.
13767         (compute_block_forward_dependences): Likewise.
13768         (debug_dependencies): Likewise.
13769         (set_priorities): Likewise.
13770         * integrate.c (function_cannot_inline_p): Use INSN_P.
13771         (save_parm_insns): Likewise.
13772         (copy_insn_list): Likewise.
13773         * jump.c (mark_all_labels): Use INSN_P.
13774         (never_reached_warning): Likewise.
13775         * lcm.c (optimize_mode_switching): Use INSN_P.
13776         * local-alloc.c (validate_equiv_mem): Use INSN_P.
13777         (memref_used_between_p): Likewise.
13778         (update_equiv_regs): Likewise.
13779         (block_alloc): Likewise.
13780         (no_conflict_p): Likewise.
13781         * loop.c (scan_loop): Use INSN_P.
13782         (find_and_verify_loops): Likewise.
13783         (count_loop_regs_set): Likewise.
13784         (loop_reg_used_before_p): Likewise.
13785         (strength_reduce): Likewise.
13786         (recombine_givs): Likewise.
13787         (check_dbra_loop): Likewise.
13788         (load_mems): Likewise.
13789         (try_copy_prop): Likewise.
13790         * print-rtl.c (print_rtx): Use INSN_P.
13791         * recog.c (find_single_use): Use INSN_P.
13792         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
13793         (next_flags_user): Likewise.
13794         (swap_rtx_condition): Likewise.
13795         * regmove.c (mark_flags_life_zones): Use INSN_P.
13796         (optimize_reg_copy_1): Likewise.
13797         (optimize_reg_copy_2): Likewise.
13798         (optimize_reg_copy_3): Likewise.
13799         (reg_is_remote_constant_p): Likewise.
13800         (fixup_match_2): Likewise.
13801         (regmove_optimize): Likewise.
13802         (fixup_match_1): Likewise.
13803         * regrename.c (build_def_use): Use INSN_P.
13804         (replace_reg_in_block): Likewise.
13805         (consider_use): Likewise.
13806         * reload.c (find_equiv_reg): Use INSN_P.
13807         * reload1.c (reload): Use INSN_P.
13808         (maybe_fix_stack_asms): Likewise.
13809         (calculate_needs_all_insns): Likewise.
13810         (reload_as_needed): Likewise.
13811         (emit_output_reload_insns): Likewise.
13812         (delete_address_reloads_1): Likewise.
13813         (reload_cse_regs_1): Likewise.
13814         (reload_combine): Likewise.
13815         (reload_cse_move2add): Likewise.
13816         * reorg.c (redundant_insn): Use INSN_P.
13817         (dbr_schedule): Likewise.
13818         * resource.c (find_dead_or_set_registers): Use INSN_P.
13819         (mark_target_live_regs): Likewise.
13820         * rtlanal.c (reg_used_between_p): Use INSN_P.
13821         (reg_referenced_between_p): Likewise.
13822         (reg_set_between_p): Likewise.
13823         (reg_set_p): Likewise.
13824         (single_set): Likewise.
13825         (multiple_sets): Likewise.
13826         (find_last_value): Likewise.
13827         (reg_set_last): Likewise.
13828         (find_reg_note): Likewise.
13829         (find_regno_note): Likewise.
13830         * sibcall.c (sequence_uses_addressof): Use INSN_P.
13831         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
13832         * ssa.c (find_evaluations): Use INSN_P.
13833         (rename_block): Likewise.
13834         (rename_equivalent_regs): Likewise.
13835         * unroll.c (loop_find_equiv_value): Use INSN_P.
13836         (set_dominates_use): Likewise.
13837         * varasm.c (mark_constant_pool): Use INSN_P.
13838         (mark_constants): Likewise.
13839         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
13840         (alphaev4_next_group): Likewise.
13841         (alphaev5_next_group): Likewise.
13842         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
13843         (c4x_rptb_rpts_p): Likewise.
13844         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
13845         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
13846         (rs6000_adjust_priority): Likewise.
13847         * config/sh/sh.c (sh_loop_align): Use INSN_P.
13848         (machine_dependent_reorg): Likewise.
13849         (split_branches): Likewise.
13850         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
13851
13852 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
13853
13854         * combine.c (recog_for_combine): Remove the old notes
13855         prior to attempting to recognize the new pattern.
13856         (distribute_notes): Ignore REG_NONNEG notes.
13857
13858 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
13859
13860         * varasm.c (output_constructor): Add .align 0 for packed vars.
13861
13862 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
13863
13864         * configure.in: Use default thread_file even when enable_threads is
13865         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
13866         * configure: Rebuilt.
13867
13868         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
13869
13870 2000-08-04  Donn Terry (donnte@microsoft.com)
13871
13872         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
13873
13874 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
13875
13876         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
13877         Delete code that conditionally modifies 'version'.
13878         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
13879         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
13880         * gcc.c (main): Use it.
13881         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
13882         * prefix.c (update_path): Use it.
13883         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
13884         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
13885         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
13886         code.
13887         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
13888         (SUBTARGET_SWITCHES): Adjust.
13889         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
13890         defining.
13891         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
13892
13893 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13894
13895         * c-common.h (flag_isoc94): Declare.
13896         * c-decl.c (flag_isoc94): Define.
13897         (c_decode_option): Set flag_isoc94 as appropriate.
13898         * c-common.c (T_PD, T_IM, T_UIM): Define.
13899         (format_char_info): Add tlen and jlen.
13900         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
13901         %F.  Allow %lf.
13902         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
13903         %l[.
13904         (time_char_table): Add NULL entries for %t and %j.
13905         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
13906         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
13907         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
13908         precision.  Allow precision argument to be unsigned int.  If
13909         pedantic, warn for %p passed an argument not a pointer to possibly
13910         qualified void or a possibly qualified character type, and for
13911         pointer targets of the wrong sign, except for character pointers.
13912
13913 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13914
13915         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
13916         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
13917         (wint_type_node): Define.
13918         * c-decl.c (WINT_TYPE): Define.
13919         (init_decl_processing): Create the wint_type_node type.
13920         * c-common.c (T_WI): Define.
13921         (print_char_table): Use T_WI for %lc format.
13922
13923 2000-08-04  Bruce Korb  <bkorb@gnu.org>
13924
13925         * fixinc/:  Verified that the MSDOS patch does not break
13926         the UNIX functionality and applied the next three patches
13927         from July:
13928
13929 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
13930
13931         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
13932         output file with the temporary one by appending ".X" to generate
13933         the temporary fuile's name.  If the output file already has an
13934         extension, replace it with ".X".
13935
13936         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
13937         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
13938         reallocate the command buffer while copying the command-line
13939         argument.  Redirect the output directly to the temporary file,
13940         instead of going through another temporary file.
13941         (process): Close the temporary file before unlinking it.
13942         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
13943         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
13944         (run_compiles): Pass p_fixd argument to machine_matches, as it
13945         expects.
13946
13947         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
13948         environment, assume there are no symlinks in the include
13949         directory.  When cleaning up the DONE files, look for them
13950         case-insensitively.  Don't try to remove symlinks if they aren't
13951         there.
13952
13953         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
13954         all callers changed.  Declare pz "const char *", to avoid compiler
13955         warnings.
13956
13957         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
13958         Change prototype of make_raw_shell_str.
13959
13960 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
13961
13962         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
13963         (initialize) [__MSDOS__]: Use tempnam.
13964         (initialize): Don't use SIGPIPE if it is not defined.
13965
13966         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
13967         return stdout.
13968
13969 2000-07-25  Bruce Korb  <bkorb@gnu.org>
13970
13971         * fixinc/fix*.[ch]: substantially reworked to make it possible
13972         to run this program without using fork(2) or pipe(2) (i.e. in
13973         a DOS environment).
13974
13975 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13976
13977         * cppdefault.h (WINT_TYPE): Define.
13978         * cppinit.c (builtin_array): Define __WINT_TYPE__.
13979         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
13980         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
13981
13982 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
13983
13984         * (mips_legitimate_address_p): Don't allow register+offset
13985         if the offset is large and negative, and we are compiling
13986         for 64 bit registers.
13987
13988 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13989
13990         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
13991         insn_code_number + 1.
13992
13993 2000-08-04  Kazu Hirata  <kazu@hxi.com>
13994
13995         * h8300.c (function_prologue): Rearrange code for conciseness.
13996         (function_epilogue): Likewise.
13997         * h8300.h (OK_FOR_U): Fix formatting.
13998
13999         * cse.c: Fix a comment typo. Fix formatting.
14000
14001 2000-08-03  Richard Henderson  <rth@cygnus.com>
14002
14003         * config/i386/i386.md (return_indirect_internal): New.
14004         * config/i386/i386.c (ix86_expand_epilogue): Use it.
14005
14006 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
14007
14008         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
14009         before the name.
14010         (lex_line): Glue @ onto the beginning of identifiers and
14011         string constants, in Objective-C mode.
14012         (output_token, spell_token): Handle CPP_OSTRING.
14013         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
14014         beginning of a NAME or a STRING, in objc mode.
14015
14016         * cpplib.c (get_define_node): Do not permit identifiers that
14017         begin with @ to be #defined.
14018         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
14019         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
14020
14021         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
14022         * c-tree.h (build_objc_string): Delete prototype.
14023         * objc/objc-tree.def: Delete OBJC_STRING_CST.
14024         * c-lex.c (yylex): Use build_string for all three kinds of strings.
14025
14026         * c-parse.in, objc/objc-act.c: Update commentary.
14027
14028 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
14029
14030         * extend.texi: Fix typo in last change.
14031
14032         * extend.texi: Add commentary on statement-expressions and their
14033         interactions with C++.
14034
14035 2000-08-03  Nick Clifton  <nickc@cygnus.com>
14036
14037         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
14038         * dwarf.h (LANG_JAVA): Change value to 0x000b.
14039
14040 2000-08-03  Anthony Green  <green@cygnus.com>
14041
14042         * dwarf2out.c (gen_compile_unit_die): Add java language support.
14043         (add_bound_info): Check for java language.
14044         (is_java): New function.
14045         * dwarfout.c (output_compile_unit_die): Ditto.
14046         * dwarf.h (dwarf_source_language): Add java source language type.
14047         * dwarf2.h (dwarf_source_language): Ditto.
14048
14049 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14050
14051         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
14052         operands.
14053
14054         * i386.c (ix86_expand_branch): Mode of comparison in
14055         IF_THEN_ELSE is VOIDmode.
14056
14057 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
14058
14059         * gengenrtl.c, rtl.c: Avoid #elif.
14060
14061 2000-08-03  Michael Poole  <poole@troilus.org>
14062
14063         * tm.texi (Register Classes): Clarify order of sub-initializers
14064         in REG_CLASS_CONTENTS.
14065
14066 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14067
14068         From SAITOH Masanobu:
14069         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
14070
14071 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
14072
14073         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
14074         is not supported by tradcpp and isn't actually needed for cygwin.
14075
14076 2000-08-03  Kazu Hirata  <kazu@hxi.com>
14077
14078         * h8300.c: Fix a comment typo.
14079         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
14080
14081         * jump.c: Fix formatting.
14082
14083         * toplev.c: Fix formatting.
14084
14085 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
14086
14087         * flow.c (find_auto_inc): Verify that we've got a REG before
14088         peeking at its regno.  Fail, don't abort if we can't find
14089         the increment of the desired register.
14090
14091         * pa.md (shadd height reduction patterns/splitters): Remove.
14092
14093 2000-08-02  Jim Wilson  <wilson@cygnus.com>
14094
14095         * config/ia64/ia64-protos.h (flag_ssa): Declare.
14096         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
14097
14098 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
14099
14100         * dce.c: Remove all uses of assert.
14101         * dwarf2out.c: Likewise.
14102         * dwarfout.c: Likewise.
14103         * ssa.c: Likewise.
14104
14105 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
14106
14107         * gcc.h (lang_specific_driver): Constify second argument.
14108         * gcc.c (translate_options, process_command, main): Likewise.
14109         Constify variables to match.  Cast second argument to
14110         pexecute.
14111
14112         * cppspec.c, gccspec.c: Adjust type of second argument to
14113         lang_specific_driver, and update code as necessary.
14114
14115 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
14116
14117         * loop.c (scan_loop): Ensure update_end label does not
14118         go away until reg_scan_update is run.
14119
14120 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
14121
14122         * c-common.h: Prototype min_precision and c_build_qualified_type here...
14123         * c-tree.h: ... not here.
14124         * errors.h: Prototype fancy_abort.
14125
14126         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
14127         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
14128         * regrename.c (regrename_optimize): Make control flow explicit.
14129         (replace_reg_in_block): Initialize reg_use to 0.
14130
14131         * i386.c (legitimate_address_p): Rename error label to
14132         report_error to avoid namespace clash.
14133
14134 2000-08-02  Kazu Hirata  <kazu@hxi.com>
14135
14136         * fold-const.c: Fix formatting.
14137
14138 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14139
14140         * i386.c (legitimate_address_p): Accept other bases than
14141         pic_offset_table_rtx for GOTOFF constructs.
14142
14143 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14144
14145         * i386.md (shift to lea splitter): Use const_int_operand.
14146
14147 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
14148
14149         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
14150         cppspec.c: Do not use 'legal' or 'illegal' in error messages
14151         and comments.
14152
14153         * cppmain.c (cb_define, cb_undef): Don't generate any output
14154         if not done_initializing.
14155         * cpplex.c (maybe_paste_with_next): When the token after a ##
14156         is an omitted rest argument, only delete the token before it
14157         if that token is a comma.  Do not warn about bogus token
14158         pastes for , ## rest_arg.
14159
14160         * cpp.texi: Update.
14161         * cpp.1: Regenerate.
14162
14163 2000-08-02  Fred Fish  <fnf@be.com>
14164
14165         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
14166         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
14167         and later.
14168
14169         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
14170         Be directories to search path.
14171
14172         Remove support for __declspec(dllimport) and __declspec(dllexport).
14173         This is leftover cruft from the earlier BeOS gcc port when BeOS
14174         used Microsoft's PE object file format.
14175         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
14176         * config/i386/t-beos (winnt.o): Remove Makefile frag.
14177         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
14178         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
14179         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
14180         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
14181         (REDO_SECTION_INFO_P): Remove.
14182         (ASM_EXPORT_DECL): Remove.
14183         (ASM_DECLARE_FUNCTION_NAME): Remove.
14184         (ASM_DECLARE_OBJECT_NAME): Remove.
14185         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
14186         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
14187         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
14188         (STRIP_NAME_ENCODING): Remove.
14189
14190         Remove support for obsolete version of BeOS that is no longer
14191         supported by Be.
14192         * configure.in (i*86-*-beospe*): Remove.
14193         * config/i386/beos-pe.h: Remove.
14194
14195 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
14196             Mark Mitchell <mark@codesourcery.com>
14197
14198         * Makefile.in (OBJS): Added dce.o.
14199         (ssa.o): Updated target to include ssa.h.
14200         (flow.o): Likewise.
14201         (toplev.o): Likewise.
14202         (dce.o): Created target.
14203         * basic-block.h: Added comments.
14204         (INVALID_BLOCK): Added definition.
14205         (connect_infinite_loops_to_exit): Added declaration.
14206         Moved SSA declarations to ssa.h.
14207         * flow.c: Added inclusion of ssa.h.
14208         (struct depth_first_search_dsS, depth_first_search_ds):
14209         Added definitions.
14210         (compute_immediate_postdominators): Added definition.
14211         (connect_infinite_loops_to_exit): Likewise.
14212         (flow_dfs_compute_reverse_init): Likewise.
14213         (flow_dfs_compute_reverse_add_bb): Likewise.
14214         (flow_dfs_compute_reverse_execute): Likewise.
14215         (flow_dfs_compute_reverse_finish): Likewise.
14216         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
14217         (LABEL_P): Added definition.
14218         (JUMP_P): Likewise.
14219         (NOTE_P): Likewise.
14220         (BARRIER_P): Likewise.
14221         (JUMP_TABLE_DATA_P): Likewise.
14222         (INSN_DEAD_CODE_P): Likewise.
14223         * ssa.c: Replaced inclusions with ssa.h inclusion.
14224         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
14225         (rename_registers): Removed unnecessary variables.
14226         * ssa.h: Created by moving declarations from ssa.c and
14227         basic-block.h.
14228         * timevar.def: Defined TV_DEAD_CODE_ELIM.
14229         * toplev.c: Added ssa.h inclusion.
14230         (dump_file_index): Added DFI_dce.
14231         (dump_file): Added "dce" entry.
14232         Defined flag_ssa.
14233         (f_options): Added dce entry.
14234         * invoke.texi: Document -fdce.  Emphasize experimental status of
14235         -fssa.
14236         * dce.c: New file.
14237
14238 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
14239
14240         * cpperror.c (v_message): Split into _cpp_begin_message and
14241         v_message macro.  All callers updated.
14242         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
14243         checks here.
14244
14245         * cppfiles.c (cpp_syshdr_flags): New function.
14246         (read_include_file): Don't call cpp_output_tokens.  Call
14247         enter_file hook.
14248         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
14249         (cpp_reader_init): Don't initialize token_buffer.  Call
14250         _cpp_init_internal_pragmas.
14251         (cpp_cleanup): Don't clear token_buffer.
14252         (cpp_start_read): Don't worry about output from -D processing.
14253         Don't call cpp_output_tokens.
14254         (cpp_finish): Don't dump macros here.  Don't call
14255         cpp_output_tokens.
14256         * cppmacro.c (_cpp_dump_definition): Rename
14257         cpp_dump_definition.  Write directly to a FILE *.
14258         (dump_funlike_macro): Delete.
14259         (dump_macro_args): New.
14260
14261         * cpplex.c (TOKEN_LEN): Convert to inline function.
14262         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
14263         cpp_scan_line, _cpp_dump_list): Delete.
14264         (cpp_printf, cpp_output_list): New.
14265         (output_line_command): Don't worry about entering or leaving files.
14266         (cpp_scan_buffer): Just output each token as we hit it.
14267         (process_directive): Don't call cpp_output_tokens.
14268         (_cpp_glue_header_name): Don't use token_buffer.
14269         (output_token, dump_param_spelling): Write directly to a FILE *.
14270
14271         * cpplib.c (pass_thru_directive, dump_macro_name,
14272         pragma_dispatch, do_pragma_gcc): Delete.
14273         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
14274         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
14275         functions.
14276         (do_error, do_warning, pragma_dependency): Call
14277         _cpp_begin_message, then cpp_output_list.
14278         (cpp_register_pragma, cpp_register_pragma_space,
14279         _cpp_init_internal_pragmas): New.
14280         (do_pragma): Walk the pragmas table here.
14281         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
14282         do_pragma_dependency): Return void.
14283         (do_pragma_implementation): Moved to cppmain.c.
14284
14285         * cpplib.h: Update prototypes.
14286          (struct cpp_reader): Remove printer, token_buffer,
14287         token_buffer_size, and limit.  Add struct cb, and pragmas.
14288         (struct cpp_printer): Remove last_id and written.
14289         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
14290         CPP_ADJUST_WRITTEN): Delete.
14291         * cpphash.h: Update prototypes.
14292         (ufputs): New wrapper.
14293
14294         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
14295         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
14296         (main): Set up callbacks.  Register #pragma implementation.
14297         Dump macros from here.
14298
14299 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
14300
14301         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
14302         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
14303         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
14304         insns if they have a REG_MAYBE_DEAD note attached.
14305         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
14306         (rs6000_emit_load_toc_table): TOC loads may go dead.
14307
14308 2000-08-01  Jim Wilson  <wilson@cygnus.com>
14309
14310         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
14311         type exists before using it.  Use number of words as alignment
14312         otherwise.
14313         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
14314         ia64_va_arg): Propagate ia64_function_args changes here.
14315
14316 2000-08-01  Richard Henderson  <rth@cygnus.com>
14317
14318         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
14319         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
14320
14321 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
14322
14323         From Joern Rennecke:
14324         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
14325         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
14326         unless TARGET_SH3E is set.
14327         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
14328
14329         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
14330         (ashlsi3_std): New pattern.
14331         (ashlsi3 expander): Use it for TARGET_SH3.
14332         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
14333
14334 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14335
14336         * loop.c (canonicalize_condition):  Use destination, not source to
14337         determine SET's mode.
14338
14339 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
14340
14341         * flow.c (clear_log_links): Fix typo.
14342
14343 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
14344
14345         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
14346         on targets which need more than one insn for a compare/cbranch
14347         operation.
14348
14349 2000-07-31  Jim Wilson  <wilson@cygnus.com>
14350
14351         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
14352         when computing offset.
14353
14354 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
14355
14356         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
14357
14358 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
14359
14360         * flow.c (clear_log_links): Nuke global_live_at_start and
14361         global_live_at_end data, since if the log_links stuff is invalid
14362         so is global_live_at_*.
14363
14364 2000-07-31  Richard Henderson  <rth@cygnus.com>
14365
14366         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
14367
14368 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
14369
14370         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
14371         (_cpp_get_token): Don't macro expand a just pasted token if it
14372         was pasted at no_expand_level.
14373
14374 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
14375
14376         * cppmacro.c (find_param, count_params, save_expansion):
14377         Permit 'defined' as a macro parameter name.
14378
14379 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
14380
14381         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
14382         xcpp to cpp throughout.
14383         (native): Remove unnecessary dependency on cpp.
14384
14385         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
14386         tradcpp to tradcpp0.
14387         (.i spec): Add missing output-file spec to cc1 command line.
14388         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
14389
14390 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
14391
14392         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
14393         (implicit_decl_warning): New function.
14394         (implicitly_declare): Use it.
14395         * c-typeck.c (build_external_ref): Use implicit_decl_warning
14396         to complain about implicit decls of builtins.
14397
14398         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
14399         based on pedantic && flag_isoc99, if not already set.
14400         * c-tree.h: Declare mesg_implicit_function_declaration.
14401         Prototype implicit_decl_warning.
14402
14403 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
14404
14405         * Makefile.in (ssa.o): Updated header files in dependences.
14406         * basic-block.h: Added compute_immediate_postdominators declaration.
14407         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
14408         definition.
14409         * flow.c (compute_immediate_dominators): Updated comment.
14410         (compute_immediate_postdominators): Added definition.
14411         * rtl.h (HARD_REGISTER_P): Added definition.
14412         * ssa.c: Include additional header files.
14413         (assert): Added definition.
14414         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
14415         include select hard registers.
14416         (ssa_rename_to_insert): Likewise.
14417         (ssa_rename_from_initialize): Likewise.
14418         (ssa_rename_from_lookup): Likewise.
14419         (original_register): Likewise.
14420         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
14421         include select hard reigsters.
14422         (ssa_rename_from_traverse): Likewise.
14423         (ssa_rename_from_free): Likewise.
14424         (ssa_rename_from_print): Likewise.
14425         (ssa_rename_from_print_1): Likewise.
14426         (ssa_rename_from_hash_function): Likewise.
14427         (ssa_rename_from_equal): Likewise.
14428         (ssa_rename_from_delete): Likewise.
14429         (simplify_to_immediate_dominators): Removed in favor of
14430         flow.c:compute_immediate_dominators.
14431         (find_evaluations_1): Modified to work with hard registers.
14432         (insert_phi_node): Likewise.
14433         (insert_phi_nodes): Likewise.
14434         (struct rename_set_data): Updated prev_reg comment.
14435         (create_delayed_rename): Modified to work with hard registers.
14436         (RENAME_NO_RTX): Updated comment.
14437         (apply_delayed_renames): Modified to work with hard registers.
14438         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
14439         (rename_block): Updated to use revised ssa_rename_to interface.
14440         (rename_registers): Updated to use revised ssa_rename_to and
14441         ssa_rename_from interface.
14442         (convert_to_ssa): Revised to use compute_immediate_dominators and
14443         deal with hard registers.
14444         (make_regs_equivalent_over_bad_edges): Modified to work with hard
14445         registers.  Added check for illegal unification of hard register.
14446         (make_equivalent_phi_alternatives_equivalent): Modified to work
14447         with hard registers.
14448         (compute_conservative_reg_partition): Likewise.
14449         (coalesce_if_unconflicting): Modified to work with hard registers
14450         and check for conflicting hard registers.
14451         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
14452         registers.
14453         (rename_equivalent_regs_in_insn): Modified to work with hard
14454         registers.
14455         (record_canonical_element_1): Added definition.
14456         (check_hard_regs_in_partition): Added definition.
14457         (convert_from_ssa): Added data structure deallocation and check
14458         for illegal hard register unification.
14459         (conflict_hard_regs_p): Added definition.
14460         * toplev.c (rest_of_compilation): Added comment.
14461
14462 2000-07-31  Anthony Green  <green@redhat.com>
14463
14464         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
14465
14466 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
14467
14468         * builtins.c (expand_builtin_apply): Don't defer pop during
14469         argument setup.
14470
14471 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14472
14473         * calls.c (combine_pending_stack_adjustment_and_call): Only use
14474         preferred_unit_stack_boundary when it is > 1.
14475
14476 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
14477
14478         * c-common.c (init_function_format_info): Add C99 format functions
14479         in C99 mode.
14480
14481         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
14482         void' or 'register void' as being the special case of 'void' alone
14483         in a parameter list.
14484
14485         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
14486         discarding qualifiers into a plain warning.
14487
14488 2000-07-31  Kazu Hirata  <kazu@hxi.com>
14489
14490         * combine.c: Fix formatting.
14491
14492         * h8300.md: Fix formatting.
14493
14494         * local-alloc.c: Fix formatting.
14495
14496         * h8300.c (get_shift_alg): Remove the variable alg.
14497         (emit_a_shift): Rearrange code to improve readability.
14498
14499         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
14500
14501         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
14502         HImode on all architectures and a combination of HImode and SImode
14503         on H8/300H and H8/S.
14504
14505         * h8300.c (split_adds_subs): Rearrange code for conciseness.
14506
14507 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14508
14509         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
14510         in my last checkin.
14511
14512 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14513
14514         * recog.c (extract_insn): Set operand_mode according to
14515         operand if match_operand is VOIDmode.
14516
14517 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14518
14519         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
14520
14521 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
14522
14523         * c-parse.in (extdefs): Call ggc_collect between external
14524         definitions.
14525
14526 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
14527             Richard Henderson  <rth@cygnus.com>
14528
14529         * Makefile.in (OBJS): Add doloop.o.
14530         * doloop.c: New file.
14531
14532         * final.c (insn_current_reference_address): Return 0 before final.
14533         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
14534         * jump.c (any_uncondjump_p): Likewise.
14535         * loop.c (indirect_jump_in_function): Make static.
14536         (strength_reduce): Call doloop_optimize.
14537         (insert_bct, instrument_loop_bct): Remove.
14538         * loop.h (doloop_optimize): Prototype.
14539         * recog.c (split_all_insns): Split all INSN_P.
14540         * toplev.c (flag_branch_on_count_reg): Default on.
14541
14542         * config/c4x/c4x.c (c4x_optimization_options): Don't set
14543         flag_branch_on_count_reg.
14544         * config/i386/i386.c (override_options): Likewise.
14545         * config/rs6000/rs6000.c (optimization_options): Likewise.
14546
14547         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
14548         (doloop_end): New.
14549         (dbra_ge): Remove, as well as all it's splitters.
14550
14551         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
14552         (doloop_end): New.
14553
14554         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
14555         (ia64_register_move_cost): Declare.
14556         * config/ia64/ia64.c (ar_lc_reg_operand): New.
14557         (struct ia64_frame_info): Add ar_size.
14558         (ia64_compute_frame_size): Set it.
14559         (save_restore_insns): Save and restore ar.lc.
14560         (ia64_register_move_cost): New, moved from header file.  Handle
14561         application registers.
14562         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
14563         (emit_insn_group_barriers): Special case doloop_end_internal.
14564         (ia64_epilogue_uses): Mark ar.lc live at end.
14565         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
14566         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
14567         (FIRST_PSEUDO_REGISTER): Make room.
14568         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
14569         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
14570         (REG_ALLOC_ORDER): Update.
14571         (HARD_REGNO_MODE_OK): Update.
14572         (REGISTER_NAMES): Update.
14573         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
14574         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
14575         (REGNO_REG_CLASS): Update.
14576         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
14577         (REGISTER_MOVE_COST): Move out of line.
14578         (PREDICATE_CODES): Update.
14579         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
14580         (addsi3_plus1_alt, adddi3_plus1_alt): New.
14581         (shladd_elim splitter): Allow constants in the predicate.
14582         (doloop_end, doloop_end_internal): New.
14583
14584 2000-07-30  Richard Henderson  <rth@cygnus.com>
14585
14586         * genattrtab.c (struct insn_def): Add lineno member.
14587         (struct insn_ent): Likewise.
14588         (struct attr_desc): Likewise.
14589         (struct delay_desc): Likewise.
14590         (struct function_unit_op): Likewise.
14591         (struct function_unit): Likewise.
14592         (check_attr_value): Use message_with_line.
14593         (check_defs): Likewise.
14594         (expand_units): Likewise.
14595         (check_attr_test): Take a lineno argument.
14596         (gen_attr): Likewise.
14597         (gen_insn): Likewise.
14598         (gen_delay): Likewise.
14599         (gen_unit): Likewise.
14600         (main): Give it to them.
14601         (convert_set_attr_alternative): Take an insn_def argument
14602         instead of num_alt and insn_index.
14603         (convert_set_attr): Likewise.
14604         (write_test_expr): Protect INSN_ADDRESSES load
14605         with INSN_ADDRESSES_SET_P.
14606
14607 2000-07-30  Richard Henderson  <rth@cygnus.com>
14608
14609         * flow.c (init_propagate_block_info): Use pc_set.
14610
14611 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14612
14613         * i386.md (*lea_general_[123]) New insns and splits.
14614         (addsi3 to lea splitter): Handle other modes too.
14615         (shlsi3 to lea splitter): Likewise.
14616         (addhi_1_lea, shlhi_1_lea): New patterns.
14617         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
14618
14619 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14620
14621         * recog.c (general_operand, nonimmediate_operand): Accept
14622         any mode for VOIDmode CONSTANT_P operands.
14623
14624 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14625
14626         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
14627         instead of replace_rtx.
14628         * recog.c (validate_replace_rtx_subexp): New function.
14629         * recog.h (validate_replace_rtx_subexp): Declare.
14630
14631 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14632
14633         * combine.c (simplify_set, make_extraction, make_compound_operation
14634         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
14635         as force_to_mode argument.
14636
14637 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14638
14639         * combine.c (if_then_else_cond): Be sure that mode fits in
14640         HOST_WIDE_INT.
14641
14642 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14643
14644         * combine.c (record_promoted_value):  Allow bitsize of mode
14645         to be equivalent to HOST_BITS_PER_WISE_INT.
14646
14647 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14648
14649         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
14650         Do not call gen_mode_alignment when mode is BLKmode.
14651
14652 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14653
14654         * loop.c (express_from_1): Fix call of simplify_gen_binary.
14655
14656 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14657
14658         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
14659         VOIDmode implies both operands to be VOIDmode.
14660         (simplify_ternary_operation): Compute properly the mode of comparison.
14661         * combine.c (combine_simplify_rtx): Likewise.
14662
14663 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
14664
14665         * basic-block.h (struct loops): New field rc_order.
14666         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
14667         (flow_loops_free): Free rc_order.
14668         (flow_depth_first_order_compute): New parameter rc_order.
14669         (flow_loops_find): Allocate rc_order and swap usage with
14670         dfs_order.
14671
14672 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14673            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14674
14675         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
14676         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
14677         (nodb_call, return_from_epilogue): Likewise.
14678         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
14679         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
14680         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
14681         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
14682         (c4x_valid_type_attribute_p): Likewise.
14683         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
14684         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
14685
14686 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14687
14688         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
14689         and loadhi_big_constant if applicable.
14690         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
14691         and add new splitter.s
14692
14693 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14694
14695         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
14696
14697 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14698
14699         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
14700
14701 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14702
14703         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
14704
14705 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14706
14707         * config/c4x/libgcc.S (divqf3): Improve accuracy.
14708
14709 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
14710
14711         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
14712         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
14713         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
14714         (get_prev_bb_note): Likewise.
14715         (remove_scope_notes): Likewise.
14716         * flow.c (commit_one_edge_insertion): Likewise.
14717         (merge_blocks_nomove): Likewise.
14718         (verify_flow_info): Likewise.
14719         * gcse.c (insert_insn_end_bb): Likewise.
14720         * reg-stack.c (emit_swap_insn): Likewise.
14721         * ssa.c (first_insn_after_basic_block_note): New function.
14722         (insert_phi_node): Use it.
14723         (rename_block): Likewise.
14724         (eliminate_phi): Likewise.
14725         (make_regs_equivalent_over_bad_edges): Likewise.
14726         (make_equivalent_phi_alternatives_equivalent): Likewise.
14727         (for_each_successor_phi): Likewise.
14728         (convert_from_ssa): Modify phi-node deletion algorithm.
14729
14730 2000-07-29  Andreas Jaeger  <aj@suse.de>
14731
14732         * configure.in (mips*-*-linux*): Use mips*el to check for little
14733         endian MIPS, add tmake_file.
14734
14735         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
14736         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
14737         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
14738
14739 2000-07-28  Richard Henderson  <rth@cygnus.com>
14740
14741         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
14742         Sign extend mode size before negating.
14743
14744 2000-07-28  Richard Henderson  <rth@cygnus.com>
14745
14746         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
14747
14748 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
14749
14750         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
14751         (cse_insn): Likewise.
14752         (addr_affects_sp_p): Likewise.
14753         * expr.c (move_by_pieces): Likewise.
14754         (clear_by_pieces): Likewise.
14755         * gcse.c (oprs_unchanged_p): Likewise.
14756         * haifa-sched.c (sched_analyze_2): Likewise.
14757         * recog.c (offsettable_address_p): Likewise.
14758         * regclass.c (record_address_regs): Likewise.
14759         * reload.c (find_reusable_reload): Likewise.
14760         (push_reload): Likewise.
14761         (operands_match_p): Likewise.
14762         (decompose): Likewise.
14763         (find_reloads_address_1): Likewise.
14764         (find_inc_amount): Likewise.
14765         * reload1.c (elimination_effects): Likewise.
14766         * resource.c (mark_set_resources): Likewise.
14767         * flow.c (attempt_auto_inc): New function; mostly broken out
14768         of find_auto_inc.
14769         (find_auto_inc): Split into two functions and enhanced to
14770         generate POST_MODIFY.
14771         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
14772         * rtl.h (count_all_occurrences):  Declare.
14773         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
14774         defined.
14775         * rtlanal.c (count_all_occurrences): New function.
14776         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
14777         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
14778
14779         * config/ia64/ia64-protos.h (destination_operand): Declare.
14780         * config/ia64/ia64.c (destination_operand): New function.
14781         (ia64_print_operand): Handle POST_MODIFY.
14782         (rtx_needs_barrier): Likewise.
14783         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
14784         (HAVE_POST_MODIFY_REG): Define to 1.
14785         (MAX_REGS_PER_ADDRESS): Change to 2.
14786         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
14787         (LEGITIMATE_ADDRESS_REG): New helper macro.
14788         (LEGITIMATE_ADDRESS_DISP): Likewise.
14789         (PREDICATE_CODES): Add entry for destination_operand.
14790         * config/ia64/ia64.md (all mov patterns): Use destination_operand
14791         predicate for operand 0.
14792
14793 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14794
14795         * dwarf2out.c: Indent #error directive.
14796
14797         * gbl-ctors.h: Fix typo in comment.
14798         (__do_global_ctors): Prototype.
14799
14800         * gcse.c (record_one_set, pre_delete): Remove unused variables.
14801
14802         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
14803         (print_operand): Initialize variable `t'.
14804
14805 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
14806
14807         * config/arm/arm.md ("call_value"): removed constraints.
14808         Constraints are ignored in expanders.
14809         (*call_value_reg): split =rf into various constraints.
14810         (*call_value_mem): same
14811         (*call_value_symbol): same
14812         (*sibcall_value_insn): same
14813
14814 2000-07-28  Philipp Thomas  <pthomas@suse.de>
14815
14816         * install.texi (--enable-nls): Change the description of the NLS
14817         related configure options to match the current state.
14818         (--with-included-gettext): Likewise.
14819         (--enable-maintainer-mode): New description added.
14820         * extend.texi (-fstrict-prototype): Add missing '.'.
14821
14822 2000-07-27  Jim Wilson  <wilson@cygnus.com>
14823
14824         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
14825         DECL_INITIAL (decl) == NULL_TREE.
14826
14827 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
14828
14829         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
14830         on insn-attr.h with it.
14831         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
14832         * insn-addr.h: New header.
14833         (insn_addresses_): Renamed from insn_addresses.
14834         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
14835         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
14836         INSN_ADDRESSES_NEW): New macros.
14837         * genattrtab.c (write_test_expr): Use new macros.
14838         * final.c (insn_addresses, init_insn_lengths): Likewise.
14839         (align_fuzz, shorten_branches): Likewise.
14840         (final): Likewise.  Do not reject new insns if their addresses
14841         have been added to INSN_ADDRESSES.
14842         * config/arm/arm.c, config/avr/avr.c: Use new macros.
14843         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
14844         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
14845         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
14846         * config/sh/sh.c: Likewise.
14847         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
14848
14849         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
14850
14851 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
14852
14853         * gcc.c (struct prefix_list): Add member priority.
14854         (enum path_prefix_priority): Declare.
14855         (add_prefix): Replace ``first'' with ``priority''.  Append new
14856         entry but keep list in priority order.
14857         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
14858         PREFIX_PRIORITY_LAST to add_prefix.
14859         (process_command): Move include kludge - foo/stageN - to before
14860         foo/include.
14861
14862 2000-07-27  Jason Merrill  <jason@redhat.com>
14863
14864         * dwarf2out.c (gen_typedef_die): Abort if we get identical
14865         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
14866
14867 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
14868
14869         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
14870         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
14871
14872 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
14873
14874         * c-decl.c (finish_function): Don't treat 'main' specially unless
14875         flag_hosted.  In C99 mode, return 0 from 'main' unless
14876         DEFAULT_MAIN_RETURN is otherwise defined.
14877
14878         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
14879         parameters defaulting to int in an old-style function definition.
14880
14881 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14882
14883         * c-parse.in (string): For -Wtraditional, warn about string
14884         concatenation only once per line.
14885
14886 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
14887
14888         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
14889         for HI-UX/WE2 systems.
14890
14891 2000-07-24  Bruce Korb  <bkorb@gnu.org>
14892
14893         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
14894         defining the __xxx_TYPE__ macros.
14895         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
14896         * fixincl/fixlib.h: don't need to include "tm.h" anymore
14897         * fixincl/inclhack.def(type_map): now obsolete
14898
14899 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14900
14901         * cpp.texi: Append a trailing full-stop to xrefs where needed.
14902
14903 2000-07-26  Dave Pitts  <dpitts@cozx.com>
14904
14905         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
14906         routine constants.
14907         (mvs_hash_alias): New function.
14908         (mvs_add_alias): Change argument spacing.
14909         (mvs_need_alias): Change aliasing criteria. Added documentation.
14910         (mvs_get_alias): Change to use hashed name. The hashed name prevents
14911         CSECT name collisions.
14912         (mvs_check_alias): Likewise.
14913         (handle_pragma): Change documentation.
14914         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
14915         mode from SImode to DImode.
14916         (iorhi3): Changed LTORG size for insn.
14917
14918 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
14919
14920         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
14921         mem if the address is a mode_dependent_address_p.
14922
14923 2000-07-26  Kazu Hirata  <kazu@hxi.com>
14924
14925         * h8300.c (print_operand): Print ":8" when the 'R' operand is
14926         suitable for 8-bit absolute.
14927         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
14928         (OK_FOR_U): Add a case for the 8-bit constant address on the
14929         H8/300H.
14930
14931 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
14932
14933         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
14934         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
14935         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
14936         lack of implemented alignment.
14937
14938 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
14939
14940         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
14941         cross-compiling between 64-bit and 32-bit machines.
14942
14943 2000-07-27  Richard Henderson  <rth@cygnus.com>
14944
14945         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
14946         (movhicc_astep, movhi_internal_astep): New.
14947         (movsicc_astep, movsi_internal_astep): New.
14948         (movdicc_astep, movdi_internal_astep): New.
14949         (movsfcc_astep, movsf_internal_astep): New.
14950         (movdfcc_astep, movdf_internal_astep): New.
14951         (movxfcc_astep, movxf_internal_astep): New.
14952         (cmovdi_internal_astep, cmovsi_internal_astep): New.
14953         Unify the cmov[ds]i splitters.
14954
14955 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
14956
14957         * real.c (asctoeg): Rename `error' label to unexpected_char_error
14958
14959 2000-07-26  Nick Clifton  <nickc@cygnus.com>
14960
14961         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
14962         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
14963
14964         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
14965         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
14966
14967 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
14968
14969         * c-decl.c (finish_enum): Convert enumerations that fit in an
14970         `int' to `int'.
14971         (build_enumerator): In pedantic mode, cast to `int' those that
14972         don't.
14973
14974 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
14975
14976         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
14977
14978 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14979
14980         * sh.md (cmpgtdi_t): Must be split.
14981         (cmpgtdi_t+1): New splitter.
14982
14983 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
14984
14985         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
14986         warnings for indented directives even if we are skipping.
14987
14988 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
14989
14990         * invoke.texi (strict-prototypes): Remove.
14991         * extend.texi (Deprecated Features): Add strict-prototypes.
14992         (Backwards Compatibility): New node.
14993
14994 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
14995
14996         * config/i386/i386.md (andsi_1+1): Allow HImode.
14997         (andsi_1+2): Require q_regs_operand.
14998
14999 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
15000
15001         * config/i386/i386.md (call_pop): Check operands[0],
15002         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
15003         (call): Likewise.
15004         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
15005         (call_value): Likewise.
15006
15007 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
15008
15009         * toplev.c (pipe_closed): Delete.
15010         (crash_signal): New.  Generate ICE for a fatal signal.
15011         (float_signal): Call crash_signal outside a float-handler
15012         block, not abort.
15013         (main): Install crash_signal as handler for core-dumping signals.
15014
15015 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
15016
15017         * rs6000.c (print_operand, case 'T'): New case.
15018
15019         * rs6000.md (call_indirect_aix32): Convert to expander of
15020         scheduled instructions.
15021         (call_indirect_aix64): Likewise.
15022         (call_value_indirect_aix{32,64}): Likewise.
15023         (call, call_value): Invoke expanders for AIX.  Fall through to
15024         matchers for SysV.
15025         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
15026         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
15027         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
15028         only "g" constraint.
15029         (call_nonlocal_aix64): Likewise.
15030         (call_value_nonlocal_aix{32,64}): Likewise.
15031         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
15032         operands.
15033         (call_value_nonlocal_sysv): New pattern.
15034         (indirect_jump{si,di}): Use new 'T' modifier.
15035         (tablejump{si,di} matchers): Likewise.
15036         (return_internal_{si,di}): Likewise.
15037         (return_eh_{si,di}): Likewise.
15038
15039 2000-07-24  Richard Henderson  <rth@cygnus.com>
15040
15041         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
15042         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
15043         * config/ia64/ia64.md (movdi_internal): Use it.
15044
15045 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
15046
15047         * cppexp.c: Warn about unary + if -Wtraditional.
15048         * cpplex.c (lex_line): Always set BOL on the first token of a line.
15049
15050 2000-07-24  Michael Meissner  <meissner@redhat.com>
15051
15052         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
15053         unsupported macro.
15054
15055 2000-07-24  Nick Clifton  <nickc@cygnus.com>
15056
15057         * config/arm/arm.c (emit_multi_reg_push): Generate a
15058         REG_FRAME_RELEATED_NOTE that is compatable with the code in
15059         dwarf2out_debug_frame_expr.
15060
15061 2000-07-24  Jason Merrill  <jason@redhat.com>
15062
15063         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
15064         UNALIGNED_INT_ASM_OP.
15065         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
15066         a location expression.
15067         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
15068         assume indirect access if we're saving the CFA address exactly.
15069
15070         * Makefile.in (bootstrap): Move -BstageN/ to the end.
15071
15072 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
15073
15074         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
15075         as well.
15076
15077 2000-07-24  Michael Meissner  <meissner@redhat.com>
15078
15079         * invoke.texi (D30V Options): Add d30v options.
15080
15081 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
15082
15083         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
15084         needed by our gcse pass anymore.
15085         (free_pre_mem): Corresponding changes.
15086         (compute_pre_data): Do not call compute_transpout anymore.
15087
15088         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
15089         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
15090         changes.
15091
15092         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
15093         (compute_pre_data): Do it here instead.
15094
15095         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
15096         'temp_bitmap'.
15097         (pre_delete): Corresponding changes.
15098
15099 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
15100
15101         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
15102         to figure out whether or not a variable has already been emitted.
15103
15104 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
15105
15106         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
15107         instead of gen_call.
15108
15109 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
15110
15111         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
15112
15113 2000-07-23  Kazu Hirata  <kazu@hxi.com>
15114
15115         * h8300.c: Fix formatting.
15116
15117 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
15118
15119         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
15120         for `long' switch expression into a plain warning.
15121
15122         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
15123         (yylex): Don't pedwarn for "inline" in C99 mode.
15124
15125         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
15126         with %p.
15127         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
15128         ggc_alloc): Likewise.
15129         * bb-reorder.c (dump_scope_forest_1): Likewise.
15130
15131 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
15132
15133         * reload.c (find_reloads_toplev): Add new parameter
15134         "address_reloaded".
15135         (find_reloads): Add new parameter to find_reloads_toplev calls.
15136
15137 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
15138
15139         * collect2.c (main): Typo fixed.
15140         * diagnostic.c: Typo fixed.
15141         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
15142         * eh-common.h: Typo fixed.
15143         * emit-rtl.c (start_sequence): Typo fixed.
15144         * flow.c (find_label_refs): Typo fixed.
15145         (calculate_global_regs_live): Typo fixed.
15146         (mark_regno_cond_dead): Typo fixed.
15147         (create_edge_list): Typos fixed.
15148         (verify_edge_list): Typo fixed.
15149         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
15150         * loop.c (strength_reduce): Typo in function name fixed.
15151         * rtl.h: Added comments.  Typo in function name fixed.
15152         * rtlanal.c: Typo in function name fixed.
15153         (insn_dependant_p): Rename to ...
15154         (insn_dependent_p): ... this.
15155         (computed_jumo_p): Typo fixed.
15156
15157 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15158
15159         * system.h (__FUNCTION__): Wrap definition in #ifndef.
15160
15161 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
15162
15163         * rs6000.h (SIZE_TYPE): Define.
15164
15165 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
15166
15167         * ssa.c (rename_insn_1): Don't rename registers that are
15168         CLOBBERed.
15169
15170 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
15171
15172         * diagnostic.c (trim_filename, fancy_abort): Moved here from
15173         rtl.c.
15174         (fatal_function, set_fatal_function): Removed.
15175         (fatal): Don't prepare for or call the fatal_function.
15176         (diagnostic_lock, error_recursion): New.
15177         (diagnostic_for_decl, report_diagnostic): Guard against
15178         re-entering the error reporting routines.
15179         (fancy_abort): Assume function is not NULL.
15180
15181         * errors.c (fancy_abort): New.  Assume function is not NULL.
15182         * tradcpp.c (fancy_abort): Assume function is not NULL.
15183
15184         * system.h: Provide default definition of __FUNCTION__.
15185         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
15186         Always use __FUNCTION__ in definition of abort.
15187         * tree.h: Likewise.
15188         * varray.h: Likewise.
15189         * toplev.h: Likewise.  Don't prototype set_fatal_function.
15190
15191 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
15192
15193         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
15194         in 64-bit mode.
15195         * glimits.h: Don't do #if defined for ARCH_PPC.
15196
15197         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
15198         constants of size no larger than a pointer should go in the TOC.
15199         Add 'MODE' parameter.
15200         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
15201         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
15202         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
15203         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
15204         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
15205         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
15206         (rs6000_legitimize_address): Likewise.
15207         (rs6000_emit_move): Likewise.
15208         (rs6000_select_rtx_section): Likewise.
15209         (output_toc): Deal properly with outputting small constants like
15210         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
15211         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
15212         MODE parameter.  Put small constants in the TOC.
15213
15214         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
15215         easy in SImode.
15216         (rs6000_emit_move): When reload calls us with an illegitimate
15217         address, exit early.  Move the change_address calls to one place
15218         at the end of the routine.  Merge the SImode and DImode expanders.
15219         When called by reload to put an integer into a FP register, force
15220         it to memory.
15221
15222         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
15223         field.
15224         (rs6000_hash_constant): Hash mode too.
15225         (toc_hash_function): Allow for key_mode.
15226         (toc_hash_eq): Structures are different if key_mode differs.
15227         (output_toc): Add 'mode' parameter.  Save key_mode.
15228         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
15229         Pass 'mode' parameter.
15230         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
15231
15232         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
15233         for vtable references.
15234
15235         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
15236         choice, don't put integer values in FP regs.
15237
15238 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
15239
15240         * flow.c (verify_flow_info): Revamp code to verify that the
15241         head and end of each basic block are in the insn chain.
15242
15243 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
15244
15245         * gcse.c (record_one_set): Prepend instead of append onto
15246         reg_set_table, making it O(n) instead O(n^2).
15247         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
15248         Use a queue instead of a stack as worklist.
15249
15250 2000-07-20  Kazu Hirata  <kazu@hxi.com>
15251
15252         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
15253         * h8300.h (OK_FOR_T): New.
15254         (EXTRA_CONSTRAINT): Support OK_FOR_T.
15255         * h8300.md: Use inc/dec.[wl] for increment/decrement
15256         by 1 and 2 in HI and SI modes.
15257
15258 2000-07-20  Jim Wilson  <wilson@cygnus.com>
15259
15260         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
15261         larger than 14 bits.
15262
15263 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
15264
15265         * cppmacro.c (CAN_PASTE_AFTER): New macro.
15266         (count_params): Don't set GNU_REST_ARGS on anything.
15267         (save_expansion): Set PASTE_LEFT only on tokens for which
15268         CAN_PASTE_AFTER is true, or which are named operators.
15269
15270         * cpplex.c (parse_args): Distinguish between a rest argument
15271         given one empty argument, and a rest argument given zero arguments.
15272         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
15273         deletion of previous token based on that.
15274         (get_raw_token): Flatten some control structure.
15275
15276         * cpplib.h (CPP_LAST_EQ): Correct.
15277         (VOID_REST): New token flag.
15278         (GNU_REST_ARGS): Delete.
15279
15280         * tradcpp.c (main): Don't munge -D options.
15281         (make_definition): Bring -D handling in line with cpplib.
15282         (do_define): Strip all leading whitespace from macro definitions.
15283
15284 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
15285
15286         * Makefile.in (tradcpp): Depend on intl.o and version.o.
15287
15288 2000-07-20  Bruce Korb  <bkorb@gnu.org>
15289
15290         * fixincl/check.tpl: strip the platform specific types before testing
15291         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
15292         * fixincl/fixincl.tpl: use platform specific types
15293         * fixincl/fixlib.h: include the platform specific types
15294         * fixincl/inclhack.def(gnu_types): don't supply the types
15295         * fixincl/fixincl.x: regen
15296
15297 2000-07-19  Jim Wilson  <wilson@cygnus.com>
15298
15299         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
15300         GR_REGS.
15301
15302 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
15303
15304         * tradcpp.c (rescan): Do not recognize directives when the #
15305         is indented.
15306
15307 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
15308
15309         Implement C++ named operators.
15310
15311         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
15312         of operators allowed in #if and having an _EQ variant.  Add
15313         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
15314         (cpp_token flags): Add NAMED_OP.
15315         (enum node_type): Add T_OPERATOR.
15316         (struct cpp_hashnode): Add code slot to value union.
15317         * cpphash.h (spec_nodes): Remove n_defined.
15318
15319         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
15320         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
15321         (is_macro_disabled): Tweak error messages.
15322
15323         * cpplib.c (get_define_node): Disallow all named operators as
15324         macro names.  Tweak error messages.
15325         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
15326
15327         * cppinit.c (builtin_array): Add entries for the named operators.
15328         * cppexp.c (lex): Check for CPP_DEFINED token.
15329         (priority table): Add entries for CPP_MIN and CPP_MAX.
15330         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
15331
15332 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
15333
15334         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
15335         larger than the array of cuids.
15336         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
15337         cuids.
15338
15339 2000-07-19  Bruce Korb  <bkorb@gnu.org>
15340
15341         * fixinc/fixincl.c:  Convert to using a table of environment variables
15342         and activate the auto-edit marker on the fixed output files.
15343         * fixinc/fixlib.h:  Define the environment table
15344         * fixinc/fixincl.sh: export the ${INPUT} dir
15345         * fixinc/check.tpl: likewise
15346
15347 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
15348
15349         * gcc.c (.h spec): Fix typo.
15350
15351 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
15352
15353         * Makefile.in: Fix tradcif.c path.
15354
15355 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
15356
15357         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
15358           macros, not five.
15359
15360         * cpphash.h (TOKEN_NAME): New macro.
15361         (_cpp_spell_operator): Deleted.
15362         (token_spellings): Now _cpp_token_spellings.
15363
15364         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
15365         * cpplex.c: Use OP and TK macros when expanding the
15366         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
15367         store the stringification of the enumeration name (CPP_CHAR,
15368         etc.) in the name slot of token_spellings.
15369         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
15370         token_spellings directly.
15371         * cpplib.c: Use TOKEN_SPELL.
15372
15373         * cpplex.c (_cpp_push_token): If the token being pushed back
15374         is the previous token in this context, just subtract one from
15375         context->posn.
15376         * cppmacro.c (save_expansion): Clear aux field when storing a
15377         placemarker.
15378
15379 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
15380
15381         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
15382         buffer, provided it is not NULL.
15383
15384 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
15385
15386         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
15387         case of invalid volatile re-declaration.
15388
15389 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
15390
15391         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
15392         (expand_call): Adjust caller.
15393
15394 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
15395
15396         * diagnostic.h (report_diagnostic): Change prototype.
15397
15398         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
15399         diagnostic_for_decl):  Change prototype.
15400         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
15401         error, warning, error_with_file_and_line,
15402         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
15403         Adjust call to report_diagnostic, diagnostic_for_decl.
15404         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
15405         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
15406
15407         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
15408         varaible argument list.
15409
15410 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
15411
15412         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
15413         moved to cppmacro.c.
15414         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
15415         dump_hash_helper): Delete.
15416         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
15417         cpp_forall_identifiers): New. Implement specialized version of
15418         Vlad's expandable hash table.
15419         (cpp_lookup): Use new functions.
15420         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
15421         implementation.
15422         * cppmacro.c: New file.
15423         * cppinit.c (dump_macros_helper): New.
15424         (cpp_finish): Iterate over the identifier table directly.
15425         * cpplex.c (parse_name): Calculate the hash of the identifier
15426         while we scan it.  Use _cpp_lookup_with_hash when we can.
15427
15428         * cpphash.h: Update prototypes.
15429         (xcnewvec, HASHSTEP): New helper macros.
15430         * cpplib.h: Update prototypes.
15431         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
15432         (cppmacro.o): New rule.
15433         (cpphash.o): Update deps.
15434
15435         * cppmain.c: Do not set pfile->printer if no_output is on.
15436
15437 2000-07-15  Neil Booth  <neilb@earthling.net>
15438
15439         * cpplib.c: Change all directive-handler functions to return
15440         void, not int.
15441         * cpphash.h: Update typedefs.
15442
15443 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
15444
15445         * configure: Regenerate.
15446
15447         * extend.texi (Extended Asm): Mention that a memory clobber
15448         does not count as a side-effect.
15449
15450         * unroll.c (copy_loop_body): Fix one instance of using host
15451         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
15452         cross-compile.
15453
15454         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
15455
15456 2000-07-17  Richard Henderson  <rth@cygnus.com>
15457
15458         * config/ia64/ia64.md (movdi): Split out load address code.
15459         New post-reload splitter for symbolic operands.
15460         (movdi_internal): Abort if we didn't split symbolic operands
15461         when we should have.
15462         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
15463         (ia64_reorg): Split insns when not optimizing.
15464         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
15465
15466 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
15467
15468         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
15469         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
15470
15471 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
15472
15473         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
15474
15475 2000-07-17  Jason Merrill  <jason@redhat.com>
15476
15477         * Makefile.in (clean): Remove libgcc directory.
15478
15479         * configure.in (-Wno-long-long check): Use higher-level macros.
15480
15481 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
15482
15483         * simplify-rtx.c (simplify_binary_operation): Recognize
15484            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
15485         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
15486            a CONST_INT, it will always be zero.
15487
15488 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
15489
15490         * loop.c (check_dbra_loop) : Return if more than one condition is
15491         present to control the loop.
15492
15493 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
15494
15495         * mips.c (mips_expand_prologue): Don't calculate the last argument
15496         register unless we need it.  When we are calculating this, make
15497         sure FUNCTION_ARG is giving us a REG.
15498
15499 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15500
15501         * flow.c (libcall_dead_p): Use single_set to verify the insn
15502         has only one set and get for analysis.
15503         (propagate_one_insn): Don't pass the PATTERN of the insn.
15504
15505 2000-07-17  Mark Klein <mklein@dis.com>
15506
15507          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
15508
15509 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
15510
15511         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
15512         * configure.in (TARGET_GETGROUPS_T): Evaluate.
15513         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
15514         of second argument of getgroups.
15515         * configure, config.in: Rebuilt.
15516
15517 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
15518
15519         * simplify-rtx.c (simplify_relational_operation): Two signed
15520         values with equal high words are less/greater than each other if
15521         their low words are less/greater when considered as unsigned.
15522
15523 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
15524
15525         * configure.in (vax-*-openbsd):  Change to new style configuration,
15526         add collect2/float_format information.
15527         * configure:  Rebuilt.
15528         * config/vax/openbsd1.h:  New.
15529         * config/vax/openbsd.h:  New.
15530         * config/vax/t-openbsd:  New.
15531
15532 2000-07-17  Chip Salzenberg  <chip@valinux.com>
15533
15534         * c-common.c (shorten_compare): Quiet warnings about unsigned
15535         comparisons with zero when they occur in a system header.
15536
15537 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
15538
15539         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
15540         update to describe current practice.
15541
15542         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
15543
15544         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
15545         references to C9X.  Change references to -fstd and -flang-isoc9x
15546         to refer to -std.
15547
15548         * c-common.c (scan_char_table): Allow "z" length modifiers on
15549         diouxXn formats.
15550         (check_format_info): Use TYPE_DOMAIN on the type matched against
15551         for "z" formats, to retrieve the language size_t rather than the
15552         internal one.
15553
15554         * c-common.c (check_format_info): Do not make a pedantic objection
15555         to the 'L' length modifier if used with a floating point type
15556         character.
15557
15558         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
15559         constants in C99 mode.
15560
15561 2000-07-17  Kazu Hirata  <kazu@hxi.com>
15562
15563         * h8300.md: Fix the format of mac.
15564         (movsi_h8300hs): Output a tab after stmac instead of a space.
15565
15566         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
15567         profitable adds/subs sequences.
15568
15569         * fold-const.c: Fix comment typos.
15570
15571 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
15572
15573         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
15574
15575 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15576
15577         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
15578
15579 2000-07-16  Neil Booth  <NeilB@earthling.net>
15580
15581         * cpplex.c: Update comments.
15582         * README.Portability: Small update.
15583
15584 2000-07-16  Neil Booth  <NeilB@earthling.net>
15585
15586         * README.Portability:  Small update.
15587
15588 2000-07-15  Richard Henderson  <rth@cygnus.com>
15589
15590         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
15591         * config/ia64/ia64.c (ia64_move_ok): New function.
15592         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
15593         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
15594
15595 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
15596
15597         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
15598         immediately following a paste operator.
15599         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
15600         (cpp_reader_init): Call it, if HOST_EBCDIC.
15601         (cpp_handle_options): Do not sort option list here.
15602         (handle_option): Rename to cpp_handle_option and export.
15603         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
15604         _cpp_get_token directly.
15605         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
15606         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
15607         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
15608         cpp_scan_line.
15609
15610 2000-07-15  Richard Henderson  <rth@cygnus.com>
15611
15612         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
15613         cast around an expression.  Tidy other unsigned tests.
15614
15615 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
15616
15617         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
15618         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
15619         (v_message_with_decl): Rename to ...
15620         (format_with_decl): ... this. Tweak
15621         (diagnostic_for_decl): New function.
15622         (fatal_io_error): Use verbatim in lieu of notice.
15623         (announce_function): Use verbatim.
15624         (default_print_error_function): Likewise.
15625         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
15626         infratructure.
15627
15628 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15629
15630         * mips.c (function_arg_pass_by_reference): Don't do automatic
15631         aggregate initialization.
15632         (machine_dependent_reorg): Initialize variable `mode'.
15633
15634         * mips.md (absdi2): Change variable `regno1' to unsigned int.
15635         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
15636         conflicts with sys/param.h macro of the same name.
15637         (reload_outdi): Likewise.
15638
15639 2000-07-15  Michael Meissner  <meissner@redhat.com>
15640
15641         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
15642         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
15643         create a new node instead.
15644
15645 2000-07-15  Neil Booth  <NeilB@earthling.net>
15646
15647         * README.Portability: Correct example about calling a function
15648         through a pointer to function.  Format wide paragraphs.
15649
15650 2000-07-15  Michael Meissner  <meissner@redhat.com>
15651
15652         * README.Portability: Update integer suffixes and function
15653         prototype sections.
15654
15655 2000-07-15  Neil Booth  <NeilB@earthling.net>
15656
15657         * README.Portability: Small update.
15658
15659 2000-07-15  Neil Booth  <NeilB@earthling.net>
15660
15661         * README.Portability: New file.
15662
15663 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
15664
15665         * INSTALL: Give special instructions for building GCC on Irix 6.
15666         * config/mips/x-iris6 (CC): Don't set it.
15667         (OLDCC): Likewise.
15668
15669 2000-07-14  Jason Merrill  <jason@redhat.com>
15670
15671         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
15672         register in the stack and later in another register, use the new
15673         register.
15674
15675 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
15676
15677         * config/mips/mips.md: (absdi2): Handle sign_extend for
15678         second operand.
15679
15680 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
15681
15682         * cpplib.c (do_pragma_dependency): Tidy warning messages.
15683
15684 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
15685
15686         * .cvsignore: Correct typo.
15687
15688 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
15689
15690         * .cvsignore: Add generated YACC files.
15691         * objc/.cvsignore: New file.
15692
15693 2000-07-14  Neil Booth  <NeilB@earthling.net>
15694
15695         * cpplex.c (adjust_column): New funcion.
15696         (skip_whitespace): Use it.
15697         (skip_block_comment): Use it, and warn about /*/* with
15698         -Wcomments.
15699
15700 2000-07-14  Neil Booth  <NeilB@earthling.net>
15701
15702         * cpphash.c (struct macro_info): Add new members.
15703         (_cpp_free_definition): Delete the macro directly.
15704         (count_params): Return void, with first token of
15705         expansion in struct macro_info on success.
15706         (parse_define): Return int.  Hoist syntax checking from
15707         save_macro_expansion.  Leave call to save_expansion to
15708         _cpp_create_definition.
15709         (alloc_macro): Needs just 2 arguments.
15710         (free_macro): Delete.
15711         (save_expansion): Don't perform syntax check.
15712         (_cpp_create_definition): Call save_expansion.
15713
15714 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15715
15716         * genrecog.c (write_header): Split long string.
15717
15718         * cpphash.c (macro_info): Don't use the `signed' keyword.
15719
15720         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
15721
15722 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
15723
15724         * calls.c (stored_args_map): New variable.
15725         (check_sibcall_argument_overlap_1): New.
15726         (check_sibcall_argument_overlap): New.
15727         (expand_call): Initialize stored_args_map.
15728         Call check_sibcall_argument_overlap.
15729
15730 2000-07-13  Bruce Korb  <bkorb@gnu.org>
15731
15732         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
15733         (emit_gnu_type): utility procedure for gnu_type_fix
15734         (gnu_type_fix): implement various pre-processor guards around
15735         standard types so these types can be defined over and over
15736         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
15737         types alluded to above will have GNU-compliant base types
15738         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
15739         * fixinc/inclhack.def: add test_text entries and utilize the new
15740         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
15741         * fixinc/fixincl.x: regenerate
15742
15743 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
15744
15745         * diagnostic.c (vline_wrapper_message_with_location,
15746         v_message_with_file_and_line, v_error_with_file_and_file,
15747         v_error_for_asm, v_warning_for_asm, vfatal,
15748         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
15749         vsorry, verror, vwarning, vpedwarn): Remove.
15750         (diagnostic_for_asm): New function.
15751         (pedwarn, error, warning, pedwarn_with_file_and_line,
15752         error_with_file_and_line, warning_with_file_and_line, sorry,
15753         error_for_asm, warning_for_asm, fatal): Reimplement.
15754         (finish_diagnostic): Clear diagnostic info as well.
15755
15756 2000-07-13  Neil Booth  <NeilB@earthling.net>
15757
15758         * c-common.h (flag_digraphs): New.
15759         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
15760         * c-lex.c (yylex): Use flag_digraphs to decide whether to
15761         honour digraphs.
15762
15763 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
15764
15765         * gcc.c (do_spec_1): Add new %B operator.
15766         (set_input): Prepare for %B.
15767
15768         (link_command_spec): Move up with the other tm.h-
15769         overrideable specs.  Factor out the portion conditional on
15770         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
15771         (struct compiler): Just have a single spec string.  All users
15772         updated.
15773         (default_compilers): Remove unnecessary braces.
15774         (static_specs): Update.
15775
15776         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
15777         named specs.
15778         (C and assembly specs): Use the new named specs, as appropriate.
15779
15780         * objc/lang-specs.h: Use the new named specs.
15781         Remove unnecessary braces.
15782
15783 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15784
15785         * gcc.c (execute): If a subprocess gets a fatal signal, report
15786         strsignal() of the signal number, and ask for a bug report.
15787         Do not do this for SIGPIPE if there's already been an error.
15788
15789         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
15790         Delete pipe_closed.
15791
15792         * tradcif.c: Remove.
15793
15794 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15795
15796         * final.c (profile_function): Do not emit profile counters in
15797         the data section, if NO_PROFILE_COUNTERS is defined.
15798         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
15799         FUNCTION_PROFILER.
15800
15801         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
15802         (FUNCTION_PROFILER): Just emit a call to mcount.
15803
15804 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15805
15806         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
15807
15808         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
15809         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
15810         traditional, lang_chill, or lang_fortran.
15811
15812         * cppfiles.c: #undef strcmp to suppress warning about macros
15813         used without arguments.
15814         (_cpp_execute_include): Use f, not fname, in "No include path"
15815         error.
15816         (_cpp_pop_file_buffer): New function.
15817         * cpplib.c: Don't include <sys/mman.h>.
15818         (cpp_push_buffer): Set line_base and lineno in new buffer.
15819         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
15820
15821         * cpplex.c: Move all prototypes and structure declarations to the
15822         top of the file.  Properly parenthesise some macro arguments.
15823         (cpp_scan_line): New function.
15824         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
15825         don't need to walk up the stack counting.
15826
15827 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15828
15829         * c-common.c (combine_strings): Emit a pedantic warning when a
15830         string length is greater than the minimum ANSI C is required
15831         to support.
15832
15833 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
15834
15835         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
15836         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
15837
15838 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15839
15840         * c-decl.c (define_label): Warn about identifier conflicts with
15841         labels in traditional C.
15842
15843         * c-parse.in (unop +): Warn about the unary plus operator for
15844         traditional C.
15845
15846         * c-typeck.c (store_init_value): Warn about automatic aggregate
15847         initialization for traditional C.
15848
15849         * invoke.texi (-Wtraditional): Document new warnings.
15850
15851 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15852
15853         * Makefile.in (c-errors.o): Fix thinko in dependency.
15854
15855 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15856
15857         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
15858         -traditional, -ftraditional, or -traditional-cpp was given.
15859         Do not pass -traditional to the preprocessor.
15860         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
15861         preprocessor does it automatically.
15862         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
15863
15864         * ch/lang-specs.h: Always use tradcpp.  Do not pass
15865         -traditional, -trigraphs, or -pedantic to the preprocessor.
15866         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
15867         _LANGUAGE_FORTRAN.
15868
15869 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15870
15871         * cppexp.c (LOGICAL): Delete macro.
15872         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
15873         and && directly.
15874
15875         * cpphash.c (HASHSIZE): Increase to 4096.
15876         (struct hashdummy): Add hash field.
15877         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
15878         the string values using memcmp.
15879         (cpp_lookup): Set dummy.hash.
15880
15881 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
15882
15883         * configure.in (m88k-openbsd): Express configuration using new fragment
15884         style.
15885         * configure: Rebuilt.
15886         * m88k/aout-dbx.h: New.
15887         * m88k/openbsd.h: New.
15888         * m88k/xm-openbsd.h: New.
15889
15890 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15891
15892         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
15893
15894 2000-07-12  Richard Henderson  <rth@cygnus.com>
15895
15896         * reload.c (push_secondary_reload): Make sure to add the new
15897         reload at the end, after acquiring secondary memory.
15898
15899 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15900
15901         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
15902
15903         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
15904         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
15905
15906         * c-parse.in (stmt): Delete unused variables.
15907
15908         * convert.c (convert_to_vector): Likewise.
15909
15910         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
15911
15912         * tree.c (finish_vector_type): Prototype.
15913
15914 2000-07-12  Bruce Korb  <bkorb@gnu.org>
15915
15916         * fixinc/fixfixes.c: use xmalloc
15917         * fixinc/fixincl.c(initialize): set program name for xmalloc
15918         * fixinc/fixlib.c(must_malloc): obsolete
15919         (is_cxx_header): no longer used - disabled
15920         (skip_quote): inserted and disabled for future use
15921         * fixinc/fixlib.h: reflects above
15922         * fixinc/fixtests.c: removed dinkleberries
15923
15924 2000-07-12  Neil Booth  <NeilB@earthling.net>
15925
15926         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
15927         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
15928
15929         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
15930         struct toklist_dummy): New.
15931         (cpp_free_definition): Free macros with free_macro.
15932         (count_params): Don't save paramter spellings.  Save macro
15933         information in a struct macro_info.
15934         (parse_define): Don't allocate a token list.
15935         (save_expansion): Allocate the macro's token list, and
15936         save parameter spellings if necessary.  Use TOKEN_SPELL.
15937         (cpp_create_definition): Make list const.
15938
15939 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15940
15941         * c-typeck.c (pedwarn_c99): Move to
15942         * c-errors.c: ... Here.
15943         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
15944         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
15945         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
15946         (c-errors.o): List dependency.
15947
15948 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
15949
15950         * c-parse.c: Remove.
15951         * c-parse.h: Likewise.
15952         * c-parse.y: Likewise.
15953         * objc/objc-parse.c: Likewise.
15954         * objc/objc-pasre.y: Likewise.
15955
15956 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
15957
15958         * gcc.texi: Fix minor typos
15959         * extend.texi: Fix minor typos
15960
15961 2000-07-11  Marc Espie <espie@openbsd.org>
15962
15963         * collect2.c (main): Recognize .lo as object files.
15964
15965 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
15966
15967         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
15968         true.
15969
15970         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
15971         with MAP_ANONYMOUS and MAP_ANON.
15972         * configure, config.in: Rebuilt.
15973
15974 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15975
15976         * diagnostic.c (save_output_state): Remove.
15977         (restore_output_state): Likewise.
15978         (clear_text_info): New function.
15979         (clear_diagnostic_info): Likewise.
15980         (output_text_length, is_starting_newline, output_prefix,
15981         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
15982         prefixing_policy, output_buffer_ptr_to_format_args): New macros
15983         (set_real_maximum_length, output_set_maximum_length,
15984         output_set_prefix, output_get_prefix, output_set_maximum_length,
15985         output_destroy_prefix, init_output_buffer,
15986         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
15987         output_add_newline, output_add_character, output_add_space,
15988         output_append_r, output_append, wrap_text, output_format,
15989         output_do_printf, output_printf, output_do_verbatim,
15990         output_verbatim, verbatim): Use them.
15991         (output_clear): Split into cleat_text_info and
15992         clear_diagnostic_info.
15993         (struct output_state): Move to...
15994
15995         * diagnostic.h: ...Here
15996         (struct output_buffer): Adjust.
15997
15998 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
15999
16000         * cpplex.c (parse_name): No longer inline (premature optimization).
16001         (do_pop_context): Fold into pop_context.
16002         (pop_context): Returns int.
16003         (lex_next): Hoist test for end of directive into pop_context.
16004         (push_macro_context): Returns int; takes just reader and token.
16005         Hoist test for excessive nesting to caller.
16006         (push_arg_context): Returns void; takes just reader and token.
16007         Do not call stringify_arg or get_raw_token.
16008         (get_raw_token): Convert tail recursion through push_arg_context
16009         to a loop at this level.  Call stringify_arg here if appropriate.
16010         (maybe_paste_with_next): Convert tail recursion to a while loop.
16011         Hoist test of paste_level to caller.
16012
16013         (stringify_arg): Push arg context at beginning.
16014         (cpp_get_token): Split out core into _cpp_get_token.  Call
16015         process_directive here.  Throw away CPP_PLACEMARKER tokens.
16016         (_cpp_get_token): Convert tail recursion through
16017         push_macro_context to a loop at this level.
16018         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
16019         _cpp_get_raw_token): Use _cpp_get_token.
16020         (_cpp_skip_rest_of_line): Drop the context stack directly; do
16021         not call pop_context.
16022         (_cpp_run_directive): Call lex_next directly.
16023
16024         * cpphash.h: Prototype _cpp_get_token.
16025         * cppexp.c (lex): Use it.
16026         * cpphash.c (parse_define): Use it.
16027         * cpplib.c (get_define_node, do_undef, parse_include,
16028         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
16029         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
16030         parse_ifdef, validate_else): Use it.
16031         (cpp_push_buffer): Tweak error message; abort if anyone tries
16032         to push a buffer while macro expansions are stacked.
16033
16034 2000-07-11  Donn Terry  <donnte@microsoft.com>
16035
16036         * cpplex.c (free_macro_args, save_token): Cast arg of free
16037         and/or xrealloc to PTR.
16038         (_cpp_init_input_buffer): Clear all fields of the base context.
16039
16040 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
16041
16042         * gensupport.c (process_rtx): Make rtl checking stop
16043         complaining about the define_insn while it is being
16044         converted from a define_insn_and_split.
16045
16046 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
16047
16048         * config/mips/mips.c (simple_memory_operand): Access the
16049         INTVAL of the address, not it's containing MEM.
16050
16051 2000-07-11  Bruce Korb  <bkorb@gnu.org>
16052
16053         * fixinc/fixtests.c(double_slash): obsolete
16054         (else_endif_label): likewise
16055         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
16056         (libc1_ifdefd_memx): correct initial comment
16057         and omit the #if/#endif pair from the memxxx declarations
16058         * fixinc/fixincl.x: regen
16059
16060 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16061
16062         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
16063
16064 2000-07-11  Neil Booth  <NeilB@earthling.net>
16065
16066         * cpp.texi: Update.
16067
16068 2000-07-11  Neil Booth  <NeilB@earthling.net>
16069
16070         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
16071         (handle_option): Set digraphs according to standard.
16072         Merge OPT_lang_c89 handler with OPT_std_c89.
16073
16074         * cpplex.c: (lex_line, can_paste): Honour digraphs in
16075         accordance with the digraphs flag.
16076
16077         * cpplib.h: (struct cpp_options): New option digraphs.
16078
16079 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
16080             Bruce Korb  <bkorb@gnu.org>
16081
16082         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
16083         * fixinc/fixincl.x: Regenerate.
16084         * fixinc/tests/base/testing.h: Add testcase.
16085
16086 2000-07-10  Richard Henderson  <rth@cygnus.com>
16087
16088         * config/ia64/ia64.c (got_symbolic_operand): New.
16089         (symbolic_operand, move_operand): Revert 0701 change.
16090         * config/ia64/ia64.h (PREDICATE_CODES): Update.
16091         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
16092         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
16093         split the offset into a 14-bit low part instead of a 13-bit low part.
16094         (load_fptr): Mark the mem as unchanging.
16095         (load_symptr): Use got_symbolic_operand.
16096
16097 2000-07-10  Nick Clifton  <nickc@cygnus.com>
16098
16099         * libgcc2.c (next_stack_level): Cast result of computation to
16100         (void **) so that the assignment does not generate a warning.
16101
16102 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
16103
16104         * flags.h : Add new variable flag_single_precision_constant.
16105         * toplev.c (display_help) : Add -fsingle-precision-constant option.
16106         (flag_single_precision_constant): New.
16107         * c-lex.c (yylex): Convert floating point constant to single
16108         precision constant.
16109         * invoke.texi : Add documentation for this new option.
16110
16111 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
16112
16113         * diagnostic.c (output_octal): Second parameter is unsigned.
16114         (output_long_octal): Likewise.
16115         (output_hexadecimal): Likewise.
16116         (output_long_hexadecimal): Likewise.
16117         (output_format): Adjust arguments extraction. Tweak.
16118         (output_verbatim, verbatim): End variable argument list.
16119         (report_diagnostic): Improve documentation.
16120
16121 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
16122
16123         * c-common.h (build_stmt): Declare.
16124         (build_continue_stmt): Likewise.
16125         (build_break_stmt): Likewise.
16126         (build_return_stmt): Likewise.
16127
16128         * c-decl.c (do_case): Rewrite to do what previously done in
16129         c-parse.in.
16130
16131         * c-semantics.c (build_stmt): Define.
16132         (build_return_stmt): Likewise.
16133         (build_break_stmt): Likewise.
16134         (build_continue_stmt): Likewise.
16135         (build_case_label): Likewise.
16136
16137         * c-parse.in (BREAK): Change to build tree, then generate RTL.
16138         (CONTINUE): Likewise.
16139         (RETURN): Likewise.
16140         (CASE): Likewise.
16141         (DEFAULT): Likewise.
16142
16143         * c-parse.y: Regenerate.
16144         * c-pasre.c: Likewise.
16145
16146 2000-07-09  Jason Merrill  <jason@redhat.com>
16147
16148         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
16149
16150         * tree.h (STRIP_NOPS): Check for error_mark_node.
16151         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
16152         (dwarf2out_*): Remove duplicate declarations.
16153
16154         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
16155         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
16156
16157 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
16158
16159         * diagnostic.c (wrap_text): New function.
16160         (maybe_wrap_text): Likewise.
16161         (output_add_string): Use it.
16162         (output_format): Likewise.
16163         (count_error): Use verbatim instead of notice.
16164         (report_error_function): Likewise. Don't use plain fprintf.
16165         (finish_diagnostic): New function.
16166         (output_do_verbatim): Tweak.  Commonalize functionalities in
16167         output_verbatim and verbatim.
16168         (output_verbatim): Adjust.
16169         (verbatim): Likewise.
16170         (report_diagnostic): Define.
16171
16172         * diagnostic.h (report_diagnostic): Prototype.
16173
16174 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
16175
16176         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
16177
16178 2000-07-09  Neil Booth  <NeilB@earthling.net>
16179
16180         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
16181         IShspace, ISspace: Update.
16182
16183         * cppinit.c: ISTABLE: Update.
16184         V: New.
16185
16186         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
16187         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
16188         (skip_block_comment, skip_line_comment, parse_string,
16189         lex_line): Use is_vspace rather than IS_NEWLINE.
16190         (skip_whitespace, lex_line): Clean up to use is_nvspace.
16191         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
16192         gets a BOL flag.
16193         (lex_next): Unconditionally stop if within a directive.
16194         Treat directives within macro invocations as directives
16195         (after parse_args emits error), not as the argument.
16196
16197 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
16198
16199         * diagnostic.c (diagnostic_args): New macro.
16200         (diagnostic_msg): Likewise.
16201         (output_formatted_integer): Likewise.
16202         (output_state): New data type.
16203         (digit_buffer): Make global.
16204         (output_add_integer): Rename to output_decimal. Squeeze
16205         digit_buffer.
16206         (output_long_decimal, output_unsigned_decimal,
16207         output_long_unsigned_decimal, output_octal, output_long_octal,
16208         output_hexadecimal, output_long_hexadecimal): New functions.
16209         (output_append_r): New function.
16210         (output_append): Tweak.
16211         (output_flush_on): Rename to output_to_stream.
16212         (output_format): Change prototype.  Improve documentation. Handle
16213         more format specifiers.
16214         (build_location_prefix): Rename to context_as_prefix.
16215         (output_notice): Rename to output_do_printf.
16216         (output_printf): Tweak.
16217         (line_wrapper_printf): Likewise.
16218         (vline_wrapper_message_with_location): Adjust call to renamed
16219         functions.
16220         (v_message_with_decl): Likewise.
16221         (default_print_error_function): Likewise.
16222         (save_output_state): New function.
16223         (restore_output_state): Likewise.
16224         (output_do_verbatim): Likewise.
16225         (output_verbatim): Define.
16226         (verbatim): Likewise.
16227
16228         * diagnostic.h (printer_fn): Change return type from void to int.
16229         Improve documentation.
16230         (output_add_integer): Rename to output_decimal.
16231         (output_flush_on, output_format): Don't export.
16232         (output_verbatim, verbatim): Declare.
16233
16234 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
16235
16236         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
16237         Check whether c divides op1 exactly if operation is not
16238         multiplication.
16239
16240 2000-07-08  Richard Henderson  <rth@cygnus.com>
16241
16242         * final.c (final): Do not abort when reg-stack introduces
16243         a new insn.
16244
16245 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
16246
16247         * cpplib.h (struct cpp_name): Now struct cpp_string.
16248         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
16249         CPP_HEADER_NAME): Change to type S.
16250         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
16251         field, a cpp_hashnode *.  All references to val.name updated
16252         to use val.str or val.node as appropriate.
16253         (struct cpp_reader): Add spec_nodes field.
16254         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
16255
16256         * cpphash.h (struct spec_nodes): New.
16257         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
16258         val.str.  All references to 'spelling > SPELL_NONE' updated to
16259         match.
16260
16261         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
16262         pfile->buffer->inc are not NULL before dereferencing them.
16263
16264         * cpplex.c (parse_name): Take a pointer to the current token,
16265         plus current position and limit as args; return the new
16266         position; don't copy the text of a name into the string
16267         buffer, instead call cpp_lookup and store the node pointer.
16268         If extending a token, copy out the text of the old into a
16269         scratch buffer, append the new, look that up and store the new
16270         node pointer.  Inline.
16271         (maybe_paste_with_next): If the result of paste is a NAME,
16272         then look up the pasted text and store its node pointer.
16273         (lex_line): Adjust for new parse_name interface.
16274         Check for L"str", L'str' using spec_nodes->n_L.
16275         (spell_token): SPELL_IDENT tokens have their spelling in
16276         val.node->name.  Handle SPELL_STRING tokens that don't have
16277         string delimiters.
16278         (_cpp_expand_name_space,
16279         (can_paste): Check for L ## "str" using spec_nodes->n_L.
16280         (cpp_get_token, special_symbol): No need to call cpp_lookup.
16281         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
16282         return 1=equal 0=not, not a tristate.
16283
16284         * cpphash.c (var_args_str): Delete.
16285         (find_param): Compare node fields directly.
16286         (is__va_args__): Use CPP_PEDANTIC.  Just compare
16287         token->val.node with spec_nodes->n__VA_ARGS__.
16288         (dump_funlike_macro): Don't use var_args_str.
16289
16290         * cpplib.c (_cpp_check_directive): Just walk through
16291         spec_nodes->dirs comparing pointers.
16292         (get_define_node, do_pragma_poison, detect_if_not_defined,
16293         parse_ifdef): The identifier has already been looked up.
16294         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
16295         node.
16296         (do_if): Only call detect_if_not_defined at beginning of file.
16297         (_cpp_parse_assertion): Only copy string pointers for
16298         SPELL_STRING tokens.
16299         (pragma_dispatch): Take a node pointer and examine its name
16300         field.
16301         (_cpp_init_stacks): Also initialize the spec_nodes structure.
16302
16303         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
16304         _cpp_init_macros.
16305         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
16306         reverse order from the corresponding _cpp_init_* routines.
16307
16308         * cppexp.c (parse_number, parse_charconst, parse_defined,
16309         lex): Check val.node->type instead of calling cpp_defined.
16310         Use spec_nodes entries where appropriate.
16311
16312         * fix-header.c, scan-decls.c: Update for interface changes.
16313
16314 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
16315
16316         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
16317         emitting aux_truncdfsf2.
16318
16319 2000-07-03  Donn Terry  (donnte@microsoft.com)
16320
16321         * cppinit.c (print_help): split overlong line into ISO C89
16322         maximum chunks.
16323
16324 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
16325
16326         * cppexp.c: Update all code for new lexer interface.
16327         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
16328         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
16329         * cpplex.c (token_names): Trim leading CPP_ from names; make
16330         the strings unsigned.
16331         (_cpp_spell_operator): New.
16332         (is_macro_disabled): Disable all macros if rescanning
16333         preprocessed text.
16334         (_cpp_get_directive_token): Remove.
16335
16336         * cppinit.c: Don't set no_macro_expand.
16337         * cpplib.c (read_line_number, do_line): Check only for EOF,
16338         not VSPACE.
16339         * cpphash.h: Update prototypes.
16340         * cpplib.h (CPP_VSPACE): Remove.
16341         (struct cpp_reader): Remove no_macro_expand.
16342
16343 2000-07-08  Neil Booth  <NeilB@earthling.net>
16344
16345         * cpphash.c (is__va_args__): New function.
16346         (count_params): Fix line reported in error messages.  Use
16347         is__va_args__.  Don't return ')' on error.  Flag GNU style
16348         rest args macro definitions.
16349         (parse_define): Check macro name is not __VA_ARGS__.
16350         (save_expansion): Check identifier in non-varargs-macro is
16351         not __VA_ARGS__.  Don't flag GNU_VARARGS.
16352         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
16353         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
16354          than per-token GNU_VARARGS.
16355         * cpplib.h (GNU_VARARGS): Remove.
16356         (GNU_REST_ARGS): New.
16357
16358 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
16359
16360         * i386.md (call_pop, call, call_value_pop): Do not set
16361         current_function_uses_pic_offset_table for calls to static
16362         functions or indirect calls.
16363
16364 2000-07-07  Jim Wilson  <wilson@cygnus.com>
16365
16366         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
16367         is_predicate_reg, then take max write_count of register pair.
16368
16369 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16370
16371         * tradcpp.c (main): Rename label `include' to `add_include' to
16372         avoid conflicts with variable `include' in traditional C.
16373
16374 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
16375
16376         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
16377
16378 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
16379
16380         * sibcall.c (uses_addressof): Add INMEM argument, check for
16381         current_function_internal_arg_pointer outside of MEM rtxs in addition
16382         to ADDRESSOFs.
16383         (sequence_uses_addressof): Update caller.
16384
16385 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
16386
16387         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
16388         and friends.
16389
16390 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16391
16392         * system.h (UNION_INIT_ZERO): New macro for initializing union
16393         members in structs.
16394
16395         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
16396
16397 2000-07-07  Neil Booth  <NeilB@earthling.net>
16398
16399         * cpp.texi: Update.
16400
16401 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
16402
16403         * final.c (final): Detect out of bounds array access to
16404         the insn_lengths array.
16405
16406 2000-07-07  Kazu Hirata  <kazu@hxi.com>
16407
16408         * fold-const.c (fold): Fix a comment typo.
16409
16410 2000-07-07  Neil Booth  <NeilB@earthling.net>
16411
16412         * cpp.texi: Update to new lexer.
16413
16414 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
16415
16416         * tradcpp.c: New file.
16417         * tradcif.y: New file.
16418         * tradcif.c: New generated file.
16419
16420         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
16421         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
16422         dependencies of C.  Install tradcpp from install-common, in
16423         $(libsubdir).
16424
16425 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
16426
16427         * cppinit.c: Include cppdefault.h.  Refer to
16428         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
16429         to GCC_INCLUDE_DIR and its length.
16430         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
16431         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
16432         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
16433         cppdefault.h.
16434         (include_defaults_array): Move to cppdefault.c.
16435
16436         * cppdefault.h: New file.
16437         * cppdefault.c: New file.
16438
16439         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
16440         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
16441         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
16442         this file.
16443
16444 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16445
16446         * reload.c (push_reload): When seeing if can reuse a register,
16447         check extra registers against widest of INMODE and OUTMODE.
16448
16449 2000-07-06  Neil Booth  <NeilB@earthling.net>
16450
16451         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
16452         based on full length of predicate.
16453
16454 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
16455
16456         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
16457         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
16458
16459 2000-07-05  Kazu Hirata  <kazu@hxi.com>
16460
16461         * h8300-proto.h: Fix formatting.
16462         * h8300.c: Likewise.
16463         * h8300.h: Likewise.
16464
16465 2000-07-05  Jim Wilson  <wilson@cygnus.com>
16466
16467         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
16468         CCmode.
16469
16470 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
16471
16472         * invoke.texi: Fix minor typos
16473         * md.texi: Fix minor typos
16474
16475 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
16476
16477         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
16478
16479 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
16480
16481         * cpplex.c: Don't include sys/mman.h.
16482         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
16483
16484         * cpplib.c: Include sys/mman.h and obstack.h.
16485         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
16486         obstack.
16487         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
16488         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
16489         bother freeing if stack entries (they will be freed with their buffer).
16490         (do_endif): Free if stack entries from the buffer obstack.
16491         (push_conditional): Allocate if stack entries from the buffer obstack.
16492
16493         (find_answer): Rename to _cpp_find_answer.
16494         (do_assert, do_unassert): Update.
16495
16496         * cpphash.h: Update prototypes.
16497         (xobnew): New convenience macro.
16498         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
16499         Update comments.
16500         (struct cpp_hashnode): Remove disabled field.
16501
16502         * cppinit.c: Don't include hashtab.h or splay-tree.h.
16503         (report_missing_guard): Moved to cppfiles.c.
16504         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
16505         cpp_init_includes.
16506         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
16507         cpp_cleanup_includes.  Don't destroy hashtab or
16508         all_include_files here.
16509         (cpp_finish): Use _cpp_report_missing_guards.
16510
16511         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
16512         (_cpp_init_include_table): Rename _cpp_init_includes.
16513         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
16514
16515         * cppexp.c (parse_assertion): Update for new name of
16516         find_answer.
16517
16518         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
16519
16520 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
16521
16522         * cpplib.c (do_ident): s/VSPACE/EOF/
16523
16524 2000-07-05  Neil Booth  <NeilB@earthling.net>
16525
16526         * cpplex.c: Fix trigraph replacement within strings.
16527
16528 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16529
16530         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
16531
16532         * xcoffout.c (assign_type_number): Constify.
16533         (xcoffout_source_file): Add static prototype.  Don't needlessly
16534         cast away const-ness.
16535
16536 2000-07-04  Jason Merrill  <jason@redhat.com>
16537
16538         * frame.h (frame_state): Move base_offset to end.
16539
16540 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
16541
16542         * calls.c (emit_library_call_value_1): Revert previous change.
16543
16544 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
16545
16546         * fix-header.c (struct partial_proto): Remove unnecessary fields.
16547         (recognized_extern, recognized_function, read_scan_file):
16548         Update for new scheme.
16549         (check_protection): It's still a multiple include guard even
16550         if it doesn't always trigger.
16551         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
16552         new scheme.
16553         * scan.h: Declare struct cpp_token.  Update prototypes.
16554
16555 2000-07-03  Neil Booth  <neilb@earthling.net>
16556             Zack Weinberg  <zack@wolery.cumb.org>
16557
16558         Complete overhaul of the lexer and macro expander.
16559
16560         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
16561         arg, arglist, argdata, reflist, collect_objlike_expansion,
16562         collect_funlike_expansion, collect_params,
16563         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
16564         unsafe_chars, macarg, compare_defs, special_symbol,
16565         scan_arguments, stringify, funlike_macroexpand,
16566         _cpp_quote_string, monthnames): Delete.
16567         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
16568         _cpp_create_definition, _cpp_dump_definition,
16569         dump_hash_helper): Adjust.
16570         (find_param, count_params, parse_define, var_args_str,
16571         check_macro_redefinition, save_expansion): New.
16572
16573         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
16574         parse_string, output_line_command, trigraph_replace,
16575         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
16576         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
16577         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
16578         _cpp_skip_rest_of_line): Modify.
16579
16580         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
16581         find_position, null_warning, bump_column, expand_name_space,
16582         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
16583         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
16584         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
16585         _cpp_prescan): Delete.
16586
16587         (dump_param_spelling, process_directive, lex_next,
16588         is_macro_disabled, stringify_arg, expand_context_stack,
16589         output_token, make_string_token, alloc_number_token,
16590         special_symbol, duplicate_token, maybe_paste_with_next,
16591         can_paste, prevent_macro_expansion, restore_macro_expansion,
16592         get_temp_token, release_temp_tokens, quote_string,
16593         token_names, token_spellings, _cpp_expand_name_space,
16594         _cpp_glue_header_name, _cpp_reserve_name_space,
16595         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
16596         placemarker_token, eof_token, cpp_context, macro_args,
16597         get_raw_token, parse_arg, parse_args, save_token,
16598         push_arg_context, push_macro_context, pop_context,
16599         do_pop_context, free_macro_args, _cpp_get_line,
16600         _cpp_run_directive): New.
16601
16602         * cpplib.c (validate_else, parse_include, push_conditional,
16603         pass_thru_directive, read_line_number, parse_ifdef,
16604         detect_if_not_defined, _cpp_check_directive, do_define,
16605         do_undef, do_include, do_import, do_include_next, do_error,
16606         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
16607         top_pragmas, do_pragma_gcc, do_pragma_implementation,
16608         do_pragma_poison, do_pragma_system_header,
16609         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
16610         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
16611         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
16612         cpp_defined): Update for new scheme.
16613         (strtoul_for_line, get_define_node, dump_macro_name,
16614         _cpp_check_linemarker, _cpp_parse_assertion): New.
16615         (_cpp_handle_directive, do_pragma_default): Delete.
16616
16617         * cpphash.h (struct predicate): Now struct answer.
16618         (enum spell_type, struct token_spelling, struct directive,
16619         directive_handler): New.
16620         Update prototypes.  Remove unused macros.
16621         * cpplib.h: Update prototypes.  Remove unused macros,
16622         structure definitions, and fields.
16623
16624         * cpperror.c (print_containing_files, v_message): Adjust.
16625         * cppexp.c (parse_assertion, lex, parse_escape,
16626         _cpp_parse_expr): Adjust.
16627         * cppfiles.c (open_include_file, _cpp_execute_include,
16628         _cpp_compare_file_date, cpp_read_file, read_include_file):
16629         Adjust.
16630         * cppinit.c (dump_special_to_buffer): Delete.
16631         (append_include_chain, merge_include_chains, cpp_reader_init,
16632         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
16633         cpp_finish, handle_option, print_help): Adjust.
16634         * cppmain.c (main): Adjust.
16635
16636 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
16637
16638         * cppspec.c (lang_specific_driver): Use double quotes in error
16639         message.
16640
16641 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
16642
16643         * calls.c (emit_library_call_value_1): Use valreg instead
16644         of hard_libcall_value.
16645
16646 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
16647
16648         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
16649         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
16650         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
16651         (movhi): Likewise.
16652         (movqi): Likewise.
16653         (movdf): Likewise.
16654         (movsf): Likewise.
16655         (movdi): Likewise.
16656         (movti): Likewise.
16657
16658         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
16659         mode instead of wider_mode is being used.
16660
16661 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
16662
16663         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
16664         of 'r'. Use q_regs_operand.
16665         (andsi_1+2): Use q_regs_operand.
16666
16667 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
16668
16669         * builtins.c (get_memory_rtx): Always put into alias set 0.
16670
16671 2000-07-03  Nick Clifton  <nickc@cygnus.com>
16672
16673         * config/arm/arm.md: Fix post increment and pre increment
16674         peepholes so that they do not generate UNPREDICATBLE opcodes.
16675         (ie ones where the increment clobbers the source/destination).
16676
16677 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
16678
16679         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
16680         change too big for -mtiny-stack" a warning, if larger than 63.
16681         (out_set_stack_ptr): Change the logic so -mno-interrupts is
16682         always safe to use on possible future devices.
16683         (function_prologue): Write SPH before SPL, for consistency.
16684         If interrupt_func_p true, we know we have enabled interrupts.
16685         (avr_num_arg_regs): New function.  Round up to even number of
16686         bytes if no -mpack-args or if calling a libgcc function.
16687         (function_arg, function_arg_advance): Use it.
16688         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
16689         Output "movw" if available.
16690         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
16691         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
16692         (asm_output_section_name): Add blanks for consistent output.
16693         (encode_section_info): Set TREE_READONLY for progmem data to
16694         avoid gas warnings about changed section attributes.
16695         (avr_hard_regno_mode_ok): Force non-QImode data to start in
16696         even numbered registers on devices with "movw".
16697         * config/avr/avr.h (MASK_*): Define bits for target_flags.
16698         (TARGET_SWITCHES): Mark help strings for translation.
16699         Add new -mpack-args and -menhanced switches.
16700         (TARGET_OPTIONS): Mark help strings for translation.
16701         (progmem_section): Add section attributes.
16702         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
16703         Output "movw" if available.
16704         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
16705         New patterns.
16706         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
16707         call convention (arguments aligned on even registers).
16708         (_cleanup, _exit): Make weak symbols libc can override.
16709
16710 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16711
16712         * fp-bit.h: New file.
16713
16714         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
16715         Comment #endif statements.
16716         (__thenan_sf, __thenan_df): Add missing braces around initializer.
16717
16718 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
16719
16720         * gcse.c (compute_pre_data): Compute ae_kill using other local
16721         properties instead of calling compute_ae_kill.
16722
16723         * alias.c (init_alias_analysis): Do not call
16724         prologue_epilogue_contains until after reload has completed.
16725
16726 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
16727
16728         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
16729         (genrtl_finish_compound_stmt): Likewise.
16730         (genrtl_compound_stmt): Change to return void.
16731
16732         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
16733         move code from here to ...
16734         (genrtl_compound_stmt): ... here.
16735         (genrtl_finish_compound_stmt): Remove.
16736         (expand_stmt): Add comment.
16737
16738 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
16739
16740         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
16741         and VOID_TYPE_P.
16742
16743 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
16744
16745         * cpplib.h (struct cpp_reader): New field include_depth.
16746         (struct cpp_printer): Rename last_bsd to last_id.
16747         * cppfiles.c (read_include_file): Bump include_depth.
16748         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
16749         (output_line_command): Output correct #line if a header
16750         is including itself and is not protected against multiple inclusion.
16751         Use include_depth instead of buffer_stack_depth, last_id instead of
16752         last_bsd.
16753         * cppinit.c (cpp_start_read): Initialize last_id instead of
16754         last_bsd.
16755
16756 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
16757
16758         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
16759         (c-semantics.o): New target.
16760
16761         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
16762         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
16763         (genrtl_clear_out_block): Likewise.
16764         (genrtl_goto_stmt): Likewise.
16765         (genrtl_expr_stmt): Likewise.
16766         (genrtl_decl_stmt): Likewise.
16767         (genrtl_if_stmt): Likewise.
16768         (genrtl_while_stmt): Likewise.
16769         (genrtl_do_stmt): Likewise.
16770         (genrtl_return_stmt): Likewise.
16771         (genrtl_for_stmt): Likewise.
16772         (genrtl_break_stmt): Likewise.
16773         (genrtl_continue_stmt): Likewise.
16774         (genrtl_scope_stmt): Likewise.
16775         (genrtl_switch_stmt): Likewise.
16776         (genrtl_case_label): Likewise.
16777         (genrtl_begin_compound_stmt): Likewise.
16778         (gerntl_finish_compound_stmt): Likewise.
16779         (genrtl_compound_stmt): Likewise.
16780         (genrtl_asm_stmt): Likewise.
16781         (genrtl_decl_cleanup): Likewise.
16782         (DECL_ANON_UNION_ELEMS): Likewise.
16783         (emit_local_var): Likewise.
16784         (make_rtl_for_local_static): Likewise.
16785         (expand_cond): Likewise.
16786         (expand_stmt): Likewise.
16787         (c_expand_return): Likewise.
16788         (c_expand_start_case): Likewise.
16789         (do_case): Likewise.
16790         (COMPOUND_STMT_NO_SCOPE): Likewise.
16791         (c_expand_asm_operands): Likewise.
16792         (NEW_FOR_SCOPE_P): New macro.
16793         (expand_expr_stmt_fn): New type.
16794
16795         (set_current_function_name_declared): Likewise.
16796         (current_function_name_declared): Likewise.
16797         (lang_expand_stmt): Likewise.
16798         (stmts_are_full_exprs_p): Likewise.
16799         (anon_aggr_type_p): Likewise.
16800         (lang_expand_expr_stmt): Likewise.
16801         (build_case_label): Likewise.
16802
16803         * c-decl.c (lang_expand_expr_stmt): Initialize.
16804         (stmts_are_full_exprs_p): Define.
16805         (current_function_name_declared): Likewise.
16806         (do_case): Likewise.
16807         (lang_expand_stmt): Likewise.
16808         (set_current_function_name_declared): Likewise.
16809         (anon_aggr_type_p): Likewise.
16810
16811         * c-semantics.c: New file.
16812         (expand_cond): Moved from cp/semantics.c.
16813         (genrtl_do_pushlevel): Likewise.
16814         (genrtl_clear_out_block): Likewise.
16815         (genrtl_goto_stmt): Likewise.
16816         (genrtl_expr_stmt): Likewise.
16817         (genrtl_decl_stmt): Likewise.
16818         (genrtl_if_stmt): Likewise.
16819         (genrtl_while_stmt): Likewise.
16820         (genrtl_do_stmt): Likewise.
16821         (genrtl_return_stmt): Likewise.
16822         (genrtl_for_stmt): Likewise.
16823         (genrtl_break_stmt): Likewise.
16824         (genrtl_continue_stmt): Likewise.
16825         (genrtl_scope_stmt): Likewise.
16826         (genrtl_switch_stmt): Likewise.
16827         (genrtl_case_label): Likewise.
16828         (genrtl_begin_compound_stmt): Likewise.
16829         (genrtl_finish_compound_stmt): Likewise.
16830         (genrtl_compound_stmt): Likewise.
16831         (genrtl_asm_stmt): Likewise.
16832         (genrtl_decl_cleanup): Likewise.
16833         (make_rtl_for_local_static): Moved from cp/decl.c.
16834         (emit_local_var): Likewise.
16835         (expand_stmt): Define.
16836
16837         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
16838         (c_expand_return): Likewise.
16839         (c_expand_start_case): Likewise.
16840
16841 2000-07-01  Richard Henderson  <rth@cygnus.com>
16842
16843         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
16844         with the low 13 bits set.
16845         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
16846         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
16847         of the low 13 bits into a CONST plus an adddi3.
16848         (load_symptr): Set RTX_UNCHANGING_P.
16849
16850 See ChangeLog.3 for earlier changes.