OSDN Git Service

* builtins.def (BUILT_IN_FPRINTF): New entry.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-01-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * builtins.def (BUILT_IN_FPRINTF): New entry.
4
5         * c-common.c (c_expand_builtin_fprintf): New function.
6         (init_function_format_info): Handle __builtin_fprintf.
7         (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
8         (c_expand_builtin): Handle BUILT_IN_FPRINTF.
9
10         * c-decl.c (duplicate_decls): Adjust comment.
11
12         * extend.texi (fprintf): Document new builtin.
13
14 2001-01-07  Richard Henderson  <rth@redhat.com>
15
16         * jump.c (simplejump_p): Recognize any single_set jump
17         of the proper form.
18
19 2001-01-07  Richard Henderson  <rth@redhat.com>
20
21         * configure.in (slibdir): Accept an --with-slibdir option.
22         Use "test" not "[" in configure.  Default to $(libdir).
23
24         * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
25         fix typo in rm -f.
26         * config/t-aix43 (SHLIB_INSTALL): Likewise.
27         * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
28         (SHLIB_LINK): Create links for the soname.
29         * config/mips/t-iris6: Likewise.
30         * config/sparc/t-slibgcc: Likewise.
31         * config/sparc/t-slibgcc-sld: Likewise.
32
33 2001-01-07  Jakub Jelinek  <jakub@redhat.com>
34
35         * config/i386/i386.c (constant_call_address_operand): Accept
36         (const (plus (symbol_ref) (const_int))).
37         * config/i386/i386.h (PREDICATE_CODES): Add CONST for
38         constant_call_address_operand.
39
40 2001-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
41
42         * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
43         and LONG_LONG_TYPE_SIZE > 32.
44
45 2001-01-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
46
47         * jump.c (reversed_comparison_code_parts): Fix typo introduced by
48         the previous change.
49
50 Sun Jan  7 19:37:48 MET 2001  Jan Hubicka  <jh@suse.cz>
51
52         * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
53         New.
54         (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
55         (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
56         * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
57         Declare.
58
59 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
60
61         * fix-header.c (read_scan_file): s/pfile/scan_in/.
62
63 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
64
65         * c-lang.c (c_post_options): Call cpp_post_options.
66         * objc/objc-act.c (objc_post_options): Similarly.
67         * cppmain.c (main): Similarly.
68         * fix-header.c (read_scan_file): Similarly.
69         * cppinit.c (cpp_start_read): Move option consistency checks
70         to cpp_post_options.  Don't call init_dependency_output.
71         If needed, add default target and main file dependency.
72         (OPT_MD, OPT_MMD): Remove.
73         (OPT_MF): New.
74         (cpp_handle_option): Update for OPT_* changes.
75         (cpp_post_options): New.
76         (init_dependency_output): Command line -MF overrides environment
77         variables.  Don't set default target etc.  Suppress output
78         if dependencies are going to stdout.
79         (print_help): Update.
80         * cpplib.h (cpp_post_options): New.
81         * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
82         
83 Sun Jan  7 14:44:19 MET 2001  Jan Hubicka  <jh@suse.cz>
84
85         * jump.c (comparison_dominates_p): Support unordered compares.
86
87 Sun Jan  7 14:39:07 MET 2001  Jan Hubicka  <jh@suse.cz>
88
89         * simplify-rtx.c (simplify_relational_operation): Always simplify
90         ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
91         and UNGE.
92
93 Sun Jan  7 14:35:13 MET 2001  Jan Hubicka  <jh@suse.cz>
94
95         * combine.c (combine_simplify_rtx): Recognize the unordered compares.
96         (nonzero_bits): Likewise.
97         (simplify_comparison): Likewise.
98         (num_sign_bit_copies): Likewise; return more sane value depending
99         on STORE_FLAG_VALUE.
100         (known_cond): Do not assume EQ to be always true for equivalent
101         operands.
102
103 Sun Jan  7 14:31:57 MET 2001  Jan Hubicka  <jh@suse.cz>
104
105         * cse.c (fold_rtx): Handle unordered comparisons.
106
107 Sun Jan  7 13:49:19 MET 2001  Jan Hubicka  <jh@suse.cz>
108
109         * rtlanal.c (set_of_1): New static function.
110         (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
111          reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
112          reg_set_last_last_regno): Remove.
113         (set_of): New global function.
114         (set_of_data): New structure.
115         (reg_set_p, reg_set_last): Revamp for set_of.
116         * rtl.h (set_of): New.
117
118 2001-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
119
120         * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
121         * extend.texi: Document _Exit builtin.
122
123 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
124
125         * (initialize, initialize_builtins,
126         initialize_dependency_output, initialize_standard_includes):
127         Rename s/initialize/init. Update.
128         (init_dependency_output): Move to after
129         cpp_handle_options, the correct location temporally at least.
130         (opt_comp): Move next to init (), its caller.  Fix prototype.
131         (init): Make "initialized" local scope.
132         (cpp_create_reader): Always call init ().
133         (cpp_start_read): Update.
134         (output_deps): New function, broken out of cpp_finish.
135         (cpp_finish): Break out output_deps.
136
137 2001-01-07  Richard Henderson  <rth@redhat.com>
138
139         * collect2.c (COFF specific stuff): Revert 12-06 patch
140         to prototype system functions.
141
142 2001-01-07  Michael Hayes  <mhayes@redhat.com>
143
144         * hard-reg-set.h: Add multiple include guard.
145         * basic-block.h (struct loop): Add `sink' field.
146         * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
147         (emit_iv_add_mult): Delete.
148         (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
149         (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
150         (unroll_loop): Remove end_insert_before argument.
151         * loop.c (loop_givs_rescan): Remove end_insert_before argument.
152         (maybe_eliminate_biv_1): Likewise.
153         (emit_iv_add_mult): Delete.
154         (gen_add_mult, loop_regs_update): New.
155         (loop_insn_emit_after, loop_insn_emit_before): New.
156         (loop_insn_sink, loop_insn_sink_or_swim): New.
157         (emit_iv_add_mult): Delete.
158         (scan_loop): Set loop->sink.
159         (loop_givs_reduce): Use loop_insn_sink and its ilk.
160         (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
161         (maybe_eliminate_biv_1): Likewise.
162         (maybe_eliminate_biv_1): Add basic block argument.
163         * unroll.c (unroll_loop): Remove end_insert_before argument.
164         (find_splittable_regs): Likewise.
165         (find_splittable_regs): Use loop_insn_sink and its ilk.
166         (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
167
168 2001-01-07  Michael Hayes  <mhayes@redhat.com>
169
170         * loop.h (loop_insn_hoist): New prototype.
171         * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
172         (move_movables, loop_givs_rescan): Use loop_insn_hoist.
173         (check_dbra_loop, load_mems): Likewise.
174         * unroll.c (unroll_loop, find_splittable_regs): Likewise.
175         (find_splittable_givs): Likewise.
176
177 2001-01-07  Michael Hayes  <mhayes@redhat.com>
178
179         * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
180
181 2001-01-07  Richard Henderson  <rth@redhat.com>
182
183         * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
184
185 2001-01-07  Richard Henderson  <rth@redhat.com>
186
187         * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
188         NO_SHARED_LIBGCC_MULTILIB as required for the target.
189         * gcc.c (init_spec): Massage the existing libgcc_spec into a
190         variant that handles a shared libgcc.
191         (process_command): Always validate -{static,shared}-libgcc.
192         (do_spec_1): New 'M' case.
193         * invoke.text (Link Options): Document -{static,shared}-libgcc.
194
195 2001-01-07  Richard Henderson  <rth@redhat.com>
196
197         * Makefile.in (slibdir): New variable.
198         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
199         (installdirs): Create slibdir.
200         (install-libgcc, install-multilib): Defer to libgcc.mk.
201         * configure.in (slibdir): Substitute.
202         * mklibgcc.in (install): New target.
203
204         * config/t-linux (SHLIB_LINK): Create links for the soname.
205         (SHLIB_INSTALL): New.
206         * config/alpha/t-osf4 (SHLIB_INSTALL): New.
207         * config/mips/t-iris6 (SHLIB_INSTALL): New.
208         * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
209         * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
210         * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
211
212 2001-01-07  Richard Henderson  <rth@redhat.com>
213
214         * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
215         * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
216         * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
217
218 2001-01-07  Michael Hayes  <mhayes@redhat.com>
219
220         * loop.c (count_loop_regs_set): Delete.
221         (load_mems_and_recount_loop_regs_set): Delete.
222         (loop_regs_scan): Merge common code from count_loop_regs_set,
223         scan_loop, and load_mems_and_recount_loop_regs_set.
224         (scan_loop): Call load_mems directly and loop_regs_scan
225         again if new registers created.
226
227 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
228
229         * toplev.c (main): Call the front-end specific post_options
230         hook if one is given.
231         * toplev.h (struct_lang_hooks, lang_hooks): New.
232         * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
233         for the C front end.
234         * cp/decl2.c (cxx_post_options, lang_hooks): Implement
235         lang_hooks for the C++ front end.
236         * objc/objc-act.c (objc_post_options, lang_hooks): Implement
237         lang_hooks for the ObjC front end.
238         * f/com.c (lang_hooks): Hooks for the Fortran front end.
239         * java/lang.c (lang_hooks): Hooks for the Java front end.
240
241 2001-01-07  Neil Booth  <neil@daikokuya.demon.co.uk>
242
243         * c-lex.c (init_c_lex): Request #define / #undef callbacks
244         for verbose DWARF[2] debugging.
245         (cb_define, cb_undef): The new callbacks.
246         * toplev.h (debug_define, debug_undef): Make const correct.
247         * toplev.c (debug_define, debug_undef): Similarly.  Do not   
248         perform the verbosity tests here anymore.
249
250 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
251
252         * reload.c (subst_reloads): Take INSN argument.  When
253         replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
254         * reload.h (subst_reloads): Adjust prototype.
255         * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
256         * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
257         present in JUMP_INSNs and copy them to JUMP_LABEL.
258         * flow.c (find_label_refs, find_basic_blocks_1): Skip
259         JUMP_INSNs and insns with REG_LABELs that are followed by
260         JUMP_INSNs with the same REG_LABEL.
261         * sched-rgn.c (is_cfg_nonregular): Likewise.
262         * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
263         note is available.
264         * unroll.c (unroll_loop): Look for REG_LABEL notes in
265         JUMP_INSNs too.
266         * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
267
268 2001-01-06  Richard Henderson  <rth@redhat.com>
269
270         * loop.c (scan_loop): Use xcalloc for the regs array.
271         (load_mems_and_recount_loop_regs_set): Zero the new memory
272         received from xrealloc.
273
274 2001-01-06  Neil Booth  <neil@daikokuya.demon.co.uk>
275
276         * mkdeps.c (deps_add_dep): Fix vector re-allocation.
277
278 Sat Jan  6 00:09:34 2001  J"orn Rennecke <amylaar@redhat.com>
279
280         * integrate.c (copy_rtx_and_substitute): When copying
281         an ignored return value, strip REG_FUNCTION_VALUE_P.
282
283 2001-01-06  Michael Hayes  <mhayes@redhat.com>
284
285         * loop.c (debug_biv, debug_giv): New.
286         (loop_biv_dump): Break out from ...
287         (record_biv): ... here.
288         (loop_giv_dump): Break out from ...
289         (record_giv): ... here.
290         (loop_bivs_check): Use print_simple_rtl.
291         * unroll.c (loop_iterations): Use print_simple_rtl.
292
293 2000-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
294
295         * pa.md (return, return_internal): Modify patterns to prevent regrename
296         mucking with the return pointer.
297
298 2001-01-05  Mike Stump  <mrs@wrs.com>
299
300         * varasm.c (assemble_name): Ensure we output the stripped name.
301
302 2001-01-05  Richard Henderson  <rth@redhat.com>
303
304         * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
305
306 Fri Jan  5 16:34:18 2001  Nick Clifton  <nickc@redhat.com>
307
308         * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
309         version supplied by Matteo Frigo.
310
311 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
312
313         * cpp.texi: Update for -MQ.
314         * cppinit.c (cpp_create_reader): Always create pfile->deps.
315         (cpp_cleanup): Always free pfile->deps.
316         (initialize_dependency_output): Don't create pfile->deps.
317         (cpp_handle_option): Similarly.
318         (OPT_MQ): New.
319         * gcc.c (cpp_options): Handle -MQ.
320         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
321         * mkdeps.c (base_name): Remove.
322         (deps_init): Don't allocate vector space until it's needed.
323         (deps_free): Only free vectors if allocated.
324         (deps_add_target, deps_add_dep): Update for initial allocation.
325         (deps_add_default_target): Don't strip to the base_name.
326
327 2001-01-05  DJ Delorie <dj@redhat.com>
328
329         * config/v850/v850.h (RETURN_ADDR_RTX): Define.
330         (INIT_EXPANDERS): Define.
331
332         * config/v850/v850.c (struct machine_function): Define.
333         (v850_save_machine_status): New function.
334         (v850_restore_machine_status): New function.
335         (v850_return_addr): New function.
336         (v850_init_expanders): New function.
337
338         * config/v850/v850-protos.h: Add prototypes for v850_return_addr
339         and v850_init_expanders.
340         
341 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
342
343         * cpplib.h (struct cpp_reader): Add help_only field.
344         * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
345         (cpp_handle_option): Set pfile->help_only if we see -h,
346         --help, -target-help, or --version.  Print version string but
347         do not set help_only if we see -v or -version.  Make text
348         printed by -v match that printed by (-)-version.
349
350         * cppmain.c (main): Exit after option parsing if
351         pfile->help_only is true.
352
353         * toplev.c (independent_decode_option): Call print_version,
354         then exit, if we see --version (but not -version).
355         (print_version): Split lengthy message into two lines.
356
357 2001-01-05  Nick Clifton  <nickc@redhat.com>
358
359         * config/v850/v850.c (v850_encode_data_area): Use alloca to create
360         temporary string for initialisation before calling ggc_alloc_string.
361
362 2001-01-06  Michael Hayes  <mhayes@redhat.com>
363
364         * rtl.h (print_simple_rtl): New.
365         * print-rtl.c (print_simple_rtl): New.
366         (flag_simple): New.
367         (print_rtx): Disable printing of flags and modes, etc.,
368         if `flag_simple` nonzero.
369
370 2001-01-05  Zack Weinberg  <zack@wolery.stanford.edu>
371
372         * function.c (fixup_var_refs): Use push_to_full_sequence where
373         possible.
374
375 2001-01-05  Michael Meissner  <meissner@redhat.com>
376
377         * flags.h (flag_reorder_blocks): Add declaration.
378         (flag_rename_block): Ditto.
379
380 2001-01-05  DJ Delorie  <dj@redhat.com>
381
382         * function.c (reorder_blocks): Make sure the flags are all reset
383         before using them to mark blocks, else a second invocation will
384         corrupt the block chain.
385         (reorder_blocks_0): New, resets the flags.
386
387 Fri Jan  5 20:34:06 2001  J"orn Rennecke <amylaar@redhat.com>
388
389         * cse.c (find_comparison_args): Stop if the argument is known to
390         be constant.
391
392 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
393
394         * config/sh/sh.md (movdf): When splitting load into pair of
395         registers, don't clobber the register used in the address too
396         early.
397
398 2001-01-05  Jeffrey Oldham  <oldham@codesourcery.com>
399
400         * varasm.c (mark_constant_pool): Improve initial comments.
401         (mark_constants): Move marking of constants to mark_constant.
402         (mark_constant): New function to recursively mark all constants
403         referred to by a constant.
404
405 2001-01-05  Catherine Moore  <clm@redhat.com>
406
407         * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
408
409 2001-01-05  Phil Edwards  <pme@sources.redhat.com>
410
411         * cp/lang-options.h:  Bring comment in line with reality.
412         * f/lang-options.h:  Likewise.
413         * java/lang-options.h:  Likewise.
414         * objc/lang-options.h:  Likewise.
415         * ch/lang-options.h:  Likewise.
416         * f/g77.texi:  And update the manual.
417
418 2001-01-05  Marek Michalkiewicz  <marekm@linux.org.pl>
419             Denis Chertykov  <denisc@overta.ru>
420
421         * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
422         * config/avr/avr.c (avr_peep2_scratch_safe): New function.
423         * config/avr/avr.md (all peepholes that request a scratch register):
424         Call it, FAIL the peephole if not safe (in interrupt functions).
425
426 2001-01-05  Mark Mitchell  <mark@codesourcery.com>
427
428         * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
429
430 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
431
432         * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
433         Define.
434         * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
435         BUILT_IN_CREAL and BUILT_IN_CIMAG.
436         * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
437         conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
438         (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
439         BUILT_IN_CIMAG.
440         * extend.texi: Document these builtins.
441
442 2001-01-05  Daniel Berlin  <dberlin@redhat.com>
443
444         * c-common.c (lang_get_alias_set): Say we know nothing of
445         VECTOR_TYPE aliasing. 
446
447         * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
448
449 2001-01-05  Bruce Korb  <bkorb@gnu.org>
450
451         * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
452         their x* equivalent versions for atexit-less systems
453         * fixinc/fixincl.c(main): do not return from main() on atexit-less
454         systems (or any other system any more).
455
456 2001-01-05  Richard Earnshaw  <rearnsha@arm.com>
457
458         * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
459         output operands.  Use arm_hard_register_operand for operand 4.
460         (stmsi_postinc): Similarly.
461         (ldmsi): Use arm_hard_register_operand for opernand 2.
462         (stmsi): Similarly.
463         * arm.c (arm_hard_register_operand): New function.
464         * arm-protos.h (arm_hard_register_operand): Prototype it.
465
466         * arm.h (HARD_REGNO_RENAME_OK): Define.
467
468 Fri Jan  5 16:29:49 MET 2001  Jan Hubicka  <jh@suse.cz>
469
470         * simplify-rtx.c (cfc_args): add "unordered" field.
471         (check_fold_consts): Set unordered field.
472         (simplify_relational_operation): Simplify the unordered
473         comparisons.
474
475         * reg-stack.c (swap_rtx_condition): Ensure that the transformation
476         is valid.
477
478         * emit-rtl.c (try_split): Fix code to mark labels.
479         * jump.c (mark_jump_label): Make global.
480         * rtl.h (mark_jump_label): Declare.
481
482         * predict.c (estimate_probability): Handle unordred comparisons.
483
484 2001-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
485
486         * cpp.texi: Update for -MP.  Clarify behaviour of -MT.
487         * cppinit.c (initialize_dependency_output):  Update.
488         (cpp_finish): Output dummy targets for -MP.
489         (OPT_MP): New.
490         (cpp_handle_option): Handle -MP.  Don't quote -MT options.  
491         * cpplib.h (struct cpp_options): Add deps_phony_targets.
492         * gcc.c (cpp_options): Update to handle -MP.
493         * mkdeps.c (deps_add_target, deps_add_default_target): Update
494         to quote only the default target.
495         (deps_phony_targets): Insert a preceding newline.  Rename from
496         deps_dummy_targets for consistency.
497         * mkdeps.h: Update
498
499 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
500
501         * calls.c (emit_library_call_value_1): Support
502         INIT_CUMULATIVE_LIBCALL_ARGS.
503         * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
504
505 2001-01-04  Richard Henderson  <rth@redhat.com>
506
507         * c-decl.c (finish_struct): Detect flexible array members
508         used in an inappropriate context.
509         * c-typeck.c (really_start_incremental_init): Special case
510         constructor_max_index for zero length arrays.
511         (pop_init_level): Allow initialization of flexible array
512         members.  Deprecate initialization of zero length arrays.
513         Don't issue missing initializer warning for flexible array
514         members or zero length arrays.
515         (process_init_element): Don't dereference null DECL_SIZE.
516         * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
517         Don't abort for empty constructors.  Use size_binop
518         (output_constructor): Add commentary regarding zero length 
519         array futures.  Abort if we try to initialize an array of
520         unspecified length with a non-empty constructor in the middle
521         of a structure.
522
523         * extend.texi (Zero Length): Update and clarify documentation
524         on static initialization.
525
526 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
527
528         * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
529         with more than 32767 words of local storage.
530
531 2001-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
532
533         * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
534         for 'abs', 'labs', and 'fabs'.
535         (c4x_expand_builtin): Likewise.
536         * config/c4x/c4x.h (enum c4x_builtins): Likewise.
537
538 2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
539
540         * config/sh/sh.md (prget, prset): New insn types.
541         (return delay slot): Dont' allow prset.
542         (call, sfunc delay slot): Don't allow prget.
543         (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
544         for prset and prget.
545
546 2001-01-05  Michael Hayes  <mhayes@redhat.com>
547         
548         * loop.h (struct loop_reg): New.
549         (struct loop_regs): Change to use array of `struct loop_reg'.
550         * loop.c: Replace assortment of varrays with single regs array.
551         (count_one_set): Delete may_not_move array argument
552         and use regs array instead.  All caller's changed.
553         (count_loop_regs_set): Delete may_not_move and single_usage
554         arguments and use regs array instead.  All caller's changed.
555         (find_single_use_in_loop): Replace usage array argument with pointer
556         to regs structure.  All caller's changed.
557         (loop_optimize): Delete `moved_once' array.
558
559 2001-01-05  Michael Hayes  <mhayes@redhat.com>
560         
561         * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
562         Use it instead of loop_info->has_call for scanning loop mems.
563         (check_dbra_loop): Replace loop_info->has_call test with
564         loop_info->has_nonconst_call.
565
566 2000-01-04  Matthew Hiller  <hiller@redhat.com>
567
568         * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
569         for TARGET_SH3E.
570
571 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
572
573         * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
574         use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
575
576 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
577
578         * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
579         (flag_short_double, flag_short_wchar): Define.
580         (c_common_nodes_and_builtins): Create many tree nodes shared
581         between C and C++ here instead of in cp/decl.c and ...
582         * c-decl.c (init_decl_processing): ... here.
583         (SIZE_TYPE, WCHAR_TYPE): Don't define.
584         (flag_short_double, flag_short_wchar): Don't define.
585         (record_builtin_type): New function.
586         (build_void_list_node): New function.
587         * c-common.h (flag_short_double, flag_short_wchar,
588         record_builtin_type, build_void_list_node): Declare.
589
590 Thu Jan  4 21:09:47 2001  J"orn Rennecke <amylaar@redhat.com>
591
592         * integrate.c (expand_inline_function): Don't put a virtual
593         register into the reg map.
594
595         * function.c (fixup_var_refs_1): If force_operand didn't put
596         the address into the target, move it there.
597
598 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
599
600         Special-case tree_decl/tree_list allocations.
601         * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
602         (OBJECT_SIZE): New macro.
603         (NUM_EXTRA_ORDER): Likewise.
604         (extra_order_size_table): New variable.
605         (NUM_ORDERS): New macro.
606         (objects_per_page_table): New variable.
607         (object_size_table): New variable.
608         (G.pages): Use NUM_ORDERS to bound the array.
609         (G.page_tails): Likewise.
610         (DIV_ROUND_UP): Remove.
611         (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
612         (alloc_page): Use OBJECT_SIZE.
613         (size_lookup): Don't make it const.
614         (ggc_alloc): Use OBJECT_SIZE.
615         (ggc_set_mark): Likewise.
616         (ggc_get_size): Likewise.
617         (init_ggc): Set up the object_size_table, objects_per_page_table,
618         and adjust size_lookup.
619         (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
620         (ggc_pop_context): Use NUM_ORDERS.
621         (clear_marks): Likewise.
622         (sweep_pages): Likewise.
623         (poison_pages): Likewise.
624         (ggc_print_statistics): Use OBJECT_SIZE.
625
626 Thu Jan  4 15:54:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
627
628         * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
629         Only call array_size_for_constructor if last field and array type
630         with no upper bound.
631
632 2001-01-04  Philip Blundell  <philb@gnu.org>
633
634         * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
635         from bit 31 downwards, if this requires no more insns.
636         (count_insns_for_constant): New helper function for above.
637
638 2001-01-04  Alexandre Oliva  <aoliva@redhat.com>
639
640         * gencodes.c (output_predicate_decls): Remove empty initializer.
641
642 2001-01-04  Mark Mitchell  <mark@codesourcery.com>
643
644         * tree.c (copy_node): Remove documentation about obstacks.
645         (buidl1): Check that nobody tries to build 2-argument nodes this
646         way.
647
648 2001-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
649
650         * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
651         fp_high_losum_p.
652
653         * gencodes.c (output_predicate_decls): Fill empty initializer
654         braces.
655
656 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
657
658         * tradcpp.c (deps_file, print_deps_missing_files): New variables.
659         (main): Handle -MG, -MD, -MMD.  Bail out if -MG is given without -M
660         or -MM.
661         (do_include): Handle missing headers like cpp0.
662         * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
663         paths with first include pathname.  Don't strcat to uninitialized
664         string.
665
666 2001-01-04  Bernd Schmidt  <bernds@redhat.com>
667
668         * regrename.c (regrename_optimize): Don't rename from frame pointer
669         if frame_pointer_needed.
670         (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
671         * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
672         (ia64_reorg): Use it instead of scheduling if ! optimize.
673         (errata_emit_nops): Properly call asm_noperands.
674         (ia64_sched_reorder): Finish cycle if we see an asm.
675         (ia64_variable_issue): Clear scheduling state after asms.
676
677 2001-01-04  Neil Booth  <neil@daikokuya.demon.co.uk>
678
679         * cpp.texi: Update for -MT.
680         * cppinit.c (initialize_dependency_output): Add a default
681         target if none has been given already.
682         (no_tgt, OPT_MT): New.
683         (cpp_handle_option): Handle -MT.  Update -M etc.
684         * cpplib.h (struct cpp_options): Remove deps_target.
685         * gcc.c (cpp_options): Handle -MT.
686         * mkdeps.c (struct deps): Move from mkdeps.h.
687         (deps_calc_target): Rename deps_add_default_target.  Add a
688         default target if none has been specified already.
689         * mkdeps.h (struct deps): Move to mkdeps.c.
690         (deps_calc_target): Rename deps_add_default_target.
691
692 2000-01-03  Richard Henderson  <rth@redhat.com>
693
694         * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
695         Remove dead code.
696         * c-typeck.c (push_init_level): Move checks for flexible array
697         members and zero length arrays ...
698         (pop_init_level): ... here.  Silently discard empty initializations.
699         Remove dead code.
700         * varasm.c (output_constructor): Update for sizeof change to
701         zero-length arrays.
702
703         * extend.texi (Zero Length): Clarify semantics.
704
705 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
706
707         * configure.in (tm.h): Include isns-codes.h last.
708         * configure: Rebuilt.
709
710 2001-01-03  Richard Henderson  <rth@redhat.com>
711
712         * config/alpha/alpha.md (addvsi3, addvdi3): New.
713         (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
714         
715 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
716
717         * tradcpp.c (main): Make sure finclude() is called with a valid
718         indepth value while handling -include.
719
720 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
721
722         * gencodes.c (output_predicate_decls): New function.
723         (main): Call it.
724         * machmode.h (GET_MODE_MASK): Arrange for it to be defined
725         even if it is not the first time machmode.h is #included.
726         * config/sh/sh.c (fpul_operand): Declare MODE argument.
727         * tm.texi (PREDICATE_CODES): Document predicate declarations.
728         * gcc.texi (Copyright): Added 2001.
729
730 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
731
732         * c-common.c (c_common_lang_init): New function.  Warn if format
733         warning options which only have effects when used with -Wformat
734         are used without -Wformat.
735         * c-common.h (c_common_lang_init): Declare.
736         * c-lang.c (lang_init): Call c_common_lang_init.
737         * objc/objc-act.c (lang_init): Call c_common_lang_init.
738
739 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
740
741         * configure.in: Check for the mktemp command.
742         * configure: Regenerate.
743         * gccbug.in: Use a separate temporary file $TEMP0 for one use of
744         $TEMP.  Create temporary files with mktemp, if available at
745         configure time; otherwise use set -C.  Remove temporary files
746         before exit.
747
748 2001-01-03  Joseph S. Myers  <jsm28@cam.ac.uk>
749
750         * configure.in: Require at least texinfo 4.0.  Check for whether
751         Pod::Man is sufficiently recent to regenerate GCC manpages.
752         * configure:  Regenerate.
753         * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
754         on #!.
755         (GENERATED_MANPAGES): Define.
756         (generated-manpages): New target.  Depend on cpp.1 as well as
757         gcov.1.
758         (install-man): Depend on $(GENERATED_MANPAGES) (defined by
759         configure to generated-manpages or empty) rather than on the
760         manpages directly.  Remove execute permission from installed
761         gcov.1 as well as cpp.1.
762         * cpp.1, gcov.1: Regenerate.
763
764 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
765
766         * builtins.c (expand_builtin_strncmp): Use host_integerp and
767         tree_low_cst.  Allow using cmpstrsi in more cases.
768
769 Wed Jan  3 10:48:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
770
771         * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
772         sized types.
773
774 Wed Jan  3 12:22:32 2001  Alexandre Oliva  <aoliva@redhat.com>
775
776         * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
777         * Makefile.in (HOST_CFLAGS): Mention build-make.
778
779 Wed Jan  3 08:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
780
781         * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
782         as JUMP_INSN.
783
784 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
785
786         * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
787         a REG rtx.
788
789         * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg.  All
790         callers changed.
791
792         * alias.c (throughout): Use ORIGINAL_REGNO when accessing
793         reg_base_value and reg_known_value arrays.
794         (init_alias_analysis): Add more cases to detect known values.
795         * sched-deps.c (deps_may_trap_p): New function.
796         (sched_analyze_2): Use it.
797
798 2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
799
800         * combine.c (simplify_shift_const): Even if we're sign-extracting,
801         don't discard an ASHIFTRT if we're shifting in a wider mode.
802
803 2000-01-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
804
805         * toplev.c (rest_of_compilation): Don't print basic block information
806         when CFG isn't up to date.
807
808 2001-01-02  Mark Elbrecht  <snowball3@bigfoot.com>
809
810         * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
811         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
812         (UNALIGNED_SHORT_ASM_OP): Define.
813         (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
814
815 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
816
817         * fold-const.c (fold_convert): Fix typo.
818
819 2001-01-02  Richard Henderson  <rth@redhat.com>
820
821         * c-common.h (ASM_INPUT_P): New.
822         * c-parse.in (asm): Set it when needed.
823         * c-semantics.c (genrtl_asm_stmt): Test it instead of the 
824         existance of an operand.
825
826 Tue Jan  2 20:27:07 MET 2001  Jan Hubicka  <jh@suse.cz>
827
828         * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
829         (dwarf2out_frame_debug_expr): Likewise.
830         (mem_loc_descriptor): Handle PRE and POST_MODIFY.
831
832 Tue Jan  2 20:21:31 MET 2001  Jan Hubicka  <jh@suse.cz>
833
834         * i386.c (ix86_split_to_parts): Return number of part required;
835         handle TFmodes.
836         (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
837         TFmodes.
838         (ix86_split_long_move): Use number of part returned
839         by ix86_split_to_parts
840         * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
841         New macros.
842         (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
843         (LONG_DOUBLE_TYPE_SIZE): Change from constant.
844         (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
845         (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
846         (ALIGN_MODE_128): Add TFmode.
847         (IS_STACK_MODE): Likewise.
848         (HARD_REGNO_NREGS): TFmode needs 3 registers.
849         (HARD_REGNO_OK): Support TFmodes.
850         (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
851         * i386.md (scheduler definitions): Use memory operand to determine
852         fst/fld instructions; use mode attribute to determine real mode of
853         the instruction.
854         (*tf): New patterns, expanders and splitters; based on XFmode patterns.
855         * invoke.texi (128bit-long-double, 96bit-long-double): Document.
856
857 2001-01-02  Mark Mitchell  <mark@codesourcery.com>
858
859         * tree.def (TRUTH_NOT_EXPR): Improve documentation.
860
861 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
862
863         * expr.c (store_constructor_field): Update ALIGN before calling
864         store_constructor.
865
866 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
867
868         * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
869         host_integerp.
870
871 2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>
872
873         * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
874         incomplete type.
875
876 Tue Jan  2 10:47:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
877
878         * c-decl.c (start_function): Don't warn on third parameter to main.
879
880 2001-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
881
882         * tsystem.h: Define HAVE_DECL_GETOPT.
883
884 2001-01-02  Philip Blundell  <pb@futuretv.com>
885
886         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber 
887         of input operand.
888
889 2001-01-02  Richard Henderson  <rth@redhat.com>
890
891         * alpha.md (*ze_and_ne): Duplicate insn condition to split.
892
893 2001-01-02  Andreas Jaeger  <aj@suse.de>
894
895         * c-decl.c (c_decode_option): Remove support of
896         -Wmissing-noreturn.
897
898         * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
899         (W_options): Add -Wmissing-noreturn here.
900
901         * flow.c: Define lang_missing_noreturn_ok_p.
902         (check_function_return_warnings): Use it.
903
904         * c-common.h: Declare lang_missing_noreturn_ok_p.
905
906         * c-lang.c (c_missing_noreturn_ok_p): New function.
907         (lang_init): Set lang_missing_noreturn_ok_p.
908
909         * invoke.texi (Warning Options): Document this.
910
911 2000-12-27  Phil Edwards  <pme@sources.redhat.com>
912
913         * extend.texi (C++ Extensions):  New node for C++ attributes;
914           describe init_priority and com_interface.
915         * invoke.texi:  Remove -finit-priority as it now has zero effect.
916         * install.texi:  Fix xref syntax.
917         * md.texi:  Likewise.
918
919 Mon Jan  1 21:28:29 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
920
921         * config.gcc (sparc64-wrs-vxworks*): New case.
922         * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
923
924         * config/sparc/sparc.c (sparc_override_options): Do support different
925         pointer and architecture size.
926         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
927         (POINTERS_EXTEND_UNSIGNED): Define.
928         (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
929         (FUNCTION_MODE): Define to be Pmode.
930         * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
931
932         * function.c (expand_function_end): Properly handle DECL_RESULT
933         and copy when ptr_mode != Pmode.
934         * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
935
936 2001-01-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
937
938         * c-common.c (c_common_nodes_and_builtins): Set prototype
939         parameters for __builtin_fputs, __builtin_fputc and
940         __builtin_fwrite.  Don't declare plain fputc as a builtin.
941
942 2001-01-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
943
944         * loop.c (add_label_notes): Increment the label usage count when
945         a note is added to an insn which refers to a CODE_LABEL.
946         * gcse.c (add_label_notes): Likewise.
947
948 2001-01-01  Andreas Jaeger  <aj@suse.de>
949
950         * loop.c (scan_loop): Use xmalloc to allocate movables.
951
952 2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
953
954         * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
955         * reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
956         * reload1.c (REGISTER_MOVE_COST): Likewise.
957         * regclass.c (REGISTER_MOVE_COST): Likewise.
958         (move_cost, may_move_in_cost, may_move_out_cost): Add mode
959         dimension.  Adjust all users.
960         (init_reg_sets_1): Iterate on all modes.
961         * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
962         * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
963         * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
964         * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
965         * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
966         * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
967         * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
968         * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
969         * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
970         * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
971         * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
972         * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
973         * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
974         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
975         * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
976         * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
977         * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
978         * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
979         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
980         * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
981         * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
982         * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
983         * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
984         * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
985         * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
986         * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
987         * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
988
989 2001-01-01  Bernd Schmidt  <bernds@redhat.com>
990
991         * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
992         arg VARIES_P.  Call it with extra arg.
993         (true_dependence): Likewise.
994         * rtl.h (rtx_addr_can_trap_p): Declare.
995         (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
996         prototypes.
997         * rtlanal.c (rtx_addr_can_trap_p): No longer static.
998         (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
999         pic offset table register if it's zero.  All callers changed.
1000         (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
1001
1002 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1003
1004         * explow.c (convert_memory_address, case SYMBOL_REF): Copy
1005         STRING_POOL_ADDRESS_P.
1006
1007         * config/sparc/sparc.c (input_operand): Properly test for short op.
1008
1009         * config.gcc (sparc-*-elf): Include sparc/sol2.h.
1010         (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
1011         (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
1012         * config/sparc/elf.h: No longer include sol2.h.
1013         * config/sparc/lifeelf.h: No longer include sparc/elf.h.
1014         * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
1015
1016         * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
1017
1018 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1019
1020         * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
1021         (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
1022         (record_initial): Likewise.
1023         * unroll.c (copy_loop_body, loop_iterations): Likewise.
1024         (remap_split_bivs): Likewise.
1025
1026 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1027
1028         * loop.c (loop_ivs_free): New function.
1029         (strength_reduce): Break out from...
1030
1031 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1032
1033         * loop.h (struct iv): New.
1034         (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
1035         (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
1036         'reg_biv_class' fields with 'regs' and 'n_regs'.
1037         (struct ivs): Rename 'loop_iv_list' field to 'list'.
1038         * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
1039         * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
1040
1041 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
1042
1043         * resource.c (mark_referenced_resources): Abort() before
1044         attempting to mark a pseudo register.
1045         (mark_set_resources): Likewise.
1046
1047 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1048
1049         * loop.h (REG_IV_CLASS): New accessor macro.
1050         * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
1051         * unroll.c (REG_IV_CLASS): Likewise.
1052
1053 Sun Dec 31 19:20:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1054
1055         * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
1056         (loc_descriptor_from_tree, case SAVE_EXPR): New.
1057
1058 2001-01-01  Michael Hayes  <mhayes@redhat.com>
1059
1060         * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
1061         (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
1062         (prescan_loop): Set pre_header_has_call in loop_info.
1063         * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
1064         (struct loop_info): Add `pre_header_has_call'.
1065
1066         * loop.c (loop_bivs_find): Break out from strength_reduce.
1067         (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
1068         (loop_givs_check, loop_biv_eliminable_p): Likewise.
1069
1070         * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
1071         (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
1072
1073         * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
1074         * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
1075         direct access to uid_luid array.
1076         * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
1077
1078         * loop.h (struct loop_movables): New.
1079         (LOOP_MOVABLES): New.
1080         (struct loop_info): Add movables field.
1081         * loop.c (struct movables): Delete.  Replace all uses
1082         with struct loop_movables.
1083         (the_movables): Delete.  Replace all uses with movables
1084         field in loop_info.
1085         (loop_movables_add, loop_movables_free): New functions.
1086         (scan_loop): Use xmalloc instead of alloca for movables.
1087         Call loop_movables_free.
1088
1089         * loop.c (debug_loops): New.
1090
1091 2000-12-31  Philip Blundell  <philb@gnu.org>
1092
1093         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
1094         operands.
1095
1096 2000-12-30  Richard Henderson  <rth@redhat.com>
1097
1098         * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
1099         Initialize variables properly for DBX_LBRAC_FIRST.
1100
1101 2000-12-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1102
1103         * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
1104
1105 2000-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1106
1107         * builtins.c (validate_arglist): New function, use it.
1108
1109 2000-12-30  Philip Blundell  <philb@gnu.org>
1110
1111         * config/arm/arm.c (arm_expand_prologue): Fix typos in error
1112         message and comment.  Note location of testcase for an unhandled
1113         situation.
1114
1115 2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>
1116
1117         * defaults.h (BUILD_VA_LIST_TYPE): New definition.
1118         * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
1119         is a copy, not an alias.
1120
1121 2000-12-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1122
1123         * calls.c (calls_function_1, case CONSTRUCTOR): New case.
1124
1125         * alias.c (alias_sets_conflict_p): New function.
1126         (mems_in_disjoint_alias_sets_p): Use it.
1127         (readonly_fields_p): Moved from expr.c; check for record type.
1128         (objects_must_conflict_p): New function.
1129         * calls.c (expand_call): Use assign_temp as much as possible, use
1130         readonly variant if assigned once, and don't set memory attributes.
1131         (emit_library_call_value_1, store_one_arg): Likewise.
1132         * integrate.c (expand_inline_function): Likewise.
1133         * stmt.c (expand_asm_operands, expand_return): Likewise.
1134         * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
1135         (store_field, save_noncopied_parts, expand_expr): Likewise.
1136         (expand_expr_unaligned): Likewise.
1137         (readonly_fields_p): Moved to alias.c.
1138         (safe_from_p): Rework handling of SAVE_EXPR.
1139         MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
1140         * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
1141         (assign_stack_for_temp): Use objects_must_confict_p.
1142         Set all memory attributes from type, if specified.
1143         (mark_temp_slot): Mark TYPE field.
1144         * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
1145         (objects_must_conflict_p): Likewise.
1146
1147         * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
1148         (add_case_node): No need to copy nodes anymore.
1149
1150 2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
1151
1152         * config/sh/sh.c (split_branches): Don't dereference re-computed
1153         `beyond' before checking it's non-NULL.
1154
1155 2000-12-29  Robert Lipe <robertl@sco.com>
1156
1157         Remove COFF support from i?86-pc-sco3.2v5.
1158         * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
1159         (TARGET_ELF): Now always true.
1160         (SUBTARGET_SWTICHES: )Remove -mcoff.
1161
1162         * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
1163         MULTILIB_EXCEPTION): Nuke coff.
1164         (CRTSTUFF_T_CFLAGS_S):  Deleted.
1165         (TARGET_LIBGCC2_CFLAGS): Added.
1166
1167 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1168
1169         * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
1170         twice.  Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
1171         modifies them.
1172
1173 2000-12-29  Bernd Schmidt  <bernds@redhat.com>
1174
1175         * ia64.c (ia64_expand_load_address): Accept additional scratch
1176         register argument.  All callers & prototype changed.
1177         Use scratch register when generating load_symptr insns.
1178         * ia64.md (movdi_symbolic): Clobber a scratch register.  Use it
1179         when calling ia64_expand_load_address.
1180         (movdi): Generate movdi_symbolic with additional operand.
1181         (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
1182         (load_symptr): Likewise.  Use additional operand as a scratch
1183         register instead of generating it here.
1184
1185         * basic-block.h: Add a comment.
1186         * flow.c (PROP_POSTRELOAD): New macro.
1187         (update_life_info): Add it to prop_flags.
1188         (mark_set_1): If it is set, compute REG_N_SETS for the original
1189         register number of a hard reg.
1190
1191         * emit-rtl.c (gen_raw_REG): New function.
1192         (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
1193         gen_rtx_raw_REG.
1194         * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
1195         * final.c (alter_subreg): Update it.
1196         * regrename.c (do_replace): Likewise.  Use gen_raw_REG.
1197         * rtl.def (REG): Update comment.
1198         * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
1199         (gen_raw_REG): Declare.
1200
1201 2000-12-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1202
1203         * tree.c (get_set_constructor_bits): Use host_integerp and
1204         tree_low_cst.
1205
1206         * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
1207
1208         * toplev.c (main): Call xmalloc_set_program_name.
1209         * gcc.c (main): Likewise.
1210
1211 2000-12-29  Philip Blundell  <philb@gnu.org>
1212
1213         * config/arm/arm.c (arm_override_options): Fix typo in warning
1214         message.
1215
1216 2000-12-29  Richard Henderson  <rth@redhat.com>
1217
1218         * config/alpha/alpha.c (alpha_expand_block_move): Initialize
1219         src_align and dst_align in bits.  Do unaligned quadword loads
1220         if possible for BWX too.
1221         (alpha_expand_block_clear): Initialize align in bits.  Track
1222         small leading offsets into a larger alignment.  Play games with
1223         stq_u for large 4-byte aligned blocks.  Use load/mask/store
1224         for appropreately aligned heads and tails.
1225
1226 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1227
1228         * function.c (assign_parms): Convert arguments passed by
1229         reference to the right mode.
1230
1231 2000-12-28  Geoffrey Keating  <geoffk@redhat.com>
1232
1233         * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
1234         on the condition of a FOR statement, so that it gets typechecked
1235         and optimised.
1236
1237 2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
1238
1239         * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
1240         array size.
1241
1242         * calls.c (emit_library_call_value_1): Add to call_fusage the
1243         stack slot assigned to argument passed by reference.
1244
1245 2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>
1246
1247         * toplev.h (extern really_sorry): Remove extern declaration for
1248         nonexistent function.
1249
1250 2000-12-28  Jeffrey Oldham  <oldham@codesourcery.com>
1251
1252         * varasm.c (initializer_constant_valid_p): Indicate subtraction of
1253         pointers to the same string constant is absolute.
1254
1255 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
1256
1257         * c-common.c (enum format_type): Add strfmon_format_type.
1258         (decl_attributes): Handle format attributes strfmon and
1259         __strfmon__.
1260         (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
1261         FMT_FLAG_EMPTY_PREC_OK): Define.
1262         (format_char_info): Update comment for flag_chars.
1263         (format_flag_spec): Add skip_next_char.
1264         (format_kind_info): Add left_precision_char.
1265         (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
1266         format_types): Update for these new structure members and flags.
1267         (time_char_table): Make const.
1268         (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
1269         monetary_char_table): New.
1270         (format_types): Add details of strfmon formats.
1271         (init_function_format_info): Create default attribute for strfmon.
1272         (check_format_info_main): Check the new flags.  Handle
1273         skip_next_char and left precision.
1274         * toplev.c (documented_lang_options): Update description of
1275         -Wformat.
1276         * extend.texi: Document strfmon format attributes.  Document
1277         attribute forms such as __printf__.  Clarify format_arg attribute
1278         documentation.
1279         * invoke.texi (-Wformat): Update for strfmon formats.
1280
1281 2000-12-28  Andreas Jaeger  <aj@suse.de>
1282
1283         * expmed.c (store_bit_field): Fix last patch.
1284
1285 2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
1286
1287         * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
1288         the trailing `__'.
1289
1290 2000-12-28  Alan Lehotsky  <lehotsky@tiac.net>
1291
1292         * expmed.c (store_bit_field): Correctly compute smallest mode that
1293         is sufficient to contain all bits we are storing.
1294
1295 2000-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1296
1297         * builtins.c (build_function_call_expr): New function.  Use it
1298         everywhere in lieu of manually constructing a CALL_EXPR.
1299
1300 2000-12-27  Chandrakala Chavva  <cchavva@redhat.com>
1301
1302         * calls.c (store_one_arg):  If parm is passed both in stack and in
1303         register and offset is greater than reg_parm_stack_space, split
1304         the offset and call emit_push_insn().
1305
1306 2000-12-27  Nick Clifton  <nickc@redhat.com>
1307
1308         * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
1309         PARALLEL.
1310
1311 2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
1312
1313         * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
1314         flag.
1315
1316 2000-12-27  Bruce Korb  <bkorb@gnu.org>
1317
1318         * fixinc/Makefile.in: fix for ancient Bourne shell
1319         * fixinc/Makefile.BEOS: obsolete
1320         * fixinc/Makefile.DOS: obsolete
1321         * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
1322
1323 2000-12-27  Bernd Schmidt  <bernds@redhat.com>
1324
1325         * sched-deps.c (get_condition, conditions_mutex_p): New functions.
1326         (add_dependence): Use them to avoid adding unnecessary dependencies
1327         between conditionally executed insns.
1328         (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
1329         dependency lists if current insn is a COND_EXEC.
1330
1331 2000-12-27  Geoffrey Keating  <geoffk@redhat.com>
1332
1333         * config/rs6000/rs6000.md (define_attr "length"): Correct
1334         calculation.
1335
1336 2000-12-26  Kazu Hirata  <kazu@hxi.com>
1337
1338         * config/h8300/h8300.c: Fix a comment typo.
1339         (get_shift_alg): Fix a typo in the assembly code for 12-bit
1340         ASHIFTRT in HImode.  Do not output extra whitespace after one line
1341         of assembly code.  Output a tab after an opcode instead of a
1342         space.
1343         (emit_a_shift): Output a tab after an opcode instead of a space.
1344
1345 2000-12-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1346
1347         * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
1348         out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
1349         %4 in output templates, do not modify operands passed by the caller.
1350
1351 2000-12-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1352
1353         * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
1354         Don't define.
1355         * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
1356         BUILT_IN_LLABS and BUILT_IN_IMAXABS.
1357         * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
1358         builtin labs, llabs and imaxabs.
1359         (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
1360         and BUILT_IN_IMAXABS.
1361
1362 2000-12-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1363
1364         * c-common.c (builtin_function_2): New function.
1365         (c_common_nodes_and_builtins): Use it to define each pair (foo,
1366         __builtin_foo) of builtins in one place.
1367
1368 2000-12-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1369
1370         * gccbug.in: Add libgcj and preprocessor categories.
1371
1372 2000-12-22  Bernd Schmidt  <bernds@redhat.com>
1373
1374         * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
1375         the final scheduling pass.
1376
1377 2000-12-22  Nick Clifton  <nickc@redhat.com>
1378
1379         * config/arm/arm.h (struct machine_function): Add new field
1380         'lr_save_eliminated'.
1381         * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
1382         link register if its save has been eliminated.
1383         (output_arm_prologue): Mention if the save of the link register
1384         has been eliminated.
1385         (output_arm_epilogue): Rename 'live_regs_mask' to
1386         'saved_regs_mask'.
1387         Test 'saved_regs_mask' for the link register, not regs_ever_live.
1388         (arm_expand_prologue): If the link register has not been saved set
1389         lr_save_eliminated and emit a USE to prevent later passes from
1390         scavenging it.
1391
1392         * dwarf2out_frame_debug_expr: Allow the (scratch) frame
1393         pointer to be initialised from the stack pointer plus a
1394         constant.
1395
1396 2000-12-22  Bernd Schmidt  <bernds@redhat.com>
1397
1398         * regrename.c (struct du_chain): New field "earlyclobber".
1399         (enum scan_actions): Remove unused entry "note_reference".
1400         (enum scan_actions_name): Likewise.
1401         (note_sets, clear_dead_regs, merge_overlapping_regs): New static
1402         functions.
1403         (regrename_optimize): Use them to compute unavailable regs; get
1404         rid of the more simpleminded code we used to have here.
1405         Use a tick array to ensure registers are allocated in a more
1406         round-robin way.  Disable code that only optimizes registers
1407         that were seen more than once.
1408         (referenced_regs): Remove variable.
1409         (scan_rtx_reg): New arg "earlyclobber".  All callers changed.
1410         Store its value in newly generated du_chain structures.
1411         Add new du_chains at the end, not the start, of the list.
1412         Don't handle the "note_reference" action.
1413         (scan_rtx): New arg "earlyclobber".  All callers changed.
1414         (build_def_use): Lose code to keep track of referenced regs.
1415
1416 2000-12-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1417
1418         * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
1419
1420         * fp-bit.h (usi_to_float): Add prototype.
1421
1422         * i386.c (ix86_expand_builtin): Delete unused label.
1423
1424         * dwarf2out.c (file_info_cmp): Prototype.
1425         (dwarf2out_line): Hide variable `old_in_use'.
1426
1427         * objc-act.c (objc_fatal): Delete.
1428
1429         * sched-vis.c (visualize_stall_cycles): Remove unused variable.
1430
1431         * system.h (getopt): Fix error in last change.
1432
1433         * varasm.c (assemble_trampoline_template): Constify.
1434
1435 2000-12-22  Jason Merrill  <jason@redhat.com>
1436
1437         * collect2.c (main): Use auto_demangling.
1438
1439 2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
1440
1441         * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
1442         when optimizing PARALLEL to REG.
1443
1444 2000-12-22  Graham Stott  <grahams@redhat.com>
1445
1446         * reload.c (update_auto_inc_notes): New, broken out from ...
1447         (find_reloads_address_1): ... use here, also correct possible
1448         use of uninitialised reloadnum.
1449
1450 2000-12-21  David O'Brien  <obrien@FreeBSD.org>
1451
1452         * config/freebsd.h (LIB_SPEC): remove -kthread option.
1453
1454 2000-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1455
1456         * resource.c (mark_set_resources): Use MARK_SRC_DEST for
1457         PRE_MODIFY and POST_MODIFY cases.
1458
1459         * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
1460
1461 2000-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1462
1463         * md.texi (Looping Patterns): New node.
1464
1465 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1466
1467         * gcc.texi, cpp.texi: Update last-updated dates.
1468
1469 2000-12-21  Chandrakala Chavva  <cchavva@redhat.com>
1470
1471         * varasm.c (output_addressed_constants): Use language specific
1472         expander on unknown nodes.
1473
1474 2000-12-21  Graham Stott  <grahams@redhat.com>
1475
1476         * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
1477
1478 2000-12-21  Bernd Schmidt  <bernds@redhat.com>
1479
1480         * Makefile.in (out_object_file): Depend on sched-int.h.
1481         * rtl.h (single_set_1): New macro.
1482         (single_set_2): Renamed from single_set_1 and extra argument added.
1483         * rtlanal.c (single_set_2): Likewise.
1484
1485         * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
1486         ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
1487         ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
1488         Declare.
1489         * config/ia64/ia64.c: Include "sched-int.h".
1490         (hard_regno_rename_ok): Also disallow renaming from the various
1491         reg_save_* regs.
1492         (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
1493         ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
1494         safe_group_barrier_needed_p, fixup_errata): New static functions.
1495         (rtx_needs_barrier):  Handle bundle selector and cycle display
1496         insns.
1497         (emit_insn_group_barriers): Accept additional FILE * arg.  All
1498         callers changed.  Rework to only generate stop bits between
1499         basic blocks that haven't been inserted by scheduling.
1500         (struct bundle, struct ia64_packet): New structures.
1501         (NR_BUNDLES, NR_PACKETS): New macros.
1502         (bundle, packets, type_names): New static arrays.
1503         (ia64_final_schedule): New variable.
1504         (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
1505         gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
1506         cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
1507         find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
1508         New static functions.
1509         (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
1510         ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
1511         functions.
1512         (ia64_reorg): Perform a final scheduling pass.
1513         * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
1514         (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
1515         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
1516         MD_SCHED_VARIABLE_ISSUE): Define macros.
1517         (ia64_final_schedule): Declare variable.
1518         * config/ia64/ia64.md (attr itanium_class): Add some more classes.
1519         (attr type): Account for them.
1520         (itanium_requires_unit0): New attribute.
1521         (function units): Rewrite.
1522         (some splitters): Don't create scheduling barriers here.
1523         (gr_spill_internal, gr_restore_internal): Don't predicate the
1524         pseudo-op.
1525         (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
1526         bundle_selector): New patterns.
1527         (insn_group_barrier): Now has an operand.
1528
1529 2000-12-21  DJ Delorie  <dj@redhat.com>
1530
1531         * dwarf2out.c (simple_decl_align_in_bits): new
1532         (field_byte_offset): Try both the type align and the
1533         decl align, use whichever works, preferring the type align.
1534
1535 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1536
1537         * gccbug.in: Fix typo.
1538
1539 2000-12-20  Benjamin Kosnik  <bkoz@redhat.com>
1540
1541         * Makefile.in (gcc_gxx_target_include_dir): Use instead of
1542         build_tooldir and libstdcxx_incdir.
1543
1544 2000-12-20  Robert Lipe <robertlipe@usa.net>
1545
1546         * haifa-sched.c (schedule_block): Provide empty source statement
1547         if not MD_SCHED_REORDER2.
1548
1549 2000-12-20  Richard Henderson  <rth@redhat.com>
1550
1551         * rtl.h (REG_NON_LOCAL_GOTO): New.
1552         * rtl.c (reg_note_name): Update.
1553         * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
1554         * builtins.c (expand_builtin_longjmp): Likewise.
1555         * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
1556         not emit an edge.
1557
1558 2000-12-20  Marek Michalkiewicz  <marekm@linux.org.pl>
1559
1560         * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
1561         Do not output undefined opcodes where source or destination register
1562         overlaps with modified pointer register.  Handle (X + d) addresses.
1563         * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
1564         in alternatives with memory operand.
1565
1566 2000-12-20  Richard Henderson  <rth@redhat.com>
1567
1568         * c-typeck.c (build_asm_stmt): New, broken out from ...
1569         (c_expand_asm_operands): ... here.  Just do rtl expansion.
1570         (c_expand_return): Return the new stmt node.
1571         (c_start_case, do_case): Likewise.
1572         * c-common.c (c_expand_expr_stmt): Likewise.
1573         * c-common.h: Update declarations.
1574         * c-tree.h: Likewise.
1575         * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
1576         * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
1577         (nested_function, notype_nested_function): Likewise.
1578         (compstmt): Return the compound statement not the binding level.
1579         (lineno_labeled_stmt): Simplify.
1580         (lineno_stmt, lineno_label): Set STMT_LINENO.
1581         (stmt, label): Return the new stmt node.
1582
1583 2000-12-20  Bernd Schmidt  <bernds@redhat.com>
1584
1585         * Makefile.in (OBJS): Add sched-ebb.o.
1586         (sched-ebb.o): New rule.
1587         (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
1588         (haifa-sched.o): Depend on insn-flags.h.
1589         * haifa-sched.c: Include "insn-flags.h".
1590         (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
1591         callback.
1592         * rtl.h (schedule_ebbs): Declare.
1593         * sched-int.h (struct sched_info): Add new members
1594         contributes_to_priority and compute_jump_reg_dependencies.
1595         * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
1596         New functions.
1597         (region_sched_info): Add them.
1598         * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
1599         * sched-ebb.c: New file.
1600         * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
1601
1602         * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
1603         handle all relational operators.
1604
1605 2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
1606
1607         * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
1608         * tm.texi: Document it.
1609
1610 2000-12-19  Benjamin Kosnik  <bkoz@redhat.com>
1611
1612         * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
1613         instead of gcc_tooldir.
1614
1615 2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1616
1617         * system.h (getopt): Update prototype to match include/getopt.h.
1618
1619 2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1620
1621         From Jeff Law.
1622         * pa.c (basereg_operand): Simplify.
1623
1624 2000-12-19  Bernd Schmidt  <bernds@redhat.co.uk>
1625
1626         * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
1627         not block number.  All callers and prototype changed.
1628         (set_priorities): Likewise.
1629         (save_line_notes): Add head and tail arguments; all callers and
1630         prototype changed.
1631         (restore_line_notes): Likewise.  Don't crash on insns generated
1632         during scheduling.
1633         (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
1634         Call MD_SCHED_INIT with additional argument.
1635         When starting a new cycle, emit cycle_display insns if available.
1636         Don't stop scheduling when encountering a JUMP_INSN, but add another
1637         call to schedule_more_p in the inner loop.
1638         Call MD_SCHED_REORDER2 after scheduling an insn.
1639         Call MD_SCHED_FINISH once all insns are scheduled.
1640         (sched_init): Compensate for the fact that get_block_head_tail
1641         doesn't include leading notes.
1642         * sched-deps.c (free_deps): Free vectors here.
1643         * sched-rgn.c (compute_block_backward_dependencies): Not here.
1644         (last_was_jump): New static variable.
1645         (schedule_more_p): Test it.
1646         (init_ready_list): Initialize it.
1647         (can_schedule_ready_p): Set it if we have a JUMP_INSN.
1648
1649         * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
1650         * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
1651         * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
1652
1653         * md.texi (cycle_display): Document.
1654         * tm.texi (MD_SCHED_INIT): Document new arg.
1655         (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
1656
1657         * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
1658         to use different representation.  All callers changed.
1659         (and_reg_cond): Renamed from nand_reg_cond; caller changed.
1660         (init_propagate_block_info): Don't test flags to determine
1661         whether to compute conditional lifetimes.
1662         Adjust code for new representation of conditional lifetimes.
1663         (mark_regno_cond_dead): Similar adjustment.
1664         (free_reg_cond_life_info): Similar adjustment.
1665         (elim_reg_cond): New function.
1666         (flush_reg_cond_1): Use it.
1667
1668 2000-12-19  Catherine Moore  <clm@redhat.com>
1669
1670         * reload1.c (reload_combine): Take multi-hard-regs into account
1671         when processing CALL_INSN_FUNCTION_USAGE.
1672
1673 2000-12-19  Joseph S. Myers  <jsm28@cam.ac.uk>
1674
1675         * invoke.texi (-print-search-dirs): Make references to cpp refer
1676         to cpp0 instead.
1677
1678 2000-12-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1679
1680         * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
1681         non-negative.
1682
1683 Tue Dec 19 00:37:08 2000  J"orn Rennecke <amylaar@redhat.com>
1684
1685         * reload.c (push_reload): When using a dying register for the reload
1686         register in an in-out reload, use outmode if wider than inmode.
1687
1688 2000-12-19  Joseph S. Myers  <jsm28@cam.ac.uk>
1689
1690         * config/d30v/d30v.h (EXIT_BODY): Update comment.
1691
1692 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1693
1694         * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
1695         * tm.texi (EXIT_BODY): Update documentation.
1696         * config/freebsd.h, config/netware.h, config/arm/coff.h,
1697         config/arm/conix-elf.h, config/arm/unknown-elf.h,
1698         config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
1699         sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
1700         commented out) and associated comments.
1701
1702 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1703
1704         * c-common.c (STD_C9L, ADJ_STD): Define.
1705         (printf_length_specs, scanf_length_specs): Mark "ll" as standard
1706         STD_C9L.
1707         (T99_LL): Rename to T9L_LL.
1708         (T99_ULL): Rename to T9L_ULL.
1709         (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
1710         instead of T99_LL and T99_ULL.
1711         (check_format_info_main): Use ADJ_STD on all format standard
1712         versions being compared.
1713         * c-common.h: Declare warn_long_long.
1714         * c-tree.h: Don't declare warn_long_long.
1715
1716 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1717
1718         * COPYING: Update to current
1719         ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
1720         to 19yy as example year in copyright notice).
1721
1722 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
1723
1724         * c-lex.c (cb_file_change): Treat in_system_header as strictly
1725         boolean (0 or 1).
1726
1727 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
1728
1729         * cppmain.c: Update print.lineno with -P.
1730
1731 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
1732
1733         * c-lex.c: s/change_file/file_change.
1734         * cpplib.h: Similarly.
1735         * cppmain.c: Similarly.
1736         * fix-header.c: Similarly.
1737         * cppfiles.c (stack_include_file): Pass the buffer location and
1738         size to cpp_push_buffer.  Generate the file_change callback,
1739         so that sysp is already set.
1740         * cpphash.h: Add _cpp_do_file_change.
1741         * cpplib.c (do_line): Set buffer->sysp directly. Generate the
1742         file_change callback after setting sysp.
1743         (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
1744         here.
1745         (cpp_push_buffer): Don't generate a callback.  Clear sysp.
1746         (cpp_pop_buffer): Clean up logic.
1747
1748 2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>
1749
1750         * configure.in (gcc_gxx_include_dir): Simplify.
1751         (libstdcxx_incdir): Export.
1752         * configure: Regenerate.
1753         * Makefile.in (PREPROCESSOR_DEFINES): Add in
1754         GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
1755         (libstdcxx_incdir): Add.
1756         * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
1757
1758 2000-12-18  Neil Booth  <neil@daikokuya.demon.co.uk>
1759
1760         * c-lex.c (lex_lineno): Remove.
1761         (init_c_lex, c_lex): Remove lex_lineno.
1762         (cb_change_file): Update lineno correctly, both before calling
1763         push_srcloc and before leaving the function.
1764         (cb_def_pragma): Set lineno before outputting diagnostics.
1765
1766 Sun Dec 17 18:45:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1767
1768         * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
1769         Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
1770         Use print_node_brief to print bounds.
1771
1772 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
1773
1774         * cpplib.h (struct cpp_reader): Remove references to string_pool
1775         and temp_string_pool.
1776         * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
1777         ident_pool in place.
1778         * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
1779         save_comment, cpp_token_as_text): Similarly.
1780         * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
1781         * cppmacro.c (make_number_token, builtin_macro, lock_pools,
1782         unlock_pools, stringify_arg, paste_tokens): Similarly.
1783
1784 Sun Dec 17 12:41:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1785
1786         * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
1787         (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
1788         (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
1789
1790 2000-12-17  Richard Earnshaw  <rearnsha@arm.com>
1791
1792         * Makefile.in (check-po): Use $(MAKE).
1793         (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
1794
1795 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
1796
1797         * cppmain.c (check_multiline_token): New function.
1798         (scan_buffer): Use it.
1799         (cb_change_file): Restructure to avoid warning.
1800         * cpperror.c (print_location): Initialize col.
1801
1802 2000-12-14  Philipp Thomas  <pthomas@suse.de>
1803
1804         * protoize.c (main): Correctly set locale categories.
1805         * gcc.c (main): Likewise.
1806         * cppmain.c (general_init): Likewise.
1807         * toplev.c (main): Likewise.
1808         * gcov.c (main): Likewise.
1809         * collect2.c (main): Likewise.
1810
1811 2000-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1812
1813         * c-common.c (c_common_nodes_and_builtins): Create a
1814         cstring_endlink, use it.  Rename int_ftype_string_string to
1815         int_ftype_cstring_cstring, string_ftype_string_int to
1816         string_ftype_cstring_int, and string_ftype_string_string to
1817         string_ftype_cstring_cstring.  Prefer sizetype_endlink and
1818         int_endlink to manually recreating them.  Fix the prototype
1819         set for __builtin_strspn/__builtin_strcspn.
1820
1821 2000-12-12  Marek Michalkiewicz  <marekm@linux.org.pl>
1822
1823         * config/avr/avr.c (out_set_stack_ptr): Update comment.
1824         (print_operand): Add support for %~ and %o.
1825
1826 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1827
1828         * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
1829
1830 2000-12-17  Neil Booth  <neil@daikokuya.demon.co.uk>
1831
1832         * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
1833         * cpperror.c (print_containing_files): Get right line number.
1834         (print_location): Output column of 1 if 0.
1835         * cppfiles.c (stack_include_file): cpp_push_buffer handles
1836         the callback.
1837         * cpphash.h (_cpp_do_file_change): No longer external.
1838         * cpplib.c (do_file_change): Now local to cpplib.c.
1839         (do_line): Fake a buffer stack for preprocessed files.
1840         (cpp_push_buffer): Create a file_change callback.  Handle faked
1841         buffers.
1842         (cpp_pop_buffer): Similarly.
1843         * cpplib.h: BUF_FAKE: New buffer type.
1844         * cppmain.c: Update to handle correct file renaming where a
1845         #line is the first line of the main file, and produce only
1846         the renamed file, not the original file, as output.
1847
1848 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1849
1850         * config/c4x/c4x.md: Remove redundant @s from output patterns.
1851
1852 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1853             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1854
1855         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
1856
1857         * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
1858
1859         * config/c4x/c4x.c (c4x_init_pragma): New function.
1860         (c_lex_func): New variable.
1861         (c4x_parse_pragma): Use c_lex_func.
1862
1863 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1864             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1865
1866         * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
1867           to c4x_init_builtins.
1868
1869         * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
1870
1871         * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
1872         (c4x_output_ascii):  Fix.
1873
1874 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1875             Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1876
1877         * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
1878
1879         * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
1880         (c4x_expand_builtin): Likewise.
1881
1882         * config/c4x/c4x.c (c4x_init_builtins): New function.
1883         (c4x_expand_builtin): Likewise.
1884
1885         * config/c4x/c4x.md (floatunsqihf2): New pattern.
1886         (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
1887         (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
1888         (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
1889         (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
1890
1891 2000-12-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1892
1893         * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
1894         * libgcc2.c (__absvsi2): Use Wtype and DWtype.
1895         (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
1896         (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
1897
1898 2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1899
1900         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
1901         statement in do/while(0).
1902
1903 Sat Dec 16 19:56:24 MET 2000  Jan Hubicka  <jh@suse.cz>
1904
1905         * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
1906         lshrhi3_cmpno): Remove redundant '@' from the template.
1907
1908         * i386.md (cmpstrsi_1): Fix type of the compare.
1909
1910         * genattrtab.c (attr_rtx_cost): New function.
1911         (simplify_test_exp): Avoid overactive inlining; use temporary
1912         obstacks for tests.
1913
1914 Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1915
1916         * diagnostic.c (finish_abort): Deleted.
1917         (fatal): Add code from finish_abort.
1918         (error_recursion, fancy_abort): Call fatal, not finish_abort.
1919         (trim_filename): Remove leading "../".
1920         * diagnostic.h (finish_abort): Deleted.
1921         * toplev.c (crash_signal): Call fatal, not finish_abort.
1922
1923         * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
1924         as if size were variable.
1925
1926         * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
1927
1928 2000-12-16  Neil Booth  <neil@daikokuya.demon.co.uk>
1929
1930         * tradcpp.c: T_WARNING: New.
1931         (do_warning): New function.
1932         (finclude): Skip past the newline and increase the line number
1933         before calling output_line_command.
1934         (do_line): Skip the new line after output_line_command.  Don't
1935         pre-decrement the line number.
1936
1937 2000-12-15  Diego Novillo  <dnovillo@redhat.com>
1938
1939         * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
1940         _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
1941
1942 2000-12-15  Jakub Jelinek  <jakub@redhat.com>
1943
1944         * gcc.c (cpp_options): Pass -fno-operator-names.
1945         * cpplib.h (struct cpp_options): Add operator_names.
1946         * cppinit.c (cpp_create_reader): Initialize it.
1947         (initialize_builtins): If -fno-operator-names, don't add
1948         C++ alternate operator names.
1949         (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
1950         (cpp_handle_option): Clear operator_names.
1951
1952 2000-12-15  Jason Merrill  <jason@redhat.com>
1953
1954         * jump.c (jump_optimize_1): Don't delete the line note after the
1955         prologue even if it seems redundant.
1956
1957         * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
1958         on all insns used to adjust the stack.
1959
1960 Fri Dec 15 15:32:16 MET 2000  Jan Hubicka  <jh@suse.cz>
1961
1962         * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
1963         hardreg<->reg moves.
1964
1965 Fri Dec 15 14:48:37 MET 2000  Jan Hubicka  <jh@suse.cz>
1966
1967         * genrecog.c (add_to_sequence): Remove special case for
1968         const_int_operand.
1969         (maybe_both_true): Return 1 when falling out of sequence when
1970         trying to find common possition in the pattern.
1971
1972 Fri Dec 15 14:44:51 MET 2000  Jan Hubicka  <jh@suse.cz>
1973
1974         * integrate.c (copy_rtx_and_substitute): Copy mode too.
1975
1976 Fri Dec 15 14:11:57 MET 2000  Jan Hubicka  <jh@suse.cz>
1977
1978         * flow.c (notice_stack_pointer_modification_1): Cleanup.
1979
1980 2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
1981
1982         * function.c (adjust_trampoline_addr): New function.
1983         (trampoline_address): Call it instead of round_trampoline_addr().
1984         * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
1985
1986 2000-12-14  Zack Weinberg  <zack@wolery.stanford.edu>
1987
1988         * cppfiles.c (hack_vms_include_specification): Delete function
1989         (not used since 1998).
1990
1991 Fri Dec 15 03:37:51 2000  J"orn Rennecke <amylaar@redhat.com>
1992
1993         * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
1994
1995 2000-12-14  Jim Wilson  <wilson@redhat.com>
1996
1997         * alias.c (get_alias_set): Call record_component_aliases for
1998         COMPLEX_TYPE.
1999         (record_component_aliases): Handle COMPLEX_TYPE.
2000
2001 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2002
2003         * fixinc/gnu-regex.c: Disable NLS.
2004
2005 2000-12-14  Richard Henderson  <rth@redhat.com>
2006
2007         * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
2008         comparison operands when that would create non-canonical rtl.
2009
2010         * config/i386/i386.md (umulsi3_highpart): Remove * from name.
2011         (smulsi3_highpart): Likewise.
2012
2013 2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2014
2015         * gcc.c (cpp_options): Add -remap.
2016
2017 2000-12-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2018
2019        * gcc.c (cpp_options): Update to use '&'.
2020        (struct switchstr): Change type of validated to save space.
2021        New member 'ordering'.
2022        (handle_braces, validate_switches): Update to handle '&'.
2023
2024 2000-12-13  Laurynas Biveinis  <lauras@softhome.net>
2025
2026         * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
2027         found in a header.
2028         * fixinc/fixincl.x: regenerated.
2029
2030 2000-12-13  DJ Delorie  <dj@redhat.com>
2031
2032         * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
2033
2034 2000-12-13  Tom Tromey  <tromey@redhat.com>
2035
2036         * gcc.c (handle_braces): Handle %{<S*} spec correctly.
2037
2038 2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
2039
2040         * function.c (assign_parms): Optimize incoming PARALLELs into
2041         REGs if possible.
2042
2043 2000-12-13  Bruce Korb  <bkorb@gnu.org>
2044
2045         * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
2046         that cannot handle bi-directional pipes, viz. BeOS and DOS.
2047         * fixinc/fixlib.h(IGNORE_ARG): new macro
2048         (STATIC): define for all of fixinc to use
2049         * fixinc/fixfixes.c(*): eliminate unused arg warnings
2050         * fixinc/fixtests.c(*): ditto
2051         * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
2052         * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
2053         warning.  Also, eliminate the ``#ifdef emacs'' stuff.
2054         (re_syntax_options): make global as it is declared so.
2055         * fixinc/mkfixinc.sh: process the argument list more consistently
2056         (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
2057         * fixinc/procopen.c(globals): include "fixlib.h" for std defs
2058         * fixinc/server.c(globals): ditto
2059         * fixinc/server.h(defines): ditto
2060
2061 2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2062
2063         * tradcpp.c (special_symbol): Improve test for definedness,
2064         though it is still not perfect.
2065         (do_define): Don't define illegal macro names.
2066
2067 2000-12-07  Aldy Hernandez  <aldyh@redhat.com>
2068
2069         * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
2070         if changing into .bss section.
2071         * config/mips/elf64.h: same.
2072         * config/mips/iris6.h: same.
2073         * config/mips/netbsd.h: same.
2074         * config/mips/openbsd.h: same.
2075
2076 2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2077
2078         * cppfiles.c (read_name_map): Return null if open () fails.
2079         (remap_filename): Simplify logic.  Add ICE if it doesn't work
2080         as expected. Perform secondary lookup attempt on base filename
2081         only.
2082
2083 Wed Dec 13 19:48:04 MET 2000  Jan hubicka  <jh@suse.cz>
2084
2085         * flow.c (notice_stack_pointer_modification_1): Notice midifications
2086         using PRE_MODIFY and POST_MODIFY.
2087
2088 Wed Dec 13 17:25:32 MET 2000  Jan Hubicka  <jh@suse.cz>
2089
2090         * genoutput.c (process_template): Add sanity checking for '@' templates.
2091
2092 2000-12-13  Bernd Schmidt  <bernds@redhat.co.uk>
2093
2094         * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
2095         varrays.
2096
2097 2000-12-12  Mike Stump  <mrs@wrs.com>
2098
2099         * Makefile.in (distclean): Remove safe-ctype.c as well.
2100
2101 2000-12-12  Brad Lucier <lucier@math.purdue.edu>
2102
2103         * tradcpp.c (do_error): Cast difference of pointers to int
2104         for error message.
2105
2106 2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2107
2108         * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
2109         * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
2110
2111 2000-12-12  Jim Wilson  <wilson@redhat.com>
2112
2113         * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
2114
2115 2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
2116
2117         * configure.in: Simplify language enabling/disabling code.
2118         * configure: Rebuilt.
2119         * ch/config-lang.in (target_libs): Set.
2120         (build_by_default): Set to no.
2121         * cp/config-lang.in (target_libs): Set.
2122         * f/config-lang.in (target_libs): Set.
2123         * java/config-lang.in (target_libs): Set.
2124         * objc/config-lang.in (target_libs): Set.
2125
2126 2000-12-12  Neil Booth  <neil@daikokuya.demon.co.uk>
2127
2128         * tradcpp.c (enum node_type): Add T_ERROR.
2129         (do_error): New function.
2130         (directive_table): Add #error handler.
2131
2132 2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2133
2134         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
2135         for powerpc*-*-*.
2136         * configure: Regenerated.
2137         * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2138         * config/rs6000/rs6000.c (rs6000_unique_section): Use
2139         STRIP_NAME_ENCODING.
2140
2141 Mon Dec 11 13:51:09 2000  Jeffrey A Law  (law@cygnus.com)
2142
2143         * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
2144         * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
2145         changes.
2146
2147 2000-12-11  Bruce Korb  <bkorb@gnu.org>
2148
2149         * fixinc/fixincl.tpl: initialize all fields for warnings
2150         * fixinc/fixincl.x: regenerate
2151
2152 2000-12-11  Neil Booth  <neilb@earthling.net>
2153
2154         * tradcpp.h: For tradcpp, NUL is not whitespace.
2155
2156 2000-12-11  Neil Booth  <neilb@earthling.net>
2157
2158         * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
2159
2160 2000-12-05  Marek Michalkiewicz  <marekm@linux.org.pl>
2161
2162         * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
2163         (compare_diff_p, compare_eq_p): Call compare_condition.
2164         (out_tsthi, out_tstsi): Call compare_sign_p.
2165         (avr_progmem_p): Check for error_mark_node.
2166
2167 2000-12-11  Neil Booth  <neilb@earthling.net>
2168
2169         * cpperror.c (print_location): New function.
2170         (print_containing_files): Simplify.
2171         (_cpp_begin_message): Simplify and use print_location.
2172         * cppfiles.c (stack_include_file): Update.
2173         (_cpp_pop_file_buffer): Update.
2174         * cpphash.h (struct cpp_buffer): New members
2175         include_stack_listed and type.
2176         * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
2177         (run_directive): Take buffer type.  cpp_push_buffer cannot fail.
2178         (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
2179         handle_assertion): Update.
2180         (cpp_push_buffer): Take a buffer type and file name.
2181         (cpp_pop_buffer): Update.  Clear include_stack_listed.
2182         * cpplib.h (input_stack_listing_current): Remove.
2183         (enum cpp_buffer_type): New.
2184         (cpp_push_buffer): New prototype.
2185         * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
2186         * fix-header.c (read_scan_file): Update.
2187
2188 2000-12-10  Robert Lipe <robertlipe@usa.net>
2189
2190         * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
2191         in html version.
2192
2193 2000-12-10  Richard Henderson  <rth@redhat.com>
2194
2195         * genrecog.c (find_operand): Handle 'V' format code.
2196         (find_matching_operand): New.
2197         (validate_pattern): Accept '=' for an in-out operand if there
2198         is another operand with a matching constraint.
2199
2200         * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
2201         for op1 to op0.
2202
2203 2000-12-10  Richard Henderson  <rth@redhat.com>
2204
2205         * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
2206
2207 2000-12-09  Richard Henderson  <rth@redhat.com>
2208
2209         * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
2210         STRICT_LOW_PART as SET_DEST have in-out constraints.
2211
2212 2000-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2213
2214         * c-common.c (check_function_format): Don't suggest adding format
2215         attributes to functions with no parameter to which to add them.
2216
2217 2000-12-09  Nick Clifton  <nickc@redhat.com>
2218
2219         * config/arm/arm.c (arm_expand_prologue): Mark the generated
2220         insn not the set as being DWARF2_FRAME_RELATED_P.
2221
2222 2000-12-09  Laurynas Biveinis  <lauras@softhome.net>
2223
2224         * Makefile.in: use $(build_exeext) for all build
2225         system executable targets.
2226
2227 2000-12-09  Laurynas Biveinis  <lauras@softhome.net>
2228
2229         * install.texi: remove i[345]86-*-winnt3.5 section.
2230         * configur.bat: removed.
2231         * config/msdos: directory removed.
2232
2233 2000-12-09  Neil Booth  <neilb@earthling.net>
2234
2235         * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
2236         * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
2237         * cpplex.c (parse_identifier): Improve diagnostic.
2238         (_cpp_lex_token): Return unconditionally at the end of a directive.
2239         * cpplib.c (read_flag): Verify legality of each flag.
2240         (end_directive): Resotre pfile->skipping before skip_rest_of_line.
2241         (do_line): Use the new read_flag.
2242         * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
2243         check_macro_redefinition, parse_params): Rename var_args to
2244         variadic.
2245
2246 2000-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2247
2248         * .cvsignore: Add info files.
2249
2250 2000-12-08 Laurynas Biveinis <lauras@softhome.net>
2251
2252         * config/winnt: Remove obsolete directory.
2253         * install.texi (Configurations): Remove obsolete documentation for
2254         Windows NT.
2255
2256 2000-12-08  Joseph S. Myers  <jsm28@cam.ac.uk>
2257
2258         * configure.in: Don't define INSTALL_INFO.
2259         * configure: Regenerate.
2260         * Makefile.in (INSTALL_INFO): Remove.
2261         (info): Depend on info files in source directory.
2262         (cpp.info, gcc.info, c-tree.info): Build info files in source
2263         directory.
2264         (distclean): Don't remove info files.
2265         (maintainer-clean): Remove info files from source directory.
2266         (install-normal): Depend on install-info.
2267         (install-info): Install info files from source directory, if they
2268         exist.
2269         * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
2270
2271 2000-12-08  Alexandre Oliva  <aoliva@redhat.com>
2272
2273         * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
2274         before taking its NOTE_LINE_NUMBER.
2275
2276 2000-12-08  Nick Clifton  <nickc@redhat.com>
2277
2278         * config/arm/arm.md (load_indirect_jump): Add pool ranges.
2279
2280         * extend.texi: Document ARM "interrupt" function attribute.
2281         Mention that the ARM also support the "naked" function
2282         attribute.
2283
2284         * config/arm/arm-protos.h (arm_current_func_type): Add
2285         prototype.
2286
2287         * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
2288         (struct machine_function): Add 'func_type' field.
2289         Define bit values for 'func_type' field.
2290         (ARM_FUNC_TYPE): New macro.
2291         (IS_INTERRUPT): New macro.
2292         (IS_VOLATILE): New macro.
2293         (IS_NAKED): New macro.
2294         (IS_NESTED): New macro.
2295         (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
2296
2297         * config/arm/arm.c (isr_attribute_args): New Structure.  A
2298         list of "interrupt" function attribute modifiers.
2299         (arm_isr_value): New Function: Returns the type of the current
2300         interrupt function.
2301         (arm_compute_func_type): New Function: Computes the type of
2302         the current function.
2303         (arm_current_func_type): New Function: Returns the type of the
2304         current function.
2305         (use_return_insn): Use arm_current_func_type.
2306         (arm_valid_type_attribute_p): Accept "interrupt" function
2307         attribute.
2308         (arm_comp_type_attributes): Check "interrupt" attributes.
2309         (arm_valid_machine_decl): Accept "interrupt" function
2310         attribute.
2311         (arm_function_ok_for_sibcall): Do not allow interrupt
2312         functions to use sibcalls.
2313         (arm_naked_function_p): Delete.
2314         (print_multi_reg): Remove redundant parameter 'hat'.
2315         (arm_compute_save_reg_mask): New Function: Compute a bit mask
2316         of registers saved during the current function's prologue.
2317         (output_arm_return_instruction): Use arm_current_func_type.
2318         Generate return instruction when LR is not poppsed off the
2319         stack.
2320         (arm_volatile_func): Delete.
2321         (output_arm_prologue): Use arm_current_func_type and
2322         arm_compute_save_reg_mask.
2323         Note presernce of interrupt functions.
2324         (arm_output_epilogue): Use arm_current_func_type and
2325         arm_compute_save_reg_mask.
2326         (arm_expand_prologue): Use arm_current_func_type and
2327         arm_compute_save_reg_mask.
2328         (arm_init_machine_status): Initialise func_type field, if
2329         necessary.
2330         (thumb_expand_prologue): Use arm_current_func_type.
2331         (output_thumb_prologue): Use arm_current_func_type.
2332
2333 2000-12-08  Brad Lucier <lucier@math.purdue.edu>
2334
2335         * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2336
2337 Fri Dec  8 08:23:29 2000  J"orn Rennecke <amylaar@redhat.com>
2338
2339         * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
2340         for multiplies.
2341
2342 2000-12-07  Mike Stump  <mrs@wrs.com>
2343
2344         * Makefile.in (distclean): Remove alloca.c hashtab.c.
2345
2346 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
2347
2348         * Makefile.in (HOST_RTL): Add safe-ctype.o.
2349         (safe-ctype.o): New rule.
2350         * system.h: Include safe-ctype.h, not ctype.h.  No need to
2351         wrap ctype macros.
2352
2353         * cpphash.h: Zap IStable and related macros.  Define is_* in
2354         terms of safe-ctype.h macros.
2355         * cppinit.c: Delete the IStable and all related code.
2356
2357         * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
2358         is_space arrays.  Delete initialize_char_syntax.  Change all
2359         references to the above arrays to use macros instead.
2360         * tradcpp.h: Define is_idchar, is_idstart, is_space, and
2361         is_nvspace in terms of safe_ctype.h's macros.
2362         * tradcif.y: is_idchar, is_idstart are macros not arrays.
2363
2364         * config/i370/i370.c, config/winnt/dirent.c,
2365         config/winnt/fixinc-nt.c, config/winnt/ld.c:
2366         Use uppercase ctype macros.  If we included ctype.h,
2367         include safe-ctype.h instead.
2368
2369         * fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
2370         ISLOWER(c) before calling TOUPPER(c).
2371         * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
2372         * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
2373         wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
2374
2375 2000-12-07  DJ Delorie  <dj@redhat.com>
2376
2377         * c-decl.c (grokdeclarator): preserve previous alignments when
2378         rebuilding array types.
2379
2380 2000-12-07  Neil Booth  <neilb@earthling.net>
2381
2382         * cppfiles.c (struct include_file): Move from cpphash.h.
2383         (_cpp_never_reread): New function.
2384         (open_file, read_include_file): Use it.
2385         (stack_include_file): Set the buffer's sysp according to the
2386         path in which the file was found.
2387         (find_include_file): Don't set sysp.
2388         (cpp_make_system_header, actual_directory): Update.
2389         (_cpp_execute_include): Do #include_next lookup handling here,
2390         not in cpplib.c.  Use _cpp_never_reread.
2391         * cpphash.h (struct_include_file): Remove.
2392         (struct cpp_buffer): New member sysp.
2393         (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
2394         (_cpp_never_reread): New.
2395         * cpplib.c (read_line_number): Rename read_flag.  Rework slightly.
2396         (end_directive): Clear line_extension flag.
2397         (_cpp_handle_directive): Set line_extension flag for #number.
2398         (do_include_next): Handle path lookup in _cpp_execute_include.
2399         (do_line): Cleanup to use read_flag.  Don't allow flags in #line.
2400         (_cpp_do_file_change): Update.
2401         (do_pragma_once): Use cpp_never_reread.  Clean up.
2402         * cpplib.h (struct lexer_state): New member line_extension.
2403
2404 2000-12-07  Richard Henderson  <rth@redhat.com>
2405
2406         * flow.c (calculate_global_regs_live): Force the stack pointer live
2407         after reload as well.
2408
2409 2000-12-07  Bruce Korb  <bkorb@gnu.org>
2410
2411         * fixinc/Makefile.*(exeext): the variables are exeext, the
2412         substitution expression is build_exeext.
2413
2414 2000-12-07  Neil Booth  <neilb@earthling.net>
2415
2416         * c-common.c (parse_in): Make a cpp_reader *.
2417         * cppfiles.c (_cpp_fake_include): Remove.
2418         * cpphash.h: Similarly.
2419         * cpplib.c (do_line): Don't call _cpp_fake_include.  A valid
2420         #line always creates a callback; FC_RENAME if there are no
2421         #line flags.
2422         * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
2423         The first EOF must be our get_char buffer.
2424
2425 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2426
2427         * c-common.c (warn_format_security): New variable.
2428         (check_format_info): Warn about non-literal formats with no format
2429         arguments if either -Wformat-nonliteral or -Wformat-security is
2430         specified.
2431         (set_Wformat): Set warn_format_security for settings other than 1.
2432         * c-common.h (warn_format_security): Declare.
2433         * c-decl.c (c_decode_option): Decode -Wformat-security and
2434         -Wno-format-security.
2435         * invoke.texi: Document -Wformat-security.
2436         * toplev.c (documented_lang_options): Include -Wformat-security
2437         and -Wno-format-security.
2438
2439 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2440
2441         * c-common.c (check_format_info): Warn for non-constant format
2442         strings with strftime formats if -Wformat-nonliteral.  Where the
2443         format can convert arguments, if the format is not a string
2444         literal and there are no arguments to the format, give a different
2445         warning message from the general non-string-literal case.
2446
2447 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2448
2449         * c-common.c (format_wanted_type): Add reading_from_flag.
2450         (print_char_table): Mark %s and %S formats with flag "R".
2451         (check_format_info_main): Set up reading_from_flag appropriately.
2452         If aflag, always set writing_in_flag rather than relying on the
2453         format used being a scanf format and so having it set.
2454         (check_format_types): Check for formats reading through null
2455         pointers.
2456
2457 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2458
2459         * invoke.texi (-Wformat): Document what format features are
2460         checked.
2461
2462 2000-12-06  Kazu Hirata  <kazu@hxi.com>
2463
2464         * config/h8300/h8300.h: Fix formatting.
2465
2466 2000-12-06      Joel Sherrill <joel@OARcorp.com>
2467
2468         * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
2469         h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
2470         * config.gcc (*-rtems*): Add support for gthr-rtems.h.
2471         * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2472         config/h8300/rtems.h, config/mips/rtems.h: New files.
2473
2474 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
2475
2476         * config.gcc: Reorganize handling of *-*-gnu*, to share target
2477         specific make details with Linux.  Update comments to clarify
2478         the distinction between GNU/Linux and GNU/Hurd.
2479
2480 Wed Dec  6 19:22:02 2000  Jeffrey A Law  (law@cygnus.com)
2481
2482         * contrib.texi: Fix my email address.  Update Per's
2483         list of contributions.
2484
2485 2000-12-06  Rodney Brown  <RodneyBrown@mynd.com>
2486
2487         * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
2488         * collect2.c (scan_libraries): Remove unused `ch'.
2489         (COFF specific stuff): Prototype ldgetname.  Declare and prototype
2490         ldbtread and ldclose.
2491
2492         * config/alpha/osf.h: Standarize copyright statement.
2493         * config/arc/arc.h: Likewise.
2494         * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
2495         * config/arm/arm.c config/arm/arm.h: Likewise.
2496         * config/elxsi/elxsi.h: Likewise.
2497         * config/i386/sco.h: Likewise.
2498         * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
2499         * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
2500         * config/m68k/sun3.h: Likewise.
2501         * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
2502         * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
2503         * config/romp/romp.h: Likewise.
2504         * config/rs6000/aix41.h: Likewise.
2505         * config/sparc/sysv4.h: Likewise.
2506         * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
2507         * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
2508         * cpplib.h cppexp.c cselib.h profile.c: Likewise.
2509         * longlong.h: Likewise.
2510         * libgcc2.c: Likewise.
2511
2512 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2513
2514         * machmode.def: Use correct definition for BITSIZE on targets where
2515         BITS_PER_UNIT != 8.
2516
2517 2000-12-06  Bruce Korb  <bkorb@gnu.org>
2518
2519         * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
2520         the number of them.
2521
2522 2000-12-06  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2523
2524         * pa.c: Include expr.h before c-tree.h.
2525         (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
2526         instead of reverse_condition.
2527         (print_operand): Correct predicates for GT, GE, LT and LE.  Add
2528         predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
2529         ORDERED.
2530         (cmpib_comparison_operator): Add GEU and LTU codes.
2531         * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
2532         * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
2533         bordered): New float conditional branch patterns.
2534
2535 Wed Dec  6 21:03:41 2000  J"orn Rennecke <amylaar@redhat.com>
2536
2537         * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
2538
2539 2000-12-06  Sylvain Pion  <Sylvain.Pion@sophia.inria.fr>
2540
2541         * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
2542         backslash and newline, when inside a comment.
2543
2544 2000-12-06  Joseph S. Myers  <jsm28@cam.ac.uk>
2545
2546         * invoke.texi: Use @table @samp instead of @itemize @minus for
2547         table of language standards.  Fix use of @pxref.  From Zack
2548         Weinberg.  Also exclude specs documentation from generated
2549         manpage, and create separate ENVIRONMENT section.
2550
2551 2000-12-06  Michael Matz  <matzmich@cs.tu-berlin.de>
2552
2553         * gcse.c (compute_pre_data): Kill trapping expressions in
2554         destination blocks of abnormal edges.
2555
2556 2000-12-05  Richard Sandiford  <r.sandiford@redhat.com>
2557
2558         * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
2559         (mn10300_get_live_callee_saved_regs): Likewise.
2560         (mn10300_gen_multiple_store): Likewise.
2561         (store_multiple_operation): Likewise.
2562         (expand_prologue): Use mn10300_gen_multiple_store().
2563         * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
2564         (mn10300_get_live_callee_saved_regs): Likewise.
2565         (mn10300_gen_multiple_store): Likewise.
2566         (store_multiple_operation): Likewise.
2567         * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
2568         tied to store_multiple_operation().
2569
2570 Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
2571
2572         * builtins.c (expand_builtin_setjmp_setup): Set
2573         current_function_has_nonlocal_label.
2574
2575 2000-12-05  Neil Booth  <neilb@earthling.net>
2576
2577         * cppfiles.c (stack_include_file): Push zero-length buffers
2578         in case of failure.  Return void, as we don't fail any more.
2579         (read_include_file): Check for files we shouldn't re-read.
2580         Don't return an error code; errors are implied by marking the
2581         file NEVER_REREAD.
2582         (_cpp_execute_include): Move the recursion and in-macro checks
2583         here.  Update for stack_include_file not failing.
2584         * cpplib.c (cpp_push_buffer): Always succeed, since
2585         _cpp_execute_include performs the recursion check.  Tidy up.
2586         * cpplib.h (cpp_push_buffer): Update prototype.
2587
2588 2000-12-05  Alexandre Oliva  <aoliva@redhat.com>
2589
2590         * sched-vis.c (visual_tbl_line_length): New variable.
2591         (get_visual_tbl_length): Set it.
2592         (visualize_stall_cycles): Don't let stalls overrun
2593         visual_tbl_line_length.
2594
2595 2000-12-05  Geoffrey Keating  <geoffk@redhat.com>
2596
2597         * global.c (global_conflicts): Allow for a REG_UNUSED note
2598         with a different mode to the REG set in the insn.
2599
2600 2000-12-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2601
2602         * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
2603
2604         * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
2605
2606 2000-12-05  Bruce Korb  <bkorb@gnu.org>
2607
2608         * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
2609         GNU/Linux.
2610
2611 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
2612
2613         * fixinc/mkfixinc.sh: Run fixinc on netbsd.
2614         * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
2615         to cope with aliased copies.
2616         * fixinc/fixincl.x: Regenerate.
2617
2618 2000-12-05  Bernd Schmidt  <bernds@redhat.co.uk>
2619
2620         * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
2621         * sched-rgn.c: Likewise.
2622         (rgn_print_insn): Fix output.
2623
2624 2000-12-05  Bruce Korb  <bkorb@gnu.org>
2625
2626         * fixinc/Makefile.*: make these more consistent
2627         * fixinc/mkfixincl.sh: enable BeOS fixincludes
2628
2629 2000-12-05  Richard Henderson  <rth@redhat.com>
2630
2631         * stmt.c (warn_if_unused_value): Move side effects test earlier.
2632
2633 2000-12-05  Alan Modra <alan@linuxcare.com.au>
2634
2635         * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
2636         when using sjlj.
2637
2638 2000-12-05  Richard Henderson  <rth@redhat.com>
2639
2640         * flow.c (calculate_global_regs_live): Only force stack pointer
2641         live before reload.  Force pic register live before reload.
2642         (insn_dead_p): Don't protect pic references from deletion.
2643
2644 2000-12-05  Joseph S. Myers  <jsm28@cam.ac.uk>
2645
2646         * invoke.texi: Add support for using texi2pod.pl.  Don't use
2647         @multitable.
2648
2649 2000-12-04  Nick Clifton  <nickc@redhat.com>
2650
2651         * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
2652         'tune_flags' for XScale nature.
2653         Remove spurious test of HARD_FLOAT and XScale flags.
2654
2655         * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
2656         contraint, accidentally changed during XScale contribution.
2657
2658         * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
2659         not create these functions if the target architecture does not
2660         support Thumb instructions.
2661
2662 2000-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
2663
2664         * ONEWS: New file with the current contents of NEWS up to EGCS
2665         1.1.
2666         * NEWS: Generate automatically from online release notes from EGCS
2667         1.0 to GCC 2.95.2, using ../contrib/gennews.
2668
2669 2000-12-04  Neil Booth  <neilb@earthling.net>
2670
2671         * tradcif.y: Move lexptr to top of file.  Add rule to handle
2672         assertions in conditional expressions.
2673         * tradcpp.c (parse_answer): Assertions do not need to go to
2674         end of line in conditional directives.
2675         (parse_assertion): Get first character of identifiers correct.
2676         (test_assertion): New function.
2677         * tradcpp.h (test_assertion): New prototype.
2678
2679 2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>
2680
2681         * config.gcc: Fix typo for UnixWare 7.
2682
2683 2000-12-03  Phil Edwards  <pme@sources.redhat.com>
2684
2685         * invoke.texi:  Replace `pedwarns' with clearer text.
2686
2687 2000-12-04  Bruce Korb  <bkorb@gnu.org>
2688
2689         * fixinc/Makefile.*(clean):  don't clean autogenerated files.
2690         (mainainer-clean): clean autogenerated files
2691
2692 2000-12-04  DJ Delorie  <dj@redhat.com>
2693
2694         * md.texi: Add overview, clarify match_dup and define_expand.
2695
2696 2000-12-04  DJ Delorie  <dj@redhat.com>
2697
2698         * print-tree.c (print_node): Target-specific builtins print
2699         numbers, not names.
2700
2701 2000-12-04  Jason Merrill  <jason@redhat.com>
2702
2703         * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
2704         MODE_VECTOR_FLOAT.
2705
2706         * diagnostic.c (report_problematic_module): s/function/module/.
2707
2708         * c-lex.h: Remove decl for check_newline.
2709
2710 2000-12-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2711
2712         * README.APOLLO: Remove obsolete file.
2713
2714 2000-12-04  Neil Booth  <neilb@earthling.net>
2715
2716         * cppinternals.texi: New file.
2717
2718 2000-12-04  Neil Booth  <neilb@earthling.net>
2719
2720         * cppfiles.c (cpp_make_system_header): Take 2 booleans,
2721         and operate on current buffer.
2722         (cpp_read_file): Rename _cpp_read_file.
2723         * cpplib.c (do_line, do_pragma_system_header): Update calls to
2724         cpp_make_system_header.
2725         * fix-header.c: Similarly.
2726         * cpphash.h (_cpp_read_file): Move from...
2727         * cpplib.h: ... here.
2728         * cppinit.c (do_includes, cpp_start_read): Update appropriately.
2729
2730 2000-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2731
2732         * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
2733         Handle another transformation.
2734
2735 2000-12-03  Nick Clifton  <nickc@redhat.com>
2736
2737         * config.gcc: Add support for StrongARM targets.
2738         * config/arm/t-strongarm-elf: New file.
2739         * config/arm/t-strongarm-coff: New file.
2740         * config/arm/t-strongarm-pe: New file.
2741         * config/arm/strongarm-pe.h: New file.
2742
2743 2000-12-03  Nick Clifton  <nickc@redhat.com>
2744
2745         * NEWS: Mention XScale has been added.
2746         * config.gcc: Add support for XScale targets.
2747         * config/arm/arm.h: Add support for XScale processor.
2748         * config/arm/arm.c: Add support for XScale processor.
2749         * config/arm/arm.md: Add support for XScale processor.
2750         * config/arm/t-xscale-elf: New file.
2751         * config/arm/t-xscale-coff: New file.
2752         * config/arm/xscale-elf.h: New file.
2753         * config/arm/xscale-coff.h: New file.
2754
2755 2000-12-03  Richard Henderson  <rth@redhat.com>
2756
2757         * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
2758         unless exception handling is enabled, and if not using sjlj.
2759
2760         * builtins.c (expand_builtin_setjmp_setup): New.
2761         (expand_builtin_setjmp_receiver): New.
2762         (expand_builtin_setjmp): Split out _setup and _receiver functions.
2763         Move argument parsing in from ...
2764         (expand_builtin): ... here.
2765         * except.c (receive_exception_label): Branch around receiver
2766         unless new-style exceptions.  Call expand_builtin_setjmp_receiver.
2767         (start_dynamic_handler): Call expand_builtin_setjmp_setup.
2768         * expr.h: Update builtin setjmp decls.
2769
2770 2000-12-03  Bruce Korb  <bkorb@gcc.org>
2771
2772         * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
2773         build machine name.  Default to the target.
2774
2775 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
2776
2777         * Makefile.in: use $(build_canonical), not $(canonical_build).
2778
2779 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
2780
2781         * Makefile.in (OBJS): Add sched-rgn.o.
2782         (sched-rgn.o): New rule.  * haifa-sched.c (sched_verbose): No
2783         longer static.
2784         (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2785         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2786         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2787         MAX_BLOCKAGE_COST): Move to sched-int.h.
2788         (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
2789         IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
2790         FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
2791         OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
2792         rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
2793         RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
2794         debug_regions, find_single_block_region, find_rgns, too_large,
2795         init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
2796         bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
2797         extract_bitlst, bblst, struct candidate, candidate_table,
2798         bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
2799         SRC_PROB, target_bb, split_edges, compute_trg_info,
2800         debug_candidate, debug_candidates, bbset, bbset_size, dom,
2801         IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
2802         rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
2803         EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
2804         compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
2805         IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
2806         MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
2807         update_live, set_spec_fed, is_pfree, find_conditional_protection,
2808         is_conditionally_protected, may_trap_exp, haifa_classify_insn,
2809         is_prisky, is_exception_free, add_branch_dependences,
2810         propagate_deps, compute_block_backward_dependences,
2811         debug_dependencies, is_cfg_nonregular, build_control_flow,
2812         new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
2813         BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
2814         UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
2815         CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
2816         target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
2817         can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
2818         rgn_rank, region_sched_info): Move to sched-rgn.c.
2819         (debug_reg_vector): Delete useless function.
2820         (get_bb_head_tail): Likewise.
2821         (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
2822         no_real_insns_p, rm_line_notes, save_line_notes,
2823         restore_line_notes, rm_redundant_line_notes, sched_init): No
2824         longer static.
2825         (rm_line_notes, save_line_notes, restore_line_notes,
2826         schedule_block, set_priorities): Change argument to be a real
2827         basic block, not one of haifa's "bb"s.  All callers changed
2828         (rm_other_notes): Initialize note_list here, not in
2829         schedule_region.
2830         (sched_finish): New function, called from schedule_insn.  * *
2831         sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2832         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2833         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2834         MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
2835         (get_block_head_tail, no_real_insns_p, rm_line_notes,
2836         save_line_notes, restore_line_notes, rm_redundant_line_notes,
2837         rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
2838         sched_init, sched_finish, ready_add, insn_cost): Declare.
2839
2840 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
2841             Bruce Korb  <bkorb@gnu.org>
2842
2843         * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
2844         * fixinc/mkfixinc.sh: accept build system name as an argument.
2845         Use it for choosing the fix build method.  Use the target for
2846         selecting special fix rules.
2847
2848 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
2849
2850         * Makefile.in (OBJS): Add sched-deps.o.
2851         (sched-deps.o): New rule.
2852         * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
2853         sched-int.h.
2854         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
2855         sched-int.h.
2856         (SIZE_FOR_MODE): Delete unused macro.
2857         (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
2858         reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
2859         anti_dependency_cache, output_dependency_cache,
2860         forward_dependency_cache): Variables moved to sched-deps.c.
2861         (add_dependence, remove_dependence, find_insn_list,
2862         find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
2863         sched_analyze_insn, sched_analyze_1, sched_analyze_2,
2864         sched_analyze, group_leader, compute_forward_dependences,
2865         init_deps, free_deps, init_dependency_caches, free_dependency_caches):
2866         Functions moved to sched-deps.c.
2867         (schedule_region): Call init_deps_global and finish_deps_global
2868         instead of directly manipulating dependency data structures.
2869         * sched-deps.c: New file.
2870         (init_deps_global, finish_deps_global): New functions.
2871         * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
2872         haifa-sched.c.
2873         (h_i_d): Declare.
2874         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
2875         from haifa-sched.c.
2876
2877         * Makefile.in (OBJS): Add sched-vis.o.
2878         (sched-vis.o): New rule.
2879         * haifa-sched.c (get_unit_last_insn): New function.
2880         (sched_dump, insn_unit, actual_hazard_this_instance): No longer
2881         static.
2882         (schedule_block): Call visualize_alloc and visualize_free.  Delete
2883         spurious return statement.
2884         (init_target_units, insn_print_units, get_visual_tbl_length,
2885         init_block_visualization, print_block_visualization, safe_concat,
2886         visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
2887         print_exp, print_value, print_pattern, print_insn, target_units,
2888         MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
2889         n_vis_no_unit, vis_no_unit): Move scheduling visualization
2890         functions/variables...
2891         * sched-vis.c: ...here.  New file.
2892         (visualize_alloc, visualize_free): New functions.
2893         (visualize_scheduled_insns, visualize_stall_cycles,
2894         print_block_visualization): Lose basic block argument.  All callers
2895         changed.
2896         (visualize_scheduled_insns): Use new function get_unit_last_insn.
2897         * sched-int.h (current_sched_info, sched_dump): Declare.
2898         (init_target_units, insn_print_units, init_block_visualization,
2899         print_block_visualization, visualize_scheduled_inns,
2900         visualize_no_unit, visualize_stall_cycles, visualize_alloc,
2901         visualize_free): Declare functions.
2902
2903         * sched-int.h: New file.
2904         * Makefile.in (haifa-sched.o): Depend on it.
2905         * haifa-sched.c: Include it.
2906         (no_real_insns_p): New function.
2907         (current_sched_info): New static variable.
2908         (__inline, HAIFA_INLINE): Moved to sched-int.h.
2909         (get_block_head_tail): Minor cleanup.
2910         (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
2911         rgn_print_insn, rgn_rank): New functions, broken out of
2912         rank_for_schedule, schedule_insn and schedule_block, where they
2913         are now called through function pointers in current_sched_info.
2914         (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
2915         print_insn): To display uid and block number, call the print_insn
2916         function pointer in current_schedule_info.
2917         (region_sched_info): New static variable.
2918         (sched_target_n_insns, sched_n_insns, target_n_insns): New global
2919         variables, moved out of schedule_block.
2920         (schedule_block): Return void.  All callers changed.
2921         Move some of the setup code into schedule_region.  Get head/tail
2922         from current_sched_info, and update it when done.
2923         (schedule_region): Slightly rearranged, some code moved here from
2924         schedule_block.  Call no_real_insns_p to avoid doing work for a
2925         block that consists only of notes and labels.
2926         (schedule_insns): Initialize current_sched_info.
2927
2928 2000-12-03  Neil Booth  <neilb@earthling.net>
2929
2930         * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
2931         by contexts drops AFTER argument pre-expansion, so that they
2932         remain enabled during argument pre-expansion.
2933         (_cpp_pop_context): Unconditionally re-enable a macro when
2934         dropping a context level.
2935
2936 2000-12-03  Manfred Hollstein  <manfredh@redhat.com>
2937
2938         * arm/t-linux (MULTILIB_OPTIONS): Comment.
2939         (MULTILIB_DIRNAMES): Likewise.
2940         (EXTRA_MULTILIB_PARTS): Likewise.
2941         (LIBGCC): Likewise.
2942         (INSTALL_LIBGCC): Likewise.
2943
2944 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2945
2946         * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
2947         expand_builtin_strspn, expand_builtin_strcspn): New functions.
2948         (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2949         BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
2950
2951         * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2952         BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
2953
2954         * c-common.c (c_common_nodes_and_builtins): Declare builtin
2955         strcat, strncat, strspn and strcspn.
2956         (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
2957
2958         * extend.texi (strcat, strcspn, strncat, strspn): Document new
2959         builtins.
2960
2961 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2962
2963         * builtins.c (expand_builtin_strcmp): Use const*_rtx when
2964         expanding strcmp at compile-time.  Add another transformation.
2965         (expand_builtin_strncmp): Add more transformations.  Call
2966         expand_builtin_memcmp, not expand_builtin_strcmp, under
2967         appropriate conditions if HAVE_cmpstrsi.
2968
2969 2000-12-02  David Edelsohn  <edelsohn@gnu.org>
2970
2971         * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
2972         instruction.
2973         (cr logic): Really make operands sequential.
2974
2975 2000-12-02  Geoffrey Keating  <geoffk@redhat.com>
2976
2977         * c-common.c (combine_strings): When the ISO C standard specifies
2978         the maximum length of a string, it doesn't include the trailing
2979         zero byte.
2980
2981         * cpplib.c (do_ifdef): Add check_eol() call.
2982         (do_ifndef): Likewise.
2983
2984 2000-12-02  Daniel Berlin  <dberlin@redhat.com>
2985             Bruce Korb  <bkorb@gnu.org>
2986
2987         * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
2988         * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
2989         * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
2990         * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
2991         use the "__need_" hackery.  It breaks them.
2992         * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
2993         Sometimes on DOS and BeOS the temp output file cannot be opened.
2994         Skip the file noisily.  Ought to be fixed instead.
2995
2996 2000-12-02  Bruce Korb  <bkorb@gnu.org>
2997
2998         From: 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2999
3000         * fixfixes.c (emit_gnu_type, format_write): Prototype.
3001         (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
3002         custom uppercase ctype macros.
3003         * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
3004         Use gcc's custom uppercase ctype macros.
3005         (main): Prototype.
3006         (machine_matches): Add static prototype and constify variable.
3007         (create_file, test_test, egrep_test): Add static prototype.
3008         (quoted_file_exists): Likewise, and constify parameters.
3009         (extract_quoted_files, internal_fix, start_fixer, fix_applies,
3010         write_replacement, test_for_changes): Add static prototype.
3011         (write_replacement, test_for_changes): Delete excess argument to
3012         `create_file'.
3013         * fixtests.c (test): Make static.
3014         * server.c (load_data, sig_handler, server_setup, find_shell): Add
3015         static prototype.
3016         (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
3017
3018 2000-12-02  Bruce Korb  <bkorb@gnu.org>
3019
3020         * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
3021         (per Laurynas Biveinis  <lauras@softhome.net>)
3022
3023 2000-12-02  Richard Earnshaw  <rearnsha@arm.com>
3024
3025         * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
3026         macros.
3027         (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
3028         (REGNO_OK_FOR_FOR_BASE_P): Delete.
3029         (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
3030         both strict and non-strict uses.
3031         (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
3032         (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
3033         (REG_OK_FOR_INDEX_P): Define in terms of above.
3034         (REG_OK_FOR_BASE_P): Delete.
3035         (REG_OK_FOR_PRE_POST_P): Delete.
3036         (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
3037         (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
3038         (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
3039         (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
3040         (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes.  Use ARM
3041         specific variants rather than general ones.  Use ARM_REG_OK_FOR_BASE_P
3042         in pre/post increment cases.
3043         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
3044         (ARM_LEGITIMIZE_ADDRESS): Similarly.
3045         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
3046         * arm.c (legitimate_pic_address): Similarly.
3047
3048 2000-12-02  Neil Booth  <neilb@earthling.net>
3049
3050         * tradcpp.c (struct answer, parse_assertion, parse_answer,
3051         canonicalize_text, find_answer): New.
3052         (do_assert, do_unassert): Provide appropriate function bodies.
3053         (union hashval): New member answers.
3054
3055 2000-11-23  Marek Michalkiewicz  <marekm@linux.org.pl>
3056
3057         * config/avr/avr.md: Document UNSPEC usage.
3058         (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
3059         Make operand 0 input only, clobber it.  Use UNSPEC, not a bogus
3060         MEM for program memory word reference.  Do not add the label to
3061         the table index in each of the asm output templates, instead ...
3062         (casesi): ... do it in RTL.  Adjust to match the above change.
3063
3064 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
3065
3066         * c-common.c (PTRDIFF_TYPE): Provide default here, ...
3067         * c-decl.c: ... not here.
3068
3069         * haifa-sched.c (sched_dump): Renamed from dump.  All users changed.
3070         (old_max_uid): New variable.
3071         (compute_forward_dependences): Renamed from
3072         compute_block_forward_dependences; changed to accept block head and
3073         tail instead of block number.  Caller changed.
3074         (free_deps, init_dependency_caches, free_dependency_caches,
3075         init_regions, sched_init): New functions, split out from
3076         schedule_insns and compute_block_backward_dependences.
3077
3078 2000-12-02  Neil Booth  <neilb@earthling.net>
3079
3080         * cppexp.c (parse_number): Update diagnostic test.
3081
3082 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
3083
3084         * reload1.c (free_for_value_p): New function, frontend to
3085         reload_reg_free_for_value_p.  All callers of the latter now call
3086         this function with an additional mode argument.
3087
3088 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3089
3090         * install.texi (Configurations): Remove obsolete documentation for
3091         hppa*-*-*.
3092
3093 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3094
3095         * install.texi (Installation): Remove obsolete description for
3096         libstdc++ which is now an integral part of GCC.
3097
3098 2000-12-01  Jim Blandy  <jimb@redhat.com>
3099
3100         * dbxout.c (dbxout_parms): Correctly describe parameters passed by
3101         invisible reference in registers, but then spilled to the stack.
3102         Remove code to emit a second stab for such parameters; it attempts
3103         to describe the value's location by introducing a synthetic C++
3104         `reference' type, and then saying the stack slot has that
3105         reference type.  This loses type information (breaking GDB's
3106         `ptype' command, among other things) just to describe a location
3107         which stabs can represent correctly in other ways.
3108
3109 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
3110
3111         * final.c (output_addr_const) <PLUS>: Don't assume at least one
3112         operand is a CONST_INT.
3113
3114         * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
3115         (machine_dependent_reorg): Split all insns.
3116         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
3117         reg_class_contents[SIBCALL_REGS].
3118         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
3119         * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
3120         call_value_pcrel, call, call_value, sibcall): Match even when
3121         not optimizing.
3122         (sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
3123         for call address.
3124         (sibcalli): Likewise.
3125
3126 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3127
3128         * c-common.c (warn_format, warn_format_y2k,
3129         warn_format_extra_args, warn_format_nonliteral): Define.
3130         (check_format_info): Check warn_format_nonliteral and
3131         warn_format_extra_args.
3132         (check_format_info_main): Check warn_format_y2k.
3133         (set_Wformat): New function.
3134         * c-common.h (warn_format_y2k, warn_format_extra_args,
3135         warn_format_nonliteral, set_Wformat): Declare.
3136         * c-decl.c (warn_format): Remove definition.
3137         (c_decode_option): Handle -Wformat-nonliteral,
3138         -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
3139         Use set_Wformat.
3140         * invoke.texi: Document these new options and -Wformat=2.
3141         * toplev.c (documented_lang_options): Add these new options.
3142
3143 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3144
3145         * builtins.def (BUILT_IN_IMAXABS): Add.
3146         * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
3147         * c-common.c (c_common_nodes_and_builtins): Create builtin
3148         functions __builtin_imaxabs, and plain imaxabs unless
3149         flag_no_nonansi_builtin outside C99 mode.
3150         (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
3151         * extend.texi: Document builtin imaxabs.
3152
3153 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3154
3155         * c-common.c: Include "defaults.h".
3156         (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
3157         (c_common_nodes_and_builtins): Create string_type_node,
3158         const_string_type_node, wint_type_node, intmax_type_node,
3159         uintmax_type_node, default_function_type, ptrdiff_type_node and
3160         unsigned_ptrdiff_type_node.
3161         * c-common.h (identifier_global_value): Declare.
3162         * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
3163         (init_decl_processing): Don't create string_type_node,
3164         const_string_type_node, wint_type_node, intmax_type_node,
3165         uintmax_type_node, default_function_type, ptrdiff_type_node and
3166         unsigned_ptrdiff_type_node.
3167         (identifier_global_value): New function.
3168
3169 2000-12-01  Neil Booth  <neilb@earthling.net>
3170
3171         * cppinit.c (initialize): Forgotten prototype.
3172         * cpplex.c (_cpp_lex_token): Loop until not skipping.
3173         Always clear PREV_WHITE upon meeting a new line.
3174         * cpplib.c (end_directive): Set pfile->skipping after
3175         skip_rest_of_line.
3176         * cpplib.h (cpp_reader): Remove macro_pos.
3177         * cppmacro.c (cpp_get_line): Don't do anything special inside
3178         macros.
3179         (parse_arg): Add PREV_WHITE if a token appears after new lines.
3180         (funlike_invocation_p): Save and restore the output position
3181         over a successful check for a '('.
3182         (enter_macro_context): Delete uses of macro_pos.
3183         (cpp_get_token): Don't use pfile->skipping.
3184
3185 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
3186
3187         * diagnostic.c:  Fix typos in comments.
3188         * diagnostic.h:  Likewise.
3189
3190 2000-11-30  Phil Edwards  <pme@sources.redhat.com>
3191
3192         * rtl.texi (Machine Modes):  Document BImode and OImode.
3193
3194 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3195
3196         * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
3197         .FPP.
3198
3199 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3200
3201         * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
3202         incomplete element type.
3203         (grokparms): Before checking for incomplete parameter type, check
3204         the type isn't error_mark_node.
3205
3206 2000-12-01  Jakub Jelinek  <jakub@redhat.com>
3207
3208         * builtins.c (target_char_cast): New function.
3209         (expand_builtin_strchr): Use it.
3210         (expand_builtin_strrchr): Use it.
3211         (builtin_memset_read_str): New function.
3212         (expand_builtin_memset): Use target_char_cast.
3213         Try to optimize memset with second argument non-zero using
3214         store_by_pieces.
3215
3216 2000-11-30  Marek Michalkiewicz  <marekm@linux.org.pl>
3217
3218         * install.texi (avr): Replace incomplete list of supported MCU
3219         types with a link to the current one ...
3220         * invoke.texi (AVR Options): ... here.  Update -mmcu= to list
3221         all supported MCU types.  Document -minit-stack= default.
3222         Document new options -mno-tablejump, -mtiny-stack.
3223         * md.texi (AVR family):  Fix typo in 'w' constraint letter
3224         description.  Document 'q'.  Update 'O'.
3225
3226 2000-12-01  Bernd Schmidt  <bernds@redhat.co.uk>
3227
3228         * combine.c (cant_combine_insn_p): Only disallow insns involving
3229         hard regs if they are reg-reg moves.
3230         (try_combine, can_combine_p, combinable_i3pat): Delete old
3231         SMALL_REGISTER_CLASSES tests.
3232
3233 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
3234
3235         * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
3236         whether X is a CONST_INT.
3237         (addsubcosts): Likewise.
3238
3239         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
3240         mis-used XINT.
3241         (ARG_POINTER_REGNUM): Set to AP_REG.
3242
3243 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
3244
3245         * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
3246         splits): Only match on TARGET_SH4.
3247
3248         * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
3249         of subsequent insns.
3250
3251 2000-11-30  Richard Henderson  <rth@redhat.com>
3252
3253         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
3254         * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
3255
3256 2000-11-30  Richard Henderson  <rth@redhat.com>
3257
3258         * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
3259         (DO_SELECT_SECTION): New.
3260         (SELECT_SECTION): Use it.
3261         (UNIQUE_SECTION_P): New.
3262         (UNIQUE_SECTION): New.
3263
3264 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
3265
3266         * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
3267         from va_list before using it.
3268
3269 2000-11-30  Michael Matz  <matzmich@cs.tu-berlin.de>
3270
3271         * flow.c (make_edge): Early out, if no flags to set.
3272         (calculate_global_regs_live): Clear out garbage only when necessary.
3273
3274         * simplify-rtx.c (varray_type used_regs): New.
3275         (clear_table): Use it to only clear necessary items.
3276         (cselib_lookup, cselib_record_set): Remember newly set items.
3277         (cselib_update_varray_sizes, cselib_init): Initialize and grow
3278         used_regs.
3279
3280         * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
3281         Move clearing of dead regs out of insn-loop.
3282
3283 2000-11-30  Richard Henderson  <rth@redhat.com>
3284
3285         * calls.c (expand_call): Emit queued insns before creating
3286         the tail recursion sequence.
3287
3288 2000-11-30  J. David Anglin  <dave.anglin@nrc.ca>
3289             Bruce Korb  <bkorb@gnu.org>
3290
3291         * fixinc/inclhack.def(): prevent dual double definition protection
3292         * fixinc/fixincl.x: regenerate
3293
3294 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
3295
3296         * fixinc/Makefile.in (fixincl.x): Explicitly state the
3297         location of the generated file.
3298
3299 2000-11-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3300
3301         * README.FRESCO: Remove obsolete file.
3302
3303 2000-11-30  Mark Kettenis  <kettenis@gnu.org>
3304
3305         * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
3306         TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
3307         config/t-linux for the Hurd.
3308
3309 2000-11-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3310
3311         * config/mn10200/udivmod.c, config/mn10200/divmod.c,
3312         config/mn10200/udivmodsi4.c: Moved from here.
3313         * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
3314         * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
3315         C division functions.
3316         * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
3317
3318 Thu Nov 30 01:12:52 2000  Jeffrey A Law  (law@cygnus.com)
3319
3320         * pa.md (conditional moves): Avoid holes in operand list.
3321         (mod, umod patterns): Similarly.
3322         (variable extract/shift patterns): Similarly.
3323
3324 2000-11-30  Neil Booth  <neilb@earthling.net>
3325
3326         * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
3327         maybe_objc_check_decl, build_objc_string_object,
3328         objc_declare_alias, objc_declare_class, build_message_expr,
3329         build_protocol_expr, build_selector_expr, build_encode_expr,
3330         get_class_ivars, start_class, start_protocol): Remove
3331         redundant code, assuming doing_objc_thang is true.
3332
3333 2000-11-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3334
3335         * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
3336         (record_unscaled_index_insn_codes): Likewise.
3337         (unscaled_index_insn_codes): Delete.
3338         (max_unscaled_index_insn_codes_uid): Delete.
3339         (output_function_prologue, output_function_epilogue, pa_reorg):
3340         Don't use the unscaled index insn hack.
3341
3342         * pa.md: Remove hack from all index insns to reverse the operand
3343         order of frame and stack pointer references incorrectly created
3344         in the reload pass.
3345
3346         * function.h (emit_status): Delete member regno_pointer_flag and
3347         rename regno_pointer_flag_length to regno_pointer_align_length.
3348         Delete define for REGNO_POINTER_FLAG.
3349         * integrate.h (inline_remap): Delete member regno_pointer_flag.
3350         Add member x_regno_reg_rtx.
3351         * rtl.h (rtx_def): Use frame_related bit to indicate register is
3352         a pointer in REG expressions.  Define REG_POINTER macro.
3353         * alias.c (find_base_value, find_base_term): Use REG_POINTER
3354         instead of REGNO_POINTER_FLAG.
3355         * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
3356         * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
3357         of regno_pointer_flag_length.  Remove code which refers to
3358         regno_pointer_flag.
3359         (mark_reg_pointer): Use REG_POINTER.
3360         (free_emit_status): Remove code which refers to regno_pointer_flag.
3361         (init_emit, mark_emit_status): Likewise.
3362         * flow.c (dump_flow_info): Likewise.
3363         * function.c (preserve_temp_slots): Likewise.
3364         * integrate.c (expand_inline_function, copy_rtx_and_substitute):
3365         Use x_regno_reg_rtx instead of regno_pointer_flag for function
3366         pointer determination in map.
3367         * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
3368         * predict.c (estimate_probability): Likewise.
3369         * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
3370         * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
3371         regno_pointer_flag for function pointer determination in map.
3372         * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
3373         REG_POINTER.
3374         * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
3375         Use REG_POINTER.
3376         (restore_unscaled_index_insn_codes): Revise comment.
3377
3378         * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
3379
3380 2000-11-30  Joseph S. Myers  <jsm28@cam.ac.uk>
3381
3382         * extend.texi: Update documentation for attributes.
3383
3384 2000-11-29  David O'Brien  <obrien@FreeBSD.org>
3385
3386         * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
3387         (ASM_DECLARE_OBJECT_NAME): Same.
3388         (ASM_FILE_END): Same.
3389         (ASM_FINISH_DECLARE_OBJECT): Same.
3390         (ASM_IDENTIFY_GCC): Same.
3391         (ASM_IDENTIFY_LANGUAGE): Same.
3392         (ASM_OUTPUT_CONSTRUCTOR): Same.
3393         (ASM_OUTPUT_DEF): Same.
3394         (ASM_OUTPUT_DESTRUCTOR): Same.
3395         (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
3396         (ASM_OUTPUT_SECTION_NAME): Same.
3397         (ASM_WEAKEN_LABEL): Same.
3398         (BSS_SECTION_ASM_OP): Same.
3399         (COMMON_ASM_OP): Same.
3400         (CONST_SECTION_ASM_OP): Same.
3401         (CONST_SECTION_FUNCTION): Same.
3402         (CTORS_SECTION_ASM_OP): Same.
3403         (DTORS_SECTION_ASM_OP): Same.
3404         (ESCAPES): Same.
3405         (FINI_SECTION_ASM_OP): Same.
3406         (IDENT_ASM_OP): Same.
3407         (IDENT_ASM_OP): Same.
3408         (INIT_SECTION_ASM_OP): Same.
3409         (INT_ASM_OP): Same.
3410         (MAX_OFILE_ALIGNMENT): Same.
3411         (SBSS_SECTION_ASM_OP): Same.
3412         (SDATA_SECTION_ASM_OP): Same.
3413         (SECTION_FUNCTION_TEMPLATE): Same.
3414         (SELECT_SECTION): Same.
3415         (SE_CONST_SECTION): Same.
3416         (SIZE_ASM_OP): Same.
3417         (SKIP_ASM_OP): Same.
3418         (STRING_ASM_OP): Same.
3419         (STRING_LIMIT): Same.
3420         (TYPE_ASM_OP): Same.
3421         (TYPE_OPERAND_FMT): Same.
3422
3423 2000-11-29  Neil Booth  <neilb@earthling.net>
3424
3425         * c-decl.c (c_decode_option): Don't handle -lang-objc.
3426         * objc/lang-options.h: Remove -lang-objc.
3427         * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
3428         * objc/objc-act.c (lang_init_options): Set c_language.
3429
3430 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
3431
3432         * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
3433         tests.
3434
3435 2000-11-29  Neil Booth  <neilb@earthling.net>
3436
3437         * c-pragma.c (init_pragma): Update for parse_in type change.
3438
3439 2000-11-29  Laurynas Biveinis  <lauras@softhome.net>
3440
3441         * configure.in: recognize DOS-style absolute paths.
3442
3443 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
3444
3445         * expr.h (store_by_pieces): Add prototype.
3446         (can_store_by_pieces): Likewise.
3447         * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
3448         (can_store_by_pieces): New.
3449         (store_by_pieces): New.
3450         (clear_by_pieces): New.
3451         (clear_by_pieces_1): New.
3452         (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
3453         arbitrary compiler generated constants into memory block.
3454         (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
3455         * builtins.c (c_readstr): New.
3456         (builtin_memcpy_read_str): New.
3457         (expand_builtin_memcpy): If src is string constant and
3458         emit_block_move would move it by pieces, compute integer constants
3459         from the string and store it into memory block instead.
3460         (builtin_strncpy_read_str): New.
3461         (expand_builtin_strncpy): If N is not constant zero and c_strlen does
3462         not return INTEGER_CST, don't optimize.
3463         If N is larger than strlen(src) + 1, try to copy the string
3464         including padding with store_by_pieces.
3465         (expand_builtin_strcmp): If both arguments have side effects, don't
3466         optimize.
3467         (expand_builtin_fputs): If STR has side effects, don't optimize.
3468
3469 2000-11-29  Richard Earnshaw  <rearnsha@arm.com>
3470
3471         * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
3472         Add use of link register.
3473
3474 2000-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
3475
3476         * extend.texi: Update documentation for default format attributes.
3477
3478 Tue Nov 28 21:56:45 2000  Jeffrey A Law  (law@cygnus.com)
3479
3480         * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3481         a list, to keep track of the sections.
3482
3483 2000-11-28  Nick Clifton  <nickc@redhat.com>
3484
3485         * config/arm/arm.md (pic_load_addr): Split into
3486         pic_load_addr_arm and pic_load_addr_thumb.
3487
3488         * config/arm/arm.c (legitimize_pic_address): Generate either
3489         ARM or Thumb versions of pic_load_addr.
3490         (arm_finalize_pic): Generate either ARM or Thumb versions of
3491         pic_load_addr.
3492
3493 2000-11-28  Richard Henderson  <rth@redhat.com>
3494
3495         * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
3496         after sibcall do_pending_stack_adjust.
3497
3498 Wed Nov 29 00:08:23 2000  J"orn Rennecke <amylaar@redhat.com>
3499
3500         * jump.c (delete_insn): Check that REG_LABEL note actually contains
3501         a CODE_LABEL.
3502
3503 2000-11-28  Neil Booth  <neilb@earthling.net>
3504
3505         * c-common.h: Remove flag_digraphs.
3506         * c-decl.c: Remove flag_digraphs.
3507         (c_decode_option): Don't set it.
3508         * c-lex.c (init_c_lex): Don't do anything for digraphs.
3509
3510 2000-11-28  Richard Henderson  <rth@redhat.com>
3511
3512         * c-parse.in (finish_parse): Update for parse_in type change.
3513         (_yylex): Likewise.
3514
3515 2000-11-28  Neil Booth  <neilb@earthling.net>
3516
3517         * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
3518         indicating whether to scan all buffers on the stack or
3519         just one.
3520         * cppinit.c (do_includes): Update.
3521         * cppmain.c (main): Update.
3522         * cpplib.h: Update prototype.
3523
3524 2000-11-28  Richard Henderson  <rth@redhat.com>
3525
3526         * genoutput.c (validate_insn_operands): New.
3527         (gen_insn): Call it.
3528
3529         * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
3530         (divmoddi_internal): Likewise.
3531         * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
3532         * config/i960/i960.md (branch patterns): Likewise.
3533         * config/ia64/ia64.md (tbit_and_0): Likewise.
3534         (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
3535         * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
3536         * config/mips/mips.md (divmodsi4_internal): Likewise.
3537         (divmoddi4_internal): Likewise.
3538         * config/rs6000/rs6000.md (call patterns): Likewise.
3539         * config/sh/sh.md (movsi_y): Likewise.
3540         * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
3541
3542 2000-11-28  Richard Henderson  <rth@redhat.com>
3543
3544         * config.gcc: Kill residual pyramid support.
3545
3546 2000-11-28  Neil Booth  <neilb@earthling.net>
3547
3548         * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
3549         * c-decl.c (c_decode_option): Update to match.
3550         * c-lex.c (init_c_lex, yyparse): Update to match.
3551         * c-lang.c (lang_init_options): Use cpp_create_reader.
3552         * cppinit.c (cpp_init): Rename initialize.
3553         (cpp_reader_init): Rename cpp_create_reader.  Create the
3554         reader.  Initialize cpplib if appropriate.
3555         * cpplib.h (cpp_create_reader) New prototype.
3556         (cpp_init, cpp_reader_init): Delete prototypes.
3557         * cppmain.c (general_init, setup_callbacks): New functions.
3558         (main): Use them.
3559         * fix-header.c (scan_in): Change type to cpp_reader *.
3560         (read_scan_file): Update for new cpplib interface and scan_in type.
3561
3562         * cp/decl.c (parse_in): Change to cpp_reader *.
3563         (lang_decode_option): Update.
3564         * cp/lex.c (lang_init_options): Use new cpplib interface.
3565         (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
3566         * cp/spew.c (read_token): Update.
3567         * objc/objc-act.c (lang_init_options): Update new cpplib interface.
3568
3569 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
3570
3571         * loop.c (load_mems): Avoid using next_label to find end_label. If
3572         jumping outside of the loop (other than loop end), don't hoist MEMs
3573         out of loop.
3574
3575 2000-11-28  Jan Hubicka  <jh@suse.cz>
3576
3577         * calls.c (expand_call): Don't disable tail recursion based
3578         on the loop nest.
3579
3580 2000-11-28  Neil Booth  <neilb@earthling.net>
3581
3582         * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
3583         (struct directive): Drop 4th argument from handlers.
3584         (do_define, do_line, do_include, do_undef, do_else, do_elif,
3585         do_endif): Similarly.
3586         (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
3587         (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
3588         (make_definition, make_undef): Take a const char*.
3589         (make_assertion): New function.
3590         (struct directive_table): Update.
3591         (main): Handle -A command line argument.
3592         (handle_directive): Drop fourth handler argument.
3593
3594 2000-11-28  Bernd Schmidt  <bernds@redhat.co.uk>
3595
3596         * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
3597         is anything but REG or MEM, but look inside STRICT_LOW_PART.
3598
3599 Tue Nov 28 09:53:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3600
3601         * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
3602         (IS_ABSOLUTE_PATHNAME): New macro.
3603         * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
3604
3605 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
3606
3607         * config/i386/i386.md (truncxfsf2_2): Fix predicate.
3608
3609 2000-11-27  Jim Wilson  <wilson@redhat.com>
3610
3611         * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
3612
3613 2000-11-27  Matthias Klose  <doko@cs.tu-berlin.de>
3614
3615         * extend.texi (Nested Functions): Update URL of Usenix paper.
3616
3617 2000-11-27  Mark Mitchell  <mark@codesourcery.com>
3618
3619         * function.c (free_after_compilation): Clear x_clobber_return_insn.
3620
3621 2000-11-27  Neil Booth  <neilb@earthling.net>
3622
3623         * cppinit.c (cpp_reader_init): Remove handling of warn_paste
3624         command line options.
3625         (cpp_handle_option): Similarly.
3626         * cpplib.h (struct cpp_options): Remove warn_paste.
3627         * cppmacro.c (paste_tokens): Apart from assembler, make
3628         unpasteable token warning mandatory.
3629
3630 2000-11-27  Neil Booth  <neilb@earthling.net>
3631
3632         * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
3633         (main): Allocate a pending directive set of these.  Use it.
3634         Merge handling of -D and -U.  Update handling of pending
3635         directives.  Free the memory after use.
3636
3637 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
3638
3639         * flow.c (entry_exit_blocks): Add entry for cond_local_set.
3640         (struct propagate_block_info): Add new member cond_local_set.
3641         (propagate_block): Accept new arg cond_local_set.  All callers
3642         changed.
3643         (init_propagate_block_info): Likewise.
3644         (calculate_global_regs_live): Allocate & free cond_local_set.  Always
3645         rescan if there's overlap between cond_local_set and new_live_at_end.
3646         (mark_set_1): Set bits either in cond_local_set or local_set, as
3647         appropriate.
3648         * basic-block.h (struct basic_block_def): New field cond_local_set.
3649         (propagate_block, init_propagate_block_info): Update prototypes.
3650
3651 Mon Nov 27 17:29:44 2000  kaz Kojima <kkojima@rr.iij4u.or.jp>
3652
3653         * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
3654         T register.
3655
3656 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
3657
3658         * arm.c (select_dominance_cc_mode): Handle new way that combine
3659         canonicalizes conditional compares.
3660         (arm_select_cc_mode): Likewise.
3661         * arm.md: Garbage collect some dead code.
3662         (cmp_and, cmp_ior): New patterns.
3663         (splitter for conditional move with inverted false): Use cond_exec
3664         and handle unordered comparisons.
3665
3666 Mon Nov 27 17:22:56 MET 2000  Jan Hubicka  <jh@suse.cz>
3667
3668         * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
3669         * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
3670         * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
3671         ix86_force_to_memory and ix86_free_from_memory.
3672
3673 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
3674
3675         * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
3676         arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
3677         anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
3678         one_cmpldi2): Merge with splitters to create define_insn_and_split
3679         patterns.  Remove redundant splits.
3680         (peephole2 for add:SI of invalid immediate): New.
3681         (peephole2 for minus:SI of invalid immediate): New.
3682         (peephole2 for ior:SI of invalid immediate): New.
3683         (peephole for merge of move and compare): Convert ot peephole2.
3684         (addsf3, adddf3): Mark as commutative.
3685
3686         * arm.md (thumb peephole for merging stack adjustments): Convert to
3687         peephole2.
3688
3689 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
3690
3691         * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
3692
3693         * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
3694         (reload_cse_simplify_operands): Do nothing about operands where both
3695         the operand and the match_operand fail to give us a mode.
3696         * simplify-rtx.c (wrap_constant): New function.
3697         (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
3698         CONST describing the proper mode.
3699         (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
3700         cselib_lookup.
3701         (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
3702         htab_find_slot_with_hash.
3703         (cselib_lookup): Likewise.
3704
3705         Based on a patch from Geoff Keating <geoffk@redhat.com>:
3706         * loop.c (basic_induction_var): If a REG is set from something
3707         that is not a biv, then the REG is not a biv.  Even if it is
3708         earlier set from something that is a biv.
3709
3710 2000-11-27  Alexandre Oliva  <aoliva@redhat.com>
3711
3712         * configure.in (extra_objs): Enclose extra_headers in quotes.
3713         * configure: Rebuilt.
3714
3715 2000-11-27  Neil Booth  <neilb@earthling.net>
3716
3717         * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
3718         Combine into the new function cb_change_file.
3719         (init_c_lex): Update.
3720         * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
3721         (cpp_syshdr_flags): Delete.
3722         * cpphash.h (_cpp_do_file_change): New prototype.
3723         Move struct cpp_buffer here from...
3724         * cpplib.h (struct cpp_buffer): ... here.
3725         (enum cpp_fc_reason, struct cpp_file_loc,
3726         struct_cpp_file_change, change_file): New.
3727         (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
3728         * cpplib.c (do_line): Update for new cb_change_file callback.
3729         (_cpp_do_file_change): New function.
3730         (_cpp_pop_buffer): Update to use it.
3731         * cppmain.c (move_printer): Delete.
3732         (main): Set up single callback cb_change_file.
3733         (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
3734         (cb_change_file): New.
3735         * fix-header.c (cur_file, cb_change_file): New.
3736         (recognized_function, read_scan_file): Update.
3737         * scan-decls.c (scan_decls): Update.
3738         * scan.h (recognized_function): Update prototype.
3739
3740 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
3741
3742         * tree.h (mark_tree_hashtable): New function.
3743         * tree.c (mark_tree_hashtable_entry): New function.
3744         (mark_tree_hashtable): Likewise.
3745
3746 2000-11-27  Michael Meissner  <meissner@redhat.com>
3747
3748         * d30v-protos.h (srelational_si_operator): Correctly spell
3749         function.
3750         (urelational_si_operator): Ditto.
3751         (relational_si_operator): Ditto.
3752         (d30v_expand_prologue): Add prototype.
3753         (d30v_expand_epilogue): Ditto.
3754
3755         * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
3756
3757         * d30v.md (movcccc_*): Delete now unused patterns.
3758         (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
3759         IF_THEN_ELSE.
3760         (define_cond_exec): Use 'b' to select branch flags.
3761
3762 2000-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3763
3764         * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
3765         functions.
3766         (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
3767
3768         * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
3769
3770         * c-common.c (c_common_nodes_and_builtins): Declare builtin
3771         strncpy and strncmp.
3772
3773         * extend.texi (strncmp, strncpy): Document new builtins.
3774
3775 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
3776
3777         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3778         a list, to keep track of the sections.
3779         * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
3780         parameter provided will always be a canonical string.
3781
3782 2000-11-26  Neil Booth  <neilb@earthling.net>
3783
3784         * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
3785         current buffer.
3786
3787 2000-11-26  Joseph S. Myers  <jsm28@cam.ac.uk>
3788
3789         * makefile.vms: Remove EGCS references.
3790
3791 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
3792
3793         * dwarf2out.c (output_file_names): New function.  Compute minimal
3794         combination of directory and file name table and emit them.
3795         (output_line_info): Remove code to emit directory and file name
3796         table and call output_file_names instead.
3797         (file_info_cmp): Helper function to sort directory names.
3798
3799 2000-11-26  Neil Booth  <neilb@earthling.net>
3800
3801         * cpplib.h (struct cpp_reader): Remove lang_asm.
3802         (struct cpp_options): Remove c89. New members lang,
3803         extended_numbers.
3804         * cppexp.c (parse_number): Use them.
3805         * cpphash.h (VALID_SIGN): Use them.
3806         * cppinit.c (set_lang, cpp_start_read): Update.
3807         * cpplex.c (parse_string, _cpp_lex_token): Update.
3808         * cpplib.c (_cpp_handle_directive): Update.
3809         * cppmacro.c (parse_args): Update.
3810         * cppmain.c (scan_buffer): Update.
3811
3812 Sun Nov 26 10:02:37 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3813
3814         * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
3815         proper type.
3816
3817 2000-11-26  Neil Booth  <neilb@earthling.net>
3818
3819         * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
3820         * c-decl.c: Remove parse_in declaration.
3821         * c-lang.c: Similarly.
3822         * c-lex.c: Similarly.
3823         * c-parse.in: Similarly.
3824         * c-pragma.c: Similarly.
3825         * configure.in: Similarly.
3826         * cp/Make-lang.in: Similarly.
3827         * cp/spew.c: Similarly.
3828         * cp/decl2.c: Remove check for lang-c++ option.
3829         * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
3830         * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
3831         * c-lex.h: Add declaration of parse_in.
3832         * cppinit.c: Call set_lang after allocating pfile->pending.
3833         * configure: Regenerate.
3834
3835 2000-11-25  Zack Weinberg  <zack@wolery.stanford.edu>
3836
3837         * combine.c (try_combine): Remove redundant test.
3838
3839 2000-11-25  Richard Henderson  <rth@redhat.com>
3840
3841         * c-common.h (DECL_C_HARD_REGISTER): New.
3842         * c-decl.c (finish_decl): Set it for asm register variables.
3843         * c-semantics.c (emit_local_var): Test it when instantiating one.
3844
3845 2000-11-25  Richard Henderson  <rth@redhat.com>
3846
3847         * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
3848         lineno for the start of the function.
3849
3850 2000-11-25  Richard Henderson  <rth@redhat.com>
3851
3852         * dwarf2out.c (file_table, file_table_allocated): Remove.
3853         (file_table_allocated): Remove.
3854         (struct file_table): New.
3855         (decl_file_table, line_file_table): New.
3856         (print_dwarf_line_table): Use them.
3857         (size_of_line_prolog): Likewise.
3858         (output_line_info): Likewise.
3859         (add_src_coords_attributes): Likewise.
3860         (gen_subprogram_die): Likewise.
3861         (gen_variable_die): Likewise.
3862         (dwarf2out_add_library_unit_info): Likewise.
3863         (dwarf2out_line): Likewise.
3864         (lookup_filename): Take a struct file_table argument.
3865         (init_file_table): New.
3866         (dwarf2out_init): Use it.
3867
3868 2000-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3869
3870         * invoke.texi: Update sequence points references.
3871
3872 2000-11-25  Neil Booth  <neilb@earthling.net>
3873
3874         * c-common.c: Remove USE_CPPLIB conditional inclusions.
3875         * c-common.h: Similarly.
3876         * c-decl.c: Similarly.
3877         * c-lang.c: Similarly.
3878         * c-lex.c: Similarly.
3879         * c-parse.in: Similarly.
3880         * c-pragma.c: Similarly.
3881         * c-pragma.h: Similarly.
3882         * gcc.c: Similarly.
3883         * toplev.c: Similarly.
3884         * cp/cp-tree.h: Similarly.
3885         * cp/decl2.c: Similarly.
3886         * cp/lang-specs.h: Similarly.
3887         * cp/lex.c: Similarly.
3888         * cp/lex.h: Similarly.
3889         * cp/spew.c: Similarly.
3890         * java/lang-options.h: Similarly.
3891         * objc/lang-specs.h: Similarly.
3892         * objc/objc-act.c: Similarly.
3893
3894         * configure.in: Remove configure option.
3895         * config.in: Regenerate.
3896         * configure: Regenerate.
3897
3898 2000-11-25  Richard Henderson  <rth@redhat.com>
3899
3900         * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
3901         Revert 2000-11-22 change.
3902
3903 2000-11-25  Bernd Schmidt  <bernds@redhat.co.uk>
3904
3905         * config/i386/i386.h (FIXED_REGS): Make the three flags registers
3906         fixed.
3907
3908 2000-11-25  Philipp Thomas  <pthomas@suse.de>
3909         * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
3910         * configure: Rebuilt.
3911
3912 2000-11-25  Jakub Jelinek  <jakub@redhat.com>
3913
3914         * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
3915         Handle CONST_INT as second argument.
3916         * config/sparc/sparc.c (set_extends): Remove first argument.
3917         Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
3918         MOV.
3919         (sparc_check_64): Abort if first argument is not REG.
3920         If it is DImode REG, look at the lower register of the register
3921         pair.
3922
3923         * config/sparc/sparc.c (load_pic_register, restore_regs,
3924         output_return, sparc_v8plus_shift, sparc_function_profiler,
3925         sparc_function_block_profiler, sparc_block_profiler): Fix output
3926         formatting.
3927
3928 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>
3929
3930         * config/sh/sh.h (TARGET_NONE): New.
3931         (TARGET_SWITCHES): For all variant-selecting switch, use
3932         TARGET_NONE to reset all other variant-selecting switch.  Added
3933         empty strings to avoid warnings.
3934         (TARGET_DEFAULT): Set to SH1_BIT.
3935
3936         * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
3937         insn-codes.h.
3938
3939         * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
3940         (sibcall_pcrel): New insn_and_split.
3941         (sibcall, sibcall_value, sibcall_epilogue): New expands.
3942
3943         * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
3944         symPLT_label2reg, call, call_value): Don't set
3945         current_function_uses_pic_offset_table.
3946         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
3947         PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
3948         takes it into account.
3949         (FINALIZE_PIC): Delete, useless.
3950         (LEGITIMATE_CONSTANT_P): Delete, unused.
3951         * config/sh/sh.c (sh_expand_prologue): Don't use
3952         current_function_uses_pic_offset_table.  Don't special-case
3953         PIC_OFFSET_TABLE_REGNUM.  Initialize it if it's ever live and
3954         PIC is enabled.
3955         (sh_expand_epilogue, initial_elimination_offset): Don't
3956         special case PIC_OFFSET_TABLE_REGNUM.
3957
3958 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>, NIIBE Yutaka  <gniibe@m17n.org>
3959
3960         * config/sh/sh-protos.h (symbol_ref_operand): Declare.
3961         * config/sh/sh.md (UNSPEC_CALLER): New constant.
3962         (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
3963         (call_pcrel, call_value_pcrel): New insn_and_splits.
3964         (call, call_value): Use them.
3965         (call_site): New expand.
3966         (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
3967         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
3968         Output call_site label.
3969         (PREDICATE_CODES): Added symbol_ref_operand.
3970         * config/sh/sh.c (symbol_ref_operand): Define.
3971         * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
3972         to CALL_INSNs in the split sequence.
3973
3974 2000-11-24  Nick Clifton  <nickc@redhat.com>
3975
3976         * config.gcc (v850-*-*): Define c_target_objs and
3977         cxx_target_objs.
3978
3979         * config/v850/t-v850: Define how to build v850-c.o
3980
3981         * config/v850/v850.h (struct data_area_stack_element): Move
3982         definition here from v850.c.
3983
3984         * config/v850v850.c: Include gcc.h to avoid compile time
3985         warning.
3986         (push_data_area): Move to v850-c.c.
3987         (pop_data_area): Move to v850-c.c.
3988         (mark_current_function_as_interrupt): Move to v850-c.c.
3989         (GHS_default_section_names): Allow to be exported.
3990         (GHS_current_section_names): Allow to be exported.
3991         (data_area_stack_elements): Allow to be exported.
3992         (ghs_pragma_section): Move to v850-c.c.
3993         (ghs_pragma_interrupt): Move to v850-c.c.
3994         (ghs_pragma_starttda): Move to v850-c.c.
3995         (ghs_pragma_startsda): Move to v850-c.c.
3996         (ghs_pragma_startzda): Move to v850-c.c.
3997         (ghs_pragma_endtda): Move to v850-c.c.
3998         (ghs_pragma_endsda): Move to v850-c.c.
3999         (ghs_pragma_endzda): Move to v850-c.c.
4000
4001         * config/v850/v850-c.c: New file: Contains v850 specific
4002         pragma parsing functions.
4003
4004 2000-11-24  Nick Clifton  <nickc@redhat.com>
4005
4006         * config.gcc (extra_objs): Remove duplicate description.
4007         (c_target_objs): New variable.  Contains target specific
4008         object files for the gcc C compiler only.
4009         (cxx_target_objs): New variable.  Contains target specific
4010         object files for the gxx C++ compiler only.
4011
4012         * configure.in (c_target_objs): Substitute in the makefile.
4013         (cxx_target_objs): Substitute in the makefile.
4014         * configure: Regenerate.
4015
4016         * Makefile.in (C_TARGET_OBJS): Define and initialise from
4017         c_target_objs.
4018         (CXX_TARGET_OBJS): Define and initialise from
4019         cxx_target_objs.
4020         (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
4021
4022         * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
4023
4024         * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
4025         about how the use of the 'c_lex' function requires the use of
4026         the target specific, language specific object files feature of
4027         the configuration mechanism.
4028
4029 Fri Nov 24 18:50:58 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4030
4031         * gcc.c (process_command): Use F_OK, not R_OK.
4032
4033 2000-11-24  Arno J. Klaassen  <arno@heho.snv.jussieu.fr>
4034
4035         * flow.c (print_rtl_and_abort): Remove ANSIism.
4036
4037 Fri Nov 24 19:54:36 2000  Alexandre Oliva  <aoliva@redhat.com>
4038
4039         * config/sh/sh.h (GENERAL_REGISTER_P,
4040         GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
4041         FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros.  Use them
4042         all over.
4043         (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
4044         * config/sh/sh.c: Use new macros.
4045         * config/sh/sh.md: Likewise.
4046
4047 Fri Nov 24 19:46:16 2000  Alexandre Oliva  <aoliva@redhat.com>
4048
4049         * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
4050         instead of just MACH_REG in DImode.  Always refer to FPSCR_REG
4051         in PSImode.
4052
4053 Fri Nov 24 22:37:41 2000  Denis Chertykov  <denisc@overta.ru>
4054
4055         * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
4056         fixed.
4057         (machine_dependent_reorg): Wrong optimization based on
4058         NOTICE_UPDATE_CC removed.
4059
4060 Fri Nov 24 19:48:09 2000  J"orn Rennecke <amylaar@redhat.com>
4061
4062         * jump.c (delete_computation): Re-instate deletion of feeding insn.
4063         (delete_insn): Look for REG_LABEL notes.
4064         (redirect_tablejump): Delete feeding insns.
4065
4066 2000-11-24  Bernd Schmidt  <bernds@redhat.co.uk>
4067
4068         * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
4069         call_value_pop_1): Make sure operand numbers are contiguous.
4070
4071         * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
4072
4073         * reload1.c (conflicts_with_override): New function.
4074         (emit_input_reload_insns): Use it to tighten test for validity
4075         of substituting into output of previous insn.
4076
4077         * haifa-sched.c (struct ready_list): New.
4078         (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
4079         functions.
4080         (schedule_insn): Replace args READY and N_READY with a pointer to a
4081         ready_list; return void.  Use the new functions to access the ready
4082         list.  All callers changed.
4083         (queue_to_ready, debug_ready_list): Likewise.
4084         (schedule_block): Initialize a ready_list structure.  Use new
4085         functions to access it.
4086         (max_priority): Remove unused variable.
4087         (schedule_insn): Don't set it.
4088
4089         * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
4090
4091         * combine.c (cant_combine_insn_p): New function.
4092         (try_combine): Use it.
4093
4094         * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
4095         * c-common.c (c-obstack.c): Include "obstack.h".
4096         (struct reverse_tree): Delete.
4097         (reverse_list, reverse_max_depth): Delete.
4098         (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
4099         (struct tlist, struct tlist_cache): New.
4100         (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
4101         (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
4102         warn_for_collisions, warn_for_collisions_1, new_tlist): New
4103         static functions.
4104         (verify_sequence_points): Rewritten.
4105         * fold-const.c (fold): Don't lose possibly important sequence
4106         points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
4107
4108 2000-11-24  Richard Sandiford  <rsandifo@redhat.com>
4109
4110         * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
4111         when reversing a register-to-register copy.  Reversal now disabled
4112         when the previous instruction has a REG_EQUIV.
4113
4114 2000-11-24  Nathan Sidwell  <nathan@codesourcery.com>
4115
4116         * c-parse.in (unary_expr): Move VA_ARG from here ...
4117         (primary): ... to here.
4118
4119 2000-11-23  Graham Stott  <grahams@redhat.com>
4120
4121         * expr.c (store_constructor): If a field is non addressable and
4122         the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
4123
4124 2000-11-23  Bernd Schmidt  <bernds@redhat.co.uk>
4125
4126         * flow.c (print_rtl_and_abort): New function.
4127         (verify_wide_reg, verify_local_live_at_start): Try to dump more
4128         information before aborting.
4129
4130 2000-11-23  Alexandre Oliva  <aoliva@redhat.com>
4131
4132         * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
4133         is narrower than requested mode.
4134         (gen_highpart): Abort if register mode is narrower than
4135         requested mode.
4136
4137 2000-11-23  Graham Stott  <grahams@redhat.com>
4138
4139         * cse.c (cse_insn): Initialise all regcost variables.
4140         Fix a typo add missing '='.
4141         Only compare costs if there is a replacement insn.
4142
4143 Thu Nov 23 04:33:33 2000  Alexandre Oliva  <aoliva@redhat.com>
4144
4145         * final.c (output_addr_const) [LABEL_REF]: Simplify.
4146         [MINUS]: Enclose non-CONST_INTs in parentheses.
4147         [default]: Try OUTPUT_ADDR_CONST_EXTRA.
4148         * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
4149         * varasm.c (decode_rtx_const) [CONST]: If it's not something
4150         PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
4151         instead of abort()ing.
4152         * sh.c (output_pic_addr_const): Removed.  Fixed all callers.
4153         * sh.h (OUTPUT_ADDR_CONST_EXTRA): New.  Handle the UNSPECs
4154         formerly handled in output_pic_addr_const.
4155         * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
4156         operands of MINUS in CONSTs so that decode_rtx_const() will
4157         accept them.
4158
4159 Thu Nov 23 04:10:30 2000  Alexandre Oliva  <aoliva@redhat.com>
4160
4161         * config/sh/sh.md (mova_const): New pattern.
4162         (GOTaddr2picreg): Use it.
4163         * config/sh/sh.c (broken_move): Match it.
4164         (mova_p): Don't match it.
4165         (machine_dependent_reorg): Adjust it.
4166
4167 Thu Nov 23 02:09:09 2000  Alexandre Oliva  <aoliva@redhat.com>
4168
4169         * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
4170         Moved most register-number #defines...
4171         * config/sh/sh.md (define_constants): ... here.  Use macros to
4172         refer to registers and unspecs.
4173         * config/sh/sh.c: Likewise.
4174
4175 Thu Nov 23 01:01:32 2000  J"orn Rennecke <amylaar@redhat.com>
4176
4177         * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
4178         (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
4179         (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
4180         (splay-tree.o, hash.o): Likewise.
4181         GCONFIG_H: New.
4182         (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
4183         (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
4184         (hashtab.o): Likewise.
4185         (gcov.o): Depend on $(CONFIG_H).
4186         * configure.in: #include insn-codes.h in tm.h.
4187
4188 2000-11-22  Nick Clifton  <nickc@redhat.com>
4189
4190         * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
4191         const char * to avoid a compile time warning.
4192
4193         * config/arm/arm.md (define_constants): Define symbolic names for
4194         the link register, last integer register and the fake CC register.
4195         Update patterns to use these symbolic names.
4196
4197 2000-11-22  Neil Booth  <neilb@earthling.net>
4198
4199         * cpplex.c (trigraph_ok): Ensure we don't warn twice.
4200         * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
4201
4202 2000-11-22  Richard Henderson  <rth@redhat.com>
4203
4204         * haifa-sched.c (sched_analyze_1): Don't special-case calls
4205         for clobbering registers.
4206         (sched_analyze_2): Likewise.
4207         (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
4208
4209 2000-11-22  Chris Demetriou  <cgd@sibyte.com>
4210             Neil Booth  <neilb@earthling.net>
4211
4212         * gcc.c (validate_switches): Validate multiple switches named
4213         in '|' (or) expressions in specs.
4214         (handle_braces): If more than 1 alternative in a '|' spec
4215         matches, call do_spec1 just once.
4216
4217 2000-11-22  Michael Meissner  <meissner@redhat.com>
4218
4219         * d30v.h (TARGET_SWITCHES): Add documentation strings.
4220         (TARGET_OPTIONS): Ditto.
4221         (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
4222         -O3.
4223
4224 Wed Nov 22 06:40:56 2000  Jeffrey A Law  (law@cygnus.com)
4225
4226         * pa.c (hppa_encode_label): Account for addition of encoding
4227         character when allocating persistent space for the new label
4228         name.
4229
4230 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
4231
4232         * Makefile.in, config.gcc, configure.in: Expunge remaining
4233         traces of facility for running MD files through C preprocessor.
4234
4235 2000-11-22  Joseph S. Myers  <jsm28@cam.ac.uk>
4236
4237         * gcov.texi: Add magic comments for texi2pod.pl.
4238         * Makefile.in: Add rules to generate and install gcov.1.
4239         * gcov.1: New (generated) file.
4240
4241 2000-11-21  Richard Henderson  <rth@redhat.com>
4242
4243         * regrename.c (scan_rtx_reg): Terminate the chain rather than
4244         abort on mark_read with NO_REGS.
4245
4246 2000-11-21  Mike Stump  <mrs@wrs.com>
4247
4248         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
4249         compilation with older compilers, such as /bin/cc on SunOS.
4250         * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
4251
4252 2000-11-21  Richard Henderson  <rth@redhat.com>
4253
4254         * varasm.c (record_constant): Pad the constructed
4255         constant_descriptor appropriately.
4256
4257 Wed Nov 22 00:52:55 2000  J"orn Rennecke <amylaar@redhat.com>
4258
4259         * rtl.h (traverse_md_constants): Declare.
4260         (struct md_constant): Define.
4261         * Makefile.in (HOST_RTL): Add hashtab.o .
4262         (OBJS): Add hashtab.o .
4263         (hashtab.o): New rule.
4264         (rtl.o): Depends on HASHTAB_H.
4265         * rtl.c (hashtab.h): #include.
4266         (md_constants): New static variable.
4267         (def_hash, def_name_eq_p, read_constants): New static functions.
4268         (traverse_md_constants): New function.
4269         (read_name): Do constant expansion.
4270         (read_rtx): Recognize define_constants.
4271         * gencodes.c (print_md_constant): New function.
4272         (main): Emit #defines for all constant definitions encountered.
4273         * md.texi (Constant Definitions): New node.
4274         * gensupport.c (xcalloc): New function.
4275
4276 2000-11-21  Richard Henderson  <rth@redhat.com>
4277
4278         * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
4279         * config/alpha/alpha-protos.h: Declare it.
4280         * config/alpha/alpha.md (abstf_internal): Use it.
4281         (negtf_internal): Likewise.
4282         (andnotdi3): Unstar the name.
4283         (movtf_internal): Add o/G alternative.
4284
4285 2000-11-21  Zack Weinberg  <zack@wolery.stanford.edu>
4286
4287         * stringpool.c (stringpool_statistics): Also report number and
4288         percentage of entries which are identifiers.
4289
4290 2000-11-21  Diego Novillo  <dnovillo@redhat.com>
4291
4292         * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
4293         visited before visiting it.
4294
4295 2000-11-21  Nick Clifton  <nickc@redhat.com>
4296
4297         * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
4298         TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
4299
4300         * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
4301
4302 2000-11-21  Richard Henderson  <rth@redhat.com>
4303
4304         * c-common.c (c_unsafe_for_reeval): New function.
4305         (add_c_tree_codes): Register it.
4306         * c-common.h: Declare it.
4307         * tree.c (lang_unsafe_for_reeval): New hook.
4308         (unsafe_for_reeval): Call it.
4309         * tree.h: Declare it.
4310
4311 2000-11-21  Richard Henderson  <rth@redhat.com>
4312
4313         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
4314         references as well.
4315
4316 2000-11-21  Neil Booth  <neilb@earthling.net>
4317
4318         * do_includes: Revert to using cpp_read_file.
4319
4320 2000-11-21  Bernd Schmidt  <bernds@redhat.co.uk>
4321
4322         * loop.c (consec_sets_giv): If the reg we're examining is anything
4323         but UNKNOWN_INDUCT, do nothing.
4324         Reset the reg's type to UNKNOWN_INDUCT before returning.
4325
4326         Mostly from Vladimir Makarov (vmakarov@redhat.com)
4327         * ia64.md (attr itanium_class): Define insn types as described in
4328         Itanium docs.
4329         (all insn patterns): Use itanium_class, not type attributes.
4330         Occasionally split alternatives as necessary.
4331         (attr type): Compute from new attr itanium_class.
4332
4333 2000-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4334
4335         * tradcpp.c (output_line_command): Mark system headers as such in
4336         `line' commands.
4337
4338 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
4339
4340         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
4341         support in as as well.
4342         * configure: Regenerate.
4343
4344 2000-11-20  Richard Henderson  <rth@redhat.com>
4345
4346         * c-lex.c (orig_filename): New variable.
4347         (init_c_lex): Set it.  Move call to cpp_start_read ...
4348         (yyparse): ... here.  New function.
4349         * c-parse.in (yyparse_1): Rename the parser entry point.
4350         * c-tree.h: Declare it.
4351
4352 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
4353
4354         * expr.c (do_compare_and_jump): If op0 was replaced by promoted
4355         integer constant, use type of op1 for comparison.
4356
4357 2000-11-20  Stan Shebs  <shebs@apple.com>
4358
4359         * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
4360         * config/rs6000/x-darwin: New file, Darwin host fragment.
4361         * config.gcc (powerpc-*-darwin*): New host.
4362         * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
4363         overridden by a config file.
4364
4365 2000-11-20  Neil Booth  <neilb@earthling.net>
4366
4367         * cppmacro.c (paste_tokens): Rename from paste_payloads.
4368         Change token type after pasting spellings.
4369         (paste_all_tokens): Use it.
4370         * gcc.dg/cpp/paste2.c: Update test.
4371         * objc/execute/paste.m: New test.
4372
4373 2000-11-20  Richard Henderson  <rth@redhat.com>
4374
4375         * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
4376         dwarf_subscr_data_formats bits.
4377         * dwarfout.c (simple_type_size_in_bits): Handle a type with
4378         no computed size as size zero.
4379         (field_byte_offset): Likewise.
4380         (subscript_data_attribute): Handle a range with no upper bound.
4381
4382 2000-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4383
4384         * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
4385
4386 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4387
4388         * c-typeck.c (build_conditional_expr): When merging type
4389         qualifiers for conditional expressions between a pointer and a
4390         pointer to a void type, merge the qualifiers on the target types
4391         rather than the pointer type.  Remove obsolete conditioned out
4392         code.
4393
4394 2000-11-20  Neil Booth  <neilb@earthling.net>
4395
4396         * c-lang.c (lang_init_options): Update call to
4397         cpp_reader_init.
4398         * cppmain.c (main): Similarly.
4399         * fix-header.c (read_scan_file): Similarly.
4400         * cp/lex.c (lang_init_options): Similarly.
4401         * objc/objc-act.c (lang_init_options): Similarly.
4402         * cppexp.c (parse_number): Only warn for unextended C89.
4403         * cppinit.c (set_lang): New function.
4404         (cpp_reader_init): Take a LANG argument and pass it to set_lang.
4405         (COMMAND_LINE_OPTIONS): New option std=c++98.
4406         (cpp_handle_option): Use set_lang.
4407         * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
4408         * cppib.h (enum_c_lang): New enumeration.  Update comments.
4409
4410 2000-11-20  Will Cohen  <wcohen@redhat.com>
4411
4412         * calls.c (expand_call): Clear target only when target is in
4413         hard register and current_function_check_memory_usage is set.
4414
4415 2000-11-20  Bernd Schmidt  <bernds@redhat.co.uk>
4416
4417         * toplev.c (rest_of_compilation): Run optimize_mode_switching even
4418         if not optimizing.
4419         * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
4420
4421 2000-11-19  Richard Henderson  <rth@redhat.com>
4422
4423         * crtstuff.c (force_to_data): Use array size 1 not 0.
4424
4425         * dwarf2out.c (simple_type_size_in_bits): Handle a type with
4426         no computed size as size zero.
4427         (field_byte_offset): Likewise.
4428
4429 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4430
4431         * config.gcc: Fix another typo.
4432
4433 2000-11-19  Richard Henderson  <rth@redhat.com>
4434
4435         * c-decl.c (grokdeclarator): Support flexible array members.
4436         Use open-ended ranges for these and zero-length arrays.
4437         * c-typeck.c (push_init_level): Validate the context of
4438         initialization of a zero-length array.
4439         * tree.c (int_fits_type_p): Be prepared for missing bounds.
4440         * varasm.c (array_size_for_constructor): New.
4441         (output_constructor): Use it for arrays of unspecified length.
4442         * extend.texi (Zero Length): Mention C99 flexible array members.
4443         Document initialization in a top-level struct as valid.
4444
4445 2000-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
4446
4447         * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
4448
4449         * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
4450         stdarg and varargs functions.
4451
4452 2000-11-19  Zack Weinberg  <zack@wolery.stanford.edu>
4453
4454         * gcc.c (process_command): Define 'j' variable when
4455         MODIFY_TARGET_NAME is defined.
4456
4457 2000-11-19  Richard Henderson  <rth@redhat.com>
4458
4459         * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
4460
4461 2000-11-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4462
4463         * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
4464         calculation and allocation.
4465
4466 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4467
4468         * builtins.c (c_getstr): Constify variable.
4469         * gmon-sol2.c (_mcleanup): Comment out #endif labels.
4470         * conflict.c (const_conflict_graph_arc): New typedef.
4471         (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
4472         * cppmacro.c (builtin_macro): Likewise.
4473         * dwarf2out.c (output_comp_unit): Constify variable.
4474         * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
4475         * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
4476         * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
4477         away const-ness.
4478         * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
4479         ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
4480         * varasm.c (const_str_htab_hash, const_str_htab_eq,
4481         compare_constant_1, record_constant_1): Constify.
4482
4483 2000-11-18  Richard Henderson  <rth@redhat.com>
4484
4485         * c-decl.c (grokdeclarator): Special case the creation of an
4486         index for a zero-length array.
4487         * tree.c (build_index_type): Revert Oct 20 change.
4488
4489 2000-11-18  Marek Michalkiewicz  <marekm@linux.org.pl>
4490
4491         * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
4492         * config/avr/avr.c (jump_tables_size): New variable.
4493         (function_prologue): Initialize it as 0.
4494         (function_epilogue): Add it to function_size.
4495         (avr_output_addr_vec_elt): New function.  Count words in jump
4496         tables in jump_tables_size.  Move code ...
4497         * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
4498         Call avr_output_addr_vec_elt instead.
4499         * config/avr/avr.md (tablejump): Remove disabled define_expand.
4500
4501 2000-11-18  Mark Mitchell  <mark@codesourcery.com>
4502
4503         * configure.in: Make --enable-new-gxx-abi the default.
4504         * configure: Likewise.
4505
4506 2000-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4507
4508         * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
4509
4510         * tradcif.y: Include tradcpp.h.  Constify.  Make functions static.
4511         Move extern function declarations to tradcpp.h.
4512
4513         * tradcpp.c: Likewise.
4514
4515         * tradcpp.h: New file.
4516
4517 2000-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
4518
4519         * c-decl.c (check_for_loop_decls): New function.
4520         * c-parse.in (for_init_stmt): New.
4521         (select_or_iter_stmt): Use for_init_stmt.
4522         * c-tree.h (check_for_loop_decls): New declaration.
4523
4524 2000-11-18  Neil Booth  <neilb@earthling.net>
4525
4526         * cppinit.c: Update comments.
4527         (cpp_reader_init): Make -imacro and -include use the standard
4528         #include "" search path.
4529         (do_includes): New function.
4530
4531 2000-11-18  Ben Elliston  <bje@redhat.com>
4532
4533         * config/sh/crt1.asm (start_l): Move PC-relative move instruction
4534         out of a branch delay slot.
4535
4536 2000-11-17  Richard Henderson  <rth@redhat.com>
4537
4538         * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
4539         (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
4540         (ASM_FILE_START): Only write out ecoff .file directive if
4541         emitting mdebug debugging.
4542
4543 2000-11-17  Richard Henderson  <rth@redhat.com>
4544
4545         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.  Detect
4546         whether as accepts .file/.loc and produces dwarf2 line info.
4547         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
4548         the assembler supports it.
4549         * config.in, configure: Regenerate.
4550
4551 2000-11-17  Richard Henderson  <rth@redhat.com>
4552
4553         * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
4554
4555 2000-11-17  Jim Wilson  <wilson@redhat.com>
4556
4557         * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
4558         Don't clear need_barrier is next_insn is a CALL_INSN, or has
4559         instruction type B or UNKNOWN.
4560
4561 2000-11-17  Neil Booth  <neilb@earthling.net>
4562
4563         * cpperror.c (print_file_and_line): Don't display line number if 0.
4564
4565 2000-11-17  Zack Weinberg  <zack@wolery.stanford.edu>
4566
4567         * ggc.h: Delete ggc_add_string_root and ggc_mark_string.  Add
4568         digit_vector and digit_string.
4569         * stringpool.c (digit_vector): New.
4570         (ggc_alloc_string): Use digit_string.
4571
4572         * stmt.c (digit_strings): Delete.
4573         (init_stmt): Do not initialize digit_strings.
4574         (expand_asm_operands): Use ggc.h's digit_string macro.
4575         * toplev.c (mark_file_stack): Delete.
4576         (compile_file): Don't call init_tree_codes.
4577         (main): No need to make the file stack a GC root.
4578         * tree.c (init_tree_codes): Delete.
4579         * tree.h (init_tree_codes): Delete.
4580
4581         * c-lex.c: Don't include ggc.h.
4582         (mark_splay_tree_node, mark_splay_tree): Delete.
4583         (init_c_lex): No need to ggc_strdup string constant.  Don't add
4584         file_info_tree to GGC roots.
4585         (cb_enter_file, cb_rename_file): No need to ggc_strdup
4586         ip->nominal_fname.
4587
4588         * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
4589
4590         * dbxout.c (dbxout_init),
4591         dwarf2out.c (dwarf2out_line),
4592         ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
4593         varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
4594         xcoffout.c (xcoffout_source_file),
4595         i386.c (load_pic_register):
4596         Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
4597
4598         * except.c (create_rethrow_ref),
4599         profile.c (init_edge_profiler),
4600         toplev.c (compile_file),
4601         varasm.c (named_section, assemble_static_space,
4602         assemble_trampoline_template, output_constant_def, force_const_mem),
4603         i386.c (load_pic_register),
4604         ia64.c (ia64_encode_section_info),
4605         rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
4606         rs6000_emit_prologue, rs6000_emit_epilogue),
4607         rs6000.md (load_toc_aix_si, load_toc_aix_di):
4608         Change ggc_alloc_string (var, -1) to ggc_strdup (var).
4609
4610         * profile.c (output_func_start_profiler),
4611         tree.c (make_node),
4612         i386.c (load_pic_register): No need to ggc_strdup string constant.
4613
4614 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
4615
4616         * Makefile.in (config.status): Depend on config.gcc.
4617         * configure.in <for machine in $build $host $target>: Move
4618         contents of loop into config.gcc, removing autoconf quoting.
4619         Fix changequote bug for alpha*-*-vxworks*.
4620         * configure: Regenerate.
4621         * config.gcc: New.
4622
4623 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
4624
4625         * c-parse.in (if_prefix): Find the filename and line number at
4626         $-2 and $-1 respectively.
4627         * diagnostic.c (error_recursion): Add missing newline, use
4628         fputs, translate string.
4629
4630 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
4631
4632         * stringpool.c: New file.
4633         * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
4634         (ggc_alloc_string): Now in stringpool.o.
4635         * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
4636         * ggc.h: Delete prototype of ggc_add_string_root.  #define
4637         ggc_add_string_root and ggc_mark_string to nothing.  Prototype
4638         init_stringpool and stringpool_statistics.
4639         (ggc_alloc_string): Returns a const char *.
4640         * tree.c (hash_table, do_identifier_warnings): Delete.
4641         (init_obstacks): Don't initialize the identifier hash table.
4642         (get_identifier, maybe_get_identifier, start_identifier_warnings,
4643         set_identifier_size): Now in stringpool.c.
4644         * tree.h (struct tree_string): Constify pointer field.
4645         (approx_sqrt): Prototype.
4646
4647         * Makefile.in (stringpool.o): Add rule, mention in OBJS.
4648
4649         * toplev.c (approx_sqrt): New function.
4650         (compile_file): Call stringpool_statistics if mem_report is on.
4651         (main): Call init_stringpool.
4652
4653         * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
4654         (process_directive), c-typeck.c (constructor_asmspec, struct
4655         initializer_stack, start_init), except.c (create_rethrow_ref),
4656         stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
4657         (built_in_filename), varasm,c (in_named_name,
4658         assemble_static_space, struct constant_descriptor, struct
4659         deferred_string, struct pool_constant, force_const_mem),
4660         i386.c (pic_label_name, global_offset_table_name), rs6000.c
4661         (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
4662
4663         * c-common.c (combine_strings): Combine strings in scratch
4664         buffer, then pass to build_string.
4665         * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
4666         output_func_start_profiler), stmt.c (init_stmt), alpha.c
4667         (alpha_need_linkage), arm.c (arm_encode_call_attribute),
4668         i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
4669         rs6000.c (rs6000_encode_section_info): Create string in
4670         scratch buffer, then pass to ggc_alloc_string.
4671
4672         * stmt.c (expand_asm_operands): If we must adjust the
4673         constraint strings, do so by creating a new one, not by
4674         modifying the old one in place.  Constify some char *s.
4675         * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
4676         argument.  Create string in scratch buffer, then pass to
4677         ggc_alloc_string.
4678         * config/pa/pa-protos.h: Update prototype.
4679         * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
4680         hppa_encode_label takes only one argument.
4681
4682 2000-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4683
4684         * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
4685         malloc/realloc.
4686
4687         * cpplib.c (glue_header_name): Likewise.
4688
4689         * fixincl.c (run_compiles, start_fixer): Likewise.
4690
4691         * fixlib.c (load_file_data): Likewise.
4692
4693         * mkdeps.c (munge): Likewise.
4694
4695 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
4696
4697         * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
4698         trailing ';'.  Fix formatting.
4699
4700 2000-11-16  Jim Wilson  <wilson@redhat.com>
4701
4702         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
4703         Shift masks left by one to avoid conflict.
4704
4705         * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
4706         DECL_EXTERNAL set.
4707
4708 2000-11-16  Nick Clifton  <nickc@redhat.com>
4709
4710         * config/arm/arm.c (output_arm_prologue): Note nested functions.
4711         (arm_expand_prologue): For nested functions preserve the
4712         static chain register during stack frame creation.
4713
4714         * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
4715         (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
4716         with a stack frame there is a 4 byte gap between the arg
4717         pointer and the hard frame pointer (used to preserve the
4718         static chain register during stack frame creation).
4719
4720 2000-11-16  DJ Delorie  <dj@redhat.com>
4721
4722         * rtl.c (read_rtx): Provide suitable names for unnamed
4723         define_insn and define_insn_and_split patterns, based on file
4724         and line numbers.
4725
4726 2000-11-15  Neil Booth  <neilb@earthling.net>
4727
4728         * cpplib.c (start_directive, end_directive): New functions.
4729         (_cpp_handle_directive, run_directive): Use them.
4730         (_cpp_handle_directive): Don't -Wtraditional on indented
4731         null directives.
4732         (_cpp_push_buffer): Don't re-clear was_skipping.
4733         * cpplib.h (struct cpp_reader): New member la_saved.
4734         * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
4735         directives.
4736
4737         gcc.dg/cpp/_Pragma1.c: Update.
4738         gcc.dg/cpp/_Pragma2.c: New test.
4739
4740 2000-11-15  Mark Mitchell  <mark@codesourcery.com>
4741
4742         * toplev.c (wrapup_global_declarations): Don't write out
4743         artificial static variables that aren't needed.
4744
4745 2000-11-15  Bernd Schmidt  <bernds@redhat.co.uk>
4746
4747         * ia64.c (struct group): New structure.
4748         (last_group): New static array.
4749         (group_idx): New static variable.
4750         (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
4751         New static functions.
4752         (emit_insn_group_barriers): Initialize and keep track of group_idx
4753         and last_group.
4754         Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
4755         Replace all calls to emit_insn_after that emit a group barrier to use
4756         emit_group_barrier_after.
4757         * ia64.h (MASK_B_STEP): New.
4758         (other MASK_XXX macros): Renumbered.
4759         (TARGET_B_STEP): New.
4760         (TARGET_SWITCHES): Add -mb-step.
4761
4762 2000-11-15  Fred Fish  <fnf@be.com>
4763
4764         * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
4765         machines for which fixincludes is not needed.
4766         * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
4767
4768 2000-11-15  Jason Merrill  <jason@redhat.com>
4769
4770         * diagnostic.c (finish_abort): New fn.
4771         (fancy_abort, error_recursion): Use it.
4772         * toplev.c (crash_signal): Likewise.
4773         * diagnostic.h: Declare it.
4774
4775 2000-11-13  Andrew Haley  <aph@redhat.com>
4776
4777         * tree.c (build_type_no_quals): New function.
4778         * tree.h (build_type_no_quals): Declare.
4779         * c-common.c (c_get_alias_set): When considering type
4780         compatibility for pointer types, ignore cv-qualifiers anywhere in
4781         a pointer chain.
4782
4783 2000-11-15  Graham Stott  <grahams@redhat.com>
4784
4785         * regrename.c (scan_rtx_rtx): Skip to the next chain on
4786         encountering a terminated chain.
4787
4788 2000-11-14  Mark Mitchell  <mark@codesourcery.com>
4789
4790         * configure.in: Move check for V3 above check for C++ header-file
4791         directory.
4792         * configure: Regenerated.
4793
4794 2000-11-14  DJ Delorie  <dj@redhat.com>
4795
4796         * config/v850/v850.c: Remove obstacks.
4797
4798 Tue Nov 14 21:54:31 2000  Marek Michalkiewicz  <marekm@linux.org.pl> & Denis Chertykov  <denisc@overta.ru>
4799
4800         * config/avr/avr.c (avr_case_values_threshold): New.
4801         (avr_override_options): Set it depending on options, make it large
4802         when not optimizing to work around "unable to generate reloads".
4803
4804         * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
4805         (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
4806         executable if not AVR_MEGA.  Make sure jump tables are word-aligned.
4807         (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
4808         (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
4809         (avr_case_values_threshold): Declare as extern int.
4810         (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
4811
4812         * config/avr/avr.md (tablejump): Removed.
4813         (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
4814         (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
4815         index in the table, not multiplied by 2.
4816         (casesi): Change to match the above insns.  Always enable.
4817
4818         * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
4819         Change to expect the word address of the table, multiply it by 2
4820         here and not in the caller.  Change "adiw" to faster "inc".
4821
4822 2000-11-14  Neil Booth  <neilb@earthling.net>
4823
4824         * cppexp.c (parse_defined): Call cpp_get_token not
4825         _cpp_get_token.
4826         (lex): Similarly.
4827         * cpplex.c (cpp_output_line): Similarly.
4828         * cpplib.c (glue_header_name, do_line, do_ident,
4829         parse_answer, parse_assertion): Similarly.
4830         (_cpp_handle_diretive): Don't save to lookaheads
4831         when processing directives.
4832         * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
4833         _cpp_get_token.
4834         (funlike_invocation_p): Don't save to lookaheads
4835         when pre-expanding arguments.
4836         (_cpp_get_token): Delete.
4837         (cpp_get_token): Merge contents of _cpp_get_token.
4838
4839 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
4840
4841         * builtins.c (expand_builtin_setjmp): Set
4842         current_function_calls_setjmp.
4843         (expand_builtin_longjmp): Set current_function_calls_longjmp.
4844
4845         * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
4846         (do_builtin_setjmp_setup): New insn.
4847
4848 Tue Nov 14 12:34:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4849
4850         * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
4851         (int_fits_type_p): For variable bounds, call force_fit_type.
4852
4853 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
4854
4855         * varasm.c (struct deferred_string): New structure.
4856         (const_str_htab): New variable.
4857         (STRHASH): New macro.
4858         (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
4859         constr_str_htab_eq, const_str_htab_del): New functions.
4860         (output_constant_def): Add DEFER argument, defer string
4861         constants until mark_constant_pool time if requested.
4862         (mark_constant_pool): Walk the insn chain even if const_str_htab is
4863         not empty.
4864         (mark_constants): If a SYMBOL_REF for deferred string is found,
4865         output it and remove from hash table.
4866         (output_addressed_constants): Set DEFER to 0 in call to
4867         output_constant_def.
4868         * rtl.h (STRING_POOL_ADDRESS_P): Define.
4869         (output_constant_def): Adjust prototype.
4870         * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
4871
4872 2000-11-14  Chandrakala Chavva  <cchavva@redhat.com>
4873
4874         * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
4875         signed types if flag_trapv.
4876
4877 2000-11-14  Zack Weinberg  <zack@wolery.stanford.edu>
4878
4879         * tradcpp.c, tradcif.y: Update FSF mailing address, delete
4880         reference to GPLv1.
4881
4882 2000-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
4883
4884         * c-common.h (CTI_C_SIZE_TYPE): Update comment.
4885
4886 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
4887
4888         * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
4889         to array of pool_constnat pointers.
4890         (struct pool_constant): Add next_sym and label members.
4891         (struct pool_sym): Remove.
4892         (init_varasm_status): Change pool_sym into pool_constant.
4893         (mark_pool_constant): Mark pc->label string as well.
4894         (mark_pool_sym_hash_table): Remove.
4895         (mark_varasm_status): Remove it from caller as well.
4896         (free_varasm_status): Don't free pool_sym structures.
4897         (force_const_mem): Don't allocate pool_sym structure, instead
4898         fill pool->label and chain it into rtx_sym hash table.
4899         (find_pool_constant, mark_constant_pool): Use pool_constant instead
4900         of pool_sym.
4901
4902 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
4903
4904         * reload1.c (emit_input_reload_insns): Honour forcing of constants
4905         into memory by PREFERRED_RELOAD_CLASS NO_REGS.
4906
4907 2000-11-14  Michael Matz  <matzmich@cs.tu-berlin.de>
4908
4909         * dominance.c: New file.
4910         * Makefile.in (OBJS): Add dominance.o.
4911
4912         * flow.c (compute_flow_dominators): Remove.
4913         (compute_immediate_dominators): Remove.
4914         (compute_immediate_postdominators): Remove.
4915         * basic-block.h: Remove their prototypes.
4916         (calculate_dominance_info): Add prototype.
4917
4918         * dce.c (eliminate_dead_code): Change calls to above functions.
4919         Don't compute dominators but only immediate dominators.
4920         * flow.c (flow_loops_find): Change callers.
4921         * gcse.c (compute_code_hoist_data): Likewise.
4922         * haifa-sched.c (schedule_insns): Likewise.
4923         * ifcvt.c (if_convert): Likewise.
4924         * ssa.c (convert_to_ssa): Likewise, and only compute immediate
4925         dominators.
4926
4927 2000-11-14  Richard Henderson  <rth@redhat.com>
4928
4929         * stmt.c (warn_if_unused_value): Don't warn if the expression
4930         has side effects.
4931
4932         * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
4933         (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
4934
4935 2000-11-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4936
4937         * loop.c (basic_induction_var): Revert accidental checkin.
4938
4939 2000-11-13  Hans-Peter Nilsson  <hp@axis.com>
4940
4941         * c-lex.c (cb_leave_file): Harmonize conditions and order of
4942         statements to those of process_directive for (action == act_pop).
4943
4944         * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
4945
4946         * local-alloc.c (equiv_init_movable_p): References to CC0 are not
4947         movable.
4948
4949 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
4950
4951         * c-parse.in (stmts_and_decls): Deprecate use of label at end of
4952         compound statement.
4953
4954 2000-11-13  Neil Booth  <neilb@earthling.net>
4955
4956         * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
4957         cases return without MI check.
4958         * cpplib.c (do_diagnostic): Take boolean of whether to
4959         print the directive name.
4960         (do_error, do_warning): Update.
4961         (do_pragma_dependency): Use it.
4962         * cpplib.h (VARARGS_FIRST): Delete.
4963         (struct cpp_token): Delete integer.
4964         * cppmacro.c (enter_macro_context): Move disabled check
4965         to _cpp_get_token.
4966         (_cpp_get_token): Simplify into a single loop.
4967
4968 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
4969
4970         * configure.in:  Use 'test -f' not '[ -e'.
4971         * configure: Regenerated.
4972
4973 2000-11-13  DJ Delorie  <dj@redhat.com>
4974
4975         * config/mn10300/mn10300.md (store_movm): Note which registers are
4976         really used or clobbered.
4977
4978 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
4979
4980         * c-parse.in (ends_in_label): Remove from %union and %type.
4981         (decls, stmts, lineno_stmt_or_labels, xstmts,
4982         lineno_stmt_or_label, stmt_or_label): Remove.
4983         (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
4984         lineno_stmt_decl_or_labels_ending_decl,
4985         lineno_stmt_decl_or_labels_ending_label,
4986         lineno_stmt_decl_or_labels_ending_error,
4987         lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
4988         lineno_stmt, lineno_label): New.
4989         (compstmt_nostart): Use compstmt_contents_nonempty.
4990
4991 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
4992
4993         * c-common.c (boolean_increment): New function.
4994         * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
4995         CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
4996         (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
4997         (boolean_increment): Declare.
4998         * c-convert.c (convert): Allow for BOOLEAN_TYPE.
4999         * c-decl.c (init_decl_processing): Create boolean nodes.
5000         (finish_struct): Allow for _Bool bitfields.
5001         * c-parse.in (reswords): Add _Bool.
5002         (rid_to_yy): Allow for RID_BOOL.
5003         * c-typeck.c (default_conversion): Make booleans promote to int.
5004         (convert_arguments, build_unary_op, build_modify_expr,
5005         convert_for_assignment): Allow for booleans.
5006         * ginclude/stdbool.h: Make conforming to C99.
5007
5008 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5009
5010         * c-parse.in (c99_block_start, c99_block_end,
5011         c99_block_lineno_labeled_stmt): New.
5012         (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
5013         (stmt): Split off selection and iteration statements into...
5014         (select_or_iter_stmt): New.  Use c99_block_lineno_labeled_stmt.
5015
5016 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5017
5018         * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
5019         -time): Update.
5020
5021 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
5022
5023         * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
5024         Rewrite to avoid use of match_dup.  Don't try to tie registers that
5025         are not in the same mode.
5026
5027 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5028
5029         * invoke.texi: Update lists of languages and suffixes supported.
5030
5031 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5032
5033         * configure.in: Take toplevel configure arguments from the
5034         environment to create configargs.h and substitute
5035         gcc_config_arguments, taking account of any existing configargs.h
5036         if reconfiguring.
5037         * configure: Regenerate.
5038         * gccbug.in: Include toplevel configure arguments in gccbug.
5039
5040 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
5041
5042         * varasm.c (struct constant_descriptor): Put CONTENTS inside a
5043         union to make it well-aligned.  Update all uses.
5044
5045 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5046
5047         * c-parse.in (initelt): Give appropriate pedantic warnings,
5048         depending on flag_isoc99, for non-ISO syntax and for C99 syntax
5049         outside C99 mode.
5050         (designator): If pedantic, pedwarn for a designator specifying a
5051         range of elements.
5052         * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
5053         these cases.
5054         * extend.texi: Document the C99 syntax as the preferred syntax,
5055         and the pre-2.5 syntax as obsolete.  Mention use of designator
5056         lists for nested subobjects.
5057
5058 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
5059
5060         * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
5061         Add ATTRIBUTE_PRINTF.
5062         * tradcpp.c (v_message, warning, error, fatal, error_with_line):
5063         Add ATTRIBUTE_PRINTF*.
5064
5065 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5066
5067         * function.c (assign_parms): When calling put_var_into_stack, make
5068         sure that there are no hidden pending sequences.
5069
5070 2000-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5071
5072         * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
5073         BUILT_IN_RINDEX.  Add missing checks for BUILT_IN_STRCHR and
5074         BUILT_IN_STRRCHR.
5075
5076         * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
5077
5078         * c-common.c (c_common_nodes_and_builtins): Declare index and
5079         rindex when nonansi builtins are allowed.
5080
5081         * extend.texi (index, rindex): Document new builtins.
5082
5083 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5084
5085         * configure.in: Turn on libstdc++ V3 by default.
5086         * configure: Regenerated.
5087
5088         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
5089
5090 2000-11-12  Jakub Jelinek  <jakub@redhat.com>
5091
5092         * reload1.c (set_label_offsets): Go inside of PARALLELs.
5093
5094 2000-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5095
5096         * invoke.texi: Clean up option summary.
5097
5098 2000-11-12  Nick Clifton  <nickc@redhat.com>
5099
5100         * config/mcore/mcore.c: Fix comment formating, and adjust sequence
5101         of #include headers.
5102
5103 2000-11-12  Marc Espie <espie@openbsd.org>
5104
5105         * configure.in: Fix filds test.
5106         * configure: Regen.
5107
5108 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
5109
5110         * jump.c (delete_computation): Don't assume that just becuase an
5111         instruction sets a register, that register is dead.
5112
5113 2000-11-12  Neil Booth  <neilb@earthling.net>
5114
5115         * cppexp.c: Don't worry about pfile->skipping.
5116         * cpplib.c (struct if_stack): Make was_skipping unsigned char.
5117         (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
5118         for handled directives.
5119         (skip_rest_of_line): Use _cpp_lex_token after popping contexts
5120         and releasing lookaheads.
5121         (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
5122         (do_else, do_elif, push_conditional): Update logic.
5123         (do_endif): Set buffer->was_skipping rather than pfile->skipping.
5124         (unwind_if_stack): Inline into cpp_pop_buffer.
5125         (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
5126         * cpplex.c (_cpp_lex_token): Clear skipping on EOF.  Handle
5127         multiple-include optimisation.
5128         * cpplib.h (struct cpp_buffer): New member was_skipping.
5129         * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping.  This
5130         works because skipping == 0 in directives.
5131         (_cpp_release_lookahead): Renamed from release_lookahead.
5132         (cpp_get_token): No need to check skipping as _cpp_get_token does
5133         this for us.  No need to handle MI optimisation.
5134
5135 Sat Nov 11 21:14:02 2000  Mark P Mitchell  <mark@codesourcery.com>
5136
5137         * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
5138         declarations that use `__MATH_EXCEPTION' in their prototypes, too.
5139         * fixinc/fixincl.x: Regenerated.
5140
5141 2000-11-11  Bruce Korb  <bkorb@gnu.org>
5142
5143         * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
5144         (avoid_wchar_t_type): ditto
5145         * fixinc/fixinc.irix: obsoleted
5146
5147 2000-11-11  Zack Weinberg  <zack@wolery.stanford.edu>
5148
5149         * configure.in: Don't add $outputs to all_lang_makefiles.  Add
5150         $srcdir/$s/Makefile.in if it exists.
5151         * configure: Regenerate.
5152
5153 Sat Nov 11 18:41:20 2000  Mark P Mitchell  <mark@codesourcery.com>
5154
5155         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
5156
5157 2000-11-11  Jason Merrill  <jason@redhat.com>
5158
5159         * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
5160         give the parm a register and then call put_var_into_stack.
5161         * stmt.c (expand_decl): Likewise.
5162
5163 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5164
5165         * gcc.texi: Adjust wording.
5166
5167 2000-11-11  Mark Mitchell  <mark@codesourcery.com>
5168
5169         * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
5170         * fininc/fixincl.x: Regenerated.
5171
5172 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5173
5174         * invoke.texi: Correct spelling of -foptimize-register-move.
5175
5176 2000-11-11  Neil Booth  <neilb@earthling.net>
5177
5178         Remove CPP_PLACEMARKERs.
5179
5180         * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
5181         * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
5182         * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
5183                    Similarly.
5184         * cpplib.h: Remove CPP_PLACEMARKER.
5185         (struct lexer_state): Rename skip_newlines to next_bol.
5186         * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
5187         Simplify prev_white handling as a result.
5188         (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
5189         (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
5190         (parse_args): Similarly.  Update argument count tests.
5191         (enter_macro_context): Return 2 to indicate an empty macro.
5192         (replace_args): Don't bother pre-expanding an empty argument.
5193         Handle placemarkers and ## extension during pre-expansion.
5194         (cpp_get_token): Handle empty macro expansions.  Don't worry
5195         about CPP_PLACEMARKERs.
5196         (_cpp_create_definition): Empty macros are now empty.
5197         (cpp_macro_defintion): Don't special case empty macros.
5198         * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
5199         * c-lex.c: Similarly.
5200
5201 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
5202
5203         * gcc.texi, invoke.texi: Add new section discussing language
5204         standards; link to it where appropriate; refer to ISO C instead of
5205         ANSI C.
5206
5207 2000-11-11  Alexandre Oliva  <aoliva@redhat.com>
5208
5209         * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
5210         into account.
5211
5212         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
5213         modes.
5214
5215 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5216
5217         * gcc.texi, gcov.texi: Update dates and version numbers.
5218
5219 2000-11-10  Zack Weinberg  <zack@wolery.stanford.edu>
5220
5221         * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.  Look for
5222         flex and bison, specifically, first in a unified build and
5223         then installed on the system.
5224         * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@.  Rename
5225         LEXFLAGS to FLEXFLAGS.  Adjust ORDINARY_FLAGS_TO_PASS to
5226         match.
5227
5228         (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
5229         cppdefault.o): Remove pointless sed munging of source file
5230         name.
5231
5232 2000-11-10  Bernd Schmidt  <bernds@redhat.co.uk>
5233
5234         * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
5235         for address reloads.  Push replacements for REG_INC notes.
5236         (regno_clobbered_p): New arg SETS.  Examine SETs if it's nonzero.  All
5237         callers changed.
5238         * reload1.c (choose_reload_regs): Registers set in the insn can't be
5239         used for RELOAD_OTHER reloads.
5240
5241 2000-11-10  Mark Mitchell  <mark@codesourcery.com>
5242
5243         * c-dump.h: New file.
5244
5245 2000-11-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5246
5247         * alpha.c (check_float_value): Use memcpy, not bcopy.
5248         * arm.c (output_move_double): Likewise.
5249         * arm.md: Likewise.
5250         * m88k.c (legitimize_operand): Likewise.
5251         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
5252         * m88k.md: Likewise.
5253         * mips.c (override_options): Likewise.
5254         * mips.md: Likewise.
5255         * romp.c (output_fpops): Likewise.
5256         * rs6000.c (rs6000_override_options): Likewise.
5257         * sh.md: Likewise.
5258         * vax.c (check_float_value): Likewise.
5259
5260         * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
5261         * expmed.c (synth_mult): Likewise.
5262         * final.c (add_bb_string): Likewise.
5263         * genattr.c (main): Likewise.
5264         * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
5265         Likewise.
5266         * jump.c (thread_jumps): Likewise.
5267         * prefix.c (save_string): Likewise.
5268         * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
5269         * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
5270         * reload1.c (reload, eliminate_regs): Likewise.
5271
5272 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5273
5274         * gcc.texi (Service): Update to reflect current practice and
5275         location of the GNU service directory.
5276
5277 2000-11-09  Bernd Schmidt  <bernds@redhat.co.uk>
5278
5279         * regrename.c (build_def_use): Mark contents of REG_INC notes as
5280         needing replacement.
5281
5282         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
5283         a no-op move if regs are equal.
5284         * toplev.c (rest_of_compilation): Do the noop moves elimination pass
5285         when calling jump after post-reload splitting.
5286
5287 2000-11-09  Jan van Male  <jan.vanmale@fenk.wau.nl>
5288
5289         * c-tree.texi: Fix typos.
5290         * extend.texi: Likewise
5291         * gcov.texi: Likewise
5292         * rtl.texi: Likewise
5293         * tm.texi: Likewise
5294
5295 2000-11-09  Hans-Peter Nilsson  <hp@axis.com>
5296
5297         * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
5298         in_system_header and flags[1] before dereferencing flags[2].
5299
5300 2000-11-09  Matthew Hiller <hiller@redhat.com>
5301
5302         * reload1.c (reload_combine): Fixed calculation of
5303         first_index_reg, last_index_reg.
5304
5305 2000-11-09  Mark Mitchell  <mark@codesourcery.com>
5306
5307         * c-dump.c (dequeue_and_dump): Dump function bodies.
5308
5309         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
5310         (c-dump.o): New target.
5311         * c-common.h (flag_dump_translation_unit): New variable.
5312         (C_TYPE_QUALS): New macro.
5313         (strip_array_types): New function.
5314         (DECL_C_BIT_FIELD): New macro.
5315         (SET_DECL_C_BIT_FIELD): Likewise.
5316         (CLEAR_DECL_C_BIT_FIELD): Likewise.
5317         (dump_info_p): New typedef.
5318         (dump_tree_fn): Likewise.
5319         (lang_dump_tree): New variable.
5320         (dump_node_to_file): New function.
5321         * c-common.c (flag_dump_translation_unit): Define it.
5322         (strip_array_types): New function.
5323         * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
5324         * c-lang.c (finish_file): Call dump_node_to_file if
5325         flag_dump_translation_unit.
5326         * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
5327         * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
5328         * c-dump.c: New file.
5329
5330 2000-11-09  Christopher Faylor <cgf@cygnus.com>
5331
5332         * config/i386/cygwin.h: Add mingw startfile prefix.
5333
5334 2000-11-09  Richard Henderson  <rth@redhat.com>
5335
5336         * flow.c (invalidate_mems_from_set): Split out from ...
5337         (mark_set_1): ... here.
5338         (try_pre_increment_1): Use it.  Use propagate_block_delete_insn
5339         instead of turning insn into a NOTE_INSN_DELETED.
5340
5341 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5342
5343         * extend.texi, invoke.texi: Move documentation of builtin versions
5344         of C library functions to one place and update.
5345
5346 2000-11-09  Richard Henderson  <rth@redhat.com>
5347
5348         * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
5349         the types themselves to discover type equivalence.
5350
5351 2000-11-09  Mike Stump  <mrs@wrs.com>
5352
5353         * Makefile.in (distclean): Remove a few extra leftovers.
5354
5355 2000-11-09  Richard Henderson  <rth@redhat.com>
5356
5357         * recog.c (validate_replace_rtx_1): Consider subregs when
5358         replacing a register with a constant inside a sign/zero_extend.
5359
5360         * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5361
5362 2000-11-09  Geoffrey Keating  <geoffk@redhat.com>
5363
5364         * c-decl.c (finish_struct): When a structure is completed,
5365         check all its variant types for completeness.
5366
5367 2000-11-09  Neil Booth  <neilb@earthling.net>
5368
5369         * cpphash.c: Move cpp_defined here from cpplib.c.
5370         * cpplib.c: Update comments, move cpp_defined to cpphash.c.
5371         * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
5372         * cppmacro.c (cpp_get_token): Update comments, no need now
5373         to catch the CPP_EOF meaning EOL case.
5374
5375 2000-11-08  Geoffrey Keating  <geoffk@redhat.com>
5376
5377         * config/sparc/sparc.c (sparc_va_arg): When the required alignment
5378         is more than that provided, copy to a temporary.
5379
5380 2000-11-09  Alexandre Oliva  <aoliva@redhat.com>
5381
5382         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
5383         interpreting $out as a macro assignment.
5384         * Makefile.in (T_TARGET): New auxiliary macro and target.
5385         (all): Add a target right in the beginning, so that we don't build
5386         T_TARGET by default.
5387
5388 2000-11-09  Graham Stott  <grahams@redhat.com>
5389
5390         * config/i386/i386.md (mmx_pinsrw): Output operands in correct
5391         order for -mintel-syntax.  Remove comment now that the operand
5392         order has been checked.
5393         (mmx_pextrw): Likewise.
5394         (mmx_pshufw): Likewise.
5395
5396 2000-11-09  Jakub Jelinek  <jakub@redhat.com>
5397
5398         * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
5399         (c_getstr): New function.
5400         (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
5401         If both arguments are constant string, optimize out.
5402         (expand_builtin_strchr, expand_builtin_strrchr): New functions.
5403         (expand_builtin_strpbrk): Use c_getstr, do nothing if
5404         -fcheck-memory-usage.
5405         (expand_builtin_fputs): Likewise.
5406         (expand_builtin_strcmp): Add MODE argument.
5407         Use even if !HAVE_cmpstrsi.
5408         Optimize the case when both arguments are constant strings.
5409         (expand_builtin): Adjust expand_builtin_strcmp caller.
5410         Call expand_builtin_strchr and expand_builtin_strrchr.
5411         * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
5412         builtins.
5413         * builtins.def (BUILT_IN_STRRCHR): Add.
5414
5415 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5416
5417         * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
5418
5419 2000-11-09  Joseph S. Myers  <jsm28@cam.ac.uk>
5420
5421         * calls.c (expand_call, emit_library_call_value_1), collect2.c
5422         (scan_prog_file), config/a29k/a29k.c (print_operand),
5423         config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
5424         instead of bcopy ().
5425         * real.h: Use memcmp () instead of bcmp ().
5426         * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
5427         (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
5428         ultrasparc_sched_init, ultrasparc_sched_reorder),
5429         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
5430         instead of bzero ().
5431         * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
5432         instead of rindex ().
5433         * configure.in: Don't check for bzero, bcmp, index or rindex.
5434         * configure, config.in: Regenerate.
5435         * system.h: Don't include declarations for bzero, bcmp, index or
5436         rindex.
5437         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
5438         bzero, bcmp, index or rindex.
5439
5440 Wed Nov  8 21:58:20 2000  Christopher Faylor <cgf@cygnus.com>
5441
5442         * config/i386/cygwin.h: Add -no-win32 switch.  Separate -mno-cygwin
5443         include and library paths from -mcygwin case.  Parameterize some
5444         declarations to avoid warnings.  Use standard locations for include and
5445         lib dirs.
5446
5447 2000-11-08  Nick Clifton  <nickc@redhat.com>
5448
5449         * config/arm/arm.md (mulsidi3adddi): Change output operand
5450         constraint from "=&" to "+&".
5451         (umulsidi3adddi): Change output operand constraint from "=&" to
5452         "+&".
5453
5454 2000-11-08  Richard Henderson  <rth@redhat.com>
5455
5456         * flow.c (init_propagate_block_info): Protect the rtx stored in
5457         mem_set_list from modification by find_auto_inc.
5458         (mark_set_1): Likewise.
5459
5460 2000-11-08  Neil Booth  <neilb@earthling.net>
5461
5462         Move directive handling into the lexer itself.
5463
5464         * cpplex.c (_cpp_lex_token): Handle directives directly.
5465         In the case of a directive interrupting a function-like
5466         macro invocation, use extra_char since read_ahead is
5467         used to store the '#'.  Return a CPP_EOF in this case.
5468         * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
5469         (cpp_get_token): Don't handle directives here.
5470         * cpplib.h: Remove CPP_DHASH token type.
5471
5472 Wed Nov  8 21:53:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5473
5474         * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
5475         formed using PRE_MODIFY too.
5476
5477 2000-11-08  Mark Mitchell  <mark@codesourcery.com>
5478
5479         * c-tree.texi (VAR_DECL): Describe representation of GCC's
5480         extension for placing variables in particular registers.
5481
5482         * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
5483         unprototyped C functions with no parameters.
5484
5485 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5486
5487         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
5488         before passing to fprintf.
5489
5490 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5491
5492         * function.c (expand_function_start): Cast GET_MODE_SIZE to
5493         HOST_WIDE_INT before negating it.
5494
5495 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
5496
5497         * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
5498         passed in multiple non-contiguous locations.
5499
5500 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5501
5502         * README.gnat: Remove file.
5503
5504 2000-11-08  Alexandre Oliva  <aoliva@redhat.com>
5505
5506         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
5507         in-place.
5508
5509 2000-11-07  Richard Henderson  <rth@redhat.com>
5510
5511         * dwarfout.c (INSN_LABEL_FMT): Remove.
5512         (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5513         (dwarfout_label): Remove.
5514         * dwarfout.h: Remove it's prototype.
5515         * dwarf2out.c (INSN_LABEL_FMT): Remove.
5516         (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5517         (dwarf2out_label): Remove.
5518         * dwarf2out.h: Remove it's prototype.
5519         * final.c (final_scan_insn): Don't call dwarf[2]out_label.
5520
5521 2000-11-07  Richard Henderson  <rth@redhat.com>
5522
5523         * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
5524         search on the unwind region section.
5525
5526         * config/ia64/ia64.md (movbi): Add r/r alternative.
5527         (cmovdi_internal_astep): Describe all combinations of register
5528         classes for sources & destinations; remove matching constraints.
5529         (cmovdi_internal): Likewise.
5530
5531         * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
5532
5533 2000-11-07  Richard Henderson  <rth@redhat.com>
5534
5535         * c-lang.c (start_cdtor, finish_cdtor): New functions.
5536         (finish_file): Use them in building constructor/destructor functions.
5537
5538         * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
5539         LD_FINI_SWITCH): Move ...
5540         * config/alpha/osf.h: ... here.
5541         * config/alpha/alpha-interix.h: Don't undef them.
5542
5543 2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>
5544
5545         * config/mips/t-iris6 (FPBIT): New.  Added so that __unorddf2 is
5546         included in libgcc.a.
5547         (DPBIT): Likewise.
5548         (dp-bit.c): Likewise.
5549         (fp-bit.c): Likewise.
5550
5551 2000-11-07  Nick Clifton  <nickc@redhat.com>
5552
5553         * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
5554         (INTERNAL_ASM_OP): Add missing tab.
5555
5556 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
5557
5558         * alias.c (init_alias_analysis), calls.c (expand_call,
5559         emit_library_call_value_1), combine.c (init_reg_last_arrays),
5560         cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
5561         (init_output_buffer, set_diagnostic_context), dwarf2out.c
5562         (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
5563         (init_emit_once), fold-const.c (mul_double, div_and_round_double),
5564         function.c (assign_parms), gcse.c (compute_can_copy,
5565         alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
5566         compute_hash_table, compute_set_hash_table,
5567         compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
5568         (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
5569         clear_units, schedule_block), integrate.c (initialize_for_inline,
5570         expand_inline_function), jump.c (thread_jumps), local-alloc.c
5571         (local_alloc), loop.c (combine_movables, count_loop_regs_set,
5572         load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
5573         regclass.c (init_reg_sets, init_reg_sets_1, regclass,
5574         record_reg_classes, allocate_reg_info), reload.c
5575         (get_secondary_mem, remove_address_replacements, find_reloads),
5576         reload1.c (reload, set_initial_label_offsets, finish_spills,
5577         reload_as_needed, choose_reload_regs_init,
5578         reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
5579         (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
5580         (rename_registers), stmt.c (expand_end_case), unroll.c
5581         (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
5582         () instead of bzero ().
5583
5584 2000-11-07  Neil Booth  <neilb@earthling.net>
5585
5586        * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
5587
5588 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5589
5590         * c-common.c (combine_strings): Only warn about long strings for C.
5591
5592 Tue Nov  7 19:44:30 2000  J"orn Rennecke <amylaar@redhat.com>
5593
5594         * combine.c (distribute_notes): Fix typo in last change.
5595
5596 2000-11-07  Geoff Keating  <geoffk@redhat.com>
5597
5598         * config/rs6000/rs6000.md (movdi_internal32+1): Use
5599         operand_subreg_force rather than gen_rtx_SUBREG.
5600         (movdi_internal32+2): Likewise.
5601
5602 2000-11-07  Philip Blundell  <philb@gnu.org>
5603
5604         * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
5605         * config/arm/linux-aout.h: Likewise.
5606         * configure: Regenerate.
5607
5608 2000-11-07  Philipp Thomas  <pthomas@suse.de>
5609
5610         * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
5611         accepted my the gettext maintainer.
5612
5613 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5614
5615         * builtins.c (expand_builtin_strpbrk): New function.
5616         (expand_builtin): Handle BUILT_IN_STRPBRK.
5617
5618         * builtins.def (BUILT_IN_STRPBRK): New entry.
5619
5620         * c-common.c (c_common_nodes_and_builtins): Declare builtin
5621         strpbrk.
5622
5623 2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
5624
5625         * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
5626         * POTFILES.in: Add config/alpha/freebsd.h
5627         * configure.in: Add alpha*-freebsd support.
5628         * configure: Regenerate.
5629
5630 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
5631
5632         * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
5633         copy of ptr_type_node rather than ptr_type_node itself.
5634
5635 Tue Nov  7 06:29:24 2000  J"orn Rennecke <amylaar@redhat.com>
5636
5637         * combine.c (recog_for_combine): Allocate uninitialized vector with
5638         rtvec_alloc.
5639         * recog.c (apply_change_group): Likewise.
5640
5641 Tue Nov  7 06:24:02 2000  J"orn Rennecke <amylaar@redhat.com>
5642
5643         * flow.c (verify_local_live_at_start): Back out last change.
5644         * combine.c (distribute_notes): When parts of a hard reg are
5645         neither set nor referenced in PLACE, search backwards for a
5646         place to put a REG_UNUSED note; if none found, ask for flow
5647         info refresh.
5648
5649 Mon Nov  6 20:08:13 2000  J"orn Rennecke <amylaar@redhat.com>
5650
5651         * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
5652         with (clobber (match_scratch...)).
5653
5654 2000-11-06  Neil Booth  <neilb@earthling.net>
5655
5656         * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
5657         error status.
5658
5659 2000-11-06  Neil Booth  <neilb@earthling.net>
5660
5661         * tradcpp.c (special_symbol): Assign an null string rather
5662         than writing to an unallocated buffer.
5663
5664 2000-11-06  Neil Booth  <neilb@earthling.net>
5665
5666         * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
5667         CPP_MACRO_ARG case.
5668
5669 2000-11-06  Neil Booth  <neilb@earthling.net>
5670
5671         * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
5672         tok.val.arg_no as appropriate.
5673         * cppexp.c (lex): Similarly.
5674         * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
5675         cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
5676         * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
5677         cpp_macro_definition): Similarly.
5678         * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5679
5680 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
5681
5682         * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
5683         operands[1] is constant, calculate the sum and generate movdi.
5684         (addsi3): Similarly.  Use SImode in call to arith_4096_operand.
5685         (subsi3): Use SImode in call to arith_4096_operand.
5686
5687 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
5688
5689         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
5690         adjust %o1, not %o0 if the return type is large structure.
5691
5692 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
5693
5694         * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
5695         update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
5696
5697 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz  <marekm@linux.org.pl>
5698
5699         * expmed.c (expand_divmod): For signed divide by 2, prefer
5700         a branch and fewer shifts if branches are very cheap.
5701
5702 2000-11-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5703
5704         * Makefile.in: Remove all targets related to building
5705         distributions and diffs, or INSTALL.
5706         * INSTALL, install1.texi: Remove.
5707         * configure.in: Remove mention of distdir.
5708         * configure: Regenerate.
5709         * objc/Make-lang.in: Remove mention of distdir.
5710
5711 2000-11-04  Neil Booth  <neilb@earthling.net>
5712
5713         * cpp.texi: Update for _Pragma.
5714
5715 2000-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5716
5717         * gcc.texi (Contributing): Update URL for projects web page.
5718
5719 2000-11-04  Neil Booth  <neilb@earthling.net>
5720
5721         * cpplex.c (parse_string): Don't allow multiline strings in
5722         #include family directives.
5723
5724 2000-11-04  Neil Booth  <neilb@earthling.net>
5725
5726         * cpplib.c (do_line): Only warn pedantically if not reading
5727         preprocessed input.
5728
5729 2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
5730
5731         * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
5732         RETURN_POPS_ARGS().
5733
5734 2000-11-03  Zack Weinberg  <zack@wolery.stanford.edu>
5735
5736         * builtins.c (expand_builtin_strlen): Remove unused mode
5737         argument.
5738         * gcc.c (process_command): Remove unused variable.
5739         * fold-const.c: Include expr.h.
5740         * recog.c: Include reload.h.
5741         * Makefile.in (recog.o, fold-const.o): Update deps.
5742
5743 2000-11-02  Geoffrey Keating  <geoffk@cygnus.com>
5744
5745         * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
5746
5747 Fri Nov  3 13:41:04 2000  Mark P Mitchell  <mark@codesourcery.com>
5748
5749         * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
5750         handling.
5751         (STARTFILE_SPEC): Likewise.
5752         (LINK_SPEC): Likewise.
5753
5754 2000-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5755
5756         * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
5757         (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
5758         (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
5759
5760 2000-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
5761
5762         * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
5763         (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
5764         perm_calloc, get_identifier, maybe_get_identifier,
5765         real_value_from_int_cst, simple_cst_equal), varasm.c
5766         (assemble_name, assemble_real, immed_real_const_1,
5767         compare_constant_1, decode_rtx_const, output_constant_pool): Use
5768         strrchr () instead of rindex ().  Use memcmp () instead of bcmp
5769         ().  Use memcpy () instead of bcopy ().  Use memset () instead of
5770         bzero ().
5771
5772 2000-11-03  Nathan Sidwell  <nathan@codesourcery.com>
5773
5774         * cppfiles.c (open_file): If already read, then don't reopen.
5775         Immediately close an empty file.
5776
5777 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
5778
5779         * expr.h (fold_builtin): Move declaration...
5780         * tree.h (fold_builtin): ... here.
5781
5782 Fri Nov  3 05:41:07 2000  J"orn Rennecke <amylaar@redhat.com>
5783
5784         * flow.c (verify_local_live_at_start): Allow hard regs to die.
5785
5786 2000-11-02  Neil Booth  <neilb@earthling.net>
5787
5788 config:
5789         * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
5790         alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
5791         alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
5792         alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
5793         arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
5794         arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
5795         c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
5796         elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
5797         i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
5798         i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
5799         i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
5800         i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
5801         i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
5802         i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
5803         i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5804         i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
5805         i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
5806         i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
5807         i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
5808         i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
5809         i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
5810         ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
5811         m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
5812         m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
5813         m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
5814         m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
5815         m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
5816         m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
5817         m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
5818         m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
5819         m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
5820         m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
5821         mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
5822         mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
5823         mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
5824         mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
5825         mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
5826         mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
5827         ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
5828         ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
5829         pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
5830         pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
5831         romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
5832         rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
5833         rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
5834         rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
5835         sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
5836         sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
5837         sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
5838         sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
5839         sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
5840         sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
5841         sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
5842         v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
5843         vax/vaxv.h, vax/vms.h, we32k/we32k.h
5844
5845         Replace -A() with -A=, the new assertion syntax.
5846
5847 Thu Nov  2 21:52:35 2000  J"orn Rennecke <amylaar@redhat.com>
5848
5849         * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
5850         elim_i1.
5851         In REG_DEAD handling: When handling parts of multi-hard-reg hard
5852         registers, increment the loop counter by the size of the parts;
5853         use recursion to handle individual parts.
5854
5855 2000-11-02  Neil Booth  <neilb@earthling.net>
5856
5857         * configure.in: Make integrated CPP the default.
5858         * configure: Regenerate.
5859
5860 Thu Nov  2 19:20:12 2000  J"orn Rennecke <amylaar@redhat.com>
5861
5862         * reload.c (find_equiv_reg): Test all hard registers for membership
5863         in the requested class.
5864
5865 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
5866
5867         * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
5868         process_command, main), gcov.c (open_files, output_data), tlink.c
5869         (frob_extension, scan_linker_output), toplev.c
5870         (file_name_nondirectory): Use strchr () and strrchr () instead of
5871         index () and rindex ().
5872
5873 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
5874
5875         * c-common.c (get_flag_spec, check_format_info_main,
5876         check_format_types): Use strchr () instead of index ().  Compare
5877         against error_mark_node instead of comparing the TREE_CODE against
5878         ERROR_MARK.
5879
5880 2000-11-02  Zack Weinberg <zackw@Stanford.EDU>
5881
5882         Integrated CPP.
5883
5884         * c-lex.c (init_c_lex): Update cpp_start_read call.
5885         (cb_ident): Update for new callback prototype.
5886         (cb_def_pragma): Update for new cpp_get_token prototype.
5887         (c_lex): Similarly.  Use cpp_get_line.
5888
5889         * c-parse.in (finish_parse): Update for new cpp_finish
5890         prototype.
5891
5892         * cp/lex.c (finish_parse): Similarly.
5893
5894 2000-11-01  Geoff Keating  <geoffk@cygnus.com>
5895
5896         * machmode.def: Add V16QImode.
5897
5898 2000-11-01  Richard Henderson  <rth@redhat.com>
5899
5900         * dwarf2out.c (loc_descriptor_from_tree): Check for null result
5901         from rtl_for_decl_location.
5902         (add_location_or_const_value_attribute): Likewise.
5903
5904 2000-11-01  Neil Booth  <neilb@earthling.net>
5905
5906         * cpplib.c (run_directive): Use correct line number for output
5907         of _Pragma.  Remember any in-progress directive.
5908
5909         * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
5910
5911 2000-11-01  Richard Henderson  <rth@redhat.com>
5912
5913         * stmt.c (expand_start_null_loop): Set continue_label.
5914
5915 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
5916
5917         * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
5918         (expand_builtin_constant_p): Move parts of the code into
5919         fold_builtin_constant_p.
5920         (expand_builtin_strlen): Move parts of the code into fold_builtin.
5921         * expr.h (fold_builtin): Declare.
5922         * fold-const.c (fold): Handle builtin calls.
5923
5924         * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
5925
5926 2000-11-01  Richard Henderson  <rth@redhat.com>
5927
5928         * stmt.c (expand_start_null_loop): New.
5929         (expand_end_null_loop): New.
5930         * c-semantics.c (genrtl_do_stmt): Use them.
5931         * tree.h: Declare them.
5932
5933 2000-11-01  Richard Henderson  <rth@redhat.com>
5934
5935         * cppmain.c (scan_buffer): Don't avoid paste for assembly.
5936
5937 2000-11-01  Neil Booth  <neilb@earthling.net>
5938
5939         * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
5940         * cp/spew.c: Similarly.
5941         * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
5942         * cppmacro.c (stringify_arg): Similarly.
5943         * cpplib.h (CPP_BACKSLASH): Delete.
5944
5945 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5946
5947         * builtins.c (expand_builtin_strstr): New function.
5948         (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
5949
5950         * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
5951
5952         * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
5953         and builtin strchr.
5954
5955 2000-10-31  Richard Henderson  <rth@redhat.com>
5956
5957         * config/i386/i386.c (fcmov_comparison_operator): Check for
5958         CCFPmode or CCFPUmode instead of CCmode.
5959         (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
5960         unordered operations as well.
5961
5962 2000-10-31  Richard Henderson  <rth@redhat.com>
5963
5964         * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
5965         of integer_zero_node.
5966
5967 2000-10-31  Richard Henderson  <rth@redhat.com>
5968
5969         * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
5970
5971 2000-10-31  Nick Clifton  <nickc@redhat.com>
5972
5973         * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
5974         -fdata-sections to override the section attribute of a DECL.
5975
5976 2000-10-31  Chris Demetriou  <cgd@sibyte.com>
5977
5978         * libgcc2.c (__shtab): Remove __shtab variable.
5979         * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
5980         * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
5981         members.
5982
5983 2000-10-31  Jim Wilson  <wilson@redhat.com>
5984
5985         * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
5986         * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
5987         * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
5988         instead of ASM_OUTPUT_INTERNAL_LABEL.
5989         (dwarf2out_end_block, dwarf2out_label): Likewise.
5990         * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
5991         * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
5992
5993 2000-10-31  Richard Henderson  <rth@redhat.com>
5994
5995         * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
5996         (size_of_locs): Set it.
5997         (output_loc_operands): Use it to compute branch displacement.
5998         (int_loc_descriptor): New.
5999         (mem_loc_descriptor): Dereference memory in the proper size.
6000         Use DW_OP_plus_uconst when possible.  Use int_loc_descriptor.
6001         (loc_descriptor_from_tree): New.
6002         (rtl_for_decl_location): Break out from ...
6003         (add_location_or_const_value_attribute): ... here.
6004         (add_bound_info): Use loc_descriptor_from_tree.
6005
6006 2000-10-31  Neil Booth  <neilb@earthling.net>
6007
6008         * cpp.texi: Update for new command line assertion syntax.
6009         * cpplib.c (cpp_define): Simplify a bit.
6010         (cpp_assert, cpp_unassert): Use handle_assertion.
6011         (handle_assertion): New function; accept new command line
6012         syntax with '='.
6013         * testsuite/gcc.dg/cpp/assert3.c: New tests.
6014
6015 2000-10-31  Neil Booth  <neilb@earthling.net>
6016
6017         * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
6018         undefined.  Remove #ifdef check.
6019         * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
6020         Define STDC_0_IN_SYSTEM_HEADERS to 1.
6021
6022 2000-10-31  Jan Hubicka  <jh@suse.cz>
6023             Jakub Jelinek  <jakub@redhat.com>
6024
6025         * config/i386/i386.h: Clarify CCNOmode description in comment.
6026         (EXTRA_CC_MODES): Remove CCRCmode.
6027         * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
6028         (put_condition_code, ix86_match_ccmode): Likewise.
6029         (ix86_cc_mode): Likewise.  Fix comment.
6030         (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
6031         * config/i386/i386.md: Add unspec 12 description.
6032         (adddi3 split): Use unspec 12 instead of CCRCmode.
6033         (addsi3_carry_rc): Remove.
6034         (addsi3_cc, addqi3_cc): New patterns.
6035         (addsi_3): Swap operands, match CCZmode.
6036         (addsi_4): Rewritten.
6037         (addsi_5): Renamed from addsi_6.
6038         (addsi_6): Removed.
6039         (addhi_3): Swap operands, match CCZmode.
6040         (addhi_4): Rewritten.
6041         (addhi_5): Renamed from addhi_6.
6042         (addhi_6): Removed.
6043         (addqi_3): Swap operands, match CCZmode.
6044         (addqi_4): Rewritten.
6045         (addqi_5): Renamed from addqi_6.  Use =q constraint for clobber.
6046         (subsi3_carry_rc): Removed.
6047         (iorqi_3): Use =q constraint for clobber.
6048         (xorqi_cc_2): Likewise.
6049         (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
6050         (x86_movsicc_0_m1_rc): Removed.
6051         (cmp?i peepholes): Remove neg.  Use CCGCmode instead of CCRCmode.
6052
6053 2000-10-31  Joseph S. Myers  <jsm28@cam.ac.uk>
6054
6055         * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
6056         and decrement of complex types.
6057
6058 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6059
6060         * builtins.c (expand_builtin_fputs): When deleting NOP calls to
6061         builtin fputs, ensure we still evaluate the stream in case it
6062         has side-effects.
6063
6064 2000-10-31  Jakub Jelinek  <jakub@redhat.com>
6065
6066         * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
6067         to expand_shift.
6068
6069 Tue Oct 31 15:33:27 2000  J"orn Rennecke <amylaar@redhat.com>
6070
6071         * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
6072         (fp_extended_operand, emit_fpscr_use): Likewise.
6073         * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
6074         (fpul_operand): New function.
6075         * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
6076         fp_extended_operand.  Add fpul_operand.
6077         * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
6078         (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
6079         (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
6080         (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
6081         (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
6082         (divdf3_i): Likewise.
6083         (floatsisf2): Likewise.  Use fpul_operand for 'y' operand.
6084         (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
6085         (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
6086         (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
6087         (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
6088
6089 2000-10-31  Bernd Schmidt  <bernds@redhat.co.uk>
6090
6091         * config/i386/i386.c (ix86_init_builtins): Correct return type
6092         building v4hi_ftype_v4hi_int_int tree node.
6093         (ix86_expand_builtin): Use correct operand numbers 0 and 1.
6094         Copy operand 0 into a Pmode register, don't generate a MEM rtx.
6095
6096         * config/i386/i386.md (sse_movntdi): Use mmx register constraint
6097         for operand 1.
6098         (mmx__uavgv8qi3): Correct insn mnemonic.
6099         (mmx_psadbw): Correct insn mnemonic.  Use V8QI mode for operands 1 and 2.
6100         (mmx_punpckhwd): Correct insn mnemonic.
6101         (mmx_punpckhdq): Likewise.
6102         (mmx_punpcklwd): Likewise.
6103         (mmx_punpckldq): Likewise.
6104         (prefetch): Use immediare_operand and 'n' constraint for operand 1.
6105         Renumber case labels to match the _mm_prefetch constants defined in
6106         xmmintrin.h.
6107
6108         * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
6109         if the splitter didn't emit new insns.
6110         Make sure we call cleanup_subreg_operands even when splitting the last
6111         insn in a basic block.
6112
6113         * invoke.texi (Debugging Options): Describe -do.
6114         * toplev.c (enum_dump_file_index): New entry DFI_postreload.
6115         (dump_file): Likewise.
6116         (rest_of_compilation): Split .greg dump into .greg and .postreload.
6117
6118 2000-10-30  Neil Booth  <neilb@earthling.net>
6119
6120         * cppfiles.c (stack_include_file): Check for stacked contexts
6121         here.
6122         * cpphash.h (_cpp_do__Pragma): New prototype.
6123         * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
6124
6125         * cpplex.c (skip_escaped_newlines): Only process trigraphs and
6126         escaped newlines if !(buffer->from_stage3).
6127         (_cpp_lex_token): Warn about missing newlines iff
6128         !buffer->from_stage3.
6129
6130         * cpplib.c (get__Pragma_string, destringize,
6131         _cpp_do__Pragma): New functions.
6132         (run_directive): Set output_line for _Pragma to avoid line
6133         markers in output.  Set from_stage3 and prevent macro expansion
6134         for _Pragma and command-line options.  Check buffer exhaustion.
6135         (cpp_push_buffer): Don't check for stacked macro contexts, as
6136         this is perfectly legitimate for _Pragma.  Move the check to
6137         stack_include_file instead. Set from_stage3 iff buffer is
6138         preprocessed input.
6139
6140         * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
6141         unsigned. New boolean from_stage3.
6142         (struct spec_nodes): Add n__Pragma.
6143
6144         * cppmacro.c (enter_macro_context): Flip sense of return value.
6145         (_cpp_get_token): Handle _Pragma operator.
6146
6147 2000-10-30  Phil Edwards  <pme@sources.redhat.com>
6148
6149         * gcc.texi:  The C++ standard isn't "draft" anymore.
6150
6151 2000-10-30  Mark Mitchell  <mark@codesourcery.com>
6152
6153         * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
6154
6155 2000-10-29  Neil Booth  <neilb@earthling.net>
6156
6157         * cpplib.c (skip_rest_of_line):  Use _cpp_get_token.
6158
6159 2000-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
6160
6161         * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
6162         fixinc/inclhack.def: Change comments mentioning C9X to refer to
6163         C99 instead.
6164
6165         * invoke.texi: Document that -V will only work for very similar
6166         versions of driver and compiler.
6167
6168 2000-10-29  Neil Booth  <neilb@earthling.net>
6169
6170         * cppmacro.c (_cpp_create_definition): Optimize the case of
6171         a macro defined to itself.
6172
6173 2000-10-29  Neil Booth  <neilb@earthling.net>
6174
6175         * cpplex.c (save_comment): Don't store new lines in C++ comments.
6176
6177 2000-10-29  Michael Hayes  <mhayes@redhat.com>
6178
6179         * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
6180
6181 2000-10-28  Geoffrey Keating  <geoffk@cygnus.com>
6182
6183         * cpphash.c (cpp_forall_identifiers): Add context variable
6184         for callback routine.
6185         * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
6186         change.
6187         (main): Call cpp_forall_identifiers with null context.
6188         * cpplib.h (cpp_forall_identifiers): Update prototype.
6189
6190         * cppmain.c: Make `parse_in' and `print' static.
6191
6192 2000-10-28  Alan Modra <alan@linuxcare.com.au>
6193
6194         * c-decl.c (finish_function): Clear c_function_name_declared_p.
6195
6196 2000-10-28  Richard Henderson  <rth@redhat.com>
6197
6198         * regrename.c (scan_rtx_address): Frob action, not class,
6199         when trying to disable optimization.
6200
6201 2000-10-28  Mark Mitchell  <mark@codesourcery.com>
6202
6203         * c-semantics.c (make_rtl_for_local_static): Don't clobber
6204         DECL_ASSEMBLER_NAME.
6205
6206 2000-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6207
6208         * configure.in: Determine and substitute gcc_version_full.
6209         * configure: Regenerate.
6210         * gccbug.in: Use it to give full version.  Don't allow
6211         confidential PRs.
6212
6213 2000-10-28  Richard Henderson  <rth@redhat.com>
6214
6215         * recog.c (split_all_insns): Run cleanup_subreg_operands
6216         after reload.
6217
6218         * regrename.c (regrename_optimize): Verify that all registers of
6219         a multiple register mode are available.
6220         (scan_rtx_address): Accept the mode of the address; all callers
6221         changed.
6222
6223         * cpplib.c (run_directive): Fix prototype.
6224
6225 2000-10-28  Bernd Schmidt  <bernds@redhat.co.uk>
6226
6227         * reload.c (find_reloads): Distinguish "wins" so that we know whether
6228         a given operand won because of a matching constraint or not; then use
6229         that information to compute goal_alternative_matched properly.
6230         * reload1.c (choose_reload_regs): Never set reload_override_in for an
6231         optional reload.
6232
6233         * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
6234         accurate value for MULT.
6235         * config/ia64/ia64.c (ia64_print_operand): Require probability to be
6236         2% or > 98% before using static branch prediction bits.
6237
6238 2000-10-28  Neil Booth  <neilb@earthling.net>
6239
6240         New macro expander.
6241
6242         * cpplib.c (struct answer): New.
6243         (struct if_stack): Use cpp_lexer_pos rather than line and col.
6244         Rename cmacro mi_cmacro.
6245         (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
6246         IN_I): New directive and flags.
6247         (skip_rest_of_line, check_eol, run_directive, glue_header_name,
6248         parse_answer, parse_assertion, find_answer): New functions.
6249         (parse_ifdef, detect_if_not_defined, validate_else): Remove.
6250         (lex_macro_node): New function to replace parse_ifdef and
6251         get_define_node.
6252
6253         (_cpp_handle_directive): New function, combines _cpp_check_directive
6254         and _cpp_check_linemarker.
6255
6256         (do_define, do_undef, parse_include, do_include, do_import,
6257         do_include_next, read_line_number, do_line, do_ident, do_pragma,
6258         do_pragma_once, do_pragma_poison, do_pragma_dependency):
6259         Update for new token getting interface.
6260
6261         (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
6262         : Update for new multiple-include optimisation technique.
6263         (do_elif): Don't forget to invalidate controlling macros.
6264
6265         (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
6266         (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
6267         Functions to handle assertions with the new token interface.
6268         (do_assert, do_unassert): Use them.
6269
6270         (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
6271         Use run_directive.
6272
6273         (_cpp_init_stacks): Register directive names.  Don't register special
6274         nodes.
6275
6276         * cpperror.c (print_containing_files, _cpp_begin_message): Update to
6277         new position recording regime.
6278         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
6279         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
6280         cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
6281         (cpp_type2name): Move to cpplex.c.
6282
6283         * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
6284         (parse_defined): Update to handle new multiple include optimisation
6285         method.  Remove poisoned identifier warning.
6286         (parse_assertion, TYPE_NAME): Delete.
6287         (lex): Update for multiple include optimisation, removal of
6288         CPP_DEFINED, to use _cpp_test_assertion for assertions and
6289         cpp_token_as_text.
6290         (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
6291         (op_as_text): New function, to wrap cpp_token_as_text.
6292
6293         * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
6294         Update for MI optimisation.
6295         (_cpp_execute_include): Take a token rather than 3 arguments.  Fix
6296         segfault on diagnostic.
6297         (_cpp_compare_file_date): Take a token rather than 3 args.
6298         (cpp_read_file): Work correctly for zero-length files.
6299
6300         * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
6301         _cpp_init_hashtable and _cpp_cleanup_hashtable.
6302         (cpp_lookup): Place identifiers at front of identifier pool
6303         for _cpp_lookup_with_hash.
6304         (_cpp_lookup_with_hash): Require identifiers to be at the front of
6305         the identifier pool.  Commit the memory if not already in the
6306         hash table.
6307
6308         * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
6309         Initialise various members of cpp_reader, memory pools, and the
6310         special nodes.
6311         (cpp_printer_init): Delete.
6312         (cpp_cleanup): Update.
6313         (struct builtin, builtin_array, initialize_builtins): Update for new
6314         hashnode definition and builtin handling.
6315         (cpp_start_read, cpp_finish): Don't take or initialise a
6316         printer.  Update.
6317
6318         * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
6319         PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
6320         T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
6321         T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
6322         (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
6323         struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
6324         NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
6325         struct toklist, struct cpp_context, struct specnodes,
6326         TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
6327         NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
6328         enum builtin_type, cpp_can_paste): New.
6329         (struct cpp_token): Delete line and col members.
6330         (struct cpp_buffer): New member output_lineno.
6331         (struct lexer_state): Delete indented, in_lex_line, seen_dot.
6332         Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
6333         (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
6334         ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
6335         base_context, context, directive, mi_state, mi_if_not_defined,
6336         mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
6337         mlstring_pos, macro_buffer, macro_buffer_len.
6338         Delete members mls_line, mls_column, token_list, potential_control_macro,
6339         temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
6340         context_cap, cur_context, no_expand_level, paste_level, contexts, args,
6341         save_parameter_spellings, need_newline, .
6342         Change type of date, time and spec_nodes members.
6343         Change prototypes for include and ident callbacks.
6344         (struct cpp_hashnode): Change type of name.  Remove union members
6345         expansion and code.  Add members macro, operator and builtin.
6346
6347         (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
6348         cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
6349         cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
6350         cpp_stop_lookahead): New prototypes.
6351         (cpp_printer_init, cpp_dump_definition): Delete prototypes.
6352
6353         (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
6354         Move from cpphash.h.
6355
6356         * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
6357         ufputs): Move to cpplib.h.
6358         (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
6359         TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
6360         COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
6361         struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
6362         _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
6363         _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
6364         _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
6365         _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
6366         _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
6367         _cpp_parse_assertion, _cpp_find_answer): Delete.
6368         (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
6369         POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
6370         _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
6371         _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
6372         _cpp_handle_directive, DSC): New.
6373         (struct include_file): New member defined.
6374
6375         (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
6376         _cpp_compare_file_date): Update.
6377         (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
6378         (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
6379         _cpp_cleanup_hashtable.
6380
6381         * Makefile.in: Remove cppoutput.c.
6382
6383         * cppoutput.c: Delete
6384
6385         * fixheader.c (read_scan_file): Update for new cpp_get_token
6386         prototype.
6387         (recognized_function): New argument LINE.
6388
6389         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
6390         new cpp_get_token prototype.
6391
6392         * scan.h (recognized_function): Update prototype.
6393
6394         * po/POTFILES.in: Remove cppoutput.c.
6395
6396 2000-10-27  Mark Mitchell  <mark@codesourcery.com>
6397
6398         * c-typeck.c (check_init_type_bitfields): Remove.
6399         (constructor_incremental): Likewise.
6400         (struct constructor_stack): Remove incremental bit.
6401         (struct initializer_stack): Likewise.
6402         (start_init): Don't play with constructor_incremental.
6403         (finish_init): Likewise.
6404         (really_start_incremental_init): Likewise.
6405         (push_init_level): Likewise.
6406         (pop_init_level): Likewise.
6407         (output_init_level): Likewise.
6408         (output_pending_init_elements): Likewise.
6409
6410 2000-10-21  Mike Coleman  <mcoleman2@kc.rr.com>
6411
6412         * c-pragma.c (handle_pragma_pack): Initialize align to -1.
6413         Improve error messages.  Correct parsing of
6414         #pragma pack(pop [,id]).  Do not check the user-supplied
6415         alignment if we're popping.
6416
6417         * gcc.dg/pack-test-1.c: New test case.
6418         * gcc.dg/pack-test-2.c: New test case.
6419         * gcc.dg/pack-test-1.h: New file.
6420
6421 2000-10-27  Neil Booth  <neilb@earthling.net>
6422
6423         * cpp.texi: Update.
6424
6425 2000-10-27  Kelley Cook <kelley.cook@home.com>
6426
6427         * invoke.texi: Document -mintel-syntax
6428
6429 2000-10-27  Richard Henderson  <rth@redhat.com>
6430
6431         * invoke.texi: Document -frename-registers.  Add it to -O3.
6432         * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
6433         (enum dump_file_index, dump_file): Update order.
6434         (main): Set flag_rename_registers at -O3.
6435
6436 2000-10-27  Richard Henderson  <rth@redhat.com>
6437
6438         * config/alpha/alpha.h (enum reg_class): Add PV_REG.
6439         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
6440         (REG_CLASS_FROM_LETTER): Assign it to 'c'.
6441         * config/alpha/alpha.md (call_osf_1): Use it.
6442         (call_value_osf_1): Likewise.
6443
6444         * config/ia64/ia64.c: Revert 10-23 patch.
6445         (ia64_hard_regno_rename_ok): New.
6446         * config/ia64/ia64-protos.h: Declare it.
6447         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
6448
6449 2000-10-27  Bernd Schmidt  <bernds@redhat.co.uk>
6450             Richard Henderson  <rth@redhat.com>
6451
6452         * regrename.c: Rewrite to handle multi-register modes and
6453         cond_exec instructions.
6454         * Makefile.in (regrename.o): Update dependancies.
6455         * recog.h (struct operand_alternative): Add is_address.
6456         * recog.c (preprocess_constraints) [case 'p']: Set it.
6457
6458 2000-10-27  Zack Weinberg  <zack@wolery.stanford.edu>
6459
6460         * configure.in: If not NO_MINUS_C_MINUS_O, substitute
6461         OUTPUT_OPTION with '-o $@'.  Make zlibdir, zlibinc relative to
6462         top level.  Kill oldstyle_subdirs.  Do not include
6463         $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
6464         $outputs.  Do not run configure.lang from config.status.
6465         Rearrange warning-flag logic to correspond to what the
6466         makefile wants.  Put special vax stage1 options in
6467         @stage1_flags@ not @stage1_warn_cflags@.  Don't do anything
6468         with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
6469         (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
6470         switch is given, nothing otherwise.
6471         * configure.lang: Delete.
6472
6473         * Makefile.in: Expunge all traces of extra_c_objs,
6474         extra_cxx_objs, and extra_cpp_objs.  Set MAYBE_CPPLIB from
6475         @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS.  Set
6476         warning options via a three level scheme so that -pedantic and
6477         -Wtraditional are not used for non-C front ends: LOOSE_WARN,
6478         STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
6479         WARN_CFLAGS.  Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
6480         Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
6481         Set OUTPUT_OPTION, ZLIB, ZLIBINC.  Do not set P,
6482         LANG_FLAGS_TO_PASS.  Add OUTPUT_OPTION to all object-file
6483         generation rules.  Wrap all rules that change the current
6484         directory in parentheses; pmake doesn't spawn a new shell for
6485         each command.  Expunge all references to $(P).  When one
6486         command depends on another and they're run all at once, use &&
6487         to separate them, not ;.  Add libgcc_s$(SHLIB_EXT) to files
6488         deleted on make clean.  Force OUTPUT_OPTION='-o $@' in stage2
6489         and beyond.
6490
6491         * objc/Make-lang.in: Wrap all rules that change the current
6492         directory in parentheses.  Expunge all references to $(P).
6493         When one command depends on another and they're run all at
6494         once, use && to separate them, not ;.  Add OUTPUT_OPTION to
6495         all object-file generation rules.  Delete obsolete variables.
6496         * objc/Makefile.in: Delete.
6497
6498 2000-10-27  Jakub Jelinek  <jakub@redhat.com>
6499
6500         * calls.c (expand_call): If sibcall_failure is set during pass 1,
6501         clear tail_call_insns as well.
6502
6503 2000-10-27  Nick Clifton  <nickc@redhat.com>
6504
6505         * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
6506         prototype.
6507
6508 2000-10-26  Richard Henderson  <rth@redhat.com>
6509
6510         * calls.c (expand_call): Supress sibcall if we have a
6511         BLKmode return in registers.
6512
6513 2000-10-26  Bernd Schmidt  <bernds@redhat.co.uk>
6514
6515         * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
6516         into memory.
6517
6518 2000-10-26  Nathan Sidwell  <nathan@codesourcery.com>
6519
6520         * tree.c (make_node, case 't'): Set alignment to that of
6521         char_type_node.
6522         * expr.c (move_by_pieces_ninsns): Abort if some length remains.
6523
6524 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
6525
6526         * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
6527         * configure.in (enable-libstdcxx-v3): Arrange to have
6528         HAVE_LIBSTDCXX_V3 substituted into the output files.
6529
6530 2000-10-25  Richard Henderson  <rth@redhat.com>
6531
6532         * recog.c (constrain_operands): Initialize which_alternative
6533         before no alternatives early exit.
6534
6535         * cse.c (find_comparison_args): Check that we can reverse a
6536         comparison if needed before accepting the substitution.
6537
6538         * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
6539
6540         * simplify-rtx.c (simplify_relational_operation): Sign extend
6541         low words before sign extending to high words.
6542
6543 2000-10-25  Nick Clifton  <nickc@redhat.com>
6544
6545         * config/mcore/mcore.c: Include config.h before system.h.
6546
6547 2000-10-25  Ray Essick  <essick@ddna.labs.mot.com>
6548
6549         * config/mcore/mcore.md (return): Force function epilogue to
6550         always be generated to work around epilogue suppression bug in
6551         M*Core backend.
6552
6553 2000-10-25  Joseph S. Myers  <jsm28@cam.ac.uk>
6554
6555         * c-decl.c (grokdeclarator): Move warning for qualified void
6556         return types with -pedantic to when the function type is
6557         constructed.  At -W, warn in general for qualified function return
6558         types, except for volatile void.
6559         * invoke.texi: Document this new warning at -W.
6560
6561 2000-10-25  Neil Booth  <neilb@earthling.net>
6562
6563         * cpp.texi: Update with implementation-defined behavior and
6564         internal limits.
6565
6566 2000-10-25  Jakub Jelinek  <jakub@redhat.com>
6567
6568         * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
6569         incomplete type force it into alias set 0.
6570
6571 Wed Oct 25 01:02:44 EDT 2000  John Wehle  (john@feith.com)
6572
6573         * alias.c: Include basic-block.h.
6574         (loop_p): New function.
6575         (mark_constant_function): Use it.
6576         * Makefile.in (alias.o): Update dependencies.
6577
6578 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
6579
6580         * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
6581         like memory.
6582
6583 2000-10-24  Jim Wilson  <wilson@cygnus.com>
6584
6585         * expmed.c (store_bit_field): Move integer pun code down after
6586         code that calls emit_move_insn for entire register move.
6587         * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
6588         Oct 20 changes.  Only store mode in TYPE_MODE if RECORD_TYPE.
6589
6590 2000-10-24  Richard Henderson  <rth@cygnus.com>
6591
6592         * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
6593         register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
6594
6595 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
6596
6597         * gcse.c (cprop_insn): do not propagate constants into jump_insn
6598         for machines with CC0 more than once.
6599
6600 2000-10-24  Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
6601
6602         * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
6603         pseudos just like memory.
6604
6605 2000-10-24  Alexandre Oliva  <aoliva@redhat.com>
6606
6607         * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
6608         when deleting libcall sequence collapsed to a single instruction.
6609
6610 2000-10-24  Andrew Haley  <aph@cygnus.co.uk>
6611
6612         * expr.c (do_store_flag): Don't crash if either side of a
6613         comparison is error_mark_node.
6614
6615 2000-10-24  Jakub Jelinek  <jakub@redhat.com>
6616
6617         * sibcall.c (purge_mem_unchanging_flag): New function.
6618         (optimize_sibling_and_tail_recursive_calls): Call it.
6619
6620 2000-10-24  Philipp Thomas  <pthomas@suse.de>
6621
6622         * Makefile.in (check-po): New target for doing checks in the po
6623         subdir if all languages configured.
6624         (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
6625         configure if NLS is enabled.
6626         * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
6627         otherwise leave empty.
6628         * configure: Regenerate.
6629
6630 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
6631
6632         * i386.c (print_operand): Handle new 'A' formatting code.
6633         387 opcodes need suffixes even with -mintel-syntax.
6634         Check for explicit size override (codes 'b', 'w' and 'k').
6635         (print_operand_address): Check if register prefix is needed when
6636         emitting `ds' segment override.
6637         * i386.h: Add comment about new 'A' formatting code.
6638         * i386.md (jump and call patterns): Emit absolute references using %A.
6639
6640 2000-10-23  Richard Henderson  <rth@cygnus.com>
6641
6642         * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
6643         output registers as fixed.
6644         (ia64_function_epilogue): Undo output fixation.
6645
6646 2000-10-23  Richard Henderson  <rth@cygnus.com>
6647
6648         * config/alpha/alpha.md: Add names for all unnamed insns; use
6649         define_insn_and_split in some obvious places.
6650         (lda): Remove.
6651         (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
6652         (zero_extendqisi2, zero_extendqidi2): Likewise.
6653         (zero_extendhisi2, zero_extendhidi2): Likewise.
6654         (abs splitters): Fix match_scratch operand number.
6655         (bcc_reverse): Swap pc & label instead of non-canonical compare.
6656
6657 2000-10-23  Jim Wilson  <wilson@cygnus.com>
6658
6659         * ia64.c (ia64_print_operand, case 'r'): Correct comment.  Handle
6660         CONST_INT.
6661         * ia64.md (cmpsi_adjusted): Use %r3.
6662         (cmpdi_adjusted): Likewise.
6663
6664 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
6665
6666         * config/i386/att.h (ASM_FILE_START): Define.
6667
6668 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
6669
6670         * config/i386/linux.h (ASM_FILE_START): Define.
6671
6672 Wed Oct 18 11:16:40 2000  Donald Lindsay  <dlindsay@cygnus.com>
6673
6674         * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
6675         since this (only) drags in a crt0.o reference that the .ld files
6676         also introduce.
6677
6678 2000-10-23  Geoff Keating  <geoffk@cygnus.com>
6679
6680         * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
6681         overwrite the value in a RELOAD_FOR_INPUT and other kinds of
6682         reloads just like an RELOAD_FOR_OUTPUT would.
6683
6684         * local-alloc.c (update_equiv_regs): Add an abort().  When
6685         deleting or moving insns, update reg_equiv[regno].init_insns.
6686
6687 2000-10-23  Mark Mitchell  <mark@codesourcery.com>
6688
6689         * c-tree.texi: Improve documentation for IF_STMTs and related
6690         conditional statements.
6691
6692 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
6693
6694         * expr.c (do_preexpand_calls): Remove.
6695         (same_from_p): Don't use CALL_EXPR_RTL.
6696         (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
6697         (preexpand_calls): Remove.
6698         * tree.c (first_rtl_op): Remove CALL_EXPR case.
6699         (unsave_expr_1): Likewise.
6700         * tree.def (CALL_EXPR): Give it only two slots.
6701         * tree.h (CALL_EXPR_RTL): Remove.
6702
6703 2000-10-21  Chandrakala Chavva   <cchavva@redhat.com>
6704
6705         * libgcc-std.ver (__addvsi3, __addvdi3,  __subvsi3, __subvdi3,
6706         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6707         New functions.
6708
6709 2000-10-22  Alexandre Oliva  <aoliva@redhat.com>
6710
6711         * calls.c (combine_pending_stack_adjustment_and_call): Don't
6712         adjust stack when unadjusted_alignment ends up as zero.
6713
6714 2000-10-22  Joseph S. Myers  <jsm28@cam.ac.uk>
6715
6716         * fixinc/genfixes: Remove EGCS reference.
6717         * install.texi: Remove EGCS reference.
6718         * INSTALL: Regenerate.
6719
6720 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
6721
6722         * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
6723
6724 2000-10-21  Joseph S. Myers  <jsm28@cam.ac.uk>
6725
6726         * diagnostic.c: Remove EGCS reference in comment.
6727
6728 Sat Oct 21 08:24:25 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6729
6730         * loop.c (strength_reduce): Fix error in last change.
6731
6732 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
6733
6734         * Makefile.in (SHLIB_NM_FLAGS): New.
6735         (libgcc.mk): Pass it.
6736         * mklibgcc.in (libgcc.map): Use it.
6737
6738         * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
6739         SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
6740
6741 2000-10-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6742
6743         * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
6744
6745         * sparc.c (load_pic_register): Delete unused varaible.
6746
6747         * libgcc2.c (__addvsi3): Delete unused variable.
6748
6749         * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
6750         __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
6751         __negvdi2): Prototype.
6752
6753         * ssa.c (apply_delayed_renames): Avoid undefined operation.
6754
6755         * toplev.c (display_target_options): Make static to match
6756         prototype.  Delete empty declaration.
6757
6758 2000-10-20  Tom Tromey  <tromey@cygnus.com>
6759
6760         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6761         * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6762
6763 Fri Oct 20 17:05:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6764
6765         * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
6766         returned MEM.
6767         (expand_expr_unaligned, case ARRAY_REF): Check that index is
6768         a constant before comparing it; use tree_low_cst.
6769         * tree.c (save_expr): Set TREE_READONLY.
6770         (substitute_expr): Return inside of NON_LVALUE_EXPR.
6771         (build, build1): Set TREE_READONLY if all operands are.
6772         (build_index_type): If upper bound is a negative number, lower
6773         bound is zero and sizetype is unsigned, use upper bound of one and
6774         lower of zero.
6775
6776 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
6777
6778         * gcc.c (process_command, main): Use "because" instead of
6779         "since" in error messages.
6780
6781 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6782
6783         * stor-layout.c (compute_record_mode): Use tree_low_cst.
6784         Don't use mode of field for record unless sizes are the same.
6785         (layout_type, case ARRAY_TYPE): Remove special bounds handling
6786         previously added for Ada; also change to using host_integerp
6787         and tree_low_cst.
6788
6789         * loop.c (strength_reduce): Show when new register made for
6790         giv is known to be a pointer and its aligment if so and known.
6791         (loop_dump_aux): Show VERBOSE parameter unused.
6792
6793         * gcse.c (set_hash_table_size): Now unsigned.
6794         * sdbout.c (template_name_p): Add "const" to avoid warnings.
6795         (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
6796         (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
6797         (sdbout_end_epilogue): Remove variable NAME.
6798         * system.h (getopt): Add default definition.
6799         * config/alpha/alpha.c (print_operand): Don't continue processing
6800         after issuing error.
6801         (summarize_insn): Avoid use of UL in constant.
6802
6803         * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
6804
6805         * fold-const.c (force_fit_type): Unsigned values can overflow
6806         if they are sizetype.
6807         (int_const_binop): Don't use cache if overflows.
6808
6809 2000-10-20  Richard Henderson  <rth@cygnus.com>
6810
6811         * function.c (locate_and_pad_parm): Zero alignment_pad.
6812
6813         * regrename.c (rr_replace_reg): Rewrite to use recog_data to
6814         perform substitutions, and apply_change_group to see if it worked.
6815
6816 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6817
6818         * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
6819
6820         * combine.c (struct undo): Change int to unsigned int.
6821         (do_SUBST_INT): Args are unsigned int.
6822         (make_extraction, force_to_mode): Use proper type when forming mask.
6823         (make_field_assignment): Likewise.
6824
6825 2000-10-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6826
6827         * c-common.c (check_format_info_recurse): Extract string constant
6828         initializers from non-volatile constant arrays and check them as
6829         formats.
6830         * c-typeck.c (decl_constant_value): Don't check pedantic or check
6831         for DECL_MODE (decl) != BLKmode.
6832         (decl_constant_value_for_broken_optimization): New function which
6833         includes these checks.
6834         (default_conversion, convert_for_assignment, digest_init): Use
6835         decl_constant_value_for_broken_optimization instead of
6836         decl_constant_value.
6837
6838 2000-10-20  Mark Mitchell  <mark@codesourcery.com>
6839
6840         * tree.h (DECL_ALIGN_UNIT): New macro.
6841
6842 2000-10-14  Marek Michalkiewicz  <marekm@linux.org.pl>
6843
6844         * config/avr/avr-protos.h (avr_output_bld): New.
6845         (out_shift_with_cnt): Add t_len argument.
6846         * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
6847         (output_movqi, output_movhi, output_movsisf): Optimize loading
6848         any constant with exactly one bit set to NO_LD_REGS.
6849         (out_shift_with_cnt): Optimize output code for size or speed,
6850         depending on optimize_size.  Handle small shift counts as well
6851         (if not hand-optimized in ?sh??i3_out).  Shifts can be done
6852         with or without a scratch register, with help of __tmp_reg__
6853         or __zero_reg__ if necessary.  Add T_LEN argument to pass the
6854         length of TEMPLATE in words, return total insn length in *LEN.
6855         (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
6856         out_shift_with_cnt to work with the above change.
6857         (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
6858         lshrsi3_out): Likewise.  Optimize more known shift count cases.
6859         Remove cases already well optimized in out_shift_with_cnt.
6860         (avr_output_bld): New function.
6861         * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
6862         (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
6863         * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
6864         Add reload_completed to insn condition - only for peepholes.
6865         (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
6866         in a register or memory.
6867         (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
6868         Do not require a scratch register.
6869         (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
6870         *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
6871         Optimize shifts by known count using a scratch register, but only
6872         if one is still available after register allocation.
6873
6874 2000-10-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
6875
6876         * t-vax: New file.  Don't build modules from libgcc1.c.
6877
6878 Fri Oct 20 00:57:00 EDT 2000  John Wehle  (john@feith.com)
6879
6880         * alias.c: (mark_constant_function): Don't check pure functions.
6881         Initialize and end alias analysis.
6882         (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
6883         Don't make a special exception for recursion.  Handle
6884         UNSPEC_VOLATILE.  Don't assume ASM_OPERANDS is non-local
6885         unless it's volatile.
6886
6887         * local-alloc.c (equivalence): New structure.
6888         (reg_equiv): Define.
6889         (contains_replace_regs): Remove array and use
6890         field in reg_equiv.
6891         (memref_referenced_p): Likewise.
6892         (no_equiv): Likewise.
6893         (update_equiv_regs): Likewise.
6894
6895         (equiv_init_varies_p,
6896         equiv_init_movable_p): New functions.
6897         (update_equiv_regs): Use them.  Use rtx_varies_p
6898         instead of function_invariant_p.  Process insns
6899         from end to beginning.  Allow a REG_EQUIV insn
6900         within the same loop as a use to be moved, also
6901         allow it to be moved out of a loop.  Update
6902         REG_DEAD notes when substituting into an insn.
6903
6904 2000-10-19  Jim Wilson  <wilson@cygnus.com>
6905
6906         * c-decl.c (start_decl): Check for error_mark_node type before using
6907         COMPLETE_TYPE_P.
6908         (finish_decl): Likewise.  Don't give an error if decl type is
6909         already error_mark_node.
6910
6911         * haifa-sched.c (compute_trg_info): Add explanatory comments.
6912         New local update_blocks.  Use update_blocks to remove duplicates
6913         when computing update blocks.  Check for bblst_table overflow.
6914         (schedule_block): Add explanatory comment.  Reduce bblst_size by
6915         factor of 2.
6916         * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
6917         notes.
6918
6919 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
6920
6921         * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
6922
6923 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
6924
6925         * expmed.c: Minor corrections in comments.
6926         * invoke.texi: Added desciption for the new option -ftrapv.
6927
6928 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
6929
6930         * libgcc2.c: Added the missing #endif.
6931
6932 Thu Oct 19 14:25:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6933
6934         * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
6935
6936 2000-10-18  Chandrakala Chavva  <cchavva@redhat.com>
6937
6938         * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
6939         Use smulv_optab for -ftrapv.
6940         (expand_mult_highpart): Use unsigned multiply.
6941         (expand_divmod): Special-case division by -1.
6942         For EXACT_DIV_EXPR, do right shift first, then the multiply.
6943         For complex divide, use abs with unsigned result.
6944         * expr.c (force_operand): Use unsigned multiply.
6945         (expand_expr): Use overflow-trapping optabs for signed types if
6946         flag_trapv.
6947         If flag_trapv, don't generate a recursive call with EXPAND_SUM
6948         if the type is signed and the original call wasn't EXPAND_SUM or
6949         EXPAND_INITIALIZER.
6950         * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
6951         (negv_optab, absv_optab): Declare.
6952         * flags.h (flag_trapv): Declare.
6953         * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
6954         smulv_optab, sdivv_optab, negv_optab and absv_optab.
6955         (gen_insn): Interpret '$P' as requiring an integer mode,
6956         including partial integer modes.
6957         * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
6958         (product_cheap_p): Use unsigned expand_mult.
6959         * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
6960         (negv_optab, absv_optab): Define.
6961         (expand_binop): Use overflow-trapping optabs for signed types if
6962         flag_trapv.
6963         Handle negv_optab libe neg_optab.
6964         (expand_abs): Take result_unsignedp argument instead of unsignedp one.
6965         Use overflow-trapping optabs for signed result if flag_trapv.
6966         (expand_complex_abs): Use overflow-trapping optabs for signed types if
6967         flag_trapv.
6968         Don't open-code complex absolute-value operation for flag_trapv.
6969         (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
6970         sdivv_optab, negv_optab and absv_optab.
6971         * toplev.c (flag_trapv): Define.
6972         (lang_independent_options f_options): Include flag_trapv.
6973         * tree.h (TYPE_TRAP_SIGNED): Define.
6974         * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
6975         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6976         New functions.
6977         * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
6978         _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
6979
6980 2000-10-18  Geoffrey Keating  <geoffk@cygnus.com>
6981             David V. Henkel-Wallace  <gumby@cygnus.com>
6982
6983         * config/i386/t-netware: Bring in from the Red Hat tree.
6984         * config/i386/netware.h: Likewise.
6985         * config/netware.h: Likewise.
6986         * config/rs6000/netware.h: Delete.
6987         * configure.in: Add i[34567]86-*-netware.
6988         * configure: Hand-edit to match configure.in change.
6989
6990 2000-10-18  Mark Mitchell  <mark@codesourcery.com>
6991
6992         * c-common.h (flag_no_builtin): Declare.
6993         (flag_no_nonansi_builtin): Likewise.
6994         (c_common_nodes_and_builtins): Change prototype.
6995         * c-common.c (flag_no_builtin): New variable.
6996         (flag_no_nonansi_builtin): Likewise.
6997         (c_common_nodes_and_builtins): Remove parameters.  Adjust
6998         accordingly.
6999         * c-decl.c (flag_no_builtin): Remove.
7000         (flag_no_nonansi_builtin): Likewise.
7001         (init_decl_processing): Adjust call to
7002         c_common_nodes_and_builtins.
7003
7004 2000-10-18  Marc Espie <espie@openbsd.org>
7005
7006         * tm.texi (LIBGCC_SPEC): Synch with reality.
7007
7008 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7009
7010         * c-common.c (check_format_types): Check for writing through a
7011         NULL pointer argument.
7012
7013 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
7014
7015         * tm.texi (Exception Region Output): Document
7016         DWARF_CIE_DATA_ALIGNMENT.
7017         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
7018         #ifndef.
7019         [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
7020         DWARF_CIE_DATA_ALIGNMENT.
7021
7022 2000-10-18  Michael Hayes  <mhayes@cygnus.com>
7023
7024         * basic-block.h (struct loop): Delete fields pre_header_root
7025         and pre_header_trace and replace with pre_header_edges
7026         and num_pre_header_edges.
7027         * flow.c (flow_loop_dump): Dump pre_header_edges.
7028         (flow_loops_free): Free pre_header_edges.
7029         (flow_loop_pre_header_scan): Calculate pre_header_edges.
7030
7031 2000-10-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7032
7033         * contrib.texi: Update references to steering committee members
7034         and Jeff Law's entry.
7035
7036 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7037
7038         * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
7039         (maybe_read_dollar_number, check_format_info_main): Use them for
7040         pedantic warning messages.
7041
7042 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
7043
7044         * c-common.c (check_format_info_main): Minor cleanup: move
7045         variables into inner scopes; initialize declarations where
7046         appropriate; don't hardcode "scanf" name on warning for zero
7047         width.
7048
7049 2000-10-17  Mark Mitchell  <mark@codesourcery.com>
7050
7051         * c-common.c (back_end_hook): New variable.
7052         * c-common.h (back_end_hook): Declare it.
7053         * c-lang.c (finish_file): Use it.
7054
7055         * emit-rtl.c (init_emit_once): Initialize the const_int_htab
7056         earlier.
7057
7058 2000-10-18  Jan Hubicka  <jh@suse.cz>
7059
7060         * i386.c (ix86_comparison_operator, put_condition_code,
7061         ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
7062         (ix86_expand_strlensi_unroll_1): Use CCRCmode.
7063         * i386.h (EXTRA_CC_MODES): Add CCRCmode.
7064         * i386.md (adddi and negdi splitter): Use CCRCmode.
7065         (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
7066         (subsi3_carry): add '*'
7067         (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
7068         (cmp to add peep2): Use CCRCmode; swap operands.
7069
7070 2000-10-18  Kazu Hirata  <kazu@hxi.com>
7071
7072         * h8300.c: Fix a comment typo.
7073         (round_frame_size): New.
7074         (compute_saved_regs): Likewise.
7075         (push): Likewise.
7076         (pop): Likewise.
7077         (push_order): Remove.
7078         (pop_order): Likewise.
7079         (function_prologue): Rearrange code for readability.
7080         (function_epilogue): Likewise.
7081
7082         * config/h8300/h8300.md: Remove an unnecessary sign_extend
7083         expander that is used when not optimizing.  Output a tab after
7084         each assembly insns.
7085
7086         * reorg.c: Fix formatting.
7087
7088 2000-10-17  Joern Rennecke <amylaar@redhat.co.uk>
7089
7090         * reload1.c (move2add_note_store): Check for simple
7091         auto-inc in destination.
7092
7093 2000-10-17  Michael Chastain  <chastain@redhat.com>
7094
7095         * config/i386/i386-aout.h: define INT_ASM_OP.
7096
7097 Tue Oct 17 20:11:08 2000  Alan Modra <alan@linuxcare.com.au>
7098
7099         * pa.c (print_operand): Handle case 'c' for .vtable_inherit
7100
7101 Tue Oct 17 20:05:51 2000  Martin Buchholz <martin@xemacs.org>
7102
7103         * i370.md: Fix spelling typo.
7104
7105 2000-10-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7106
7107         * function.c (locate_and_pad_parm): Don't align stack unconditionally.
7108         Fixes execute/20001017-1.c on powerpc-linux-gnu.
7109
7110         * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
7111         * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
7112         LABEL_REF.
7113
7114         * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
7115         ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
7116         here...
7117         * rs6000/aix.h: ...to here.
7118         * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
7119
7120 2000-10-17  Jakub Jelinek  <jakub@redhat.com>
7121
7122         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
7123
7124         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
7125         sure linker can relax even the delay slot mov %g1,%o7, fix output
7126         formating.
7127
7128 2000-10-17  Kazu Hirata  <kazu@hxi.com>
7129
7130         * config/h8300/h8300.md: Remove an unnecessary zero_extend
7131         expander that is used when not optimizing.  Output a tab after
7132         each assembly insns.
7133
7134 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
7135
7136         * gcc.c: New options --target-help.
7137         (process_command): Added code to parse this new option.
7138         * toplev.c (display_target_options): New function to support the
7139         above new option.
7140         * cppinit.c (new_pending_directive) : New option OPT_target__help.
7141         (cpp_handle_option): Support this new option.
7142         * invoke.texi: Added notes about --target-help option.
7143
7144 2000-10-17  Graham Stott  <grahams@redhat.com>
7145
7146         * config/i386/i386.md (testqi_1): Add missing operand prefix
7147         for operand 0.
7148         * config/i386/i386-protos.h: Add missing prototype.
7149
7150 2000-10-17  Diego Novillo  <dnovillo@cygnus.com>
7151
7152         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
7153         _GLOBAL_OFFSET_TABLE should not have a $ prefix when
7154         using -mintel-syntax.
7155
7156 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
7157
7158         * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
7159         (format_types): Use it for printf.
7160         (maybe_read_dollar_number): Add parameter for the kind of format
7161         involved.  Warn for multiple use for arguments if this is
7162         inappropriate for the kind of format involved.
7163         (check_format_info_main): Update calls to maybe_read_dollar_number.
7164
7165 2000-10-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7166
7167         * inclhack.def (hpux_maxint): Also apply fix to values.h.
7168         * fixincl.x: Rebuilt.
7169
7170 2000-10-17  Alexandre Oliva  <aoliva@redhat.com>
7171
7172         * genrecog.c (write_switch): Return the first condition that needs a
7173         label.
7174
7175 2000-10-17  Bernd Schmidt  <bernds@redhat.co.uk>
7176
7177         * c-tree.h (warn_sequence_point): Move declaration to...
7178         * c-common.h (warn_sequence_point): ... here.
7179         * c-decl.c (warn_sequence_point): Move definition to...
7180         * c-common.c (warn_sequence_point): ... here.
7181         (struct reverse_tree): New.
7182         (reverse_list, reverse_max_depth): New static variables.
7183         (build_reverse_tree, common_ancestor, modify_ok
7184         verify_sequence_points): New functions.
7185         (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
7186         * c-typeck.c (check_modify_expr): Delete.
7187         (build_modify_expr): Don't call it.
7188
7189 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
7190
7191         * c-common.h (warn_missing_format_attribute): New variable.
7192         * c-decl.c (warn_missing_format_attribute): New variable.
7193         (c_decode_option): Decode -Wmissing-format-attribute and
7194         -Wno-missing-format-attribute.
7195         * c-common.c (check_function_format): If
7196         -Wmissing-format-attribute, give a warning where a vprintf or
7197         vscanf function is called by a function without its own printf or
7198         scanf attribute.
7199         * toplev.c (documented_lang_options): Add
7200         -Wmissing-format-attribute.
7201         * invoke.texi: Document -Wmissing-format-attribute.
7202
7203 2000-10-17  Marc Espie <espie@openbsd.org>
7204
7205         * invoke.texi (-shared): Insist on requiring code generation flags
7206         to be used along with -shared, and document the subtle failure that
7207         may occur otherwise.
7208
7209 2000-10-16  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7210
7211         * pa.md (return_internal): Move `use' after `return'.
7212
7213 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
7214
7215         * machmode.def: Correct comment.
7216
7217 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
7218
7219         * print-rtl.c (print_rtx_head): Constify.
7220         * rtl.h (print_rtx_head): Similarly.
7221
7222         * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
7223         Constify char * return value.
7224         * config/pa/pa/pa.c
7225         (output_64bit_and, output_64bit_ior): Constify char * return value.
7226         (pa_can_combine_p): Make static.
7227         (function_arg): Decorate unused `named' argument. Fix comment typo.
7228         (function_arg_partial_nregs): Decorate unused `named' argument.
7229
7230 2000-10-16  Joseph S. Myers  <jsm28@cam.ac.uk>
7231
7232         * c-common.c (format_check_results): New structure.
7233         (finish_dollar_format_checking): Adjust to take a
7234         format_check_results * parameter.
7235         (check_format_info, check_format_info_recurse,
7236         check_format_info_main): Split check_format_info into three
7237         functions, the main checking going in check_format_info_main.
7238         Recurse when any reduction of the format string argument towards a
7239         string literal is done; go down both branches of a conditional
7240         expression.  Don't warn for extra format arguments or empty format
7241         strings if they only occur in some branches of a conditional
7242         expression.
7243
7244 2000-10-16  Kazu Hirata  <kazu@hxi.com>
7245
7246         * config/h8300/h8300.c: Remove obstack.  Include ggc.h.
7247
7248 2000-10-16  Jakub Jelinek  <jakub@redhat.com>
7249
7250         * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
7251
7252 2000-10-15  Diego Novillo  <dnovillo@cygnus.com>
7253
7254         * i386.md (*movsi_or): Switch operand order for intel syntax.
7255
7256 2000-10-14  Joseph S. Myers  <jsm28@cam.ac.uk>
7257
7258         * PROBLEMS: Remove.
7259
7260         * gcc.texi (Contributing): Update.
7261
7262 2000-10-13  Diego Novillo  <dnovillo@cygnus.com>
7263
7264         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
7265         appropriate assembler dialect.
7266
7267 2000-10-13  Alexandre Oliva  <aoliva@redhat.com>
7268
7269         * c-common.c (c_expand_builtin): PARAMS-ize prototype.
7270
7271 2000-10-12  Marek Michalkiewicz  <marekm@linux.org.pl>
7272
7273         * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
7274         constants 1 and 2 to NO_LD_REGS.
7275
7276 2000-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7277
7278         * Makefile.in (c-parse.c, tradcif.c): Create atomically.
7279
7280         * objc/Make-lang.in (objc-parse.c): Likewise.
7281
7282 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
7283
7284         * arm.c: Include obstack.h
7285         (minipool_obstack, minipool_startobj): Define.
7286         (arm_add_gc_roots): Initialize them.
7287         (create_fix_barrier): Use our new obstack.
7288         (push_minipool_barrier, push_minipool_fix): Likewise.
7289         (arm_reorg): Release obstack memory.
7290
7291 2000-10-13  Jakub Jelinek  <jakub@redhat.com>
7292
7293         * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
7294         (prologue, exception_receiver, builtin_setjmp_receiver): New
7295         patterns.
7296         * config/sparc/sparc.h (FINALIZE_PIC): Remove.
7297         * config/sparc/sparc-protos.h (finalize_pic): Remove.
7298         (load_pic_register): New prototype.
7299         * config/sparc/sparc.c (pic_setup_code): Remove.
7300         (finalize_pic): Rename to...
7301         (load_pic_register): ...this function.
7302         Don't look for nonlocal_goto_receivers and emit pic setup code
7303         directly.  Don't check current_function_uses_pic_offset_table.
7304
7305 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
7306
7307         * tree.h (struct obstack): Declare.
7308
7309 2000-10-12  Mark Mitchell  <mark@codesourcery.com>
7310
7311         Remove obstacks.
7312         * Makefile.in (ggc-callbacks.o): Remove target.
7313         (flow.o): Depend on GGC_H.
7314         * alias.c (init_alias_analysis):
7315         Remove ggc_p conditionals.
7316         (end_alias_analysis): Likewise.
7317         * basic-block.h (init_flow): New function.
7318         (allocate_reg_life_data): Declare.
7319         * bb-reorder.c  (function_obstack): Replace with ...
7320         (flow_obstack): ... new variable.
7321         (fixup_reorder_chain): Use it.
7322         * c-decl.c (ggc_p): Remove.
7323         (caller-save.c): Don't call oballoc/obfree.
7324         * combine.c (struct
7325         undobuf): Remove storage.
7326         (try_combine): Don't call oballoc.
7327         (undo_all): Don't call obfree.
7328         * cse.c (insert): Use xmalloc, not
7329         oballoc.
7330         (cse_main): Adjust accordingly.
7331         * dwarf2out.c (save_rtx): Remove
7332         obstack code.
7333         (dwarf2out_init): Remove ggc_p conditionals.
7334         * emit-rtl.c (rtl_obstack): Remove.
7335         (gen_rtx_CONST_INT): Remove ggc_p conditionals.
7336         (make_insn_raw): Likewise.
7337         (emit_insn_before): Likewise.
7338         (emit_insn_after): Likewise.
7339         (emit_insn): Likewise.
7340         (gen_sequence): Likewise.
7341         (copy_insn_1): Remove handling of `b' RTL components.
7342         (init_emit_once): Remove ggc_p conditionals.
7343         * except.c (create_rethrow_ref): Don't fool with obstacks.
7344         (add_partial_entry): Likewise.
7345         (call_get_eh_context): Likewise.
7346         (begin_protect_partials): Likewise.
7347         (protect_with_terminate): Likewise.
7348         * explow.c
7349         (plus_constant_wide): Likewise.
7350         * expr.c (init_expr_once):
7351         Likewise.
7352         (emit_block_move): Likewise.
7353         (clear_storage): Likewise.
7354         (expand_expr): Likewise.
7355         * flow.c (function_obstack): Remove.
7356         (flow_obstack): New variable.
7357         (flow_firstobj): Likewise.
7358         (create_base_block): Use the flow_obstack.
7359         (split_block): Likewise.
7360         (split_edge): Likewise.
7361         (calculate_global_regs_live): Likewise.
7362         (allocate_bb_life_data): Make it static.  Likewiwse.
7363         (init_flow): New function.
7364         (size_int_type_wide): Remove ggc_p conditionals.
7365         * function.c
7366         (push_function_context_to): Don't call save_tree_status.
7367         (pop_function_context_from): Or restore_tree_status.
7368         (assign_stack_local_1): Don't call push_obstacks.
7369         (find_fixup_replacement): Use xmalloc.
7370         (fixup_var_refs_insns): Free the storage.
7371         (insns_for_mem_walk): Don't mess with obstacks.
7372         (instantiate_decls): Likewise.
7373         (trampoline_address): Likewise.
7374         (expand_function_end): Likewise.
7375         * function.h (sturct function):
7376         Remove obstack-related variables.
7377         (save_tree_status): Don't declare.
7378         (restore_tree_status): Likewise.
7379         * gcse.c (compute_can_copy):
7380         Don't call oballoc/obfree.
7381         * genattrtab.c (operate_exp): Remove
7382         ggc_p conditionals.
7383         (simplify_cond): Likewise.
7384         (simplify_test_exp): Don't mess with obstacks.
7385         (optimize_attrs): Likewise.
7386         * gengenrtl.c (gendef): Don't include
7387         ggc_p conditionals.
7388         * ggc-callbacks.c (ggc_p): Remove.
7389         * ggc-none.c (ggc_p): Remove.
7390         * ggc.h (ggc_p): Don't declare.
7391         * integrate.c (save_for_inline): Don't mess with obstacks.
7392         (integrate_decl_tree): Likewise.
7393         (output_inline_function): Likewise.
7394         * lists.c
7395         (init_EXPR_INSN_LIST_cache): Likewise.
7396         * loop.c (temp_obstack):
7397         Remove.
7398         (rtl_obstack): Likewise.
7399         (init_loop): Don't mess with obstacks.
7400         (reg_address_cost): Free BIVs and GIVs.
7401         (check_insns_for_bivs): Use xmalloc, not oballoc.
7402         (find_mem_givs): Likewise.
7403         (record_biv): Likewise.
7404         (general_induction_var): Likewise.
7405         (product_cheap_p): Likewse.
7406         * optabs.c (init_one_libfunc): Remove
7407         ggc_p conditional.
7408         * print-tree.c (debug_tree): Don't use
7409         oballoc/obfree.
7410         (print_node): Likewise.
7411         * profile.c (output_func_start_profiler):
7412         Remove call to temporary_allocation.
7413         * reload1.c
7414         (eliminate_regs_in_insn): Don't mess with obstacks.
7415         * resource.c
7416         (mark_target_live_regs): Use xmalloc.
7417         (free_resource_info): Free the memory.
7418         * rtl.c (rtl_obstack):
7419         Remove.
7420         (rtvec_alloc): Don't mess with obstacks.
7421         (rtx_alloc): Likewise.
7422         (rtx_free): Remove.
7423         (copy_rtx): Don't handle `b' cases.
7424         (read_rtx): Use a local rtl_obstack.
7425         * rtl.h (oballoc): Remove.
7426         (obfree): Likewise.
7427         (pop_obstacks): Likewise.
7428         (push_obstacks): Likewise.
7429         (allocate_bb_life_data): Likewise.
7430         (allocate_reg_life_data): Likewise.
7431         (rtx_free): Likewise.
7432         * sdbout.c (sdbout_queue_anonymous_type):
7433         Use tree_cons, not saveable_tree_cons.
7434         * simplify-rtx.c
7435         (cselib_init): Don't mess with obstacks.
7436         * stmt.c
7437         (mark_block_nesting): Mark the label_chain.
7438         (epxand_label): Use ggc_alloc, not oballoc.
7439         (clear_last_expr): Don't mess with obstacks.
7440         (expand_decl_cleanup): Likewise.
7441         (expand_dcc_cleanup): Likewise.
7442         (expand_dhc_cleanup): Likewise.
7443         (expand_anon_union_decl): Likewise.
7444         (add_case_node): Use xmalloc, not oballoc.
7445         (free_case_nodes): New function.
7446         (expand_end_case): Call it.
7447         * stor-layout.c (layout_type): Don't
7448         mess with obstacks.
7449         (layout_type): Likewise.
7450         * toplev.c (wrapup_global_declarations):
7451         Likewise.
7452         (compile_file): Remove ggc_p conditionals.
7453         (rest_of_compilation): Call init_flow.  Remove ggc_p conditionals.
7454         (decode_f_option): Remove ggc_p conditionals.
7455         * tree.c
7456         (function_maybepermanent_obstack): Remove.
7457         (maybepermanent_obstack): Likewise.
7458         (function_obstack): Likewise.
7459         (tmeporary_obstack): Likewise.
7460         (momentary_obstack): Likewise.
7461         (temp_decl_obstack): Likewise.
7462         (saveable_obstack): Likewise.
7463         (rtl_obstack): Likewise.
7464         (current_obstack): Likewise.
7465         (expression_obstack): Likewise.
7466         (struct obstack_stack): Likewise.
7467         (obstack_stack): Likewise.
7468         (obstack_stack_obstack): Likewise.
7469         (maybepermanent_firstobj): Likewise.
7470         (temporary_firstobj): Likewise.
7471         (momentary_firstobj): Likewise.
7472         (temp_decl_firstobj): Likewise.
7473         (momentary_function_firstobj): Likewise.
7474         (all_types_permanent): Likewise.
7475         (struct momentary_level): Likewise.
7476         (momentary_stack): Likewise.
7477         (init_obstacks): Remove initialization of removed obstacks.
7478         (save_tree_status): Remove.
7479         (restore_tree_status): Likewise.
7480         (temporary_allocation): Liekwise.
7481         (end_temporary_allocation): Liekwise.
7482         (resume_temporary_allocation): Likewise.
7483         (saveable_allocation): Likewise.
7484         (push_obstacks): Likewise.
7485         (push_obstacks_nochange): Likewise.
7486         (pop_obstacks): Likewise.
7487         (allocation_temporary_p): Likewise.
7488         (permanent_allocation): Likewise.
7489         (preserve_data): Likewise.
7490         (preserve_initializer): Likewise.
7491         (rtl_in_current_obstack): Likewise.
7492         (rtl_in_saveable_obstack): Likewise.
7493         (oballoc): Likewise.
7494         (obfree): Likewise.
7495         (savealloc): Likewise.
7496         (expralloc): Likewise.
7497         (print_obstack_name): Likewise.
7498         (debug_obstack): Likewise.
7499         (object_permanent_p): Likewise.
7500         (push_momentary): Likewise.
7501         (perserve_momentary): Likewise.
7502         (clear_momentary): Likewise.
7503         (pop_momentary): Likewise.
7504         (pop_momentary_nofree): Likewise.
7505         (suspend_momentary): Likewise.
7506         (resume_momentary): Likewise.
7507         (make_node): Don't set TREE_PERMANENT.
7508         (copy_node): Remove ggc_p conditionals.  Don't set TYPE_OBSTACK.
7509         Don't set TREE_PERMANENT.
7510         (get_identifier): Remove ggc_p conditionals.
7511         (build_string): Likewise.
7512         (make_tree_vec): Likewise.
7513         (build_decl_list): Remove.
7514         (build_expr_list): Likewise.
7515         (tree_cons): Remove ggc_p conditionals.
7516         (decl_tree_cons): Remove.
7517         (expr_tree_cons): Likewise.
7518         (perm_tree_cons): Likewise.
7519         (temp_tree_cons): Likewise.
7520         (saveable_tree_cons): Likewise.
7521         (build1): Remove ggc_p conditionals.
7522         (build_parse_node): Likewise.
7523         (build_type_attribute_variant): Don't mess with obstacks.
7524         (build_type_copy): Likewise.
7525         (type_hash_canon): Likewise.
7526         (build_pointer_type): Likewise.
7527         (build_reference_type): Likewise.
7528         (build_index_type): Likewise.
7529         (build_range_type): Likewise.
7530         (dump_tree_statistics): Don't print obstack information.
7531         * tree.h
7532         (struct tree_common): Remove permanent_flag.
7533         (TREE_PERMANENT): Remove.
7534         (TREE_SET_PERMANENT): Likewise.
7535         (TYPE_OBSTACK): Likewise.
7536         (struct tree_type): Remove obstack.
7537         (oballoc): Remove.
7538         (savealloc): Likewise.
7539         (build_decl_list): Likewise.
7540         (build_expr_list): Likewise.
7541         (perm_tree_cons): Likewise.
7542         (temp_tree_cons): Likewise.
7543         (saveable_tree_cons): Likewise.
7544         (decl_tree_cons): Likewise.
7545         (expr_tree_cons): Likewise.
7546         (suspend_momentary): Likewise.
7547         (allocation_temporary_p): Likewise.
7548         (resume_momentary): Likewise.
7549         (push_obstacks_nochange): Likewise.
7550         (permanent_allocation): Likewise.
7551         (push_momentary): Likewise.
7552         (clear_momentary): Likewise.
7553         (pop_momentary): Likewise.
7554         (end_temporary_allocation): Likewise.
7555         (pop_obstacks): Likewise.
7556         (push_obstacks): Likewise.
7557         (pop_momentary_nofree): LIkewise.
7558         (preserve_momentary): Likewise.
7559         (saveable_allocation): Likewise.
7560         (temporary_allocation): Likewise.
7561         (resume_temporary_allocation): Likewise.
7562         (perserve_initializer): Likewise.
7563         (debug_obstack): Likewise.
7564         (rtl_in_current_obstack): Likewise.
7565         (rtl_in_saveable_obstack): Likewise.
7566         (obfree): Likewise.
7567         * varasm.c (current_obstack): Remove.
7568         (saveable_obstack): Remove.
7569         (rtl_obstack): Remove.
7570         (immed_double_const): Don't mess with obstacks.
7571         (immed_real_cons): Likewise.
7572         (output_constant_def): Likewise.
7573         (init_varasm_status): Use xcalloc.
7574         (mark_pool_constant): Mark the pool constant itself.
7575         (free_varasm_status): Free memory.
7576         (decode_rtx_const): Call bzero directly, rather than expanding it
7577         inline.
7578         (record_rtx_const): Don't mess with obstacks.
7579         (force_const_mem): Likewise.
7580         * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
7581         conditionals.
7582         (aof_pic_entry): Likewise.
7583         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7584         * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
7585         * config/pa/pa.c (saveable_obstack): Remove.
7586         (rtl_obstack): Likewise.
7587         (current_obstack): Likewise.
7588         (output_call): Don't mess with obstacks.
7589         (hppa_encode_label): Remove ggc_p conditionals.
7590         * config/romp/romp.c (get_symref): Don't mess with obstacks.
7591         * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
7592         (rs6000_encode_section_info): Likewise.
7593         * config/sh/sh.c (get_fpscr_rtx): Likewise.
7594
7595 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka  <jh@suse.cz>
7596
7597         * i386.md (adddi3, subdi3 splitters): Update for new pattern.
7598         (addsi3_cc, addqi3_cc, subsi3_cc): Remove
7599         (addsi3_carry): Canonicalize.
7600         (addqi_5): Remove '*'.
7601         (sbb pattern): Canonicalize.
7602
7603         * i386.md (cmp to inc/add peep2): New.
7604
7605 2000-10-12  Richard Earnshaw  <rearnsha@arm.com>
7606
7607         * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
7608         the exit block.
7609
7610 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7611
7612         * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
7613         * README.TRAD, TESTS.FLUNK: Remove.
7614
7615 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7616
7617         * c-common.c (decl_attributes): Don't allow strftime formats with
7618         first_arg_num nonzero.
7619         (check_format_info): Set wanted_type and wanted_type_name to zero
7620         before they are possibly assigned and used.
7621
7622 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7623
7624         * c-common.c (scanf_flag_specs): Add flags ' and I.
7625         (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
7626         or the ^ and # flags together.
7627         (scan_char_table): Handle the ' and I flags.
7628         (format_types): Add ' and I flags for scanf.
7629
7630 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
7631
7632         * c-common.c (print_char_table): Use the unpromoted type for
7633         lengths "h" and "hh" with conversions dioxXu.
7634         (check_format_types): Apply the default argument promotions where
7635         the wanted type is not a pointer target.
7636
7637 2000-10-11  Michael Meeks  <mmeeks@gnu.org>
7638             Joseph S. Myers  <jsm28@cam.ac.uk>
7639
7640         * c-typeck.c (check_modify_expr): New function.
7641         (build_modify_expr): Call it if warn_sequence_point.
7642         * c-decl.c (warn_sequence_point): New variable.
7643         (c_decode_option): Handle -Wsequence-point and
7644         -Wno-sequence-point.  Enable -Wsequence-point as part of -Wall.
7645         * c-tree.h (warn_sequence_point): Declare.
7646         * invoke.texi (-Wsequence-point): Document.
7647         * toplev.c (documented_lang_options): Add -Wsequence-point and
7648         -Wno-sequence-point.
7649         Original work by Michael Meeks, 16 Jun 1998.
7650
7651 Wed Oct 11 06:15:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7652
7653         * tree.c (get_narrower): Don't look at precision of field if
7654         not laid out yet.
7655
7656 Tue Oct 10 23:14:33 2000  Denis Chertykov  <denisc@overta.ru>
7657
7658         * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
7659         declaration for data with "progmem" attribute.
7660
7661 2000-10-09  Marek Michalkiewicz  <marekm@linux.org.pl>
7662
7663         * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
7664         Correct insn length if shift count is a memory operand.
7665         * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
7666         (*iorhi3_clobber): Change lo8 to hi8.
7667         (zero_extendhisi2): Change %B0 to %A1.
7668         (ashlhi3, ashrhi3): Correct insn length.
7669         (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
7670         from "clobber" to "set_n" in some alternatives.
7671
7672 2000-10-10  Jakub Jelinek  <jakub@redhat.com>
7673
7674         * reload1.c (calculate_needs_all_insns): If deleting an instruction,
7675         remove its insn_chain structure as well.
7676
7677 2000-10-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7678
7679         * dbxout.c (dbxout_source_line): Remove extra tab.
7680
7681 2000-10-09  Hans-Peter Nilsson  <hp@bitrange.com>
7682
7683         * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
7684
7685 2000-10-09  Richard Henderson  <rth@cygnus.com>
7686
7687         * Makefile.in (LANG_LIB2FUNCS): Remove.
7688         (LIB2FUNCS): Remove _pure.
7689         (LIB2ADD): Remove LANG_LIB2FUNCS.
7690         (stage_a): Don't set LANG_LIB2FUNCS.
7691         * libgcc2.c (__terminate): Mark noreturn.
7692         (__pure_virtual): Remove.
7693         * mklibgcc.in: Remove LIB2ADD .txt processing.
7694
7695 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
7696
7697         * arm.md (push_multi): Revert unintended change.
7698
7699 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
7700
7701         * arm.c: Miscellaneous white space and comment clean-ups.  No
7702         functional change.
7703         * arm.md: Likewise.
7704
7705 2000-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7706
7707         * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
7708         STRING_CST by calling combine_strings.
7709
7710 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
7711
7712         * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
7713         (thumb_output_move_mem_multiple): Support new insn format.
7714         * arm.md (movmem12b): Use SSA compatible format.
7715         (movmem8b): Likewise.
7716
7717 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
7718
7719         * arm.md (predicable): New attribute, default to "no".
7720         (all patterns): Mark as predicable if appropriate.
7721         (conditional execution splits): Split using predication format.
7722         (define_cond_exec): Define.
7723         * arm.c (arm_print_operand): handle insn predicate.
7724
7725 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7726
7727         * README.NS32K: Remove file.
7728
7729 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7730
7731         * README-bugs: Remove file.
7732
7733 2000-10-08  Philipp Thomas  <pthomas@suse.de>
7734         * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
7735         for test.
7736         * configure: Rebuilt.
7737
7738 2000-10-08  Philipp Thomas  <pthomas@suse.de>
7739         * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
7740         disable catalog building if no suitable program was found.
7741         Move warning message from here
7742         (AM_GNU_GETTEXT): To here.
7743         * configure: Rebuilt.
7744
7745 2000-10-08  Philipp Thomas  <pthomas@suse.de>
7746         * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
7747         different cache variables.
7748         (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
7749         uses different cache variables.
7750         (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
7751         * configure: Regenerated.
7752
7753 2000-10-08  Richard Henderson  <rth@cygnus.com>
7754
7755         * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
7756         * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
7757         * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
7758         Use SHLIB_EXT.
7759
7760         * config/t-linux (SHLIB_EXT): New.
7761         (SHLIB_LINK): Use the entire build command, with substitutions.
7762         (SHLIB_LIBS): Remove.
7763         * config/alpha/t-osf4: Likewise.
7764         * config/mips/t-iris6: Likewise.
7765         * config/sparc/t-sol2: Likewise, but move shlib stuff...
7766         * config/sparc/t-slibgcc-sld: ...here.
7767         * config/sparc/t-slibgcc: New file.
7768
7769 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
7770
7771         * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
7772         * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
7773         CTI_UINTMAX_TYPE.
7774         (intmax_type_node, uintmax_type_node): Define.
7775         * c-common.c (decl_attributes): If pedantic, warn if `mode'
7776         attributes create a type wider than intmax_t.
7777         (T_IM, T_UIM): Define properly.
7778         * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
7779         defined.
7780         (init_decl_processing): Initialize intmax_type_node and
7781         uintmax_type_node.
7782         * c-lex.c (lex_number): When pedantic and warning for integer
7783         constants that are too large, in C99 mode warn for those that have
7784         a type wider than long long.
7785
7786 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
7787
7788         * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
7789         FMT_FLAG_FANCY_PERCENT_OK): Define.
7790         (format_char_info): Add flag "4" to comment.
7791         (format_flag_spec, format_flag_pair): New structures.
7792         (format_kind_info): Add additional fields to control format
7793         checking.
7794         (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
7795         scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
7796         arrays.
7797         (time_char_table): Use "4" flag to handle %Ey.
7798         (format_types): Add entries for new fields.
7799         (get_flag_spec): New function.
7800         (check_format_info): Increase size of flag_chars[] to 256.
7801         Control format checking using the new fields of a format_kind_info
7802         and the new tables; remove all conditionals on printf_format_type,
7803         scanf_format_type or strftime_format_type.  Handle all details of
7804         bad combinations of flags (including width, precision and strftime
7805         modifiers) through data rather than ad hoc code.  Handle all
7806         details of standard versions in which flags appeared through
7807         data.  Use the "4" flag.
7808
7809 2000-10-07  Will Cohen  <wcohen@redhat.com>, Kazu Hirata  <kazu@hxi.com>
7810
7811         * config/h8300/h8300.md: Remove the memory alternative and correct
7812         the insn lengths in the templates for sign extention and zero
7813         extention.
7814
7815 2000-10-07  Richard Henderson  <rth@cygnus.com>
7816
7817         * calls.c (expand_call): Disallow sibcalls to noreturn functions.
7818         * flow.c (make_edges): Revert last change.
7819
7820         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
7821         TREE_THIS_VOLATILE.
7822         * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7823
7824 2000-10-06  David O'Brien  <obrien@dragon.nuxi.com>
7825
7826         * config/alpha/elf.h: Standardize the formatting.
7827
7828 2000-10-06  David O'Brien  <obrien@FreeBSD.org>
7829
7830         * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
7831         #undef.
7832
7833 2000-10-06  Richard Henderson  <rth@cygnus.com>
7834
7835         * function.c (diddle_return_value): Examine
7836         current_function_return_rtx instead of the DECL_RESULT.
7837         (expand_function_end): Handle reloading DECL_RESULT from memory
7838         into a hard register.  Query promote_mode for sign of mismatched
7839         modes.
7840
7841 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
7842
7843         * haifa-sched.c (schedule_insns): Fix typo in freeing
7844         forward_dependency_cache.
7845
7846 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
7847
7848         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
7849         `TARGET_SH2' as a condition.
7850
7851 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
7852
7853         * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
7854         forward_dependency_cache): New variables.
7855         (add_dependence, remove_dependence): Use anti_dependency_cache and
7856         output_dependency_cache.
7857         (compute_block_forward_dependences): Use forward_dependency_cache.
7858         (schedule_insns): Allocate and free memory for anti/output/forward
7859         dependencies caches.
7860
7861 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
7862
7863         * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
7864         `! TARGET_SH1'.  Reindent.
7865
7866 2000-10-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7867
7868         * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
7869         Move functions from here ...
7870
7871         * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
7872         ... to here.
7873         (c_expand_builtin): New function.
7874         (init_function_format_info): Don't set `check_function_format_ptr'.
7875         (c_common_nodes_and_builtins): Set built_in_class type for
7876         printf/__builtin_printf to BUILT_IN_FRONTEND.
7877         (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
7878
7879         * c-common.h (build_function_call): Declare.
7880
7881         * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
7882         to `lang_expand_expr' rather than `expand_builtin'.
7883
7884         * tree.c (check_function_format_ptr): Delete.
7885
7886         * tree.h (check_function_format_ptr): Likewise.
7887
7888 2000-10-06  Hans-Peter Nilsson  <hp@bitrange.com>
7889
7890         * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
7891         DW_OP_bregx when cfa->reg > 31.
7892
7893         * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
7894         break.
7895
7896 2000-10-05  Richard Henderson  <rth@cygnus.com>
7897
7898         * c-decl.c (warn_missing_noreturn): Remove.
7899         (c_expand_body): Don't set or check can_reach_end.
7900         * c-tree.h (warn_missing_noreturn): Move ...
7901         * flags.h: ... here.
7902         (can_reach_end): Remove.
7903         * flow.c (check_function_return_warnings): New.
7904         (make_edges): No edge to exit for noreturn sibcalls.
7905         * function.c (expand_function_end): Save the return value
7906         clobber instruction.
7907         (mark_function_status): Mark it.
7908         * function.h (struct function): Add x_clobber_return_insn.
7909         * jump.c (can_reach_end): Remove.
7910         (calculate_can_reach_end): Remove.
7911         (jump_optimize_1): Don't call it.
7912         * output.h (check_function_return_warnings): Declare.
7913         * toplev.c (warn_missing_noreturn): Move from c-decl.c
7914         (rest_of_compilation): Call check_function_return_warnings.
7915
7916 2000-10-05  Richard Henderson  <rth@cygnus.com>
7917
7918         * Makefile.in (NM_FOR_TARGET): New.
7919         (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
7920         (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
7921         * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map.  Depend the
7922         shared library build on that and EXTRA_MULTILIB_PARTS.
7923         * mkmap-flat.awk: New file.
7924         * mkmap-symver.awk: New file.
7925         * libgcc-std.ver: New file.
7926         * config/libgcc-glibc.ver: New file.
7927         * config/ia64/libgcc-ia64.ver: New file.
7928         * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7929         (SHLIB_LINK): Add --version-script.
7930         * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
7931         * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7932         * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7933         (SHLIB_LINK): Add -M.
7934
7935 2000-10-05  Richard Henderson  <rth@cygnus.com>
7936
7937         * Makefile.in (LIB2FUNCS): Add _clz.
7938         * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
7939         (__clz_tab): Put in its own unit, non-static.
7940         * libgcc2.h: Always include longlong.h.
7941
7942         * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
7943         a zero instead of -1.
7944         (count_trailing_zeros): Likewise.
7945
7946 2000-10-05  Richard Henderson  <rth@cygnus.com>
7947
7948         * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
7949         when second op1 is const0_rtx.  Validate op0 as a register.
7950         * config/alpha/alpha.md (setcc_internal): Don't allow constants
7951         in the first argument of the compare.
7952         (setcc_swapped_internal): Likewise.
7953         (setne_internal): Likewise.
7954
7955 2000-10-05  Geoff Keating  <geoffk@cygnus.com>
7956
7957         * tree.c (tree_size): New function split out of copy_node.
7958         (make_node): Remove obstack handling.  Use tree_size.
7959         (copy_node): Use tree_size.
7960         * tree.h: Prototype tree_size.
7961
7962 2000-10-05  Richard Henderson  <rth@cygnus.com>
7963
7964         * diagnostic.c (output_format): Add missing break.
7965
7966 2000-10-05  Jim Wilson  <wilson@cygnus.com>
7967
7968         * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
7969         SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
7970         sequence insn to INSN, and delete last sequence insn.
7971
7972 2000-10-05  Phil Edwards  <pme@gcc.gnu.org>
7973
7974         * gcc.c (main): Include generated configargs.h header
7975         and use arguments in '-v' output.
7976
7977 Thu Oct  5 16:16:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7978
7979         * gcc.c: Move data on prefixes forward in file and reorganize.
7980         (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
7981         Always define, but make null if no value.
7982         (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
7983         and "md_startfile_prefix_1".
7984         (main): Check whether md_exec_prefix and the others are the
7985         null string rather than whether the macro is defined.
7986
7987 Thu Oct  5 19:04:18 2000  J"orn Rennecke <amylaar@redhat.co.uk>
7988
7989         * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
7990         from PSImode to SImode.
7991
7992 2000-10-05  Jakub Jelinek  <jakub@redhat.com>
7993
7994         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
7995         from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
7996         * dwarf2out.c (add_const_value_attribute): Divide by 4, not
7997         sizeof(long).
7998
7999 Thu Oct  5 09:31:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8000
8001         * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
8002         negation in proper type.a
8003
8004 2000-10-04  Richard Henderson  <rth@cygnus.com>
8005
8006         * configure.in (enable-shared): New.
8007         * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
8008         (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
8009         * mklibgcc.in: Use them to link shared a libgcc.
8010         * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
8011         * config/alpha/t-ieee (SHLIB_MULTILIB): New.
8012         * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
8013         * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
8014
8015         * configure.in (alpha-osf*): Use t-osf and x-osf.
8016         * config/alpha/t-osf: New file.
8017         * config/alpha/t-osf4: New file.
8018         * config/alpha/x-osf: New file.
8019         * config/alpha/x-alpha: Remove file.
8020
8021 2000-10-04  Will Cohen  <wcohen@redhat.com>
8022
8023         * c-typeck.c (process_init_element): Added warning for zero-length
8024         array.
8025
8026         * extend.texi (Zero Length): State that static initializers for
8027         zero-length arrays are not allowed.
8028
8029 Mon Oct  2 14:50:14 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8030
8031         * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
8032         to come last.
8033
8034 2000-10-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8035
8036         * config/float-c4x.h: New.
8037         * configure.in (c4x-*): Set float_format to c4x.
8038         * configure: Regenerate.
8039
8040 2000-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8041
8042         * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
8043         compilation for solaris versions 2.7 and greater.
8044
8045 2000-10-02  Marc Espie <espie@openbsd.org>
8046
8047         * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
8048         instead of redefining from scratch.
8049
8050 2000-10-02  David O'Brien  <obrien@dragon.nuxi.com>
8051
8052         * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
8053
8054 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
8055
8056         * config/ns32k/genix.h: Remove.
8057         * config/ns32k/x-genix: Likewise.
8058         * config/ns32k/xm-genix.h: Likewise.
8059         * config/fx80: Remove all filee in directory.
8060         * config/pyr: Likewise.
8061         * config/tahoe: Likewise.
8062         * config/gmicro: Likewise.
8063         * config/spur: Likewise.
8064         * configure.in: Remove configury bits for above targets.
8065         * configure: Regenerated.
8066
8067         * configure.in: Don't configure chill by default.
8068         * configure: Regenerated.
8069
8070         * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
8071         (lang_mark_false_label_stack): Remove.
8072         * c-lex.c (init_c_lex): Add file_info_tree as GC root.  Allocate
8073         <top level> string in GC area.
8074         (mark_splay_tree_node): New function.
8075         (mark_splay_tree): Likewise.
8076         * except.c (mark_eh_status): Only call lang_mark_false_label_stack
8077         if it exists.
8078         * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
8079         * ggc-common.c (lang_mark_false_label_stack): Change type.
8080         * ggc.h (ggc_alloc_string): Add comment.
8081         (ggc_strdup): New function.
8082
8083 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru>
8084
8085         * config/avr/avr.h (BRANCH_COST): Define as 0.
8086
8087         * config/pdp11/pdp11.c: #include "tree.h" added.
8088
8089 2000-09-30  Marek Michalkiewicz  <marekm@linux.org.pl>
8090
8091         * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
8092         ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
8093         with known shift count.
8094         * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
8095         New alternative for shift count 2 with no scratch register.
8096         (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
8097         "set_n" for shift counts 1 and 2.
8098
8099 2000-09-30  Geoff Keating  <geoffk@cygnus.com>
8100
8101         * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE.  Calculate
8102         the mask value from the individual SET operations.
8103         (return_internal_si): Move the USE after the RETURN.
8104         (return_internal_di): Likewise.
8105         (return_and_restore_fpregs_si): Likewise.
8106         (return_and_restore_fpregs_di): Likewise.
8107         (return_eh_si): Likewise.
8108         (return_eh_di): Likewise.
8109         * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
8110         or check, the USE.
8111         (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
8112         Don't generate a PARALLEL around a single operation movsi_to_cr.
8113         Generate the RETURN first in any PARALLELs.
8114
8115         * rtlanal.c (single_set_1): Use fatal_insn to display the
8116         invalid insn.  Check for more cases when a USE or CLOBBER occurs
8117         before a SET.
8118         * Makefile.in: Update dependencies for rtlanal.o.
8119
8120 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
8121
8122         * i386.c: Move include of "config.h" to before that of <setjmp.h>.
8123
8124 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
8125
8126         * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
8127         Consistently use @email for formatting email addresses.
8128
8129 2000-09-29  Richard Henderson  <rth@cygnus.com>
8130
8131         * cse.c (notreg_cost): New argument outer.
8132         (COST): Pass in SET to notreg_cost
8133         (COST_IN): New.
8134         (fold_rtx): Use COST_IN.  Prefer constants when costs
8135         are the same.
8136
8137 2000-09-29  David Edelsohn  <edelsohn@gnu.org>
8138
8139         * fixinc/inclhack.def (broken_cabs): Generalize regex.
8140         * fixinc/fixincl.x: Regenerate.
8141
8142 2000-09-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8143
8144         * loop.c (check_final_value): A GIV is not replaceable if used
8145         before set.
8146
8147 Fri Sep 29 10:04:12 2000  Jeffrey A Law  (law@cygnus.com)
8148
8149         * version.c: Bump to gcc-2.97.
8150
8151 Frs Sep 29 13:37:59 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8152
8153         * final.c (final_scan_insn): Remove extra extract_insn call;
8154         Use caching for constrain_operands.
8155         (cleanup_subreg_operands): Use caching for extract_insn.
8156         * recog.c (constrain_operands_cached): New.
8157         * recog.h (constrain_operands_cached): Declare.
8158         * i386.c (ix86_attr_length_immediate_default,
8159         ix86_attr_length_address_default, ix86_agi_dependant): Cache
8160         extract_insn call.
8161
8162         * recog.c (asm_noperands): Tweak.
8163         (extract_insn): Do not call asm_noperads for non-asm instructions.
8164
8165 Fri Sep 29 13:20:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8166
8167         * recog.c (recog_memoized): Rename to recog_memoized_1.
8168         * recog.h (recog_memoized): Rename to recog_memoized_1.
8169         (recog_memoized): New macro.
8170         * rtl.h (single_set): Rename to single_set_1
8171         (single_set): New macro.
8172         * rtlanal.c (single_set): Rename to single_set_1;  expect clobbers
8173         to be last.
8174
8175         * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
8176         Do not use match_dup of input operands at outputs.
8177         Use register_operand for memory expression.
8178         (rep_movsi): Put use last, canonicalize.
8179         Use register_operand for memory expression.
8180         (rep_movqi): Put use last.
8181         Use register_operand for memory expression.
8182         (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
8183         of input operands at outputs.  Use register_operand for memory
8184         expression.
8185         (rep_stossi): Put use last; canonicalize; fix match_dup in
8186         the address expression
8187         (rep_stosqi): Likewise.
8188         (memcmp expander): Update calls.
8189         (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
8190         the clobbers.
8191
8192         * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
8193         VOIDmode.
8194         (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
8195
8196 2000-09-28  David O'Brien  <obrien@FreeBSD.org>
8197
8198         * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
8199         Contains the old contents of config/i386/freebsd.h
8200         * config/i386/freebsd.h: Now the ELF rather than a.out config file.
8201         Contains the old contents of config/i386/freebsd-elf.h
8202         * config/i386/freebsd-elf.h: Retire this file -- contents moved to
8203         config/i386/freebsd.h.
8204         * configure.in: Adjust for above changes.
8205         * po/POTFILES.in: Likewise.
8206         * po/en_GB.po: Likewise.
8207         * po/gcc.pot: Likewise.
8208         * configure: Rebuilt.
8209
8210 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8211
8212         * doloop.c (doloop_modify): Prevent delete_insn() from
8213         deleting too much.  Prefer loop->top over loop->start as
8214         target for the new JUMP insn.
8215         (doloop_valid_p): Ignore loop with exit_count != 0.
8216
8217 2000-09-28  Philipp Thomas  <pthomas@suse.de>
8218
8219         * invoke.texi (i386 Options): Add athlon to table of possible
8220         choices for -mcpu=.
8221
8222 2000-09-28  Gabriel Dos Reis  <gdr@codesourcery.com>
8223
8224         * diagnostic.h (output_clear_message_text): New function.
8225         (output_message_text): New macro.
8226
8227         * diagnostic.c (clear_text_info): Rename to
8228         output_clear_message_text.
8229         (output_clear): Adjust.
8230         (output_finish): Rename to output_finalize_message.  Tweek.
8231         (output_to_stream): Adjust.
8232
8233 2000-09-28  Neil Booth  <neilb@earthling.net>
8234
8235         * cpperror.c (_cpp_begin_message):  Do the test for suppression
8236         of warnings and pedantic warnings before the "is a warning an
8237         error" tests.
8238         * cppinit.c (cpp_handle_option): Remove surplus \n.
8239         * cpplex.c (ON_REST_ARG): Delete.
8240         (skip_block_comment): Initialise prevc.
8241         (parse_args): Improve error messages.
8242         (maybe_paste_with_next): Use CONTEXT_VARARGS rather
8243         than ON_REST_ARG.
8244         * cpplib.c (cpp_push_buffer): Fix grammar in message.
8245         * cppmain.c (main): Set callbacks for #ident and #pragma
8246         only if no_output option is false.
8247         (do_pragma_implementation): Only call the #pragma handler
8248         if it is set in the cpp_reader structure.
8249
8250 Wed Sep 27 14:00:07 2000  Donald Lindsay  <dlindsay@cygnus.com>
8251
8252         * integrate.c (copy_insn_list): if an ignored return value
8253         is being clobbered, skip cloning that into the inline copy.
8254
8255 2000-09-27  Joseph S. Myers  <jsm28@cam.ac.uk>
8256
8257         * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
8258         use @uref for formatting URLs.
8259
8260 2000-09-27  Mark Elbrecht  <snowball3@bigfoot.com>
8261
8262         * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
8263         name and prefix.
8264
8265 Tue 26-Sep-2000 18:25:38 BST  Neil Booth  <neilb@earthling.net>
8266
8267         * gcc.c (cpp_options): Add spec for -ftabstop=.
8268         (invoke_as): New spec that handles invoking as.
8269         Update specs to handle -save-temps and -traditional.
8270         * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
8271         Use invoke_as.
8272         * cp/lang-specs.h, objc/lang-specs.h: Update to use
8273         invoke_as, and handle -save-temps and -traditional (if
8274         appropriate).
8275
8276 2000-09-26  Jakub Jelinek  <jakub@redhat.com>
8277
8278         * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
8279         op0 is a SUBREG.
8280         (function_arg_slotno): Accept TImode/CTImode.
8281         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
8282         to UNITS_PER_WORD.
8283
8284 2000-09-26  Michael Hayes  <mhayes@cygnus.com>
8285
8286         * flow.c (flow_loop_pre_header_scan): Punt if loop enters
8287         from entry block.
8288
8289 2000-09-25  Jim Wilson  <wilson@cygnus.com>
8290
8291         * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
8292         (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
8293         (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
8294         (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
8295
8296 Tue 26-Sep-2000 00:16:22 BST  Neil Booth  <neilb@earthling.net>
8297
8298         * cpplex.c (parse_args): Don't set VOID_REST flag.
8299         (CONTEXT_VARARGS): New flag.
8300         (maybe_paste_with_next): Set context earlier in loop.  Use
8301         it.  Do varargs test with CONTEXT_VARARGS flag.
8302         (push_arg_context): Set CONTEXT_VARARGS flag if we're
8303         pushing an argument context for a varargs argument.
8304         * cpplib.h (VOID_REST): Delete.
8305         * gcc.dg/cpp/vararg1.c: Add test case.
8306
8307 2000-09-25  Branko Cibej  <branko.cibej@hermes.si>
8308
8309         * flags.h:  Declare warning flag warn_system_headers.
8310         * toplev.c:  Define it.
8311         (W_options): Add option -Wsystem-headers.
8312         * diagnostic.c (count_error): Test warn_system_headers.
8313         * invoke.texi:  Add description for -Wsystem-headers.
8314         * cpplib.h (cpp_options): New member warn_system_headers.
8315         * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
8316         CPP_IN_SYSTEM_HEADER.
8317         * cpplib.c (do_import, do_pragma_once): Likewise.
8318         * cpperror.c (_cpp_begin_message): Test warn_system_headers
8319         and CPP_IN_SYSTEM_HEADER.
8320         * cppinit.c (handle_option): Recognize -Wsystem_headers.
8321         (print_help): Describe -Wsystem_headers.
8322         * cpplex.c (lex_line): Reorganize condition so that warnings
8323         about C++ comments in system headers can be enabled. Remove
8324         label do_line_comment.
8325
8326 Mon 25-Sep-2000 23:38:27 BST  Neil Booth  <neilb@earthling.net>
8327
8328         * cpplex.c (save_comment): Only store the initial '/'
8329         now.
8330         (lex_token): Combine handling of the two comment types.
8331         Pass everything but the initial '/' to save_comment.
8332
8333 Mon 25-Sep-2000 23:31:45 BST  Neil Booth  <neilb@earthling.net>
8334
8335         * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
8336         _cpp_can_paste): New library-internal prototypes.
8337         * cpplex.c (dump_param_spelling, output_line_command,
8338         output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
8339         cpp_printf, cpp_output_list): Move to cppoutput.c.
8340         (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
8341         * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
8342         cppoutput.c.
8343         * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
8344         dump_param_spelling, output_line_command, cpp_scan_buffer,
8345         cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
8346         from elsewhere.
8347         * Makefile.in: Add cppoutput.c.
8348         * po/POTFILES.in: Add cppoutput.c.
8349
8350 2000-09-25  Richard Henderson  <rth@cygnus.com>
8351
8352         * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
8353         * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
8354         split until after reload.
8355         (rotlsi3, rotldi3): New.
8356
8357 2000-09-25  Gabriel Dos Reis  <gdr@codesourcery.com>
8358
8359         * diagnostic.c (output_last_position): Define.
8360         (set_real_maximum_length): Tweek.
8361         * diagnostic.h (output_last_position): Declare.
8362
8363 2000-09-25  Kazu Hirata  <kazu@hxi.com>
8364
8365         * config/i386/i386.c: Fix formatting.
8366
8367 2000-09-24  Alan Lehotsky  <alehotsky@cygnus.com>
8368
8369         * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
8370         UNITS_PER_WORD is small.
8371
8372 2000-09-25  Joseph S. Myers  <jsm28@cam.ac.uk>
8373
8374         * c-common.c (format_char_info): Add flags2; update comments.
8375         (print_char_table, scan_char_table, time_char_table): Split some
8376         flags out into flags2.
8377         (check_format_info): Use flags2 for those flags, for identifying
8378         the initial character of a scanf scanset, and for identifying
8379         printf formats where the '0' flag is ignored with precision.
8380
8381 2000-09-25  Hans-Peter Nilsson  <hp@axis.com>
8382
8383         Changes below marked "here" add TABs on either or both sides,
8384         covering start of line, up to any operand for all noted .*ASM.*_OP
8385         definitions.  All callers changed.
8386         * tm.texi: Make documented *_ASM.*_OP:s include spacing
8387         (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
8388         BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8389         ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8390         ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
8391         Fix typos in description for LONG_LONG_TYPE_SIZE and
8392         FINI_SECTION_ASM_OP.
8393         * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
8394         why these defaults don't have leading spacing.
8395         * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
8396         * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8397         UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
8398         * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
8399         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
8400         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
8401         * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
8402         * varasm.c (ASM_STABS_OP): Here.
8403         * xcoffout.h (ASM_STABS_OP): Here.
8404         * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8405         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8406         INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
8407         STRING_ASM_OP): Here.
8408         * config/freebsd.h (IDENT_ASM_OP): Here.
8409         * config/linux-aout.h (SET_ASM_OP): Here.
8410         * config/linux.h (SET_ASM_OP): Here.
8411         * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8412         INT_ASM_OP): Here.
8413         * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8414         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
8415         * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8416         * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8417         INT_ASM_OP): Here.
8418         * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8419         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8420         INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
8421         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8422         FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
8423         * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8424         CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8425         * config/a29k/udi.h (INT_ASM_OP): Here.
8426         * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
8427         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8428         SET_ASM_OP): Here.
8429         * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
8430         READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8431         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8432         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
8433         ASM_STABD_OP): Here.
8434         * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
8435         COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
8436         CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8437         BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
8438         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
8439         SIZE_ASM_OP, STRING_ASM_OP): Here.
8440         * config/alpha/vms.h (LINK_SECTION_ASM_OP,
8441         READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
8442         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
8443         * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8444         (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8445         * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
8446         Here.
8447         * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8448         BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
8449         * config/arm/coff.h (INT_ASM_OP): Here.
8450         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8451         * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
8452         * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
8453         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
8454         * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8455         * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8456         ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
8457         STRING_ASM_OP): Here.  Update documentation copy in comments.
8458         * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
8459         * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
8460         DATA_SECTION_ASM_OP): Here.
8461         * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
8462         Here.
8463         * config/convex/convex.h (TEXT_SECTION_ASM_OP,
8464         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8465         * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8466         BSS_SECTION_ASM_OP): Here.
8467         * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8468         BSS_SECTION_ASM_OP): Here.
8469         * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8470         Here.
8471         * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
8472         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8473         * config/h8300/h8300.h (ASM_WORD_OP): Here.
8474         * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8475         BSS_SECTION_ASM_OP): Here.
8476         * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
8477         * config/i386/bsd.h (ASM_BYTE_OP): Here.
8478         * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
8479         * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
8480         * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
8481         Here.
8482         * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
8483         * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
8484         Here.
8485         * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
8486         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8487         * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
8488         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8489         SET_ASM_OP): Here.
8490         * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
8491         * config/i386/netbsd.h (INT_ASM_OP): Here.
8492         * config/i386/openbsd.h (INT_ASM_OP): Here.
8493         * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
8494         IDENT_ASM_OP): Here.
8495         * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
8496         ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
8497         LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
8498         SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
8499         * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
8500         SHARED_BSS_SECTION_ASM_OP): Here.
8501         * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
8502         * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8503         DATA_SECTION_ASM_OP): Here.
8504         * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8505         CONST_SECTION_ASM_OP): Here.
8506         * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
8507         * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8508         BSS_SECTION_ASM_OP): Here.
8509         * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
8510         * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
8511         * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
8512         BSS_ASM_OP): Here, but use trailing spaces.
8513         * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8514         DATA_SECTION_ASM_OP): Here.
8515         * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
8516         Here.
8517         * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
8518         DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
8519         * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8520         TDESC_SECTION_ASM_OP): Here.
8521         * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
8522         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8523         * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8524         Here.
8525         * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8526         BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8527         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8528         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8529         * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
8530         COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
8531         FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8532         SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
8533         * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
8534         * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
8535         * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8536         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8537         SET_ASM_OP): Here.
8538         * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8539         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8540         * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
8541         * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
8542         * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
8543         * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
8544         * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
8545         * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8546         GLOBAL_ASM_OP): Here.
8547         * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
8548         BSS_SECTION_ASM_OP): Here.
8549         * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
8550         * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8551         ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
8552         DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
8553         SKIP_ASM_OP): Here.
8554         * config/m68k/newsgas.h (SET_ASM_OP): Here.
8555         * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
8556         FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8557         * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8558         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8559         SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
8560         but use trailing spaces.
8561         * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
8562         DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
8563         FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
8564         Here.
8565         * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8566         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8567         * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8568         CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8569         DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8570         IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
8571         GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
8572         BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
8573         CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
8574         SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
8575         VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8576         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
8577         ASM_BYTE_OP): Here.
8578         * config/m88k/openbsd.h (SET_ASM_OP): Here.
8579         * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8580         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8581         * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
8582         UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
8583         DTORS_SECTION_ASM_OP): Here.
8584         * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
8585         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8586         * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
8587         BSS_SECTION_ASM_OP): Here.
8588         * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
8589         * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
8590         * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
8591         POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
8592         CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
8593         DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8594         * config/mips/mips.c (ABICALLS_ASM_OP): Here.
8595         * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
8596         Here.
8597         * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
8598         Here.
8599         * config/mips/osfrose.h (SET_ASM_OP): Here.
8600         * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
8601         * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
8602         * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
8603         * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8604         Here.
8605         * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
8606         * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
8607         * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
8608         * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
8609         * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
8610         * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8611         Here.
8612         * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8613         Here.
8614         * config/rs6000/rs6000.h (SET_ASM_OP): Here.
8615         * config/rs6000/sol2.h (ASM_STABN_OP): Here.
8616         * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
8617         Here.
8618         * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
8619         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
8620         * config/sparc/linux.h (COMMON_ASM_OP): Here.
8621         * config/sparc/linux64.h (COMMON_ASM_OP,
8622         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8623         * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
8624         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8625         * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
8626         * config/sparc/pbd.h (ASM_INT_OP): Here.
8627         * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
8628         * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8629         DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
8630         * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
8631         UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
8632         * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
8633         UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
8634         UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
8635         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8636         CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8637         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8638         EH_FRAME_SECTION_ASM_OP): Here.
8639         * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
8640         * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8641         Here.
8642         * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8643         Here.
8644         * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
8645         TCOMMON_ASM_OP): Here.
8646         * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8647         Here.
8648         * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8649         ASM_BYTE_OP): Here.
8650
8651 2000-09-25  Richard Henderson  <rth@cygnus.com>
8652
8653         * expmed.c (store_bit_field): Adjust last change to not consider
8654         any word-sized field naturally aligned.
8655
8656 2000-09-24  Richard Henderson  <rth@cygnus.com>
8657
8658         * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
8659         TFmode unordered compares properly.  Revalidate integer compare
8660         operands.
8661         (alpha_emit_setcc): New.
8662         (alpha_emit_conditional_move): Revalidate integer compare operands.
8663         * config/alpha/alpha-protos.h: Update.
8664         * config/alpha/alpha.md (cmpdi): Allow general operands.
8665         (sne): Use alpha_emit_setcc.
8666         (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
8667         (sunordered, sordered): New.
8668
8669 2000-09-24  Richard Henderson  <rth@cygnus.com>
8670
8671         * config/ia64/ia64-protos.h: Update.
8672         * config/ia64/ia64.c (call_multiple_values_operation): Remove.
8673         (ia64_expand_call): New.
8674         (ia64_expand_prologue): Emit an alloc if we need extra input
8675         registers.
8676         (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
8677         instruction if true.
8678         (struct reg_flags): Add is_sibcall.
8679         (rtx_needs_barrier): A sibcall does not use CFM et al.  Ignore USEs.
8680         (emit_insn_group_barriers): Set flags.is_sibcall.  Remove hacks
8681         for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
8682         * config/ia64/ia64.h (PREDICATE_CODES): Update.
8683         * config/ia64/ia64.md (call): Use ia64_expand_call.
8684         (call_value): Likewise.
8685         (sibcall, sibcall_value): New.
8686         (call patterns): Remove extra expanders; tidy.
8687         (sibcall_epilogue): New.
8688         (set_bsp): Remove the extra USE.  Put the operand inside the UNSPEC.
8689
8690 2000-09-24  Richard Henderson  <rth@cygnus.com>
8691
8692         * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
8693
8694         * sibcall.c (skip_pic_restore): New.
8695         (identify_call_return_value): Use it.
8696
8697 2000-09-24  Mark Mitchell  <mark@codesourcery.com>
8698
8699         * c-tree.texi: Moved here from cp/ir.texi.  Documented nested
8700         functions.  Generalize to handle both C and C++.
8701         * Makefile.in (c-tree.info): New target.
8702         (info): Add c-tree.info.
8703
8704 Sun Sep 24 09:15:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8705
8706         * expr.c (store_field): If BITSIZE is negative, use size of type.
8707         (expand_expr, case COMPONENT_EXPR): Likewise.
8708
8709 Sun 24-Sep-2000 11:40:23 BST  Neil Booth  <NeilB@earthling.net>
8710
8711         * cpplex.c: Update TODO comment.
8712         * cpplib.c (do_error, do_warning): Merge common code of
8713         do_error and do_warning into do_diagnostic.  Use it.
8714         (do_diagnostic): New function.
8715         * cpplib.h: Fix comment typo.
8716
8717 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
8718
8719         * c-common.c (check_format_info): Warn for a wide character string
8720         used as a non-wide format argument.
8721
8722 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
8723
8724         * builtins.def (BUILT_IN_LLABS): Add.
8725         * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
8726         * c-common.c (c_common_nodes_builtins): Create builtin functions
8727         __builtin_llabs, and plain llabs unless no_nonansi_builtins
8728         outside of C99 mode.
8729         (expand_tree_builtin): Handle BUILT_IN_LLABS.
8730
8731 Sat 23-Sep-2000 22:39:18 BST  Neil Booth  <NeilB@earthling.net>
8732
8733         * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
8734         CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
8735         * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
8736         _cpp_free_toklist): No need to worry about extra dummy token
8737         at the start of token lists any more.
8738         (trigraph_ok): Only warn outside comments.
8739         (skip_block_comment): Set and clear lexing_comment.
8740         (skip_line_comment): Take a cpp_reader not cpp_buffer.
8741         Set and clear lexing_comment.
8742         (parse_number): Handle leading '.' indicated by pfile->seen_dot.
8743         (check_long_token): Delete.
8744         (lex_percent, lex_dot): New subroutines of lex_token to
8745         handle lexing of '.' and '%' without lookback.
8746         (lex_token): Use lex_dot and lex_percent.
8747         (lex_line): Don't check for LIST_OFFSET.
8748         (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
8749         * cpplib.c (_cpp_parse_assertion): Similarly.
8750         (cpp_push_buffer): Initialize extra_char.
8751         * cpplib.h (LIST_OFFSET): Delete.
8752         (struct cpp_buffer): New member extra_char.
8753         (struct lexer_state): New members lexing_comment and seen_dot.
8754
8755 2000-09-23  Jason Merrill  <jason@redhat.com>
8756
8757         * config/rs6000/x-aix41 (CLIB): Define here.
8758         * config/rs6000/t-aix43: Not here.
8759         * config/rs6000/t-aix41: Or here.  Remove.
8760         * configure.in: Don't use it.
8761
8762 2000-09-22  Jason Merrill  <jason@redhat.com>
8763
8764         * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
8765         * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
8766         * config.in: Regenerate.
8767
8768         * configure.in: Fix checks for assembler features when using a
8769         one-tree assembler that has not yet been built.
8770         Fix --disable-threads.
8771
8772 2000-09-19  Geoff Keating  <geoffk@cygnus.com>
8773
8774         * stmt.c (expand_asm_operands): Allow # in constraints.
8775
8776 2000-09-22  Jason Merrill  <jason@redhat.com>
8777
8778         * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
8779
8780         * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
8781         function-local names.
8782
8783 2000-09-22  Brad Lucier <lucier@math.purdue.edu>
8784             Mark Mitchell  <mark@codesourcery.com>
8785
8786         * toplev.c (warn_disabled_optimization): Declare new warning flag.
8787         * flags.h (warn_disabled_optimization): Add it here.
8788         * gcse.c (gcse_main): Add warning when disabled.
8789         * invoke.texi: Document -Wdisabled-optimization.
8790
8791 2000-09-21  Jason Merrill  <jason@redhat.com>
8792
8793         * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
8794
8795         * dwarf2out.c (tree_add_const_value_attribute): New fn.
8796         (gen_variable_die): Call it for non-definitions.
8797
8798         * dwarf2out.c (die_struct): Add die_mark field.
8799         (mark_dies, unmark_dies): New fns.
8800         (clear_die_sizes): Remove.
8801         (print_die): Check die_symbol rather than die_offset.
8802         (build_abbrev_table, output_pubnames, output_aranges): Check
8803         die_mark rather than die_offset.
8804         (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
8805         Call mark_dies.
8806
8807 Thu 21-Sep-2000 18:19:05 BST  Neil Booth  <NeilB@earthling.net>
8808
8809         * cppfiles.c (lookup_include_file): Rename to open_file.
8810         Always create a splay tree value, even on syscall failures.
8811         Negative entries indicated by fd == -2.
8812         Re-open files closed in the meantime.
8813         (_cpp_fake_include): Create a negative splay tree entry.
8814         (find_include_file, cpp_read_file): Update for function name
8815         change.
8816         * gcc.gd/cpp/mi4.c: Testcase.
8817
8818 2000-09-21  Nick Clifton  <nickc@redhat.com>
8819
8820         * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
8821         ARM and THUMB modes.
8822
8823         * config/mcore/mcore.c: Fix compile time warnings.
8824         * config/mcore/mcore-protos.h: Fix compile time warnings.
8825
8826 2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8827
8828         * configure.in: Correct test of gcc_cv_glibc.
8829         * configure: Rebuilt.
8830         * config.in: Rebuilt.
8831
8832 2000-09-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8833
8834         * builtins.c (expand_builtin_fputs): Also expand when length!=1.
8835         (expand_builtin): Handle BUILT_IN_FWRITE.
8836
8837         * builtins.def (BUILT_IN_FWRITE): New entry.
8838
8839         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
8840
8841 Wed Sep 20 15:39:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8842
8843         * gcc.c (modify_target): New variable and struct.
8844         (process_command): Handle MODIFY_TARGET_NAME.
8845         * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
8846         * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
8847
8848         * c-decl.c (finish_decl): Add else's to avoid referencing
8849         TYPE_DOMAIN of an ERROR_MARK.
8850
8851 Wed Sep 20 21:44:31 2000  Denis Chertykov  <denisc@overta.ru>
8852
8853         * config/avr/avr.c (adjust_insn_length): Adjust lengths of
8854         `reload_in*' insns.
8855
8856 2000-09-19  Marek Michalkiewicz  <marekm@linux.org.pl>
8857
8858         * config/avr/avr.md (neghi2): Add alternative for input and output
8859         operands in different registers, as in negsi2.
8860         (*negsi2): Remove '*' from the name.  Use "movw" if available.
8861
8862 2000-09-19  Jim Wilson  <wilson@cygnus.com>
8863
8864         * config/ia64/crtbegin.asm (__dso_handle): Delete use of
8865         HAVE_GAS_HIDDEN macro.
8866
8867 Tue 19-Sep-2000 22:38:57 BST  Neil Booth  <NeilB@earthling.net>
8868
8869         * cpplex.c (lex_line): Drop the EOF token for unknown
8870         directives in assembler.
8871
8872 2000-09-19  David Edelsohn  <edelsohn@gnu.org>
8873
8874         * configure.in: Allow enable_threads_flag value of "aix".  Define
8875         thread_file as "aix" for AIX 4.3 and above.
8876         * configure: Regenerated.
8877
8878         * gthr-aix.h: New file.
8879
8880         * rs6000/t-aix43: Replace soft-float multilib with pthread.
8881         Remove 403 processor multilib match.  Fix rios2 processor multilib
8882         match.
8883
8884         * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
8885         to return to appropriate csect.
8886
8887 2000-09-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8888
8889         * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
8890         functions.
8891         (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
8892         (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
8893         BUILT_IN_PRINTF.
8894
8895         * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
8896         New entries.
8897
8898         * c-common.c (init_function_format_info): Handle __builtin_printf.
8899         Set `check_function_format_ptr'.
8900         (c_common_nodes_and_builtins): Set `puts_ftype' and
8901         `printf_ftype'.  Declare __builtin_putchar, __builtin_puts,
8902         __builtin_printf and printf.
8903
8904         * tree.c, tree.h (check_function_format_ptr): Declare.
8905
8906 Tue 19-Sep-2000 18:26:57 BST  Neil Booth  <NeilB@earthling.net>
8907
8908         * cppfiles.c (read_include_file): Take no special action for
8909         zero-length files.
8910
8911 2000-09-19  Bernd Schmidt  <bernds@redhat.co.uk>
8912
8913         * final.c (insn_current_reference_address): Use INSN_SHUID of seq
8914         rather than that of branch.
8915         (shorten_branches): Don't increment insn_current_address twice.
8916
8917         Undo most of the Wed Jan 27 23:39:53 1999 patch:
8918         * loop.h (struct induction): Delete members derived, ix and last_use.
8919         (struct loop_ivs): Delete members first_increment_giv and
8920         last_increment_giv.
8921         * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
8922         recombine_givs): Delete functions.
8923         (find_and_verify_loops): Don't initialize cont_dominator.
8924         (strength_reduce): Lose code to try to find bivs that can be
8925         expressed as givs of another biv, and to convert biv increments
8926         into givs.
8927         Lose loop_scan_start variable, always use loop->scan_start.
8928         Don't call recombine_givs.  Don't handle derived givs.
8929         (record_giv): Don't initialize derived and last_use fields.
8930         (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
8931         givs.
8932         * unroll.c (derived_regs): Delete static variable.
8933         (unroll_loop): Don't initialize it.
8934         (copy_loop_body): Lose code to handle derived givs.
8935         (find_splittable_givs): Don't check for givs made from biv
8936         increments.
8937         Don't set derived_regs.
8938
8939         Fix misapplied earlier patch:
8940         * config/sh/sh.md (floatsisf_ie): Reenable.  Remove explicit reference
8941         to fpul.
8942         (floatsisf2): Generate floatsisf_ie by default.
8943         (floatsisf_i4): Conditional on TARGET_SH4.
8944
8945         (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
8946         predicate for the expanders.
8947
8948 2000-09-19  Richard Henderson  <rth@cygnus.com>
8949
8950         * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
8951         in addition to pentium and pentiumpro symbols.
8952         (CPP_CPU_DEFAULT_SPEC): Likewise.
8953
8954         * c-typeck.c (c_expand_asm_operands): Restore the output tree
8955         after expanding.
8956
8957         * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
8958         if the tree has side effects.
8959         (warn_if_unused_value): Do not warn about void constructs.
8960
8961         * c-decl.c (poplevel): Invoke warn_about_unused_variables.
8962
8963         * unroll.c (copy_loop_body): Update LABEL_NUSES before
8964         calling invert_jump.
8965
8966 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
8967
8968         * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
8969         into anything.
8970
8971 2000-09-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8972
8973         * Makefile.in (c-common.o): Depend on diagnostic.h.
8974
8975         * c-common.c: Include diagnostic.h.
8976         (tfaff): Delete.
8977         (status_warning): New function.
8978         (check_format_info, maybe_read_dollar_number, check_format_types,
8979         finish_dollar_format_checking, check_function_format): Accept a
8980         `status' parameter.  All callers changed.
8981
8982         * c-common.h (check_function_format): Accept a `status' parameter.
8983
8984         * c-typeck.c: Update call to `check_function_format'.
8985
8986 2000-09-18  Richard Henderson  <rth@cygnus.com>
8987
8988         * c-decl.c (c_expand_body): Call mark_varargs before
8989         expand_function_start.
8990
8991 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
8992
8993         * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
8994         * config/rs6000/eabi-ci.asm: Likewise.
8995
8996 2000-09-18  Richard Henderson  <rth@cygnus.com>
8997
8998         * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
8999         for BImode.
9000
9001 2000-09-18  Jim Wilson  <wilson@cygnus.com>
9002
9003         * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
9004         before passing it to fold_rtx_mult_add.
9005
9006         * unroll.c (final_giv_value): Pass increment through
9007         extend_value_for_giv before passing it to emit_iv_add_mult.
9008
9009         * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
9010         paradoxical subreg, then directly substitute the replacement and
9011         return.
9012
9013 Mon 18-Sep-2000 22:12:44 BST  Neil Booth  <NeilB@earthling.net>
9014
9015         * cpp.texi: Update documentation, including some clarifications,
9016         the treatment of various newline combinations, and space between
9017         backslash and newline.
9018
9019 Mon Sep 18 21:00:47 2000  J"orn Rennecke <amylaar@redhat.co.uk>
9020
9021         * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
9022         Replace ASM_OUTPUT_LABELREF with assemble_name.
9023
9024 Mon Sep 18 20:26:50 2000  J"orn Rennecke <amylaar@redhat.co.uk>
9025
9026         * sh.c (addsubcosts): CONST is not cheap.
9027         (find_barrier): For Sh1, take alignment after jumps into account.
9028
9029 2000-09-15  Andrew Haley  <aph@redhat.com>
9030
9031         * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
9032         remove all SETs of SUBREGs of hard registers.
9033         * function.c (purge_hard_subreg_sets): New function.
9034         (purge_single_hard_subreg_set): New function.
9035         * rtl.h: (purge_hard_subreg_sets): New function.
9036
9037 2000-09-18  Richard Henderson  <rth@cygnus.com>
9038
9039         * config/ia64/ia64-protos.h: Update.
9040         * config/ia64/ia64.c (signed_inequality_operator): New.
9041         (ia64_expand_compare): New.
9042         (ia64_register_move_cost): Handle PR_REGS moves.
9043         (ia64_secondary_reload_class): Require a GR when moving to a PR.
9044         (struct reg_write_state): Add written_by_and/or.
9045         (struct reg_flags): Add is_and/or.
9046         (rws_update): Set them.
9047         (rws_access_regno): Test them to allow parallel comparisons.
9048         (rtx_needs_barrier): Recognize parallel comparisons.
9049         (emit_insn_group_barriers): Set prev_insn after a call stop bit.
9050         Call recog_memoized; ignore pred_rel_mutex.
9051         (emit_predicate_relation_info): Don't call find_basic_blocks here.
9052         (ia64_reorg): Do it here instead.
9053         * config/ia64/ia64.h: s/CCmode/BImode/g
9054         (MODES_TIEABLE_P): Don't tie BImode.
9055         (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
9056         (CONST_COSTS): Pick sensible values for CONST_INT based on context.
9057         (RTX_COSTS): Make multiply 4 insns.
9058         (MEMORY_MOVE_COST): New.
9059         (PREDICATE_CODES): Update.
9060         * config/ia64/ia64.md: s/CCmode/BImode/g
9061         (movcci, movbi): New.
9062         (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
9063         (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
9064         (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
9065         (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
9066         (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
9067         (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
9068         (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
9069         (mulsi, muldi): Use xmpy not xma.
9070         (cmpbi): New.
9071         (movcc, movcc_internal): Remove.
9072         (branch expanders): Use ia64_expand_compare.
9073         (setcc expanders): Likewise.
9074         (cmov insns): Use move_operand and ia64_move_ok.
9075         (pred_rel_mutex): Use unspec not unspec_volatile.  Prevent the
9076         scheduler from moving it past a use.
9077         * config/ia64/build.hacks: Remove.
9078
9079 Mon 18-Sep-2000 19:21:35 BST  Neil Booth  <NeilB@earthling.net>
9080
9081         * cpphash.h (HASHSTEP): Take character rather than pointer
9082         to character.
9083         (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
9084
9085         * cpphash.c (cpp_loookup): Update for new HASHSTEP.
9086
9087         * cpplex.c (auto_expand_name_space, trigraph_replace,
9088         backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
9089         IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
9090         BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
9091         KNOWN_DIRECTIVE): Delete.
9092
9093         (handle_newline, check_long_token, skip_escaped_newlines,
9094         unterminated): New functions.
9095         (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
9096
9097         (parse_identifier): Was parse_name, new implementation.
9098         (skip_line_comment, skip_block_comment, skip_whitespace,
9099         parse_number, parse_string, trigraph_ok, save_comment,
9100         adjust_column, _cpp_get_line): New implementations.
9101
9102         (lex_token): New function.  Lexes a token at a time, looking
9103         forwards.  Contains most of the guts of the old lex_line.
9104         (lex_line): New implementation, using lex_token to obtain
9105         individual tokens.
9106         (cpp_scan_buffer): Use the token's line, not the list's line.
9107
9108         * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
9109          New implementations.
9110         (do_assert): Don't bother setting the answer's list's line.
9111         (cpp_push_buffer): Initialise new pfile and read_ahead members
9112         of struct cpp_buffer.
9113
9114         * cpplib.h (cppchar_t): New typedef.
9115         (struct cpp_buffer): read_ahead, pfile and col_adjust are
9116         new members.
9117         (struct lexer_state): New structure that determines the state
9118         and behaviour of the lexer.
9119         (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
9120         (struct cpp_reader): New member "state". Rename
9121         multiline_string_line and multiline_string_column. Delete
9122         col_adjust, in_lex_line members.
9123         (CPP_BUF_COLUMN): Update.
9124
9125 2000-09-18  Richard Henderson  <rth@cygnus.com>
9126
9127         * combine.c (simplify_comparison): Shift a NOT out of a single
9128         bit test.
9129
9130         * combine.c (if_then_else_cond): Canonicalize BImode true to
9131         STORE_FLAG_VALUE.
9132         * explow.c (trunc_int_for_mode): Likewise.
9133
9134         * combine.c (combine_simplify_rtx): Use gen_unary to distribute
9135         the NOT for De Morgan's rule.
9136         * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
9137         of a comparison to the reverse comparison.
9138
9139         * combine.c (try_combine): Allow split to create a single insn.
9140
9141         * machmode.def: Add BImode.  Add a column for bitsize.
9142         * machmode.h (DEF_MACHMODE): Adjust for extra column.
9143         (GET_MODE_BITSIZE): Use it.
9144         * rtl.c (DEF_MACHMODE): Adjust for extra column.
9145         (mode_bitsize): New.
9146         (mode_mask_array): Use bitsize.
9147         * combine.c (combine_simplify_rtx): Require inner and outer
9148         modes to match on nonzero_bits optimizations.
9149
9150 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
9151
9152         * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
9153         its entry in spill_reg_store.
9154         * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
9155         * sh.c (reg_no_subreg_operand): New function.
9156         * sh-protos.h (reg_no_subreg_operand): Declare it.
9157         * sh.h (PREDICATE_CODES): Add it.
9158         * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
9159         input operand that needs to be in fpul.
9160         (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
9161         * sh.c (find_barrier): Take into account that machine_dependent_reorg
9162         might add new insns.
9163
9164 2000-09-18  Alexandre Oliva  <aoliva@redhat.com>
9165
9166         * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
9167         MAYBE_DEAD.
9168         (sh_expand_epilogue): Take the PIC register into account when
9169         computing the frame size.
9170
9171         * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
9172         * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
9173         LABEL_REFs with a PIC-safe unspec.
9174
9175 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9176
9177         * c-common.c (check_format_info): Properly save the argument
9178         number and parameter for $ operand number formats in case width
9179         and precision arguments are also used.  Allow printf width and
9180         precision arguments to have operand numbers even if none was
9181         specified for the main format, since this is OK for %*.*m.  Only
9182         object to missing $ operand number if the format used requires an
9183         argument.
9184
9185 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9186
9187         * c-common.c (format_char_info): Add 'W' flag to comment.
9188         (print_char_table, scan_char_table): Use it.
9189         (check_format_info): Use the 'W' flag to determine whether a
9190         format argument is written into.
9191
9192 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9193
9194         * c-common.c (check_format_types): Reorganise and clean up,
9195         checking earlier for ERROR_MARKs and making cur_type into its
9196         TYPE_MAIN_VARIANT where convenient.
9197
9198 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
9199
9200         * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
9201
9202 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
9203
9204         * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
9205
9206         * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
9207         * i386.c (struct builtin_description): New.
9208         (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
9209         (mmx_reg_operand): Declare MODE arg as unused.
9210         (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
9211         ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
9212         ix86_expand_binop_builtin, ix86_expand_store_builtin,
9213         ix86_init_builtins, ix86_expand_builtin): New functions.
9214         * i386.h (ix86_builtins): New enumeration.
9215         (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
9216         * i386.md (attr length_immediate): 0 for mmx/sse types.
9217         (attr prefix_0f): 1 for mmx/sse types.
9218         (setcc_2): Remove "*" so we get gen_setcc_2.
9219         (emms): Account for changed register numbering.  Set "memory" attr
9220         to unknown.
9221         (sfence): Set "memory" attr to unknown.
9222
9223 2000-09-18  Andreas Jaeger  <aj@suse.de>
9224
9225         * configure.in: Define _GNU_SOURCE only when using the GNU C
9226         Library.
9227         * configure: Regenerated.
9228         * config.in: Regenerated.
9229
9230 2000-09-17  Mark Mitchell  <mark@codesourcery.com>
9231
9232         * cppinit.c (cpp_init): Don't use ANSI prototypes.
9233         * flow.c (flow_dump_loop): Likewise.
9234         (flow_loops_dump): Likewise.
9235
9236         * c-typeck.c (c_start_case): Fix typo.
9237
9238 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
9239
9240         * c-decl.c (grokdeclarator): Don't give a warning about defaulting
9241         to int for plain complex which defaults to complex double.  Do
9242         warn about defaulting to complex double if pedantic.  Warn about
9243         complex integer types if pedantic.  Warn about complex types if
9244         pedantic and not in C99 mode.
9245         * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
9246         for complex conjugation.
9247
9248 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
9249
9250         * contrib.texi: Update my entry.
9251
9252 Sun Sep 17 18:48:32 2000  Denis Chertykov  <denisc@overta.ru>
9253
9254         * config/avr/avr.md (mcu_enhanced): New attribute.
9255         (mcu_mega): Likewise.
9256         (extendhisi2): Use mcu_enhanced.
9257         (zero_extendhisi2): Likewise.
9258         (call_insn): Use mcu_enhanced and mcu_mega.
9259         (call_value_insn): Likewise.
9260         (*sbrx_branch): Use mcu_mega.
9261         (*sbrx_and_branchsi): Likewise.
9262         (*sbrx_and_branchhi): Likewise.
9263         (*tablejump_lib): Likewise.
9264
9265 Sun Sep 17 10:46:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9266
9267         * alias.c (true_dependence): Allow non-unchanging read to conflict
9268         with unchanging write.
9269
9270         * expr.c (store_constructor_field): Accept ALIAS_SET arg.
9271         (store_constructor): Pass alias_set to it.
9272
9273         * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
9274         TYPE_MAIN_VARIANT of ERROR_MARK.
9275         * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
9276
9277         * simplify-rtx.c (simplify_unary_operation): Add cases
9278         FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
9279
9280 2000-09-17  Bernd Schmidt  <bernds@redhat.co.uk>
9281
9282         * expr.h (emit_library_call, emit_library_call_value): Delete
9283         declarations.
9284         * rtl.h (enum libcall_type): New.
9285         (emit_library_call, emit_library_call_value): Change fn_type arg to
9286         be of type enum libcall_type.
9287         * calls.c: Likewise for the function definitions.  Several callers
9288         throughout changed to use the new enumeration appropriately.
9289         (emit_library_call_value_1): Likewise.  Put back code to make libcall
9290         blocks of equal form, but only use it for the two new higher
9291         enumeration values.
9292
9293 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
9294
9295         Convert the C front-end to use function-at-a-time mode.
9296         * c-common.h: Include splay-tree.h.
9297         (C_DECLARED_LABEL_FLAG): New macro.
9298         (struct language_function): Add x_scope_stmt_stack and
9299         x_function_name_declared_p.
9300         (RECHAIN_STMTS): Move definition.
9301         (lang_statment_code_p): Likewise.
9302         (lang_expand_stmt): Likewise.
9303         (lang_expand_decl_stmt): New variable.
9304         (lang_expand_function_end): Likewise.
9305         (current_scope_stmt_stack): New function.
9306         (add_decl_stmt): Likewise.
9307         (add_scope_stmt): Likewise.
9308         (mark_stmt_tree): Likewise.
9309         (struct c_lang_decl): New structure.
9310         (DECL_SAVED_TREE): Define.
9311         (c_mark_lang_decl): New function.
9312         (c_expand_start_cond): Change prototype.
9313         (c_finish_then): New function.
9314         (c_finish_else): Likewise.
9315         (current_function_name_declared): Remove.
9316         (set_current_function_name_declared): Likewise.
9317         (mark_c_language_function): Declare.
9318         (case_compare): Likewise.
9319         (c_add_case_label): Likewise.
9320         (c_expand_expr): Likewise.
9321         (c_safe_from_p): Likewise.
9322         * c-common.c (lang_expand_function_end): New variable.
9323         (struct if_elt): Add if_stmt.
9324         (c_expand_start_cond): Add the if-statement to the statement-tree,
9325         rather than generating RTL.
9326         (c_finish_then): New function.
9327         (c_expand_start_else): Don't generate RTL.
9328         (c_finish_else): New function.
9329         (c_expand_expr_stmt): Don't generate RTL.
9330         (statement_code_p): Add SCOPE_STMT.
9331         (case_compare): New function.
9332         (c_add_case_label): Likewise.
9333         (mark_stmt_tree): Likewise.
9334         (c_mark_lang_decl): Likewise.
9335         (mark_c_language_function): Likewise.
9336         (c_expand_expr): Likewise.
9337         (c_safe_from_p): Likewise.
9338         * c-decl.c (c_stmt_tree): New variable
9339         (c_scope_stmt_stack): Likewise.
9340         (c_function_name_declared_p): Likewise.
9341         (lang_expand_expr_stmt): Remove.
9342         (poplevel): Don't call output_inline_function for nested
9343         functions.
9344         (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
9345         `extern' function.
9346         (redeclaration_error_message): Change means of computing whether
9347         or not a function is nested.
9348         (lookup_label): Don't call label_rtx.
9349         (init_decl_processing): Add more GC roots.
9350         (start_decl): Add DECL_STMTs to the statement-tree, rather than
9351         calling rest_of_decl_compilation.
9352         (finish_decl): Don't call expand_decl.
9353         (store_parm_decls): Begin the statement-tree, but don't generate
9354         RTL.
9355         (finish_function): Tie off the statement-tree.  Call c_expand_body
9356         if appropriate.
9357         (c_expand_body): New function.
9358         (push_c_function_context): Save more information.
9359         (pop_c_function_contxt): Likewise.
9360         (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
9361         (lang_mark_tree): Mark it.
9362         (current_stmt_tree): Adjust.
9363         (current_scope_stmt_stack): New function.
9364         (do_case): Remove.
9365         (set_current_name_declared): Likewise.
9366         (c_begin_compound_stmt): Define.
9367         (c_expand_decl_stmt): Likewise.
9368         * c-lang.c: Include rtl.h and expr.h.
9369         (lang_init): Set more language-specific hooks.
9370         * c-lex.c: Include expr.h.
9371         * c-parse.in: Changes throughout to add statements to the
9372         statement-tree, rather than generating RTL after every statement.
9373         * c-semantics.c (lang_expand_decl_stmt): Define.
9374         (add_decl_stmt): New function.
9375         (add_scope_stmt): Likewise.
9376         (finish_stmt_tree): Tweak.
9377         (genrtl_expr_stmt): Likewise.
9378         (genrtl_decl_stmt): Handle local labels, and call
9379         lang_expand_decl_stmt if required.
9380         (genrtl_for_stmt): Fix line-number handling.
9381         (genrtl_case_label): Handle cleanups.
9382         (genrtl_asm_stmt): Don't call combine_strings.
9383         (genrtl_compound_stmt): Simplify.
9384         (expand_stmt): Handle SCOPE_STMTs.
9385         * c-tree.h (struct lang_decl): New structure.
9386         (C_DECLARED_LABEL_FLAG): Remove.
9387         (c_begin_compound_stmt): Declare.
9388         (c_expand_decl_stmt): Likewise.
9389         (c_expand_start_case): Rename to c_start_case.
9390         (c_finish_case): New function.
9391         * c-typeck.c (start_init): Tweak setting of
9392         constructor_incremental.
9393         (c_expand_asm_operands): Tweak error-handling.  Add to the
9394         statement-tree.
9395         (c_expand_return): Add to the statement-tree.
9396         (c_expand_start_case): Rename to ...
9397         (c_start_case): ... this.
9398         (struct c_switch): New type.
9399         (switch_stack): New variable.
9400         (do_case): Simplify.
9401         (c_finish_case): New function.
9402         * dependence.c: Include expr.h.
9403         (enum dependence_type): Change spelling of enumerals.
9404         (check_node_dependence): Adjust.
9405         * expr.h (lang_safe_from_p): Declare.
9406         (safe_from_p): Likewise.
9407         * expr.c (lang_safe_from_p): New variable.
9408         (safe_from_p): Give it external linkage.  Use lang_safe_from_p.
9409         * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
9410         * toplev.c (rest_of_decl_compilation): Robustify.
9411         * tree.c (contains_placeholder_p): Likewise.
9412         * Makefile.in: Update dependencies.
9413         * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
9414         * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
9415         (objc_expand_function_end): New function.
9416         (finish_method_def): Use it.
9417         (init_objc): Initialize more language-specific hooks.
9418         * objc/Make-lang.in: Update dependencies.
9419
9420 2000-09-16  Geoffrey Keating  <geoffk@cygnus.com>
9421
9422         * configure.in: Define macros that affect features before
9423         testing for features.  Don't define _XOPEN_SOURCE.
9424         * configure: Regenerated.
9425         * config.in: Regenerated.
9426
9427 Sat Sep 16 19:42:50 EDT 2000  John Wehle  (john@feith.com)
9428
9429         * rtlanal.c (rtx_varies_p): Volatile asms vary.
9430         (rtx_unstable_p): Restructure code.  Volatile asms
9431         are unstable.
9432
9433 Sat Sep 16 14:35:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9434
9435         * function.h (no_debugging_symbols): New field.
9436         * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
9437         Initialize no_debugging_symbols.
9438         (output_inline_function): Save and restore write_symbols and set from
9439         no_debugging_symbols.
9440         * toplev.c (rest_of_compilation): Call save_for_inline.
9441         * tree.h: Update comment.
9442
9443         * stor-layout.c (place_field): Don't do anything if field or
9444         its type are ERROR_MARK.
9445
9446 Sat Sep 16 19:14:00 2000  Laurynas Biveinis <lauras@softhome.net>
9447
9448         * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
9449         (read_include_file): Ensure inc->mmaped is initialized.
9450
9451 2000-09-16  Richard Henderson  <rth@cygnus.com>
9452
9453         * cppiles.c (purge_cache): Use PTR not caddr_t.
9454
9455 2000-09-16  Hans-Peter Nilsson  <hp@axis.com>
9456
9457         * gcc.c: In description for %{<S}, say the option removed is -S.
9458         * invoke.texi (Spec Files): Ditto.
9459
9460 2000-09-16  Andreas Jaeger  <aj@suse.de>
9461
9462         * configure.in: Always define _GNU_SOURCE to make interfaces
9463         visible that were hidden by only defining _GNU_SOURCE.
9464         * configure: Regenerated.
9465
9466 Sat 16-Sep-2000 08:13:45 BST  Neil Booth  <NeilB@earthling.net>
9467
9468         * cpplex.c (push_macro_context): Set an argument's level after
9469         calling parse_args.  We could loop infinitely otherwise.
9470
9471 2000-09-15  Tom Tromey  <tromey@cygnus.com>
9472
9473         * configure, config.in: Rebuilt.
9474         * configure.in: Check for iconv.h.  Define _XOPEN_SOURCE.
9475
9476 2000-09-15  Greg McGary  <greg@mcgary.org>
9477
9478         * cppmacro.c (check_trad_stringification): Check token
9479         text pointers against limit before dereferencing.
9480
9481 2000-09-15  Joseph S. Myers  <jsm28@cam.ac.uk>
9482
9483         * c-common.c (format_wanted_type): New structure.
9484         (check_format_types): New function.
9485         (check_format_info): Pass all checking of types of format
9486         arguments, including width and precision arguments, to this new
9487         function.
9488
9489 2000-09-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9490
9491         * BUGS: Remove file.
9492
9493 2000-09-15  Jakub Jelinek  <jakub@redhat.com>
9494
9495         * config/alpha/alpha.c (override_options): ev6 cache latencies
9496         from Richard Henderson.  Don't allow -mmemory-latency=L0.
9497
9498         * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
9499         (TARGET_OPTIONS): Add tune=.
9500         (alpha_tune_string): Declare.
9501         * config/alpha/alpha.c (override_options): Add cpu_table.
9502         Use alpha_cpu_string first to set both alpha_cpu and target_flags
9503         and then alpha_tune_string to set alpha_cpu only.
9504         Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
9505         * config/alpha/elf.h (ASM_FILE_START): Likewise.
9506         * config/alpha/osf.h (ASM_FILE_START): Likewise.
9507         * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
9508
9509 Fri Sep 15 19:45:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9510
9511         * i386-protos.h (no_comparison_operator, uno_comparison_operator):
9512         Remove.
9513         (ix86_comparison_operator, ix86_cc_mode): Declare
9514         * i386.h (CCGC, CCGCO): New modes.
9515         (SELECT_CC_MODE): Move offline to ....
9516         * i386.c (ix86_cc_mode): .... here; use new modes.
9517         (ix86_comparison_operator): New.
9518         (fcmov_comparison_operator): Ensure proper mode.
9519         (put_condition_mode): More sanity checking.
9520         (ix86_match_ccmode): Handle new modes.
9521         (ix86_expand_fp_compare): GEU requires CCmode.
9522         (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
9523         doing it by hand.
9524         * i386.md (cmp?i_ccz_1): Remove
9525         (cmp?i_ccno_1): Use ix86_match_ccmode.
9526         (cmp?i_minus_1): New.
9527         (cmpsi_1): New expander.
9528         (cmpqi_ext_1): Use match_ccmode
9529         (cmpqi_ext_3): New expander.
9530         (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
9531         (cmpqi_ext_4): Use match_ccmode.
9532         (add?i_?): Use match_ccmode.
9533         (add?i_6): New.
9534         (test?i_ccz_1): Remove
9535         (test?i_1): New.
9536         (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
9537         (testqi_ext_0): Use ix86_match_ccmode.
9538         (*xorqi_cc_ext_1): Use ix86_match_ccmode.
9539         (xorqi_cc_ext_1): New expander.
9540         (shift patterns): Use CCGOCmode for all shifts except for sar.
9541         (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
9542         (setcc_3, jcc_3, miv?icc_c): Remove.
9543
9544 2000-09-15  Will Cohen  <wcohen@redhat.com>
9545
9546         * dwarf2out.c (add_const_value_attribute): Changed array into a
9547         xmalloced object, so it exists after function exit.
9548         (free_AT): Added case for dw_val_class_float to free allocated
9549         memory.
9550
9551 2000-09-15  Kazu Hirata  <kazu@hxi.com>
9552
9553         * config/i386/i386.md: Fix a comment typo.
9554         * gcc.c: Fix formatting.
9555
9556 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
9557
9558         * optabs.c (emit_libcall_block): If target is a user variable,
9559         copy to a temporary first.
9560         * expr.c (convert_move): When generating a libcall, make a libcall
9561         block.
9562         * calls.c (emit_library_call_value_1): Don't create a libcall
9563         sequence here; our caller will in most cases do it.
9564
9565         * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
9566         MACH into FPUL.
9567         (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
9568         * sh.md (reload_outsf): Generate recognizable patterns for
9569         TARGET_SH3E.
9570         (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
9571         fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
9572         fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
9573         truncdfsf2_i4): Change not to use explicit references to fpul.
9574         (floatsisf2_ie): Remove USE of fpscr.
9575         (floatsisf2): Change default expansion to match this.
9576         (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
9577         unused patterns.
9578
9579 2000-09-15  Richard Henderson  <rth@cygnus.com>
9580
9581         * expmed.c (store_bit_field): Consider naturally aligned
9582         memory for direct reference.
9583
9584 2000-09-15  Richard Henderson  <rth@cygnus.com>
9585
9586         * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
9587         AND addresses into alias set 0.
9588         (alpha_expand_unaligned_store): Likewise.
9589         (alpha_expand_unaligned_load_words): Likewise.
9590         (alpha_expand_unaligned_store_words): Likewise.
9591
9592 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
9593
9594         * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
9595         * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
9596         is defined.
9597         * config/mips/mips.c (mips_va_arg): Args passed by reference have a
9598         rsize of UNITS_PER_WORD.
9599
9600 Fri 15-Sep-2000 06:49:07 BST  Neil Booth  <NeilB@earthling.net>
9601
9602         * cpplex.c (ON_REST_ARG): Correct the test.
9603         (maybe_paste_with_next): Duplicate a token that fail pasting,
9604         and clear its PASTE_LEFT flag, so that nested pasting attempts
9605         do not occur.
9606
9607 2000-09-14  Richard Henderson  <rth@cygnus.com>
9608
9609         * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
9610         * cse.c (rtx_cost): Likewise.
9611         * optabls.c (expand_binop): Likewise.
9612         (expand_twoval_binop, prepare_cmp_insn): Likewise.
9613         * regclass.c (copy_cost): Likewise.
9614         * reload1.c (reload_cse_move2add): Likewise.
9615
9616 2000-09-14  Joseph S. Myers  <jsm28@cam.ac.uk>
9617
9618         * c-parse.in (reswords): Add _Complex.
9619
9620 2000-09-14  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
9621
9622         * gcc.1: Delete documentation for -undef preprocessor option.
9623
9624 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
9625
9626         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9627         STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
9628         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9629         Remove undefine before config/elfos.h.
9630         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
9631
9632 2000-09-14  Kazu Hirata  <kazu@hxi.com>
9633
9634         * invoke.texi (H8/300 Options): Add -ms2600.
9635         * config/h8300.c (h8300_init_once): Output an error when -ms2600
9636         is used without -ms.
9637         * config/h8300.h (TARGET_MAC): New.
9638         (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
9639         (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
9640         machine other than H8/S2600.
9641         * config/h8300.md: Accept mac instructions on the H8/S2600 instead
9642         of the H8/S2000.
9643
9644 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>, Bernd Schmidt  <bernds@redhat.co.uk>
9645
9646         * reload.c (find_reloads_address_1): Generate reloads for auto_inc
9647         pseudos that refer to the original pseudos, not only to their
9648         equivalent memory locations.
9649
9650 Thu Sep 14 12:10:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9651
9652         * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
9653         when making new MEM.
9654
9655         * Makefile.in (LN): Remove duplicate definition.
9656
9657 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
9658
9659         From Joern Rennecke:
9660         * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
9661         on an insn and function_invariant_p returns nonzero for the source,
9662         add a REG_EQUAL note.
9663
9664 Thu Sep 14 00:51:57 EDT 2000  John Wehle  (john@feith.com)
9665
9666         * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
9667         conflict with frame_pointer_rtx.
9668
9669 2000-09-13  Kazu Hirata  <kazu@hxi.com>
9670
9671         * loop.c: Fix formatting.
9672         * loop.h: Likewise.
9673
9674 2000-09-13  Richard Henderson  <rth@cygnus.com>
9675
9676         * config/ia64/ia64.md (divsf3): New.
9677         (divsf3_internal_lat, divsf3_internal_thr): New.
9678         (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
9679         (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
9680         (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
9681         (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
9682         (nmadddf4_alts, nmadddf4_trunc): New.
9683         (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
9684         (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
9685         (multf3_truncsf_alts, multf3_truncdf_alts): New.
9686         (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
9687         (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
9688         (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
9689         (nmaddtf4_truncdf_alts): New.
9690         (recip_approx): Don't predicate.
9691
9692 2000-09-13  Richard Henderson  <rth@cygnus.com>
9693
9694         * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
9695
9696 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9697
9698         * flags.h (flag_dump_rtl_in_asm): Declare.
9699         * toplev.c (flag_dump_rtl_in_asm): Define.
9700         (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
9701         if -dP is specified.
9702         * rtl.h (print_rtx_head): Declare.
9703         * print-rtl.c (print_rtx_head): Define.
9704         (print_rtx): Print the string pointed to by print_rtx_head
9705         at beginning of each dump line.
9706         (print_rtl): Likewise.
9707         (print_rtl_single): Likewise.
9708         * final.c (final_scan_insn): Dump the insn in the assembly
9709         file for debugging.
9710         * gcc.1: Document -dP option.
9711         * invoke.texi (Debugging Options): Likewise.
9712
9713 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
9714
9715         * md.texi (Machine Constraints): Document the 68HC11 constraints.
9716         * install.texi (Configurations): Document the 68HC11&68HC12 port.
9717         * invoke.texi (Option Summary, M68hc1x Options): Document the options.
9718
9719 Tue Sep 12 13:51:13 2000  Denis Chertykov  <denisc@overta.ru>
9720
9721         * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
9722         * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
9723         (*clrstrqi): Likewise.
9724         (xorhi3,xorsi3,absqi2): Likewise.
9725         (one_cmplhi2,one_cmplsi2): Likewise.
9726         (addsi3): Two stupid constraint alternatives removed.
9727         (extendhisi2): Use `movw' for enhanced avr cores.
9728         (zero_extendhisi2): Likewise.
9729
9730 Wed Sep 13 02:31:23 EDT 2000  John Wehle  (john@feith.com)
9731
9732         * alias.c (find_base_term): Use frame_pointer_rtx
9733         when handling an ADDRESSOF.
9734
9735         * cse.c (canon_hash): Handle USE of BLKmode memory.
9736         (cse_insn): Outgoing arguments for a libcall don't
9737         affect any recorded expressions.
9738
9739 2000-09-12  Tom Tromey  <tromey@cygnus.com>
9740
9741         * configure, config.in: Rebuilt.
9742         * configure.in: Check for iconv, nl_langinfo, langinfo.h.
9743
9744 2000-09-12  Jakub Jelinek  <jakub@redhat.com>
9745
9746         * c-lex.c (lex_string): Use charwidth to compute bytemask.
9747         * expr.c (expand_expr): Don't optimize constant array references
9748         initialized with wide string constants.
9749
9750 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
9751
9752         * loop.c (note_set_pseudo_multiple_uses): Correct.
9753
9754 2000-09-12  Jim Wilson  <wilson@cygnus.com>
9755
9756         * ifcvt.c (noce_process_if_block): If A and B are the same, and no
9757         else block, and X has side-effects, then fail.
9758
9759 2000-09-12  Greg McGary  <greg@mcgary.org>
9760
9761         * config/mips/mips-protos.h
9762         (trap_cmp_op, mips_gen_conditional_trap): New func decls.
9763         * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
9764         (PREDICATE_CODES): Add "trap_cmp_op".
9765         * config/mips/mips.c
9766         (trap_cmp_op, mips_gen_conditional_trap): New functions.
9767         * config/mips/mips.md (trap, conditional_trap): New patterns.
9768
9769 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
9770
9771         * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
9772         pointer.
9773
9774 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9775
9776         * builtins.c (built_in_decls): New array.
9777         (expand_builtin_fputs): New function.
9778         (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
9779
9780         * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
9781
9782         * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
9783
9784         * tree.h (built_in_decls): New array.
9785
9786 Tue Sep 12 08:53:57 2000  Jeffrey A Law  (law@cygnus.com)
9787
9788         * convex.md: Use "+" instead of "=" for outputs wrapped in a
9789         STRICT_LOW_PART.
9790         * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
9791
9792 2000-09-12  Kazu Hirata  <kazu@hxi.com>
9793
9794         * haifa-sched.c: Fix formatting.
9795
9796         * genattrtab.c: Fix formatting.
9797
9798         * unroll.c: Fix formatting.
9799
9800 2000-09-12  Bruce Korb  <bkorb@gnu.org>
9801
9802         * fixinc/fixfixes.c: make a type for the fix procedure & use it,
9803         remove obsolete code
9804         * fixinc/fixincl.c: Use PARAMS, not _P_.  Add no-op default to switch.
9805         * fixinc/fixincl.tpl: make non-exported arrays static scope
9806         * fixinc/fixincl.x: regenerate
9807         * fixinc/fixlib.h: Use PARAMS, not _P_
9808         * fixinc/fixtests.c: make a type for the test proc & use it
9809         * fixinc/server.h: Use PARAMS, not _P_
9810
9811 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9812
9813         * c-typeck.c (process_init_element): Avoid union init warnings on
9814         floating point zero.  Don't crash on unions containing structs.
9815
9816 2000-09-12  Alexandre Oliva  <aoliva@redhat.com>
9817
9818         * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
9819         general_movsrc_operand, and remove CONST_INT from
9820         general_movdst_operand.
9821
9822 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
9823
9824         * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
9825         if a reference to non-fixed hardreg is seen.  Otherwise, count hard
9826         regs with a higher cost.
9827         (preferrable): Deal with cases where either cost or regcost is
9828         MAX_COST.
9829         (cse_insn): Use MAX_COST rather than 10000.  Always initialize
9830         regcost values.
9831         (COSTS_N_INSNS): Move definition...
9832         * rtl.h: ...here.
9833         (MAX_COST): New macro.
9834         * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
9835         constant.
9836
9837 2000-09-11  Mark Mitchell  <mark@codesourcery.com>
9838
9839         * c-common.h (genrtl_clear_out_block): Remove.
9840         * c-semantics.c (genrtl_clear_out_block): Remove.
9841         (genrtl_while_stmt): Don't call it.
9842         (genrtl_for_stmt): Likewise.
9843
9844 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
9845
9846         * cppfiles.c: Move all default-#defines to top of file.
9847         (open_include_file): Replace by lookup_include_file.
9848         (read_with_read, read_file): Merged into read_include_file.
9849         (stack_include_file, purge_cache): New functions.
9850         (close_cached_fd): Delete.
9851         (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
9852         Cache the in-memory buffer, not the file descriptor.
9853
9854         * cpphash.h (struct include_file): Add buffer, st, refcnt,
9855         mapped fields.
9856         (xcnew): New utility macro.
9857         (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
9858         * cpplib.h (struct cpp_buffer): Remove mapped field.
9859
9860 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
9861
9862         * cpplex.c (parse_string): Accept backslash space newline as a
9863         line continuation.
9864         (lex_line): Likewise.
9865         (_cpp_get_token): Remove hard limit on macro nesting.
9866
9867 2000-09-12  Philipp Thomas  <pthomas@suse.de>
9868
9869         * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
9870         * configure: Rebuilt.
9871
9872 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
9873
9874         * flow.c (split_block): Fix update of registers live at
9875         end of split block.
9876
9877 Tue Sep 12 01:51:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9878
9879         * i386.md (add?i_3, add?i_5): New.
9880         (add?i_4): Rename from add?i_3;  Fix compare pattern.
9881         (sub?i_3, xor?i_3, ior?i_3): New.
9882
9883         * genrecog.c (write_tree): Output code to clear insn_extract cache.
9884         * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
9885         instead of extract_insn and extract_constrain_insn_cache instead of
9886         extract_insn and constrain_operands.
9887         * recog.c (extract_insn_cached, extract_constrain_insn_cached):
9888         New functions.
9889         (extract_insn): Clear which_alternative.
9890         (constrain_operands): Set which_alternative to -1 when failed.
9891         * recog.h (extract_constrain_insn_cached, extract_insn_cached):
9892         Declare.
9893
9894 2000-09-11  Matthew Hiller  <hiller@redhat.com>
9895
9896         * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
9897         on operand 0 to '+'.
9898         (movstricthi): Likewise.
9899
9900 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
9901
9902         * loop.h (LOOP_IVS): New macro.
9903         (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
9904         (struct loop_ivs): New.
9905         (struct loop_info): Add ivs field.
9906         (reg_iv_type, reg_iv_info): Delete prototype.
9907         (reg_biv_class, loop_iv_list): Likewise.
9908         * loop.c (record_biv, find_life_end): Pass loop argument.
9909         (reg_iv_type): Remove global array and use
9910         field in loop_regs structure within loop_ivs structure.
9911         (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
9912         (first_increment_giv, last_increment_giv): Use entry in
9913         loop_ivs structure.
9914         (record_initial): Pass ivs pointer.
9915         * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
9916
9917 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
9918
9919         * loop.h (LOOP_REGS): New macro.
9920         (struct loop_regs): New.
9921         (struct loop_info): Add regs field.
9922         * loop.c (set_in_loop): Remove global array and store
9923         in loop_regs structure as part of loop_info structure.
9924         (n_times_set, may_not_optimize): Likewise.
9925         (reg_single_usage, moved_once): Likewise.
9926         (count_one_set): Add regs argument.
9927         (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
9928         (set_pseudo_multiple_uses): Pass regs pointer.
9929
9930 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
9931
9932         * unroll.c (iteration_info): Subsume into loop_iterations.
9933         * loop.h (loop_info): New field iv.
9934
9935 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
9936
9937         * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
9938         (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
9939         (flow_loops_update): New prototype.
9940         (flow_loops_find): Add flags to prototype.
9941         (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
9942         * flow.c (flow_loop_pre_header_scan): New.
9943         (flow_loop_dump): Dump pre-header root and trace and exit dominators.
9944         (flow_loop_free): Free pre-header root and trace and exit dominators.
9945         (flow_loops_find): New argument flags.
9946         (flow_loops_update): New function.
9947         * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
9948
9949 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
9950
9951         * basic-block.h (split_block, update_bb_for_insn): New prototypes.
9952         * flow.c (split_block, update_bb_for_insn): New functions.
9953
9954 2000-09-11  Richard Henderson  <rth@cygnus.com>
9955
9956         * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
9957
9958 2000-09-11  Richard Henderson  <rth@cygnus.com>
9959
9960         * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
9961         * config/ia64/ia64.c (fr_nonimmediate_operand): New.
9962         (ia64_override_options): Prevent optimizing division for both
9963         latency and throughput.
9964         (rtx_needs_barrier): Handle frcpa.
9965         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
9966         (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
9967         (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
9968         (TARGET_SWITCHES): Add -minline-divide-min-latency and
9969         -minline-divide-max-throughput.
9970         (PREDICATE_CODES): Update.
9971         * config/ia64/ia64.md (extendsidi2): Remove * from f case.
9972         (zero_extendsidi2): Likewise.  Fix typo in f case insn.
9973         (extendsfdf2): Add cases for gr<->fr and fr<->mem.
9974         (extendsftf2): Likewise.
9975         (extenddftf2): Likewise.
9976         (fix_trunctfdi2_alts): New.
9977         (fixuns_trunctfdi2_alts): New.
9978         (madd*4): Rename from madd*3.
9979         (divsi3, modsi3, udivsi3, umodsi3): New.
9980         (divsi3_internal): New.
9981         (divdi3, moddi3, udivdi3, umoddi3): New.
9982         (divdi3_internal_lat, divdi3_internal_thr): New.
9983         (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
9984         (recip_approx): New.
9985
9986 2000-09-11  Alexandre Oliva  <aoliva@redhat.com>
9987
9988         * print-rtl.c (debug_call_placeholder_verbose): New variable.
9989         (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
9990         set.
9991         * integrate.c (copy_rtx_and_substitute): Don't share
9992         LEAF_REG_REMAPpable registers with the inlined function.  Don't
9993         share the function value with calling sequences.
9994
9995 2000-09-11  Jakub Jelinek  <jakub@redhat.com>
9996
9997         * c-decl.c (do_case): Fix a typo.
9998
9999         * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
10000         to a if the comparison is floating mode and not -ffast-math.
10001         * simplify-rtx.c (simplify_ternary_operation): Likewise.
10002
10003 Mon Sep 11 20:07:48 2000  J"orn Rennecke <amylaar@redhat.co.uk>
10004
10005         * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
10006         gen_ic_invalidate_line.
10007
10008 2000-09-11  Philip Blundell  <pb@futuretv.com>
10009
10010         * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
10011
10012 Mon Sep 11 10:48:41 2000  Ulrich Drepper <drepper@redhat.com>
10013
10014         * install.texi (LANGUAGES): Update to include new languages.
10015         * INSTALL: Rebuilt.
10016
10017 2000-09-11  DJ Delorie  <dj@redhat.com>
10018
10019         * gcc.c (main): Don't warn about unused -B prefixes
10020         (unused_prefix_warnings): remove
10021
10022 2000-09-11  Kazu Hirata  <kazu@hxi.com>
10023
10024         * final.c: Fix formatting.
10025
10026         * integrate.c: Fix formatting.
10027
10028 2000-09-11  Geoff Keating  <geoffk@cygnus.com>
10029
10030         * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
10031
10032 2000-09-11  Bernd Schmidt  <bernds@redhat.co.uk>
10033
10034         * reload.c (regno_clobbered_p): Fix thinko in previous change.
10035
10036 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10037
10038         * gcc.1: Document 68hc11 specific options.
10039
10040 2000-09-10  Geoff Keating  <geoffk@cygnus.com>
10041
10042         * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
10043         (TARGET_LONG_DOUBLE_128): Define.
10044         (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
10045         (LONG_DOUBLE_TYPE_SIZE): Redefine.
10046         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
10047         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
10048         of __LONG_DOUBLE_128__.
10049         (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
10050         passed.
10051         (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
10052         (CPP_SYSV_DEFAULT_SPEC): Define.
10053         (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
10054         (INIT_TARGET_OPTABS): Define.
10055
10056         * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
10057         (RS6000_UITRUNC): Likewise.
10058         (INIT_TARGET_OPTABS): New macro.
10059         * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
10060         (trunc_defined): Delete.
10061         (output_prolog): Don't output .extern definitions for fp->int
10062         conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
10063         * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
10064         (trunc_defined): Delete.
10065         (RS6000_ITRUNC): Moved to aix.h.
10066         (RS6000_UITRUNC): Likewise.
10067         * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
10068         only emit a libcall.
10069         (fixuns_truncdfsi2): Delete.
10070         (trunc_call): Delete.
10071         (trunc_call_rtl): Delete.
10072
10073 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10074
10075         * varasm.c (make_decl_rtl): Restore leading star on
10076         DECL_ASSEMBLER_NAME set for decls with an asmspec.
10077
10078 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10079
10080         * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
10081         won't give a spurious error for '#pragma pack()'.  Simplify
10082         control flow for readability.  'reset' action is not necessary.
10083
10084 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
10085
10086         * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
10087         SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
10088         LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
10089         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
10090
10091         * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
10092         profile.c, sdbout.c, tradcif.y, tree.c:
10093         Include defaults.h if not already included.
10094         Don't define the above macros.
10095
10096         * Makefile.in: Update dependencies.
10097
10098 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
10099
10100         * c-common.h (add_stmt): Change prototype.
10101         (RECHAIN_STMTS): New macro.
10102         (CASE_LABEL_DECL): Likewise.
10103         (genrtl_case_label): Change prototype.
10104         (c_expand_start_case): Remove prototype.
10105         (build_case_label): Change prototype.
10106         (decl_constant_value): Declare.
10107         * c-common.c (check_case_value): Handle C++'s extensions to C
10108         semantics.
10109         * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
10110         field.
10111         * c-parse.in (stmt): Adjust handling of return statements and case
10112         laels.
10113         * c-semantics.c (add_stmt): Return the new statement.
10114         (genrtl_return_stmt): Take the RETURN_STMT as input, not the
10115         returned expression.  Directly generate RTL, rather than calling
10116         c_expand_return.
10117         (genrtl_switch_stmt): Don't call c_expand_start_case.
10118         (build_case_label): Take the LABEL_DECL as input, too.
10119         (genrtl_case_label): Just call add_case_node.
10120         (expand_stmt): Adjust calls to genrtl_return_stmt and
10121         genrtl_case_label.
10122         * c-tree.h (c_expand_start_case): Declare.
10123         * c-typeck.c (decl_constant_value): Give it external linkage.
10124         (c_expand_return): Don't call expand_return or expand_null_return;
10125         use genrtl_return_stmt instead.
10126         * stmt.c (struct nesting): Remove num_ranges field.
10127         (add_case_node): Give it external linkage.
10128         (expand_start_case): Don't set num_ranges.
10129         (expand_start_case_dummy): Don't clear it.
10130         (pushcase): Rely on add_case_node to handle `default' labels.
10131         (add_case_node): Handle `default' labels.
10132         * tree.c (tree_int_cst_compare): New function.
10133         * tree.h (tree_int_cst_compare): Declare.
10134         (add_case_node): Likewise.
10135
10136 2000-09-10  Richard Henderson  <rth@cygnus.com>
10137
10138         * c-parse.in: Revert last change.
10139         (init_reswords): Do not enter disabled keywords into the ridpointers
10140         table, modulo objc weirdness.
10141         (_yylex): Return the canonical spelling for a keyword.
10142
10143 2000-09-10  Philip Blundell  <philb@gnu.org>
10144
10145         * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
10146         * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
10147
10148 Sun Sep 10 14:30:28 EDT 2000  John Wehle  (john@feith.com)
10149
10150         * alias.c (find_base_term): Handle ADDRESSOF.
10151         (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
10152
10153 2000-09-10  Denis Chertykov  <denisc@overta.ru>
10154
10155         * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
10156         outputting templates with many lines.
10157
10158 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10159
10160         * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
10161         to decide whether 64-bit support must be generated.
10162
10163 2000-09-10  Richard Henderson  <rth@cygnus.com>
10164
10165         * c-parse.in (asm patterns): Fix volatile check.
10166
10167 2000-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10168
10169         * cppmacro.c (check_trad_stringification): New function.
10170         (save_expansion): If -Wtraditional, warn about stringification of
10171         macro arguments.
10172
10173 2000-09-11  Michael Hayes  <mhayes@cygnus.com>
10174
10175         * loop.h (struct loop_mem_info): Move from loop.c
10176         (struct loop_info): Add fields store_mems, mems, mems_idx,
10177         mems_allocated, unknown_address_altered,
10178         unknown_constant_address_altered, num_mem_sets, and
10179         first_loop_store_insn.
10180
10181         * loop.c (loop_store_mems): Replace with field in loop_info struct.
10182         (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
10183         (unknown_address_altered, unknown_constant_address_altered): Likewise.
10184         (num_mem_sets): Likewise.
10185         (replace_loop_mems, replace_loop_regs): New.
10186         (struct loop_replace_args): New.
10187         (load_mems): Use replace_loop_mems.
10188         (try_copy_prop): Use replace_loop_regs.
10189         (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
10190
10191 2000-09-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10192
10193         * configure.in: Recognize m6811-elf and m6812-elf.
10194         * configure: Regenerate.
10195
10196 2000-09-09  Geoff Keating  <geoffk@cygnus.com>
10197
10198         * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
10199         to operand_subword.
10200
10201 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
10202
10203         * loop.c (struct movables): New.
10204         (num_movables): Move into struct movables.
10205         (the_movables): Change type to struct movables.
10206         (ignore_some_movables): Change struct movable arg to struct movables.
10207         (force_movables, combine_movables, regs_match_p): Likewise.
10208         (rtx_equal_for_loop_p, move_movables): Likewise.
10209         (scan_loop): Change movables to be of type struct movables.
10210         Replace last_movable with field in movables structure.
10211
10212 2000-09-08  Zack Weinberg  <zack@wolery.cumb.org>
10213
10214         * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
10215         (init_pragma): Avoid warning if pfile happens to be unused.
10216         * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
10217         define init_pragma to nothing.  Always prototype
10218         init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.
10219
10220         * c-lex.c (process_directive): Always call dispatch_pragma.
10221         Initialize entering_c_header to 0.
10222
10223 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10224
10225         * config/m68hc11/m68hc11.md: New file, machine description for
10226         68HC11 & 68HC12.
10227         * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
10228         * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
10229         * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
10230         * config/m68hc11/m68hc11-protos.h: New file.
10231         * config/m68hc11/m68hc11-crt0.S: New file, startup code.
10232         * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
10233         * config/m68hc11/xm-m68hc11.h: New file, target defs.
10234         * config/m68hc11/larith.asm: New file, libgcc routines.
10235
10236 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10237
10238         * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
10239         (FPBIT_FUNCS): Add _usi_to_sf.
10240         * config/fp-bit.c (usi_to_float): New function.
10241         * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
10242         (usi_to_float): Add appropriate #define.
10243
10244 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
10245
10246         * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
10247         new functions.
10248         * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
10249         * i386.md (attr "type"): Add sse and mmx types.
10250         (attr "memory"): Handle them without a crash.
10251         (movsi_1, movdi_2): Allow MMX regs.
10252         (movdi splits): Don't split moves involving MMX regs.
10253         (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
10254         (movv4sf_internal, movv4si_internal, movv8qi_internal,
10255         movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
10256         movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
10257         sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
10258         sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
10259         sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
10260         addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
10261         divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
10262         sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
10263         sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
10264         vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
10265         smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
10266         cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
10267         addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
10268         subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
10269         mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
10270         mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
10271         mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
10272         eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
10273         smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
10274         lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
10275         mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
10276         mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
10277         mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
10278         mmx_clrdi): New patterns.
10279
10280 2000-09-08  Richard Earnshaw  <rearnsha@arm.com>
10281
10282         * arm.c: Don't include tm.h directly.
10283
10284 Fri Sep  8 14:34:56 MET DST 2000  Jan Hubicka  <jh@suse.cz>
10285
10286         * recog.c (validate_replace_rtx_1): Fix confusion about equality
10287         testing; simplify subregs of constants and nested subregs.
10288
10289 2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
10290
10291         * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
10292
10293 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
10294
10295         * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
10296         VEC_CONCAT.
10297         * rtl.texi (description of USE): Add note about possible pitfalls
10298         with this rtx.
10299         From Richard Henderson:
10300         * reload1.c (choose_reload_regs): Compute need_mode properly.
10301
10302 2000-09-07  Richard Henderson  <rth@cygnus.com>
10303
10304         * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
10305         (__modsi3, __umodsi3): Likewise.
10306         (__udivsi3): Likewise.  Normalize the TFmode values.
10307
10308 2000-09-07  Geoff Keating  <geoffk@cygnus.com>
10309
10310         * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
10311         with a prototype.
10312         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
10313         warning.
10314
10315 Fri Sep  8 03:26:38 2000  J"orn Rennecke <amylaar@redhat.co.uk>
10316
10317         * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
10318         (cmpeqdi_t): Add output pattern.
10319         (cmpeqdi_t+1): Don't split when not optimizing.
10320         Restore proper splitting operation.
10321
10322 2000-09-07  Richard Henderson  <rth@cygnus.com>
10323
10324         * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
10325         do not call dispatch_pragma.
10326
10327 2000-09-07  Jim Wilson  <wilson@cygnus.com>
10328
10329         * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
10330         to CLASS_CANNOT_CHANGE_MODE.
10331         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
10332         mode classes are different.
10333
10334 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
10335
10336         * cpplib.h (struct cpp_options): Add user_label_prefix member,
10337         left out of commit which removed cppulp.c.
10338
10339 2000-09-07  Richard Henderson  <rth@cygnus.com>
10340
10341         * bb-reorder.c (fixup_reorder_chain): Add jump in new block
10342         after switch for CASE_DROPS_THROUGH.
10343
10344 2000-09-07  Richard Henderson  <rth@cygnus.com>
10345
10346         * loop.c (strength_reduce): Call check_ext_dependant_givs.
10347         Properly extend the biv initial value for the giv.
10348         (record_biv): Zero ext_dependant.
10349         (record_giv): New argument ext_val.  Update all callers.
10350         (general_induction_var): Likewise.
10351         (consec_sets_giv): Likewise.
10352         (simplify_giv_expr): Likewise.  Fill in ext_val if we find
10353         a sign-extend, zero-extend, or truncate.
10354         (combine_givs_p): Make sure modes are compatible.
10355         (check_ext_dependant_givs): New.
10356         (extend_value_for_giv): New.
10357         * loop.h (struct induction): Add ext_dependant.
10358         * unroll.c (iteration_info): Extend the biv initial value for the giv.
10359         (find_splittable_givs): Likewise.
10360         (final_giv_value): Likewise.
10361
10362 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
10363
10364         * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
10365         REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
10366         definitions from cpplib.h.
10367         * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
10368         already done it.
10369         * tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
10370         documentation for REGISTER_TARGET_PRAGMAS.
10371
10372         * c-lex.c: Include cpplib.h before c-pragma.h.  Define a
10373         default-pragma callback to implement -Wunknown-pragmas if
10374         USE_CPPLIB.
10375         * c-parse.in: Move all includes to top of file.
10376         * c-pragma.c: Include cpplib.h before c-pragma.h.  Include
10377         tm_p.h.
10378         (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
10379         warning.
10380         (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
10381
10382         * arm.h, arm-protos.h, arm.c,
10383           c4x.h, c4x-protos.h, c4x.c,
10384           h8300.h, h8300-protos.h, h8300.c,
10385           i370.h, i370-protos.h, i370.c,
10386           i960.h, i960-protos.h, i960.c,
10387           sh.h, sh-protos.h, sh.c,
10388           v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
10389         pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
10390
10391         * d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
10392         multiple include guard.
10393         * i370.md (untyped_call): Use GEN_CALL.
10394         (umodsi3): Remove unused variable.
10395         * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
10396         * v850.c (output_move_single, output_move_double): Constify
10397         return value.
10398         (print_operand): Constify a char *.
10399         * v850.h (struct small_memory_info): Constify name member.
10400
10401 2000-09-07  Kazu Hirata  <kazu@hxi.com>
10402
10403         * config/h8300.h: Fix comment typos.
10404         * config/h8300/h8300.md: Likewise.
10405         * config/h8300/lib1funcs.asm: Likewise.
10406
10407 Thu 07-Sep-2000 21:29:00 BST  Neil Booth  <NeilB@earthling.net>
10408
10409         * Makefile.in: Remove references to cppulp.{c,o}.
10410         * cppinit.c (initialize_builtins, cpp_start_read,
10411         cpp_handle_option): Update to use cpp_options structure.
10412         * cppulp.c: Remove.
10413
10414 2000-09-07  Joseph S. Myers  <jsm28@cam.ac.uk>
10415
10416         * c-common.c (time_char_table): Allow %#b and %#h.
10417
10418 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10419
10420         * reorg.c (find_end_label): If the basic block reorder pass moves the
10421         return insn to some other place try to locate it again and put our
10422         end_of_function_label there.
10423         * reorg.c (relax_delay_slots): Check if find_end_label created a
10424         new label that invalidates the current optimazation.
10425
10426 2000-09-07  Catherine Moore  <clm@redhat.com>
10427
10428         * unroll.c (unroll_loop): Check for unconditional jumps
10429         to loop continuation.  Delete if n_iterations is 1.
10430         (ujump_to_loop_cont): New routine.
10431
10432 2000-09-07  Bernd Schmidt  <bernds@redhat.co.uk>
10433
10434         * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
10435         MODE_VECTOR_FLOAT.
10436         * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
10437         to handle multiword modes correctly.  All callers and the declaration
10438         changed.
10439
10440 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
10441
10442         * c-common.h (prep_stmt): Declare.
10443         (lang_expand_stmt): Likewise.
10444         * c-decl.c (lang_expand_stmt): Remove.
10445         * c-semantics.c (lang_expand_stmt): Define.
10446         (prep_stmt): New function.
10447         (expand_stmt): Handle common statement types here.
10448
10449 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
10450
10451         * configure.in (sh-*-linux*): Added.
10452         * configure: Rebuilt.
10453         * config/sh/t-linux: New file.
10454         * config/sh/sh.h (USERMODE_BIT): Define.
10455         (TARGET_USERMODE): Likewise.
10456         (TARGET_SWITCHES): New switches for the bits above.
10457         (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
10458         * config/sh/linux.h: New file.
10459         * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
10460         underscore on linux.
10461         (L_sdivsi3, L_udivsi3): Define for linux.
10462         (L_ic_invalidate): Define.
10463         * invoke.texi (SH Options): Document -musermode.
10464
10465 2000-09-07  Alexandre Oliva  <aoliva@redhat.com>
10466
10467         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
10468         CSE unless generating PIC.
10469
10470         * config/sh/sh.md (symPLT_label2reg): Force the initialization of
10471         the PIC register.
10472
10473 2000-09-06  H.J. Lu  (hjl@gnu.org)
10474
10475         * Makefile.in (clean_s1): Depend on stage_b.
10476         (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
10477         stage2. They are used for "make compare".
10478
10479 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
10480
10481         Move statement-tree facilities from C++ to C front-end.
10482         * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
10483         (void_zero_node): New macro.
10484         (struct stmt_tree_s): New type.
10485         (stmt_tree): New typedef.
10486         (struct language_function): New type.
10487         (last_tree): New macro.
10488         (last_expr_type): Likewise.
10489         (walk_tree_fn): New typedef.
10490         (current_stmt_tree): New function.
10491         (begin_stmt_tree): Likewise.
10492         (add_stmt): Likewise.
10493         (finish_stmt_tree): Likewise.
10494         (statement_code_p): Likewise.
10495         (lang_statement_code_p): New variable.
10496         (walk_stmt_tree): New function.
10497         (STMT_IS_FULL_EXPR_P): New macro.
10498         * c-common.c (lang_statement_code_p): New variable.
10499         (c_common_nodes_and_builtins): Initialize void_zero_node.
10500         (statement_code_p): New function.
10501         (walk_stmt_tree): Likewise.
10502         * c-decl.c (language_function): Rename to ...
10503         (c_language_function): ... this.  Include language_function.
10504         (push_c_function_context): Adjust accordingly.
10505         (pop_c_function_context): Likewise.
10506         (mark_c_function_context): Likewise.
10507         (current_stmt_tree): Define.
10508         * c-semantics.c (begin_stmt_tree): New function.
10509         (add_stmt): Likewise.
10510         (prune_unused_decls): Likewise.
10511         (finish_stmt_tree): Likewise.
10512
10513 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10514
10515         * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
10516
10517 2000-09-06  Kazu Hirata  <kazu@hxi.com>
10518
10519         * calls.c: Fix formatting.
10520
10521 2000-09-06  Graham Stott  <grahams@cygnus.co.uk>
10522
10523         * config/i386/i386.h (ADDRESS_COST): Fix typo.
10524
10525 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
10526
10527         Integrated preprocessor.
10528
10529         * Makefile.in: Remove all references to c-parse.gperf,
10530         c-gperf.h, and c-parse.h.  Remove -d from yacc command line
10531         generating c-parse.c.  Update dependencies.
10532         * c-parse.gperf, c-gperf.h: Delete.
10533
10534         * c-common.c: Don't define parse_options, cpp_token, yy_cur,
10535         yy_lim, or yy_get_token.  Don't define get_directive_line if
10536         USE_CPPLIB.
10537         * c-common.h: Add multiple include guard.  Define RID values
10538         for every keyword in C, C++, and Objective C.  Put all the
10539         modifiers first.
10540         (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
10541         * c-decl.c (c_decode_option): Handle -lang-objc here.
10542         (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
10543         (grokdeclarator): Adjust for new RID scheme.
10544         (extract_interface_info): New stub.
10545         * c-lang.c: Don't declare yy_cur or parse_options.
10546         (lang_init_options): Call cpp_init.  Don't call
10547         cpp_options_init.
10548         (lang_init): Don't call check_newline if USE_CPPLIB.
10549
10550         * c-lex.c: Don't include c-parse.h.  Do include timevar.h.
10551         Elide lots of unnecessary code if USE_CPPLIB.  Delete code
10552         rendered unnecessary by new architecture.  Move routines not
10553         shared with C++ to c-parse.in.  Maintain a local idea of the
10554         line number.    Handle C++ as well as C.
10555         [USE_CPPLIB]: Declare and register callbacks for #ident and
10556         for entering/leaving files.
10557         (init_c_lex, c_lex): Are now the entry points to this file.
10558         (check_newline): Break out directive handling to
10559         process_directive.
10560         (read_ucs, is_extended_char, utf8_extend_token): Moved here
10561         from C++ front end.
10562         (readescape, parse_float): Overhaul.
10563         (lex_number, lex_string, lex_charconst): Break out of c_lex
10564         (n'ee yylex).
10565         (get_fileinfo, update_header_times, dump_one_header,
10566         dump_time_statistics): New and/or moved here from C++.
10567         Support per-file data needed by C++ and per-header timing
10568         statistics (C++ only, at the moment).
10569         * c-lex.h: Update prototypes.  Add multiple include guard.
10570         * c-tree.h (struct lang_identifier): Add rid_code field.
10571         (C_IS_RESERVED_WORD, C_RID_CODE): New.
10572
10573         * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
10574         reinit_parse_for_function and/or position_after_white_space.
10575         (save_filename, save_lineno): Look ahead before saving.
10576         (label -> identifier ':'): Save file and line before shifting ':'.
10577         (reservedwords): No need to call get_identifier.
10578         (init_parse, finish_parse, yyerror, yylex, yyprint,
10579         make_pointer_declarator): Are now here for C/ObjC.
10580         (rid_to_yy): Conversion table from RID constants to Yacc codes.
10581
10582         * c-pragma.c: Rewrite parsing logic to fit with cpplib's
10583         #pragma registry.  Provide dummy implementation of that
10584         interface if !USE_CPPLIB.
10585         * c-pragma.h: Update to match.
10586
10587         * flags.h: Add multiple include guard.
10588         (flag_detailed_statistics): Moved here from C++.
10589         * toplev.c: Define flag_detailed_statistics.
10590
10591         * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
10592         #if USE_CPPLIB.
10593         * timevar.def (TV_CPP, TV_LEX): New.
10594         * timevar.h: Add multiple include guard.
10595
10596         * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
10597         #if USE_CPPLIB.
10598         * objc/objc-act.c: Don't mention yy_cur or parse_options.
10599         Initialize cpplib properly.  Force lineno to 0 after first
10600         call to check_newline.  Don't handle -lang-objc here.
10601         Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
10602
10603 2000-09-06  David Edelsohn  <edelsohn@gnu.org>
10604
10605         * rs6000.md: Correct function unit definitions for cr_logical and
10606         mtjmpr.
10607         (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
10608         and use portable method for >=0 and floating point >=.  Remove
10609         associated matchers.
10610
10611 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
10612
10613         * extend.texi: Mark named return value extension as deprecated.
10614
10615 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
10616
10617         * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
10618         the result.
10619
10620 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
10621
10622         * toplev.c (display_help): Fix thinko in documentation.
10623
10624         * diagnostic.h (output_buffer::indent_skip): New fields.
10625         (output_indentation): New macro.
10626
10627         * diagnostic.c (output_indent): New function.
10628         (output_set_prefix, clear_diagnostic_info): Use.
10629         (output_emit_prefix): Predict future indentation.
10630
10631 2000-09-06  DJ Delorie  <dj@redhat.com>
10632
10633         * Makefile.in (stage_*): add more dependencies to ensure parallel
10634         builds build correctly
10635
10636 2000-09-06  Manfred Hollstein  <manfredh@redhat.com>
10637
10638         * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
10639         not bootstrap-lean_f.
10640
10641 2000-09-06  Andreas Schwab  <schwab@suse.de>
10642
10643         * mklibgcc.in: Emit rule for libgcc-stage-start.
10644         * Makefile.in (stage1-start, stage2-start, stage3-start,
10645         stage4-start): Don't handle libgcc here, use libgcc.mk instead.
10646
10647 2000-09-06  Bernd Schmidt  <bernds@redhat.co.uk>
10648
10649         * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
10650         (update_equiv_regs): Likewise, except for the mn10200 kludge.
10651         (combine_regs): Likewise.
10652
10653         * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
10654         * cse.c: Include "basic-block.h".
10655         (struct table_elt): New field REGCOST.
10656         (CHEAP_REG): Delete macro.
10657         (COST): Return 0 for REGs.
10658         (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
10659         (notreg_cost): Return 0 for appropriate SUBREGs.
10660         (COSTS_N_INSNS): Return N * 2.
10661         (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
10662         SUBREGs.
10663         (CHEAPER): Use new function preferrable.
10664         (insert): Initialize REGCOST member.
10665         (find_best_addr): Use approx_reg_cost for estimation of register
10666         usage.
10667         (cse_insn): Likewise.
10668         * loop.c (iv_add_mult_cost): New function.
10669         (add_cost, shift_cost, mult_cost): Delete variables.
10670         (init_loop): Don't initialize add_cost; reduce copy_cost by half.
10671         (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
10672         Make code that detects autoinc opportunities slightly less optimistic.
10673         (simplify_giv_expr): If expression contains other reg that is also a
10674         giv, only increment benefit if this is the only use of that reg.
10675         (consec_sets_giv): Take that change into account.
10676         (combine_givs): Slightly more verbose output.
10677
10678         * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
10679         not the cost of an equivalent shift.
10680         * sh-protos.h (addsubcosts): Declare.
10681         * sh.c (addsubcosts): New function.
10682         * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
10683         (RTX_COSTS): Tweak.  Use addsubcosts.
10684         (ADDRESS_COST): Return higher cost for reg+reg addressing.
10685
10686 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
10687
10688         * config/rs6000/rs6000.c (validate_condition_mode): New function.
10689         (branch_comparison_operator): Call validate_condition_mode to
10690         abort rather than returning 0.
10691         (branch_positive_comparison_operator): New function.
10692         (scc_comparison_operator): Call validate_condition_mode to abort
10693         rather than returning 0.
10694         (ccr_bit): Call validate_condition_mode.  Update for
10695         new branch scheme.
10696         (print_operand): Delete %C modifier.  Update %E case
10697         to use EQ bit not SO bit.
10698         (rs6000_reverse_condition): New function.
10699         (rs6000_generate_compare): New function.
10700         (rs6000_emit_sCOND): New function.
10701         (rs6000_emit_cbranch): New function.
10702         (output_cbranch): The length of a long branch insn is
10703         now only 8 bytes.  Add validate_condition_mode.  Use
10704         rs6000_reverse_condition.  Remove cror generation.
10705
10706         * config/rs6000/rs6000.h: Update comments.
10707         (PREDICATE_CODES): Add new predicate.  Update codes used
10708         by branch_comparison_operator and scc_comparison_operator.
10709         * config/rs6000/rs6000-protos.h: Add prototypes for
10710         new external functions.
10711         * config/rs6000/rs6000.md: Add new scheduling parameters
10712         for cr_logical instructions.  Change length of branch
10713         instructions.
10714         (bCOND patterns): Call rs6000_emit_cbranch.
10715         (sCOND patterns): Call rs6000_emit_sCOND.
10716         (branch patterns): Change lengths to 4.
10717         (cr logical patterns): New.
10718
10719 2000-09-06  Richard Henderson  <rth@cygnus.com>
10720
10721         * config/i386/i386.md (call_pop): Fix test for setting
10722         current_function_uses_pic_offset_table.
10723         (call, call_value_pop, call_value): Likewise.
10724
10725 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
10726
10727         * timevar.c (timevar_add): Delete.
10728         (timevar_get): Also count time since the selected timer was
10729         last updated.  Do not examine the timevar stack if the
10730         selected timer is standalone.
10731
10732 2000-09-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
10733
10734         * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
10735
10736 2000-09-05  Jason Merrill  <jason@redhat.com>
10737
10738         * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
10739         for 'extern' arrays.
10740
10741 2000-09-05  Richard Henderson  <rth@cygnus.com>
10742
10743         * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
10744         Eliminate final copy from non-trapping case.
10745         (__divdf3, __divsf3): Likewise.
10746
10747 2000-09-05  Richard Henderson  <rth@cygnus.com>
10748
10749         * config/ia64/ia64.md (mulhi3): Fix typo last change.
10750         * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
10751
10752 2000-09-03  Donn Terry  <donn@interix.com>,  Laurynas Biveinis  <lauras@softhome.net>
10753
10754         * Makefile.in: Restructure bootstrap stages to allow clean
10755         restart after failure.
10756
10757 2000-09-05  Richard Henderson  <rth@cygnus.com>
10758
10759         * config/ia64.md (movsi and movdi patterns): Allow moves from
10760         8-bit constants to AR registers.
10761
10762 2000-09-05  Richard Henderson  <rth@cygnus.com>
10763
10764         * config/ia64/ia64.md (mulhi3): New.
10765
10766 2000-09-05  Richard Henderson  <rth@cygnus.com>
10767
10768         * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
10769         * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
10770         Optimization Guide, minimum latency alternative.
10771         (__moddi3, __udivdi3, __umoddi3): Likewise.
10772         (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
10773
10774 2000-09-05  Bruce Korb  <bkorb@gnu.org>
10775
10776         * fixinc/fixincl.c (load_file): always read header files
10777         with sizes that are a multiple of the page size.
10778         & use libiberty's getpagesize for determining that.
10779
10780 2000-09-05  Alexandre Oliva  <aoliva@redhat.com>
10781
10782         * gcse.c (hash_string_1): Add prototype.
10783         * cse.c (canon_hash_string): Likewise.
10784
10785 2000-09-04  Craig Newell  <CraigN@ieee.org>
10786
10787         * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
10788
10789 2000-09-04  Andreas Schwab  <schwab@suse.de>
10790
10791         * Makefile.in (STAGESTUFF): Remove libgcc.
10792         (stage1-start, stage2-start, stage3-start): Copy the contents of
10793         the libgcc directory explicitly.
10794         (mostlyclean): Clean libgcc.
10795
10796 2000-09-04  Andrew Haley  <aph@redhat.com>
10797
10798         * dwarf2out.c: (stack_adjust_offset): New prototype.
10799
10800 Wed Jan  1 00:23:59 MET 1997  Jan Hubicka  <jh@suse.cz>
10801
10802         * combine.c (make_extraction): Fix rtx_cost comparison to
10803         match the comment.
10804
10805 Wed Jan  1 00:17:32 MET 1997  Jan Hubicka  <jh@suse.cz>
10806
10807         * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
10808         umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
10809         Add '*' to insn pattern name.
10810
10811 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
10812
10813         * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
10814         use posn - 1 to index into tokens array.
10815         (maybe_paste_with_next): Adjust caller.
10816
10817 2000-09-03  Geoff Keating  <geoffk@cygnus.com>
10818
10819         * invoke.texi: Document the -mvxworks option for rs6000 ELF.
10820
10821         * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
10822         (REGNO_REG_CLASS): Use symbolic register
10823         names.
10824
10825 2000-09-03  Richard Earnshaw  <rearnsha@arm.com>
10826
10827         * arm.c (final_prescan_insn): If the form of a jump insn isn't
10828         recognized, don't try to conditionally execute it.
10829
10830 Sun Sep  3 13:10:56 2000  Denis Chertykov  <denisc@overta.ru>
10831
10832         * config/avr/avr.md ("*tablejump_lib"): New pattern.
10833         (call_value_insn): Right length claculation.
10834         (call_insn): Likewise.
10835
10836 2000-09-02  Marek Michalkiewicz  <marekm@linux.org.pl>
10837
10838         * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
10839         gas_output_limited_string, gas_output_ascii, output_movqi,
10840         output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
10841         out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
10842         out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
10843         ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
10844         lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
10845         out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
10846         Add "const" as needed to remove warnings.
10847
10848         * config/avr/avr.c (avr_override_options, avr_init_once,
10849         function_prologue, function_epilogue, frame_pointer_required_p,
10850         class_likely_spilled_p, order_regs_for_local_alloc,
10851         avr_address_cost, avr_ret_register): Use K&R style arguments.
10852         (initial_elimination_offset, gas_output_limited_string):
10853         Remove ATTRIBUTE_UNUSED from the used arguments.
10854         (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
10855         Use local variables src, dest, base to access operands[].
10856         Rename reg_dest to reg_src if that's what it is.
10857         (output_movhi, output_movsisf): Optimize loading 8-bit immediate
10858         constants to LD_REGS if reg_was_0.
10859         (output_reload_insisf): Change arg 3 to insn length and set it.
10860         (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
10861         access to 16-bit I/O register pairs.
10862         (avr_address_cost): Lower cost for the above case.
10863         (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
10864         may be clobbered, also for LD_REGS.
10865         (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
10866         with a CONST_INT.
10867
10868         * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
10869
10870         * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
10871         macro to test_hard_reg_class function.
10872         (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
10873         for loading immediate constants to LD_REGS.
10874         (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
10875
10876
10877 Sat Sep  2 13:58:23 2000  Marek Michalkiewicz <marekm@linux.org.pl>
10878
10879         * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
10880         * config/avr/libgcc.S: Lost part of the previous patch.
10881
10882 2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
10883
10884         * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
10885         object before calling pthread_mutex_init.
10886
10887 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
10888
10889         * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
10890         config/sh/crtn.asm: New files.
10891         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
10892         (crt1.o, crti.o, crtn.o): New targets.
10893         * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
10894         sh/t-elf.
10895         * configure: Rebuilt.
10896         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10897         STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
10898         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10899         Undefine for config/elfos.h to redefine.
10900         (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
10901
10902 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>, Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10903
10904         * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
10905         legitimize_pic_address, output_pic_addr_const): Declare.
10906         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
10907         (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
10908         (TARGET_SWITCHES): New switch -mprefergot.
10909         (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
10910         (PIC_OFFSET_TABLE_REGNUM): Define.
10911         (GOT_SYMBOL_TABLE): Likewise.
10912         (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
10913         (ENCODE_SECTION_INFO): Define.
10914         (FINALIZE_PIC): New macros.
10915         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
10916         (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
10917         * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
10918         (prepare_move_operands): Call emit_pic_move or
10919         emit_pic_const_move if appropriate.
10920         (output_far_jump): For PIC, use braf and output long offset.
10921         (machine_dependent_reorg):
10922         (sh_expand_prologue): Save and initialize the PIC register.
10923         (sh_expand_epilogue): Restore it.
10924         (initial_elimination_offset): Account for it.
10925         (nonpic_symbol_mentioned_p): New function.
10926         (legitimize_pic_address): Likewise.
10927         (output_pic_addr_const): Likewise.
10928         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
10929         (call, call_value): Use them.
10930         (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
10931         symPLT_label2reg): New expands.
10932         * invoke.texi (SH Options): Document -mprefergot.
10933
10934 2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
10935
10936         * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
10937         * gcse.c (hash_string_1): New function.
10938         (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
10939         (expr_equiv_p) <ASM_OPERANDS>: Likewise.
10940         * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
10941         (canon_hash_string): New function.
10942         (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
10943         (exp_equiv_p) <ASM_OPERANDS>: Likewise.
10944         (fold_rtx): Use ASM_OPERANDS accessor macros.
10945         * emit-rtl.c (copy_insn_1): Likewise.
10946         * integrate.c (copy_rtx_and_substitute): Likewise.
10947         * stmt.c (expand_asm_operands): Likewise.  Give an
10948         ASM_OPERANDS rtx the mode of the output reg being set from it.
10949
10950 2000-09-01  Fred Fish  <fnf@be.com>
10951
10952         * fix-header.c (write_rbrac): Add putc and getc to list of
10953         functions to protect against prior definition as a macro.
10954
10955 2000-09-01  Joseph S. Myers  <jsm28@cam.ac.uk>
10956
10957         * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
10958         (c_size_type_node): Define.
10959         * c-decl.c (init_decl_processing): Initialize c_size_type_node.
10960         * c-common.c (enum format_lengths, enum format_std_version,
10961         format_length_info, format_type_detail, BADLEN, NOLENGTHS,
10962         format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
10963         T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
10964         T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
10965         T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
10966         TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
10967         format_types): Define.
10968         (format_char_info, print_char_table, scan_char_table,
10969         time_char_table): Rearrange for new organization of information
10970         about format length modifiers and standard versions.
10971         (T_ST): Redefine to use c_size_type_node.
10972         (check_format_info): Obtain information about length modifiers and
10973         standard versions from tables.  Adjust warning message wordings.
10974         Use the name from the user's program for `ll' and `hh' length
10975         modifiers in warning messages.  Use more informative names for
10976         wanted types where available (for wchar_t, wint_t, size_t, signed
10977         size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
10978
10979 2000-09-01  Jim Wilson  <wilson@cygnus.com>
10980
10981         * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
10982         * combine.c (distribute_notes): Handle REG_NORETURN.
10983         * rtl.c (reg_note_name): Add REG_NORETURN.
10984         * rtl.h (enum reg_note): Likewise.
10985
10986         * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
10987         ia64_file_start.
10988         * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
10989         (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
10990         (emit_predicate_relation_info): Handle conditional calls with
10991         REG_NORETURN.
10992         * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
10993         instead of ia64_file_start.
10994         * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
10995         * config/ia64/ia64.md (safe_across_calls_all,
10996         save_across_calls_normal): New patterns.
10997
10998         * loop.c (check_final_value): Check for biv use before checking for
10999         giv use.  Check for both biv and giv uses.  Always set last_giv_use
11000         if there is a giv use.
11001
11002 2000-09-01  Richard Henderson  <rth@cygnus.com>
11003
11004         * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
11005         (madddi3): Likewise.
11006         (maddsi3): New.
11007
11008 Fri Sep  1 10:59:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11009
11010         * expr.c (clear_storage): Don't use emit_move_insn unless
11011         either BLKmode or proper size.
11012         (store_constructor): Don't call clear_storage if REG of wrong size.
11013
11014         * flow.c (init_propagate_block_info): Don't mark frame dead at end
11015         of function if returns wiht stack pointer depressed.
11016
11017 2000-09-01  Andrew Haley  <aph@redhat.com>
11018
11019         * dwarf2out.c (stack_adjust_offset): New function.
11020         (dwarf2out_stack_adjust): Break out stack adjust logic into
11021         new stack_adjust_offset function.  Look inside parallels and
11022         sequences for stack adjustments.
11023
11024 2000-08-31  Jeff Law <law@cygnus.com>
11025
11026         * arm.md: Use no_new_pseudos to determine when it is safe
11027         to create new pseudo registers.
11028
11029         * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
11030         when we can safely allocate new registers.
11031
11032 2000-08-31  Geoffrey Keating  <geoffk@cygnus.com>
11033
11034         * stmt.c (expand_asm_operands): Twiddle generating_concat_p
11035         so that CONCATs are not generated for ASMs.
11036         * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
11037         not generating_concat_p.
11038         * function.c (pop_function_context_from): Reset
11039         generating_concat_p.
11040         (prepare_function_start): Likewise.
11041         * rtl.c (generating_concat_p): Define.
11042         * rtl.h (generating_concat_p): Declare.
11043         * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
11044
11045 2000-08-22  Philipp Thomas  <pthomas@suse.de>
11046             Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
11047
11048         * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
11049         for translation.
11050
11051 2000-08-30  Greg McGary  <greg@mcgary.org>
11052
11053         * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
11054         * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
11055         * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
11056
11057 2000-08-30  Greg McGary  <greg@mcgary.org>
11058
11059         * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
11060         (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
11061         (TREE_INT_CST): New macro.
11062         * varasm.c (const_hash, compare_constant_1, record_constant_1):
11063         Use new macro TREE_INT_CST.
11064
11065 Wed 30-Aug-2000 23:18:59 BST  Neil Booth  <NeilB@earthling.net>
11066
11067         * contrib.texi: Add self.
11068
11069 2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
11070
11071         * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
11072         (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
11073         and labels.
11074
11075 2000-08-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11076
11077         * fixinc/gnu-regex.c: Don't define `const'.
11078
11079 Tue Aug 29 22:09:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11080
11081         * expr.c (store_constructor): Allow variable bounds of array type.
11082         (expand_expr): Don't blow up if type is ERROR_MARK.
11083         * varasm.c (output_constructor): Don't access lower bound of array
11084         type unless need it if index is supplied (so it can be a variable
11085         if no index is supplied).
11086         Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
11087         Other minor cleanups.
11088
11089 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11090
11091         * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
11092         for compilations in stage 1 and subsequent stages, respectively.
11093         * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
11094         * configure: Rebuilt.
11095         * x-vax, x-vax-gcc: Deleted.
11096
11097 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11098
11099         * c-common.c (declare_function_name): Use func_id_node,
11100         function_id_node, and pretty_function_id_node.  Do not make
11101         __func__ visible at file scope.
11102         * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
11103         CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
11104         (function_id_node, pretty_function_id_node, func_id_node): New
11105         macros.
11106         * c-decl.c (init_decl_processing): Initialize function_id_node,
11107         pretty_function_id_node, and func_id_node.
11108         (c_make_fname_decl): Correct comment.
11109
11110         * tree.h (struct tree_identifier): Constify pointer member.
11111
11112         * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
11113         * c-pragma.h (struct weak_syms): Constify name and value members.
11114         (add_weak): Constify arguments.
11115
11116         * calls.c (special_function_p): Constify a char *.
11117         (expand_call): Remove variable which is initialized and then
11118         never used.
11119         * dependence.c (struct def_use, struct induction, struct subscript):
11120         Constify 'variable' member.
11121         (get_low_bound, have_induction_variable): Constify char * argument.
11122         (find_induction_variable): Add braces to avoid dangling else.
11123         (classify_dependence): Constify char * arrays.
11124         * profile.c (output_func_start_profiler): Constify a char *.
11125         * stor-layout.c (finalize_record_size): Constify a char *.
11126         * tree.c (is_attribute_p): Constify a char *.
11127         * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
11128
11129         * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
11130         for comprehensibility.  Do not call get_identifier if we did
11131         not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
11132         create temporary string constants, not ggc_alloc_string.  No
11133         need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
11134         char * to hold IDENTIFIER_POINTERs.
11135
11136 2000-08-29  Richard Henderson  <rth@cygnus.com>
11137
11138         * config/ia64/ia64.md (muldi3): Use grfr_register_operand
11139         for the inputs.
11140
11141 2000-08-29  Richard Henderson  <rth@cygnus.com>
11142
11143         * reload.c (push_secondary_reload): Allow class == reload_class
11144         if we're using a reload_in/out pattern.
11145
11146         * config/ia64/ia64.md (reload_inti): Use a TImode scratch.  Use
11147         the half that does not conflict with the reload register.
11148         (reload_outti): Likewise.
11149
11150 2000-08-29  Kazu Hirata  <kazu@hxi.com>
11151
11152         * reload.c: Fix formatting.
11153
11154         * stmt.c: Fix formatting.
11155
11156         * gcc.c: Fix formatting.
11157
11158 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11159
11160         * flags.h (time_report, mem_report): New global flags.
11161         * toplev.c: Define time_report and mem_report.
11162         (f_options): Add -ftime-report and -fmem-report.
11163         (compile_file): Turn on time_report if quiet_flag is off.
11164         Call ggc_print_statistics at very end if mem_report is on.
11165         * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
11166
11167         * ggc-common.c (ggc_print_statistics): Rename to
11168         ggc_print_common_statistics; all callers changed.  Scale
11169         quantities above 10K to kilobytes and above 10M to megabytes.
11170         * ggc-page.c (ggc_page_print_statistics): Rename to
11171         ggc_print_statistics.  Report memory consumed by internal data
11172         structures for each allocation bucket.  Scale quantities above
11173         10K to kilobytes and above 10M to megabytes.
11174         * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
11175         Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
11176         Define tally_leaves always.
11177         (ggc_print_statistics): New function.
11178         * ggc.h: Adjust for renamed functions.
11179
11180 Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
11181
11182         * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
11183         output_movsisf instead of which_alternative.
11184
11185         * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
11186
11187 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
11188
11189         * config/avr/avr-protos.h: (avr_output_ascii) Removed.
11190         (avr_progmem_p): New prototype.
11191         (output_movsisf): Prototype declaration changed.
11192         (output_movqi): New prototype.
11193         (output_movhi): New prototype.
11194         (call_insn_operand): Likewise.
11195         (final_prescan_insn): Likewise.
11196         (avr_simplify_comparision_p): Likewise.
11197         (avr_normalize_condition): Likewise.
11198         (compare_eq_p): Likewise.
11199         (out_shift_with_cnt): Likewise.
11200         (const_int_pow2_p): Likewise.
11201         (output_reload_inhi): Prototype declaration changed.
11202
11203         * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
11204         (ldi_reg_rtx): New. rtx for r31.
11205         (avr_init_stack): Initialize as "__stack".
11206         (function_prologue): Use it.
11207         Replace all TARGET_ENHANCED with AVR_ENHANCED.
11208         (avr_mcu_name): Initialize as "avr2".
11209         (avr_enhanced_p, avr_mega_p): New variables.
11210         (mcu_types, avr_override_options): Handle all known MCU types.
11211         Also handle avr1 (only preprocess, assemble and link).
11212         (print_operand): Using of `%K' in output template removed.
11213         (out_movqi_r_mr): Optimized.
11214         (out_movhi_r_mr): Likewise.
11215         (output_movqi): New function.
11216         (output_movhi): Likewise.
11217         (out_movsi_r_mr): Optimized.
11218         (output_movsisf): Compute insn length for `adjust_insn_length'
11219         (out_movqi_mr_r): Optimized.
11220         (out_movhi_mr_r): Optimized.
11221         (adjust_insn_length): Use output_movsisf, output_movqi,
11222         output_movhi for insn length adjusting.
11223         (reg_unused_after): Use dead_or_set_p.
11224         (preferred_reload_class): Now havn't any restriction.
11225         (reg_was_0): New function.
11226         (io_address_p): Likewise.
11227         (const_int_pow2_p): Likewise.
11228         (output_reload_inhi): Likewise.
11229         (output_reload_insisf): Likewise.
11230
11231         * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
11232         (LIB_SPEC): Use -lc for all supported devices.
11233         (LIBGCC_SPEC): Use -lgcc for all supported devices.
11234         (AVR_MEGA): Define as avr_mega_p.
11235         (AVR_ENHANCED): New, define as avr_enhanced_p.
11236         (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
11237         (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
11238         (CRT_BINUTILS_SPECS): Handle all known MCU types.
11239         Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
11240         (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
11241         (ASM_SPEC): Pass -mmcu=... to the assembler.
11242         Change all -DAVR_* to -D__AVR_*__.
11243         (INIT_TARGET_OPTABS), config/avr/libgcc.S:
11244         Rename library functions to start with two underscores.
11245         (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
11246         alignment.
11247         (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
11248         (SUPPORTS_WEAK): Likewise.
11249         (LDI_REG_REGNO): New. Register r31 will be used as temporary
11250         register for loading constants to r0-r14.
11251
11252         * config/avr/avr.md: Replace all TARGET_ENHANCED with
11253         AVR_ENHANCED.
11254         (*mov_r_sp): Removed. Handled by output_movhi.
11255         (*mov_sp_r): Likewise.
11256         (*mov_sp_r_no_interrupts): Likewise
11257         (*mov_sp_r_tiny): Likewise.
11258         (*movqi): Use output_movqi.
11259         (*reload_inqi): New.
11260         (*movhi): Use output_movhi.
11261         (*reload_inhi): New.
11262         (*negsi2): Optimized.
11263         (*negsf2): Likewise.
11264         Added peepholes (define_peephole2) for loading constants to r0-r14
11265         and for using `cpse' command.
11266
11267         * config/avr/libgcc.S: Rename library functions to start with two
11268         underscores.
11269         Add support for enhanced core.
11270         (_moqhi3): Fix typo, now _modqi3.
11271         (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
11272         (__prologue_saves__): Remove test for stack adjust by 0.
11273         (__tablejump__): New.
11274
11275         * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
11276         Add multilib support.
11277
11278 Tue Aug 29 15:17:54 EDT 2000  John Wehle  (john@feith.com)
11279
11280         * loop.c (prescan_loop): Don't check unknown_address_altered
11281         when deciding if insert_loop_mem is safe.  Add BLKmode MEMs
11282         to loop_store_mems as necessary.
11283         (loop_invariant_p): Don't check unknown_address_altered
11284         or unknown_constant_address_altered.
11285
11286 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11287
11288         * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
11289
11290 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
11291
11292         * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
11293         print just the filename.
11294         * cpplex.c (_cpp_run_directive): Add additional argument, the
11295         name to give the synthetic buffer.  This defaults to
11296         translated "<command line>".
11297         * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
11298         Adjust to match.
11299         (_cpp_define_builtin): New function.
11300         * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
11301         * cpphash.h: Update prototypes.
11302
11303         * tradcpp.c (main): Process -D and -U simultaneously, in the
11304         order they appeared on the command line.
11305
11306 2000-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11307
11308         * c-decl.c (define_label): Call warning_with_file_and_line and
11309         error_with_file_and_line instead of plain warning or error.
11310
11311         * c-parse.in (label): Use save_filename/save_lineno to ensure
11312         correct values for calls to define_label.
11313
11314 2000-08-29  Mark Mitchell  <mark@codesourcery.com>
11315
11316         * calls.c (expand_call): Don't create a VAR_DECL just to throw it
11317         away.
11318         * expr.c (expand_expr, case TARGET_EXPR): Don't call
11319         mark_addressable.
11320         * tree.h (get_file_function_name): Remove two duplicate
11321         declarations.
11322
11323 2000-08-28  Kazu Hirata  <kazu@hxi.com>
11324
11325         * tree.c: Fix formatting.
11326
11327         * xcoffout.c: Fix formatting.
11328
11329 2000-08-28  Jason Merrill  <jason@redhat.com>
11330
11331         * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
11332
11333 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
11334
11335         * dwarf2out.c (dwarf2out_finish): Don't bother calling
11336         break_out_includes if it won't do anything.
11337
11338 2000-08-28  Richard Henderson  <rth@cygnus.com>
11339
11340         * reload.c (push_secondary_reload): Revert 2000-08-16 change.
11341         (find_reloads): Likewise.
11342         * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
11343         (reload_inhi): Likewise.
11344
11345 2000-08-28  Richard Henderson  <rth@cygnus.com>
11346
11347         * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
11348         (call_insn_operand): Don't expect a surrounding mem.
11349         (constant_call_address_operand): Likewise.
11350         * config/i386/i386.h (PREDICATE_CODES): Update.
11351         * config/i386/i386.md (call patterns): Move the match_operand
11352         for the call destination inside the mem.
11353
11354 2000-08-28  Richard Henderson  <rth@cygnus.com>
11355
11356         * local-alloc.c (requires_inout): Don't use reserved range for
11357         EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
11358         * recog.c (asm_operand_ok): Likewise.
11359         (preprocess_constraints, constrain_operands): Likewise.
11360         * regclass.c (record_reg_classes): Likewise.
11361         * reload.c (find_reloads): Likewise.
11362         * reload1.c (maybe_fix_stack_asms): Likewise.
11363         (reload_cse_simplify_operands): Likewise.
11364         * stmt.c (expand_asm_operands): Likewise.
11365
11366         * md.texi: Update constraints documentation.
11367         * tm.texi (EXTRA_CONSTRAINT): Update.
11368
11369 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
11370
11371         * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
11372         (print_die): If we don't know the offset of the
11373         target die, try the symbol.  Add a trailing newline.
11374         (reverse_all_dies): New fn.
11375         (dwarf2out_finish): Call it.
11376         (break_out_includes): Reorganize for clarity.
11377         (add_sibling_attributes): Don't call reverse_die_lists.
11378         (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
11379         primary CU, too.
11380         * flags.h: Add flag_eliminate_dwarf2_dups.
11381         * toplev.c (f_options): Support -feliminate-dwarf2-dups.
11382
11383 2000-08-28  Jason Merrill  <jason@redhat.com>
11384
11385         * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
11386         * dwarf2out.c: #include "md5.h".
11387         (DIE_LABEL_PREFIX): New macro.
11388         (dw_val_struct): Add 'external' flag to val_die_ref.
11389         (add_AT_die_ref, AT_ref): Adjust.
11390         (AT_ref_external, set_AT_ref_external): New fns.
11391         (build_abbrev_table): Call set_AT_ref_external.
11392         (value_format): Call AT_ref_external.
11393         (die_struct): Add die_symbol field.
11394         (new_die): Clear it.
11395         (dwarf_tag_name): Handle BINCL/EINCL.
11396         (dwarf2out_start_source_file): Add BINCL DIE.
11397         (dwarf2out_end_source_file): Add EINCL DIE.
11398         (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
11399         (loc_checksum, attr_checksum, die_checksum): New fns.
11400         (is_type_die, is_comdat_die, is_symbol_die): New fns.
11401         (compute_section_prefix, assign_symbol_names): New fns.
11402         (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
11403         (output_die): Call output_die_symbol and AT_ref_external.
11404         (output_comdat_comp_unit): New fn, split out from...
11405         (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
11406         secondary CUs.
11407         (output_pubnames, output_aranges): Abort if we see entries from
11408         secondary CUs.
11409         * toplev.h: Declare file_name_nondirectory.
11410         * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
11411         (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
11412         (debug_start_source_file): Call dwarf2out_start_source_file
11413         regardless of debug verbosity.
11414         (debug_end_source_file): Similarly.
11415         * tree.h: Declare clean_symbol_name.
11416         * tree.c (clean_symbol_name): Split out from...
11417         (get_file_function_name_long): ...here.
11418
11419         * dwarf2out.c (new_loc_descr): Use calloc.
11420         (splice_child_die): Remove the die from the right parent.
11421         (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
11422
11423 Mon Aug 28 19:02:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11424
11425         * toplev.c (decode_g_option): Don't give warning for unknown -g
11426         option; return 0 instead.
11427         (main): If -g option is not recognized by front end or
11428         language-independent code, give warning.
11429
11430 2000-08-28  Greg McGary  <greg@mcgary.org>
11431
11432         * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
11433         * config/i386/i386.c (ix86_expand_compare): Remove `static'.
11434         * config/i386/i386.md (trap, conditional_trap): New insn & expand.
11435
11436 2000-08-27  Greg McGary  <greg@mcgary.org>
11437
11438         * cpplex.c (parse_string): Don't look for backslash
11439         before first char in `namebuf'.
11440         * loop.c (strength_reduce): Skip NOTEs.
11441
11442 2000-08-27  Jason Merrill  <jason@redhat.com>
11443
11444         * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
11445         DECL_EXTERNAL on a local extern.  Don't set DECL_IGNORED_P or
11446         TREE_ASM_WRITTEN, either.
11447         (finish_decl): Adjust.
11448
11449 2000-08-28  Philipp Thomas  <pthomas@suse.de>
11450
11451         * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
11452         they have been incorporated into the gettext CVS. Change the text to
11453         reflect the current status of NLS. Add instructions for accessing
11454         the gettext CVS and add the patch from Martin v. Loewis.
11455
11456 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
11457
11458         * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
11459         by using gen_lowpart_common.
11460         (movdi_internal64+6): Likewise.
11461
11462 2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
11463
11464         * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
11465         Document.
11466
11467         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
11468         numbers to the ranges used by GDB.
11469
11470 2000-08-25  Richard Henderson  <rth@cygnus.com>
11471
11472         * config/ia64/ia64.h (struct machine_function): Add n_varargs.
11473         * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
11474         (ia64_expand_prologue): Likewise.
11475         (ia64_setup_incoming_varargs): Set it.  Properly skip the current
11476         argument for stdargs.
11477
11478 2000-08-25  Jason Merrill  <jason@redhat.com>
11479
11480         * integrate.c (expand_inline_function): Pull out the original decl.
11481
11482 2000-08-25  Jim Wilson  <wilson@cygnus.com>
11483
11484         * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
11485
11486         * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
11487
11488 2000-08-25  Greg McGary  <greg@mcgary.org>
11489
11490         * flow.c (dump_edge_info): Use ARRAY_SIZE.
11491         * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
11492
11493 2000-08-25  Richard Earnshaw  <rearnsha@arm.com>
11494
11495         * arm.h (STRUCT_VALUE): Define to 0, not NULL.
11496
11497 Fri Aug 25 12:52:49 EDT 2000  John Wehle  (john@feith.com)
11498
11499         * i386.c (ix86_find_base_term): New.
11500         * i386-protos.h (ix86_find_base_term): Prototype.
11501         * i386.h (FIND_BASE_TERM): Define.
11502         * alias.c (find_base_term): Use it.
11503         * tm.texi (FIND_BASE_TERM): Document it.
11504
11505         * alias.c (true_dependence, write_dependence_p): Unchanging
11506         memory can't conflict with non-unchanging memory.
11507
11508         * alias.c (memrefs_conflict_p): A BLKmode reference
11509         to a symbol (or CONST_INT address) always conflicts
11510         with a reference to another symbol.
11511
11512 2000-08-25  Joseph S. Myers  <jsm28@cam.ac.uk>
11513
11514         * c-common.c (time_char_table): Don't allow width and flags with
11515         "z" format.
11516
11517 2000-08-25  Jakub Jelinek  <jakub@redhat.com>
11518
11519         * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
11520         way as LT and LTU when the second operand has 0 in low word.
11521
11522 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
11523
11524         * basic-block.h (struct loop): Rename `exits' field to
11525         `exit_edges'.  Add `entry_edges' and `num_entries' fields.
11526
11527         * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
11528         (flow_loop_entry_edges_find): Add.
11529         (flow_edge_list_print): Rename from flow_exits_print.
11530         (flow_loops_find): Call flow_loop_entry_edges_find.
11531         (flow_loop_dump): Dump entry_edges list.
11532         (flow_loops_free): Free entry_edges.
11533
11534 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
11535
11536         * loop.c (loop_dump_aux, debug_loop): New functions.
11537         (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
11538
11539         * flow.c (flow_loops_dump): Add callback parameter.
11540         (flow_loop_dump): Add callback parameter and call it.  Move
11541         loop note debugging code to loop_dump_aux.
11542
11543         * basic-block.h (flow_loop_dump): Add callback parameter
11544         (flow_loops_dump): Likewise.
11545
11546         * toplev.c (rest_of_compilation): Add NULL callback function pointer
11547         to call to flow_loops_dump.
11548
11549 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
11550
11551         * loop.c (count_loop_regs_set): Replace start and end arguments
11552         with loop argument.  All callers udated.
11553
11554 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
11555
11556         * loop.c (constant_high_bytes): Delete.
11557
11558 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
11559
11560         * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
11561         and NOTE_INSN_LOOP_VTOP to...
11562         (find_and_verify_loops) ...here.
11563
11564 Fri Aug 25 04:21:13 2000  Alexandre Oliva  <aoliva@redhat.com>
11565
11566         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
11567         (fini_dummy, init_dummy): Use it.
11568
11569 Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
11570
11571         * cpplex.c (is_macro_disabled): Caller has already checked
11572         that we're not a preprocessed file.
11573
11574 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
11575
11576         * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
11577         (c-iterate.o): Remove target.
11578         * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
11579         * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
11580         (finish_decl): Don't handle iterators.
11581         (grokdeclarator): Likewise.
11582         * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
11583         * gcc/c-gperf.h: Regenerated.
11584         * gcc/c-iterate.c: Removed.
11585         * gcc/c-lex.c (init_lex): Don't handle iterators.
11586         * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
11587         (compstmt_primary_start): Remove push_iterator_stack call.
11588         (stmt): Don't allow iterator statements.  Replace iterator_expand
11589         with expand_expr_stmt.
11590         (all_iter_stmt): Remove.
11591         (all_iter_stmt_simple): Likewise.
11592         (all_iter_stmt_with_decl): Likewise.
11593         * gcc/c-tree.h (ITERATOR_P): Remove.
11594         (ITERATOR_BOUND_P): Likewise.
11595         (init_iterators): Remove declaration.
11596         (iterator_expand): Likewise.
11597         (iterator_for_loop_start): Likewise.
11598         (iterator_for_loop_end): Likewise.
11599         (iterator_for_loop_record): Likewise.
11600         (push_iterator_stack): Likewise.
11601         (pop_iterator_stack): Likewise.
11602         * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
11603         (readonly_warning): Likewise.
11604         * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
11605
11606 2000-08-24  Jim Wilson  <wilson@cygnus.com>
11607
11608         * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
11609         Copy type in a TYPE_DECL, just like pushdecl does.
11610
11611 2000-08-24  Richard Henderson  <rth@cygnus.com>
11612
11613         * toplev.c (main): Enable flag_reorder_blocks at -O2.
11614
11615 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
11616
11617         * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
11618         asked for one page, allocate GGC_QUIRE_SIZE of them and put
11619         the extras on the free list.
11620         (release_pages): Clean up.
11621         (ggc_set_mark): Don't adjust G.allocated here...
11622         (sweep_pages): ... do it here.
11623
11624 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
11625
11626         * cppfiles.c (read_include_file): Rearrange initializations.
11627
11628 2000-08-24  Richard Henderson  <rth@cygnus.com>
11629
11630         * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
11631
11632         * config/ia64/ia64-protos.h: Update.
11633         * config/ia64/ia64.c (gr_register_operand): New.
11634         (fr_register_operand, grfr_register_operand): New.
11635         (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
11636         (grfr_reg_or_8bit_operand): New.
11637         (gr_reg_or_0_operand): Rename from reg_or_0_operand and
11638         use gr_register_operand.
11639         (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
11640         (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
11641         (gr_reg_or_8bit_and_adjusted_operand): Likewise.
11642         (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
11643         (fr_reg_or_fp01_operand): Likewise.
11644         (not_postinc_memory_operand): New.
11645         (ia64_split_timode): Remove unused variables.
11646         (rtx_needs_barrier): Check arguments to cmpxchg.
11647         (builtin_description): Remove.
11648         (bdesc_2argsi, bdesc_2argdi): Remove.
11649         (ia64_init_builtins): Declare all builtins directly.
11650         (ia64_expand_fetch_and_op): Rewrite to be called from
11651         ia64_expand_builtin directly.  Use expand_binop and co.
11652         (ia64_expand_op_and_fetch): Likewise.
11653         (ia64_expand_compare_and_swap): Likewise.
11654         (ia64_expand_binop_builtin): Remove.
11655         (ia64_expand_lock_test_and_set): New.
11656         (ia64_expand_lock_release): New.
11657         (ia64_expand_builtin): Use them.
11658         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
11659         (EXTRA_CONSTRAINT): Use it.
11660         (PREDICATE_CODES): Update.
11661         * config/ia64/ia64.md (*): Use gr_register_operand and co.
11662         (mf): Indicate that we set memory as well as use it.
11663         (fetchadd_acq_si): Show memory being modified as well.
11664         (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
11665         (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
11666         (lock_test_and_set_si, lock_test_and_set_di): Remove.
11667         (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
11668         (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
11669         (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
11670         (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
11671         (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
11672         (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
11673         (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
11674         (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
11675         * config/ia64/ia64intrin.h (*): Cast result to the appropriate
11676         return type.  Pretty print definitions.
11677
11678 2000-08-24  Jim Wilson  <wilson@cygnus.com>
11679
11680         * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
11681         we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
11682
11683 2000-08-24  Jason Merrill  <jason@redhat.com>
11684
11685         * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
11686         AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
11687         (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
11688         get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
11689
11690 2000-08-24  Greg McGary  <greg@mcgary.org>
11691
11692         * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
11693         and extendtab within their proper array boundaries.
11694         * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
11695         for the entire array.
11696
11697         * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
11698         * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
11699         * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
11700         * config/fr30/fr30.c (fr30_print_operand): Likewise.
11701         * config/i386/dgux.c (output_options): Likewise.
11702         * config/i386/dgux.h (ASM_FILE_START): Likewise.
11703         * config/m88k/m88k.c (output_options): Likewise.
11704         * config/m88k/m88k.h (ASM_FILE_START): Likewise.
11705         * config/mcore/mcore.c (mcore_output_inline_const_forced,
11706         layout_mcore_frame, handle_structs_in_regs): Likewise.
11707         * config/mips/mips.c (output_block_move): Likewise.
11708         * config/rs6000/rs6000.c (rs6000_override_options,
11709         rs6000_file_start): Likewise.
11710         * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
11711         * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
11712         * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
11713         * builtins.c (expand_builtin_setjmp): Likewise.
11714         * expr.c (safe_from_p): Likewise.
11715         * flow.c (life_analysis): Likewise.
11716         * fold-const.c (size_int_type_wide): Likewise.
11717         * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
11718         * genattrtab.c (make_length_attrs): Likewise.
11719         * genopinit.c (gen_insn): Likewise.
11720         * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
11721         * global.c (global_alloc): Likewise.
11722         * local-alloc.c (find_free_reg): Likewise.
11723         * mips-tdump.c (print_symbol): Likewise.
11724         * mips-tfile.c (parse_def, parse_input): Likewise.
11725         * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
11726         * stmt.c (expand_nl_goto_receiver): Likewise.
11727         * stor-layout.c (set_sizetype): Likewise.
11728         * varasm.c (decode_reg_name): Likewise.
11729         * toplev.c (decode_f_option, decode_W_option,
11730         set_target_switch, print_switch_values): Likewise.
11731         (NUM_ELEM): Remove macro.
11732         (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
11733
11734 2000-08-24  Greg McGary  <greg@mcgary.org>
11735
11736         * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
11737         (MAIN_NAME_P, main_identifier_node): New macros.
11738         * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
11739         * c-decl.c (start_decl, grokdeclarator, start_function,
11740         store_parm_decls, finish_function): Use MAIN_NAME_P.
11741         * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
11742         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
11743         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11744         * config/pdp11/pdp11.c (output_function_prologue): Likewise.
11745
11746 2000-08-24  Greg McGary  <greg@mcgary.org>
11747
11748         * cppfiles.c (actual_directory): Don't write beyond `dir'
11749         when it contains "".
11750         * real.c (asctoeg): Stay within bounds of etens[][].
11751
11752 2000-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11753
11754         * dependence.c (dependence_string, direction_string,
11755         dump_one_node, dump_node_dependence): Hide unused identifiers.
11756         (get_low_bound, normalize_coefficients): Match definition to
11757         static prototype.
11758         (get_one_coefficient): Initialize variables `value0_is_idx' and
11759         `value1_is_idx'.
11760         (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
11761         (ziv_test): Delete variable `idx', use parameter `sub' instead.
11762         (direction_merge): Avoid automatic aggregate initialization.
11763         (have_dependence_p): Use `src' not `dest' to set `src_idx'.
11764         Initialize variables `dest_idx' and `src_idx'.
11765         (end_dependence_analysis): Avoid C89 style function definition.
11766
11767 2000-08-24  Joseph S. Myers  <jsm28@cam.ac.uk>
11768
11769         * c-common.c (time_char_table): Don't allow width with %F.
11770         (check_format_info): Don't allow "Z" length with scanf.
11771
11772 2000-08-24  Gabriel Dos Reis  <gdr@codesourcery.com>
11773
11774         * diagnostic.c (finish_diagnostic): Define.
11775         (output_do_printf): Use wrap_text instead of output_add_string.
11776         (default_print_error_function): Avoid embedded '\n'.
11777
11778         * diagnostic.h (flush_diagnostic_buffer): Declare.
11779
11780 2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
11781
11782         * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
11783
11784 2000-08-23  Hans-Peter Nilsson  <hp@axis.com>
11785
11786         * Makefile.in (GCC_PASSES): Add specs.
11787
11788 2000-08-23  Jim Wilson  <wilson@cygnus.com>
11789
11790         * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
11791         * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
11792         EHANDLER nor UHANDLER bit is set.
11793         (__get_except_table): Likewise.
11794
11795 2000-08-23  Nick Clifton  <nickc@redhat.com>
11796
11797         * config/arm/lib1funcs.asm: Replace upper case condition codes
11798         with lower case versions.
11799
11800         * config/arm/arm.h (STRUCT_VALUE): Define.
11801         (STRUCT_VALUE_REGNUM): Delete.
11802
11803 2000-08-23  Zack Weinberg  <zack@wolery.cumb.org>
11804
11805         * cpphash.h (IN_I): New flag for directive table.
11806         * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
11807         #pragma with IN_I.
11808         (_cpp_check_directive): If -fpreprocessed, execute directives
11809         marked with IN_I.  Issue no warnings in this case.
11810         * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
11811
11812 2000-08-23  Joseph S. Myers  <jsm28@cam.ac.uk>
11813
11814         * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
11815         %u.
11816         (check_format_info): Support printf 'I' flag; warn about it with
11817         -pedantic.
11818
11819 2000-08-23  Richard Earnshaw  (rearnsha@arm.com)
11820
11821         * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
11822         barrier can't be ignored by the alias analysis code.
11823
11824 2000-08-12  Eli Zaretskii  <eliz@is.elta.co.il>
11825
11826         * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
11827         works inside fixincl.
11828
11829 Wed Aug 23 04:55:48 2000  Alexandre Oliva  <aoliva@redhat.com>
11830
11831         * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
11832         simplify_relational_operation() unless both operands are of
11833         VOIDmode.
11834         * cse.c (fold_rtx): Likewise.
11835
11836 Tue Aug 22 23:53:27 EDT 2000  John Wehle  (john@feith.com)
11837
11838         * rtlanal.c (rtx_unstable_p): The pic register is stable
11839         (within one function) and the actual rtx should be used
11840         when checking the registers.
11841         (rtx_addr_can_trap_p): Pic memory addresses can't trap.
11842
11843         * alias.c (true_dependence, write_dependence_p): Fix
11844         bug in previous patch.
11845
11846         * i386.c (ix86_GOT_alias_set): New.
11847         (legitimize_pic_address): Use it.
11848
11849         * rtlanal.c (rtx_unstable_p): An unchanging MEM is
11850         only stable if its address is stable.
11851         (rtx_varies_p): An unchanging MEM can't vary if
11852         its address doesn't vary.
11853
11854 2000-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11855
11856         * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
11857
11858 2000-08-22  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11859
11860         * vax.h (ASM_SPEC): Pass `-J' to assembler.
11861         * x-vax-gcc: New file for bootstrapping with gcc.
11862         * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
11863         * configure.in: Use x-vax-gcc with gcc.
11864         * configure: Rebuilt.
11865
11866 Tue Aug 22 21:21:05 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11867
11868         * toplev.c (rest_of_compilation): Rebuild label notes after
11869         post-reload splitting pass if new labels have been created.
11870
11871 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
11872
11873         * diagnostic.h (output_buffer_state): New macro.
11874         * diagnostic.c (diagnostic_for_decl, sorry,
11875         default_print_error_function, output_do_verbatim,
11876         report_diagnostic, report_problematic_module): Use it.
11877         (wrap_text): Tweak.
11878         (output_format): Use wrap_text instead of maybe_wrap_text.
11879
11880 2000-08-22  Nick Clifton  <nickc@redhat.com>
11881
11882         * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
11883         Common code for ARM divide and modulus functions.
11884         (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
11885         ARM_DIV_MOD_BODY.
11886         (FUNC_END): New macro: Common code at the end of the division and
11887         modulo functions.
11888         (THUMB_FUNCTION_START): New macro:  Common code at the start of
11889         Thumb functions.
11890         (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
11891
11892 Tue Aug 22 20:34:52 2000  Kaz Kojima <kkojima@rr.iij4u.or.jp>
11893
11894         * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
11895
11896         * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
11897         sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
11898         const0_rtx.
11899
11900 2000-08-22  Nick Clifton  <nickc@redhat.com>
11901
11902         * config/arm/lib1funcs.asm (__umodsi3): Before performing any
11903         restorative additions, test for bottom bits of IP being set,
11904         rather than relying upon the RORs not matching.
11905         (__modsi3): Ditto.
11906
11907 2000-08-22  David Edelsohn  <edelsohn@gnu.org>
11908
11909         * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
11910         text_section() as appropriate instead of emitting text csect
11911         pseudo-op directly.
11912         (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
11913         (UNIQUE_SECTION): Define macro.
11914         (ASM_OUTPUT_SECTION_NAME): Define macro.
11915         * rs6000.c (rs6000_override_options): Disable -ffunction-sections
11916         on AIX if debugging and -fdata-sections always.
11917
11918 2000-08-22  Steven King  <sxking@uswest.net>
11919
11920         * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
11921         machinery.
11922         (LDBL_MAX): Same here.
11923
11924 2000-08-22  Richard Henderson  <rth@cygnus.com>
11925
11926         * flow.c (tidy_fallthru_edge): Update b->end properly.
11927
11928 2000-08-22  Stan Cox  <scox@redhat.com>
11929
11930         * Makefile.in (OBJS): Add dependence.o.
11931         * dependence.c: New file.
11932
11933 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>, John David Anglin  <dave.anglin@nrc.ca>
11934
11935         * calls.c (check_sibcall_argument_overlap_1): Adjust for
11936         ARGS_GROW_DOWNWARD.
11937         (check_sibcall_argument_overlap): Likewise.
11938
11939 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
11940
11941         * invoke.texi (SH Options): Document -m4-nofpu,
11942         -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
11943         -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
11944
11945 2000-08-22  Joseph S. Myers  <jsm28@cam.ac.uk>
11946
11947         * c-common.c (check_format_info): Give the 'some locales' warning
11948         for strftime %Ey rather than the unconditional 'only last 2 digits
11949         of year' one.
11950
11951 2000-08-22  Richard Henderson  <rth@cygnus.com>
11952
11953         * alias.c (init_alias_analysis): Do not register
11954         struct_value_incoming_rtx or static_chain_rtx as pointing
11955         to stack memory.
11956
11957 Tue Aug 22 01:44:43 2000  Jeffrey A Law  (law@cygnus.com)
11958
11959         * protoize.c (munge_compile_params): Fix typo and formatting buglets.
11960
11961 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
11962
11963         * diagnostic.h (report_problematic_module): Declare.
11964         * diagnostic.c (report_problematic_module): New function.
11965         (report_error_function): Tweak.
11966
11967 Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11968
11969         * stmt.c (expand_goto_internal, fixup_gotos): Only check
11970         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11971
11972 2000-08-21  Richard Henderson  <rth@cygnus.com>
11973
11974         * flow.c (calculate_global_regs_live): Mark frame pointer live
11975         everywhere before reload.
11976
11977 2000-08-21  Jim Wilson  <wilson@cygnus.com>
11978
11979         * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
11980         INTEL_EXTENDED_IEEE_FORMAT.
11981         (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
11982         clear last two bytes of output FP value.
11983
11984 2000-08-21  Graham Stott  <grahams@cygnus.co.uk>
11985
11986         * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
11987
11988 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
11989
11990         * unroll.c (loop_find_equiv_value): If ret is modified between
11991         insn and loop_start, ret might not be equivalent to reg.
11992
11993 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
11994
11995         * c-common.c (init_dollar_format_checking,
11996         maybe_read_dollar_number, finish_dollar_format_checking): New
11997         functions.
11998         (dollar_arguments_used, dollar_arguments_count,
11999         dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
12000         New variables.
12001         (check_format_info): Support $ formats for scanf and printf width
12002         and precision.  Always increment format_chars to advance past the
12003         '*' of precision, not just when the format parameters are
12004         available to check.
12005
12006 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12007
12008         * mips.c (block_move_loop, expand_block_move,
12009         function_arg_partial_nregs, save_restore_insns, function_prologue,
12010         mips_expand_prologue, RA_MASK): Avoid using the `U' integer
12011         constant suffix.
12012         (function_arg_advance, function_arg): Match argument to format
12013         specifier `%p'.
12014
12015 2000-08-21  Nix  <nix@esperi.demon.co.uk>
12016
12017         * gcc.c (do_spec_1): Implement %j spec flag.
12018         Remove dead comment.
12019
12020         * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
12021         * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
12022         * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
12023         * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
12024
12025         * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
12026         writable) instead of hardcoded value.
12027
12028         * toplev.c (compile_file): Output to a file even if -fsyntax-only.
12029
12030         * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
12031         MKTEMP_EACH_FILE.
12032
12033         * gcc.c (cc1_options): Do not process -o or run the assembler if
12034         -fsyntax-only.
12035         * objc/lang-spec.h: Likewise.
12036
12037 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
12038
12039         * fixinc/fixincl.c (fix_with_system): Pipe the output of
12040         "external" fixes through `cat', to avoid truncating the input
12041         file by redirection.
12042
12043 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
12044
12045         * config/i386/i386.md (lea_general_1): Copy insn condition to split
12046         condition.
12047         (lea_general_2, lea_general_3): Likewise.
12048
12049 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12050
12051         * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
12052         warnings to user code.
12053
12054         * c-lex.c (readescape, yylex): Likewise.
12055
12056         * c-typeck.c (store_init_value, process_init_element): Likewise
12057         (c_expand_start_case): Format.
12058
12059 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
12060
12061         * mips/linux.h (LINK_SPEC): Use %(endian_spec).
12062
12063         * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
12064         and linker_endian_spec to endian_spec.
12065         (ENDIAN_SPEC): Add %{EB} and %{EL}.
12066         (LINK_SPEC): Remove %{EB} and %{EL}.
12067         (ASM_SPEC): Likewise.  Use %(endian_spec).
12068
12069 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
12070
12071         * c-tree.h (flag_hosted): Move declaration from here...
12072         * c-common.h (flag_hosted): ... to here.
12073         (flag_noniso_default_format_attributes): New declaration.
12074         * c-decl.c (flag_noniso_default_format_attributes): New variable.
12075         (c_decode_option): Set it appropriately for options choosing
12076         language standard variant.
12077         * c-common.c (init_function_format_info): Only provide default
12078         format attributes if flag_hosted.  Only provide the gettext
12079         formats if flag_noniso_default_format_attributes.  Update
12080         comments.
12081         (check_format_info): Disable treatment of %a as a scanf flag in
12082         C99 mode.
12083
12084 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
12085
12086         * c-common.c (scan_char_table): Add 'w' to flags for all formats
12087         except 'n'.
12088         (check_format_info): Set 'wide' for scanf format widths.  Warn for
12089         a zero scanf width.  Make the check for writing into a constant
12090         object at the first level of indirection; at later levels, warn if
12091         any type qualifiers are encountered.
12092
12093 Mon Aug 21 07:41:12 2000  Jeffrey A Law  (law@cygnus.com)
12094
12095         * reload.c (reload_inner_reg_of_subreg): New function broken out of
12096         push_reload.
12097         (push_reload): Use reload_inner_reg_of_subreg.
12098         (combine_reloads): Do not combine reloads if the input reload
12099         is a SUBREG in which the inner part will need reloading.
12100
12101         * global.c (global_alloc): Avoid passing dumpfile argument to
12102         reload routines.
12103         * toplev.c (rest_of_compilation): Likewise.
12104         * reload.h (reload): Remove dumpfile argument.  Callers changed.
12105         (debug_reload, debug_reload_to_stream): Move prototypes here.
12106         * rtl.h  (reload): Remove dumpfile argument.
12107         * reload.c (debug_reload): Remove prototype.
12108         (debug_reload_to_stream): Likewise.
12109         * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
12110         instead.
12111
12112 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12113
12114         * diagnostic.c (context_as_prefix): Export.
12115         (need_error_newline): Remove.
12116         (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
12117         (error_module_changed, record_last_error_module,
12118         error_function_changed, record_last_error_function): New functions.
12119         (initialize_diagnostics): Default intialize
12120         lang_diagnostic_starter, lang_diagnostic_finalizer.
12121         (init_output_buffer): Tweak.
12122         (file_name_as_prefix): New function.
12123         (announce_function, default_print_error_function,
12124         report_error_function, set_diagnostic_context): Tweak.
12125
12126 2000-08-21  Richard Earnshaw  <rearnsha@arm.com>
12127
12128         * flow.c (init_propagate_block_info): Handle SUBREG in a jump
12129         condition expression.
12130
12131 2000-08-20  Richard Henderson  <rth@cygnus.com>
12132
12133         * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
12134
12135 2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
12136
12137         * cppinit.c (cpp_init): Set global flag when called.
12138         (cpp_reader_init): Bomb out if cpp_init hasn't been called.
12139
12140 Sun Aug 20 01:41:35 2000  Dennis Chernoivanov  <cdi@sparc.spb.su>
12141
12142         * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
12143         before `process_directive' so that newlines won't be missed
12144         for directives.
12145         (cpp_printf): Increment `print->lineno' when newline is emitted.
12146
12147         * cppmain.c (cb_ident): Likewise.
12148         (cb_define): Likewise.
12149         (cb_undef): Likewise.
12150         (cb_include): Likewise.
12151         (cb_def_pragma): Likewise.
12152         (dump_macros_helper): Likewise.
12153
12154 2000-08-20  Richard Henderson  <rth@cygnus.com>
12155
12156         * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
12157         assigned before a loop.
12158
12159         * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
12160         (ashrsi3, lshrsi3): Likewise.
12161
12162 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
12163
12164         * c-lang.c: #include diagnostic.h
12165         (c_tree_printer): New function.
12166         (lang_init): Initialize lang_printer.
12167
12168         * Makefile.in (c-lang.o): Depends on diagnostic.h
12169
12170 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
12171
12172         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
12173
12174         * diagnostic.c (default_diagnostic_starter,
12175         default_diagnostic_finalizer): New functions.
12176         (diagnostic_for_asm, diagnostic_for_decl): Tweak.
12177         (pedwarn, pedwarn_with_file_and_line, error,
12178         error_with_file_and_line, fatal, warning,
12179         warning_with_file_and_line): Adjust call to report_diagnostic.
12180         (report_diagnostic): Rework.
12181         (set_diagnostic_context): New function.
12182
12183         * diagnostic.h (struct diagnostic_context): New data structure.
12184         (diagnostic_message, diagnostic_argument_list,
12185         diagnostic_file_location, diagnostic_line_location,
12186         diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
12187         diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
12188         (set_diagnostic_context): Declare.
12189         (report_diagnostic): Change prototype.
12190
12191 Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
12192
12193         * fix-header.c (main): Initialize cpplib.
12194
12195 2000-08-19  Michael Meissner  <meissner@redhat.com>
12196
12197         * ifcvt.c (find_if_block): Do not assume that a THEN block has any
12198         instructions in it before checking for indirect jumps.
12199
12200         * ifcvt.c (find_if_block): Do not consider a THEN block that ends
12201         in a indirect jump as a potential for conditional execution.
12202
12203         * d30v.h (d30v_init_expanders): Don't declare here.
12204         * d30v-protos.h (d30v_init_expanders): Declare here with a valid
12205         prototype.
12206
12207 Sat 19-Aug-2000 21:11:45 BST  Neil Booth  <NeilB@earthling.net>
12208
12209         * cpp.texi: Add @section for assertions.
12210
12211 Sat Aug 19 12:37:08 EDT 2000  John Wehle  (john@feith.com)
12212
12213         * loop.c (scan_loop): Use CONST_CALL_P instead of
12214         checking for REG_LIBCALL / REG_RETVAL.
12215
12216 Sat Aug 19 09:18:47 2000  Jeffrey A Law  (law@cygnus.com)
12217
12218         * reload1.c (reload_as_needed): Accept dumpfile argument,
12219         pass it to emit_reload_insns.
12220         (emit_reload_insns): Add new dumpfile argument.  If non-null
12221         then dump the reloads for each insn into the dumpfile.
12222         (reload): Pass dumpfile to reload_as_needed.
12223
12224         * invoke.texi: Clean up linux-gnu vs linux comments.
12225
12226 2000-08-19  Richard Henderson  <rth@cygnus.com>
12227
12228         * config/ia64/ia64.c (reg_or_5bit_operand): New.
12229         (ia64_depz_field_mask): New.
12230         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
12231         (PREDICATE_CODES): Update.
12232         * config/ia64/ia64.md: Update commentary.
12233         (depz_internal): New.
12234         (ashlsi3): Implement directly.
12235         (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
12236         (ashldi3): Use shladd.
12237         * config/ia64/ia64-protos.h: Update.
12238
12239 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
12240
12241         * toplev.c (independent_decode_option): Always process -g.
12242         Remove third argument, now unused.  Adjust caller to match.
12243
12244 2000-08-18  Richard Henderson  <rth@cygnus.com>
12245
12246         * combine.c (make_compound_operation): Break after creating
12247         the extraction.
12248
12249 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
12250
12251         * cpplib.c (cpp_register_pragma_space): Just return if the
12252         namespace is already registered.
12253
12254 2000-08-18  Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton  <nickc@redhat.com>
12255
12256         * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
12257         constant amount.  Do not generate ROTL instruction.
12258
12259 Fri Aug 18 16:22:20 2000  Alexandre Oliva  <aoliva@redhat.com>
12260
12261         * config/sh/elf.h: Do not include sh/sh.h.
12262         * config/sh/rtems.h: Likewise.
12263         * config/sh/rtemself.h: Do not include sh/elf.h.
12264         * configure.in: Get them included with `tm_file's.
12265         * configure: Rebuilt.
12266
12267         * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
12268         * config/sh/sh.c (fpscr_set_from_mem): Use them.
12269
12270 Fri Aug 18 14:23:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12271
12272         * stor-layout.c (compute_record_type): Don't use mode of single
12273         field as mode of record if not integer mode of same type.
12274
12275         * regmove.c (perhaps_ends_bb_p): New function.
12276         (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
12277         (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
12278         (fixup_match_1): Likewise.
12279         (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
12280         avoid signed/unsigned warnings.
12281
12282         * function.c (fixup_var_refs_1, case MEM): Update CODE after
12283         updating X.
12284
12285 Fri 18-Aug-2000 18:33:45 BST  Neil Booth  <NeilB@earthling.net>
12286
12287         * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
12288         (_cpp_trigraph_map): Declaration moved from cpplex.c
12289
12290         * cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
12291         instead of 256.  Use consistent test for designated initializers.
12292         (cpp_init): Initialize trigraph_map.
12293         (initialize_standard_includes, parse_option):  Use memcmp
12294         instead of strncmp.
12295
12296         * cpplex.c (init_trigraph_map): Remove.
12297         (trigraph_ok, trigraph_replace, lex_line): Refer to
12298         _cpp_trigraph_map.
12299
12300         * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
12301         (do_unassert): Remove unused "next" local.
12302
12303         * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
12304
12305 2000-08-18  Emmanuel Marty  <emarty@suntech.fr>
12306
12307         * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
12308         insn.
12309
12310 2000-08-17  Richard Henderson  <rth@cygnus.com>
12311
12312         * config/ia64/ia64.c (spill_restore_mem): Handle emitting
12313         the first insn in a sequence.
12314
12315 Thu Aug 17 22:40:05 EDT 2000  John Wehle  (john@feith.com)
12316
12317         * alias.c (true_dependence, write_dependence_p): A read
12318         involving a label_ref or the constant pool doesn't create
12319         a dependency.
12320
12321         * rtl.h (unchanging): Improve documentation.
12322
12323 2000-08-17  Rodney Brown  <RodneyBrown@mynd.com>
12324
12325         * cse.c (insert_regs): Remove unused `regno'.
12326
12327 2000-08-17  Neil Booth  <NeilB@earthling.net>
12328
12329         * (cppinit.c) merge_include_chains: Use remove_dup_dir,
12330         remove_dup_dirs.  If qtail == brack, remove brack not
12331         qtail.
12332         (remove_dup_dir, remove_dup_dirs): New functions.
12333
12334 2000-08-17  Neil Booth  <NeilB@earthling.net>
12335
12336         * cppinit.c (cpp_cleanup): Free include dir chains.
12337         * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
12338         (do_unassert): Free the assert with _cpp_free_definition.
12339         * cppmacro.c (_cpp_free_definition): Free memory allocated for
12340         assertions.  Make the node a T_VOID node.
12341
12342 2000-08-17  Neil Booth  <NeilB@earthling.net>
12343
12344         * cppinit.c (path_include, append_include_chain):
12345         Remove 2nd parameter (struct cpp_pending *).
12346         (path_include, initialize_standard_includes, cpp_handle_option):
12347         Update callers appropriately.
12348         (cpp_handle_option): Use pend.
12349
12350 2000-08-17  Neil Booth  <NeilB@earthling.net>
12351
12352         * cppinit.c (sort_options): Remove, put functionality in
12353         cpp_init.
12354         (cpp_init): New.
12355         (initialize_builtins): Free memory.
12356         (cpp_start_read): Move init_IStable to cpp_init.
12357
12358         * cpplib.h (cpp_init): New prototype.
12359         * cppmain.c (main): Call cpp_init.
12360
12361 Thu Aug 17 13:20:32 EDT 2000  John Wehle  (john@feith.com)
12362
12363         * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
12364         (rtx_unstable_p, rtx_varies_p): Process vectors.
12365
12366 2000-08-16  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12367
12368         * config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
12369         references to GLOBAL symbols.  Use LOCAL where appropriate.
12370
12371 2000-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12372
12373         * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
12374         use t-aix41 when host == target.
12375
12376 2000-08-16  Richard Henderson  <rth@cygnus.com>
12377
12378         * reload.c (push_secondary_reload): Revert last change.
12379         If we use a reload_in/out pattern, make the when the same
12380         as the primary reload.
12381         (find_reloads): Likewise.
12382
12383 2000-08-16  Manfred Hollstein  <manfredh@redhat.com>
12384
12385         * configure.in (libstdcxx-v3): Fix test.
12386         * configure: Regenerate.
12387
12388 Wed Aug 16 08:10:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12389
12390         * calls.c (calls_function_1, expand_call): Only test
12391         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
12392         * function.c (thread_prologue_and_epilogue_insns): Likewise.
12393
12394 2000-08-16  Richard Henderson  <rth@cygnus.com>
12395
12396         * combine.c (simplify_shift_const): Revert previous two
12397         changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
12398         before the main loop.
12399
12400 2000-08-15  Richard Henderson  <rth@cygnus.com>
12401
12402         * combine.c (simplify_shift_const): Bound shift count when
12403         combining shifts.
12404
12405 Tue Aug 15 17:33:05 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12406
12407         * calls.c (ECF_SP_DEPRESSED): New macro.
12408         (calls_function_1): Treat calling sp-depressed function as alloca.
12409         (emit_call_1): Don't adjust SP if calling sp-depressed function.
12410         (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
12411         If sp-depressed, ensure block saves and restores SP.
12412         * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
12413         for INTEGER_TYPE.
12414         * function.c (keep_stack_depressed): New function.
12415         (thread_prologue_and_epilogue_insns): Call it.
12416         * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
12417         to print DECL_OFFSET_ALIGN.
12418         Print no-force-blk and transparent-union flags properly.
12419         * stmt.c (expand_goto_internal): Don't restore stack if last block
12420         and function returns with sp depressed.
12421         (fixup_gotos): Likewise.
12422         (save_stack_pointer): New function, from code in expand_decl.
12423         (expand_decl): Call new function.
12424         * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
12425         (TYPE_RETURNS_STACK_DEPRESSED): New macro.
12426         (save_stack_pointer): New declaration.
12427
12428         * diagnostic.c (fatal_function): New variable.
12429         (set_fatal_function): New function.
12430         (fatal): Call it.
12431         * diagnostic.h (set_fatal_function): New declaration.
12432
12433 2000-08-15  William Cohen  <wcohen@redhat.com>
12434
12435         * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
12436         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
12437         (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
12438
12439 2000-08-15  Richard Henderson  <rth@cygnus.com>
12440
12441         * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
12442
12443 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12444
12445         * arm.c (arm_function_ok_for_sibcall): New function.
12446         * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
12447         * arm.md (call expanders): Don't check here for calls that can't
12448         be sibling calls.
12449
12450 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12451
12452         * arm.md (splits generating cond_exec): Disable.
12453
12454 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12455
12456         * arm/linux-elf.h (text_section): Delete declaration.
12457
12458 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
12459
12460         ARM support for unordered FP operations.
12461         * arm-protos.h (arm_comparison_operator): Declare.
12462         * arm.c (arm_comparison_operator): New function.
12463         (arm_select_cc_mode): Add unordered comparison codes.
12464         (get_arm_condition_code): Likewise.
12465         (arm_final_prescan_insn): Can't handle unordered jumps that can't
12466         be done in one insn.
12467         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
12468         * arm.md (all uses of comparison_operator): Replace with
12469         arm_comparison_operator.
12470         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
12471         expands.
12472         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
12473         patterns.
12474
12475 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
12476
12477         * gthr-posix.h: Conditionally include <sched.h>; include
12478         <config.h> from libobjc/.
12479
12480 2000-08-14  Richard Henderson  <rth@cygnus.com>
12481
12482         * config/i386/i386.c (legitimize_pic_address): Use Pmode
12483         for all CONSTs.
12484
12485 2000-08-14  Richard Henderson  <rth@cygnus.com>
12486
12487         * configure.in (ia64-*): Set float_format for i386 long double.
12488
12489         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
12490         as we would for i386 XFmode.
12491         (PUT_REAL): Likewise.
12492         (endian, ereal_atof, real_value_truncate): Likewise.
12493         (ereal_isneg, toe64, etens, make_nan): Likewise.
12494         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
12495
12496         * config/ia64/ia64-protos.h: Update.
12497         * config/ia64/ia64.c (general_tfmode_operand): New.
12498         (destination_tfmode_operand): New.
12499         (tfreg_or_fp01_operand): New.
12500         (ia64_split_timode): New.
12501         (spill_tfmode_operand): New.
12502         (ia64_expand_prologue): Use TFmode not XFmode.
12503         (ia64_expand_epilogue): Likewise.
12504         (ia64_function_arg): Likewise.
12505         (ia64_function_arg_advance): Likewise.
12506         (ia64_return_in_memory): Likewise.
12507         (ia64_function_value): Likewise.
12508         (ia64_print_operand): Likewise.
12509         (ia64_register_move_cost): Set GR<->FR to 5.
12510         (ia64_secondary_reload_class): Get GR for TImode memory op.
12511         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
12512         (ROUND_TYPE_ALIGN): Remove.
12513         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
12514         (INTEL_EXTENDED_IEEE_FORMAT): Define.
12515         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
12516         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
12517         (MODES_TIEABLE_P): Use TFmode, not XFmode.
12518         (CLASS_MAX_NREGS): Likewise.
12519         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
12520         (PREDICATE_CODES): Update.
12521         * config/ia64/ia64.md (movti): New.
12522         (movti_internal): Use a clobber for memory alternatives.
12523         (reload_inti, reload_outti): New.
12524         (movsfcc_astep): Predicate properly.
12525         (movdfcc_astep): Likewise.
12526         (movxf): Remove.
12527         (movtf): New.
12528         (extendsftf2, extenddftf2): New.
12529         (trunctfsf2, trunctfdf2): New.
12530         (floatditf2, fix_trunctfdi2): New.
12531         (floatunsditf2, fixuns_trunctfdi2): New.
12532         (addtf3, subtf3, multf3, abstf2): New.
12533         (negtf2, nabstf2, mintf3, maxtf3): New.
12534         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
12535         (cmptf): New.
12536         (fr_spill): Use TFmode, not XFmode.
12537         (fr_restore): Likewise.
12538         * config/ia64/lib1funcs.asm (__divtf3): New.
12539         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
12540
12541 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12542
12543         * cse.c (fold_rtx): Avoid empty body in an if-statement.
12544
12545         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
12546         `U' integer constant suffix.
12547
12548         * dwarf2out.c (add_subscript_info): Avoid empty body in an
12549         else-statement.
12550
12551         * sparc/sol2.h (__enable_execute_stack): Prototype.
12552
12553 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
12554
12555         * collect2.c: Remove use of AIX import file.
12556
12557         * longlong.h: Test ARCH_PWR not ARCH_POWER.
12558
12559         * rs6000.c (print_operand, case 'E'): Add else.
12560
12561 2000-08-14  Richard Henderson  <rth@cygnus.com>
12562
12563         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
12564         (movdi_symbolic): New.
12565
12566 2000-08-14  Jim Wilson  <wilson@cygnus.com>
12567
12568         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12569         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
12570         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12571         to GNU as.
12572
12573 2000-08-14  Richard Henderson  <rth@cygnus.com>
12574
12575         * expr.c (emit_group_load): Don't force constants into registers.
12576         Special case source already in the correct mode.
12577
12578 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
12579
12580         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
12581         * fixinc/inclhack.def: Likewise.
12582         * fixinc/mkfixinc.sh: Likewise.
12583         * configure: Regenerate.
12584         * fixinc/fixincl.x: Regenerate.
12585         * install.texi: Document equivalence of linux and linux-gnu.
12586
12587 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12588
12589         * cse.c (insert_regs): Also in REG case: When finding an invalid
12590         value, and we make a new quantity, make sure that it won't be
12591         mistaken by for a valid one by mention_regs.
12592
12593 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
12594
12595         * h8300.md: Remove obsolete peepholes.
12596
12597 2000-08-13  Kazu Hirata  <kazu@hxi.com>
12598
12599         * invoke.texi (H8/300 Options): Fix typos.
12600         * config/h8300.c: Fix formatting.
12601         * config/h8300.h: Fix comment typos.
12602         (OVERRIDE_OPTIONS): Fix formatting.
12603
12604         * function.c: Fix formatting.
12605
12606         * cse.c: Fix formatting.
12607
12608 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
12609
12610         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
12611         (attempt_auto_inc): Suppress parentheses warning.
12612         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
12613         * loop.c (load_mems): Remove `u' suffix in two places.
12614         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
12615         hex constants.
12616         * config/rs6000/rs6000.h: Likewise.
12617         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
12618         __eabi dummy routine.
12619         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
12620         variable `buf_ptr'.
12621
12622         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
12623         not put stuff in .sdata unnecessarily.
12624         (rs6000_unique_section): New function.
12625         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
12626         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
12627
12628         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
12629         arrays in C99.  Don't try to look at DECL_REGISTER of a
12630         COMPONENT_REF.  Don't complain twice about the same error.
12631
12632         * fixinc/inclhack.def (aix_pthread): New fix.
12633         (aix_sysmachine): New fix.
12634         * fixinc/fixincl.x: Regenerate.
12635
12636         * expr.c (expand_expr): Call convert_modes when turning a large
12637         multiply into a small one.
12638
12639 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
12640
12641         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
12642         the tree structure an exponent rather than an explicit alignment
12643         so it doesn't overflow.
12644         (SET_DECL_OFFSET_ALIGN): New macro.
12645         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
12646         rather than DECL_OFFSET_ALIGN.
12647         (place_field): Likewise.
12648         * expmed.c (store_bit_field): Abort on align==0 to avoid
12649         antisocial machine behaviour.
12650
12651 2000-08-12  Richard Henderson  <rth@cygnus.com>
12652
12653         * sibcall.c (uses_addressof): Accept both addressof and
12654         current_function_internal_arg_pointer inside a mem.
12655         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
12656         if current_function_uses_addressof.
12657         * stmt.c (expand_return): Kill tail recursion and HAVE_return
12658         optimizations.
12659
12660 2000-08-11  Richard Henderson  <rth@cygnus.com>
12661
12662         * config/ia64/ia64.md (addsi3): Remove expander.
12663         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
12664         (*addsi3_shladd): New.
12665
12666 2000-08-11  Richard Henderson  <rth@cygnus.com>
12667
12668         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
12669         (do_restore): Likewise.
12670         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
12671         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
12672         (rtx_needs_barrier): Track actual bit manipulation for
12673         ar.unat moves, gr_spill, and gr_restore.
12674         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
12675         (process_set): Don't handle varargs spills.
12676         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
12677         .mem.offset here instead of in process_set.
12678         (gr_restore): Likewise.
12679
12680 2000-08-11  Richard Henderson  <rth@cygnus.com>
12681
12682         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
12683
12684 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
12685
12686         * gcc.texi (The Configuration File): Document
12687         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
12688         UPDATE_PATH_HOST_CANONICALIZATION.
12689
12690 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12691
12692         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
12693         unprototyped function pointer casts on integer constants.
12694
12695 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
12696
12697         * fixproto: Recognize DOS paths with drive letters as absolute paths.
12698
12699 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
12700
12701         * extend.texi (Volatiles): Fix typos.
12702
12703 2000-08-11  Kazu Hirata  <kazu@hxi.com>
12704
12705         * flow.c: Fix formatting.
12706
12707 2000-08-11  Richard Henderson  <rth@cygnus.com>
12708
12709         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
12710         pattern, always allocate a tertiary scratch register.
12711
12712         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
12713         (reload_inhi): Likewise.
12714
12715 2000-08-11  Richard Henderson  <rth@cygnus.com>
12716
12717         * function.c (put_reg_into_stack): Allow type to be NULL.
12718         (schedule_fixup_var_refs): Likewise.
12719         (gen_mem_addressof): Allow decl to be NULL.
12720         (put_addressof_into_stack): Likewise.
12721
12722         * flow.c (merge_blocks_nomove): Be more careful about
12723         locating the beginning of block A.
12724
12725         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
12726
12727 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
12728
12729         * configure.in:
12730         * configure:
12731         * gthr-posix.h:
12732         * config.in: Reverted the check for <sched.h>.
12733
12734 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
12735
12736         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
12737         macros define the name of CTOR and DTOR sections.
12738         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12739         DTOR_LIST_END): Change to use attributes to specify
12740         sections.
12741         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
12742         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
12743         DTOR_LIST_END): Same as in mips/elf.h.
12744
12745 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
12746
12747         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
12748         disabling just crt0.o.
12749
12750 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
12751
12752         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
12753         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
12754         (EXTRA_SPECS): Add them.
12755         * arm/lib1funcs.asm: Support builds for interworking.
12756         Use macros to eliminate duplicated pieces of code.
12757
12758 2000-08-10  Kazu Hirata  <kazu@hxi.com>
12759
12760         * h8300.c (expand_a_rotate): New.
12761         (emit_a_rotate): Likewise.
12762         (h8300_adjust_insn_length): Add support for the rotate insns.
12763         * h8300.md (rotlqi3): New.
12764         (*rotlqi3_1): Likewise.
12765         (rotlhi3): Likewise.
12766         (*rotlhi3_1): Likewise.
12767         (rotlhi3): Likewise.
12768         (*rotlhi3_1): Likewise.
12769         * h8300-proto.h: Add prototypes for expand_a_rotate and
12770         emit_a_rotate.
12771
12772         * h8300.c: Fix comment typos.
12773         (dosize): Declare the variable amount as unsigned.
12774         (get_shift_alg): Fix a comparison between signed and unsigned.
12775         (emit_a_shift): Likewise.
12776         (h8300_adjust_insn_length): Simplify the code.
12777
12778         * c-decl.c: Fix formatting.
12779
12780 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12781
12782         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
12783         warning about non-traditional numeric constant suffixes.
12784
12785         * cppexp.c (parse_number): Likewise.
12786
12787         * invoke.texi: (-Wtraditional): Document new behavior.
12788
12789 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
12790
12791         * gthr-posix.h: Include auto-host.h. Conditionally include
12792         <sched.h>.
12793         * configure.in: Check for the <sched.h> header file.
12794         * config.in: Added define for HAVE_SCHED_H.
12795
12796 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12797
12798         * c-typeck.c (process_init_element): For -Wtraditional, warn about
12799         initialization of unions.
12800
12801         * invoke.texi (-Wtraditional): Document new behavior.
12802
12803 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
12804
12805         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
12806         instead of extra_c_flags.
12807         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
12808         * configure: Regenerate.
12809         * config.in: Regenerate.
12810
12811         * cpperror.c (cpp_type2name): New function.
12812         * cpplex.c (lex_line): If we issued an error for an invalid
12813         preprocessing directive, discard that logical line.
12814         * cpplib.c (do_line): Call a hook function if the current file
12815         is renamed by #line.
12816         (do_ident): Pass the contents of the string, not the entire
12817         token, to the callback function.
12818         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
12819         (cb.rename_file): New hook function.
12820         (cb.ident): Adjust prototype.
12821         (cpp_type2name): Prototype.
12822         * cppmacro.c (dump_macro_args): Correct precedence lossage.
12823
12824         * cppmain.c (cb_ident): Update for changed interface.
12825         (cb_rename_file): New function.
12826         (main): Set rename callback.
12827
12828 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
12829
12830         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
12831         multi-word registers.
12832
12833 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
12834
12835         * c-common.c (combine_strings, check_format_info): Refer to ISO C
12836         or ISO C89 instead of ANSI C.
12837         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
12838         build_enumerator, do_case): Likewise.
12839         * c-lex.c (parse_float, yylex): Likewise.
12840         * c-parse.in: Likewise.
12841         * c-typeck.c (common_type, build_array_ref, build_binary_op,
12842         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
12843         build_c_cast, convert_for_assignment, set_init_index,
12844         set_init_label, c_expand_start_case): Likewise.
12845         * toplev.c (documented_lang_options, display_help): Likewise.
12846
12847 2000-08-08  Kazu Hirata  <kazu@hxi.com>
12848
12849         * h8300.c: Fix formatting.
12850         * h8300.h: Likewise.
12851         * h8300.md: Likewise.
12852         (movsi_h8300hs): Fix formatting of the resulting assembly code.
12853
12854         * reload1.c: Fix formatting.
12855
12856 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
12857
12858         * alpha/alpha.c (alpha_emit_xfloating_libcall):
12859         Use GEN_CALL_VALUE define.
12860         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
12861         * clipper/clipper.md (untyped_call): Likewise.
12862         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
12863         * fx80/fx80.md (untyped_call): Likewise.
12864         * mips/mips.md (untyped_call): Likewise.
12865         * ns32k/ns32k.md (untyped_call): Likewise.
12866         * pa/pa.md (untyped_call): Likewise.
12867         * romp/romp.md (untyped_call): Likewise.
12868         * sparc/sparc.md (untyped_call): Likewise.
12869
12870 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
12871
12872         * config/i860/i860.c (singlemove_string): Do not generate assembler
12873         pseudo instructions that must be expanded (that is, with signed
12874         constants larger than 16 bits).
12875
12876 2000-08-08  Richard Henderson  <rth@cygnus.com>
12877
12878         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
12879         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
12880         (init_propagate_block_info): Don't kill memory stores at -O0.
12881         (mark_set_1, mark_used_regs): Likewise.
12882
12883 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
12884
12885         * rs6000.c (optimization_options): Decorate 'level' as
12886         ATTRIBUTE_UNUSED.
12887         (mask64_operand): Remove sign-extend thinko.
12888         (rldic_operand): New function.
12889         (load_multiple_operation): regno's are unsigned ints.
12890         (store_multiple_operation): Likewise.
12891         (lmw_operation): Likewise.
12892         (stmw_operation): Likewise.
12893         (includes_lshift_p): shift_mask is unsigned int.
12894         (includes_lshift64_p): New function.
12895         (addrs_ok_for_quad_peep): unsigned int reg1.
12896         (print_operand): Consistently add "else" after
12897         output_operand_lossage().
12898         (print_operand, case 'b'): Fold in case 'W'.
12899         (print_operand, case 'W'): Print rldic MB value.
12900         (output_epilogue): Update Objective-C language string.
12901         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
12902         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
12903         * rs6000.md (ashldi3): Add rldic instruction.
12904         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
12905         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
12906         modifier.
12907
12908 2000-08-08  Richard Henderson  <rth@cygnus.com>
12909
12910         * config/ia64/ia64-protos.h: Remove duplicates.  Update
12911         for massive code rearrangements.
12912         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
12913         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
12914         (ia64_local_regs, ia64_need_regstk): Remove.
12915         (ar_ccv_reg_operand): New.
12916         (ia64_gp_save_reg): New.
12917         (struct ia64_frame_info): Combine most of the size elements;
12918         add new gr save elements.
12919         (find_gr_spill): New.
12920         (next_scratch_gr_reg): New.
12921         (mark_reg_gr_used_mask): New.
12922         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
12923         to GR backing store regs when possible.
12924         (ia64_initial_elimination_offset): New.
12925         (ia64_rap_fp_offset): Remove.
12926         (save_restore_insns): Remove.
12927         (setup_spill_pointers): New.
12928         (finish_spill_pointers): New.
12929         (spill_restore_mem): New.
12930         (do_spill, do_restore): New.
12931         (ia64_expand_prologue): Rewrite to use them.
12932         (ia64_expand_epilogue): Likewise.
12933         (ia64_direct_return): Update for current_frame_info changes.
12934         (ia64_function_prologue): Simplify .prologue emission.  Emit
12935         .spill when needed.
12936         (ia64_setup_incoming_varargs): Don't ever emit rtl.
12937         (ia64_dbx_register_number): New.
12938         (ia64_initialize_trampoline): New.
12939         (ia64_secondary_reload_class): Request GR_REGS for integer
12940         arithmetic destined for FR_REGS.
12941         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
12942         (ia64_mark_machine_status): Mark ia64_gp_save.
12943         (rws_access_regno): Rename from rws_access_reg; don't treat
12944         predicates specially.
12945         (rws_access_reg): New.  Update all callers.
12946         (rtx_needs_barrier): Remove dead unspecs.
12947         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
12948         (ia64_encode_section_info): Silence signed/unsigned warnings.
12949         (spill_offset, sp_offset, spill_offset_emitted): Remove.
12950         (tmp_reg, tmp_saved): Remove.
12951         (process_set): Rewrite to expect complicated bits via
12952         REG_FRAME_RELATED_EXPR.
12953         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
12954         in the use of ar.ccv; never set RTX_UNCHANGING_P.
12955         (ia64_expand_op_and_fetch): Likewise.
12956         (ia64_expand_compare_and_swap): Likewise.
12957         (ia64_expand_builtin): Likewise.
12958         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
12959         (FIRST_PSEUDO_REGISTER): Update.
12960         (AR_M_REGNO_P): Update.
12961         (FIXED_REGS): Don't mark three local registers as used.
12962         (EXTRA_CC_MODES): New.
12963         (SELECT_CC_MODE): New.
12964         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
12965         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
12966         (FRAME_GROWS_DOWNWARD): Unset.
12967         (STARTING_FRAME_OFFSET): Zero.
12968         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
12969         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
12970         (HARD_FRAME_POINTER_REGNUM): New.
12971         (CAN_DEBUG_WITHOUT_FP): Define.
12972         (TRAMPOLINE_TEMPLATE): Remove.
12973         (TRAMPOLINE_SIZE): Lower to 32.
12974         (TRAMPOLINE_ALIGNMENT): Lower to 64.
12975         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
12976         (PREDICATE_CODES): Update.
12977         (struct machine_function): Add ia64_gp_save.
12978         * config/ia64/ia64.md: Purge unused unspecs.
12979         (movsi patterns): Allow moves to/from AR_M_REGS.
12980         (movdi patterns): Allow moves to/from p0.
12981         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
12982         (gr_spill, gr_restore): Indicate ar.unat read/written.
12983         (nonlocal_goto): Don't pass old frame_pointer.
12984         (nonlocal_goto_receiver): Remove.
12985         (exception_receiver): New.
12986         (builtin_setjmp_setup): New.
12987         (builtin_setjmp_receiver): New.
12988         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
12989         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
12990         (__ia64_restore_stack_nonlocal): Likewise.
12991         (__ia64_trampoline): New.
12992         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
12993         function.
12994         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
12995
12996 2000-08-08  Richard Henderson  <rth@cygnus.com>
12997
12998         * frame.h (ia64_frame_state): Add my_psp.
12999         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
13000         (__throw): Pass it in.  Don't clobber r7.
13001         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
13002         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
13003         and nothing to do with sp.
13004         (normalize_reg_loc): Use frame->my_psp.
13005         (frame_translate): Handle frame-pointer-less functions.  Set
13006         spill_base correctly, in absence of being told.
13007         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
13008         (__ia64_backtrace_helper): New sp argument.  Use
13009         builtin_return_address instead of label addresses.
13010         (print_record) [mem_stack_v]: No size member.
13011
13012 2000-08-08  Richard Henderson  <rth@cygnus.com>
13013
13014         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
13015
13016 2000-08-08  Richard Henderson  <rth@cygnus.com>
13017
13018         * tm.texi (LOCAL_REGNO): Document.
13019         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
13020         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
13021         * reload1.c (reload): Likewise when considering nonlocal labels.
13022
13023         * config/ia64/ia64.h (LOCAL_REGNO): New.
13024         * config/sparc/sparc.h (LOCAL_REGNO): New.
13025
13026 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13027
13028         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
13029
13030 2000-08-07  Nick Clifton  <nickc@redhat.com>
13031
13032         * config/mips/mips.c: Fix compile time warning messages.
13033         * config/mips/mips-protos.h: Add prototype for equality_op.
13034
13035         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
13036
13037 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
13038
13039         * mn10300.md: Use nonimmediate_operand instead of general_operand
13040         on output operands.
13041
13042         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
13043
13044 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
13045
13046         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
13047         * sh.c (expand_block_move): Break long lines.
13048         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
13049         * sh.md (mulsi3): Likewise.
13050         (movdi): Adjust spacing.
13051
13052 2000-08-07  Richard Henderson  <rth@cygnus.com>
13053
13054         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
13055         * expr.c (emit_group_store): Don't set it.
13056
13057 2000-08-07  Kazu Hirata  <kazu@hxi.com>
13058
13059         * invoke.texi (Options for Debugging Your Program or GCC): Remove
13060         duplicate entries for 'w' and 'z'.
13061
13062         * flow.c: Fix a comment typo.
13063
13064 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13065
13066         * c-parse.in: Changed the language string for Objective-C to "GNU
13067         Objective-C".
13068
13069 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13070
13071         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
13072         to improve the Posix thread support for Objective-C.
13073
13074 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
13075
13076         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
13077         CTI_UNSIGNED_PTRDIFF_TYPE.
13078         (signed_size_type_node): Define.
13079         (unsigned_ptrdiff_type_node): Define.
13080         * c-decl.c (init_decl_processing): Create the
13081         signed_size_type_node and unsigned_ptrdiff_type_node types.
13082         * c-common.c (T_SC): Define.
13083         (T_SST): Define.
13084         (T_UPD): Define.
13085         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
13086         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
13087         %s and %p.
13088         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
13089         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
13090         flags for %c, %s and %[.
13091         (check_format_info): Only allow leniency for signedness of targets
13092         of character pointers (when pedantic) for formats flagged with
13093         "c", so for strings but not for %hh formats.  When pedantic, don't
13094         allow character pointers to substitute for void pointers if a
13095         second level of indirection is present.
13096
13097 2000-08-06  Kazu Hirata  <kazu@hxi.com>
13098
13099         * invoke.texi (Options for Debugging Your Program or GCC): Update
13100         the names of dump files.
13101
13102         * h8300.c (dosize): Rearrange code for conciseness.
13103         (split_adds_subs): Likewise.
13104
13105         * loop.c: Fix formatting.
13106
13107         * dwarf2out.c: Fix formatting.
13108
13109         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
13110
13111         * expr.c: Fix formatting.
13112
13113 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13114
13115         * rs6000.c (rs6000_maybe_dead): Prototype.
13116
13117 2000-08-06  Richard Henderson  <rth@cygnus.com>
13118
13119         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
13120         HAVE_nonlocal_goto as well.
13121         * config/i960/i960.md (nonlocal_goto): Don't do it here.
13122         * config/pj/pj.md (nonlocal_goto): Likewise.
13123
13124 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
13125
13126         * loop.c (try_swap_copy_prop): New function.
13127         (load_mems): Rename copies to load_copies and add new regset
13128         store_copies.  Check for sets of shadow registers and mark
13129         in store_copies.   Call try_swap_copy_prop for registers
13130         marked in store_copies.
13131
13132 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
13133
13134         * objc/objc-act.c: New command line option -fconstant-string-class
13135         to allow specifying a user defined constant string class,
13136         different from NXConstantString.
13137
13138         * toplev.c: Moved the Objective-C specific options to
13139         objc/lang-options.h.
13140
13141         * objc/lang-options.h: Moved the Objective-C specific options from
13142         toplev.c. Added -fconstant-string-class.
13143
13144 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
13145
13146         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
13147         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
13148         __CTOR_LIST__ from func_ptr array to just func_ptr, to
13149         avoid extra alignment imposed on arrays.
13150         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
13151         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
13152
13153         * mips.h: Clean up comments and spacing near MASKs.
13154         (TARGET_UNIX_ASM): Delete.
13155         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
13156         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
13157         values contiguous.
13158
13159 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
13160
13161         * c-common.c (print_char_table): Add entries for the X/Open '
13162         format flag (print decimals with locale's thousands grouping
13163         character).  Make %C expect wint_t.
13164         (check_format_info): If pedantic, warn when the %n$ operand
13165         number form is used.  Allow for the ' flag; warn about it if
13166         pedantic.
13167
13168 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
13169
13170         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
13171         type is a float mode, cfun->decl's return type is not, and
13172         TARGET_FLOAT_RETURNS_IN_80387.
13173
13174 2000-08-04  Andreas Schwab  <schwab@suse.de>
13175
13176         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
13177         token list, which are always `#' and `pragma'.
13178
13179 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
13180
13181         * tree.c (tree_expr_nonnegative_p): Move to...
13182         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
13183         (rtl_expr_nonnegative_p): New.
13184         * tree.h: Add prototype for rtl_expr_nonnegative_p.
13185
13186         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
13187         CONST_DOUBLE_CHAIN: Move to...
13188         * rtl.h: ...here.  Use XCINT/XCEXP.
13189
13190         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
13191         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
13192         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
13193         to VOL_FILES.
13194
13195         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
13196
13197 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13198
13199         * config/c4x/c4x.md (return_indirect_internal): New.
13200         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
13201
13202 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13203
13204         * c-common.c (time_char_table): Mark up formats added in C99 and
13205         make other corrections.  %D and %g were added in C99.  %Og is an
13206         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
13207         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
13208         C99 rather than GNU extensions, but %OG and %Oz are extensions.
13209         %h was added in C99.  %C was added in C99.  %OY and %OC are
13210         extensions.  Add the C99 format %F.
13211         (check_format_info): If pedantic and not in C99 mode, warn for C99
13212         formats, %E and %O.
13213
13214 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13215
13216         * function.c (schedule_fixup_var_refs): New function, broken out
13217         of put_reg_into_stack.
13218         (put_reg_into_stack): Use it.
13219         (put_var_into_stack): In CONCAT case, fixup up references for
13220         components only after fixing up references to the whole concat.
13221
13222 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
13223
13224         * alias.c (mark_constant_function): Use INSN_P.
13225         (init_alias_analysis): Likewise.
13226         * combine.c (combine_instructions): Use INSN_P.
13227         (can_combine_p): Likewise.
13228         (try_combine): Likewise.
13229         (distribute_notes): Likewise.
13230         (distribute_links): Likewise.
13231         * cse.c (cse_around_loop): Use INSN_P.
13232         (invalidate_skipped_block): Likewise.
13233         (cse_set_around_loop): Likewise.
13234         (cse_end_of_basic_block): Likewise.
13235         (delete_trivially_dead_insns): Likewise.
13236         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
13237         (unshare_all_rtl_1): Likewise.
13238         (next_cc0_user): Likewise.
13239         (try_split make_insn_raw): Likewise.
13240         (remove_unnecessary_notes): Likewise.
13241         * final.c (shorten_branches): Use INSN_P.
13242         (leaf_renumber_regs): Likewise.
13243         (leaf_renumber_regs_insn): Likewise.
13244         * flow.c (find_label_refs): Use INSN_P.
13245         (verify_wide_reg): Likewise.
13246         (notice_stack_pointer_modification): Likewise.
13247         (count_or_remove_death_notes): Likewise.
13248         (verify_flow_info): Likewise.
13249         (clear_log_links): Likewise.
13250         * function.c (fixup_var_refs_insns): Use INSN_P.
13251         (compute_insns_for_mem): Likewise.
13252         * gcse.c (alloc_gcse_mem): Use INSN_P.
13253         (compute_sets): Likewise.
13254         (compute_hash_table): Likewise.
13255         (classic_gcse): Likewise.
13256         (cprop): Likewise.
13257         (insert_insn_end_bb): Likewise.
13258         (delete_null_pointer_checks_1): Likewise.
13259         * global.c (expand_preferences): Use INSN_P.
13260         (build_insn_chain): Likewise.
13261         * graph.c (node_data): Use INSN_P.
13262         * haifa-sched.c (priority): Use INSN_P.
13263         (rm_line_notes): Likewise.
13264         (rm_other_notes): Likewise.
13265         (find_insn_reg_weight): Likewise.
13266         (init_target_units): Likewise.
13267         (schedule_block): Likewise.
13268         (compute_block_forward_dependences): Likewise.
13269         (debug_dependencies): Likewise.
13270         (set_priorities): Likewise.
13271         * integrate.c (function_cannot_inline_p): Use INSN_P.
13272         (save_parm_insns): Likewise.
13273         (copy_insn_list): Likewise.
13274         * jump.c (mark_all_labels): Use INSN_P.
13275         (never_reached_warning): Likewise.
13276         * lcm.c (optimize_mode_switching): Use INSN_P.
13277         * local-alloc.c (validate_equiv_mem): Use INSN_P.
13278         (memref_used_between_p): Likewise.
13279         (update_equiv_regs): Likewise.
13280         (block_alloc): Likewise.
13281         (no_conflict_p): Likewise.
13282         * loop.c (scan_loop): Use INSN_P.
13283         (find_and_verify_loops): Likewise.
13284         (count_loop_regs_set): Likewise.
13285         (loop_reg_used_before_p): Likewise.
13286         (strength_reduce): Likewise.
13287         (recombine_givs): Likewise.
13288         (check_dbra_loop): Likewise.
13289         (load_mems): Likewise.
13290         (try_copy_prop): Likewise.
13291         * print-rtl.c (print_rtx): Use INSN_P.
13292         * recog.c (find_single_use): Use INSN_P.
13293         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
13294         (next_flags_user): Likewise.
13295         (swap_rtx_condition): Likewise.
13296         * regmove.c (mark_flags_life_zones): Use INSN_P.
13297         (optimize_reg_copy_1): Likewise.
13298         (optimize_reg_copy_2): Likewise.
13299         (optimize_reg_copy_3): Likewise.
13300         (reg_is_remote_constant_p): Likewise.
13301         (fixup_match_2): Likewise.
13302         (regmove_optimize): Likewise.
13303         (fixup_match_1): Likewise.
13304         * regrename.c (build_def_use): Use INSN_P.
13305         (replace_reg_in_block): Likewise.
13306         (consider_use): Likewise.
13307         * reload.c (find_equiv_reg): Use INSN_P.
13308         * reload1.c (reload): Use INSN_P.
13309         (maybe_fix_stack_asms): Likewise.
13310         (calculate_needs_all_insns): Likewise.
13311         (reload_as_needed): Likewise.
13312         (emit_output_reload_insns): Likewise.
13313         (delete_address_reloads_1): Likewise.
13314         (reload_cse_regs_1): Likewise.
13315         (reload_combine): Likewise.
13316         (reload_cse_move2add): Likewise.
13317         * reorg.c (redundant_insn): Use INSN_P.
13318         (dbr_schedule): Likewise.
13319         * resource.c (find_dead_or_set_registers): Use INSN_P.
13320         (mark_target_live_regs): Likewise.
13321         * rtlanal.c (reg_used_between_p): Use INSN_P.
13322         (reg_referenced_between_p): Likewise.
13323         (reg_set_between_p): Likewise.
13324         (reg_set_p): Likewise.
13325         (single_set): Likewise.
13326         (multiple_sets): Likewise.
13327         (find_last_value): Likewise.
13328         (reg_set_last): Likewise.
13329         (find_reg_note): Likewise.
13330         (find_regno_note): Likewise.
13331         * sibcall.c (sequence_uses_addressof): Use INSN_P.
13332         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
13333         * ssa.c (find_evaluations): Use INSN_P.
13334         (rename_block): Likewise.
13335         (rename_equivalent_regs): Likewise.
13336         * unroll.c (loop_find_equiv_value): Use INSN_P.
13337         (set_dominates_use): Likewise.
13338         * varasm.c (mark_constant_pool): Use INSN_P.
13339         (mark_constants): Likewise.
13340         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
13341         (alphaev4_next_group): Likewise.
13342         (alphaev5_next_group): Likewise.
13343         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
13344         (c4x_rptb_rpts_p): Likewise.
13345         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
13346         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
13347         (rs6000_adjust_priority): Likewise.
13348         * config/sh/sh.c (sh_loop_align): Use INSN_P.
13349         (machine_dependent_reorg): Likewise.
13350         (split_branches): Likewise.
13351         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
13352
13353 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
13354
13355         * combine.c (recog_for_combine): Remove the old notes
13356         prior to attempting to recognize the new pattern.
13357         (distribute_notes): Ignore REG_NONNEG notes.
13358
13359 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
13360
13361         * varasm.c (output_constructor): Add .align 0 for packed vars.
13362
13363 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
13364
13365         * configure.in: Use default thread_file even when enable_threads is
13366         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
13367         * configure: Rebuilt.
13368
13369         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
13370
13371 2000-08-04  Donn Terry (donnte@microsoft.com)
13372
13373         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
13374
13375 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
13376
13377         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
13378         Delete code that conditionally modifies 'version'.
13379         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
13380         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
13381         * gcc.c (main): Use it.
13382         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
13383         * prefix.c (update_path): Use it.
13384         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
13385         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
13386         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
13387         code.
13388         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
13389         (SUBTARGET_SWITCHES): Adjust.
13390         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
13391         defining.
13392         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
13393
13394 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13395
13396         * c-common.h (flag_isoc94): Declare.
13397         * c-decl.c (flag_isoc94): Define.
13398         (c_decode_option): Set flag_isoc94 as appropriate.
13399         * c-common.c (T_PD, T_IM, T_UIM): Define.
13400         (format_char_info): Add tlen and jlen.
13401         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
13402         %F.  Allow %lf.
13403         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
13404         %l[.
13405         (time_char_table): Add NULL entries for %t and %j.
13406         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
13407         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
13408         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
13409         precision.  Allow precision argument to be unsigned int.  If
13410         pedantic, warn for %p passed an argument not a pointer to possibly
13411         qualified void or a possibly qualified character type, and for
13412         pointer targets of the wrong sign, except for character pointers.
13413
13414 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13415
13416         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
13417         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
13418         (wint_type_node): Define.
13419         * c-decl.c (WINT_TYPE): Define.
13420         (init_decl_processing): Create the wint_type_node type.
13421         * c-common.c (T_WI): Define.
13422         (print_char_table): Use T_WI for %lc format.
13423
13424 2000-08-04  Bruce Korb  <bkorb@gnu.org>
13425
13426         * fixinc/:  Verified that the MSDOS patch does not break
13427         the UNIX functionality and applied the next three patches
13428         from July:
13429
13430 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
13431
13432         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
13433         output file with the temporary one by appending ".X" to generate
13434         the temporary fuile's name.  If the output file already has an
13435         extension, replace it with ".X".
13436
13437         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
13438         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
13439         reallocate the command buffer while copying the command-line
13440         argument.  Redirect the output directly to the temporary file,
13441         instead of going through another temporary file.
13442         (process): Close the temporary file before unlinking it.
13443         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
13444         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
13445         (run_compiles): Pass p_fixd argument to machine_matches, as it
13446         expects.
13447
13448         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
13449         environment, assume there are no symlinks in the include
13450         directory.  When cleaning up the DONE files, look for them
13451         case-insensitively.  Don't try to remove symlinks if they aren't
13452         there.
13453
13454         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
13455         all callers changed.  Declare pz "const char *", to avoid compiler
13456         warnings.
13457
13458         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
13459         Change prototype of make_raw_shell_str.
13460
13461 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
13462
13463         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
13464         (initialize) [__MSDOS__]: Use tempnam.
13465         (initialize): Don't use SIGPIPE if it is not defined.
13466
13467         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
13468         return stdout.
13469
13470 2000-07-25  Bruce Korb  <bkorb@gnu.org>
13471
13472         * fixinc/fix*.[ch]: substantially reworked to make it possible
13473         to run this program without using fork(2) or pipe(2) (i.e. in
13474         a DOS environment).
13475
13476 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
13477
13478         * cppdefault.h (WINT_TYPE): Define.
13479         * cppinit.c (builtin_array): Define __WINT_TYPE__.
13480         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
13481         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
13482
13483 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
13484
13485         * (mips_legitimate_address_p): Don't allow register+offset
13486         if the offset is large and negative, and we are compiling
13487         for 64 bit registers.
13488
13489 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13490
13491         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
13492         insn_code_number + 1.
13493
13494 2000-08-04  Kazu Hirata  <kazu@hxi.com>
13495
13496         * h8300.c (function_prologue): Rearrange code for conciseness.
13497         (function_epilogue): Likewise.
13498         * h8300.h (OK_FOR_U): Fix formatting.
13499
13500         * cse.c: Fix a comment typo. Fix formatting.
13501
13502 2000-08-03  Richard Henderson  <rth@cygnus.com>
13503
13504         * config/i386/i386.md (return_indirect_internal): New.
13505         * config/i386/i386.c (ix86_expand_epilogue): Use it.
13506
13507 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
13508
13509         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
13510         before the name.
13511         (lex_line): Glue @ onto the beginning of identifiers and
13512         string constants, in Objective-C mode.
13513         (output_token, spell_token): Handle CPP_OSTRING.
13514         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
13515         beginning of a NAME or a STRING, in objc mode.
13516
13517         * cpplib.c (get_define_node): Do not permit identifiers that
13518         begin with @ to be #defined.
13519         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
13520         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
13521
13522         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
13523         * c-tree.h (build_objc_string): Delete prototype.
13524         * objc/objc-tree.def: Delete OBJC_STRING_CST.
13525         * c-lex.c (yylex): Use build_string for all three kinds of strings.
13526
13527         * c-parse.in, objc/objc-act.c: Update commentary.
13528
13529 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
13530
13531         * extend.texi: Fix typo in last change.
13532
13533         * extend.texi: Add commentary on statement-expressions and their
13534         interactions with C++.
13535
13536 2000-08-03  Nick Clifton  <nickc@cygnus.com>
13537
13538         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
13539         * dwarf.h (LANG_JAVA): Change value to 0x000b.
13540
13541 2000-08-03  Anthony Green  <green@cygnus.com>
13542
13543         * dwarf2out.c (gen_compile_unit_die): Add java language support.
13544         (add_bound_info): Check for java language.
13545         (is_java): New function.
13546         * dwarfout.c (output_compile_unit_die): Ditto.
13547         * dwarf.h (dwarf_source_language): Add java source language type.
13548         * dwarf2.h (dwarf_source_language): Ditto.
13549
13550 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13551
13552         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
13553         operands.
13554
13555         * i386.c (ix86_expand_branch): Mode of comparison in
13556         IF_THEN_ELSE is VOIDmode.
13557
13558 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
13559
13560         * gengenrtl.c, rtl.c: Avoid #elif.
13561
13562 2000-08-03  Michael Poole  <poole@troilus.org>
13563
13564         * tm.texi (Register Classes): Clarify order of sub-initializers
13565         in REG_CLASS_CONTENTS.
13566
13567 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13568
13569         From SAITOH Masanobu:
13570         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
13571
13572 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13573
13574         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
13575         is not supported by tradcpp and isn't actually needed for cygwin.
13576
13577 2000-08-03  Kazu Hirata  <kazu@hxi.com>
13578
13579         * h8300.c: Fix a comment typo.
13580         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
13581
13582         * jump.c: Fix formatting.
13583
13584         * toplev.c: Fix formatting.
13585
13586 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
13587
13588         * flow.c (find_auto_inc): Verify that we've got a REG before
13589         peeking at its regno.  Fail, don't abort if we can't find
13590         the increment of the desired register.
13591
13592         * pa.md (shadd height reduction patterns/splitters): Remove.
13593
13594 2000-08-02  Jim Wilson  <wilson@cygnus.com>
13595
13596         * config/ia64/ia64-protos.h (flag_ssa): Declare.
13597         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
13598
13599 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
13600
13601         * dce.c: Remove all uses of assert.
13602         * dwarf2out.c: Likewise.
13603         * dwarfout.c: Likewise.
13604         * ssa.c: Likewise.
13605
13606 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
13607
13608         * gcc.h (lang_specific_driver): Constify second argument.
13609         * gcc.c (translate_options, process_command, main): Likewise.
13610         Constify variables to match.  Cast second argument to
13611         pexecute.
13612
13613         * cppspec.c, gccspec.c: Adjust type of second argument to
13614         lang_specific_driver, and update code as necessary.
13615
13616 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
13617
13618         * loop.c (scan_loop): Ensure update_end label does not
13619         go away until reg_scan_update is run.
13620
13621 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
13622
13623         * c-common.h: Prototype min_precision and c_build_qualified_type here...
13624         * c-tree.h: ... not here.
13625         * errors.h: Prototype fancy_abort.
13626
13627         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
13628         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
13629         * regrename.c (regrename_optimize): Make control flow explicit.
13630         (replace_reg_in_block): Initialize reg_use to 0.
13631
13632         * i386.c (legitimate_address_p): Rename error label to
13633         report_error to avoid namespace clash.
13634
13635 2000-08-02  Kazu Hirata  <kazu@hxi.com>
13636
13637         * fold-const.c: Fix formatting.
13638
13639 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13640
13641         * i386.c (legitimate_address_p): Accept other bases than
13642         pic_offset_table_rtx for GOTOFF constructs.
13643
13644 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13645
13646         * i386.md (shift to lea splitter): Use const_int_operand.
13647
13648 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
13649
13650         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
13651         cppspec.c: Do not use 'legal' or 'illegal' in error messages
13652         and comments.
13653
13654         * cppmain.c (cb_define, cb_undef): Don't generate any output
13655         if not done_initializing.
13656         * cpplex.c (maybe_paste_with_next): When the token after a ##
13657         is an omitted rest argument, only delete the token before it
13658         if that token is a comma.  Do not warn about bogus token
13659         pastes for , ## rest_arg.
13660
13661         * cpp.texi: Update.
13662         * cpp.1: Regenerate.
13663
13664 2000-08-02  Fred Fish  <fnf@be.com>
13665
13666         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
13667         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
13668         and later.
13669
13670         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
13671         Be directories to search path.
13672
13673         Remove support for __declspec(dllimport) and __declspec(dllexport).
13674         This is leftover cruft from the earlier BeOS gcc port when BeOS
13675         used Microsoft's PE object file format.
13676         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
13677         * config/i386/t-beos (winnt.o): Remove Makefile frag.
13678         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
13679         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
13680         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
13681         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
13682         (REDO_SECTION_INFO_P): Remove.
13683         (ASM_EXPORT_DECL): Remove.
13684         (ASM_DECLARE_FUNCTION_NAME): Remove.
13685         (ASM_DECLARE_OBJECT_NAME): Remove.
13686         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
13687         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
13688         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
13689         (STRIP_NAME_ENCODING): Remove.
13690
13691         Remove support for obsolete version of BeOS that is no longer
13692         supported by Be.
13693         * configure.in (i*86-*-beospe*): Remove.
13694         * config/i386/beos-pe.h: Remove.
13695
13696 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
13697             Mark Mitchell <mark@codesourcery.com>
13698
13699         * Makefile.in (OBJS): Added dce.o.
13700         (ssa.o): Updated target to include ssa.h.
13701         (flow.o): Likewise.
13702         (toplev.o): Likewise.
13703         (dce.o): Created target.
13704         * basic-block.h: Added comments.
13705         (INVALID_BLOCK): Added definition.
13706         (connect_infinite_loops_to_exit): Added declaration.
13707         Moved SSA declarations to ssa.h.
13708         * flow.c: Added inclusion of ssa.h.
13709         (struct depth_first_search_dsS, depth_first_search_ds):
13710         Added definitions.
13711         (compute_immediate_postdominators): Added definition.
13712         (connect_infinite_loops_to_exit): Likewise.
13713         (flow_dfs_compute_reverse_init): Likewise.
13714         (flow_dfs_compute_reverse_add_bb): Likewise.
13715         (flow_dfs_compute_reverse_execute): Likewise.
13716         (flow_dfs_compute_reverse_finish): Likewise.
13717         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
13718         (LABEL_P): Added definition.
13719         (JUMP_P): Likewise.
13720         (NOTE_P): Likewise.
13721         (BARRIER_P): Likewise.
13722         (JUMP_TABLE_DATA_P): Likewise.
13723         (INSN_DEAD_CODE_P): Likewise.
13724         * ssa.c: Replaced inclusions with ssa.h inclusion.
13725         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
13726         (rename_registers): Removed unnecessary variables.
13727         * ssa.h: Created by moving declarations from ssa.c and
13728         basic-block.h.
13729         * timevar.def: Defined TV_DEAD_CODE_ELIM.
13730         * toplev.c: Added ssa.h inclusion.
13731         (dump_file_index): Added DFI_dce.
13732         (dump_file): Added "dce" entry.
13733         Defined flag_ssa.
13734         (f_options): Added dce entry.
13735         * invoke.texi: Document -fdce.  Emphasize experimental status of
13736         -fssa.
13737         * dce.c: New file.
13738
13739 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
13740
13741         * cpperror.c (v_message): Split into _cpp_begin_message and
13742         v_message macro.  All callers updated.
13743         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
13744         checks here.
13745
13746         * cppfiles.c (cpp_syshdr_flags): New function.
13747         (read_include_file): Don't call cpp_output_tokens.  Call
13748         enter_file hook.
13749         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
13750         (cpp_reader_init): Don't initialize token_buffer.  Call
13751         _cpp_init_internal_pragmas.
13752         (cpp_cleanup): Don't clear token_buffer.
13753         (cpp_start_read): Don't worry about output from -D processing.
13754         Don't call cpp_output_tokens.
13755         (cpp_finish): Don't dump macros here.  Don't call
13756         cpp_output_tokens.
13757         * cppmacro.c (_cpp_dump_definition): Rename
13758         cpp_dump_definition.  Write directly to a FILE *.
13759         (dump_funlike_macro): Delete.
13760         (dump_macro_args): New.
13761
13762         * cpplex.c (TOKEN_LEN): Convert to inline function.
13763         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
13764         cpp_scan_line, _cpp_dump_list): Delete.
13765         (cpp_printf, cpp_output_list): New.
13766         (output_line_command): Don't worry about entering or leaving files.
13767         (cpp_scan_buffer): Just output each token as we hit it.
13768         (process_directive): Don't call cpp_output_tokens.
13769         (_cpp_glue_header_name): Don't use token_buffer.
13770         (output_token, dump_param_spelling): Write directly to a FILE *.
13771
13772         * cpplib.c (pass_thru_directive, dump_macro_name,
13773         pragma_dispatch, do_pragma_gcc): Delete.
13774         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
13775         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
13776         functions.
13777         (do_error, do_warning, pragma_dependency): Call
13778         _cpp_begin_message, then cpp_output_list.
13779         (cpp_register_pragma, cpp_register_pragma_space,
13780         _cpp_init_internal_pragmas): New.
13781         (do_pragma): Walk the pragmas table here.
13782         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
13783         do_pragma_dependency): Return void.
13784         (do_pragma_implementation): Moved to cppmain.c.
13785
13786         * cpplib.h: Update prototypes.
13787          (struct cpp_reader): Remove printer, token_buffer,
13788         token_buffer_size, and limit.  Add struct cb, and pragmas.
13789         (struct cpp_printer): Remove last_id and written.
13790         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
13791         CPP_ADJUST_WRITTEN): Delete.
13792         * cpphash.h: Update prototypes.
13793         (ufputs): New wrapper.
13794
13795         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
13796         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
13797         (main): Set up callbacks.  Register #pragma implementation.
13798         Dump macros from here.
13799
13800 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
13801
13802         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
13803         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
13804         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
13805         insns if they have a REG_MAYBE_DEAD note attached.
13806         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
13807         (rs6000_emit_load_toc_table): TOC loads may go dead.
13808
13809 2000-08-01  Jim Wilson  <wilson@cygnus.com>
13810
13811         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
13812         type exists before using it.  Use number of words as alignment
13813         otherwise.
13814         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
13815         ia64_va_arg): Propagate ia64_function_args changes here.
13816
13817 2000-08-01  Richard Henderson  <rth@cygnus.com>
13818
13819         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
13820         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
13821
13822 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13823
13824         From Joern Rennecke:
13825         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
13826         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
13827         unless TARGET_SH3E is set.
13828         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
13829
13830         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
13831         (ashlsi3_std): New pattern.
13832         (ashlsi3 expander): Use it for TARGET_SH3.
13833         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
13834
13835 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13836
13837         * loop.c (canonicalize_condition):  Use destination, not source to
13838         determine SET's mode.
13839
13840 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
13841
13842         * flow.c (clear_log_links): Fix typo.
13843
13844 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
13845
13846         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
13847         on targets which need more than one insn for a compare/cbranch
13848         operation.
13849
13850 2000-07-31  Jim Wilson  <wilson@cygnus.com>
13851
13852         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
13853         when computing offset.
13854
13855 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
13856
13857         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
13858
13859 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
13860
13861         * flow.c (clear_log_links): Nuke global_live_at_start and
13862         global_live_at_end data, since if the log_links stuff is invalid
13863         so is global_live_at_*.
13864
13865 2000-07-31  Richard Henderson  <rth@cygnus.com>
13866
13867         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
13868
13869 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
13870
13871         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
13872         (_cpp_get_token): Don't macro expand a just pasted token if it
13873         was pasted at no_expand_level.
13874
13875 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
13876
13877         * cppmacro.c (find_param, count_params, save_expansion):
13878         Permit 'defined' as a macro parameter name.
13879
13880 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
13881
13882         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
13883         xcpp to cpp throughout.
13884         (native): Remove unnecessary dependency on cpp.
13885
13886         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
13887         tradcpp to tradcpp0.
13888         (.i spec): Add missing output-file spec to cc1 command line.
13889         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
13890
13891 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
13892
13893         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
13894         (implicit_decl_warning): New function.
13895         (implicitly_declare): Use it.
13896         * c-typeck.c (build_external_ref): Use implicit_decl_warning
13897         to complain about implicit decls of builtins.
13898
13899         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
13900         based on pedantic && flag_isoc99, if not already set.
13901         * c-tree.h: Declare mesg_implicit_function_declaration.
13902         Prototype implicit_decl_warning.
13903
13904 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
13905
13906         * Makefile.in (ssa.o): Updated header files in dependences.
13907         * basic-block.h: Added compute_immediate_postdominators declaration.
13908         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
13909         definition.
13910         * flow.c (compute_immediate_dominators): Updated comment.
13911         (compute_immediate_postdominators): Added definition.
13912         * rtl.h (HARD_REGISTER_P): Added definition.
13913         * ssa.c: Include additional header files.
13914         (assert): Added definition.
13915         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
13916         include select hard registers.
13917         (ssa_rename_to_insert): Likewise.
13918         (ssa_rename_from_initialize): Likewise.
13919         (ssa_rename_from_lookup): Likewise.
13920         (original_register): Likewise.
13921         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
13922         include select hard reigsters.
13923         (ssa_rename_from_traverse): Likewise.
13924         (ssa_rename_from_free): Likewise.
13925         (ssa_rename_from_print): Likewise.
13926         (ssa_rename_from_print_1): Likewise.
13927         (ssa_rename_from_hash_function): Likewise.
13928         (ssa_rename_from_equal): Likewise.
13929         (ssa_rename_from_delete): Likewise.
13930         (simplify_to_immediate_dominators): Removed in favor of
13931         flow.c:compute_immediate_dominators.
13932         (find_evaluations_1): Modified to work with hard registers.
13933         (insert_phi_node): Likewise.
13934         (insert_phi_nodes): Likewise.
13935         (struct rename_set_data): Updated prev_reg comment.
13936         (create_delayed_rename): Modified to work with hard registers.
13937         (RENAME_NO_RTX): Updated comment.
13938         (apply_delayed_renames): Modified to work with hard registers.
13939         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
13940         (rename_block): Updated to use revised ssa_rename_to interface.
13941         (rename_registers): Updated to use revised ssa_rename_to and
13942         ssa_rename_from interface.
13943         (convert_to_ssa): Revised to use compute_immediate_dominators and
13944         deal with hard registers.
13945         (make_regs_equivalent_over_bad_edges): Modified to work with hard
13946         registers.  Added check for illegal unification of hard register.
13947         (make_equivalent_phi_alternatives_equivalent): Modified to work
13948         with hard registers.
13949         (compute_conservative_reg_partition): Likewise.
13950         (coalesce_if_unconflicting): Modified to work with hard registers
13951         and check for conflicting hard registers.
13952         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
13953         registers.
13954         (rename_equivalent_regs_in_insn): Modified to work with hard
13955         registers.
13956         (record_canonical_element_1): Added definition.
13957         (check_hard_regs_in_partition): Added definition.
13958         (convert_from_ssa): Added data structure deallocation and check
13959         for illegal hard register unification.
13960         (conflict_hard_regs_p): Added definition.
13961         * toplev.c (rest_of_compilation): Added comment.
13962
13963 2000-07-31  Anthony Green  <green@redhat.com>
13964
13965         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
13966
13967 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
13968
13969         * builtins.c (expand_builtin_apply): Don't defer pop during
13970         argument setup.
13971
13972 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13973
13974         * calls.c (combine_pending_stack_adjustment_and_call): Only use
13975         preferred_unit_stack_boundary when it is > 1.
13976
13977 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13978
13979         * c-common.c (init_function_format_info): Add C99 format functions
13980         in C99 mode.
13981
13982         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
13983         void' or 'register void' as being the special case of 'void' alone
13984         in a parameter list.
13985
13986         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
13987         discarding qualifiers into a plain warning.
13988
13989 2000-07-31  Kazu Hirata  <kazu@hxi.com>
13990
13991         * combine.c: Fix formatting.
13992
13993         * h8300.md: Fix formatting.
13994
13995         * local-alloc.c: Fix formatting.
13996
13997         * h8300.c (get_shift_alg): Remove the variable alg.
13998         (emit_a_shift): Rearrange code to improve readability.
13999
14000         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
14001
14002         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
14003         HImode on all architectures and a combination of HImode and SImode
14004         on H8/300H and H8/S.
14005
14006         * h8300.c (split_adds_subs): Rearrange code for conciseness.
14007
14008 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14009
14010         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
14011         in my last checkin.
14012
14013 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14014
14015         * recog.c (extract_insn): Set operand_mode according to
14016         operand if match_operand is VOIDmode.
14017
14018 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14019
14020         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
14021
14022 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
14023
14024         * c-parse.in (extdefs): Call ggc_collect between external
14025         definitions.
14026
14027 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
14028             Richard Henderson  <rth@cygnus.com>
14029
14030         * Makefile.in (OBJS): Add doloop.o.
14031         * doloop.c: New file.
14032
14033         * final.c (insn_current_reference_address): Return 0 before final.
14034         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
14035         * jump.c (any_uncondjump_p): Likewise.
14036         * loop.c (indirect_jump_in_function): Make static.
14037         (strength_reduce): Call doloop_optimize.
14038         (insert_bct, instrument_loop_bct): Remove.
14039         * loop.h (doloop_optimize): Prototype.
14040         * recog.c (split_all_insns): Split all INSN_P.
14041         * toplev.c (flag_branch_on_count_reg): Default on.
14042
14043         * config/c4x/c4x.c (c4x_optimization_options): Don't set
14044         flag_branch_on_count_reg.
14045         * config/i386/i386.c (override_options): Likewise.
14046         * config/rs6000/rs6000.c (optimization_options): Likewise.
14047
14048         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
14049         (doloop_end): New.
14050         (dbra_ge): Remove, as well as all it's splitters.
14051
14052         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
14053         (doloop_end): New.
14054
14055         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
14056         (ia64_register_move_cost): Declare.
14057         * config/ia64/ia64.c (ar_lc_reg_operand): New.
14058         (struct ia64_frame_info): Add ar_size.
14059         (ia64_compute_frame_size): Set it.
14060         (save_restore_insns): Save and restore ar.lc.
14061         (ia64_register_move_cost): New, moved from header file.  Handle
14062         application registers.
14063         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
14064         (emit_insn_group_barriers): Special case doloop_end_internal.
14065         (ia64_epilogue_uses): Mark ar.lc live at end.
14066         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
14067         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
14068         (FIRST_PSEUDO_REGISTER): Make room.
14069         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
14070         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
14071         (REG_ALLOC_ORDER): Update.
14072         (HARD_REGNO_MODE_OK): Update.
14073         (REGISTER_NAMES): Update.
14074         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
14075         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
14076         (REGNO_REG_CLASS): Update.
14077         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
14078         (REGISTER_MOVE_COST): Move out of line.
14079         (PREDICATE_CODES): Update.
14080         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
14081         (addsi3_plus1_alt, adddi3_plus1_alt): New.
14082         (shladd_elim splitter): Allow constants in the predicate.
14083         (doloop_end, doloop_end_internal): New.
14084
14085 2000-07-30  Richard Henderson  <rth@cygnus.com>
14086
14087         * genattrtab.c (struct insn_def): Add lineno member.
14088         (struct insn_ent): Likewise.
14089         (struct attr_desc): Likewise.
14090         (struct delay_desc): Likewise.
14091         (struct function_unit_op): Likewise.
14092         (struct function_unit): Likewise.
14093         (check_attr_value): Use message_with_line.
14094         (check_defs): Likewise.
14095         (expand_units): Likewise.
14096         (check_attr_test): Take a lineno argument.
14097         (gen_attr): Likewise.
14098         (gen_insn): Likewise.
14099         (gen_delay): Likewise.
14100         (gen_unit): Likewise.
14101         (main): Give it to them.
14102         (convert_set_attr_alternative): Take an insn_def argument
14103         instead of num_alt and insn_index.
14104         (convert_set_attr): Likewise.
14105         (write_test_expr): Protect INSN_ADDRESSES load
14106         with INSN_ADDRESSES_SET_P.
14107
14108 2000-07-30  Richard Henderson  <rth@cygnus.com>
14109
14110         * flow.c (init_propagate_block_info): Use pc_set.
14111
14112 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14113
14114         * i386.md (*lea_general_[123]) New insns and splits.
14115         (addsi3 to lea splitter): Handle other modes too.
14116         (shlsi3 to lea splitter): Likewise.
14117         (addhi_1_lea, shlhi_1_lea): New patterns.
14118         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
14119
14120 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14121
14122         * recog.c (general_operand, nonimmediate_operand): Accept
14123         any mode for VOIDmode CONSTANT_P operands.
14124
14125 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14126
14127         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
14128         instead of replace_rtx.
14129         * recog.c (validate_replace_rtx_subexp): New function.
14130         * recog.h (validate_replace_rtx_subexp): Declare.
14131
14132 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14133
14134         * combine.c (simplify_set, make_extraction, make_compound_operation
14135         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
14136         as force_to_mode argument.
14137
14138 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14139
14140         * combine.c (if_then_else_cond): Be sure that mode fits in
14141         HOST_WIDE_INT.
14142
14143 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14144
14145         * combine.c (record_promoted_value):  Allow bitsize of mode
14146         to be equivalent to HOST_BITS_PER_WISE_INT.
14147
14148 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14149
14150         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
14151         Do not call gen_mode_alignment when mode is BLKmode.
14152
14153 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14154
14155         * loop.c (express_from_1): Fix call of simplify_gen_binary.
14156
14157 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14158
14159         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
14160         VOIDmode implies both operands to be VOIDmode.
14161         (simplify_ternary_operation): Compute properly the mode of comparison.
14162         * combine.c (combine_simplify_rtx): Likewise.
14163
14164 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
14165
14166         * basic-block.h (struct loops): New field rc_order.
14167         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
14168         (flow_loops_free): Free rc_order.
14169         (flow_depth_first_order_compute): New parameter rc_order.
14170         (flow_loops_find): Allocate rc_order and swap usage with
14171         dfs_order.
14172
14173 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14174            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14175
14176         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
14177         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
14178         (nodb_call, return_from_epilogue): Likewise.
14179         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
14180         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
14181         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
14182         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
14183         (c4x_valid_type_attribute_p): Likewise.
14184         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
14185         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
14186
14187 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14188
14189         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
14190         and loadhi_big_constant if applicable.
14191         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
14192         and add new splitter.s
14193
14194 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14195
14196         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
14197
14198 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14199
14200         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
14201
14202 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14203
14204         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
14205
14206 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14207
14208         * config/c4x/libgcc.S (divqf3): Improve accuracy.
14209
14210 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
14211
14212         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
14213         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
14214         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
14215         (get_prev_bb_note): Likewise.
14216         (remove_scope_notes): Likewise.
14217         * flow.c (commit_one_edge_insertion): Likewise.
14218         (merge_blocks_nomove): Likewise.
14219         (verify_flow_info): Likewise.
14220         * gcse.c (insert_insn_end_bb): Likewise.
14221         * reg-stack.c (emit_swap_insn): Likewise.
14222         * ssa.c (first_insn_after_basic_block_note): New function.
14223         (insert_phi_node): Use it.
14224         (rename_block): Likewise.
14225         (eliminate_phi): Likewise.
14226         (make_regs_equivalent_over_bad_edges): Likewise.
14227         (make_equivalent_phi_alternatives_equivalent): Likewise.
14228         (for_each_successor_phi): Likewise.
14229         (convert_from_ssa): Modify phi-node deletion algorithm.
14230
14231 2000-07-29  Andreas Jaeger  <aj@suse.de>
14232
14233         * configure.in (mips*-*-linux*): Use mips*el to check for little
14234         endian MIPS, add tmake_file.
14235
14236         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
14237         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
14238         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
14239
14240 2000-07-28  Richard Henderson  <rth@cygnus.com>
14241
14242         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
14243         Sign extend mode size before negating.
14244
14245 2000-07-28  Richard Henderson  <rth@cygnus.com>
14246
14247         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
14248
14249 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
14250
14251         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
14252         (cse_insn): Likewise.
14253         (addr_affects_sp_p): Likewise.
14254         * expr.c (move_by_pieces): Likewise.
14255         (clear_by_pieces): Likewise.
14256         * gcse.c (oprs_unchanged_p): Likewise.
14257         * haifa-sched.c (sched_analyze_2): Likewise.
14258         * recog.c (offsettable_address_p): Likewise.
14259         * regclass.c (record_address_regs): Likewise.
14260         * reload.c (find_reusable_reload): Likewise.
14261         (push_reload): Likewise.
14262         (operands_match_p): Likewise.
14263         (decompose): Likewise.
14264         (find_reloads_address_1): Likewise.
14265         (find_inc_amount): Likewise.
14266         * reload1.c (elimination_effects): Likewise.
14267         * resource.c (mark_set_resources): Likewise.
14268         * flow.c (attempt_auto_inc): New function; mostly broken out
14269         of find_auto_inc.
14270         (find_auto_inc): Split into two functions and enhanced to
14271         generate POST_MODIFY.
14272         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
14273         * rtl.h (count_all_occurrences):  Declare.
14274         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
14275         defined.
14276         * rtlanal.c (count_all_occurrences): New function.
14277         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
14278         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
14279
14280         * config/ia64/ia64-protos.h (destination_operand): Declare.
14281         * config/ia64/ia64.c (destination_operand): New function.
14282         (ia64_print_operand): Handle POST_MODIFY.
14283         (rtx_needs_barrier): Likewise.
14284         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
14285         (HAVE_POST_MODIFY_REG): Define to 1.
14286         (MAX_REGS_PER_ADDRESS): Change to 2.
14287         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
14288         (LEGITIMATE_ADDRESS_REG): New helper macro.
14289         (LEGITIMATE_ADDRESS_DISP): Likewise.
14290         (PREDICATE_CODES): Add entry for destination_operand.
14291         * config/ia64/ia64.md (all mov patterns): Use destination_operand
14292         predicate for operand 0.
14293
14294 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14295
14296         * dwarf2out.c: Indent #error directive.
14297
14298         * gbl-ctors.h: Fix typo in comment.
14299         (__do_global_ctors): Prototype.
14300
14301         * gcse.c (record_one_set, pre_delete): Remove unused variables.
14302
14303         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
14304         (print_operand): Initialize variable `t'.
14305
14306 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
14307
14308         * config/arm/arm.md ("call_value"): removed constraints.
14309         Constraints are ignored in expanders.
14310         (*call_value_reg): split =rf into various constraints.
14311         (*call_value_mem): same
14312         (*call_value_symbol): same
14313         (*sibcall_value_insn): same
14314
14315 2000-07-28  Philipp Thomas  <pthomas@suse.de>
14316
14317         * install.texi (--enable-nls): Change the description of the NLS
14318         related configure options to match the current state.
14319         (--with-included-gettext): Likewise.
14320         (--enable-maintainer-mode): New description added.
14321         * extend.texi (-fstrict-prototype): Add missing '.'.
14322
14323 2000-07-27  Jim Wilson  <wilson@cygnus.com>
14324
14325         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
14326         DECL_INITIAL (decl) == NULL_TREE.
14327
14328 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
14329
14330         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
14331         on insn-attr.h with it.
14332         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
14333         * insn-addr.h: New header.
14334         (insn_addresses_): Renamed from insn_addresses.
14335         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
14336         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
14337         INSN_ADDRESSES_NEW): New macros.
14338         * genattrtab.c (write_test_expr): Use new macros.
14339         * final.c (insn_addresses, init_insn_lengths): Likewise.
14340         (align_fuzz, shorten_branches): Likewise.
14341         (final): Likewise.  Do not reject new insns if their addresses
14342         have been added to INSN_ADDRESSES.
14343         * config/arm/arm.c, config/avr/avr.c: Use new macros.
14344         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
14345         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
14346         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
14347         * config/sh/sh.c: Likewise.
14348         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
14349
14350         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
14351
14352 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
14353
14354         * gcc.c (struct prefix_list): Add member priority.
14355         (enum path_prefix_priority): Declare.
14356         (add_prefix): Replace ``first'' with ``priority''.  Append new
14357         entry but keep list in priority order.
14358         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
14359         PREFIX_PRIORITY_LAST to add_prefix.
14360         (process_command): Move include kludge - foo/stageN - to before
14361         foo/include.
14362
14363 2000-07-27  Jason Merrill  <jason@redhat.com>
14364
14365         * dwarf2out.c (gen_typedef_die): Abort if we get identical
14366         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
14367
14368 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
14369
14370         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
14371         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
14372
14373 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
14374
14375         * c-decl.c (finish_function): Don't treat 'main' specially unless
14376         flag_hosted.  In C99 mode, return 0 from 'main' unless
14377         DEFAULT_MAIN_RETURN is otherwise defined.
14378
14379         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
14380         parameters defaulting to int in an old-style function definition.
14381
14382 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14383
14384         * c-parse.in (string): For -Wtraditional, warn about string
14385         concatenation only once per line.
14386
14387 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
14388
14389         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
14390         for HI-UX/WE2 systems.
14391
14392 2000-07-24  Bruce Korb  <bkorb@gnu.org>
14393
14394         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
14395         defining the __xxx_TYPE__ macros.
14396         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
14397         * fixincl/fixlib.h: don't need to include "tm.h" anymore
14398         * fixincl/inclhack.def(type_map): now obsolete
14399
14400 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
14401
14402         * cpp.texi: Append a trailing full-stop to xrefs where needed.
14403
14404 2000-07-26  Dave Pitts  <dpitts@cozx.com>
14405
14406         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
14407         routine constants.
14408         (mvs_hash_alias): New function.
14409         (mvs_add_alias): Change argument spacing.
14410         (mvs_need_alias): Change aliasing criteria. Added documentation.
14411         (mvs_get_alias): Change to use hashed name. The hashed name prevents
14412         CSECT name collisions.
14413         (mvs_check_alias): Likewise.
14414         (handle_pragma): Change documentation.
14415         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
14416         mode from SImode to DImode.
14417         (iorhi3): Changed LTORG size for insn.
14418
14419 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
14420
14421         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
14422         mem if the address is a mode_dependent_address_p.
14423
14424 2000-07-26  Kazu Hirata  <kazu@hxi.com>
14425
14426         * h8300.c (print_operand): Print ":8" when the 'R' operand is
14427         suitable for 8-bit absolute.
14428         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
14429         (OK_FOR_U): Add a case for the 8-bit constant address on the
14430         H8/300H.
14431
14432 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
14433
14434         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
14435         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
14436         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
14437         lack of implemented alignment.
14438
14439 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
14440
14441         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
14442         cross-compiling between 64-bit and 32-bit machines.
14443
14444 2000-07-27  Richard Henderson  <rth@cygnus.com>
14445
14446         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
14447         (movhicc_astep, movhi_internal_astep): New.
14448         (movsicc_astep, movsi_internal_astep): New.
14449         (movdicc_astep, movdi_internal_astep): New.
14450         (movsfcc_astep, movsf_internal_astep): New.
14451         (movdfcc_astep, movdf_internal_astep): New.
14452         (movxfcc_astep, movxf_internal_astep): New.
14453         (cmovdi_internal_astep, cmovsi_internal_astep): New.
14454         Unify the cmov[ds]i splitters.
14455
14456 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
14457
14458         * real.c (asctoeg): Rename `error' label to unexpected_char_error
14459
14460 2000-07-26  Nick Clifton  <nickc@cygnus.com>
14461
14462         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
14463         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
14464
14465         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
14466         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
14467
14468 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
14469
14470         * c-decl.c (finish_enum): Convert enumerations that fit in an
14471         `int' to `int'.
14472         (build_enumerator): In pedantic mode, cast to `int' those that
14473         don't.
14474
14475 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
14476
14477         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
14478
14479 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14480
14481         * sh.md (cmpgtdi_t): Must be split.
14482         (cmpgtdi_t+1): New splitter.
14483
14484 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
14485
14486         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
14487         warnings for indented directives even if we are skipping.
14488
14489 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
14490
14491         * invoke.texi (strict-prototypes): Remove.
14492         * extend.texi (Deprecated Features): Add strict-prototypes.
14493         (Backwards Compatibility): New node.
14494
14495 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
14496
14497         * config/i386/i386.md (andsi_1+1): Allow HImode.
14498         (andsi_1+2): Require q_regs_operand.
14499
14500 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
14501
14502         * config/i386/i386.md (call_pop): Check operands[0],
14503         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14504         (call): Likewise.
14505         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
14506         (call_value): Likewise.
14507
14508 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
14509
14510         * toplev.c (pipe_closed): Delete.
14511         (crash_signal): New.  Generate ICE for a fatal signal.
14512         (float_signal): Call crash_signal outside a float-handler
14513         block, not abort.
14514         (main): Install crash_signal as handler for core-dumping signals.
14515
14516 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
14517
14518         * rs6000.c (print_operand, case 'T'): New case.
14519
14520         * rs6000.md (call_indirect_aix32): Convert to expander of
14521         scheduled instructions.
14522         (call_indirect_aix64): Likewise.
14523         (call_value_indirect_aix{32,64}): Likewise.
14524         (call, call_value): Invoke expanders for AIX.  Fall through to
14525         matchers for SysV.
14526         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
14527         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
14528         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
14529         only "g" constraint.
14530         (call_nonlocal_aix64): Likewise.
14531         (call_value_nonlocal_aix{32,64}): Likewise.
14532         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
14533         operands.
14534         (call_value_nonlocal_sysv): New pattern.
14535         (indirect_jump{si,di}): Use new 'T' modifier.
14536         (tablejump{si,di} matchers): Likewise.
14537         (return_internal_{si,di}): Likewise.
14538         (return_eh_{si,di}): Likewise.
14539
14540 2000-07-24  Richard Henderson  <rth@cygnus.com>
14541
14542         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
14543         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
14544         * config/ia64/ia64.md (movdi_internal): Use it.
14545
14546 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
14547
14548         * cppexp.c: Warn about unary + if -Wtraditional.
14549         * cpplex.c (lex_line): Always set BOL on the first token of a line.
14550
14551 2000-07-24  Michael Meissner  <meissner@redhat.com>
14552
14553         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
14554         unsupported macro.
14555
14556 2000-07-24  Nick Clifton  <nickc@cygnus.com>
14557
14558         * config/arm/arm.c (emit_multi_reg_push): Generate a
14559         REG_FRAME_RELEATED_NOTE that is compatable with the code in
14560         dwarf2out_debug_frame_expr.
14561
14562 2000-07-24  Jason Merrill  <jason@redhat.com>
14563
14564         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
14565         UNALIGNED_INT_ASM_OP.
14566         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
14567         a location expression.
14568         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
14569         assume indirect access if we're saving the CFA address exactly.
14570
14571         * Makefile.in (bootstrap): Move -BstageN/ to the end.
14572
14573 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
14574
14575         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
14576         as well.
14577
14578 2000-07-24  Michael Meissner  <meissner@redhat.com>
14579
14580         * invoke.texi (D30V Options): Add d30v options.
14581
14582 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
14583
14584         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
14585         needed by our gcse pass anymore.
14586         (free_pre_mem): Corresponding changes.
14587         (compute_pre_data): Do not call compute_transpout anymore.
14588
14589         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
14590         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
14591         changes.
14592
14593         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
14594         (compute_pre_data): Do it here instead.
14595
14596         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
14597         'temp_bitmap'.
14598         (pre_delete): Corresponding changes.
14599
14600 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
14601
14602         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
14603         to figure out whether or not a variable has already been emitted.
14604
14605 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
14606
14607         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
14608         instead of gen_call.
14609
14610 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
14611
14612         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
14613
14614 2000-07-23  Kazu Hirata  <kazu@hxi.com>
14615
14616         * h8300.c: Fix formatting.
14617
14618 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
14619
14620         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
14621         for `long' switch expression into a plain warning.
14622
14623         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
14624         (yylex): Don't pedwarn for "inline" in C99 mode.
14625
14626         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
14627         with %p.
14628         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
14629         ggc_alloc): Likewise.
14630         * bb-reorder.c (dump_scope_forest_1): Likewise.
14631
14632 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
14633
14634         * reload.c (find_reloads_toplev): Add new parameter
14635         "address_reloaded".
14636         (find_reloads): Add new parameter to find_reloads_toplev calls.
14637
14638 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
14639
14640         * collect2.c (main): Typo fixed.
14641         * diagnostic.c: Typo fixed.
14642         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
14643         * eh-common.h: Typo fixed.
14644         * emit-rtl.c (start_sequence): Typo fixed.
14645         * flow.c (find_label_refs): Typo fixed.
14646         (calculate_global_regs_live): Typo fixed.
14647         (mark_regno_cond_dead): Typo fixed.
14648         (create_edge_list): Typos fixed.
14649         (verify_edge_list): Typo fixed.
14650         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
14651         * loop.c (strength_reduce): Typo in function name fixed.
14652         * rtl.h: Added comments.  Typo in function name fixed.
14653         * rtlanal.c: Typo in function name fixed.
14654         (insn_dependant_p): Rename to ...
14655         (insn_dependent_p): ... this.
14656         (computed_jumo_p): Typo fixed.
14657
14658 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14659
14660         * system.h (__FUNCTION__): Wrap definition in #ifndef.
14661
14662 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
14663
14664         * rs6000.h (SIZE_TYPE): Define.
14665
14666 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
14667
14668         * ssa.c (rename_insn_1): Don't rename registers that are
14669         CLOBBERed.
14670
14671 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
14672
14673         * diagnostic.c (trim_filename, fancy_abort): Moved here from
14674         rtl.c.
14675         (fatal_function, set_fatal_function): Removed.
14676         (fatal): Don't prepare for or call the fatal_function.
14677         (diagnostic_lock, error_recursion): New.
14678         (diagnostic_for_decl, report_diagnostic): Guard against
14679         re-entering the error reporting routines.
14680         (fancy_abort): Assume function is not NULL.
14681
14682         * errors.c (fancy_abort): New.  Assume function is not NULL.
14683         * tradcpp.c (fancy_abort): Assume function is not NULL.
14684
14685         * system.h: Provide default definition of __FUNCTION__.
14686         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
14687         Always use __FUNCTION__ in definition of abort.
14688         * tree.h: Likewise.
14689         * varray.h: Likewise.
14690         * toplev.h: Likewise.  Don't prototype set_fatal_function.
14691
14692 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
14693
14694         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
14695         in 64-bit mode.
14696         * glimits.h: Don't do #if defined for ARCH_PPC.
14697
14698         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
14699         constants of size no larger than a pointer should go in the TOC.
14700         Add 'MODE' parameter.
14701         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
14702         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
14703         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
14704         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
14705         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
14706         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
14707         (rs6000_legitimize_address): Likewise.
14708         (rs6000_emit_move): Likewise.
14709         (rs6000_select_rtx_section): Likewise.
14710         (output_toc): Deal properly with outputting small constants like
14711         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
14712         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
14713         MODE parameter.  Put small constants in the TOC.
14714
14715         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
14716         easy in SImode.
14717         (rs6000_emit_move): When reload calls us with an illegitimate
14718         address, exit early.  Move the change_address calls to one place
14719         at the end of the routine.  Merge the SImode and DImode expanders.
14720         When called by reload to put an integer into a FP register, force
14721         it to memory.
14722
14723         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
14724         field.
14725         (rs6000_hash_constant): Hash mode too.
14726         (toc_hash_function): Allow for key_mode.
14727         (toc_hash_eq): Structures are different if key_mode differs.
14728         (output_toc): Add 'mode' parameter.  Save key_mode.
14729         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
14730         Pass 'mode' parameter.
14731         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
14732
14733         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
14734         for vtable references.
14735
14736         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
14737         choice, don't put integer values in FP regs.
14738
14739 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
14740
14741         * flow.c (verify_flow_info): Revamp code to verify that the
14742         head and end of each basic block are in the insn chain.
14743
14744 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
14745
14746         * gcse.c (record_one_set): Prepend instead of append onto
14747         reg_set_table, making it O(n) instead O(n^2).
14748         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
14749         Use a queue instead of a stack as worklist.
14750
14751 2000-07-20  Kazu Hirata  <kazu@hxi.com>
14752
14753         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
14754         * h8300.h (OK_FOR_T): New.
14755         (EXTRA_CONSTRAINT): Support OK_FOR_T.
14756         * h8300.md: Use inc/dec.[wl] for increment/decrement
14757         by 1 and 2 in HI and SI modes.
14758
14759 2000-07-20  Jim Wilson  <wilson@cygnus.com>
14760
14761         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
14762         larger than 14 bits.
14763
14764 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
14765
14766         * cppmacro.c (CAN_PASTE_AFTER): New macro.
14767         (count_params): Don't set GNU_REST_ARGS on anything.
14768         (save_expansion): Set PASTE_LEFT only on tokens for which
14769         CAN_PASTE_AFTER is true, or which are named operators.
14770
14771         * cpplex.c (parse_args): Distinguish between a rest argument
14772         given one empty argument, and a rest argument given zero arguments.
14773         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
14774         deletion of previous token based on that.
14775         (get_raw_token): Flatten some control structure.
14776
14777         * cpplib.h (CPP_LAST_EQ): Correct.
14778         (VOID_REST): New token flag.
14779         (GNU_REST_ARGS): Delete.
14780
14781         * tradcpp.c (main): Don't munge -D options.
14782         (make_definition): Bring -D handling in line with cpplib.
14783         (do_define): Strip all leading whitespace from macro definitions.
14784
14785 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
14786
14787         * Makefile.in (tradcpp): Depend on intl.o and version.o.
14788
14789 2000-07-20  Bruce Korb  <bkorb@gnu.org>
14790
14791         * fixincl/check.tpl: strip the platform specific types before testing
14792         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
14793         * fixincl/fixincl.tpl: use platform specific types
14794         * fixincl/fixlib.h: include the platform specific types
14795         * fixincl/inclhack.def(gnu_types): don't supply the types
14796         * fixincl/fixincl.x: regen
14797
14798 2000-07-19  Jim Wilson  <wilson@cygnus.com>
14799
14800         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
14801         GR_REGS.
14802
14803 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
14804
14805         * tradcpp.c (rescan): Do not recognize directives when the #
14806         is indented.
14807
14808 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
14809
14810         Implement C++ named operators.
14811
14812         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
14813         of operators allowed in #if and having an _EQ variant.  Add
14814         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
14815         (cpp_token flags): Add NAMED_OP.
14816         (enum node_type): Add T_OPERATOR.
14817         (struct cpp_hashnode): Add code slot to value union.
14818         * cpphash.h (spec_nodes): Remove n_defined.
14819
14820         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
14821         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
14822         (is_macro_disabled): Tweak error messages.
14823
14824         * cpplib.c (get_define_node): Disallow all named operators as
14825         macro names.  Tweak error messages.
14826         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
14827
14828         * cppinit.c (builtin_array): Add entries for the named operators.
14829         * cppexp.c (lex): Check for CPP_DEFINED token.
14830         (priority table): Add entries for CPP_MIN and CPP_MAX.
14831         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
14832
14833 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14834
14835         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
14836         larger than the array of cuids.
14837         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
14838         cuids.
14839
14840 2000-07-19  Bruce Korb  <bkorb@gnu.org>
14841
14842         * fixinc/fixincl.c:  Convert to using a table of environment variables
14843         and activate the auto-edit marker on the fixed output files.
14844         * fixinc/fixlib.h:  Define the environment table
14845         * fixinc/fixincl.sh: export the ${INPUT} dir
14846         * fixinc/check.tpl: likewise
14847
14848 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
14849
14850         * gcc.c (.h spec): Fix typo.
14851
14852 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
14853
14854         * Makefile.in: Fix tradcif.c path.
14855
14856 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
14857
14858         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
14859           macros, not five.
14860
14861         * cpphash.h (TOKEN_NAME): New macro.
14862         (_cpp_spell_operator): Deleted.
14863         (token_spellings): Now _cpp_token_spellings.
14864
14865         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
14866         * cpplex.c: Use OP and TK macros when expanding the
14867         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
14868         store the stringification of the enumeration name (CPP_CHAR,
14869         etc.) in the name slot of token_spellings.
14870         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
14871         token_spellings directly.
14872         * cpplib.c: Use TOKEN_SPELL.
14873
14874         * cpplex.c (_cpp_push_token): If the token being pushed back
14875         is the previous token in this context, just subtract one from
14876         context->posn.
14877         * cppmacro.c (save_expansion): Clear aux field when storing a
14878         placemarker.
14879
14880 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
14881
14882         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
14883         buffer, provided it is not NULL.
14884
14885 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
14886
14887         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
14888         case of invalid volatile re-declaration.
14889
14890 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
14891
14892         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
14893         (expand_call): Adjust caller.
14894
14895 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
14896
14897         * diagnostic.h (report_diagnostic): Change prototype.
14898
14899         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
14900         diagnostic_for_decl):  Change prototype.
14901         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
14902         error, warning, error_with_file_and_line,
14903         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
14904         Adjust call to report_diagnostic, diagnostic_for_decl.
14905         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
14906         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
14907
14908         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
14909         varaible argument list.
14910
14911 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
14912
14913         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
14914         moved to cppmacro.c.
14915         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
14916         dump_hash_helper): Delete.
14917         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
14918         cpp_forall_identifiers): New. Implement specialized version of
14919         Vlad's expandable hash table.
14920         (cpp_lookup): Use new functions.
14921         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
14922         implementation.
14923         * cppmacro.c: New file.
14924         * cppinit.c (dump_macros_helper): New.
14925         (cpp_finish): Iterate over the identifier table directly.
14926         * cpplex.c (parse_name): Calculate the hash of the identifier
14927         while we scan it.  Use _cpp_lookup_with_hash when we can.
14928
14929         * cpphash.h: Update prototypes.
14930         (xcnewvec, HASHSTEP): New helper macros.
14931         * cpplib.h: Update prototypes.
14932         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
14933         (cppmacro.o): New rule.
14934         (cpphash.o): Update deps.
14935
14936         * cppmain.c: Do not set pfile->printer if no_output is on.
14937
14938 2000-07-15  Neil Booth  <neilb@earthling.net>
14939
14940         * cpplib.c: Change all directive-handler functions to return
14941         void, not int.
14942         * cpphash.h: Update typedefs.
14943
14944 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
14945
14946         * configure: Regenerate.
14947
14948         * extend.texi (Extended Asm): Mention that a memory clobber
14949         does not count as a side-effect.
14950
14951         * unroll.c (copy_loop_body): Fix one instance of using host
14952         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
14953         cross-compile.
14954
14955         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
14956
14957 2000-07-17  Richard Henderson  <rth@cygnus.com>
14958
14959         * config/ia64/ia64.md (movdi): Split out load address code.
14960         New post-reload splitter for symbolic operands.
14961         (movdi_internal): Abort if we didn't split symbolic operands
14962         when we should have.
14963         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
14964         (ia64_reorg): Split insns when not optimizing.
14965         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
14966
14967 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
14968
14969         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
14970         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
14971
14972 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
14973
14974         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
14975
14976 2000-07-17  Jason Merrill  <jason@redhat.com>
14977
14978         * Makefile.in (clean): Remove libgcc directory.
14979
14980         * configure.in (-Wno-long-long check): Use higher-level macros.
14981
14982 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
14983
14984         * simplify-rtx.c (simplify_binary_operation): Recognize
14985            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
14986         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
14987            a CONST_INT, it will always be zero.
14988
14989 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
14990
14991         * loop.c (check_dbra_loop) : Return if more than one condition is
14992         present to control the loop.
14993
14994 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
14995
14996         * mips.c (mips_expand_prologue): Don't calculate the last argument
14997         register unless we need it.  When we are calculating this, make
14998         sure FUNCTION_ARG is giving us a REG.
14999
15000 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15001
15002         * flow.c (libcall_dead_p): Use single_set to verify the insn
15003         has only one set and get for analysis.
15004         (propagate_one_insn): Don't pass the PATTERN of the insn.
15005
15006 2000-07-17  Mark Klein <mklein@dis.com>
15007
15008          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
15009
15010 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
15011
15012         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
15013         * configure.in (TARGET_GETGROUPS_T): Evaluate.
15014         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
15015         of second argument of getgroups.
15016         * configure, config.in: Rebuilt.
15017
15018 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
15019
15020         * simplify-rtx.c (simplify_relational_operation): Two signed
15021         values with equal high words are less/greater than each other if
15022         their low words are less/greater when considered as unsigned.
15023
15024 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
15025
15026         * configure.in (vax-*-openbsd):  Change to new style configuration,
15027         add collect2/float_format information.
15028         * configure:  Rebuilt.
15029         * config/vax/openbsd1.h:  New.
15030         * config/vax/openbsd.h:  New.
15031         * config/vax/t-openbsd:  New.
15032
15033 2000-07-17  Chip Salzenberg  <chip@valinux.com>
15034
15035         * c-common.c (shorten_compare): Quiet warnings about unsigned
15036         comparisons with zero when they occur in a system header.
15037
15038 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
15039
15040         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
15041         update to describe current practice.
15042
15043         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
15044
15045         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
15046         references to C9X.  Change references to -fstd and -flang-isoc9x
15047         to refer to -std.
15048
15049         * c-common.c (scan_char_table): Allow "z" length modifiers on
15050         diouxXn formats.
15051         (check_format_info): Use TYPE_DOMAIN on the type matched against
15052         for "z" formats, to retrieve the language size_t rather than the
15053         internal one.
15054
15055         * c-common.c (check_format_info): Do not make a pedantic objection
15056         to the 'L' length modifier if used with a floating point type
15057         character.
15058
15059         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
15060         constants in C99 mode.
15061
15062 2000-07-17  Kazu Hirata  <kazu@hxi.com>
15063
15064         * h8300.md: Fix the format of mac.
15065         (movsi_h8300hs): Output a tab after stmac instead of a space.
15066
15067         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
15068         profitable adds/subs sequences.
15069
15070         * fold-const.c: Fix comment typos.
15071
15072 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
15073
15074         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
15075
15076 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15077
15078         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
15079
15080 2000-07-16  Neil Booth  <NeilB@earthling.net>
15081
15082         * cpplex.c: Update comments.
15083         * README.Portability: Small update.
15084
15085 2000-07-16  Neil Booth  <NeilB@earthling.net>
15086
15087         * README.Portability:  Small update.
15088
15089 2000-07-15  Richard Henderson  <rth@cygnus.com>
15090
15091         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
15092         * config/ia64/ia64.c (ia64_move_ok): New function.
15093         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
15094         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
15095
15096 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
15097
15098         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
15099         immediately following a paste operator.
15100         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
15101         (cpp_reader_init): Call it, if HOST_EBCDIC.
15102         (cpp_handle_options): Do not sort option list here.
15103         (handle_option): Rename to cpp_handle_option and export.
15104         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
15105         _cpp_get_token directly.
15106         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
15107         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
15108         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
15109         cpp_scan_line.
15110
15111 2000-07-15  Richard Henderson  <rth@cygnus.com>
15112
15113         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
15114         cast around an expression.  Tidy other unsigned tests.
15115
15116 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
15117
15118         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
15119         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
15120         (v_message_with_decl): Rename to ...
15121         (format_with_decl): ... this. Tweak
15122         (diagnostic_for_decl): New function.
15123         (fatal_io_error): Use verbatim in lieu of notice.
15124         (announce_function): Use verbatim.
15125         (default_print_error_function): Likewise.
15126         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
15127         infratructure.
15128
15129 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15130
15131         * mips.c (function_arg_pass_by_reference): Don't do automatic
15132         aggregate initialization.
15133         (machine_dependent_reorg): Initialize variable `mode'.
15134
15135         * mips.md (absdi2): Change variable `regno1' to unsigned int.
15136         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
15137         conflicts with sys/param.h macro of the same name.
15138         (reload_outdi): Likewise.
15139
15140 2000-07-15  Michael Meissner  <meissner@redhat.com>
15141
15142         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
15143         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
15144         create a new node instead.
15145
15146 2000-07-15  Neil Booth  <NeilB@earthling.net>
15147
15148         * README.Portability: Correct example about calling a function
15149         through a pointer to function.  Format wide paragraphs.
15150
15151 2000-07-15  Michael Meissner  <meissner@redhat.com>
15152
15153         * README.Portability: Update integer suffixes and function
15154         prototype sections.
15155
15156 2000-07-15  Neil Booth  <NeilB@earthling.net>
15157
15158         * README.Portability: Small update.
15159
15160 2000-07-15  Neil Booth  <NeilB@earthling.net>
15161
15162         * README.Portability: New file.
15163
15164 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
15165
15166         * INSTALL: Give special instructions for building GCC on Irix 6.
15167         * config/mips/x-iris6 (CC): Don't set it.
15168         (OLDCC): Likewise.
15169
15170 2000-07-14  Jason Merrill  <jason@redhat.com>
15171
15172         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
15173         register in the stack and later in another register, use the new
15174         register.
15175
15176 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
15177
15178         * config/mips/mips.md: (absdi2): Handle sign_extend for
15179         second operand.
15180
15181 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
15182
15183         * cpplib.c (do_pragma_dependency): Tidy warning messages.
15184
15185 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
15186
15187         * .cvsignore: Correct typo.
15188
15189 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
15190
15191         * .cvsignore: Add generated YACC files.
15192         * objc/.cvsignore: New file.
15193
15194 2000-07-14  Neil Booth  <NeilB@earthling.net>
15195
15196         * cpplex.c (adjust_column): New funcion.
15197         (skip_whitespace): Use it.
15198         (skip_block_comment): Use it, and warn about /*/* with
15199         -Wcomments.
15200
15201 2000-07-14  Neil Booth  <NeilB@earthling.net>
15202
15203         * cpphash.c (struct macro_info): Add new members.
15204         (_cpp_free_definition): Delete the macro directly.
15205         (count_params): Return void, with first token of
15206         expansion in struct macro_info on success.
15207         (parse_define): Return int.  Hoist syntax checking from
15208         save_macro_expansion.  Leave call to save_expansion to
15209         _cpp_create_definition.
15210         (alloc_macro): Needs just 2 arguments.
15211         (free_macro): Delete.
15212         (save_expansion): Don't perform syntax check.
15213         (_cpp_create_definition): Call save_expansion.
15214
15215 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15216
15217         * genrecog.c (write_header): Split long string.
15218
15219         * cpphash.c (macro_info): Don't use the `signed' keyword.
15220
15221         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
15222
15223 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
15224
15225         * calls.c (stored_args_map): New variable.
15226         (check_sibcall_argument_overlap_1): New.
15227         (check_sibcall_argument_overlap): New.
15228         (expand_call): Initialize stored_args_map.
15229         Call check_sibcall_argument_overlap.
15230
15231 2000-07-13  Bruce Korb  <bkorb@gnu.org>
15232
15233         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
15234         (emit_gnu_type): utility procedure for gnu_type_fix
15235         (gnu_type_fix): implement various pre-processor guards around
15236         standard types so these types can be defined over and over
15237         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
15238         types alluded to above will have GNU-compliant base types
15239         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
15240         * fixinc/inclhack.def: add test_text entries and utilize the new
15241         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
15242         * fixinc/fixincl.x: regenerate
15243
15244 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
15245
15246         * diagnostic.c (vline_wrapper_message_with_location,
15247         v_message_with_file_and_line, v_error_with_file_and_file,
15248         v_error_for_asm, v_warning_for_asm, vfatal,
15249         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
15250         vsorry, verror, vwarning, vpedwarn): Remove.
15251         (diagnostic_for_asm): New function.
15252         (pedwarn, error, warning, pedwarn_with_file_and_line,
15253         error_with_file_and_line, warning_with_file_and_line, sorry,
15254         error_for_asm, warning_for_asm, fatal): Reimplement.
15255         (finish_diagnostic): Clear diagnostic info as well.
15256
15257 2000-07-13  Neil Booth  <NeilB@earthling.net>
15258
15259         * c-common.h (flag_digraphs): New.
15260         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
15261         * c-lex.c (yylex): Use flag_digraphs to decide whether to
15262         honour digraphs.
15263
15264 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
15265
15266         * gcc.c (do_spec_1): Add new %B operator.
15267         (set_input): Prepare for %B.
15268
15269         (link_command_spec): Move up with the other tm.h-
15270         overrideable specs.  Factor out the portion conditional on
15271         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
15272         (struct compiler): Just have a single spec string.  All users
15273         updated.
15274         (default_compilers): Remove unnecessary braces.
15275         (static_specs): Update.
15276
15277         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
15278         named specs.
15279         (C and assembly specs): Use the new named specs, as appropriate.
15280
15281         * objc/lang-specs.h: Use the new named specs.
15282         Remove unnecessary braces.
15283
15284 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15285
15286         * gcc.c (execute): If a subprocess gets a fatal signal, report
15287         strsignal() of the signal number, and ask for a bug report.
15288         Do not do this for SIGPIPE if there's already been an error.
15289
15290         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
15291         Delete pipe_closed.
15292
15293         * tradcif.c: Remove.
15294
15295 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15296
15297         * final.c (profile_function): Do not emit profile counters in
15298         the data section, if NO_PROFILE_COUNTERS is defined.
15299         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
15300         FUNCTION_PROFILER.
15301
15302         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
15303         (FUNCTION_PROFILER): Just emit a call to mcount.
15304
15305 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15306
15307         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
15308
15309         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
15310         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
15311         traditional, lang_chill, or lang_fortran.
15312
15313         * cppfiles.c: #undef strcmp to suppress warning about macros
15314         used without arguments.
15315         (_cpp_execute_include): Use f, not fname, in "No include path"
15316         error.
15317         (_cpp_pop_file_buffer): New function.
15318         * cpplib.c: Don't include <sys/mman.h>.
15319         (cpp_push_buffer): Set line_base and lineno in new buffer.
15320         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
15321
15322         * cpplex.c: Move all prototypes and structure declarations to the
15323         top of the file.  Properly parenthesise some macro arguments.
15324         (cpp_scan_line): New function.
15325         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
15326         don't need to walk up the stack counting.
15327
15328 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15329
15330         * c-common.c (combine_strings): Emit a pedantic warning when a
15331         string length is greater than the minimum ANSI C is required
15332         to support.
15333
15334 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
15335
15336         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
15337         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
15338
15339 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15340
15341         * c-decl.c (define_label): Warn about identifier conflicts with
15342         labels in traditional C.
15343
15344         * c-parse.in (unop +): Warn about the unary plus operator for
15345         traditional C.
15346
15347         * c-typeck.c (store_init_value): Warn about automatic aggregate
15348         initialization for traditional C.
15349
15350         * invoke.texi (-Wtraditional): Document new warnings.
15351
15352 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15353
15354         * Makefile.in (c-errors.o): Fix thinko in dependency.
15355
15356 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15357
15358         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
15359         -traditional, -ftraditional, or -traditional-cpp was given.
15360         Do not pass -traditional to the preprocessor.
15361         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
15362         preprocessor does it automatically.
15363         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
15364
15365         * ch/lang-specs.h: Always use tradcpp.  Do not pass
15366         -traditional, -trigraphs, or -pedantic to the preprocessor.
15367         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
15368         _LANGUAGE_FORTRAN.
15369
15370 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
15371
15372         * cppexp.c (LOGICAL): Delete macro.
15373         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
15374         and && directly.
15375
15376         * cpphash.c (HASHSIZE): Increase to 4096.
15377         (struct hashdummy): Add hash field.
15378         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
15379         the string values using memcmp.
15380         (cpp_lookup): Set dummy.hash.
15381
15382 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
15383
15384         * configure.in (m88k-openbsd): Express configuration using new fragment
15385         style.
15386         * configure: Rebuilt.
15387         * m88k/aout-dbx.h: New.
15388         * m88k/openbsd.h: New.
15389         * m88k/xm-openbsd.h: New.
15390
15391 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15392
15393         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
15394
15395 2000-07-12  Richard Henderson  <rth@cygnus.com>
15396
15397         * reload.c (push_secondary_reload): Make sure to add the new
15398         reload at the end, after acquiring secondary memory.
15399
15400 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15401
15402         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
15403
15404         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
15405         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
15406
15407         * c-parse.in (stmt): Delete unused variables.
15408
15409         * convert.c (convert_to_vector): Likewise.
15410
15411         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
15412
15413         * tree.c (finish_vector_type): Prototype.
15414
15415 2000-07-12  Bruce Korb  <bkorb@gnu.org>
15416
15417         * fixinc/fixfixes.c: use xmalloc
15418         * fixinc/fixincl.c(initialize): set program name for xmalloc
15419         * fixinc/fixlib.c(must_malloc): obsolete
15420         (is_cxx_header): no longer used - disabled
15421         (skip_quote): inserted and disabled for future use
15422         * fixinc/fixlib.h: reflects above
15423         * fixinc/fixtests.c: removed dinkleberries
15424
15425 2000-07-12  Neil Booth  <NeilB@earthling.net>
15426
15427         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
15428         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
15429
15430         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
15431         struct toklist_dummy): New.
15432         (cpp_free_definition): Free macros with free_macro.
15433         (count_params): Don't save paramter spellings.  Save macro
15434         information in a struct macro_info.
15435         (parse_define): Don't allocate a token list.
15436         (save_expansion): Allocate the macro's token list, and
15437         save parameter spellings if necessary.  Use TOKEN_SPELL.
15438         (cpp_create_definition): Make list const.
15439
15440 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15441
15442         * c-typeck.c (pedwarn_c99): Move to
15443         * c-errors.c: ... Here.
15444         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
15445         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
15446         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
15447         (c-errors.o): List dependency.
15448
15449 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
15450
15451         * c-parse.c: Remove.
15452         * c-parse.h: Likewise.
15453         * c-parse.y: Likewise.
15454         * objc/objc-parse.c: Likewise.
15455         * objc/objc-pasre.y: Likewise.
15456
15457 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
15458
15459         * gcc.texi: Fix minor typos
15460         * extend.texi: Fix minor typos
15461
15462 2000-07-11  Marc Espie <espie@openbsd.org>
15463
15464         * collect2.c (main): Recognize .lo as object files.
15465
15466 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
15467
15468         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
15469         true.
15470
15471         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
15472         with MAP_ANONYMOUS and MAP_ANON.
15473         * configure, config.in: Rebuilt.
15474
15475 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15476
15477         * diagnostic.c (save_output_state): Remove.
15478         (restore_output_state): Likewise.
15479         (clear_text_info): New function.
15480         (clear_diagnostic_info): Likewise.
15481         (output_text_length, is_starting_newline, output_prefix,
15482         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
15483         prefixing_policy, output_buffer_ptr_to_format_args): New macros
15484         (set_real_maximum_length, output_set_maximum_length,
15485         output_set_prefix, output_get_prefix, output_set_maximum_length,
15486         output_destroy_prefix, init_output_buffer,
15487         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
15488         output_add_newline, output_add_character, output_add_space,
15489         output_append_r, output_append, wrap_text, output_format,
15490         output_do_printf, output_printf, output_do_verbatim,
15491         output_verbatim, verbatim): Use them.
15492         (output_clear): Split into cleat_text_info and
15493         clear_diagnostic_info.
15494         (struct output_state): Move to...
15495
15496         * diagnostic.h: ...Here
15497         (struct output_buffer): Adjust.
15498
15499 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
15500
15501         * cpplex.c (parse_name): No longer inline (premature optimization).
15502         (do_pop_context): Fold into pop_context.
15503         (pop_context): Returns int.
15504         (lex_next): Hoist test for end of directive into pop_context.
15505         (push_macro_context): Returns int; takes just reader and token.
15506         Hoist test for excessive nesting to caller.
15507         (push_arg_context): Returns void; takes just reader and token.
15508         Do not call stringify_arg or get_raw_token.
15509         (get_raw_token): Convert tail recursion through push_arg_context
15510         to a loop at this level.  Call stringify_arg here if appropriate.
15511         (maybe_paste_with_next): Convert tail recursion to a while loop.
15512         Hoist test of paste_level to caller.
15513
15514         (stringify_arg): Push arg context at beginning.
15515         (cpp_get_token): Split out core into _cpp_get_token.  Call
15516         process_directive here.  Throw away CPP_PLACEMARKER tokens.
15517         (_cpp_get_token): Convert tail recursion through
15518         push_macro_context to a loop at this level.
15519         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
15520         _cpp_get_raw_token): Use _cpp_get_token.
15521         (_cpp_skip_rest_of_line): Drop the context stack directly; do
15522         not call pop_context.
15523         (_cpp_run_directive): Call lex_next directly.
15524
15525         * cpphash.h: Prototype _cpp_get_token.
15526         * cppexp.c (lex): Use it.
15527         * cpphash.c (parse_define): Use it.
15528         * cpplib.c (get_define_node, do_undef, parse_include,
15529         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
15530         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
15531         parse_ifdef, validate_else): Use it.
15532         (cpp_push_buffer): Tweak error message; abort if anyone tries
15533         to push a buffer while macro expansions are stacked.
15534
15535 2000-07-11  Donn Terry  <donnte@microsoft.com>
15536
15537         * cpplex.c (free_macro_args, save_token): Cast arg of free
15538         and/or xrealloc to PTR.
15539         (_cpp_init_input_buffer): Clear all fields of the base context.
15540
15541 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
15542
15543         * gensupport.c (process_rtx): Make rtl checking stop
15544         complaining about the define_insn while it is being
15545         converted from a define_insn_and_split.
15546
15547 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
15548
15549         * config/mips/mips.c (simple_memory_operand): Access the
15550         INTVAL of the address, not it's containing MEM.
15551
15552 2000-07-11  Bruce Korb  <bkorb@gnu.org>
15553
15554         * fixinc/fixtests.c(double_slash): obsolete
15555         (else_endif_label): likewise
15556         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
15557         (libc1_ifdefd_memx): correct initial comment
15558         and omit the #if/#endif pair from the memxxx declarations
15559         * fixinc/fixincl.x: regen
15560
15561 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15562
15563         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
15564
15565 2000-07-11  Neil Booth  <NeilB@earthling.net>
15566
15567         * cpp.texi: Update.
15568
15569 2000-07-11  Neil Booth  <NeilB@earthling.net>
15570
15571         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
15572         (handle_option): Set digraphs according to standard.
15573         Merge OPT_lang_c89 handler with OPT_std_c89.
15574
15575         * cpplex.c: (lex_line, can_paste): Honour digraphs in
15576         accordance with the digraphs flag.
15577
15578         * cpplib.h: (struct cpp_options): New option digraphs.
15579
15580 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
15581             Bruce Korb  <bkorb@gnu.org>
15582
15583         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
15584         * fixinc/fixincl.x: Regenerate.
15585         * fixinc/tests/base/testing.h: Add testcase.
15586
15587 2000-07-10  Richard Henderson  <rth@cygnus.com>
15588
15589         * config/ia64/ia64.c (got_symbolic_operand): New.
15590         (symbolic_operand, move_operand): Revert 0701 change.
15591         * config/ia64/ia64.h (PREDICATE_CODES): Update.
15592         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
15593         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
15594         split the offset into a 14-bit low part instead of a 13-bit low part.
15595         (load_fptr): Mark the mem as unchanging.
15596         (load_symptr): Use got_symbolic_operand.
15597
15598 2000-07-10  Nick Clifton  <nickc@cygnus.com>
15599
15600         * libgcc2.c (next_stack_level): Cast result of computation to
15601         (void **) so that the assignment does not generate a warning.
15602
15603 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
15604
15605         * flags.h : Add new variable flag_single_precision_constant.
15606         * toplev.c (display_help) : Add -fsingle-precision-constant option.
15607         (flag_single_precision_constant): New.
15608         * c-lex.c (yylex): Convert floating point constant to single
15609         precision constant.
15610         * invoke.texi : Add documentation for this new option.
15611
15612 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
15613
15614         * diagnostic.c (output_octal): Second parameter is unsigned.
15615         (output_long_octal): Likewise.
15616         (output_hexadecimal): Likewise.
15617         (output_long_hexadecimal): Likewise.
15618         (output_format): Adjust arguments extraction. Tweak.
15619         (output_verbatim, verbatim): End variable argument list.
15620         (report_diagnostic): Improve documentation.
15621
15622 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
15623
15624         * c-common.h (build_stmt): Declare.
15625         (build_continue_stmt): Likewise.
15626         (build_break_stmt): Likewise.
15627         (build_return_stmt): Likewise.
15628
15629         * c-decl.c (do_case): Rewrite to do what previously done in
15630         c-parse.in.
15631
15632         * c-semantics.c (build_stmt): Define.
15633         (build_return_stmt): Likewise.
15634         (build_break_stmt): Likewise.
15635         (build_continue_stmt): Likewise.
15636         (build_case_label): Likewise.
15637
15638         * c-parse.in (BREAK): Change to build tree, then generate RTL.
15639         (CONTINUE): Likewise.
15640         (RETURN): Likewise.
15641         (CASE): Likewise.
15642         (DEFAULT): Likewise.
15643
15644         * c-parse.y: Regenerate.
15645         * c-pasre.c: Likewise.
15646
15647 2000-07-09  Jason Merrill  <jason@redhat.com>
15648
15649         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
15650
15651         * tree.h (STRIP_NOPS): Check for error_mark_node.
15652         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
15653         (dwarf2out_*): Remove duplicate declarations.
15654
15655         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
15656         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
15657
15658 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
15659
15660         * diagnostic.c (wrap_text): New function.
15661         (maybe_wrap_text): Likewise.
15662         (output_add_string): Use it.
15663         (output_format): Likewise.
15664         (count_error): Use verbatim instead of notice.
15665         (report_error_function): Likewise. Don't use plain fprintf.
15666         (finish_diagnostic): New function.
15667         (output_do_verbatim): Tweak.  Commonalize functionalities in
15668         output_verbatim and verbatim.
15669         (output_verbatim): Adjust.
15670         (verbatim): Likewise.
15671         (report_diagnostic): Define.
15672
15673         * diagnostic.h (report_diagnostic): Prototype.
15674
15675 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
15676
15677         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
15678
15679 2000-07-09  Neil Booth  <NeilB@earthling.net>
15680
15681         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
15682         IShspace, ISspace: Update.
15683
15684         * cppinit.c: ISTABLE: Update.
15685         V: New.
15686
15687         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
15688         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
15689         (skip_block_comment, skip_line_comment, parse_string,
15690         lex_line): Use is_vspace rather than IS_NEWLINE.
15691         (skip_whitespace, lex_line): Clean up to use is_nvspace.
15692         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
15693         gets a BOL flag.
15694         (lex_next): Unconditionally stop if within a directive.
15695         Treat directives within macro invocations as directives
15696         (after parse_args emits error), not as the argument.
15697
15698 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
15699
15700         * diagnostic.c (diagnostic_args): New macro.
15701         (diagnostic_msg): Likewise.
15702         (output_formatted_integer): Likewise.
15703         (output_state): New data type.
15704         (digit_buffer): Make global.
15705         (output_add_integer): Rename to output_decimal. Squeeze
15706         digit_buffer.
15707         (output_long_decimal, output_unsigned_decimal,
15708         output_long_unsigned_decimal, output_octal, output_long_octal,
15709         output_hexadecimal, output_long_hexadecimal): New functions.
15710         (output_append_r): New function.
15711         (output_append): Tweak.
15712         (output_flush_on): Rename to output_to_stream.
15713         (output_format): Change prototype.  Improve documentation. Handle
15714         more format specifiers.
15715         (build_location_prefix): Rename to context_as_prefix.
15716         (output_notice): Rename to output_do_printf.
15717         (output_printf): Tweak.
15718         (line_wrapper_printf): Likewise.
15719         (vline_wrapper_message_with_location): Adjust call to renamed
15720         functions.
15721         (v_message_with_decl): Likewise.
15722         (default_print_error_function): Likewise.
15723         (save_output_state): New function.
15724         (restore_output_state): Likewise.
15725         (output_do_verbatim): Likewise.
15726         (output_verbatim): Define.
15727         (verbatim): Likewise.
15728
15729         * diagnostic.h (printer_fn): Change return type from void to int.
15730         Improve documentation.
15731         (output_add_integer): Rename to output_decimal.
15732         (output_flush_on, output_format): Don't export.
15733         (output_verbatim, verbatim): Declare.
15734
15735 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
15736
15737         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
15738         Check whether c divides op1 exactly if operation is not
15739         multiplication.
15740
15741 2000-07-08  Richard Henderson  <rth@cygnus.com>
15742
15743         * final.c (final): Do not abort when reg-stack introduces
15744         a new insn.
15745
15746 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
15747
15748         * cpplib.h (struct cpp_name): Now struct cpp_string.
15749         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
15750         CPP_HEADER_NAME): Change to type S.
15751         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
15752         field, a cpp_hashnode *.  All references to val.name updated
15753         to use val.str or val.node as appropriate.
15754         (struct cpp_reader): Add spec_nodes field.
15755         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
15756
15757         * cpphash.h (struct spec_nodes): New.
15758         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
15759         val.str.  All references to 'spelling > SPELL_NONE' updated to
15760         match.
15761
15762         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
15763         pfile->buffer->inc are not NULL before dereferencing them.
15764
15765         * cpplex.c (parse_name): Take a pointer to the current token,
15766         plus current position and limit as args; return the new
15767         position; don't copy the text of a name into the string
15768         buffer, instead call cpp_lookup and store the node pointer.
15769         If extending a token, copy out the text of the old into a
15770         scratch buffer, append the new, look that up and store the new
15771         node pointer.  Inline.
15772         (maybe_paste_with_next): If the result of paste is a NAME,
15773         then look up the pasted text and store its node pointer.
15774         (lex_line): Adjust for new parse_name interface.
15775         Check for L"str", L'str' using spec_nodes->n_L.
15776         (spell_token): SPELL_IDENT tokens have their spelling in
15777         val.node->name.  Handle SPELL_STRING tokens that don't have
15778         string delimiters.
15779         (_cpp_expand_name_space,
15780         (can_paste): Check for L ## "str" using spec_nodes->n_L.
15781         (cpp_get_token, special_symbol): No need to call cpp_lookup.
15782         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
15783         return 1=equal 0=not, not a tristate.
15784
15785         * cpphash.c (var_args_str): Delete.
15786         (find_param): Compare node fields directly.
15787         (is__va_args__): Use CPP_PEDANTIC.  Just compare
15788         token->val.node with spec_nodes->n__VA_ARGS__.
15789         (dump_funlike_macro): Don't use var_args_str.
15790
15791         * cpplib.c (_cpp_check_directive): Just walk through
15792         spec_nodes->dirs comparing pointers.
15793         (get_define_node, do_pragma_poison, detect_if_not_defined,
15794         parse_ifdef): The identifier has already been looked up.
15795         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
15796         node.
15797         (do_if): Only call detect_if_not_defined at beginning of file.
15798         (_cpp_parse_assertion): Only copy string pointers for
15799         SPELL_STRING tokens.
15800         (pragma_dispatch): Take a node pointer and examine its name
15801         field.
15802         (_cpp_init_stacks): Also initialize the spec_nodes structure.
15803
15804         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
15805         _cpp_init_macros.
15806         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
15807         reverse order from the corresponding _cpp_init_* routines.
15808
15809         * cppexp.c (parse_number, parse_charconst, parse_defined,
15810         lex): Check val.node->type instead of calling cpp_defined.
15811         Use spec_nodes entries where appropriate.
15812
15813         * fix-header.c, scan-decls.c: Update for interface changes.
15814
15815 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
15816
15817         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
15818         emitting aux_truncdfsf2.
15819
15820 2000-07-03  Donn Terry  (donnte@microsoft.com)
15821
15822         * cppinit.c (print_help): split overlong line into ISO C89
15823         maximum chunks.
15824
15825 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
15826
15827         * cppexp.c: Update all code for new lexer interface.
15828         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
15829         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
15830         * cpplex.c (token_names): Trim leading CPP_ from names; make
15831         the strings unsigned.
15832         (_cpp_spell_operator): New.
15833         (is_macro_disabled): Disable all macros if rescanning
15834         preprocessed text.
15835         (_cpp_get_directive_token): Remove.
15836
15837         * cppinit.c: Don't set no_macro_expand.
15838         * cpplib.c (read_line_number, do_line): Check only for EOF,
15839         not VSPACE.
15840         * cpphash.h: Update prototypes.
15841         * cpplib.h (CPP_VSPACE): Remove.
15842         (struct cpp_reader): Remove no_macro_expand.
15843
15844 2000-07-08  Neil Booth  <NeilB@earthling.net>
15845
15846         * cpphash.c (is__va_args__): New function.
15847         (count_params): Fix line reported in error messages.  Use
15848         is__va_args__.  Don't return ')' on error.  Flag GNU style
15849         rest args macro definitions.
15850         (parse_define): Check macro name is not __VA_ARGS__.
15851         (save_expansion): Check identifier in non-varargs-macro is
15852         not __VA_ARGS__.  Don't flag GNU_VARARGS.
15853         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
15854         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
15855          than per-token GNU_VARARGS.
15856         * cpplib.h (GNU_VARARGS): Remove.
15857         (GNU_REST_ARGS): New.
15858
15859 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
15860
15861         * i386.md (call_pop, call, call_value_pop): Do not set
15862         current_function_uses_pic_offset_table for calls to static
15863         functions or indirect calls.
15864
15865 2000-07-07  Jim Wilson  <wilson@cygnus.com>
15866
15867         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
15868         is_predicate_reg, then take max write_count of register pair.
15869
15870 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15871
15872         * tradcpp.c (main): Rename label `include' to `add_include' to
15873         avoid conflicts with variable `include' in traditional C.
15874
15875 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
15876
15877         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
15878
15879 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
15880
15881         * sibcall.c (uses_addressof): Add INMEM argument, check for
15882         current_function_internal_arg_pointer outside of MEM rtxs in addition
15883         to ADDRESSOFs.
15884         (sequence_uses_addressof): Update caller.
15885
15886 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
15887
15888         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
15889         and friends.
15890
15891 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15892
15893         * system.h (UNION_INIT_ZERO): New macro for initializing union
15894         members in structs.
15895
15896         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
15897
15898 2000-07-07  Neil Booth  <NeilB@earthling.net>
15899
15900         * cpp.texi: Update.
15901
15902 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
15903
15904         * final.c (final): Detect out of bounds array access to
15905         the insn_lengths array.
15906
15907 2000-07-07  Kazu Hirata  <kazu@hxi.com>
15908
15909         * fold-const.c (fold): Fix a comment typo.
15910
15911 2000-07-07  Neil Booth  <NeilB@earthling.net>
15912
15913         * cpp.texi: Update to new lexer.
15914
15915 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
15916
15917         * tradcpp.c: New file.
15918         * tradcif.y: New file.
15919         * tradcif.c: New generated file.
15920
15921         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
15922         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
15923         dependencies of C.  Install tradcpp from install-common, in
15924         $(libsubdir).
15925
15926 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
15927
15928         * cppinit.c: Include cppdefault.h.  Refer to
15929         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
15930         to GCC_INCLUDE_DIR and its length.
15931         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
15932         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
15933         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
15934         cppdefault.h.
15935         (include_defaults_array): Move to cppdefault.c.
15936
15937         * cppdefault.h: New file.
15938         * cppdefault.c: New file.
15939
15940         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
15941         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
15942         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
15943         this file.
15944
15945 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15946
15947         * reload.c (push_reload): When seeing if can reuse a register,
15948         check extra registers against widest of INMODE and OUTMODE.
15949
15950 2000-07-06  Neil Booth  <NeilB@earthling.net>
15951
15952         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
15953         based on full length of predicate.
15954
15955 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
15956
15957         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
15958         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
15959
15960 2000-07-05  Kazu Hirata  <kazu@hxi.com>
15961
15962         * h8300-proto.h: Fix formatting.
15963         * h8300.c: Likewise.
15964         * h8300.h: Likewise.
15965
15966 2000-07-05  Jim Wilson  <wilson@cygnus.com>
15967
15968         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
15969         CCmode.
15970
15971 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
15972
15973         * invoke.texi: Fix minor typos
15974         * md.texi: Fix minor typos
15975
15976 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
15977
15978         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
15979
15980 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
15981
15982         * cpplex.c: Don't include sys/mman.h.
15983         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
15984
15985         * cpplib.c: Include sys/mman.h and obstack.h.
15986         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
15987         obstack.
15988         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
15989         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
15990         bother freeing if stack entries (they will be freed with their buffer).
15991         (do_endif): Free if stack entries from the buffer obstack.
15992         (push_conditional): Allocate if stack entries from the buffer obstack.
15993
15994         (find_answer): Rename to _cpp_find_answer.
15995         (do_assert, do_unassert): Update.
15996
15997         * cpphash.h: Update prototypes.
15998         (xobnew): New convenience macro.
15999         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
16000         Update comments.
16001         (struct cpp_hashnode): Remove disabled field.
16002
16003         * cppinit.c: Don't include hashtab.h or splay-tree.h.
16004         (report_missing_guard): Moved to cppfiles.c.
16005         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
16006         cpp_init_includes.
16007         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
16008         cpp_cleanup_includes.  Don't destroy hashtab or
16009         all_include_files here.
16010         (cpp_finish): Use _cpp_report_missing_guards.
16011
16012         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
16013         (_cpp_init_include_table): Rename _cpp_init_includes.
16014         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
16015
16016         * cppexp.c (parse_assertion): Update for new name of
16017         find_answer.
16018
16019         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
16020
16021 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
16022
16023         * cpplib.c (do_ident): s/VSPACE/EOF/
16024
16025 2000-07-05  Neil Booth  <NeilB@earthling.net>
16026
16027         * cpplex.c: Fix trigraph replacement within strings.
16028
16029 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16030
16031         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
16032
16033         * xcoffout.c (assign_type_number): Constify.
16034         (xcoffout_source_file): Add static prototype.  Don't needlessly
16035         cast away const-ness.
16036
16037 2000-07-04  Jason Merrill  <jason@redhat.com>
16038
16039         * frame.h (frame_state): Move base_offset to end.
16040
16041 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
16042
16043         * calls.c (emit_library_call_value_1): Revert previous change.
16044
16045 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
16046
16047         * fix-header.c (struct partial_proto): Remove unnecessary fields.
16048         (recognized_extern, recognized_function, read_scan_file):
16049         Update for new scheme.
16050         (check_protection): It's still a multiple include guard even
16051         if it doesn't always trigger.
16052         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
16053         new scheme.
16054         * scan.h: Declare struct cpp_token.  Update prototypes.
16055
16056 2000-07-03  Neil Booth  <neilb@earthling.net>
16057             Zack Weinberg  <zack@wolery.cumb.org>
16058
16059         Complete overhaul of the lexer and macro expander.
16060
16061         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
16062         arg, arglist, argdata, reflist, collect_objlike_expansion,
16063         collect_funlike_expansion, collect_params,
16064         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
16065         unsafe_chars, macarg, compare_defs, special_symbol,
16066         scan_arguments, stringify, funlike_macroexpand,
16067         _cpp_quote_string, monthnames): Delete.
16068         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
16069         _cpp_create_definition, _cpp_dump_definition,
16070         dump_hash_helper): Adjust.
16071         (find_param, count_params, parse_define, var_args_str,
16072         check_macro_redefinition, save_expansion): New.
16073
16074         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
16075         parse_string, output_line_command, trigraph_replace,
16076         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
16077         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
16078         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
16079         _cpp_skip_rest_of_line): Modify.
16080
16081         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
16082         find_position, null_warning, bump_column, expand_name_space,
16083         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
16084         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
16085         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
16086         _cpp_prescan): Delete.
16087
16088         (dump_param_spelling, process_directive, lex_next,
16089         is_macro_disabled, stringify_arg, expand_context_stack,
16090         output_token, make_string_token, alloc_number_token,
16091         special_symbol, duplicate_token, maybe_paste_with_next,
16092         can_paste, prevent_macro_expansion, restore_macro_expansion,
16093         get_temp_token, release_temp_tokens, quote_string,
16094         token_names, token_spellings, _cpp_expand_name_space,
16095         _cpp_glue_header_name, _cpp_reserve_name_space,
16096         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
16097         placemarker_token, eof_token, cpp_context, macro_args,
16098         get_raw_token, parse_arg, parse_args, save_token,
16099         push_arg_context, push_macro_context, pop_context,
16100         do_pop_context, free_macro_args, _cpp_get_line,
16101         _cpp_run_directive): New.
16102
16103         * cpplib.c (validate_else, parse_include, push_conditional,
16104         pass_thru_directive, read_line_number, parse_ifdef,
16105         detect_if_not_defined, _cpp_check_directive, do_define,
16106         do_undef, do_include, do_import, do_include_next, do_error,
16107         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
16108         top_pragmas, do_pragma_gcc, do_pragma_implementation,
16109         do_pragma_poison, do_pragma_system_header,
16110         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
16111         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
16112         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
16113         cpp_defined): Update for new scheme.
16114         (strtoul_for_line, get_define_node, dump_macro_name,
16115         _cpp_check_linemarker, _cpp_parse_assertion): New.
16116         (_cpp_handle_directive, do_pragma_default): Delete.
16117
16118         * cpphash.h (struct predicate): Now struct answer.
16119         (enum spell_type, struct token_spelling, struct directive,
16120         directive_handler): New.
16121         Update prototypes.  Remove unused macros.
16122         * cpplib.h: Update prototypes.  Remove unused macros,
16123         structure definitions, and fields.
16124
16125         * cpperror.c (print_containing_files, v_message): Adjust.
16126         * cppexp.c (parse_assertion, lex, parse_escape,
16127         _cpp_parse_expr): Adjust.
16128         * cppfiles.c (open_include_file, _cpp_execute_include,
16129         _cpp_compare_file_date, cpp_read_file, read_include_file):
16130         Adjust.
16131         * cppinit.c (dump_special_to_buffer): Delete.
16132         (append_include_chain, merge_include_chains, cpp_reader_init,
16133         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
16134         cpp_finish, handle_option, print_help): Adjust.
16135         * cppmain.c (main): Adjust.
16136
16137 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
16138
16139         * cppspec.c (lang_specific_driver): Use double quotes in error
16140         message.
16141
16142 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
16143
16144         * calls.c (emit_library_call_value_1): Use valreg instead
16145         of hard_libcall_value.
16146
16147 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
16148
16149         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
16150         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
16151         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
16152         (movhi): Likewise.
16153         (movqi): Likewise.
16154         (movdf): Likewise.
16155         (movsf): Likewise.
16156         (movdi): Likewise.
16157         (movti): Likewise.
16158
16159         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
16160         mode instead of wider_mode is being used.
16161
16162 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
16163
16164         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
16165         of 'r'. Use q_regs_operand.
16166         (andsi_1+2): Use q_regs_operand.
16167
16168 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
16169
16170         * builtins.c (get_memory_rtx): Always put into alias set 0.
16171
16172 2000-07-03  Nick Clifton  <nickc@cygnus.com>
16173
16174         * config/arm/arm.md: Fix post increment and pre increment
16175         peepholes so that they do not generate UNPREDICATBLE opcodes.
16176         (ie ones where the increment clobbers the source/destination).
16177
16178 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
16179
16180         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
16181         change too big for -mtiny-stack" a warning, if larger than 63.
16182         (out_set_stack_ptr): Change the logic so -mno-interrupts is
16183         always safe to use on possible future devices.
16184         (function_prologue): Write SPH before SPL, for consistency.
16185         If interrupt_func_p true, we know we have enabled interrupts.
16186         (avr_num_arg_regs): New function.  Round up to even number of
16187         bytes if no -mpack-args or if calling a libgcc function.
16188         (function_arg, function_arg_advance): Use it.
16189         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
16190         Output "movw" if available.
16191         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
16192         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
16193         (asm_output_section_name): Add blanks for consistent output.
16194         (encode_section_info): Set TREE_READONLY for progmem data to
16195         avoid gas warnings about changed section attributes.
16196         (avr_hard_regno_mode_ok): Force non-QImode data to start in
16197         even numbered registers on devices with "movw".
16198         * config/avr/avr.h (MASK_*): Define bits for target_flags.
16199         (TARGET_SWITCHES): Mark help strings for translation.
16200         Add new -mpack-args and -menhanced switches.
16201         (TARGET_OPTIONS): Mark help strings for translation.
16202         (progmem_section): Add section attributes.
16203         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
16204         Output "movw" if available.
16205         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
16206         New patterns.
16207         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
16208         call convention (arguments aligned on even registers).
16209         (_cleanup, _exit): Make weak symbols libc can override.
16210
16211 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16212
16213         * fp-bit.h: New file.
16214
16215         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
16216         Comment #endif statements.
16217         (__thenan_sf, __thenan_df): Add missing braces around initializer.
16218
16219 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
16220
16221         * gcse.c (compute_pre_data): Compute ae_kill using other local
16222         properties instead of calling compute_ae_kill.
16223
16224         * alias.c (init_alias_analysis): Do not call
16225         prologue_epilogue_contains until after reload has completed.
16226
16227 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
16228
16229         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
16230         (genrtl_finish_compound_stmt): Likewise.
16231         (genrtl_compound_stmt): Change to return void.
16232
16233         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
16234         move code from here to ...
16235         (genrtl_compound_stmt): ... here.
16236         (genrtl_finish_compound_stmt): Remove.
16237         (expand_stmt): Add comment.
16238
16239 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
16240
16241         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
16242         and VOID_TYPE_P.
16243
16244 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
16245
16246         * cpplib.h (struct cpp_reader): New field include_depth.
16247         (struct cpp_printer): Rename last_bsd to last_id.
16248         * cppfiles.c (read_include_file): Bump include_depth.
16249         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
16250         (output_line_command): Output correct #line if a header
16251         is including itself and is not protected against multiple inclusion.
16252         Use include_depth instead of buffer_stack_depth, last_id instead of
16253         last_bsd.
16254         * cppinit.c (cpp_start_read): Initialize last_id instead of
16255         last_bsd.
16256
16257 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
16258
16259         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
16260         (c-semantics.o): New target.
16261
16262         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
16263         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
16264         (genrtl_clear_out_block): Likewise.
16265         (genrtl_goto_stmt): Likewise.
16266         (genrtl_expr_stmt): Likewise.
16267         (genrtl_decl_stmt): Likewise.
16268         (genrtl_if_stmt): Likewise.
16269         (genrtl_while_stmt): Likewise.
16270         (genrtl_do_stmt): Likewise.
16271         (genrtl_return_stmt): Likewise.
16272         (genrtl_for_stmt): Likewise.
16273         (genrtl_break_stmt): Likewise.
16274         (genrtl_continue_stmt): Likewise.
16275         (genrtl_scope_stmt): Likewise.
16276         (genrtl_switch_stmt): Likewise.
16277         (genrtl_case_label): Likewise.
16278         (genrtl_begin_compound_stmt): Likewise.
16279         (gerntl_finish_compound_stmt): Likewise.
16280         (genrtl_compound_stmt): Likewise.
16281         (genrtl_asm_stmt): Likewise.
16282         (genrtl_decl_cleanup): Likewise.
16283         (DECL_ANON_UNION_ELEMS): Likewise.
16284         (emit_local_var): Likewise.
16285         (make_rtl_for_local_static): Likewise.
16286         (expand_cond): Likewise.
16287         (expand_stmt): Likewise.
16288         (c_expand_return): Likewise.
16289         (c_expand_start_case): Likewise.
16290         (do_case): Likewise.
16291         (COMPOUND_STMT_NO_SCOPE): Likewise.
16292         (c_expand_asm_operands): Likewise.
16293         (NEW_FOR_SCOPE_P): New macro.
16294         (expand_expr_stmt_fn): New type.
16295
16296         (set_current_function_name_declared): Likewise.
16297         (current_function_name_declared): Likewise.
16298         (lang_expand_stmt): Likewise.
16299         (stmts_are_full_exprs_p): Likewise.
16300         (anon_aggr_type_p): Likewise.
16301         (lang_expand_expr_stmt): Likewise.
16302         (build_case_label): Likewise.
16303
16304         * c-decl.c (lang_expand_expr_stmt): Initialize.
16305         (stmts_are_full_exprs_p): Define.
16306         (current_function_name_declared): Likewise.
16307         (do_case): Likewise.
16308         (lang_expand_stmt): Likewise.
16309         (set_current_function_name_declared): Likewise.
16310         (anon_aggr_type_p): Likewise.
16311
16312         * c-semantics.c: New file.
16313         (expand_cond): Moved from cp/semantics.c.
16314         (genrtl_do_pushlevel): Likewise.
16315         (genrtl_clear_out_block): Likewise.
16316         (genrtl_goto_stmt): Likewise.
16317         (genrtl_expr_stmt): Likewise.
16318         (genrtl_decl_stmt): Likewise.
16319         (genrtl_if_stmt): Likewise.
16320         (genrtl_while_stmt): Likewise.
16321         (genrtl_do_stmt): Likewise.
16322         (genrtl_return_stmt): Likewise.
16323         (genrtl_for_stmt): Likewise.
16324         (genrtl_break_stmt): Likewise.
16325         (genrtl_continue_stmt): Likewise.
16326         (genrtl_scope_stmt): Likewise.
16327         (genrtl_switch_stmt): Likewise.
16328         (genrtl_case_label): Likewise.
16329         (genrtl_begin_compound_stmt): Likewise.
16330         (genrtl_finish_compound_stmt): Likewise.
16331         (genrtl_compound_stmt): Likewise.
16332         (genrtl_asm_stmt): Likewise.
16333         (genrtl_decl_cleanup): Likewise.
16334         (make_rtl_for_local_static): Moved from cp/decl.c.
16335         (emit_local_var): Likewise.
16336         (expand_stmt): Define.
16337
16338         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
16339         (c_expand_return): Likewise.
16340         (c_expand_start_case): Likewise.
16341
16342 2000-07-01  Richard Henderson  <rth@cygnus.com>
16343
16344         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
16345         with the low 13 bits set.
16346         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
16347         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
16348         of the low 13 bits into a CONST plus an adddi3.
16349         (load_symptr): Set RTX_UNCHANGING_P.
16350
16351 See ChangeLog.3 for earlier changes.