OSDN Git Service

* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Fri Dec  8 08:23:29 2000  J"orn Rennecke <amylaar@redhat.com>
2
3         * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
4         for multiplies.
5
6 2000-12-07  Mike Stump  <mrs@wrs.com>
7
8         * Makefile.in (distclean): Remove alloca.c hashtab.c.
9
10 2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
11
12         * Makefile.in (HOST_RTL): Add safe-ctype.o.
13         (safe-ctype.o): New rule.
14         * system.h: Include safe-ctype.h, not ctype.h.  No need to
15         wrap ctype macros.
16
17         * cpphash.h: Zap IStable and related macros.  Define is_* in
18         terms of safe-ctype.h macros.
19         * cppinit.c: Delete the IStable and all related code.
20
21         * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
22         is_space arrays.  Delete initialize_char_syntax.  Change all
23         references to the above arrays to use macros instead.
24         * tradcpp.h: Define is_idchar, is_idstart, is_space, and
25         is_nvspace in terms of safe_ctype.h's macros.
26         * tradcif.y: is_idchar, is_idstart are macros not arrays.
27
28         * config/i370/i370.c, config/winnt/dirent.c,
29         config/winnt/fixinc-nt.c, config/winnt/ld.c:
30         Use uppercase ctype macros.  If we included ctype.h,
31         include safe-ctype.h instead.
32
33         * fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
34         ISLOWER(c) before calling TOUPPER(c).
35         * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
36         * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
37         wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
38
39 2000-12-07  DJ Delorie  <dj@redhat.com>
40
41         * c-decl.c (grokdeclarator): preserve previous alignments when
42         rebuilding array types.
43
44 2000-12-07  Neil Booth  <neilb@earthling.net>
45
46         * cppfiles.c (struct include_file): Move from cpphash.h.
47         (_cpp_never_reread): New function.
48         (open_file, read_include_file): Use it.
49         (stack_include_file): Set the buffer's sysp according to the
50         path in which the file was found.
51         (find_include_file): Don't set sysp.
52         (cpp_make_system_header, actual_directory): Update.
53         (_cpp_execute_include): Do #include_next lookup handling here,
54         not in cpplib.c.  Use _cpp_never_reread.
55         * cpphash.h (struct_include_file): Remove.
56         (struct cpp_buffer): New member sysp.
57         (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
58         (_cpp_never_reread): New.
59         * cpplib.c (read_line_number): Rename read_flag.  Rework slightly.
60         (end_directive): Clear line_extension flag.
61         (_cpp_handle_directive): Set line_extension flag for #number.
62         (do_include_next): Handle path lookup in _cpp_execute_include.
63         (do_line): Cleanup to use read_flag.  Don't allow flags in #line.
64         (_cpp_do_file_change): Update.
65         (do_pragma_once): Use cpp_never_reread.  Clean up.
66         * cpplib.h (struct lexer_state): New member line_extension.
67
68 2000-12-07  Richard Henderson  <rth@redhat.com>
69
70         * flow.c (calculate_global_regs_live): Force the stack pointer live
71         after reload as well.
72
73 2000-12-07  Bruce Korb  <bkorb@gnu.org>
74
75         * fixinc/Makefile.*(exeext): the variables are exeext, the
76         substitution expression is build_exeext.
77
78 2000-12-07  Neil Booth  <neilb@earthling.net>
79
80         * c-common.c (parse_in): Make a cpp_reader *.
81         * cppfiles.c (_cpp_fake_include): Remove.
82         * cpphash.h: Similarly.
83         * cpplib.c (do_line): Don't call _cpp_fake_include.  A valid
84         #line always creates a callback; FC_RENAME if there are no
85         #line flags.
86         * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
87         The first EOF must be our get_char buffer.
88
89 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
90
91         * c-common.c (warn_format_security): New variable.
92         (check_format_info): Warn about non-literal formats with no format
93         arguments if either -Wformat-nonliteral or -Wformat-security is
94         specified.
95         (set_Wformat): Set warn_format_security for settings other than 1.
96         * c-common.h (warn_format_security): Declare.
97         * c-decl.c (c_decode_option): Decode -Wformat-security and
98         -Wno-format-security.
99         * invoke.texi: Document -Wformat-security.
100         * toplev.c (documented_lang_options): Include -Wformat-security
101         and -Wno-format-security.
102
103 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
104
105         * c-common.c (check_format_info): Warn for non-constant format
106         strings with strftime formats if -Wformat-nonliteral.  Where the
107         format can convert arguments, if the format is not a string
108         literal and there are no arguments to the format, give a different
109         warning message from the general non-string-literal case.
110
111 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
112
113         * c-common.c (format_wanted_type): Add reading_from_flag.
114         (print_char_table): Mark %s and %S formats with flag "R".
115         (check_format_info_main): Set up reading_from_flag appropriately.
116         If aflag, always set writing_in_flag rather than relying on the
117         format used being a scanf format and so having it set.
118         (check_format_types): Check for formats reading through null
119         pointers.
120
121 2000-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
122
123         * invoke.texi (-Wformat): Document what format features are
124         checked.
125
126 2000-12-06  Kazu Hirata  <kazu@hxi.com>
127
128         * config/h8300/h8300.h: Fix formatting.
129
130 2000-12-06      Joel Sherrill <joel@OARcorp.com>
131
132         * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
133         h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
134         * config.gcc (*-rtems*): Add support for gthr-rtems.h.
135         * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
136         config/h8300/rtems.h, config/mips/rtems.h: New files.
137
138 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
139
140         * config.gcc: Reorganize handling of *-*-gnu*, to share target
141         specific make details with Linux.  Update comments to clarify
142         the distinction between GNU/Linux and GNU/Hurd.
143
144 Wed Dec  6 19:22:02 2000  Jeffrey A Law  (law@cygnus.com)
145
146         * contrib.texi: Fix my email address.  Update Per's
147         list of contributions.
148
149 2000-12-06  Rodney Brown  <RodneyBrown@mynd.com>
150
151         * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
152         * collect2.c (scan_libraries): Remove unused `ch'.
153         (COFF specific stuff): Prototype ldgetname.  Declare and prototype
154         ldbtread and ldclose.
155
156         * config/alpha/osf.h: Standarize copyright statement.
157         * config/arc/arc.h: Likewise.
158         * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
159         * config/arm/arm.c config/arm/arm.h: Likewise.
160         * config/elxsi/elxsi.h: Likewise.
161         * config/i386/sco.h: Likewise.
162         * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
163         * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
164         * config/m68k/sun3.h: Likewise.
165         * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
166         * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
167         * config/romp/romp.h: Likewise.
168         * config/rs6000/aix41.h: Likewise.
169         * config/sparc/sysv4.h: Likewise.
170         * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
171         * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
172         * cpplib.h cppexp.c cselib.h profile.c: Likewise.
173         * longlong.h: Likewise.
174         * libgcc2.c: Likewise.
175
176 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
177
178         * machmode.def: Use correct definition for BITSIZE on targets where
179         BITS_PER_UNIT != 8.
180
181 2000-12-06  Bruce Korb  <bkorb@gnu.org>
182
183         * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
184         the number of them.
185
186 2000-12-06  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
187
188         * pa.c: Include expr.h before c-tree.h.
189         (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
190         instead of reverse_condition.
191         (print_operand): Correct predicates for GT, GE, LT and LE.  Add
192         predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
193         ORDERED.
194         (cmpib_comparison_operator): Add GEU and LTU codes.
195         * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
196         * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
197         bordered): New float conditional branch patterns.
198
199 Wed Dec  6 21:03:41 2000  J"orn Rennecke <amylaar@redhat.com>
200
201         * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
202
203 2000-12-06  Sylvain Pion  <Sylvain.Pion@sophia.inria.fr>
204
205         * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
206         backslash and newline, when inside a comment.
207
208 2000-12-06  Joseph S. Myers  <jsm28@cam.ac.uk>
209
210         * invoke.texi: Use @table @samp instead of @itemize @minus for
211         table of language standards.  Fix use of @pxref.  From Zack
212         Weinberg.  Also exclude specs documentation from generated
213         manpage, and create separate ENVIRONMENT section.
214
215 2000-12-06  Michael Matz  <matzmich@cs.tu-berlin.de>
216
217         * gcse.c (compute_pre_data): Kill trapping expressions in
218         destination blocks of abnormal edges.
219
220 2000-12-05  Richard Sandiford  <r.sandiford@redhat.com>
221
222         * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
223         (mn10300_get_live_callee_saved_regs): Likewise.
224         (mn10300_gen_multiple_store): Likewise.
225         (store_multiple_operation): Likewise.
226         (expand_prologue): Use mn10300_gen_multiple_store().
227         * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
228         (mn10300_get_live_callee_saved_regs): Likewise.
229         (mn10300_gen_multiple_store): Likewise.
230         (store_multiple_operation): Likewise.
231         * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
232         tied to store_multiple_operation().
233
234 Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
235
236         * builtins.c (expand_builtin_setjmp_setup): Set
237         current_function_has_nonlocal_label.
238
239 2000-12-05  Neil Booth  <neilb@earthling.net>
240
241         * cppfiles.c (stack_include_file): Push zero-length buffers
242         in case of failure.  Return void, as we don't fail any more.
243         (read_include_file): Check for files we shouldn't re-read.
244         Don't return an error code; errors are implied by marking the
245         file NEVER_REREAD.
246         (_cpp_execute_include): Move the recursion and in-macro checks
247         here.  Update for stack_include_file not failing.
248         * cpplib.c (cpp_push_buffer): Always succeed, since
249         _cpp_execute_include performs the recursion check.  Tidy up.
250         * cpplib.h (cpp_push_buffer): Update prototype.
251
252 2000-12-05  Alexandre Oliva  <aoliva@redhat.com>
253
254         * sched-vis.c (visual_tbl_line_length): New variable.
255         (get_visual_tbl_length): Set it.
256         (visualize_stall_cycles): Don't let stalls overrun
257         visual_tbl_line_length.
258
259 2000-12-05  Geoffrey Keating  <geoffk@redhat.com>
260
261         * global.c (global_conflicts): Allow for a REG_UNUSED note
262         with a different mode to the REG set in the insn.
263
264 2000-12-05  Kaveh R. Ghazi  <ghazi@teal.rutgers.edu>
265
266         * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
267
268         * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
269
270 2000-12-05  Bruce Korb  <bkorb@gnu.org>
271
272         * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
273         GNU/Linux.
274
275 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
276
277         * fixinc/mkfixinc.sh: Run fixinc on netbsd.
278         * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
279         to cope with aliased copies.
280         * fixinc/fixincl.x: Regenerate.
281
282 2000-12-05  Bernd Schmidt  <bernds@redhat.co.uk>
283
284         * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
285         * sched-rgn.c: Likewise.
286         (rgn_print_insn): Fix output.
287
288 2000-12-05  Bruce Korb  <bkorb@gnu.org>
289
290         * fixinc/Makefile.*: make these more consistent
291         * fixinc/mkfixincl.sh: enable BeOS fixincludes
292
293 2000-12-05  Richard Henderson  <rth@redhat.com>
294
295         * stmt.c (warn_if_unused_value): Move side effects test earlier.
296
297 2000-12-05  Alan Modra <alan@linuxcare.com.au>
298
299         * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
300         when using sjlj.
301
302 2000-12-05  Richard Henderson  <rth@redhat.com>
303
304         * flow.c (calculate_global_regs_live): Only force stack pointer
305         live before reload.  Force pic register live before reload.
306         (insn_dead_p): Don't protect pic references from deletion.
307
308 2000-12-05  Joseph S. Myers  <jsm28@cam.ac.uk>
309
310         * invoke.texi: Add support for using texi2pod.pl.  Don't use
311         @multitable.
312
313 2000-12-04  Nick Clifton  <nickc@redhat.com>
314
315         * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
316         'tune_flags' for XScale nature.
317         Remove spurious test of HARD_FLOAT and XScale flags.
318
319         * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
320         contraint, accidentally changed during XScale contribution.
321
322         * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
323         not create these functions if the target architecture does not
324         support Thumb instructions.
325
326 2000-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
327
328         * ONEWS: New file with the current contents of NEWS up to EGCS
329         1.1.
330         * NEWS: Generate automatically from online release notes from EGCS
331         1.0 to GCC 2.95.2, using ../contrib/gennews.
332
333 2000-12-04  Neil Booth  <neilb@earthling.net>
334
335         * tradcif.y: Move lexptr to top of file.  Add rule to handle
336         assertions in conditional expressions.
337         * tradcpp.c (parse_answer): Assertions do not need to go to
338         end of line in conditional directives.
339         (parse_assertion): Get first character of identifiers correct.
340         (test_assertion): New function.
341         * tradcpp.h (test_assertion): New prototype.
342
343 2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>
344
345         * config.gcc: Fix typo for UnixWare 7.
346
347 2000-12-03  Phil Edwards  <pme@sources.redhat.com>
348
349         * invoke.texi:  Replace `pedwarns' with clearer text.
350
351 2000-12-04  Bruce Korb  <bkorb@gnu.org>
352
353         * fixinc/Makefile.*(clean):  don't clean autogenerated files.
354         (mainainer-clean): clean autogenerated files
355
356 2000-12-04  DJ Delorie  <dj@redhat.com>
357
358         * md.texi: Add overview, clarify match_dup and define_expand.
359
360 2000-12-04  DJ Delorie  <dj@redhat.com>
361
362         * print-tree.c (print_node): Target-specific builtins print
363         numbers, not names.
364
365 2000-12-04  Jason Merrill  <jason@redhat.com>
366
367         * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
368         MODE_VECTOR_FLOAT.
369
370         * diagnostic.c (report_problematic_module): s/function/module/.
371
372         * c-lex.h: Remove decl for check_newline.
373
374 2000-12-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
375
376         * README.APOLLO: Remove obsolete file.
377
378 2000-12-04  Neil Booth  <neilb@earthling.net>
379
380         * cppinternals.texi: New file.
381
382 2000-12-04  Neil Booth  <neilb@earthling.net>
383
384         * cppfiles.c (cpp_make_system_header): Take 2 booleans,
385         and operate on current buffer.
386         (cpp_read_file): Rename _cpp_read_file.
387         * cpplib.c (do_line, do_pragma_system_header): Update calls to
388         cpp_make_system_header.
389         * fix-header.c: Similarly.
390         * cpphash.h (_cpp_read_file): Move from...
391         * cpplib.h: ... here.
392         * cppinit.c (do_includes, cpp_start_read): Update appropriately.
393
394 2000-12-03  Kaveh R. Ghazi  <ghazi@teal.rutgers.edu>
395
396         * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
397         Handle another transformation.
398
399 2000-12-03  Nick Clifton  <nickc@redhat.com>
400
401         * config.gcc: Add support for StrongARM targets.
402         * config/arm/t-strongarm-elf: New file.
403         * config/arm/t-strongarm-coff: New file.
404         * config/arm/t-strongarm-pe: New file.
405         * config/arm/strongarm-pe.h: New file.
406
407 2000-12-03  Nick Clifton  <nickc@redhat.com>
408
409         * NEWS: Mention XScale has been added.
410         * config.gcc: Add support for XScale targets.
411         * config/arm/arm.h: Add support for XScale processor.
412         * config/arm/arm.c: Add support for XScale processor.
413         * config/arm/arm.md: Add support for XScale processor.
414         * config/arm/t-xscale-elf: New file.
415         * config/arm/t-xscale-coff: New file.
416         * config/arm/xscale-elf.h: New file.
417         * config/arm/xscale-coff.h: New file.
418
419 2000-12-03  Richard Henderson  <rth@redhat.com>
420
421         * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
422         unless exception handling is enabled, and if not using sjlj.
423
424         * builtins.c (expand_builtin_setjmp_setup): New.
425         (expand_builtin_setjmp_receiver): New.
426         (expand_builtin_setjmp): Split out _setup and _receiver functions.
427         Move argument parsing in from ...
428         (expand_builtin): ... here.
429         * except.c (receive_exception_label): Branch around receiver
430         unless new-style exceptions.  Call expand_builtin_setjmp_receiver.
431         (start_dynamic_handler): Call expand_builtin_setjmp_setup.
432         * expr.h: Update builtin setjmp decls.
433
434 2000-12-03  Bruce Korb  <bkorb@gcc.org>
435
436         * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
437         build machine name.  Default to the target.
438
439 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
440
441         * Makefile.in: use $(build_canonical), not $(canonical_build).
442
443 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
444
445         * Makefile.in (OBJS): Add sched-rgn.o.
446         (sched-rgn.o): New rule.  * haifa-sched.c (sched_verbose): No
447         longer static.
448         (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
449         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
450         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
451         MAX_BLOCKAGE_COST): Move to sched-int.h.
452         (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
453         IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
454         FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
455         OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
456         rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
457         RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
458         debug_regions, find_single_block_region, find_rgns, too_large,
459         init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
460         bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
461         extract_bitlst, bblst, struct candidate, candidate_table,
462         bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
463         SRC_PROB, target_bb, split_edges, compute_trg_info,
464         debug_candidate, debug_candidates, bbset, bbset_size, dom,
465         IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
466         rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
467         EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
468         compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
469         IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
470         MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
471         update_live, set_spec_fed, is_pfree, find_conditional_protection,
472         is_conditionally_protected, may_trap_exp, haifa_classify_insn,
473         is_prisky, is_exception_free, add_branch_dependences,
474         propagate_deps, compute_block_backward_dependences,
475         debug_dependencies, is_cfg_nonregular, build_control_flow,
476         new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
477         BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
478         UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
479         CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
480         target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
481         can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
482         rgn_rank, region_sched_info): Move to sched-rgn.c.
483         (debug_reg_vector): Delete useless function.
484         (get_bb_head_tail): Likewise.
485         (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
486         no_real_insns_p, rm_line_notes, save_line_notes,
487         restore_line_notes, rm_redundant_line_notes, sched_init): No
488         longer static.
489         (rm_line_notes, save_line_notes, restore_line_notes,
490         schedule_block, set_priorities): Change argument to be a real
491         basic block, not one of haifa's "bb"s.  All callers changed
492         (rm_other_notes): Initialize note_list here, not in
493         schedule_region.
494         (sched_finish): New function, called from schedule_insn.  * *
495         sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
496         INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
497         UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
498         MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
499         (get_block_head_tail, no_real_insns_p, rm_line_notes,
500         save_line_notes, restore_line_notes, rm_redundant_line_notes,
501         rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
502         sched_init, sched_finish, ready_add, insn_cost): Declare.
503
504 2000-12-03  Laurynas Biveinis  <lauras@softhome.net>
505             Bruce Korb  <bkorb@gnu.org>
506
507         * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
508         * fixinc/mkfixinc.sh: accept build system name as an argument.
509         Use it for choosing the fix build method.  Use the target for
510         selecting special fix rules.
511
512 2000-12-03  Bernd Schmidt  <bernds@redhat.co.uk>
513
514         * Makefile.in (OBJS): Add sched-deps.o.
515         (sched-deps.o): New rule.
516         * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
517         sched-int.h.
518         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
519         sched-int.h.
520         (SIZE_FOR_MODE): Delete unused macro.
521         (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
522         reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
523         anti_dependency_cache, output_dependency_cache,
524         forward_dependency_cache): Variables moved to sched-deps.c.
525         (add_dependence, remove_dependence, find_insn_list,
526         find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
527         sched_analyze_insn, sched_analyze_1, sched_analyze_2,
528         sched_analyze, group_leader, compute_forward_dependences,
529         init_deps, free_deps, init_dependency_caches, free_dependency_caches):
530         Functions moved to sched-deps.c.
531         (schedule_region): Call init_deps_global and finish_deps_global
532         instead of directly manipulating dependency data structures.
533         * sched-deps.c: New file.
534         (init_deps_global, finish_deps_global): New functions.
535         * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
536         haifa-sched.c.
537         (h_i_d): Declare.
538         (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
539         from haifa-sched.c.
540
541         * Makefile.in (OBJS): Add sched-vis.o.
542         (sched-vis.o): New rule.
543         * haifa-sched.c (get_unit_last_insn): New function.
544         (sched_dump, insn_unit, actual_hazard_this_instance): No longer
545         static.
546         (schedule_block): Call visualize_alloc and visualize_free.  Delete
547         spurious return statement.
548         (init_target_units, insn_print_units, get_visual_tbl_length,
549         init_block_visualization, print_block_visualization, safe_concat,
550         visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
551         print_exp, print_value, print_pattern, print_insn, target_units,
552         MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
553         n_vis_no_unit, vis_no_unit): Move scheduling visualization
554         functions/variables...
555         * sched-vis.c: ...here.  New file.
556         (visualize_alloc, visualize_free): New functions.
557         (visualize_scheduled_insns, visualize_stall_cycles,
558         print_block_visualization): Lose basic block argument.  All callers
559         changed.
560         (visualize_scheduled_insns): Use new function get_unit_last_insn.
561         * sched-int.h (current_sched_info, sched_dump): Declare.
562         (init_target_units, insn_print_units, init_block_visualization,
563         print_block_visualization, visualize_scheduled_inns,
564         visualize_no_unit, visualize_stall_cycles, visualize_alloc,
565         visualize_free): Declare functions.
566
567         * sched-int.h: New file.
568         * Makefile.in (haifa-sched.o): Depend on it.
569         * haifa-sched.c: Include it.
570         (no_real_insns_p): New function.
571         (current_sched_info): New static variable.
572         (__inline, HAIFA_INLINE): Moved to sched-int.h.
573         (get_block_head_tail): Minor cleanup.
574         (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
575         rgn_print_insn, rgn_rank): New functions, broken out of
576         rank_for_schedule, schedule_insn and schedule_block, where they
577         are now called through function pointers in current_sched_info.
578         (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
579         print_insn): To display uid and block number, call the print_insn
580         function pointer in current_schedule_info.
581         (region_sched_info): New static variable.
582         (sched_target_n_insns, sched_n_insns, target_n_insns): New global
583         variables, moved out of schedule_block.
584         (schedule_block): Return void.  All callers changed.
585         Move some of the setup code into schedule_region.  Get head/tail
586         from current_sched_info, and update it when done.
587         (schedule_region): Slightly rearranged, some code moved here from
588         schedule_block.  Call no_real_insns_p to avoid doing work for a
589         block that consists only of notes and labels.
590         (schedule_insns): Initialize current_sched_info.
591
592 2000-12-03  Neil Booth  <neilb@earthling.net>
593
594         * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
595         by contexts drops AFTER argument pre-expansion, so that they
596         remain enabled during argument pre-expansion.
597         (_cpp_pop_context): Unconditionally re-enable a macro when
598         dropping a context level.
599
600 2000-12-03  Manfred Hollstein  <manfredh@redhat.com>
601
602         * arm/t-linux (MULTILIB_OPTIONS): Comment.
603         (MULTILIB_DIRNAMES): Likewise.
604         (EXTRA_MULTILIB_PARTS): Likewise.
605         (LIBGCC): Likewise.
606         (INSTALL_LIBGCC): Likewise.
607
608 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
609
610         * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
611         expand_builtin_strspn, expand_builtin_strcspn): New functions.
612         (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
613         BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
614
615         * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
616         BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
617
618         * c-common.c (c_common_nodes_and_builtins): Declare builtin
619         strcat, strncat, strspn and strcspn.
620         (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
621
622         * extend.texi (strcat, strcspn, strncat, strspn): Document new
623         builtins.
624
625 2000-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
626
627         * builtins.c (expand_builtin_strcmp): Use const*_rtx when
628         expanding strcmp at compile-time.  Add another transformation.
629         (expand_builtin_strncmp): Add more transformations.  Call
630         expand_builtin_memcmp, not expand_builtin_strcmp, under
631         appropriate conditions if HAVE_cmpstrsi.
632
633 2000-12-02  David Edelsohn  <edelsohn@gnu.org>
634
635         * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
636         instruction.
637         (cr logic): Really make operands sequential.
638
639 2000-12-02  Geoffrey Keating  <geoffk@redhat.com>
640
641         * c-common.c (combine_strings): When the ISO C standard specifies
642         the maximum length of a string, it doesn't include the trailing
643         zero byte.
644
645         * cpplib.c (do_ifdef): Add check_eol() call.
646         (do_ifndef): Likewise.
647
648 2000-12-02  Daniel Berlin  <dberlin@redhat.com>
649             Bruce Korb  <bkorb@gnu.org>
650
651         * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
652         * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
653         * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
654         * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
655         use the "__need_" hackery.  It breaks them.
656         * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
657         Sometimes on DOS and BeOS the temp output file cannot be opened.
658         Skip the file noisily.  Ought to be fixed instead.
659
660 2000-12-02  Bruce Korb  <bkorb@gnu.org>
661
662         From: 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
663
664         * fixfixes.c (emit_gnu_type, format_write): Prototype.
665         (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
666         custom uppercase ctype macros.
667         * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
668         Use gcc's custom uppercase ctype macros.
669         (main): Prototype.
670         (machine_matches): Add static prototype and constify variable.
671         (create_file, test_test, egrep_test): Add static prototype.
672         (quoted_file_exists): Likewise, and constify parameters.
673         (extract_quoted_files, internal_fix, start_fixer, fix_applies,
674         write_replacement, test_for_changes): Add static prototype.
675         (write_replacement, test_for_changes): Delete excess argument to
676         `create_file'.
677         * fixtests.c (test): Make static.
678         * server.c (load_data, sig_handler, server_setup, find_shell): Add
679         static prototype.
680         (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
681
682 2000-12-02  Bruce Korb  <bkorb@gnu.org>
683
684         * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
685         (per Laurynas Biveinis  <lauras@softhome.net>)
686
687 2000-12-02  Richard Earnshaw  <rearnsha@arm.com>
688
689         * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
690         macros.
691         (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
692         (REGNO_OK_FOR_FOR_BASE_P): Delete.
693         (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
694         both strict and non-strict uses.
695         (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
696         (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
697         (REG_OK_FOR_INDEX_P): Define in terms of above.
698         (REG_OK_FOR_BASE_P): Delete.
699         (REG_OK_FOR_PRE_POST_P): Delete.
700         (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
701         (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
702         (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
703         (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
704         (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes.  Use ARM
705         specific variants rather than general ones.  Use ARM_REG_OK_FOR_BASE_P
706         in pre/post increment cases.
707         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
708         (ARM_LEGITIMIZE_ADDRESS): Similarly.
709         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
710         * arm.c (legitimate_pic_address): Similarly.
711
712 2000-12-02  Neil Booth  <neilb@earthling.net>
713
714         * tradcpp.c (struct answer, parse_assertion, parse_answer,
715         canonicalize_text, find_answer): New.
716         (do_assert, do_unassert): Provide appropriate function bodies.
717         (union hashval): New member answers.
718
719 2000-11-23  Marek Michalkiewicz  <marekm@linux.org.pl>
720
721         * config/avr/avr.md: Document UNSPEC usage.
722         (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
723         Make operand 0 input only, clobber it.  Use UNSPEC, not a bogus
724         MEM for program memory word reference.  Do not add the label to
725         the table index in each of the asm output templates, instead ...
726         (casesi): ... do it in RTL.  Adjust to match the above change.
727
728 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
729
730         * c-common.c (PTRDIFF_TYPE): Provide default here, ...
731         * c-decl.c: ... not here.
732
733         * haifa-sched.c (sched_dump): Renamed from dump.  All users changed.
734         (old_max_uid): New variable.
735         (compute_forward_dependences): Renamed from
736         compute_block_forward_dependences; changed to accept block head and
737         tail instead of block number.  Caller changed.
738         (free_deps, init_dependency_caches, free_dependency_caches,
739         init_regions, sched_init): New functions, split out from
740         schedule_insns and compute_block_backward_dependences.
741
742 2000-12-02  Neil Booth  <neilb@earthling.net>
743
744         * cppexp.c (parse_number): Update diagnostic test.
745
746 2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
747
748         * reload1.c (free_for_value_p): New function, frontend to
749         reload_reg_free_for_value_p.  All callers of the latter now call
750         this function with an additional mode argument.
751
752 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
753
754         * install.texi (Configurations): Remove obsolete documentation for
755         hppa*-*-*.
756
757 2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
758
759         * install.texi (Installation): Remove obsolete description for
760         libstdc++ which is now an integral part of GCC.
761
762 2000-12-01  Jim Blandy  <jimb@redhat.com>
763
764         * dbxout.c (dbxout_parms): Correctly describe parameters passed by
765         invisible reference in registers, but then spilled to the stack.
766         Remove code to emit a second stab for such parameters; it attempts
767         to describe the value's location by introducing a synthetic C++
768         `reference' type, and then saying the stack slot has that
769         reference type.  This loses type information (breaking GDB's
770         `ptype' command, among other things) just to describe a location
771         which stabs can represent correctly in other ways.
772
773 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
774
775         * final.c (output_addr_const) <PLUS>: Don't assume at least one
776         operand is a CONST_INT.
777
778         * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
779         (machine_dependent_reorg): Split all insns.
780         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
781         reg_class_contents[SIBCALL_REGS].
782         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
783         * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
784         call_value_pcrel, call, call_value, sibcall): Match even when
785         not optimizing.
786         (sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
787         for call address.
788         (sibcalli): Likewise.
789
790 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
791
792         * c-common.c (warn_format, warn_format_y2k,
793         warn_format_extra_args, warn_format_nonliteral): Define.
794         (check_format_info): Check warn_format_nonliteral and
795         warn_format_extra_args.
796         (check_format_info_main): Check warn_format_y2k.
797         (set_Wformat): New function.
798         * c-common.h (warn_format_y2k, warn_format_extra_args,
799         warn_format_nonliteral, set_Wformat): Declare.
800         * c-decl.c (warn_format): Remove definition.
801         (c_decode_option): Handle -Wformat-nonliteral,
802         -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
803         Use set_Wformat.
804         * invoke.texi: Document these new options and -Wformat=2.
805         * toplev.c (documented_lang_options): Add these new options.
806
807 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
808
809         * builtins.def (BUILT_IN_IMAXABS): Add.
810         * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
811         * c-common.c (c_common_nodes_and_builtins): Create builtin
812         functions __builtin_imaxabs, and plain imaxabs unless
813         flag_no_nonansi_builtin outside C99 mode.
814         (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
815         * extend.texi: Document builtin imaxabs.
816
817 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
818
819         * c-common.c: Include "defaults.h".
820         (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
821         (c_common_nodes_and_builtins): Create string_type_node,
822         const_string_type_node, wint_type_node, intmax_type_node,
823         uintmax_type_node, default_function_type, ptrdiff_type_node and
824         unsigned_ptrdiff_type_node.
825         * c-common.h (identifier_global_value): Declare.
826         * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
827         (init_decl_processing): Don't create string_type_node,
828         const_string_type_node, wint_type_node, intmax_type_node,
829         uintmax_type_node, default_function_type, ptrdiff_type_node and
830         unsigned_ptrdiff_type_node.
831         (identifier_global_value): New function.
832
833 2000-12-01  Neil Booth  <neilb@earthling.net>
834
835         * cppinit.c (initialize): Forgotten prototype.
836         * cpplex.c (_cpp_lex_token): Loop until not skipping.
837         Always clear PREV_WHITE upon meeting a new line.
838         * cpplib.c (end_directive): Set pfile->skipping after
839         skip_rest_of_line.
840         * cpplib.h (cpp_reader): Remove macro_pos.
841         * cppmacro.c (cpp_get_line): Don't do anything special inside
842         macros.
843         (parse_arg): Add PREV_WHITE if a token appears after new lines.
844         (funlike_invocation_p): Save and restore the output position
845         over a successful check for a '('.
846         (enter_macro_context): Delete uses of macro_pos.
847         (cpp_get_token): Don't use pfile->skipping.
848
849 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
850
851         * diagnostic.c:  Fix typos in comments.
852         * diagnostic.h:  Likewise.
853
854 2000-11-30  Phil Edwards  <pme@sources.redhat.com>
855
856         * rtl.texi (Machine Modes):  Document BImode and OImode.
857
858 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
859
860         * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
861         .FPP.
862
863 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
864
865         * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
866         incomplete element type.
867         (grokparms): Before checking for incomplete parameter type, check
868         the type isn't error_mark_node.
869
870 2000-12-01  Jakub Jelinek  <jakub@redhat.com>
871
872         * builtins.c (target_char_cast): New function.
873         (expand_builtin_strchr): Use it.
874         (expand_builtin_strrchr): Use it.
875         (builtin_memset_read_str): New function.
876         (expand_builtin_memset): Use target_char_cast.
877         Try to optimize memset with second argument non-zero using
878         store_by_pieces.
879
880 2000-11-30  Marek Michalkiewicz  <marekm@linux.org.pl>
881
882         * install.texi (avr): Replace incomplete list of supported MCU
883         types with a link to the current one ...
884         * invoke.texi (AVR Options): ... here.  Update -mmcu= to list
885         all supported MCU types.  Document -minit-stack= default.
886         Document new options -mno-tablejump, -mtiny-stack.
887         * md.texi (AVR family):  Fix typo in 'w' constraint letter
888         description.  Document 'q'.  Update 'O'.
889
890 2000-12-01  Bernd Schmidt  <bernds@redhat.co.uk>
891
892         * combine.c (cant_combine_insn_p): Only disallow insns involving
893         hard regs if they are reg-reg moves.
894         (try_combine, can_combine_p, combinable_i3pat): Delete old
895         SMALL_REGISTER_CLASSES tests.
896
897 2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
898
899         * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
900         whether X is a CONST_INT.
901         (addsubcosts): Likewise.
902
903         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
904         mis-used XINT.
905         (ARG_POINTER_REGNUM): Set to AP_REG.
906
907 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
908
909         * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
910         splits): Only match on TARGET_SH4.
911
912         * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
913         of subsequent insns.
914
915 2000-11-30  Richard Henderson  <rth@redhat.com>
916
917         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
918         * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
919
920 2000-11-30  Richard Henderson  <rth@redhat.com>
921
922         * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
923         (DO_SELECT_SECTION): New.
924         (SELECT_SECTION): Use it.
925         (UNIQUE_SECTION_P): New.
926         (UNIQUE_SECTION): New.
927
928 2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
929
930         * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
931         from va_list before using it.
932
933 2000-11-30  Michael Matz  <matzmich@cs.tu-berlin.de>
934
935         * flow.c (make_edge): Early out, if no flags to set.
936         (calculate_global_regs_live): Clear out garbage only when necessary.
937
938         * simplify-rtx.c (varray_type used_regs): New.
939         (clear_table): Use it to only clear necessary items.
940         (cselib_lookup, cselib_record_set): Remember newly set items.
941         (cselib_update_varray_sizes, cselib_init): Initialize and grow
942         used_regs.
943
944         * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
945         Move clearing of dead regs out of insn-loop.
946
947 2000-11-30  Richard Henderson  <rth@redhat.com>
948
949         * calls.c (expand_call): Emit queued insns before creating
950         the tail recursion sequence.
951
952 2000-11-30  J. David Anglin  <dave.anglin@nrc.ca>
953             Bruce Korb  <bkorb@gnu.org>
954
955         * fixinc/inclhack.def(): prevent dual double definition protection
956         * fixinc/fixincl.x: regenerate
957
958 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
959
960         * fixinc/Makefile.in (fixincl.x): Explicitly state the
961         location of the generated file.
962
963 2000-11-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
964
965         * README.FRESCO: Remove obsolete file.
966
967 2000-11-30  Mark Kettenis  <kettenis@gnu.org>
968
969         * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
970         TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
971         config/t-linux for the Hurd.
972
973 2000-11-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
974
975         * config/mn10200/udivmod.c, config/mn10200/divmod.c,
976         config/mn10200/udivmodsi4.c: Moved from here.
977         * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
978         * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
979         C division functions.
980         * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
981
982 Thu Nov 30 01:12:52 2000  Jeffrey A Law  (law@cygnus.com)
983
984         * pa.md (conditional moves): Avoid holes in operand list.
985         (mod, umod patterns): Similarly.
986         (variable extract/shift patterns): Similarly.
987
988 2000-11-30  Neil Booth  <neilb@earthling.net>
989
990         * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
991         maybe_objc_check_decl, build_objc_string_object,
992         objc_declare_alias, objc_declare_class, build_message_expr,
993         build_protocol_expr, build_selector_expr, build_encode_expr,
994         get_class_ivars, start_class, start_protocol): Remove
995         redundant code, assuming doing_objc_thang is true.
996
997 2000-11-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
998
999         * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
1000         (record_unscaled_index_insn_codes): Likewise.
1001         (unscaled_index_insn_codes): Delete.
1002         (max_unscaled_index_insn_codes_uid): Delete.
1003         (output_function_prologue, output_function_epilogue, pa_reorg):
1004         Don't use the unscaled index insn hack.
1005
1006         * pa.md: Remove hack from all index insns to reverse the operand
1007         order of frame and stack pointer references incorrectly created
1008         in the reload pass.
1009
1010         * function.h (emit_status): Delete member regno_pointer_flag and
1011         rename regno_pointer_flag_length to regno_pointer_align_length.
1012         Delete define for REGNO_POINTER_FLAG.
1013         * integrate.h (inline_remap): Delete member regno_pointer_flag.
1014         Add member x_regno_reg_rtx.
1015         * rtl.h (rtx_def): Use frame_related bit to indicate register is
1016         a pointer in REG expressions.  Define REG_POINTER macro.
1017         * alias.c (find_base_value, find_base_term): Use REG_POINTER
1018         instead of REGNO_POINTER_FLAG.
1019         * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
1020         * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
1021         of regno_pointer_flag_length.  Remove code which refers to
1022         regno_pointer_flag.
1023         (mark_reg_pointer): Use REG_POINTER.
1024         (free_emit_status): Remove code which refers to regno_pointer_flag.
1025         (init_emit, mark_emit_status): Likewise.
1026         * flow.c (dump_flow_info): Likewise.
1027         * function.c (preserve_temp_slots): Likewise.
1028         * integrate.c (expand_inline_function, copy_rtx_and_substitute):
1029         Use x_regno_reg_rtx instead of regno_pointer_flag for function
1030         pointer determination in map.
1031         * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
1032         * predict.c (estimate_probability): Likewise.
1033         * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
1034         * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
1035         regno_pointer_flag for function pointer determination in map.
1036         * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
1037         REG_POINTER.
1038         * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
1039         Use REG_POINTER.
1040         (restore_unscaled_index_insn_codes): Revise comment.
1041
1042         * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
1043
1044 2000-11-30  Joseph S. Myers  <jsm28@cam.ac.uk>
1045
1046         * extend.texi: Update documentation for attributes.
1047
1048 2000-11-29  David O'Brien  <obrien@FreeBSD.org>
1049
1050         * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
1051         (ASM_DECLARE_OBJECT_NAME): Same.
1052         (ASM_FILE_END): Same.
1053         (ASM_FINISH_DECLARE_OBJECT): Same.
1054         (ASM_IDENTIFY_GCC): Same.
1055         (ASM_IDENTIFY_LANGUAGE): Same.
1056         (ASM_OUTPUT_CONSTRUCTOR): Same.
1057         (ASM_OUTPUT_DEF): Same.
1058         (ASM_OUTPUT_DESTRUCTOR): Same.
1059         (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
1060         (ASM_OUTPUT_SECTION_NAME): Same.
1061         (ASM_WEAKEN_LABEL): Same.
1062         (BSS_SECTION_ASM_OP): Same.
1063         (COMMON_ASM_OP): Same.
1064         (CONST_SECTION_ASM_OP): Same.
1065         (CONST_SECTION_FUNCTION): Same.
1066         (CTORS_SECTION_ASM_OP): Same.
1067         (DTORS_SECTION_ASM_OP): Same.
1068         (ESCAPES): Same.
1069         (FINI_SECTION_ASM_OP): Same.
1070         (IDENT_ASM_OP): Same.
1071         (IDENT_ASM_OP): Same.
1072         (INIT_SECTION_ASM_OP): Same.
1073         (INT_ASM_OP): Same.
1074         (MAX_OFILE_ALIGNMENT): Same.
1075         (SBSS_SECTION_ASM_OP): Same.
1076         (SDATA_SECTION_ASM_OP): Same.
1077         (SECTION_FUNCTION_TEMPLATE): Same.
1078         (SELECT_SECTION): Same.
1079         (SE_CONST_SECTION): Same.
1080         (SIZE_ASM_OP): Same.
1081         (SKIP_ASM_OP): Same.
1082         (STRING_ASM_OP): Same.
1083         (STRING_LIMIT): Same.
1084         (TYPE_ASM_OP): Same.
1085         (TYPE_OPERAND_FMT): Same.
1086
1087 2000-11-29  Neil Booth  <neilb@earthling.net>
1088
1089         * c-decl.c (c_decode_option): Don't handle -lang-objc.
1090         * objc/lang-options.h: Remove -lang-objc.
1091         * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
1092         * objc/objc-act.c (lang_init_options): Set c_language.
1093
1094 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
1095
1096         * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
1097         tests.
1098
1099 2000-11-29  Neil Booth  <neilb@earthling.net>
1100
1101         * c-pragma.c (init_pragma): Update for parse_in type change.
1102
1103 2000-11-29  Laurynas Biveinis  <lauras@softhome.net>
1104
1105         * configure.in: recognize DOS-style absolute paths.
1106
1107 2000-11-29  Jakub Jelinek  <jakub@redhat.com>
1108
1109         * expr.h (store_by_pieces): Add prototype.
1110         (can_store_by_pieces): Likewise.
1111         * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
1112         (can_store_by_pieces): New.
1113         (store_by_pieces): New.
1114         (clear_by_pieces): New.
1115         (clear_by_pieces_1): New.
1116         (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
1117         arbitrary compiler generated constants into memory block.
1118         (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
1119         * builtins.c (c_readstr): New.
1120         (builtin_memcpy_read_str): New.
1121         (expand_builtin_memcpy): If src is string constant and
1122         emit_block_move would move it by pieces, compute integer constants
1123         from the string and store it into memory block instead.
1124         (builtin_strncpy_read_str): New.
1125         (expand_builtin_strncpy): If N is not constant zero and c_strlen does
1126         not return INTEGER_CST, don't optimize.
1127         If N is larger than strlen(src) + 1, try to copy the string
1128         including padding with store_by_pieces.
1129         (expand_builtin_strcmp): If both arguments have side effects, don't
1130         optimize.
1131         (expand_builtin_fputs): If STR has side effects, don't optimize.
1132
1133 2000-11-29  Richard Earnshaw  <rearnsha@arm.com>
1134
1135         * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
1136         Add use of link register.
1137
1138 2000-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1139
1140         * extend.texi: Update documentation for default format attributes.
1141
1142 Tue Nov 28 21:56:45 2000  Jeffrey A Law  (law@cygnus.com)
1143
1144         * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
1145         a list, to keep track of the sections.
1146
1147 2000-11-28  Nick Clifton  <nickc@redhat.com>
1148
1149         * config/arm/arm.md (pic_load_addr): Split into
1150         pic_load_addr_arm and pic_load_addr_thumb.
1151
1152         * config/arm/arm.c (legitimize_pic_address): Generate either
1153         ARM or Thumb versions of pic_load_addr.
1154         (arm_finalize_pic): Generate either ARM or Thumb versions of
1155         pic_load_addr.
1156
1157 2000-11-28  Richard Henderson  <rth@redhat.com>
1158
1159         * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
1160         after sibcall do_pending_stack_adjust.
1161
1162 Wed Nov 29 00:08:23 2000  J"orn Rennecke <amylaar@redhat.com>
1163
1164         * jump.c (delete_insn): Check that REG_LABEL note actually contains
1165         a CODE_LABEL.
1166
1167 2000-11-28  Neil Booth  <neilb@earthling.net>
1168
1169         * c-common.h: Remove flag_digraphs.
1170         * c-decl.c: Remove flag_digraphs.
1171         (c_decode_option): Don't set it.
1172         * c-lex.c (init_c_lex): Don't do anything for digraphs.
1173
1174 2000-11-28  Richard Henderson  <rth@redhat.com>
1175
1176         * c-parse.in (finish_parse): Update for parse_in type change.
1177         (_yylex): Likewise.
1178
1179 2000-11-28  Neil Booth  <neilb@earthling.net>
1180
1181         * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
1182         indicating whether to scan all buffers on the stack or
1183         just one.
1184         * cppinit.c (do_includes): Update.
1185         * cppmain.c (main): Update.
1186         * cpplib.h: Update prototype.
1187
1188 2000-11-28  Richard Henderson  <rth@redhat.com>
1189
1190         * genoutput.c (validate_insn_operands): New.
1191         (gen_insn): Call it.
1192
1193         * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
1194         (divmoddi_internal): Likewise.
1195         * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
1196         * config/i960/i960.md (branch patterns): Likewise.
1197         * config/ia64/ia64.md (tbit_and_0): Likewise.
1198         (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
1199         * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
1200         * config/mips/mips.md (divmodsi4_internal): Likewise.
1201         (divmoddi4_internal): Likewise.
1202         * config/rs6000/rs6000.md (call patterns): Likewise.
1203         * config/sh/sh.md (movsi_y): Likewise.
1204         * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
1205
1206 2000-11-28  Richard Henderson  <rth@redhat.com>
1207
1208         * config.gcc: Kill residual pyramid support.
1209
1210 2000-11-28  Neil Booth  <neilb@earthling.net>
1211
1212         * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
1213         * c-decl.c (c_decode_option): Update to match.
1214         * c-lex.c (init_c_lex, yyparse): Update to match.
1215         * c-lang.c (lang_init_options): Use cpp_create_reader.
1216         * cppinit.c (cpp_init): Rename initialize.
1217         (cpp_reader_init): Rename cpp_create_reader.  Create the
1218         reader.  Initialize cpplib if appropriate.
1219         * cpplib.h (cpp_create_reader) New prototype.
1220         (cpp_init, cpp_reader_init): Delete prototypes.
1221         * cppmain.c (general_init, setup_callbacks): New functions.
1222         (main): Use them.
1223         * fix-header.c (scan_in): Change type to cpp_reader *.
1224         (read_scan_file): Update for new cpplib interface and scan_in type.
1225
1226         * cp/decl.c (parse_in): Change to cpp_reader *.
1227         (lang_decode_option): Update.
1228         * cp/lex.c (lang_init_options): Use new cpplib interface.
1229         (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
1230         * cp/spew.c (read_token): Update.
1231         * objc/objc-act.c (lang_init_options): Update new cpplib interface.
1232
1233 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
1234
1235         * loop.c (load_mems): Avoid using next_label to find end_label. If
1236         jumping outside of the loop (other than loop end), don't hoist MEMs
1237         out of loop.
1238
1239 2000-11-28  Jan Hubicka  <jh@suse.cz>
1240
1241         * calls.c (expand_call): Don't disable tail recursion based
1242         on the loop nest.
1243
1244 2000-11-28  Neil Booth  <neilb@earthling.net>
1245
1246         * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
1247         (struct directive): Drop 4th argument from handlers.
1248         (do_define, do_line, do_include, do_undef, do_else, do_elif,
1249         do_endif): Similarly.
1250         (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
1251         (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
1252         (make_definition, make_undef): Take a const char*.
1253         (make_assertion): New function.
1254         (struct directive_table): Update.
1255         (main): Handle -A command line argument.
1256         (handle_directive): Drop fourth handler argument.
1257
1258 2000-11-28  Bernd Schmidt  <bernds@redhat.co.uk>
1259
1260         * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
1261         is anything but REG or MEM, but look inside STRICT_LOW_PART.
1262
1263 Tue Nov 28 09:53:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1264
1265         * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
1266         (IS_ABSOLUTE_PATHNAME): New macro.
1267         * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
1268
1269 2000-11-28  Jakub Jelinek  <jakub@redhat.com>
1270
1271         * config/i386/i386.md (truncxfsf2_2): Fix predicate.
1272
1273 2000-11-27  Jim Wilson  <wilson@redhat.com>
1274
1275         * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
1276
1277 2000-11-27  Matthias Klose  <doko@cs.tu-berlin.de>
1278
1279         * extend.texi (Nested Functions): Update URL of Usenix paper.
1280
1281 2000-11-27  Mark Mitchell  <mark@codesourcery.com>
1282
1283         * function.c (free_after_compilation): Clear x_clobber_return_insn.
1284
1285 2000-11-27  Neil Booth  <neilb@earthling.net>
1286
1287         * cppinit.c (cpp_reader_init): Remove handling of warn_paste
1288         command line options.
1289         (cpp_handle_option): Similarly.
1290         * cpplib.h (struct cpp_options): Remove warn_paste.
1291         * cppmacro.c (paste_tokens): Apart from assembler, make
1292         unpasteable token warning mandatory.
1293
1294 2000-11-27  Neil Booth  <neilb@earthling.net>
1295
1296         * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
1297         (main): Allocate a pending directive set of these.  Use it.
1298         Merge handling of -D and -U.  Update handling of pending
1299         directives.  Free the memory after use.
1300
1301 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
1302
1303         * flow.c (entry_exit_blocks): Add entry for cond_local_set.
1304         (struct propagate_block_info): Add new member cond_local_set.
1305         (propagate_block): Accept new arg cond_local_set.  All callers
1306         changed.
1307         (init_propagate_block_info): Likewise.
1308         (calculate_global_regs_live): Allocate & free cond_local_set.  Always
1309         rescan if there's overlap between cond_local_set and new_live_at_end.
1310         (mark_set_1): Set bits either in cond_local_set or local_set, as
1311         appropriate.
1312         * basic-block.h (struct basic_block_def): New field cond_local_set.
1313         (propagate_block, init_propagate_block_info): Update prototypes.
1314
1315 Mon Nov 27 17:29:44 2000  kaz Kojima <kkojima@rr.iij4u.or.jp>
1316
1317         * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
1318         T register.
1319
1320 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
1321
1322         * arm.c (select_dominance_cc_mode): Handle new way that combine
1323         canonicalizes conditional compares.
1324         (arm_select_cc_mode): Likewise.
1325         * arm.md: Garbage collect some dead code.
1326         (cmp_and, cmp_ior): New patterns.
1327         (splitter for conditional move with inverted false): Use cond_exec
1328         and handle unordered comparisons.
1329
1330 Mon Nov 27 17:22:56 MET 2000  Jan Hubicka  <jh@suse.cz>
1331
1332         * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
1333         * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
1334         * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
1335         ix86_force_to_memory and ix86_free_from_memory.
1336
1337 2000-11-27  Richard Earnshaw  <rearnsha@arm.com>
1338
1339         * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
1340         arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
1341         anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
1342         one_cmpldi2): Merge with splitters to create define_insn_and_split
1343         patterns.  Remove redundant splits.
1344         (peephole2 for add:SI of invalid immediate): New.
1345         (peephole2 for minus:SI of invalid immediate): New.
1346         (peephole2 for ior:SI of invalid immediate): New.
1347         (peephole for merge of move and compare): Convert ot peephole2.
1348         (addsf3, adddf3): Mark as commutative.
1349
1350         * arm.md (thumb peephole for merging stack adjustments): Convert to
1351         peephole2.
1352
1353 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
1354
1355         * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
1356
1357         * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
1358         (reload_cse_simplify_operands): Do nothing about operands where both
1359         the operand and the match_operand fail to give us a mode.
1360         * simplify-rtx.c (wrap_constant): New function.
1361         (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
1362         CONST describing the proper mode.
1363         (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
1364         cselib_lookup.
1365         (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
1366         htab_find_slot_with_hash.
1367         (cselib_lookup): Likewise.
1368
1369         Based on a patch from Geoff Keating <geoffk@redhat.com>:
1370         * loop.c (basic_induction_var): If a REG is set from something
1371         that is not a biv, then the REG is not a biv.  Even if it is
1372         earlier set from something that is a biv.
1373
1374 2000-11-27  Alexandre Oliva  <aoliva@redhat.com>
1375
1376         * configure.in (extra_objs): Enclose extra_headers in quotes.
1377         * configure: Rebuilt.
1378
1379 2000-11-27  Neil Booth  <neilb@earthling.net>
1380
1381         * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
1382         Combine into the new function cb_change_file.
1383         (init_c_lex): Update.
1384         * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
1385         (cpp_syshdr_flags): Delete.
1386         * cpphash.h (_cpp_do_file_change): New prototype.
1387         Move struct cpp_buffer here from...
1388         * cpplib.h (struct cpp_buffer): ... here.
1389         (enum cpp_fc_reason, struct cpp_file_loc,
1390         struct_cpp_file_change, change_file): New.
1391         (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
1392         * cpplib.c (do_line): Update for new cb_change_file callback.
1393         (_cpp_do_file_change): New function.
1394         (_cpp_pop_buffer): Update to use it.
1395         * cppmain.c (move_printer): Delete.
1396         (main): Set up single callback cb_change_file.
1397         (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
1398         (cb_change_file): New.
1399         * fix-header.c (cur_file, cb_change_file): New.
1400         (recognized_function, read_scan_file): Update.
1401         * scan-decls.c (scan_decls): Update.
1402         * scan.h (recognized_function): Update prototype.
1403
1404 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
1405
1406         * tree.h (mark_tree_hashtable): New function.
1407         * tree.c (mark_tree_hashtable_entry): New function.
1408         (mark_tree_hashtable): Likewise.
1409
1410 2000-11-27  Michael Meissner  <meissner@redhat.com>
1411
1412         * d30v-protos.h (srelational_si_operator): Correctly spell
1413         function.
1414         (urelational_si_operator): Ditto.
1415         (relational_si_operator): Ditto.
1416         (d30v_expand_prologue): Add prototype.
1417         (d30v_expand_epilogue): Ditto.
1418
1419         * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
1420
1421         * d30v.md (movcccc_*): Delete now unused patterns.
1422         (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
1423         IF_THEN_ELSE.
1424         (define_cond_exec): Use 'b' to select branch flags.
1425
1426 2000-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1427
1428         * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
1429         functions.
1430         (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
1431
1432         * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
1433
1434         * c-common.c (c_common_nodes_and_builtins): Declare builtin
1435         strncpy and strncmp.
1436
1437         * extend.texi (strncmp, strncpy): Document new builtins.
1438
1439 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
1440
1441         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
1442         a list, to keep track of the sections.
1443         * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
1444         parameter provided will always be a canonical string.
1445
1446 2000-11-26  Neil Booth  <neilb@earthling.net>
1447
1448         * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
1449         current buffer.
1450
1451 2000-11-26  Joseph S. Myers  <jsm28@cam.ac.uk>
1452
1453         * makefile.vms: Remove EGCS references.
1454
1455 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
1456
1457         * dwarf2out.c (output_file_names): New function.  Compute minimal
1458         combination of directory and file name table and emit them.
1459         (output_line_info): Remove code to emit directory and file name
1460         table and call output_file_names instead.
1461         (file_info_cmp): Helper function to sort directory names.
1462
1463 2000-11-26  Neil Booth  <neilb@earthling.net>
1464
1465         * cpplib.h (struct cpp_reader): Remove lang_asm.
1466         (struct cpp_options): Remove c89. New members lang,
1467         extended_numbers.
1468         * cppexp.c (parse_number): Use them.
1469         * cpphash.h (VALID_SIGN): Use them.
1470         * cppinit.c (set_lang, cpp_start_read): Update.
1471         * cpplex.c (parse_string, _cpp_lex_token): Update.
1472         * cpplib.c (_cpp_handle_directive): Update.
1473         * cppmacro.c (parse_args): Update.
1474         * cppmain.c (scan_buffer): Update.
1475
1476 Sun Nov 26 10:02:37 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1477
1478         * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
1479         proper type.
1480
1481 2000-11-26  Neil Booth  <neilb@earthling.net>
1482
1483         * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
1484         * c-decl.c: Remove parse_in declaration.
1485         * c-lang.c: Similarly.
1486         * c-lex.c: Similarly.
1487         * c-parse.in: Similarly.
1488         * c-pragma.c: Similarly.
1489         * configure.in: Similarly.
1490         * cp/Make-lang.in: Similarly.
1491         * cp/spew.c: Similarly.
1492         * cp/decl2.c: Remove check for lang-c++ option.
1493         * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
1494         * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
1495         * c-lex.h: Add declaration of parse_in.
1496         * cppinit.c: Call set_lang after allocating pfile->pending.
1497         * configure: Regenerate.
1498
1499 2000-11-25  Zack Weinberg  <zack@wolery.stanford.edu>
1500
1501         * combine.c (try_combine): Remove redundant test.
1502
1503 2000-11-25  Richard Henderson  <rth@redhat.com>
1504
1505         * c-common.h (DECL_C_HARD_REGISTER): New.
1506         * c-decl.c (finish_decl): Set it for asm register variables.
1507         * c-semantics.c (emit_local_var): Test it when instantiating one.
1508
1509 2000-11-25  Richard Henderson  <rth@redhat.com>
1510
1511         * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
1512         lineno for the start of the function.
1513
1514 2000-11-25  Richard Henderson  <rth@redhat.com>
1515
1516         * dwarf2out.c (file_table, file_table_allocated): Remove.
1517         (file_table_allocated): Remove.
1518         (struct file_table): New.
1519         (decl_file_table, line_file_table): New.
1520         (print_dwarf_line_table): Use them.
1521         (size_of_line_prolog): Likewise.
1522         (output_line_info): Likewise.
1523         (add_src_coords_attributes): Likewise.
1524         (gen_subprogram_die): Likewise.
1525         (gen_variable_die): Likewise.
1526         (dwarf2out_add_library_unit_info): Likewise.
1527         (dwarf2out_line): Likewise.
1528         (lookup_filename): Take a struct file_table argument.
1529         (init_file_table): New.
1530         (dwarf2out_init): Use it.
1531
1532 2000-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1533
1534         * invoke.texi: Update sequence points references.
1535
1536 2000-11-25  Neil Booth  <neilb@earthling.net>
1537
1538         * c-common.c: Remove USE_CPPLIB conditional inclusions.
1539         * c-common.h: Similarly.
1540         * c-decl.c: Similarly.
1541         * c-lang.c: Similarly.
1542         * c-lex.c: Similarly.
1543         * c-parse.in: Similarly.
1544         * c-pragma.c: Similarly.
1545         * c-pragma.h: Similarly.
1546         * gcc.c: Similarly.
1547         * toplev.c: Similarly.
1548         * cp/cp-tree.h: Similarly.
1549         * cp/decl2.c: Similarly.
1550         * cp/lang-specs.h: Similarly.
1551         * cp/lex.c: Similarly.
1552         * cp/lex.h: Similarly.
1553         * cp/spew.c: Similarly.
1554         * java/lang-options.h: Similarly.
1555         * objc/lang-specs.h: Similarly.
1556         * objc/objc-act.c: Similarly.
1557
1558         * configure.in: Remove configure option.
1559         * config.in: Regenerate.
1560         * configure: Regenerate.
1561
1562 2000-11-25  Richard Henderson  <rth@redhat.com>
1563
1564         * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
1565         Revert 2000-11-22 change.
1566
1567 2000-11-25  Bernd Schmidt  <bernds@redhat.co.uk>
1568
1569         * config/i386/i386.h (FIXED_REGS): Make the three flags registers
1570         fixed.
1571
1572 2000-11-25  Philipp Thomas  <pthomas@suse.de>
1573         * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
1574         * configure: Rebuilt.
1575
1576 2000-11-25  Jakub Jelinek  <jakub@redhat.com>
1577
1578         * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
1579         Handle CONST_INT as second argument.
1580         * config/sparc/sparc.c (set_extends): Remove first argument.
1581         Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
1582         MOV.
1583         (sparc_check_64): Abort if first argument is not REG.
1584         If it is DImode REG, look at the lower register of the register
1585         pair.
1586
1587         * config/sparc/sparc.c (load_pic_register, restore_regs,
1588         output_return, sparc_v8plus_shift, sparc_function_profiler,
1589         sparc_function_block_profiler, sparc_block_profiler): Fix output
1590         formatting.
1591
1592 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>
1593
1594         * config/sh/sh.h (TARGET_NONE): New.
1595         (TARGET_SWITCHES): For all variant-selecting switch, use
1596         TARGET_NONE to reset all other variant-selecting switch.  Added
1597         empty strings to avoid warnings.
1598         (TARGET_DEFAULT): Set to SH1_BIT.
1599
1600         * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
1601         insn-codes.h.
1602
1603         * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
1604         (sibcall_pcrel): New insn_and_split.
1605         (sibcall, sibcall_value, sibcall_epilogue): New expands.
1606
1607         * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
1608         symPLT_label2reg, call, call_value): Don't set
1609         current_function_uses_pic_offset_table.
1610         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
1611         PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
1612         takes it into account.
1613         (FINALIZE_PIC): Delete, useless.
1614         (LEGITIMATE_CONSTANT_P): Delete, unused.
1615         * config/sh/sh.c (sh_expand_prologue): Don't use
1616         current_function_uses_pic_offset_table.  Don't special-case
1617         PIC_OFFSET_TABLE_REGNUM.  Initialize it if it's ever live and
1618         PIC is enabled.
1619         (sh_expand_epilogue, initial_elimination_offset): Don't
1620         special case PIC_OFFSET_TABLE_REGNUM.
1621
1622 2000-11-25  Alexandre Oliva  <aoliva@redhat.com>, NIIBE Yutaka  <gniibe@m17n.org>
1623
1624         * config/sh/sh-protos.h (symbol_ref_operand): Declare.
1625         * config/sh/sh.md (UNSPEC_CALLER): New constant.
1626         (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
1627         (call_pcrel, call_value_pcrel): New insn_and_splits.
1628         (call, call_value): Use them.
1629         (call_site): New expand.
1630         (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
1631         * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
1632         Output call_site label.
1633         (PREDICATE_CODES): Added symbol_ref_operand.
1634         * config/sh/sh.c (symbol_ref_operand): Define.
1635         * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
1636         to CALL_INSNs in the split sequence.
1637
1638 2000-11-24  Nick Clifton  <nickc@redhat.com>
1639
1640         * config.gcc (v850-*-*): Define c_target_objs and
1641         cxx_target_objs.
1642
1643         * config/v850/t-v850: Define how to build v850-c.o
1644
1645         * config/v850/v850.h (struct data_area_stack_element): Move
1646         definition here from v850.c.
1647
1648         * config/v850v850.c: Include gcc.h to avoid compile time
1649         warning.
1650         (push_data_area): Move to v850-c.c.
1651         (pop_data_area): Move to v850-c.c.
1652         (mark_current_function_as_interrupt): Move to v850-c.c.
1653         (GHS_default_section_names): Allow to be exported.
1654         (GHS_current_section_names): Allow to be exported.
1655         (data_area_stack_elements): Allow to be exported.
1656         (ghs_pragma_section): Move to v850-c.c.
1657         (ghs_pragma_interrupt): Move to v850-c.c.
1658         (ghs_pragma_starttda): Move to v850-c.c.
1659         (ghs_pragma_startsda): Move to v850-c.c.
1660         (ghs_pragma_startzda): Move to v850-c.c.
1661         (ghs_pragma_endtda): Move to v850-c.c.
1662         (ghs_pragma_endsda): Move to v850-c.c.
1663         (ghs_pragma_endzda): Move to v850-c.c.
1664
1665         * config/v850/v850-c.c: New file: Contains v850 specific
1666         pragma parsing functions.
1667
1668 2000-11-24  Nick Clifton  <nickc@redhat.com>
1669
1670         * config.gcc (extra_objs): Remove duplicate description.
1671         (c_target_objs): New variable.  Contains target specific
1672         object files for the gcc C compiler only.
1673         (cxx_target_objs): New variable.  Contains target specific
1674         object files for the gxx C++ compiler only.
1675
1676         * configure.in (c_target_objs): Substitute in the makefile.
1677         (cxx_target_objs): Substitute in the makefile.
1678         * configure: Regenerate.
1679
1680         * Makefile.in (C_TARGET_OBJS): Define and initialise from
1681         c_target_objs.
1682         (CXX_TARGET_OBJS): Define and initialise from
1683         cxx_target_objs.
1684         (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
1685
1686         * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
1687
1688         * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
1689         about how the use of the 'c_lex' function requires the use of
1690         the target specific, language specific object files feature of
1691         the configuration mechanism.
1692
1693 Fri Nov 24 18:50:58 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1694
1695         * gcc.c (process_command): Use F_OK, not R_OK.
1696
1697 2000-11-24  Arno J. Klaassen  <arno@heho.snv.jussieu.fr>
1698
1699         * flow.c (print_rtl_and_abort): Remove ANSIism.
1700
1701 Fri Nov 24 19:54:36 2000  Alexandre Oliva  <aoliva@redhat.com>
1702
1703         * config/sh/sh.h (GENERAL_REGISTER_P,
1704         GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
1705         FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros.  Use them
1706         all over.
1707         (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
1708         * config/sh/sh.c: Use new macros.
1709         * config/sh/sh.md: Likewise.
1710
1711 Fri Nov 24 19:46:16 2000  Alexandre Oliva  <aoliva@redhat.com>
1712
1713         * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
1714         instead of just MACH_REG in DImode.  Always refer to FPSCR_REG
1715         in PSImode.
1716
1717 Fri Nov 24 22:37:41 2000  Denis Chertykov  <denisc@overta.ru>
1718
1719         * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
1720         fixed.
1721         (machine_dependent_reorg): Wrong optimization based on
1722         NOTICE_UPDATE_CC removed.
1723
1724 Fri Nov 24 19:48:09 2000  J"orn Rennecke <amylaar@redhat.com>
1725
1726         * jump.c (delete_computation): Re-instate deletion of feeding insn.
1727         (delete_insn): Look for REG_LABEL notes.
1728         (redirect_tablejump): Delete feeding insns.
1729
1730 2000-11-24  Bernd Schmidt  <bernds@redhat.co.uk>
1731
1732         * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
1733         call_value_pop_1): Make sure operand numbers are contiguous.
1734
1735         * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
1736
1737         * reload1.c (conflicts_with_override): New function.
1738         (emit_input_reload_insns): Use it to tighten test for validity
1739         of substituting into output of previous insn.
1740
1741         * haifa-sched.c (struct ready_list): New.
1742         (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
1743         functions.
1744         (schedule_insn): Replace args READY and N_READY with a pointer to a
1745         ready_list; return void.  Use the new functions to access the ready
1746         list.  All callers changed.
1747         (queue_to_ready, debug_ready_list): Likewise.
1748         (schedule_block): Initialize a ready_list structure.  Use new
1749         functions to access it.
1750         (max_priority): Remove unused variable.
1751         (schedule_insn): Don't set it.
1752
1753         * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
1754
1755         * combine.c (cant_combine_insn_p): New function.
1756         (try_combine): Use it.
1757
1758         * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
1759         * c-common.c (c-obstack.c): Include "obstack.h".
1760         (struct reverse_tree): Delete.
1761         (reverse_list, reverse_max_depth): Delete.
1762         (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
1763         (struct tlist, struct tlist_cache): New.
1764         (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
1765         (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
1766         warn_for_collisions, warn_for_collisions_1, new_tlist): New
1767         static functions.
1768         (verify_sequence_points): Rewritten.
1769         * fold-const.c (fold): Don't lose possibly important sequence
1770         points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
1771
1772 2000-11-24  Richard Sandiford  <rsandifo@redhat.com>
1773
1774         * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
1775         when reversing a register-to-register copy.  Reversal now disabled
1776         when the previous instruction has a REG_EQUIV.
1777
1778 2000-11-24  Nathan Sidwell  <nathan@codesourcery.com>
1779
1780         * c-parse.in (unary_expr): Move VA_ARG from here ...
1781         (primary): ... to here.
1782
1783 2000-11-23  Graham Stott  <grahams@redhat.com>
1784
1785         * expr.c (store_constructor): If a field is non addressable and
1786         the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
1787
1788 2000-11-23  Bernd Schmidt  <bernds@redhat.co.uk>
1789
1790         * flow.c (print_rtl_and_abort): New function.
1791         (verify_wide_reg, verify_local_live_at_start): Try to dump more
1792         information before aborting.
1793
1794 2000-11-23  Alexandre Oliva  <aoliva@redhat.com>
1795
1796         * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
1797         is narrower than requested mode.
1798         (gen_highpart): Abort if register mode is narrower than
1799         requested mode.
1800
1801 2000-11-23  Graham Stott  <grahams@redhat.com>
1802
1803         * cse.c (cse_insn): Initialise all regcost variables.
1804         Fix a typo add missing '='.
1805         Only compare costs if there is a replacement insn.
1806
1807 Thu Nov 23 04:33:33 2000  Alexandre Oliva  <aoliva@redhat.com>
1808
1809         * final.c (output_addr_const) [LABEL_REF]: Simplify.
1810         [MINUS]: Enclose non-CONST_INTs in parentheses.
1811         [default]: Try OUTPUT_ADDR_CONST_EXTRA.
1812         * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
1813         * varasm.c (decode_rtx_const) [CONST]: If it's not something
1814         PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
1815         instead of abort()ing.
1816         * sh.c (output_pic_addr_const): Removed.  Fixed all callers.
1817         * sh.h (OUTPUT_ADDR_CONST_EXTRA): New.  Handle the UNSPECs
1818         formerly handled in output_pic_addr_const.
1819         * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
1820         operands of MINUS in CONSTs so that decode_rtx_const() will
1821         accept them.
1822
1823 Thu Nov 23 04:10:30 2000  Alexandre Oliva  <aoliva@redhat.com>
1824
1825         * config/sh/sh.md (mova_const): New pattern.
1826         (GOTaddr2picreg): Use it.
1827         * config/sh/sh.c (broken_move): Match it.
1828         (mova_p): Don't match it.
1829         (machine_dependent_reorg): Adjust it.
1830
1831 Thu Nov 23 02:09:09 2000  Alexandre Oliva  <aoliva@redhat.com>
1832
1833         * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
1834         Moved most register-number #defines...
1835         * config/sh/sh.md (define_constants): ... here.  Use macros to
1836         refer to registers and unspecs.
1837         * config/sh/sh.c: Likewise.
1838
1839 Thu Nov 23 01:01:32 2000  J"orn Rennecke <amylaar@redhat.com>
1840
1841         * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
1842         (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
1843         (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
1844         (splay-tree.o, hash.o): Likewise.
1845         GCONFIG_H: New.
1846         (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
1847         (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
1848         (hashtab.o): Likewise.
1849         (gcov.o): Depend on $(CONFIG_H).
1850         * configure.in: #include insn-codes.h in tm.h.
1851
1852 2000-11-22  Nick Clifton  <nickc@redhat.com>
1853
1854         * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
1855         const char * to avoid a compile time warning.
1856
1857         * config/arm/arm.md (define_constants): Define symbolic names for
1858         the link register, last integer register and the fake CC register.
1859         Update patterns to use these symbolic names.
1860
1861 2000-11-22  Neil Booth  <neilb@earthling.net>
1862
1863         * cpplex.c (trigraph_ok): Ensure we don't warn twice.
1864         * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
1865
1866 2000-11-22  Richard Henderson  <rth@redhat.com>
1867
1868         * haifa-sched.c (sched_analyze_1): Don't special-case calls
1869         for clobbering registers.
1870         (sched_analyze_2): Likewise.
1871         (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
1872
1873 2000-11-22  Chris Demetriou  <cgd@sibyte.com>
1874             Neil Booth  <neilb@earthling.net>
1875
1876         * gcc.c (validate_switches): Validate multiple switches named
1877         in '|' (or) expressions in specs.
1878         (handle_braces): If more than 1 alternative in a '|' spec
1879         matches, call do_spec1 just once.
1880
1881 2000-11-22  Michael Meissner  <meissner@redhat.com>
1882
1883         * d30v.h (TARGET_SWITCHES): Add documentation strings.
1884         (TARGET_OPTIONS): Ditto.
1885         (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
1886         -O3.
1887
1888 Wed Nov 22 06:40:56 2000  Jeffrey A Law  (law@cygnus.com)
1889
1890         * pa.c (hppa_encode_label): Account for addition of encoding
1891         character when allocating persistent space for the new label
1892         name.
1893
1894 2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
1895
1896         * Makefile.in, config.gcc, configure.in: Expunge remaining
1897         traces of facility for running MD files through C preprocessor.
1898
1899 2000-11-22  Joseph S. Myers  <jsm28@cam.ac.uk>
1900
1901         * gcov.texi: Add magic comments for texi2pod.pl.
1902         * Makefile.in: Add rules to generate and install gcov.1.
1903         * gcov.1: New (generated) file.
1904
1905 2000-11-21  Richard Henderson  <rth@redhat.com>
1906
1907         * regrename.c (scan_rtx_reg): Terminate the chain rather than
1908         abort on mark_read with NO_REGS.
1909
1910 2000-11-21  Mike Stump  <mrs@wrs.com>
1911
1912         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
1913         compilation with older compilers, such as /bin/cc on SunOS.
1914         * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
1915
1916 2000-11-21  Richard Henderson  <rth@redhat.com>
1917
1918         * varasm.c (record_constant): Pad the constructed
1919         constant_descriptor appropriately.
1920
1921 Wed Nov 22 00:52:55 2000  J"orn Rennecke <amylaar@redhat.com>
1922
1923         * rtl.h (traverse_md_constants): Declare.
1924         (struct md_constant): Define.
1925         * Makefile.in (HOST_RTL): Add hashtab.o .
1926         (OBJS): Add hashtab.o .
1927         (hashtab.o): New rule.
1928         (rtl.o): Depends on HASHTAB_H.
1929         * rtl.c (hashtab.h): #include.
1930         (md_constants): New static variable.
1931         (def_hash, def_name_eq_p, read_constants): New static functions.
1932         (traverse_md_constants): New function.
1933         (read_name): Do constant expansion.
1934         (read_rtx): Recognize define_constants.
1935         * gencodes.c (print_md_constant): New function.
1936         (main): Emit #defines for all constant definitions encountered.
1937         * md.texi (Constant Definitions): New node.
1938         * gensupport.c (xcalloc): New function.
1939
1940 2000-11-21  Richard Henderson  <rth@redhat.com>
1941
1942         * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
1943         * config/alpha/alpha-protos.h: Declare it.
1944         * config/alpha/alpha.md (abstf_internal): Use it.
1945         (negtf_internal): Likewise.
1946         (andnotdi3): Unstar the name.
1947         (movtf_internal): Add o/G alternative.
1948
1949 2000-11-21  Zack Weinberg  <zack@wolery.stanford.edu>
1950
1951         * stringpool.c (stringpool_statistics): Also report number and
1952         percentage of entries which are identifiers.
1953
1954 2000-11-21  Diego Novillo  <dnovillo@redhat.com>
1955
1956         * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
1957         visited before visiting it.
1958
1959 2000-11-21  Nick Clifton  <nickc@redhat.com>
1960
1961         * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
1962         TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
1963
1964         * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
1965
1966 2000-11-21  Richard Henderson  <rth@redhat.com>
1967
1968         * c-common.c (c_unsafe_for_reeval): New function.
1969         (add_c_tree_codes): Register it.
1970         * c-common.h: Declare it.
1971         * tree.c (lang_unsafe_for_reeval): New hook.
1972         (unsafe_for_reeval): Call it.
1973         * tree.h: Declare it.
1974
1975 2000-11-21  Richard Henderson  <rth@redhat.com>
1976
1977         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
1978         references as well.
1979
1980 2000-11-21  Neil Booth  <neilb@earthling.net>
1981
1982         * do_includes: Revert to using cpp_read_file.
1983
1984 2000-11-21  Bernd Schmidt  <bernds@redhat.co.uk>
1985
1986         * loop.c (consec_sets_giv): If the reg we're examining is anything
1987         but UNKNOWN_INDUCT, do nothing.
1988         Reset the reg's type to UNKNOWN_INDUCT before returning.
1989
1990         Mostly from Vladimir Makarov (vmakarov@redhat.com)
1991         * ia64.md (attr itanium_class): Define insn types as described in
1992         Itanium docs.
1993         (all insn patterns): Use itanium_class, not type attributes.
1994         Occasionally split alternatives as necessary.
1995         (attr type): Compute from new attr itanium_class.
1996
1997 2000-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1998
1999         * tradcpp.c (output_line_command): Mark system headers as such in
2000         `line' commands.
2001
2002 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
2003
2004         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
2005         support in as as well.
2006         * configure: Regenerate.
2007
2008 2000-11-20  Richard Henderson  <rth@redhat.com>
2009
2010         * c-lex.c (orig_filename): New variable.
2011         (init_c_lex): Set it.  Move call to cpp_start_read ...
2012         (yyparse): ... here.  New function.
2013         * c-parse.in (yyparse_1): Rename the parser entry point.
2014         * c-tree.h: Declare it.
2015
2016 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
2017
2018         * expr.c (do_compare_and_jump): If op0 was replaced by promoted
2019         integer constant, use type of op1 for comparison.
2020
2021 2000-11-20  Stan Shebs  <shebs@apple.com>
2022
2023         * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
2024         * config/rs6000/x-darwin: New file, Darwin host fragment.
2025         * config.gcc (powerpc-*-darwin*): New host.
2026         * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
2027         overridden by a config file.
2028
2029 2000-11-20  Neil Booth  <neilb@earthling.net>
2030
2031         * cppmacro.c (paste_tokens): Rename from paste_payloads.
2032         Change token type after pasting spellings.
2033         (paste_all_tokens): Use it.
2034         * gcc.dg/cpp/paste2.c: Update test.
2035         * objc/execute/paste.m: New test.
2036
2037 2000-11-20  Richard Henderson  <rth@redhat.com>
2038
2039         * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
2040         dwarf_subscr_data_formats bits.
2041         * dwarfout.c (simple_type_size_in_bits): Handle a type with
2042         no computed size as size zero.
2043         (field_byte_offset): Likewise.
2044         (subscript_data_attribute): Handle a range with no upper bound.
2045
2046 2000-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2047
2048         * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
2049
2050 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
2051
2052         * c-typeck.c (build_conditional_expr): When merging type
2053         qualifiers for conditional expressions between a pointer and a
2054         pointer to a void type, merge the qualifiers on the target types
2055         rather than the pointer type.  Remove obsolete conditioned out
2056         code.
2057
2058 2000-11-20  Neil Booth  <neilb@earthling.net>
2059
2060         * c-lang.c (lang_init_options): Update call to
2061         cpp_reader_init.
2062         * cppmain.c (main): Similarly.
2063         * fix-header.c (read_scan_file): Similarly.
2064         * cp/lex.c (lang_init_options): Similarly.
2065         * objc/objc-act.c (lang_init_options): Similarly.
2066         * cppexp.c (parse_number): Only warn for unextended C89.
2067         * cppinit.c (set_lang): New function.
2068         (cpp_reader_init): Take a LANG argument and pass it to set_lang.
2069         (COMMAND_LINE_OPTIONS): New option std=c++98.
2070         (cpp_handle_option): Use set_lang.
2071         * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
2072         * cppib.h (enum_c_lang): New enumeration.  Update comments.
2073
2074 2000-11-20  Will Cohen  <wcohen@redhat.com>
2075
2076         * calls.c (expand_call): Clear target only when target is in
2077         hard register and current_function_check_memory_usage is set.
2078
2079 2000-11-20  Bernd Schmidt  <bernds@redhat.co.uk>
2080
2081         * toplev.c (rest_of_compilation): Run optimize_mode_switching even
2082         if not optimizing.
2083         * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
2084
2085 2000-11-19  Richard Henderson  <rth@redhat.com>
2086
2087         * crtstuff.c (force_to_data): Use array size 1 not 0.
2088
2089         * dwarf2out.c (simple_type_size_in_bits): Handle a type with
2090         no computed size as size zero.
2091         (field_byte_offset): Likewise.
2092
2093 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
2094
2095         * config.gcc: Fix another typo.
2096
2097 2000-11-19  Richard Henderson  <rth@redhat.com>
2098
2099         * c-decl.c (grokdeclarator): Support flexible array members.
2100         Use open-ended ranges for these and zero-length arrays.
2101         * c-typeck.c (push_init_level): Validate the context of
2102         initialization of a zero-length array.
2103         * tree.c (int_fits_type_p): Be prepared for missing bounds.
2104         * varasm.c (array_size_for_constructor): New.
2105         (output_constructor): Use it for arrays of unspecified length.
2106         * extend.texi (Zero Length): Mention C99 flexible array members.
2107         Document initialization in a top-level struct as valid.
2108
2109 2000-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2110
2111         * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
2112
2113         * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
2114         stdarg and varargs functions.
2115
2116 2000-11-19  Zack Weinberg  <zack@wolery.stanford.edu>
2117
2118         * gcc.c (process_command): Define 'j' variable when
2119         MODIFY_TARGET_NAME is defined.
2120
2121 2000-11-19  Richard Henderson  <rth@redhat.com>
2122
2123         * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
2124
2125 2000-11-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2126
2127         * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
2128         calculation and allocation.
2129
2130 2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2131
2132         * builtins.c (c_getstr): Constify variable.
2133         * gmon-sol2.c (_mcleanup): Comment out #endif labels.
2134         * conflict.c (const_conflict_graph_arc): New typedef.
2135         (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
2136         * cppmacro.c (builtin_macro): Likewise.
2137         * dwarf2out.c (output_comp_unit): Constify variable.
2138         * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
2139         * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
2140         * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
2141         away const-ness.
2142         * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
2143         ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
2144         * varasm.c (const_str_htab_hash, const_str_htab_eq,
2145         compare_constant_1, record_constant_1): Constify.
2146
2147 2000-11-18  Richard Henderson  <rth@redhat.com>
2148
2149         * c-decl.c (grokdeclarator): Special case the creation of an
2150         index for a zero-length array.
2151         * tree.c (build_index_type): Revert Oct 20 change.
2152
2153 2000-11-18  Marek Michalkiewicz  <marekm@linux.org.pl>
2154
2155         * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
2156         * config/avr/avr.c (jump_tables_size): New variable.
2157         (function_prologue): Initialize it as 0.
2158         (function_epilogue): Add it to function_size.
2159         (avr_output_addr_vec_elt): New function.  Count words in jump
2160         tables in jump_tables_size.  Move code ...
2161         * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
2162         Call avr_output_addr_vec_elt instead.
2163         * config/avr/avr.md (tablejump): Remove disabled define_expand.
2164
2165 2000-11-18  Mark Mitchell  <mark@codesourcery.com>
2166
2167         * configure.in: Make --enable-new-gxx-abi the default.
2168         * configure: Likewise.
2169
2170 2000-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2171
2172         * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
2173
2174         * tradcif.y: Include tradcpp.h.  Constify.  Make functions static.
2175         Move extern function declarations to tradcpp.h.
2176
2177         * tradcpp.c: Likewise.
2178
2179         * tradcpp.h: New file.
2180
2181 2000-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2182
2183         * c-decl.c (check_for_loop_decls): New function.
2184         * c-parse.in (for_init_stmt): New.
2185         (select_or_iter_stmt): Use for_init_stmt.
2186         * c-tree.h (check_for_loop_decls): New declaration.
2187
2188 2000-11-18  Neil Booth  <neilb@earthling.net>
2189
2190         * cppinit.c: Update comments.
2191         (cpp_reader_init): Make -imacro and -include use the standard
2192         #include "" search path.
2193         (do_includes): New function.
2194
2195 2000-11-18  Ben Elliston  <bje@redhat.com>
2196
2197         * config/sh/crt1.asm (start_l): Move PC-relative move instruction
2198         out of a branch delay slot.
2199
2200 2000-11-17  Richard Henderson  <rth@redhat.com>
2201
2202         * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
2203         (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
2204         (ASM_FILE_START): Only write out ecoff .file directive if
2205         emitting mdebug debugging.
2206
2207 2000-11-17  Richard Henderson  <rth@redhat.com>
2208
2209         * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.  Detect
2210         whether as accepts .file/.loc and produces dwarf2 line info.
2211         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
2212         the assembler supports it.
2213         * config.in, configure: Regenerate.
2214
2215 2000-11-17  Richard Henderson  <rth@redhat.com>
2216
2217         * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
2218
2219 2000-11-17  Jim Wilson  <wilson@redhat.com>
2220
2221         * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
2222         Don't clear need_barrier is next_insn is a CALL_INSN, or has
2223         instruction type B or UNKNOWN.
2224
2225 2000-11-17  Neil Booth  <neilb@earthling.net>
2226
2227         * cpperror.c (print_file_and_line): Don't display line number if 0.
2228
2229 2000-11-17  Zack Weinberg  <zack@wolery.stanford.edu>
2230
2231         * ggc.h: Delete ggc_add_string_root and ggc_mark_string.  Add
2232         digit_vector and digit_string.
2233         * stringpool.c (digit_vector): New.
2234         (ggc_alloc_string): Use digit_string.
2235
2236         * stmt.c (digit_strings): Delete.
2237         (init_stmt): Do not initialize digit_strings.
2238         (expand_asm_operands): Use ggc.h's digit_string macro.
2239         * toplev.c (mark_file_stack): Delete.
2240         (compile_file): Don't call init_tree_codes.
2241         (main): No need to make the file stack a GC root.
2242         * tree.c (init_tree_codes): Delete.
2243         * tree.h (init_tree_codes): Delete.
2244
2245         * c-lex.c: Don't include ggc.h.
2246         (mark_splay_tree_node, mark_splay_tree): Delete.
2247         (init_c_lex): No need to ggc_strdup string constant.  Don't add
2248         file_info_tree to GGC roots.
2249         (cb_enter_file, cb_rename_file): No need to ggc_strdup
2250         ip->nominal_fname.
2251
2252         * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
2253
2254         * dbxout.c (dbxout_init),
2255         dwarf2out.c (dwarf2out_line),
2256         ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
2257         varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
2258         xcoffout.c (xcoffout_source_file),
2259         i386.c (load_pic_register):
2260         Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
2261
2262         * except.c (create_rethrow_ref),
2263         profile.c (init_edge_profiler),
2264         toplev.c (compile_file),
2265         varasm.c (named_section, assemble_static_space,
2266         assemble_trampoline_template, output_constant_def, force_const_mem),
2267         i386.c (load_pic_register),
2268         ia64.c (ia64_encode_section_info),
2269         rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
2270         rs6000_emit_prologue, rs6000_emit_epilogue),
2271         rs6000.md (load_toc_aix_si, load_toc_aix_di):
2272         Change ggc_alloc_string (var, -1) to ggc_strdup (var).
2273
2274         * profile.c (output_func_start_profiler),
2275         tree.c (make_node),
2276         i386.c (load_pic_register): No need to ggc_strdup string constant.
2277
2278 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
2279
2280         * Makefile.in (config.status): Depend on config.gcc.
2281         * configure.in <for machine in $build $host $target>: Move
2282         contents of loop into config.gcc, removing autoconf quoting.
2283         Fix changequote bug for alpha*-*-vxworks*.
2284         * configure: Regenerate.
2285         * config.gcc: New.
2286
2287 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
2288
2289         * c-parse.in (if_prefix): Find the filename and line number at
2290         $-2 and $-1 respectively.
2291         * diagnostic.c (error_recursion): Add missing newline, use
2292         fputs, translate string.
2293
2294 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
2295
2296         * stringpool.c: New file.
2297         * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
2298         (ggc_alloc_string): Now in stringpool.o.
2299         * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
2300         * ggc.h: Delete prototype of ggc_add_string_root.  #define
2301         ggc_add_string_root and ggc_mark_string to nothing.  Prototype
2302         init_stringpool and stringpool_statistics.
2303         (ggc_alloc_string): Returns a const char *.
2304         * tree.c (hash_table, do_identifier_warnings): Delete.
2305         (init_obstacks): Don't initialize the identifier hash table.
2306         (get_identifier, maybe_get_identifier, start_identifier_warnings,
2307         set_identifier_size): Now in stringpool.c.
2308         * tree.h (struct tree_string): Constify pointer field.
2309         (approx_sqrt): Prototype.
2310
2311         * Makefile.in (stringpool.o): Add rule, mention in OBJS.
2312
2313         * toplev.c (approx_sqrt): New function.
2314         (compile_file): Call stringpool_statistics if mem_report is on.
2315         (main): Call init_stringpool.
2316
2317         * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
2318         (process_directive), c-typeck.c (constructor_asmspec, struct
2319         initializer_stack, start_init), except.c (create_rethrow_ref),
2320         stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
2321         (built_in_filename), varasm,c (in_named_name,
2322         assemble_static_space, struct constant_descriptor, struct
2323         deferred_string, struct pool_constant, force_const_mem),
2324         i386.c (pic_label_name, global_offset_table_name), rs6000.c
2325         (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
2326
2327         * c-common.c (combine_strings): Combine strings in scratch
2328         buffer, then pass to build_string.
2329         * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
2330         output_func_start_profiler), stmt.c (init_stmt), alpha.c
2331         (alpha_need_linkage), arm.c (arm_encode_call_attribute),
2332         i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
2333         rs6000.c (rs6000_encode_section_info): Create string in
2334         scratch buffer, then pass to ggc_alloc_string.
2335
2336         * stmt.c (expand_asm_operands): If we must adjust the
2337         constraint strings, do so by creating a new one, not by
2338         modifying the old one in place.  Constify some char *s.
2339         * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
2340         argument.  Create string in scratch buffer, then pass to
2341         ggc_alloc_string.
2342         * config/pa/pa-protos.h: Update prototype.
2343         * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
2344         hppa_encode_label takes only one argument.
2345
2346 2000-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2347
2348         * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
2349         malloc/realloc.
2350
2351         * cpplib.c (glue_header_name): Likewise.
2352
2353         * fixincl.c (run_compiles, start_fixer): Likewise.
2354
2355         * fixlib.c (load_file_data): Likewise.
2356
2357         * mkdeps.c (munge): Likewise.
2358
2359 2000-11-17  Hans-Peter Nilsson  <hp@axis.com>
2360
2361         * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
2362         trailing ';'.  Fix formatting.
2363
2364 2000-11-16  Jim Wilson  <wilson@redhat.com>
2365
2366         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
2367         Shift masks left by one to avoid conflict.
2368
2369         * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
2370         DECL_EXTERNAL set.
2371
2372 2000-11-16  Nick Clifton  <nickc@redhat.com>
2373
2374         * config/arm/arm.c (output_arm_prologue): Note nested functions.
2375         (arm_expand_prologue): For nested functions preserve the
2376         static chain register during stack frame creation.
2377
2378         * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
2379         (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
2380         with a stack frame there is a 4 byte gap between the arg
2381         pointer and the hard frame pointer (used to preserve the
2382         static chain register during stack frame creation).
2383
2384 2000-11-16  DJ Delorie  <dj@redhat.com>
2385
2386         * rtl.c (read_rtx): Provide suitable names for unnamed
2387         define_insn and define_insn_and_split patterns, based on file
2388         and line numbers.
2389
2390 2000-11-15  Neil Booth  <neilb@earthling.net>
2391
2392         * cpplib.c (start_directive, end_directive): New functions.
2393         (_cpp_handle_directive, run_directive): Use them.
2394         (_cpp_handle_directive): Don't -Wtraditional on indented
2395         null directives.
2396         (_cpp_push_buffer): Don't re-clear was_skipping.
2397         * cpplib.h (struct cpp_reader): New member la_saved.
2398         * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
2399         directives.
2400
2401         gcc.dg/cpp/_Pragma1.c: Update.
2402         gcc.dg/cpp/_Pragma2.c: New test.
2403
2404 2000-11-15  Mark Mitchell  <mark@codesourcery.com>
2405
2406         * toplev.c (wrapup_global_declarations): Don't write out
2407         artificial static variables that aren't needed.
2408
2409 2000-11-15  Bernd Schmidt  <bernds@redhat.co.uk>
2410
2411         * ia64.c (struct group): New structure.
2412         (last_group): New static array.
2413         (group_idx): New static variable.
2414         (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
2415         New static functions.
2416         (emit_insn_group_barriers): Initialize and keep track of group_idx
2417         and last_group.
2418         Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
2419         Replace all calls to emit_insn_after that emit a group barrier to use
2420         emit_group_barrier_after.
2421         * ia64.h (MASK_B_STEP): New.
2422         (other MASK_XXX macros): Renumbered.
2423         (TARGET_B_STEP): New.
2424         (TARGET_SWITCHES): Add -mb-step.
2425
2426 2000-11-15  Fred Fish  <fnf@be.com>
2427
2428         * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
2429         machines for which fixincludes is not needed.
2430         * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
2431
2432 2000-11-15  Jason Merrill  <jason@redhat.com>
2433
2434         * diagnostic.c (finish_abort): New fn.
2435         (fancy_abort, error_recursion): Use it.
2436         * toplev.c (crash_signal): Likewise.
2437         * diagnostic.h: Declare it.
2438
2439 2000-11-13  Andrew Haley  <aph@redhat.com>
2440
2441         * tree.c (build_type_no_quals): New function.
2442         * tree.h (build_type_no_quals): Declare.
2443         * c-common.c (c_get_alias_set): When considering type
2444         compatibility for pointer types, ignore cv-qualifiers anywhere in
2445         a pointer chain.
2446
2447 2000-11-15  Graham Stott  <grahams@redhat.com>
2448
2449         * regrename.c (scan_rtx_rtx): Skip to the next chain on
2450         encountering a terminated chain.
2451
2452 2000-11-14  Mark Mitchell  <mark@codesourcery.com>
2453
2454         * configure.in: Move check for V3 above check for C++ header-file
2455         directory.
2456         * configure: Regenerated.
2457
2458 2000-11-14  DJ Delorie  <dj@redhat.com>
2459
2460         * config/v850/v850.c: Remove obstacks.
2461
2462 Tue Nov 14 21:54:31 2000  Marek Michalkiewicz  <marekm@linux.org.pl> & Denis Chertykov  <denisc@overta.ru>
2463
2464         * config/avr/avr.c (avr_case_values_threshold): New.
2465         (avr_override_options): Set it depending on options, make it large
2466         when not optimizing to work around "unable to generate reloads".
2467
2468         * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
2469         (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
2470         executable if not AVR_MEGA.  Make sure jump tables are word-aligned.
2471         (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
2472         (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
2473         (avr_case_values_threshold): Declare as extern int.
2474         (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
2475
2476         * config/avr/avr.md (tablejump): Removed.
2477         (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
2478         (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
2479         index in the table, not multiplied by 2.
2480         (casesi): Change to match the above insns.  Always enable.
2481
2482         * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
2483         Change to expect the word address of the table, multiply it by 2
2484         here and not in the caller.  Change "adiw" to faster "inc".
2485
2486 2000-11-14  Neil Booth  <neilb@earthling.net>
2487
2488         * cppexp.c (parse_defined): Call cpp_get_token not
2489         _cpp_get_token.
2490         (lex): Similarly.
2491         * cpplex.c (cpp_output_line): Similarly.
2492         * cpplib.c (glue_header_name, do_line, do_ident,
2493         parse_answer, parse_assertion): Similarly.
2494         (_cpp_handle_diretive): Don't save to lookaheads
2495         when processing directives.
2496         * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
2497         _cpp_get_token.
2498         (funlike_invocation_p): Don't save to lookaheads
2499         when pre-expanding arguments.
2500         (_cpp_get_token): Delete.
2501         (cpp_get_token): Merge contents of _cpp_get_token.
2502
2503 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
2504
2505         * builtins.c (expand_builtin_setjmp): Set
2506         current_function_calls_setjmp.
2507         (expand_builtin_longjmp): Set current_function_calls_longjmp.
2508
2509         * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
2510         (do_builtin_setjmp_setup): New insn.
2511
2512 Tue Nov 14 12:34:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2513
2514         * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
2515         (int_fits_type_p): For variable bounds, call force_fit_type.
2516
2517 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
2518
2519         * varasm.c (struct deferred_string): New structure.
2520         (const_str_htab): New variable.
2521         (STRHASH): New macro.
2522         (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
2523         constr_str_htab_eq, const_str_htab_del): New functions.
2524         (output_constant_def): Add DEFER argument, defer string
2525         constants until mark_constant_pool time if requested.
2526         (mark_constant_pool): Walk the insn chain even if const_str_htab is
2527         not empty.
2528         (mark_constants): If a SYMBOL_REF for deferred string is found,
2529         output it and remove from hash table.
2530         (output_addressed_constants): Set DEFER to 0 in call to
2531         output_constant_def.
2532         * rtl.h (STRING_POOL_ADDRESS_P): Define.
2533         (output_constant_def): Adjust prototype.
2534         * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
2535
2536 2000-11-14  Chandrakala Chavva  <cchavva@redhat.com>
2537
2538         * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
2539         signed types if flag_trapv.
2540
2541 2000-11-14  Zack Weinberg  <zack@wolery.stanford.edu>
2542
2543         * tradcpp.c, tradcif.y: Update FSF mailing address, delete
2544         reference to GPLv1.
2545
2546 2000-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
2547
2548         * c-common.h (CTI_C_SIZE_TYPE): Update comment.
2549
2550 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
2551
2552         * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
2553         to array of pool_constnat pointers.
2554         (struct pool_constant): Add next_sym and label members.
2555         (struct pool_sym): Remove.
2556         (init_varasm_status): Change pool_sym into pool_constant.
2557         (mark_pool_constant): Mark pc->label string as well.
2558         (mark_pool_sym_hash_table): Remove.
2559         (mark_varasm_status): Remove it from caller as well.
2560         (free_varasm_status): Don't free pool_sym structures.
2561         (force_const_mem): Don't allocate pool_sym structure, instead
2562         fill pool->label and chain it into rtx_sym hash table.
2563         (find_pool_constant, mark_constant_pool): Use pool_constant instead
2564         of pool_sym.
2565
2566 2000-11-14  Jakub Jelinek  <jakub@redhat.com>
2567
2568         * reload1.c (emit_input_reload_insns): Honour forcing of constants
2569         into memory by PREFERRED_RELOAD_CLASS NO_REGS.
2570
2571 2000-11-14  Michael Matz  <matzmich@cs.tu-berlin.de>
2572
2573         * dominance.c: New file.
2574         * Makefile.in (OBJS): Add dominance.o.
2575
2576         * flow.c (compute_flow_dominators): Remove.
2577         (compute_immediate_dominators): Remove.
2578         (compute_immediate_postdominators): Remove.
2579         * basic-block.h: Remove their prototypes.
2580         (calculate_dominance_info): Add prototype.
2581
2582         * dce.c (eliminate_dead_code): Change calls to above functions.
2583         Don't compute dominators but only immediate dominators.
2584         * flow.c (flow_loops_find): Change callers.
2585         * gcse.c (compute_code_hoist_data): Likewise.
2586         * haifa-sched.c (schedule_insns): Likewise.
2587         * ifcvt.c (if_convert): Likewise.
2588         * ssa.c (convert_to_ssa): Likewise, and only compute immediate
2589         dominators.
2590
2591 2000-11-14  Richard Henderson  <rth@redhat.com>
2592
2593         * stmt.c (warn_if_unused_value): Don't warn if the expression
2594         has side effects.
2595
2596         * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
2597         (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
2598
2599 2000-11-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2600
2601         * loop.c (basic_induction_var): Revert accidental checkin.
2602
2603 2000-11-13  Hans-Peter Nilsson  <hp@axis.com>
2604
2605         * c-lex.c (cb_leave_file): Harmonize conditions and order of
2606         statements to those of process_directive for (action == act_pop).
2607
2608         * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
2609
2610         * local-alloc.c (equiv_init_movable_p): References to CC0 are not
2611         movable.
2612
2613 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2614
2615         * c-parse.in (stmts_and_decls): Deprecate use of label at end of
2616         compound statement.
2617
2618 2000-11-13  Neil Booth  <neilb@earthling.net>
2619
2620         * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
2621         cases return without MI check.
2622         * cpplib.c (do_diagnostic): Take boolean of whether to
2623         print the directive name.
2624         (do_error, do_warning): Update.
2625         (do_pragma_dependency): Use it.
2626         * cpplib.h (VARARGS_FIRST): Delete.
2627         (struct cpp_token): Delete integer.
2628         * cppmacro.c (enter_macro_context): Move disabled check
2629         to _cpp_get_token.
2630         (_cpp_get_token): Simplify into a single loop.
2631
2632 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
2633
2634         * configure.in:  Use 'test -f' not '[ -e'.
2635         * configure: Regenerated.
2636
2637 2000-11-13  DJ Delorie  <dj@redhat.com>
2638
2639         * config/mn10300/mn10300.md (store_movm): Note which registers are
2640         really used or clobbered.
2641
2642 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2643
2644         * c-parse.in (ends_in_label): Remove from %union and %type.
2645         (decls, stmts, lineno_stmt_or_labels, xstmts,
2646         lineno_stmt_or_label, stmt_or_label): Remove.
2647         (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
2648         lineno_stmt_decl_or_labels_ending_decl,
2649         lineno_stmt_decl_or_labels_ending_label,
2650         lineno_stmt_decl_or_labels_ending_error,
2651         lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
2652         lineno_stmt, lineno_label): New.
2653         (compstmt_nostart): Use compstmt_contents_nonempty.
2654
2655 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2656
2657         * c-common.c (boolean_increment): New function.
2658         * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
2659         CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
2660         (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
2661         (boolean_increment): Declare.
2662         * c-convert.c (convert): Allow for BOOLEAN_TYPE.
2663         * c-decl.c (init_decl_processing): Create boolean nodes.
2664         (finish_struct): Allow for _Bool bitfields.
2665         * c-parse.in (reswords): Add _Bool.
2666         (rid_to_yy): Allow for RID_BOOL.
2667         * c-typeck.c (default_conversion): Make booleans promote to int.
2668         (convert_arguments, build_unary_op, build_modify_expr,
2669         convert_for_assignment): Allow for booleans.
2670         * ginclude/stdbool.h: Make conforming to C99.
2671
2672 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2673
2674         * c-parse.in (c99_block_start, c99_block_end,
2675         c99_block_lineno_labeled_stmt): New.
2676         (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
2677         (stmt): Split off selection and iteration statements into...
2678         (select_or_iter_stmt): New.  Use c99_block_lineno_labeled_stmt.
2679
2680 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2681
2682         * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
2683         -time): Update.
2684
2685 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
2686
2687         * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
2688         Rewrite to avoid use of match_dup.  Don't try to tie registers that
2689         are not in the same mode.
2690
2691 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2692
2693         * invoke.texi: Update lists of languages and suffixes supported.
2694
2695 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2696
2697         * configure.in: Take toplevel configure arguments from the
2698         environment to create configargs.h and substitute
2699         gcc_config_arguments, taking account of any existing configargs.h
2700         if reconfiguring.
2701         * configure: Regenerate.
2702         * gccbug.in: Include toplevel configure arguments in gccbug.
2703
2704 2000-11-13  Richard Earnshaw  <rearnsha@arm.com>
2705
2706         * varasm.c (struct constant_descriptor): Put CONTENTS inside a
2707         union to make it well-aligned.  Update all uses.
2708
2709 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2710
2711         * c-parse.in (initelt): Give appropriate pedantic warnings,
2712         depending on flag_isoc99, for non-ISO syntax and for C99 syntax
2713         outside C99 mode.
2714         (designator): If pedantic, pedwarn for a designator specifying a
2715         range of elements.
2716         * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
2717         these cases.
2718         * extend.texi: Document the C99 syntax as the preferred syntax,
2719         and the pre-2.5 syntax as obsolete.  Mention use of designator
2720         lists for nested subobjects.
2721
2722 2000-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
2723
2724         * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
2725         Add ATTRIBUTE_PRINTF.
2726         * tradcpp.c (v_message, warning, error, fatal, error_with_line):
2727         Add ATTRIBUTE_PRINTF*.
2728
2729 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
2730
2731         * function.c (assign_parms): When calling put_var_into_stack, make
2732         sure that there are no hidden pending sequences.
2733
2734 2000-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2735
2736         * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
2737         BUILT_IN_RINDEX.  Add missing checks for BUILT_IN_STRCHR and
2738         BUILT_IN_STRRCHR.
2739
2740         * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
2741
2742         * c-common.c (c_common_nodes_and_builtins): Declare index and
2743         rindex when nonansi builtins are allowed.
2744
2745         * extend.texi (index, rindex): Document new builtins.
2746
2747 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
2748
2749         * configure.in: Turn on libstdc++ V3 by default.
2750         * configure: Regenerated.
2751
2752         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
2753
2754 2000-11-12  Jakub Jelinek  <jakub@redhat.com>
2755
2756         * reload1.c (set_label_offsets): Go inside of PARALLELs.
2757
2758 2000-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2759
2760         * invoke.texi: Clean up option summary.
2761
2762 2000-11-12  Nick Clifton  <nickc@redhat.com>
2763
2764         * config/mcore/mcore.c: Fix comment formating, and adjust sequence
2765         of #include headers.
2766
2767 2000-11-12  Marc Espie <espie@openbsd.org>
2768
2769         * configure.in: Fix filds test.
2770         * configure: Regen.
2771
2772 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
2773
2774         * jump.c (delete_computation): Don't assume that just becuase an
2775         instruction sets a register, that register is dead.
2776
2777 2000-11-12  Neil Booth  <neilb@earthling.net>
2778
2779         * cppexp.c: Don't worry about pfile->skipping.
2780         * cpplib.c (struct if_stack): Make was_skipping unsigned char.
2781         (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
2782         for handled directives.
2783         (skip_rest_of_line): Use _cpp_lex_token after popping contexts
2784         and releasing lookaheads.
2785         (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
2786         (do_else, do_elif, push_conditional): Update logic.
2787         (do_endif): Set buffer->was_skipping rather than pfile->skipping.
2788         (unwind_if_stack): Inline into cpp_pop_buffer.
2789         (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
2790         * cpplex.c (_cpp_lex_token): Clear skipping on EOF.  Handle
2791         multiple-include optimisation.
2792         * cpplib.h (struct cpp_buffer): New member was_skipping.
2793         * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping.  This
2794         works because skipping == 0 in directives.
2795         (_cpp_release_lookahead): Renamed from release_lookahead.
2796         (cpp_get_token): No need to check skipping as _cpp_get_token does
2797         this for us.  No need to handle MI optimisation.
2798
2799 Sat Nov 11 21:14:02 2000  Mark P Mitchell  <mark@codesourcery.com>
2800
2801         * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
2802         declarations that use `__MATH_EXCEPTION' in their prototypes, too.
2803         * fixinc/fixincl.x: Regenerated.
2804
2805 2000-11-11  Bruce Korb  <bkorb@gnu.org>
2806
2807         * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
2808         (avoid_wchar_t_type): ditto
2809         * fixinc/fixinc.irix: obsoleted
2810
2811 2000-11-11  Zack Weinberg  <zack@wolery.stanford.edu>
2812
2813         * configure.in: Don't add $outputs to all_lang_makefiles.  Add
2814         $srcdir/$s/Makefile.in if it exists.
2815         * configure: Regenerate.
2816
2817 Sat Nov 11 18:41:20 2000  Mark P Mitchell  <mark@codesourcery.com>
2818
2819         * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
2820
2821 2000-11-11  Jason Merrill  <jason@redhat.com>
2822
2823         * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
2824         give the parm a register and then call put_var_into_stack.
2825         * stmt.c (expand_decl): Likewise.
2826
2827 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2828
2829         * gcc.texi: Adjust wording.
2830
2831 2000-11-11  Mark Mitchell  <mark@codesourcery.com>
2832
2833         * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
2834         * fininc/fixincl.x: Regenerated.
2835
2836 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2837
2838         * invoke.texi: Correct spelling of -foptimize-register-move.
2839
2840 2000-11-11  Neil Booth  <neilb@earthling.net>
2841
2842         Remove CPP_PLACEMARKERs.
2843
2844         * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
2845         * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
2846         * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
2847                    Similarly.
2848         * cpplib.h: Remove CPP_PLACEMARKER.
2849         (struct lexer_state): Rename skip_newlines to next_bol.
2850         * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
2851         Simplify prev_white handling as a result.
2852         (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
2853         (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
2854         (parse_args): Similarly.  Update argument count tests.
2855         (enter_macro_context): Return 2 to indicate an empty macro.
2856         (replace_args): Don't bother pre-expanding an empty argument.
2857         Handle placemarkers and ## extension during pre-expansion.
2858         (cpp_get_token): Handle empty macro expansions.  Don't worry
2859         about CPP_PLACEMARKERs.
2860         (_cpp_create_definition): Empty macros are now empty.
2861         (cpp_macro_defintion): Don't special case empty macros.
2862         * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
2863         * c-lex.c: Similarly.
2864
2865 2000-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2866
2867         * gcc.texi, invoke.texi: Add new section discussing language
2868         standards; link to it where appropriate; refer to ISO C instead of
2869         ANSI C.
2870
2871 2000-11-11  Alexandre Oliva  <aoliva@redhat.com>
2872
2873         * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
2874         into account.
2875
2876         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
2877         modes.
2878
2879 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2880
2881         * gcc.texi, gcov.texi: Update dates and version numbers.
2882
2883 2000-11-10  Zack Weinberg  <zack@wolery.stanford.edu>
2884
2885         * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.  Look for
2886         flex and bison, specifically, first in a unified build and
2887         then installed on the system.
2888         * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@.  Rename
2889         LEXFLAGS to FLEXFLAGS.  Adjust ORDINARY_FLAGS_TO_PASS to
2890         match.
2891
2892         (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
2893         cppdefault.o): Remove pointless sed munging of source file
2894         name.
2895
2896 2000-11-10  Bernd Schmidt  <bernds@redhat.co.uk>
2897
2898         * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
2899         for address reloads.  Push replacements for REG_INC notes.
2900         (regno_clobbered_p): New arg SETS.  Examine SETs if it's nonzero.  All
2901         callers changed.
2902         * reload1.c (choose_reload_regs): Registers set in the insn can't be
2903         used for RELOAD_OTHER reloads.
2904
2905 2000-11-10  Mark Mitchell  <mark@codesourcery.com>
2906
2907         * c-dump.h: New file.
2908
2909 2000-11-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2910
2911         * alpha.c (check_float_value): Use memcpy, not bcopy.
2912         * arm.c (output_move_double): Likewise.
2913         * arm.md: Likewise.
2914         * m88k.c (legitimize_operand): Likewise.
2915         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
2916         * m88k.md: Likewise.
2917         * mips.c (override_options): Likewise.
2918         * mips.md: Likewise.
2919         * romp.c (output_fpops): Likewise.
2920         * rs6000.c (rs6000_override_options): Likewise.
2921         * sh.md: Likewise.
2922         * vax.c (check_float_value): Likewise.
2923
2924         * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
2925         * expmed.c (synth_mult): Likewise.
2926         * final.c (add_bb_string): Likewise.
2927         * genattr.c (main): Likewise.
2928         * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
2929         Likewise.
2930         * jump.c (thread_jumps): Likewise.
2931         * prefix.c (save_string): Likewise.
2932         * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
2933         * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
2934         * reload1.c (reload, eliminate_regs): Likewise.
2935
2936 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2937
2938         * gcc.texi (Service): Update to reflect current practice and
2939         location of the GNU service directory.
2940
2941 2000-11-09  Bernd Schmidt  <bernds@redhat.co.uk>
2942
2943         * regrename.c (build_def_use): Mark contents of REG_INC notes as
2944         needing replacement.
2945
2946         * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
2947         a no-op move if regs are equal.
2948         * toplev.c (rest_of_compilation): Do the noop moves elimination pass
2949         when calling jump after post-reload splitting.
2950
2951 2000-11-09  Jan van Male  <jan.vanmale@fenk.wau.nl>
2952
2953         * c-tree.texi: Fix typos.
2954         * extend.texi: Likewise
2955         * gcov.texi: Likewise
2956         * rtl.texi: Likewise
2957         * tm.texi: Likewise
2958
2959 2000-11-09  Hans-Peter Nilsson  <hp@axis.com>
2960
2961         * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
2962         in_system_header and flags[1] before dereferencing flags[2].
2963
2964 2000-11-09  Matthew Hiller <hiller@redhat.com>
2965
2966         * reload1.c (reload_combine): Fixed calculation of
2967         first_index_reg, last_index_reg.
2968
2969 2000-11-09  Mark Mitchell  <mark@codesourcery.com>
2970
2971         * c-dump.c (dequeue_and_dump): Dump function bodies.
2972
2973         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
2974         (c-dump.o): New target.
2975         * c-common.h (flag_dump_translation_unit): New variable.
2976         (C_TYPE_QUALS): New macro.
2977         (strip_array_types): New function.
2978         (DECL_C_BIT_FIELD): New macro.
2979         (SET_DECL_C_BIT_FIELD): Likewise.
2980         (CLEAR_DECL_C_BIT_FIELD): Likewise.
2981         (dump_info_p): New typedef.
2982         (dump_tree_fn): Likewise.
2983         (lang_dump_tree): New variable.
2984         (dump_node_to_file): New function.
2985         * c-common.c (flag_dump_translation_unit): Define it.
2986         (strip_array_types): New function.
2987         * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
2988         * c-lang.c (finish_file): Call dump_node_to_file if
2989         flag_dump_translation_unit.
2990         * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
2991         * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
2992         * c-dump.c: New file.
2993
2994 2000-11-09  Christopher Faylor <cgf@cygnus.com>
2995
2996         * config/i386/cygwin.h: Add mingw startfile prefix.
2997
2998 2000-11-09  Richard Henderson  <rth@redhat.com>
2999
3000         * flow.c (invalidate_mems_from_set): Split out from ...
3001         (mark_set_1): ... here.
3002         (try_pre_increment_1): Use it.  Use propagate_block_delete_insn
3003         instead of turning insn into a NOTE_INSN_DELETED.
3004
3005 2000-11-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3006
3007         * extend.texi, invoke.texi: Move documentation of builtin versions
3008         of C library functions to one place and update.
3009
3010 2000-11-09  Richard Henderson  <rth@redhat.com>
3011
3012         * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
3013         the types themselves to discover type equivalence.
3014
3015 2000-11-09  Mike Stump  <mrs@wrs.com>
3016
3017         * Makefile.in (distclean): Remove a few extra leftovers.
3018
3019 2000-11-09  Richard Henderson  <rth@redhat.com>
3020
3021         * recog.c (validate_replace_rtx_1): Consider subregs when
3022         replacing a register with a constant inside a sign/zero_extend.
3023
3024         * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3025
3026 2000-11-09  Geoffrey Keating  <geoffk@redhat.com>
3027
3028         * c-decl.c (finish_struct): When a structure is completed,
3029         check all its variant types for completeness.
3030
3031 2000-11-09  Neil Booth  <neilb@earthling.net>
3032
3033         * cpphash.c: Move cpp_defined here from cpplib.c.
3034         * cpplib.c: Update comments, move cpp_defined to cpphash.c.
3035         * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
3036         * cppmacro.c (cpp_get_token): Update comments, no need now
3037         to catch the CPP_EOF meaning EOL case.
3038
3039 2000-11-08  Geoffrey Keating  <geoffk@redhat.com>
3040
3041         * config/sparc/sparc.c (sparc_va_arg): When the required alignment
3042         is more than that provided, copy to a temporary.
3043
3044 2000-11-09  Alexandre Oliva  <aoliva@redhat.com>
3045
3046         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
3047         interpreting $out as a macro assignment.
3048         * Makefile.in (T_TARGET): New auxiliary macro and target.
3049         (all): Add a target right in the beginning, so that we don't build
3050         T_TARGET by default.
3051
3052 2000-11-09  Graham Stott  <grahams@redhat.com>
3053
3054         * config/i386/i386.md (mmx_pinsrw): Output operands in correct
3055         order for -mintel-syntax.  Remove comment now that the operand
3056         order has been checked.
3057         (mmx_pextrw): Likewise.
3058         (mmx_pshufw): Likewise.
3059
3060 2000-11-09  Jakub Jelinek  <jakub@redhat.com>
3061
3062         * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
3063         (c_getstr): New function.
3064         (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
3065         If both arguments are constant string, optimize out.
3066         (expand_builtin_strchr, expand_builtin_strrchr): New functions.
3067         (expand_builtin_strpbrk): Use c_getstr, do nothing if
3068         -fcheck-memory-usage.
3069         (expand_builtin_fputs): Likewise.
3070         (expand_builtin_strcmp): Add MODE argument.
3071         Use even if !HAVE_cmpstrsi.
3072         Optimize the case when both arguments are constant strings.
3073         (expand_builtin): Adjust expand_builtin_strcmp caller.
3074         Call expand_builtin_strchr and expand_builtin_strrchr.
3075         * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
3076         builtins.
3077         * builtins.def (BUILT_IN_STRRCHR): Add.
3078
3079 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3080
3081         * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
3082
3083 2000-11-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3084
3085         * calls.c (expand_call, emit_library_call_value_1), collect2.c
3086         (scan_prog_file), config/a29k/a29k.c (print_operand),
3087         config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
3088         instead of bcopy ().
3089         * real.h: Use memcmp () instead of bcmp ().
3090         * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
3091         (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
3092         ultrasparc_sched_init, ultrasparc_sched_reorder),
3093         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
3094         instead of bzero ().
3095         * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
3096         instead of rindex ().
3097         * configure.in: Don't check for bzero, bcmp, index or rindex.
3098         * configure, config.in: Regenerate.
3099         * system.h: Don't include declarations for bzero, bcmp, index or
3100         rindex.
3101         * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
3102         bzero, bcmp, index or rindex.
3103
3104 Wed Nov  8 21:58:20 2000  Christopher Faylor <cgf@cygnus.com>
3105
3106         * config/i386/cygwin.h: Add -no-win32 switch.  Separate -mno-cygwin
3107         include and library paths from -mcygwin case.  Parameterize some
3108         declarations to avoid warnings.  Use standard locations for include and
3109         lib dirs.
3110
3111 2000-11-08  Nick Clifton  <nickc@redhat.com>
3112
3113         * config/arm/arm.md (mulsidi3adddi): Change output operand
3114         constraint from "=&" to "+&".
3115         (umulsidi3adddi): Change output operand constraint from "=&" to
3116         "+&".
3117
3118 2000-11-08  Richard Henderson  <rth@redhat.com>
3119
3120         * flow.c (init_propagate_block_info): Protect the rtx stored in
3121         mem_set_list from modification by find_auto_inc.
3122         (mark_set_1): Likewise.
3123
3124 2000-11-08  Neil Booth  <neilb@earthling.net>
3125
3126         Move directive handling into the lexer itself.
3127
3128         * cpplex.c (_cpp_lex_token): Handle directives directly.
3129         In the case of a directive interrupting a function-like
3130         macro invocation, use extra_char since read_ahead is
3131         used to store the '#'.  Return a CPP_EOF in this case.
3132         * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
3133         (cpp_get_token): Don't handle directives here.
3134         * cpplib.h: Remove CPP_DHASH token type.
3135
3136 Wed Nov  8 21:53:41 MET 2000  Jan Hubicka  <jh@suse.cz>
3137
3138         * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
3139         formed using PRE_MODIFY too.
3140
3141 2000-11-08  Mark Mitchell  <mark@codesourcery.com>
3142
3143         * c-tree.texi (VAR_DECL): Describe representation of GCC's
3144         extension for placing variables in particular registers.
3145
3146         * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
3147         unprototyped C functions with no parameters.
3148
3149 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
3150
3151         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
3152         before passing to fprintf.
3153
3154 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
3155
3156         * function.c (expand_function_start): Cast GET_MODE_SIZE to
3157         HOST_WIDE_INT before negating it.
3158
3159 2000-11-08  Jakub Jelinek  <jakub@redhat.com>
3160
3161         * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
3162         passed in multiple non-contiguous locations.
3163
3164 2000-11-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3165
3166         * README.gnat: Remove file.
3167
3168 2000-11-08  Alexandre Oliva  <aoliva@redhat.com>
3169
3170         * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
3171         in-place.
3172
3173 2000-11-07  Richard Henderson  <rth@redhat.com>
3174
3175         * dwarfout.c (INSN_LABEL_FMT): Remove.
3176         (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
3177         (dwarfout_label): Remove.
3178         * dwarfout.h: Remove it's prototype.
3179         * dwarf2out.c (INSN_LABEL_FMT): Remove.
3180         (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
3181         (dwarf2out_label): Remove.
3182         * dwarf2out.h: Remove it's prototype.
3183         * final.c (final_scan_insn): Don't call dwarf[2]out_label.
3184
3185 2000-11-07  Richard Henderson  <rth@redhat.com>
3186
3187         * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
3188         search on the unwind region section.
3189
3190         * config/ia64/ia64.md (movbi): Add r/r alternative.
3191         (cmovdi_internal_astep): Describe all combinations of register
3192         classes for sources & destinations; remove matching constraints.
3193         (cmovdi_internal): Likewise.
3194
3195         * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
3196
3197 2000-11-07  Richard Henderson  <rth@redhat.com>
3198
3199         * c-lang.c (start_cdtor, finish_cdtor): New functions.
3200         (finish_file): Use them in building constructor/destructor functions.
3201
3202         * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
3203         LD_FINI_SWITCH): Move ...
3204         * config/alpha/osf.h: ... here.
3205         * config/alpha/alpha-interix.h: Don't undef them.
3206
3207 2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>
3208
3209         * config/mips/t-iris6 (FPBIT): New.  Added so that __unorddf2 is
3210         included in libgcc.a.
3211         (DPBIT): Likewise.
3212         (dp-bit.c): Likewise.
3213         (fp-bit.c): Likewise.
3214
3215 2000-11-07  Nick Clifton  <nickc@redhat.com>
3216
3217         * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
3218         (INTERNAL_ASM_OP): Add missing tab.
3219
3220 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3221
3222         * alias.c (init_alias_analysis), calls.c (expand_call,
3223         emit_library_call_value_1), combine.c (init_reg_last_arrays),
3224         cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
3225         (init_output_buffer, set_diagnostic_context), dwarf2out.c
3226         (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
3227         (init_emit_once), fold-const.c (mul_double, div_and_round_double),
3228         function.c (assign_parms), gcse.c (compute_can_copy,
3229         alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
3230         compute_hash_table, compute_set_hash_table,
3231         compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
3232         (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
3233         clear_units, schedule_block), integrate.c (initialize_for_inline,
3234         expand_inline_function), jump.c (thread_jumps), local-alloc.c
3235         (local_alloc), loop.c (combine_movables, count_loop_regs_set,
3236         load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
3237         regclass.c (init_reg_sets, init_reg_sets_1, regclass,
3238         record_reg_classes, allocate_reg_info), reload.c
3239         (get_secondary_mem, remove_address_replacements, find_reloads),
3240         reload1.c (reload, set_initial_label_offsets, finish_spills,
3241         reload_as_needed, choose_reload_regs_init,
3242         reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
3243         (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
3244         (rename_registers), stmt.c (expand_end_case), unroll.c
3245         (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
3246         () instead of bzero ().
3247
3248 2000-11-07  Neil Booth  <neilb@earthling.net>
3249
3250        * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
3251
3252 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3253
3254         * c-common.c (combine_strings): Only warn about long strings for C.
3255
3256 Tue Nov  7 19:44:30 2000  J"orn Rennecke <amylaar@redhat.com>
3257
3258         * combine.c (distribute_notes): Fix typo in last change.
3259
3260 2000-11-07  Geoff Keating  <geoffk@redhat.com>
3261
3262         * config/rs6000/rs6000.md (movdi_internal32+1): Use
3263         operand_subreg_force rather than gen_rtx_SUBREG.
3264         (movdi_internal32+2): Likewise.
3265
3266 2000-11-07  Philip Blundell  <philb@gnu.org>
3267
3268         * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
3269         * config/arm/linux-aout.h: Likewise.
3270         * configure: Regenerate.
3271
3272 2000-11-07  Philipp Thomas  <pthomas@suse.de>
3273
3274         * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
3275         accepted my the gettext maintainer.
3276
3277 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3278
3279         * builtins.c (expand_builtin_strpbrk): New function.
3280         (expand_builtin): Handle BUILT_IN_STRPBRK.
3281
3282         * builtins.def (BUILT_IN_STRPBRK): New entry.
3283
3284         * c-common.c (c_common_nodes_and_builtins): Declare builtin
3285         strpbrk.
3286
3287 2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
3288
3289         * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
3290         * POTFILES.in: Add config/alpha/freebsd.h
3291         * configure.in: Add alpha*-freebsd support.
3292         * configure: Regenerate.
3293
3294 2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3295
3296         * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
3297         copy of ptr_type_node rather than ptr_type_node itself.
3298
3299 Tue Nov  7 06:29:24 2000  J"orn Rennecke <amylaar@redhat.com>
3300
3301         * combine.c (recog_for_combine): Allocate uninitialized vector with
3302         rtvec_alloc.
3303         * recog.c (apply_change_group): Likewise.
3304
3305 Tue Nov  7 06:24:02 2000  J"orn Rennecke <amylaar@redhat.com>
3306
3307         * flow.c (verify_local_live_at_start): Back out last change.
3308         * combine.c (distribute_notes): When parts of a hard reg are
3309         neither set nor referenced in PLACE, search backwards for a
3310         place to put a REG_UNUSED note; if none found, ask for flow
3311         info refresh.
3312
3313 Mon Nov  6 20:08:13 2000  J"orn Rennecke <amylaar@redhat.com>
3314
3315         * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
3316         with (clobber (match_scratch...)).
3317
3318 2000-11-06  Neil Booth  <neilb@earthling.net>
3319
3320         * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
3321         error status.
3322
3323 2000-11-06  Neil Booth  <neilb@earthling.net>
3324
3325         * tradcpp.c (special_symbol): Assign an null string rather
3326         than writing to an unallocated buffer.
3327
3328 2000-11-06  Neil Booth  <neilb@earthling.net>
3329
3330         * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
3331         CPP_MACRO_ARG case.
3332
3333 2000-11-06  Neil Booth  <neilb@earthling.net>
3334
3335         * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
3336         tok.val.arg_no as appropriate.
3337         * cppexp.c (lex): Similarly.
3338         * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
3339         cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
3340         * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
3341         cpp_macro_definition): Similarly.
3342         * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
3343
3344 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
3345
3346         * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
3347         operands[1] is constant, calculate the sum and generate movdi.
3348         (addsi3): Similarly.  Use SImode in call to arith_4096_operand.
3349         (subsi3): Use SImode in call to arith_4096_operand.
3350
3351 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
3352
3353         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
3354         adjust %o1, not %o0 if the return type is large structure.
3355
3356 2000-11-06  Jakub Jelinek  <jakub@redhat.com>
3357
3358         * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
3359         update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
3360
3361 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz  <marekm@linux.org.pl>
3362
3363         * expmed.c (expand_divmod): For signed divide by 2, prefer
3364         a branch and fewer shifts if branches are very cheap.
3365
3366 2000-11-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3367
3368         * Makefile.in: Remove all targets related to building
3369         distributions and diffs, or INSTALL.
3370         * INSTALL, install1.texi: Remove.
3371         * configure.in: Remove mention of distdir.
3372         * configure: Regenerate.
3373         * objc/Make-lang.in: Remove mention of distdir.
3374
3375 2000-11-04  Neil Booth  <neilb@earthling.net>
3376
3377         * cpp.texi: Update for _Pragma.
3378
3379 2000-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3380
3381         * gcc.texi (Contributing): Update URL for projects web page.
3382
3383 2000-11-04  Neil Booth  <neilb@earthling.net>
3384
3385         * cpplex.c (parse_string): Don't allow multiline strings in
3386         #include family directives.
3387
3388 2000-11-04  Neil Booth  <neilb@earthling.net>
3389
3390         * cpplib.c (do_line): Only warn pedantically if not reading
3391         preprocessed input.
3392
3393 2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
3394
3395         * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
3396         RETURN_POPS_ARGS().
3397
3398 2000-11-03  Zack Weinberg  <zack@wolery.stanford.edu>
3399
3400         * builtins.c (expand_builtin_strlen): Remove unused mode
3401         argument.
3402         * gcc.c (process_command): Remove unused variable.
3403         * fold-const.c: Include expr.h.
3404         * recog.c: Include reload.h.
3405         * Makefile.in (recog.o, fold-const.o): Update deps.
3406
3407 2000-11-02  Geoffrey Keating  <geoffk@cygnus.com>
3408
3409         * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
3410
3411 Fri Nov  3 13:41:04 2000  Mark P Mitchell  <mark@codesourcery.com>
3412
3413         * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
3414         handling.
3415         (STARTFILE_SPEC): Likewise.
3416         (LINK_SPEC): Likewise.
3417
3418 2000-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3419
3420         * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
3421         (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
3422         (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
3423
3424 2000-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
3425
3426         * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
3427         (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
3428         perm_calloc, get_identifier, maybe_get_identifier,
3429         real_value_from_int_cst, simple_cst_equal), varasm.c
3430         (assemble_name, assemble_real, immed_real_const_1,
3431         compare_constant_1, decode_rtx_const, output_constant_pool): Use
3432         strrchr () instead of rindex ().  Use memcmp () instead of bcmp
3433         ().  Use memcpy () instead of bcopy ().  Use memset () instead of
3434         bzero ().
3435
3436 2000-11-03  Nathan Sidwell  <nathan@codesourcery.com>
3437
3438         * cppfiles.c (open_file): If already read, then don't reopen.
3439         Immediately close an empty file.
3440
3441 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
3442
3443         * expr.h (fold_builtin): Move declaration...
3444         * tree.h (fold_builtin): ... here.
3445
3446 Fri Nov  3 05:41:07 2000  J"orn Rennecke <amylaar@redhat.com>
3447
3448         * flow.c (verify_local_live_at_start): Allow hard regs to die.
3449
3450 2000-11-02  Neil Booth  <neilb@earthling.net>
3451
3452 config:
3453         * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
3454         alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
3455         alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
3456         alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
3457         arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
3458         arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
3459         c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
3460         elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
3461         i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
3462         i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
3463         i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
3464         i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
3465         i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
3466         i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
3467         i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
3468         i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
3469         i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
3470         i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
3471         i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
3472         i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
3473         i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
3474         ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
3475         m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
3476         m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
3477         m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
3478         m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
3479         m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
3480         m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
3481         m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
3482         m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
3483         m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
3484         m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
3485         mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
3486         mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
3487         mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
3488         mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
3489         mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
3490         mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
3491         ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
3492         ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
3493         pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
3494         pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
3495         romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
3496         rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
3497         rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
3498         rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
3499         sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
3500         sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
3501         sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
3502         sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
3503         sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
3504         sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
3505         sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
3506         v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
3507         vax/vaxv.h, vax/vms.h, we32k/we32k.h
3508
3509         Replace -A() with -A=, the new assertion syntax.
3510
3511 Thu Nov  2 21:52:35 2000  J"orn Rennecke <amylaar@redhat.com>
3512
3513         * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
3514         elim_i1.
3515         In REG_DEAD handling: When handling parts of multi-hard-reg hard
3516         registers, increment the loop counter by the size of the parts;
3517         use recursion to handle individual parts.
3518
3519 2000-11-02  Neil Booth  <neilb@earthling.net>
3520
3521         * configure.in: Make integrated CPP the default.
3522         * configure: Regenerate.
3523
3524 Thu Nov  2 19:20:12 2000  J"orn Rennecke <amylaar@redhat.com>
3525
3526         * reload.c (find_equiv_reg): Test all hard registers for membership
3527         in the requested class.
3528
3529 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3530
3531         * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
3532         process_command, main), gcov.c (open_files, output_data), tlink.c
3533         (frob_extension, scan_linker_output), toplev.c
3534         (file_name_nondirectory): Use strchr () and strrchr () instead of
3535         index () and rindex ().
3536
3537 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
3538
3539         * c-common.c (get_flag_spec, check_format_info_main,
3540         check_format_types): Use strchr () instead of index ().  Compare
3541         against error_mark_node instead of comparing the TREE_CODE against
3542         ERROR_MARK.
3543
3544 2000-11-02  Zack Weinberg <zackw@Stanford.EDU>
3545
3546         Integrated CPP.
3547
3548         * c-lex.c (init_c_lex): Update cpp_start_read call.
3549         (cb_ident): Update for new callback prototype.
3550         (cb_def_pragma): Update for new cpp_get_token prototype.
3551         (c_lex): Similarly.  Use cpp_get_line.
3552
3553         * c-parse.in (finish_parse): Update for new cpp_finish
3554         prototype.
3555
3556         * cp/lex.c (finish_parse): Similarly.
3557
3558 2000-11-01  Geoff Keating  <geoffk@cygnus.com>
3559
3560         * machmode.def: Add V16QImode.
3561
3562 2000-11-01  Richard Henderson  <rth@redhat.com>
3563
3564         * dwarf2out.c (loc_descriptor_from_tree): Check for null result
3565         from rtl_for_decl_location.
3566         (add_location_or_const_value_attribute): Likewise.
3567
3568 2000-11-01  Neil Booth  <neilb@earthling.net>
3569
3570         * cpplib.c (run_directive): Use correct line number for output
3571         of _Pragma.  Remember any in-progress directive.
3572
3573         * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
3574
3575 2000-11-01  Richard Henderson  <rth@redhat.com>
3576
3577         * stmt.c (expand_start_null_loop): Set continue_label.
3578
3579 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
3580
3581         * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
3582         (expand_builtin_constant_p): Move parts of the code into
3583         fold_builtin_constant_p.
3584         (expand_builtin_strlen): Move parts of the code into fold_builtin.
3585         * expr.h (fold_builtin): Declare.
3586         * fold-const.c (fold): Handle builtin calls.
3587
3588         * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
3589
3590 2000-11-01  Richard Henderson  <rth@redhat.com>
3591
3592         * stmt.c (expand_start_null_loop): New.
3593         (expand_end_null_loop): New.
3594         * c-semantics.c (genrtl_do_stmt): Use them.
3595         * tree.h: Declare them.
3596
3597 2000-11-01  Richard Henderson  <rth@redhat.com>
3598
3599         * cppmain.c (scan_buffer): Don't avoid paste for assembly.
3600
3601 2000-11-01  Neil Booth  <neilb@earthling.net>
3602
3603         * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
3604         * cp/spew.c: Similarly.
3605         * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
3606         * cppmacro.c (stringify_arg): Similarly.
3607         * cpplib.h (CPP_BACKSLASH): Delete.
3608
3609 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3610
3611         * builtins.c (expand_builtin_strstr): New function.
3612         (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
3613
3614         * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
3615
3616         * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
3617         and builtin strchr.
3618
3619 2000-10-31  Richard Henderson  <rth@redhat.com>
3620
3621         * config/i386/i386.c (fcmov_comparison_operator): Check for
3622         CCFPmode or CCFPUmode instead of CCmode.
3623         (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
3624         unordered operations as well.
3625
3626 2000-10-31  Richard Henderson  <rth@redhat.com>
3627
3628         * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
3629         of integer_zero_node.
3630
3631 2000-10-31  Richard Henderson  <rth@redhat.com>
3632
3633         * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
3634
3635 2000-10-31  Nick Clifton  <nickc@redhat.com>
3636
3637         * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
3638         -fdata-sections to override the section attribute of a DECL.
3639
3640 2000-10-31  Chris Demetriou  <cgd@sibyte.com>
3641
3642         * libgcc2.c (__shtab): Remove __shtab variable.
3643         * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
3644         * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
3645         members.
3646
3647 2000-10-31  Jim Wilson  <wilson@redhat.com>
3648
3649         * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
3650         * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
3651         * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
3652         instead of ASM_OUTPUT_INTERNAL_LABEL.
3653         (dwarf2out_end_block, dwarf2out_label): Likewise.
3654         * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
3655         * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
3656
3657 2000-10-31  Richard Henderson  <rth@redhat.com>
3658
3659         * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
3660         (size_of_locs): Set it.
3661         (output_loc_operands): Use it to compute branch displacement.
3662         (int_loc_descriptor): New.
3663         (mem_loc_descriptor): Dereference memory in the proper size.
3664         Use DW_OP_plus_uconst when possible.  Use int_loc_descriptor.
3665         (loc_descriptor_from_tree): New.
3666         (rtl_for_decl_location): Break out from ...
3667         (add_location_or_const_value_attribute): ... here.
3668         (add_bound_info): Use loc_descriptor_from_tree.
3669
3670 2000-10-31  Neil Booth  <neilb@earthling.net>
3671
3672         * cpp.texi: Update for new command line assertion syntax.
3673         * cpplib.c (cpp_define): Simplify a bit.
3674         (cpp_assert, cpp_unassert): Use handle_assertion.
3675         (handle_assertion): New function; accept new command line
3676         syntax with '='.
3677         * testsuite/gcc.dg/cpp/assert3.c: New tests.
3678
3679 2000-10-31  Neil Booth  <neilb@earthling.net>
3680
3681         * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
3682         undefined.  Remove #ifdef check.
3683         * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
3684         Define STDC_0_IN_SYSTEM_HEADERS to 1.
3685
3686 2000-10-31  Jan Hubicka  <jh@suse.cz>
3687             Jakub Jelinek  <jakub@redhat.com>
3688
3689         * config/i386/i386.h: Clarify CCNOmode description in comment.
3690         (EXTRA_CC_MODES): Remove CCRCmode.
3691         * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
3692         (put_condition_code, ix86_match_ccmode): Likewise.
3693         (ix86_cc_mode): Likewise.  Fix comment.
3694         (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
3695         * config/i386/i386.md: Add unspec 12 description.
3696         (adddi3 split): Use unspec 12 instead of CCRCmode.
3697         (addsi3_carry_rc): Remove.
3698         (addsi3_cc, addqi3_cc): New patterns.
3699         (addsi_3): Swap operands, match CCZmode.
3700         (addsi_4): Rewritten.
3701         (addsi_5): Renamed from addsi_6.
3702         (addsi_6): Removed.
3703         (addhi_3): Swap operands, match CCZmode.
3704         (addhi_4): Rewritten.
3705         (addhi_5): Renamed from addhi_6.
3706         (addhi_6): Removed.
3707         (addqi_3): Swap operands, match CCZmode.
3708         (addqi_4): Rewritten.
3709         (addqi_5): Renamed from addqi_6.  Use =q constraint for clobber.
3710         (subsi3_carry_rc): Removed.
3711         (iorqi_3): Use =q constraint for clobber.
3712         (xorqi_cc_2): Likewise.
3713         (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
3714         (x86_movsicc_0_m1_rc): Removed.
3715         (cmp?i peepholes): Remove neg.  Use CCGCmode instead of CCRCmode.
3716
3717 2000-10-31  Joseph S. Myers  <jsm28@cam.ac.uk>
3718
3719         * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
3720         and decrement of complex types.
3721
3722 2000-10-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3723
3724         * builtins.c (expand_builtin_fputs): When deleting NOP calls to
3725         builtin fputs, ensure we still evaluate the stream in case it
3726         has side-effects.
3727
3728 2000-10-31  Jakub Jelinek  <jakub@redhat.com>
3729
3730         * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
3731         to expand_shift.
3732
3733 Tue Oct 31 15:33:27 2000  J"orn Rennecke <amylaar@redhat.com>
3734
3735         * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
3736         (fp_extended_operand, emit_fpscr_use): Likewise.
3737         * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
3738         (fpul_operand): New function.
3739         * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
3740         fp_extended_operand.  Add fpul_operand.
3741         * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
3742         (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
3743         (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
3744         (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
3745         (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
3746         (divdf3_i): Likewise.
3747         (floatsisf2): Likewise.  Use fpul_operand for 'y' operand.
3748         (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
3749         (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
3750         (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
3751         (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
3752
3753 2000-10-31  Bernd Schmidt  <bernds@redhat.co.uk>
3754
3755         * config/i386/i386.c (ix86_init_builtins): Correct return type
3756         building v4hi_ftype_v4hi_int_int tree node.
3757         (ix86_expand_builtin): Use correct operand numbers 0 and 1.
3758         Copy operand 0 into a Pmode register, don't generate a MEM rtx.
3759
3760         * config/i386/i386.md (sse_movntdi): Use mmx register constraint
3761         for operand 1.
3762         (mmx__uavgv8qi3): Correct insn mnemonic.
3763         (mmx_psadbw): Correct insn mnemonic.  Use V8QI mode for operands 1 and 2.
3764         (mmx_punpckhwd): Correct insn mnemonic.
3765         (mmx_punpckhdq): Likewise.
3766         (mmx_punpcklwd): Likewise.
3767         (mmx_punpckldq): Likewise.
3768         (prefetch): Use immediare_operand and 'n' constraint for operand 1.
3769         Renumber case labels to match the _mm_prefetch constants defined in
3770         xmmintrin.h.
3771
3772         * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
3773         if the splitter didn't emit new insns.
3774         Make sure we call cleanup_subreg_operands even when splitting the last
3775         insn in a basic block.
3776
3777         * invoke.texi (Debugging Options): Describe -do.
3778         * toplev.c (enum_dump_file_index): New entry DFI_postreload.
3779         (dump_file): Likewise.
3780         (rest_of_compilation): Split .greg dump into .greg and .postreload.
3781
3782 2000-10-30  Neil Booth  <neilb@earthling.net>
3783
3784         * cppfiles.c (stack_include_file): Check for stacked contexts
3785         here.
3786         * cpphash.h (_cpp_do__Pragma): New prototype.
3787         * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
3788
3789         * cpplex.c (skip_escaped_newlines): Only process trigraphs and
3790         escaped newlines if !(buffer->from_stage3).
3791         (_cpp_lex_token): Warn about missing newlines iff
3792         !buffer->from_stage3.
3793
3794         * cpplib.c (get__Pragma_string, destringize,
3795         _cpp_do__Pragma): New functions.
3796         (run_directive): Set output_line for _Pragma to avoid line
3797         markers in output.  Set from_stage3 and prevent macro expansion
3798         for _Pragma and command-line options.  Check buffer exhaustion.
3799         (cpp_push_buffer): Don't check for stacked macro contexts, as
3800         this is perfectly legitimate for _Pragma.  Move the check to
3801         stack_include_file instead. Set from_stage3 iff buffer is
3802         preprocessed input.
3803
3804         * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
3805         unsigned. New boolean from_stage3.
3806         (struct spec_nodes): Add n__Pragma.
3807
3808         * cppmacro.c (enter_macro_context): Flip sense of return value.
3809         (_cpp_get_token): Handle _Pragma operator.
3810
3811 2000-10-30  Phil Edwards  <pme@sources.redhat.com>
3812
3813         * gcc.texi:  The C++ standard isn't "draft" anymore.
3814
3815 2000-10-30  Mark Mitchell  <mark@codesourcery.com>
3816
3817         * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
3818
3819 2000-10-29  Neil Booth  <neilb@earthling.net>
3820
3821         * cpplib.c (skip_rest_of_line):  Use _cpp_get_token.
3822
3823 2000-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
3824
3825         * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
3826         fixinc/inclhack.def: Change comments mentioning C9X to refer to
3827         C99 instead.
3828
3829         * invoke.texi: Document that -V will only work for very similar
3830         versions of driver and compiler.
3831
3832 2000-10-29  Neil Booth  <neilb@earthling.net>
3833
3834         * cppmacro.c (_cpp_create_definition): Optimize the case of
3835         a macro defined to itself.
3836
3837 2000-10-29  Neil Booth  <neilb@earthling.net>
3838
3839         * cpplex.c (save_comment): Don't store new lines in C++ comments.
3840
3841 2000-10-29  Michael Hayes  <mhayes@redhat.com>
3842
3843         * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
3844
3845 2000-10-28  Geoffrey Keating  <geoffk@cygnus.com>
3846
3847         * cpphash.c (cpp_forall_identifiers): Add context variable
3848         for callback routine.
3849         * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
3850         change.
3851         (main): Call cpp_forall_identifiers with null context.
3852         * cpplib.h (cpp_forall_identifiers): Update prototype.
3853
3854         * cppmain.c: Make `parse_in' and `print' static.
3855
3856 2000-10-28  Alan Modra <alan@linuxcare.com.au>
3857
3858         * c-decl.c (finish_function): Clear c_function_name_declared_p.
3859
3860 2000-10-28  Richard Henderson  <rth@redhat.com>
3861
3862         * regrename.c (scan_rtx_address): Frob action, not class,
3863         when trying to disable optimization.
3864
3865 2000-10-28  Mark Mitchell  <mark@codesourcery.com>
3866
3867         * c-semantics.c (make_rtl_for_local_static): Don't clobber
3868         DECL_ASSEMBLER_NAME.
3869
3870 2000-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
3871
3872         * configure.in: Determine and substitute gcc_version_full.
3873         * configure: Regenerate.
3874         * gccbug.in: Use it to give full version.  Don't allow
3875         confidential PRs.
3876
3877 2000-10-28  Richard Henderson  <rth@redhat.com>
3878
3879         * recog.c (split_all_insns): Run cleanup_subreg_operands
3880         after reload.
3881
3882         * regrename.c (regrename_optimize): Verify that all registers of
3883         a multiple register mode are available.
3884         (scan_rtx_address): Accept the mode of the address; all callers
3885         changed.
3886
3887         * cpplib.c (run_directive): Fix prototype.
3888
3889 2000-10-28  Bernd Schmidt  <bernds@redhat.co.uk>
3890
3891         * reload.c (find_reloads): Distinguish "wins" so that we know whether
3892         a given operand won because of a matching constraint or not; then use
3893         that information to compute goal_alternative_matched properly.
3894         * reload1.c (choose_reload_regs): Never set reload_override_in for an
3895         optional reload.
3896
3897         * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
3898         accurate value for MULT.
3899         * config/ia64/ia64.c (ia64_print_operand): Require probability to be
3900         2% or > 98% before using static branch prediction bits.
3901
3902 2000-10-28  Neil Booth  <neilb@earthling.net>
3903
3904         New macro expander.
3905
3906         * cpplib.c (struct answer): New.
3907         (struct if_stack): Use cpp_lexer_pos rather than line and col.
3908         Rename cmacro mi_cmacro.
3909         (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
3910         IN_I): New directive and flags.
3911         (skip_rest_of_line, check_eol, run_directive, glue_header_name,
3912         parse_answer, parse_assertion, find_answer): New functions.
3913         (parse_ifdef, detect_if_not_defined, validate_else): Remove.
3914         (lex_macro_node): New function to replace parse_ifdef and
3915         get_define_node.
3916
3917         (_cpp_handle_directive): New function, combines _cpp_check_directive
3918         and _cpp_check_linemarker.
3919
3920         (do_define, do_undef, parse_include, do_include, do_import,
3921         do_include_next, read_line_number, do_line, do_ident, do_pragma,
3922         do_pragma_once, do_pragma_poison, do_pragma_dependency):
3923         Update for new token getting interface.
3924
3925         (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
3926         : Update for new multiple-include optimisation technique.
3927         (do_elif): Don't forget to invalidate controlling macros.
3928
3929         (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
3930         (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
3931         Functions to handle assertions with the new token interface.
3932         (do_assert, do_unassert): Use them.
3933
3934         (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
3935         Use run_directive.
3936
3937         (_cpp_init_stacks): Register directive names.  Don't register special
3938         nodes.
3939
3940         * cpperror.c (print_containing_files, _cpp_begin_message): Update to
3941         new position recording regime.
3942         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
3943         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
3944         cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
3945         (cpp_type2name): Move to cpplex.c.
3946
3947         * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
3948         (parse_defined): Update to handle new multiple include optimisation
3949         method.  Remove poisoned identifier warning.
3950         (parse_assertion, TYPE_NAME): Delete.
3951         (lex): Update for multiple include optimisation, removal of
3952         CPP_DEFINED, to use _cpp_test_assertion for assertions and
3953         cpp_token_as_text.
3954         (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
3955         (op_as_text): New function, to wrap cpp_token_as_text.
3956
3957         * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
3958         Update for MI optimisation.
3959         (_cpp_execute_include): Take a token rather than 3 arguments.  Fix
3960         segfault on diagnostic.
3961         (_cpp_compare_file_date): Take a token rather than 3 args.
3962         (cpp_read_file): Work correctly for zero-length files.
3963
3964         * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
3965         _cpp_init_hashtable and _cpp_cleanup_hashtable.
3966         (cpp_lookup): Place identifiers at front of identifier pool
3967         for _cpp_lookup_with_hash.
3968         (_cpp_lookup_with_hash): Require identifiers to be at the front of
3969         the identifier pool.  Commit the memory if not already in the
3970         hash table.
3971
3972         * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
3973         Initialise various members of cpp_reader, memory pools, and the
3974         special nodes.
3975         (cpp_printer_init): Delete.
3976         (cpp_cleanup): Update.
3977         (struct builtin, builtin_array, initialize_builtins): Update for new
3978         hashnode definition and builtin handling.
3979         (cpp_start_read, cpp_finish): Don't take or initialise a
3980         printer.  Update.
3981
3982         * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
3983         PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
3984         T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
3985         T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
3986         (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
3987         struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
3988         NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
3989         struct toklist, struct cpp_context, struct specnodes,
3990         TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
3991         NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
3992         enum builtin_type, cpp_can_paste): New.
3993         (struct cpp_token): Delete line and col members.
3994         (struct cpp_buffer): New member output_lineno.
3995         (struct lexer_state): Delete indented, in_lex_line, seen_dot.
3996         Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
3997         (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
3998         ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
3999         base_context, context, directive, mi_state, mi_if_not_defined,
4000         mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
4001         mlstring_pos, macro_buffer, macro_buffer_len.
4002         Delete members mls_line, mls_column, token_list, potential_control_macro,
4003         temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
4004         context_cap, cur_context, no_expand_level, paste_level, contexts, args,
4005         save_parameter_spellings, need_newline, .
4006         Change type of date, time and spec_nodes members.
4007         Change prototypes for include and ident callbacks.
4008         (struct cpp_hashnode): Change type of name.  Remove union members
4009         expansion and code.  Add members macro, operator and builtin.
4010
4011         (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
4012         cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
4013         cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
4014         cpp_stop_lookahead): New prototypes.
4015         (cpp_printer_init, cpp_dump_definition): Delete prototypes.
4016
4017         (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
4018         Move from cpphash.h.
4019
4020         * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
4021         ufputs): Move to cpplib.h.
4022         (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
4023         TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
4024         COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
4025         struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
4026         _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
4027         _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
4028         _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
4029         _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
4030         _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
4031         _cpp_parse_assertion, _cpp_find_answer): Delete.
4032         (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
4033         POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
4034         _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
4035         _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
4036         _cpp_handle_directive, DSC): New.
4037         (struct include_file): New member defined.
4038
4039         (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
4040         _cpp_compare_file_date): Update.
4041         (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
4042         (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
4043         _cpp_cleanup_hashtable.
4044
4045         * Makefile.in: Remove cppoutput.c.
4046
4047         * cppoutput.c: Delete
4048
4049         * fixheader.c (read_scan_file): Update for new cpp_get_token
4050         prototype.
4051         (recognized_function): New argument LINE.
4052
4053         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
4054         new cpp_get_token prototype.
4055
4056         * scan.h (recognized_function): Update prototype.
4057
4058         * po/POTFILES.in: Remove cppoutput.c.
4059
4060 2000-10-27  Mark Mitchell  <mark@codesourcery.com>
4061
4062         * c-typeck.c (check_init_type_bitfields): Remove.
4063         (constructor_incremental): Likewise.
4064         (struct constructor_stack): Remove incremental bit.
4065         (struct initializer_stack): Likewise.
4066         (start_init): Don't play with constructor_incremental.
4067         (finish_init): Likewise.
4068         (really_start_incremental_init): Likewise.
4069         (push_init_level): Likewise.
4070         (pop_init_level): Likewise.
4071         (output_init_level): Likewise.
4072         (output_pending_init_elements): Likewise.
4073
4074 2000-10-21  Mike Coleman  <mcoleman2@kc.rr.com>
4075
4076         * c-pragma.c (handle_pragma_pack): Initialize align to -1.
4077         Improve error messages.  Correct parsing of
4078         #pragma pack(pop [,id]).  Do not check the user-supplied
4079         alignment if we're popping.
4080
4081         * gcc.dg/pack-test-1.c: New test case.
4082         * gcc.dg/pack-test-2.c: New test case.
4083         * gcc.dg/pack-test-1.h: New file.
4084
4085 2000-10-27  Neil Booth  <neilb@earthling.net>
4086
4087         * cpp.texi: Update.
4088
4089 2000-10-27  Kelley Cook <kelley.cook@home.com>
4090
4091         * invoke.texi: Document -mintel-syntax
4092
4093 2000-10-27  Richard Henderson  <rth@redhat.com>
4094
4095         * invoke.texi: Document -frename-registers.  Add it to -O3.
4096         * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
4097         (enum dump_file_index, dump_file): Update order.
4098         (main): Set flag_rename_registers at -O3.
4099
4100 2000-10-27  Richard Henderson  <rth@redhat.com>
4101
4102         * config/alpha/alpha.h (enum reg_class): Add PV_REG.
4103         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
4104         (REG_CLASS_FROM_LETTER): Assign it to 'c'.
4105         * config/alpha/alpha.md (call_osf_1): Use it.
4106         (call_value_osf_1): Likewise.
4107
4108         * config/ia64/ia64.c: Revert 10-23 patch.
4109         (ia64_hard_regno_rename_ok): New.
4110         * config/ia64/ia64-protos.h: Declare it.
4111         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
4112
4113 2000-10-27  Bernd Schmidt  <bernds@redhat.co.uk>
4114             Richard Henderson  <rth@redhat.com>
4115
4116         * regrename.c: Rewrite to handle multi-register modes and
4117         cond_exec instructions.
4118         * Makefile.in (regrename.o): Update dependancies.
4119         * recog.h (struct operand_alternative): Add is_address.
4120         * recog.c (preprocess_constraints) [case 'p']: Set it.
4121
4122 2000-10-27  Zack Weinberg  <zack@wolery.stanford.edu>
4123
4124         * configure.in: If not NO_MINUS_C_MINUS_O, substitute
4125         OUTPUT_OPTION with '-o $@'.  Make zlibdir, zlibinc relative to
4126         top level.  Kill oldstyle_subdirs.  Do not include
4127         $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
4128         $outputs.  Do not run configure.lang from config.status.
4129         Rearrange warning-flag logic to correspond to what the
4130         makefile wants.  Put special vax stage1 options in
4131         @stage1_flags@ not @stage1_warn_cflags@.  Don't do anything
4132         with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
4133         (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
4134         switch is given, nothing otherwise.
4135         * configure.lang: Delete.
4136
4137         * Makefile.in: Expunge all traces of extra_c_objs,
4138         extra_cxx_objs, and extra_cpp_objs.  Set MAYBE_CPPLIB from
4139         @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS.  Set
4140         warning options via a three level scheme so that -pedantic and
4141         -Wtraditional are not used for non-C front ends: LOOSE_WARN,
4142         STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
4143         WARN_CFLAGS.  Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
4144         Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
4145         Set OUTPUT_OPTION, ZLIB, ZLIBINC.  Do not set P,
4146         LANG_FLAGS_TO_PASS.  Add OUTPUT_OPTION to all object-file
4147         generation rules.  Wrap all rules that change the current
4148         directory in parentheses; pmake doesn't spawn a new shell for
4149         each command.  Expunge all references to $(P).  When one
4150         command depends on another and they're run all at once, use &&
4151         to separate them, not ;.  Add libgcc_s$(SHLIB_EXT) to files
4152         deleted on make clean.  Force OUTPUT_OPTION='-o $@' in stage2
4153         and beyond.
4154
4155         * objc/Make-lang.in: Wrap all rules that change the current
4156         directory in parentheses.  Expunge all references to $(P).
4157         When one command depends on another and they're run all at
4158         once, use && to separate them, not ;.  Add OUTPUT_OPTION to
4159         all object-file generation rules.  Delete obsolete variables.
4160         * objc/Makefile.in: Delete.
4161
4162 2000-10-27  Jakub Jelinek  <jakub@redhat.com>
4163
4164         * calls.c (expand_call): If sibcall_failure is set during pass 1,
4165         clear tail_call_insns as well.
4166
4167 2000-10-27  Nick Clifton  <nickc@redhat.com>
4168
4169         * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
4170         prototype.
4171
4172 2000-10-26  Richard Henderson  <rth@redhat.com>
4173
4174         * calls.c (expand_call): Supress sibcall if we have a
4175         BLKmode return in registers.
4176
4177 2000-10-26  Bernd Schmidt  <bernds@redhat.co.uk>
4178
4179         * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
4180         into memory.
4181
4182 2000-10-26  Nathan Sidwell  <nathan@codesourcery.com>
4183
4184         * tree.c (make_node, case 't'): Set alignment to that of
4185         char_type_node.
4186         * expr.c (move_by_pieces_ninsns): Abort if some length remains.
4187
4188 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
4189
4190         * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
4191         * configure.in (enable-libstdcxx-v3): Arrange to have
4192         HAVE_LIBSTDCXX_V3 substituted into the output files.
4193
4194 2000-10-25  Richard Henderson  <rth@redhat.com>
4195
4196         * recog.c (constrain_operands): Initialize which_alternative
4197         before no alternatives early exit.
4198
4199         * cse.c (find_comparison_args): Check that we can reverse a
4200         comparison if needed before accepting the substitution.
4201
4202         * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
4203
4204         * simplify-rtx.c (simplify_relational_operation): Sign extend
4205         low words before sign extending to high words.
4206
4207 2000-10-25  Nick Clifton  <nickc@redhat.com>
4208
4209         * config/mcore/mcore.c: Include config.h before system.h.
4210
4211 2000-10-25  Ray Essick  <essick@ddna.labs.mot.com>
4212
4213         * config/mcore/mcore.md (return): Force function epilogue to
4214         always be generated to work around epilogue suppression bug in
4215         M*Core backend.
4216
4217 2000-10-25  Joseph S. Myers  <jsm28@cam.ac.uk>
4218
4219         * c-decl.c (grokdeclarator): Move warning for qualified void
4220         return types with -pedantic to when the function type is
4221         constructed.  At -W, warn in general for qualified function return
4222         types, except for volatile void.
4223         * invoke.texi: Document this new warning at -W.
4224
4225 2000-10-25  Neil Booth  <neilb@earthling.net>
4226
4227         * cpp.texi: Update with implementation-defined behavior and
4228         internal limits.
4229
4230 2000-10-25  Jakub Jelinek  <jakub@redhat.com>
4231
4232         * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
4233         incomplete type force it into alias set 0.
4234
4235 Wed Oct 25 01:02:44 EDT 2000  John Wehle  (john@feith.com)
4236
4237         * alias.c: Include basic-block.h.
4238         (loop_p): New function.
4239         (mark_constant_function): Use it.
4240         * Makefile.in (alias.o): Update dependencies.
4241
4242 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
4243
4244         * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
4245         like memory.
4246
4247 2000-10-24  Jim Wilson  <wilson@cygnus.com>
4248
4249         * expmed.c (store_bit_field): Move integer pun code down after
4250         code that calls emit_move_insn for entire register move.
4251         * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
4252         Oct 20 changes.  Only store mode in TYPE_MODE if RECORD_TYPE.
4253
4254 2000-10-24  Richard Henderson  <rth@cygnus.com>
4255
4256         * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
4257         register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
4258
4259 2000-10-24  Aldy Hernandez  <aldyh@redhat.com>
4260
4261         * gcse.c (cprop_insn): do not propagate constants into jump_insn
4262         for machines with CC0 more than once.
4263
4264 2000-10-24  Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
4265
4266         * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
4267         pseudos just like memory.
4268
4269 2000-10-24  Alexandre Oliva  <aoliva@redhat.com>
4270
4271         * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
4272         when deleting libcall sequence collapsed to a single instruction.
4273
4274 2000-10-24  Andrew Haley  <aph@cygnus.co.uk>
4275
4276         * expr.c (do_store_flag): Don't crash if either side of a
4277         comparison is error_mark_node.
4278
4279 2000-10-24  Jakub Jelinek  <jakub@redhat.com>
4280
4281         * sibcall.c (purge_mem_unchanging_flag): New function.
4282         (optimize_sibling_and_tail_recursive_calls): Call it.
4283
4284 2000-10-24  Philipp Thomas  <pthomas@suse.de>
4285
4286         * Makefile.in (check-po): New target for doing checks in the po
4287         subdir if all languages configured.
4288         (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
4289         configure if NLS is enabled.
4290         * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
4291         otherwise leave empty.
4292         * configure: Regenerate.
4293
4294 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
4295
4296         * i386.c (print_operand): Handle new 'A' formatting code.
4297         387 opcodes need suffixes even with -mintel-syntax.
4298         Check for explicit size override (codes 'b', 'w' and 'k').
4299         (print_operand_address): Check if register prefix is needed when
4300         emitting `ds' segment override.
4301         * i386.h: Add comment about new 'A' formatting code.
4302         * i386.md (jump and call patterns): Emit absolute references using %A.
4303
4304 2000-10-23  Richard Henderson  <rth@cygnus.com>
4305
4306         * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
4307         output registers as fixed.
4308         (ia64_function_epilogue): Undo output fixation.
4309
4310 2000-10-23  Richard Henderson  <rth@cygnus.com>
4311
4312         * config/alpha/alpha.md: Add names for all unnamed insns; use
4313         define_insn_and_split in some obvious places.
4314         (lda): Remove.
4315         (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
4316         (zero_extendqisi2, zero_extendqidi2): Likewise.
4317         (zero_extendhisi2, zero_extendhidi2): Likewise.
4318         (abs splitters): Fix match_scratch operand number.
4319         (bcc_reverse): Swap pc & label instead of non-canonical compare.
4320
4321 2000-10-23  Jim Wilson  <wilson@cygnus.com>
4322
4323         * ia64.c (ia64_print_operand, case 'r'): Correct comment.  Handle
4324         CONST_INT.
4325         * ia64.md (cmpsi_adjusted): Use %r3.
4326         (cmpdi_adjusted): Likewise.
4327
4328 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
4329
4330         * config/i386/att.h (ASM_FILE_START): Define.
4331
4332 2000-10-23  Diego Novillo  <dnovillo@cygnus.com>
4333
4334         * config/i386/linux.h (ASM_FILE_START): Define.
4335
4336 Wed Oct 18 11:16:40 2000  Donald Lindsay  <dlindsay@cygnus.com>
4337
4338         * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
4339         since this (only) drags in a crt0.o reference that the .ld files
4340         also introduce.
4341
4342 2000-10-23  Geoff Keating  <geoffk@cygnus.com>
4343
4344         * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
4345         overwrite the value in a RELOAD_FOR_INPUT and other kinds of
4346         reloads just like an RELOAD_FOR_OUTPUT would.
4347
4348         * local-alloc.c (update_equiv_regs): Add an abort().  When
4349         deleting or moving insns, update reg_equiv[regno].init_insns.
4350
4351 2000-10-23  Mark Mitchell  <mark@codesourcery.com>
4352
4353         * c-tree.texi: Improve documentation for IF_STMTs and related
4354         conditional statements.
4355
4356 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
4357
4358         * expr.c (do_preexpand_calls): Remove.
4359         (same_from_p): Don't use CALL_EXPR_RTL.
4360         (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
4361         (preexpand_calls): Remove.
4362         * tree.c (first_rtl_op): Remove CALL_EXPR case.
4363         (unsave_expr_1): Likewise.
4364         * tree.def (CALL_EXPR): Give it only two slots.
4365         * tree.h (CALL_EXPR_RTL): Remove.
4366
4367 2000-10-21  Chandrakala Chavva   <cchavva@redhat.com>
4368
4369         * libgcc-std.ver (__addvsi3, __addvdi3,  __subvsi3, __subvdi3,
4370         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
4371         New functions.
4372
4373 2000-10-22  Alexandre Oliva  <aoliva@redhat.com>
4374
4375         * calls.c (combine_pending_stack_adjustment_and_call): Don't
4376         adjust stack when unadjusted_alignment ends up as zero.
4377
4378 2000-10-22  Joseph S. Myers  <jsm28@cam.ac.uk>
4379
4380         * fixinc/genfixes: Remove EGCS reference.
4381         * install.texi: Remove EGCS reference.
4382         * INSTALL: Regenerate.
4383
4384 2000-10-22  Mark Mitchell  <mark@codesourcery.com>
4385
4386         * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
4387
4388 2000-10-21  Joseph S. Myers  <jsm28@cam.ac.uk>
4389
4390         * diagnostic.c: Remove EGCS reference in comment.
4391
4392 Sat Oct 21 08:24:25 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4393
4394         * loop.c (strength_reduce): Fix error in last change.
4395
4396 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
4397
4398         * Makefile.in (SHLIB_NM_FLAGS): New.
4399         (libgcc.mk): Pass it.
4400         * mklibgcc.in (libgcc.map): Use it.
4401
4402         * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
4403         SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
4404
4405 2000-10-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4406
4407         * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
4408
4409         * sparc.c (load_pic_register): Delete unused varaible.
4410
4411         * libgcc2.c (__addvsi3): Delete unused variable.
4412
4413         * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
4414         __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
4415         __negvdi2): Prototype.
4416
4417         * ssa.c (apply_delayed_renames): Avoid undefined operation.
4418
4419         * toplev.c (display_target_options): Make static to match
4420         prototype.  Delete empty declaration.
4421
4422 2000-10-20  Tom Tromey  <tromey@cygnus.com>
4423
4424         * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
4425         * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
4426
4427 Fri Oct 20 17:05:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4428
4429         * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
4430         returned MEM.
4431         (expand_expr_unaligned, case ARRAY_REF): Check that index is
4432         a constant before comparing it; use tree_low_cst.
4433         * tree.c (save_expr): Set TREE_READONLY.
4434         (substitute_expr): Return inside of NON_LVALUE_EXPR.
4435         (build, build1): Set TREE_READONLY if all operands are.
4436         (build_index_type): If upper bound is a negative number, lower
4437         bound is zero and sizetype is unsigned, use upper bound of one and
4438         lower of zero.
4439
4440 2000-10-20  David Edelsohn  <edelsohn@gnu.org>
4441
4442         * gcc.c (process_command, main): Use "because" instead of
4443         "since" in error messages.
4444
4445 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4446
4447         * stor-layout.c (compute_record_mode): Use tree_low_cst.
4448         Don't use mode of field for record unless sizes are the same.
4449         (layout_type, case ARRAY_TYPE): Remove special bounds handling
4450         previously added for Ada; also change to using host_integerp
4451         and tree_low_cst.
4452
4453         * loop.c (strength_reduce): Show when new register made for
4454         giv is known to be a pointer and its aligment if so and known.
4455         (loop_dump_aux): Show VERBOSE parameter unused.
4456
4457         * gcse.c (set_hash_table_size): Now unsigned.
4458         * sdbout.c (template_name_p): Add "const" to avoid warnings.
4459         (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
4460         (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
4461         (sdbout_end_epilogue): Remove variable NAME.
4462         * system.h (getopt): Add default definition.
4463         * config/alpha/alpha.c (print_operand): Don't continue processing
4464         after issuing error.
4465         (summarize_insn): Avoid use of UL in constant.
4466
4467         * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
4468
4469         * fold-const.c (force_fit_type): Unsigned values can overflow
4470         if they are sizetype.
4471         (int_const_binop): Don't use cache if overflows.
4472
4473 2000-10-20  Richard Henderson  <rth@cygnus.com>
4474
4475         * function.c (locate_and_pad_parm): Zero alignment_pad.
4476
4477         * regrename.c (rr_replace_reg): Rewrite to use recog_data to
4478         perform substitutions, and apply_change_group to see if it worked.
4479
4480 Fri Oct 20 13:33:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4481
4482         * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
4483
4484         * combine.c (struct undo): Change int to unsigned int.
4485         (do_SUBST_INT): Args are unsigned int.
4486         (make_extraction, force_to_mode): Use proper type when forming mask.
4487         (make_field_assignment): Likewise.
4488
4489 2000-10-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4490
4491         * c-common.c (check_format_info_recurse): Extract string constant
4492         initializers from non-volatile constant arrays and check them as
4493         formats.
4494         * c-typeck.c (decl_constant_value): Don't check pedantic or check
4495         for DECL_MODE (decl) != BLKmode.
4496         (decl_constant_value_for_broken_optimization): New function which
4497         includes these checks.
4498         (default_conversion, convert_for_assignment, digest_init): Use
4499         decl_constant_value_for_broken_optimization instead of
4500         decl_constant_value.
4501
4502 2000-10-20  Mark Mitchell  <mark@codesourcery.com>
4503
4504         * tree.h (DECL_ALIGN_UNIT): New macro.
4505
4506 2000-10-14  Marek Michalkiewicz  <marekm@linux.org.pl>
4507
4508         * config/avr/avr-protos.h (avr_output_bld): New.
4509         (out_shift_with_cnt): Add t_len argument.
4510         * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
4511         (output_movqi, output_movhi, output_movsisf): Optimize loading
4512         any constant with exactly one bit set to NO_LD_REGS.
4513         (out_shift_with_cnt): Optimize output code for size or speed,
4514         depending on optimize_size.  Handle small shift counts as well
4515         (if not hand-optimized in ?sh??i3_out).  Shifts can be done
4516         with or without a scratch register, with help of __tmp_reg__
4517         or __zero_reg__ if necessary.  Add T_LEN argument to pass the
4518         length of TEMPLATE in words, return total insn length in *LEN.
4519         (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
4520         out_shift_with_cnt to work with the above change.
4521         (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
4522         lshrsi3_out): Likewise.  Optimize more known shift count cases.
4523         Remove cases already well optimized in out_shift_with_cnt.
4524         (avr_output_bld): New function.
4525         * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
4526         (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
4527         * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
4528         Add reload_completed to insn condition - only for peepholes.
4529         (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
4530         in a register or memory.
4531         (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
4532         Do not require a scratch register.
4533         (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
4534         *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
4535         Optimize shifts by known count using a scratch register, but only
4536         if one is still available after register allocation.
4537
4538 2000-10-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4539
4540         * t-vax: New file.  Don't build modules from libgcc1.c.
4541
4542 Fri Oct 20 00:57:00 EDT 2000  John Wehle  (john@feith.com)
4543
4544         * alias.c: (mark_constant_function): Don't check pure functions.
4545         Initialize and end alias analysis.
4546         (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
4547         Don't make a special exception for recursion.  Handle
4548         UNSPEC_VOLATILE.  Don't assume ASM_OPERANDS is non-local
4549         unless it's volatile.
4550
4551         * local-alloc.c (equivalence): New structure.
4552         (reg_equiv): Define.
4553         (contains_replace_regs): Remove array and use
4554         field in reg_equiv.
4555         (memref_referenced_p): Likewise.
4556         (no_equiv): Likewise.
4557         (update_equiv_regs): Likewise.
4558
4559         (equiv_init_varies_p,
4560         equiv_init_movable_p): New functions.
4561         (update_equiv_regs): Use them.  Use rtx_varies_p
4562         instead of function_invariant_p.  Process insns
4563         from end to beginning.  Allow a REG_EQUIV insn
4564         within the same loop as a use to be moved, also
4565         allow it to be moved out of a loop.  Update
4566         REG_DEAD notes when substituting into an insn.
4567
4568 2000-10-19  Jim Wilson  <wilson@cygnus.com>
4569
4570         * c-decl.c (start_decl): Check for error_mark_node type before using
4571         COMPLETE_TYPE_P.
4572         (finish_decl): Likewise.  Don't give an error if decl type is
4573         already error_mark_node.
4574
4575         * haifa-sched.c (compute_trg_info): Add explanatory comments.
4576         New local update_blocks.  Use update_blocks to remove duplicates
4577         when computing update blocks.  Check for bblst_table overflow.
4578         (schedule_block): Add explanatory comment.  Reduce bblst_size by
4579         factor of 2.
4580         * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
4581         notes.
4582
4583 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
4584
4585         * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
4586
4587 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
4588
4589         * expmed.c: Minor corrections in comments.
4590         * invoke.texi: Added desciption for the new option -ftrapv.
4591
4592 2000-10-19  Chandrakala Chavva   <cchavva@redhat.com>
4593
4594         * libgcc2.c: Added the missing #endif.
4595
4596 Thu Oct 19 14:25:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4597
4598         * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
4599
4600 2000-10-18  Chandrakala Chavva  <cchavva@redhat.com>
4601
4602         * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
4603         Use smulv_optab for -ftrapv.
4604         (expand_mult_highpart): Use unsigned multiply.
4605         (expand_divmod): Special-case division by -1.
4606         For EXACT_DIV_EXPR, do right shift first, then the multiply.
4607         For complex divide, use abs with unsigned result.
4608         * expr.c (force_operand): Use unsigned multiply.
4609         (expand_expr): Use overflow-trapping optabs for signed types if
4610         flag_trapv.
4611         If flag_trapv, don't generate a recursive call with EXPAND_SUM
4612         if the type is signed and the original call wasn't EXPAND_SUM or
4613         EXPAND_INITIALIZER.
4614         * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
4615         (negv_optab, absv_optab): Declare.
4616         * flags.h (flag_trapv): Declare.
4617         * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
4618         smulv_optab, sdivv_optab, negv_optab and absv_optab.
4619         (gen_insn): Interpret '$P' as requiring an integer mode,
4620         including partial integer modes.
4621         * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
4622         (product_cheap_p): Use unsigned expand_mult.
4623         * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
4624         (negv_optab, absv_optab): Define.
4625         (expand_binop): Use overflow-trapping optabs for signed types if
4626         flag_trapv.
4627         Handle negv_optab libe neg_optab.
4628         (expand_abs): Take result_unsignedp argument instead of unsignedp one.
4629         Use overflow-trapping optabs for signed result if flag_trapv.
4630         (expand_complex_abs): Use overflow-trapping optabs for signed types if
4631         flag_trapv.
4632         Don't open-code complex absolute-value operation for flag_trapv.
4633         (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
4634         sdivv_optab, negv_optab and absv_optab.
4635         * toplev.c (flag_trapv): Define.
4636         (lang_independent_options f_options): Include flag_trapv.
4637         * tree.h (TYPE_TRAP_SIGNED): Define.
4638         * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
4639         __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
4640         New functions.
4641         * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
4642         _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
4643
4644 2000-10-18  Geoffrey Keating  <geoffk@cygnus.com>
4645             David V. Henkel-Wallace  <gumby@cygnus.com>
4646
4647         * config/i386/t-netware: Bring in from the Red Hat tree.
4648         * config/i386/netware.h: Likewise.
4649         * config/netware.h: Likewise.
4650         * config/rs6000/netware.h: Delete.
4651         * configure.in: Add i[34567]86-*-netware.
4652         * configure: Hand-edit to match configure.in change.
4653
4654 2000-10-18  Mark Mitchell  <mark@codesourcery.com>
4655
4656         * c-common.h (flag_no_builtin): Declare.
4657         (flag_no_nonansi_builtin): Likewise.
4658         (c_common_nodes_and_builtins): Change prototype.
4659         * c-common.c (flag_no_builtin): New variable.
4660         (flag_no_nonansi_builtin): Likewise.
4661         (c_common_nodes_and_builtins): Remove parameters.  Adjust
4662         accordingly.
4663         * c-decl.c (flag_no_builtin): Remove.
4664         (flag_no_nonansi_builtin): Likewise.
4665         (init_decl_processing): Adjust call to
4666         c_common_nodes_and_builtins.
4667
4668 2000-10-18  Marc Espie <espie@openbsd.org>
4669
4670         * tm.texi (LIBGCC_SPEC): Synch with reality.
4671
4672 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
4673
4674         * c-common.c (check_format_types): Check for writing through a
4675         NULL pointer argument.
4676
4677 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
4678
4679         * tm.texi (Exception Region Output): Document
4680         DWARF_CIE_DATA_ALIGNMENT.
4681         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
4682         #ifndef.
4683         [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
4684         DWARF_CIE_DATA_ALIGNMENT.
4685
4686 2000-10-18  Michael Hayes  <mhayes@cygnus.com>
4687
4688         * basic-block.h (struct loop): Delete fields pre_header_root
4689         and pre_header_trace and replace with pre_header_edges
4690         and num_pre_header_edges.
4691         * flow.c (flow_loop_dump): Dump pre_header_edges.
4692         (flow_loops_free): Free pre_header_edges.
4693         (flow_loop_pre_header_scan): Calculate pre_header_edges.
4694
4695 2000-10-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4696
4697         * contrib.texi: Update references to steering committee members
4698         and Jeff Law's entry.
4699
4700 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
4701
4702         * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
4703         (maybe_read_dollar_number, check_format_info_main): Use them for
4704         pedantic warning messages.
4705
4706 2000-10-18  Joseph S. Myers  <jsm28@cam.ac.uk>
4707
4708         * c-common.c (check_format_info_main): Minor cleanup: move
4709         variables into inner scopes; initialize declarations where
4710         appropriate; don't hardcode "scanf" name on warning for zero
4711         width.
4712
4713 2000-10-17  Mark Mitchell  <mark@codesourcery.com>
4714
4715         * c-common.c (back_end_hook): New variable.
4716         * c-common.h (back_end_hook): Declare it.
4717         * c-lang.c (finish_file): Use it.
4718
4719         * emit-rtl.c (init_emit_once): Initialize the const_int_htab
4720         earlier.
4721
4722 2000-10-18  Jan Hubicka  <jh@suse.cz>
4723
4724         * i386.c (ix86_comparison_operator, put_condition_code,
4725         ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
4726         (ix86_expand_strlensi_unroll_1): Use CCRCmode.
4727         * i386.h (EXTRA_CC_MODES): Add CCRCmode.
4728         * i386.md (adddi and negdi splitter): Use CCRCmode.
4729         (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
4730         (subsi3_carry): add '*'
4731         (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
4732         (cmp to add peep2): Use CCRCmode; swap operands.
4733
4734 2000-10-18  Kazu Hirata  <kazu@hxi.com>
4735
4736         * h8300.c: Fix a comment typo.
4737         (round_frame_size): New.
4738         (compute_saved_regs): Likewise.
4739         (push): Likewise.
4740         (pop): Likewise.
4741         (push_order): Remove.
4742         (pop_order): Likewise.
4743         (function_prologue): Rearrange code for readability.
4744         (function_epilogue): Likewise.
4745
4746         * config/h8300/h8300.md: Remove an unnecessary sign_extend
4747         expander that is used when not optimizing.  Output a tab after
4748         each assembly insns.
4749
4750         * reorg.c: Fix formatting.
4751
4752 2000-10-17  Joern Rennecke <amylaar@redhat.co.uk>
4753
4754         * reload1.c (move2add_note_store): Check for simple
4755         auto-inc in destination.
4756
4757 2000-10-17  Michael Chastain  <chastain@redhat.com>
4758
4759         * config/i386/i386-aout.h: define INT_ASM_OP.
4760
4761 Tue Oct 17 20:11:08 2000  Alan Modra <alan@linuxcare.com.au>
4762
4763         * pa.c (print_operand): Handle case 'c' for .vtable_inherit
4764
4765 Tue Oct 17 20:05:51 2000  Martin Buchholz <martin@xemacs.org>
4766
4767         * i370.md: Fix spelling typo.
4768
4769 2000-10-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4770
4771         * function.c (locate_and_pad_parm): Don't align stack unconditionally.
4772         Fixes execute/20001017-1.c on powerpc-linux-gnu.
4773
4774         * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
4775         * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
4776         LABEL_REF.
4777
4778         * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
4779         ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
4780         here...
4781         * rs6000/aix.h: ...to here.
4782         * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
4783
4784 2000-10-17  Jakub Jelinek  <jakub@redhat.com>
4785
4786         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
4787
4788         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
4789         sure linker can relax even the delay slot mov %g1,%o7, fix output
4790         formating.
4791
4792 2000-10-17  Kazu Hirata  <kazu@hxi.com>
4793
4794         * config/h8300/h8300.md: Remove an unnecessary zero_extend
4795         expander that is used when not optimizing.  Output a tab after
4796         each assembly insns.
4797
4798 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
4799
4800         * gcc.c: New options --target-help.
4801         (process_command): Added code to parse this new option.
4802         * toplev.c (display_target_options): New function to support the
4803         above new option.
4804         * cppinit.c (new_pending_directive) : New option OPT_target__help.
4805         (cpp_handle_option): Support this new option.
4806         * invoke.texi: Added notes about --target-help option.
4807
4808 2000-10-17  Graham Stott  <grahams@redhat.com>
4809
4810         * config/i386/i386.md (testqi_1): Add missing operand prefix
4811         for operand 0.
4812         * config/i386/i386-protos.h: Add missing prototype.
4813
4814 2000-10-17  Diego Novillo  <dnovillo@cygnus.com>
4815
4816         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
4817         _GLOBAL_OFFSET_TABLE should not have a $ prefix when
4818         using -mintel-syntax.
4819
4820 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
4821
4822         * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
4823         (format_types): Use it for printf.
4824         (maybe_read_dollar_number): Add parameter for the kind of format
4825         involved.  Warn for multiple use for arguments if this is
4826         inappropriate for the kind of format involved.
4827         (check_format_info_main): Update calls to maybe_read_dollar_number.
4828
4829 2000-10-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4830
4831         * inclhack.def (hpux_maxint): Also apply fix to values.h.
4832         * fixincl.x: Rebuilt.
4833
4834 2000-10-17  Alexandre Oliva  <aoliva@redhat.com>
4835
4836         * genrecog.c (write_switch): Return the first condition that needs a
4837         label.
4838
4839 2000-10-17  Bernd Schmidt  <bernds@redhat.co.uk>
4840
4841         * c-tree.h (warn_sequence_point): Move declaration to...
4842         * c-common.h (warn_sequence_point): ... here.
4843         * c-decl.c (warn_sequence_point): Move definition to...
4844         * c-common.c (warn_sequence_point): ... here.
4845         (struct reverse_tree): New.
4846         (reverse_list, reverse_max_depth): New static variables.
4847         (build_reverse_tree, common_ancestor, modify_ok
4848         verify_sequence_points): New functions.
4849         (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
4850         * c-typeck.c (check_modify_expr): Delete.
4851         (build_modify_expr): Don't call it.
4852
4853 2000-10-17  Joseph S. Myers  <jsm28@cam.ac.uk>
4854
4855         * c-common.h (warn_missing_format_attribute): New variable.
4856         * c-decl.c (warn_missing_format_attribute): New variable.
4857         (c_decode_option): Decode -Wmissing-format-attribute and
4858         -Wno-missing-format-attribute.
4859         * c-common.c (check_function_format): If
4860         -Wmissing-format-attribute, give a warning where a vprintf or
4861         vscanf function is called by a function without its own printf or
4862         scanf attribute.
4863         * toplev.c (documented_lang_options): Add
4864         -Wmissing-format-attribute.
4865         * invoke.texi: Document -Wmissing-format-attribute.
4866
4867 2000-10-17  Marc Espie <espie@openbsd.org>
4868
4869         * invoke.texi (-shared): Insist on requiring code generation flags
4870         to be used along with -shared, and document the subtle failure that
4871         may occur otherwise.
4872
4873 2000-10-16  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4874
4875         * pa.md (return_internal): Move `use' after `return'.
4876
4877 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4878
4879         * machmode.def: Correct comment.
4880
4881 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
4882
4883         * print-rtl.c (print_rtx_head): Constify.
4884         * rtl.h (print_rtx_head): Similarly.
4885
4886         * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
4887         Constify char * return value.
4888         * config/pa/pa/pa.c
4889         (output_64bit_and, output_64bit_ior): Constify char * return value.
4890         (pa_can_combine_p): Make static.
4891         (function_arg): Decorate unused `named' argument. Fix comment typo.
4892         (function_arg_partial_nregs): Decorate unused `named' argument.
4893
4894 2000-10-16  Joseph S. Myers  <jsm28@cam.ac.uk>
4895
4896         * c-common.c (format_check_results): New structure.
4897         (finish_dollar_format_checking): Adjust to take a
4898         format_check_results * parameter.
4899         (check_format_info, check_format_info_recurse,
4900         check_format_info_main): Split check_format_info into three
4901         functions, the main checking going in check_format_info_main.
4902         Recurse when any reduction of the format string argument towards a
4903         string literal is done; go down both branches of a conditional
4904         expression.  Don't warn for extra format arguments or empty format
4905         strings if they only occur in some branches of a conditional
4906         expression.
4907
4908 2000-10-16  Kazu Hirata  <kazu@hxi.com>
4909
4910         * config/h8300/h8300.c: Remove obstack.  Include ggc.h.
4911
4912 2000-10-16  Jakub Jelinek  <jakub@redhat.com>
4913
4914         * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
4915
4916 2000-10-15  Diego Novillo  <dnovillo@cygnus.com>
4917
4918         * i386.md (*movsi_or): Switch operand order for intel syntax.
4919
4920 2000-10-14  Joseph S. Myers  <jsm28@cam.ac.uk>
4921
4922         * PROBLEMS: Remove.
4923
4924         * gcc.texi (Contributing): Update.
4925
4926 2000-10-13  Diego Novillo  <dnovillo@cygnus.com>
4927
4928         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
4929         appropriate assembler dialect.
4930
4931 2000-10-13  Alexandre Oliva  <aoliva@redhat.com>
4932
4933         * c-common.c (c_expand_builtin): PARAMS-ize prototype.
4934
4935 2000-10-12  Marek Michalkiewicz  <marekm@linux.org.pl>
4936
4937         * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
4938         constants 1 and 2 to NO_LD_REGS.
4939
4940 2000-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4941
4942         * Makefile.in (c-parse.c, tradcif.c): Create atomically.
4943
4944         * objc/Make-lang.in (objc-parse.c): Likewise.
4945
4946 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
4947
4948         * arm.c: Include obstack.h
4949         (minipool_obstack, minipool_startobj): Define.
4950         (arm_add_gc_roots): Initialize them.
4951         (create_fix_barrier): Use our new obstack.
4952         (push_minipool_barrier, push_minipool_fix): Likewise.
4953         (arm_reorg): Release obstack memory.
4954
4955 2000-10-13  Jakub Jelinek  <jakub@redhat.com>
4956
4957         * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
4958         (prologue, exception_receiver, builtin_setjmp_receiver): New
4959         patterns.
4960         * config/sparc/sparc.h (FINALIZE_PIC): Remove.
4961         * config/sparc/sparc-protos.h (finalize_pic): Remove.
4962         (load_pic_register): New prototype.
4963         * config/sparc/sparc.c (pic_setup_code): Remove.
4964         (finalize_pic): Rename to...
4965         (load_pic_register): ...this function.
4966         Don't look for nonlocal_goto_receivers and emit pic setup code
4967         directly.  Don't check current_function_uses_pic_offset_table.
4968
4969 2000-10-13  Richard Earnshaw <rearnsha@arm.com>
4970
4971         * tree.h (struct obstack): Declare.
4972
4973 2000-10-12  Mark Mitchell  <mark@codesourcery.com>
4974
4975         Remove obstacks.
4976         * Makefile.in (ggc-callbacks.o): Remove target.
4977         (flow.o): Depend on GGC_H.
4978         * alias.c (init_alias_analysis):
4979         Remove ggc_p conditionals.
4980         (end_alias_analysis): Likewise.
4981         * basic-block.h (init_flow): New function.
4982         (allocate_reg_life_data): Declare.
4983         * bb-reorder.c  (function_obstack): Replace with ...
4984         (flow_obstack): ... new variable.
4985         (fixup_reorder_chain): Use it.
4986         * c-decl.c (ggc_p): Remove.
4987         (caller-save.c): Don't call oballoc/obfree.
4988         * combine.c (struct
4989         undobuf): Remove storage.
4990         (try_combine): Don't call oballoc.
4991         (undo_all): Don't call obfree.
4992         * cse.c (insert): Use xmalloc, not
4993         oballoc.
4994         (cse_main): Adjust accordingly.
4995         * dwarf2out.c (save_rtx): Remove
4996         obstack code.
4997         (dwarf2out_init): Remove ggc_p conditionals.
4998         * emit-rtl.c (rtl_obstack): Remove.
4999         (gen_rtx_CONST_INT): Remove ggc_p conditionals.
5000         (make_insn_raw): Likewise.
5001         (emit_insn_before): Likewise.
5002         (emit_insn_after): Likewise.
5003         (emit_insn): Likewise.
5004         (gen_sequence): Likewise.
5005         (copy_insn_1): Remove handling of `b' RTL components.
5006         (init_emit_once): Remove ggc_p conditionals.
5007         * except.c (create_rethrow_ref): Don't fool with obstacks.
5008         (add_partial_entry): Likewise.
5009         (call_get_eh_context): Likewise.
5010         (begin_protect_partials): Likewise.
5011         (protect_with_terminate): Likewise.
5012         * explow.c
5013         (plus_constant_wide): Likewise.
5014         * expr.c (init_expr_once):
5015         Likewise.
5016         (emit_block_move): Likewise.
5017         (clear_storage): Likewise.
5018         (expand_expr): Likewise.
5019         * flow.c (function_obstack): Remove.
5020         (flow_obstack): New variable.
5021         (flow_firstobj): Likewise.
5022         (create_base_block): Use the flow_obstack.
5023         (split_block): Likewise.
5024         (split_edge): Likewise.
5025         (calculate_global_regs_live): Likewise.
5026         (allocate_bb_life_data): Make it static.  Likewiwse.
5027         (init_flow): New function.
5028         (size_int_type_wide): Remove ggc_p conditionals.
5029         * function.c
5030         (push_function_context_to): Don't call save_tree_status.
5031         (pop_function_context_from): Or restore_tree_status.
5032         (assign_stack_local_1): Don't call push_obstacks.
5033         (find_fixup_replacement): Use xmalloc.
5034         (fixup_var_refs_insns): Free the storage.
5035         (insns_for_mem_walk): Don't mess with obstacks.
5036         (instantiate_decls): Likewise.
5037         (trampoline_address): Likewise.
5038         (expand_function_end): Likewise.
5039         * function.h (sturct function):
5040         Remove obstack-related variables.
5041         (save_tree_status): Don't declare.
5042         (restore_tree_status): Likewise.
5043         * gcse.c (compute_can_copy):
5044         Don't call oballoc/obfree.
5045         * genattrtab.c (operate_exp): Remove
5046         ggc_p conditionals.
5047         (simplify_cond): Likewise.
5048         (simplify_test_exp): Don't mess with obstacks.
5049         (optimize_attrs): Likewise.
5050         * gengenrtl.c (gendef): Don't include
5051         ggc_p conditionals.
5052         * ggc-callbacks.c (ggc_p): Remove.
5053         * ggc-none.c (ggc_p): Remove.
5054         * ggc.h (ggc_p): Don't declare.
5055         * integrate.c (save_for_inline): Don't mess with obstacks.
5056         (integrate_decl_tree): Likewise.
5057         (output_inline_function): Likewise.
5058         * lists.c
5059         (init_EXPR_INSN_LIST_cache): Likewise.
5060         * loop.c (temp_obstack):
5061         Remove.
5062         (rtl_obstack): Likewise.
5063         (init_loop): Don't mess with obstacks.
5064         (reg_address_cost): Free BIVs and GIVs.
5065         (check_insns_for_bivs): Use xmalloc, not oballoc.
5066         (find_mem_givs): Likewise.
5067         (record_biv): Likewise.
5068         (general_induction_var): Likewise.
5069         (product_cheap_p): Likewse.
5070         * optabs.c (init_one_libfunc): Remove
5071         ggc_p conditional.
5072         * print-tree.c (debug_tree): Don't use
5073         oballoc/obfree.
5074         (print_node): Likewise.
5075         * profile.c (output_func_start_profiler):
5076         Remove call to temporary_allocation.
5077         * reload1.c
5078         (eliminate_regs_in_insn): Don't mess with obstacks.
5079         * resource.c
5080         (mark_target_live_regs): Use xmalloc.
5081         (free_resource_info): Free the memory.
5082         * rtl.c (rtl_obstack):
5083         Remove.
5084         (rtvec_alloc): Don't mess with obstacks.
5085         (rtx_alloc): Likewise.
5086         (rtx_free): Remove.
5087         (copy_rtx): Don't handle `b' cases.
5088         (read_rtx): Use a local rtl_obstack.
5089         * rtl.h (oballoc): Remove.
5090         (obfree): Likewise.
5091         (pop_obstacks): Likewise.
5092         (push_obstacks): Likewise.
5093         (allocate_bb_life_data): Likewise.
5094         (allocate_reg_life_data): Likewise.
5095         (rtx_free): Likewise.
5096         * sdbout.c (sdbout_queue_anonymous_type):
5097         Use tree_cons, not saveable_tree_cons.
5098         * simplify-rtx.c
5099         (cselib_init): Don't mess with obstacks.
5100         * stmt.c
5101         (mark_block_nesting): Mark the label_chain.
5102         (epxand_label): Use ggc_alloc, not oballoc.
5103         (clear_last_expr): Don't mess with obstacks.
5104         (expand_decl_cleanup): Likewise.
5105         (expand_dcc_cleanup): Likewise.
5106         (expand_dhc_cleanup): Likewise.
5107         (expand_anon_union_decl): Likewise.
5108         (add_case_node): Use xmalloc, not oballoc.
5109         (free_case_nodes): New function.
5110         (expand_end_case): Call it.
5111         * stor-layout.c (layout_type): Don't
5112         mess with obstacks.
5113         (layout_type): Likewise.
5114         * toplev.c (wrapup_global_declarations):
5115         Likewise.
5116         (compile_file): Remove ggc_p conditionals.
5117         (rest_of_compilation): Call init_flow.  Remove ggc_p conditionals.
5118         (decode_f_option): Remove ggc_p conditionals.
5119         * tree.c
5120         (function_maybepermanent_obstack): Remove.
5121         (maybepermanent_obstack): Likewise.
5122         (function_obstack): Likewise.
5123         (tmeporary_obstack): Likewise.
5124         (momentary_obstack): Likewise.
5125         (temp_decl_obstack): Likewise.
5126         (saveable_obstack): Likewise.
5127         (rtl_obstack): Likewise.
5128         (current_obstack): Likewise.
5129         (expression_obstack): Likewise.
5130         (struct obstack_stack): Likewise.
5131         (obstack_stack): Likewise.
5132         (obstack_stack_obstack): Likewise.
5133         (maybepermanent_firstobj): Likewise.
5134         (temporary_firstobj): Likewise.
5135         (momentary_firstobj): Likewise.
5136         (temp_decl_firstobj): Likewise.
5137         (momentary_function_firstobj): Likewise.
5138         (all_types_permanent): Likewise.
5139         (struct momentary_level): Likewise.
5140         (momentary_stack): Likewise.
5141         (init_obstacks): Remove initialization of removed obstacks.
5142         (save_tree_status): Remove.
5143         (restore_tree_status): Likewise.
5144         (temporary_allocation): Liekwise.
5145         (end_temporary_allocation): Liekwise.
5146         (resume_temporary_allocation): Likewise.
5147         (saveable_allocation): Likewise.
5148         (push_obstacks): Likewise.
5149         (push_obstacks_nochange): Likewise.
5150         (pop_obstacks): Likewise.
5151         (allocation_temporary_p): Likewise.
5152         (permanent_allocation): Likewise.
5153         (preserve_data): Likewise.
5154         (preserve_initializer): Likewise.
5155         (rtl_in_current_obstack): Likewise.
5156         (rtl_in_saveable_obstack): Likewise.
5157         (oballoc): Likewise.
5158         (obfree): Likewise.
5159         (savealloc): Likewise.
5160         (expralloc): Likewise.
5161         (print_obstack_name): Likewise.
5162         (debug_obstack): Likewise.
5163         (object_permanent_p): Likewise.
5164         (push_momentary): Likewise.
5165         (perserve_momentary): Likewise.
5166         (clear_momentary): Likewise.
5167         (pop_momentary): Likewise.
5168         (pop_momentary_nofree): Likewise.
5169         (suspend_momentary): Likewise.
5170         (resume_momentary): Likewise.
5171         (make_node): Don't set TREE_PERMANENT.
5172         (copy_node): Remove ggc_p conditionals.  Don't set TYPE_OBSTACK.
5173         Don't set TREE_PERMANENT.
5174         (get_identifier): Remove ggc_p conditionals.
5175         (build_string): Likewise.
5176         (make_tree_vec): Likewise.
5177         (build_decl_list): Remove.
5178         (build_expr_list): Likewise.
5179         (tree_cons): Remove ggc_p conditionals.
5180         (decl_tree_cons): Remove.
5181         (expr_tree_cons): Likewise.
5182         (perm_tree_cons): Likewise.
5183         (temp_tree_cons): Likewise.
5184         (saveable_tree_cons): Likewise.
5185         (build1): Remove ggc_p conditionals.
5186         (build_parse_node): Likewise.
5187         (build_type_attribute_variant): Don't mess with obstacks.
5188         (build_type_copy): Likewise.
5189         (type_hash_canon): Likewise.
5190         (build_pointer_type): Likewise.
5191         (build_reference_type): Likewise.
5192         (build_index_type): Likewise.
5193         (build_range_type): Likewise.
5194         (dump_tree_statistics): Don't print obstack information.
5195         * tree.h
5196         (struct tree_common): Remove permanent_flag.
5197         (TREE_PERMANENT): Remove.
5198         (TREE_SET_PERMANENT): Likewise.
5199         (TYPE_OBSTACK): Likewise.
5200         (struct tree_type): Remove obstack.
5201         (oballoc): Remove.
5202         (savealloc): Likewise.
5203         (build_decl_list): Likewise.
5204         (build_expr_list): Likewise.
5205         (perm_tree_cons): Likewise.
5206         (temp_tree_cons): Likewise.
5207         (saveable_tree_cons): Likewise.
5208         (decl_tree_cons): Likewise.
5209         (expr_tree_cons): Likewise.
5210         (suspend_momentary): Likewise.
5211         (allocation_temporary_p): Likewise.
5212         (resume_momentary): Likewise.
5213         (push_obstacks_nochange): Likewise.
5214         (permanent_allocation): Likewise.
5215         (push_momentary): Likewise.
5216         (clear_momentary): Likewise.
5217         (pop_momentary): Likewise.
5218         (end_temporary_allocation): Likewise.
5219         (pop_obstacks): Likewise.
5220         (push_obstacks): Likewise.
5221         (pop_momentary_nofree): LIkewise.
5222         (preserve_momentary): Likewise.
5223         (saveable_allocation): Likewise.
5224         (temporary_allocation): Likewise.
5225         (resume_temporary_allocation): Likewise.
5226         (perserve_initializer): Likewise.
5227         (debug_obstack): Likewise.
5228         (rtl_in_current_obstack): Likewise.
5229         (rtl_in_saveable_obstack): Likewise.
5230         (obfree): Likewise.
5231         * varasm.c (current_obstack): Remove.
5232         (saveable_obstack): Remove.
5233         (rtl_obstack): Remove.
5234         (immed_double_const): Don't mess with obstacks.
5235         (immed_real_cons): Likewise.
5236         (output_constant_def): Likewise.
5237         (init_varasm_status): Use xcalloc.
5238         (mark_pool_constant): Mark the pool constant itself.
5239         (free_varasm_status): Free memory.
5240         (decode_rtx_const): Call bzero directly, rather than expanding it
5241         inline.
5242         (record_rtx_const): Don't mess with obstacks.
5243         (force_const_mem): Likewise.
5244         * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
5245         conditionals.
5246         (aof_pic_entry): Likewise.
5247         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
5248         * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
5249         * config/pa/pa.c (saveable_obstack): Remove.
5250         (rtl_obstack): Likewise.
5251         (current_obstack): Likewise.
5252         (output_call): Don't mess with obstacks.
5253         (hppa_encode_label): Remove ggc_p conditionals.
5254         * config/romp/romp.c (get_symref): Don't mess with obstacks.
5255         * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
5256         (rs6000_encode_section_info): Likewise.
5257         * config/sh/sh.c (get_fpscr_rtx): Likewise.
5258
5259 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka  <jh@suse.cz>
5260
5261         * i386.md (adddi3, subdi3 splitters): Update for new pattern.
5262         (addsi3_cc, addqi3_cc, subsi3_cc): Remove
5263         (addsi3_carry): Canonicalize.
5264         (addqi_5): Remove '*'.
5265         (sbb pattern): Canonicalize.
5266
5267         * i386.md (cmp to inc/add peep2): New.
5268
5269 2000-10-12  Richard Earnshaw  <rearnsha@arm.com>
5270
5271         * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
5272         the exit block.
5273
5274 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5275
5276         * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
5277         * README.TRAD, TESTS.FLUNK: Remove.
5278
5279 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5280
5281         * c-common.c (decl_attributes): Don't allow strftime formats with
5282         first_arg_num nonzero.
5283         (check_format_info): Set wanted_type and wanted_type_name to zero
5284         before they are possibly assigned and used.
5285
5286 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5287
5288         * c-common.c (scanf_flag_specs): Add flags ' and I.
5289         (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
5290         or the ^ and # flags together.
5291         (scan_char_table): Handle the ' and I flags.
5292         (format_types): Add ' and I flags for scanf.
5293
5294 2000-10-12  Joseph S. Myers  <jsm28@cam.ac.uk>
5295
5296         * c-common.c (print_char_table): Use the unpromoted type for
5297         lengths "h" and "hh" with conversions dioxXu.
5298         (check_format_types): Apply the default argument promotions where
5299         the wanted type is not a pointer target.
5300
5301 2000-10-11  Michael Meeks  <mmeeks@gnu.org>
5302             Joseph S. Myers  <jsm28@cam.ac.uk>
5303
5304         * c-typeck.c (check_modify_expr): New function.
5305         (build_modify_expr): Call it if warn_sequence_point.
5306         * c-decl.c (warn_sequence_point): New variable.
5307         (c_decode_option): Handle -Wsequence-point and
5308         -Wno-sequence-point.  Enable -Wsequence-point as part of -Wall.
5309         * c-tree.h (warn_sequence_point): Declare.
5310         * invoke.texi (-Wsequence-point): Document.
5311         * toplev.c (documented_lang_options): Add -Wsequence-point and
5312         -Wno-sequence-point.
5313         Original work by Michael Meeks, 16 Jun 1998.
5314
5315 Wed Oct 11 06:15:41 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5316
5317         * tree.c (get_narrower): Don't look at precision of field if
5318         not laid out yet.
5319
5320 Tue Oct 10 23:14:33 2000  Denis Chertykov  <denisc@overta.ru>
5321
5322         * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
5323         declaration for data with "progmem" attribute.
5324
5325 2000-10-09  Marek Michalkiewicz  <marekm@linux.org.pl>
5326
5327         * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
5328         Correct insn length if shift count is a memory operand.
5329         * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
5330         (*iorhi3_clobber): Change lo8 to hi8.
5331         (zero_extendhisi2): Change %B0 to %A1.
5332         (ashlhi3, ashrhi3): Correct insn length.
5333         (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
5334         from "clobber" to "set_n" in some alternatives.
5335
5336 2000-10-10  Jakub Jelinek  <jakub@redhat.com>
5337
5338         * reload1.c (calculate_needs_all_insns): If deleting an instruction,
5339         remove its insn_chain structure as well.
5340
5341 2000-10-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
5342
5343         * dbxout.c (dbxout_source_line): Remove extra tab.
5344
5345 2000-10-09  Hans-Peter Nilsson  <hp@bitrange.com>
5346
5347         * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
5348
5349 2000-10-09  Richard Henderson  <rth@cygnus.com>
5350
5351         * Makefile.in (LANG_LIB2FUNCS): Remove.
5352         (LIB2FUNCS): Remove _pure.
5353         (LIB2ADD): Remove LANG_LIB2FUNCS.
5354         (stage_a): Don't set LANG_LIB2FUNCS.
5355         * libgcc2.c (__terminate): Mark noreturn.
5356         (__pure_virtual): Remove.
5357         * mklibgcc.in: Remove LIB2ADD .txt processing.
5358
5359 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
5360
5361         * arm.md (push_multi): Revert unintended change.
5362
5363 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
5364
5365         * arm.c: Miscellaneous white space and comment clean-ups.  No
5366         functional change.
5367         * arm.md: Likewise.
5368
5369 2000-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5370
5371         * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
5372         STRING_CST by calling combine_strings.
5373
5374 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
5375
5376         * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
5377         (thumb_output_move_mem_multiple): Support new insn format.
5378         * arm.md (movmem12b): Use SSA compatible format.
5379         (movmem8b): Likewise.
5380
5381 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
5382
5383         * arm.md (predicable): New attribute, default to "no".
5384         (all patterns): Mark as predicable if appropriate.
5385         (conditional execution splits): Split using predication format.
5386         (define_cond_exec): Define.
5387         * arm.c (arm_print_operand): handle insn predicate.
5388
5389 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5390
5391         * README.NS32K: Remove file.
5392
5393 2000-10-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5394
5395         * README-bugs: Remove file.
5396
5397 2000-10-08  Philipp Thomas  <pthomas@suse.de>
5398         * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
5399         for test.
5400         * configure: Rebuilt.
5401
5402 2000-10-08  Philipp Thomas  <pthomas@suse.de>
5403         * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
5404         disable catalog building if no suitable program was found.
5405         Move warning message from here
5406         (AM_GNU_GETTEXT): To here.
5407         * configure: Rebuilt.
5408
5409 2000-10-08  Philipp Thomas  <pthomas@suse.de>
5410         * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
5411         different cache variables.
5412         (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
5413         uses different cache variables.
5414         (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
5415         * configure: Regenerated.
5416
5417 2000-10-08  Richard Henderson  <rth@cygnus.com>
5418
5419         * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
5420         * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
5421         * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
5422         Use SHLIB_EXT.
5423
5424         * config/t-linux (SHLIB_EXT): New.
5425         (SHLIB_LINK): Use the entire build command, with substitutions.
5426         (SHLIB_LIBS): Remove.
5427         * config/alpha/t-osf4: Likewise.
5428         * config/mips/t-iris6: Likewise.
5429         * config/sparc/t-sol2: Likewise, but move shlib stuff...
5430         * config/sparc/t-slibgcc-sld: ...here.
5431         * config/sparc/t-slibgcc: New file.
5432
5433 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
5434
5435         * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
5436         * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
5437         CTI_UINTMAX_TYPE.
5438         (intmax_type_node, uintmax_type_node): Define.
5439         * c-common.c (decl_attributes): If pedantic, warn if `mode'
5440         attributes create a type wider than intmax_t.
5441         (T_IM, T_UIM): Define properly.
5442         * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
5443         defined.
5444         (init_decl_processing): Initialize intmax_type_node and
5445         uintmax_type_node.
5446         * c-lex.c (lex_number): When pedantic and warning for integer
5447         constants that are too large, in C99 mode warn for those that have
5448         a type wider than long long.
5449
5450 2000-10-08  Joseph S. Myers  <jsm28@cam.ac.uk>
5451
5452         * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
5453         FMT_FLAG_FANCY_PERCENT_OK): Define.
5454         (format_char_info): Add flag "4" to comment.
5455         (format_flag_spec, format_flag_pair): New structures.
5456         (format_kind_info): Add additional fields to control format
5457         checking.
5458         (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
5459         scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
5460         arrays.
5461         (time_char_table): Use "4" flag to handle %Ey.
5462         (format_types): Add entries for new fields.
5463         (get_flag_spec): New function.
5464         (check_format_info): Increase size of flag_chars[] to 256.
5465         Control format checking using the new fields of a format_kind_info
5466         and the new tables; remove all conditionals on printf_format_type,
5467         scanf_format_type or strftime_format_type.  Handle all details of
5468         bad combinations of flags (including width, precision and strftime
5469         modifiers) through data rather than ad hoc code.  Handle all
5470         details of standard versions in which flags appeared through
5471         data.  Use the "4" flag.
5472
5473 2000-10-07  Will Cohen  <wcohen@redhat.com>, Kazu Hirata  <kazu@hxi.com>
5474
5475         * config/h8300/h8300.md: Remove the memory alternative and correct
5476         the insn lengths in the templates for sign extention and zero
5477         extention.
5478
5479 2000-10-07  Richard Henderson  <rth@cygnus.com>
5480
5481         * calls.c (expand_call): Disallow sibcalls to noreturn functions.
5482         * flow.c (make_edges): Revert last change.
5483
5484         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
5485         TREE_THIS_VOLATILE.
5486         * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
5487
5488 2000-10-06  David O'Brien  <obrien@dragon.nuxi.com>
5489
5490         * config/alpha/elf.h: Standardize the formatting.
5491
5492 2000-10-06  David O'Brien  <obrien@FreeBSD.org>
5493
5494         * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
5495         #undef.
5496
5497 2000-10-06  Richard Henderson  <rth@cygnus.com>
5498
5499         * function.c (diddle_return_value): Examine
5500         current_function_return_rtx instead of the DECL_RESULT.
5501         (expand_function_end): Handle reloading DECL_RESULT from memory
5502         into a hard register.  Query promote_mode for sign of mismatched
5503         modes.
5504
5505 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
5506
5507         * haifa-sched.c (schedule_insns): Fix typo in freeing
5508         forward_dependency_cache.
5509
5510 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
5511
5512         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
5513         `TARGET_SH2' as a condition.
5514
5515 2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
5516
5517         * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
5518         forward_dependency_cache): New variables.
5519         (add_dependence, remove_dependence): Use anti_dependency_cache and
5520         output_dependency_cache.
5521         (compute_block_forward_dependences): Use forward_dependency_cache.
5522         (schedule_insns): Allocate and free memory for anti/output/forward
5523         dependencies caches.
5524
5525 2000-10-06  Alexandre Oliva  <aoliva@redhat.com>
5526
5527         * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
5528         `! TARGET_SH1'.  Reindent.
5529
5530 2000-10-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5531
5532         * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
5533         Move functions from here ...
5534
5535         * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
5536         ... to here.
5537         (c_expand_builtin): New function.
5538         (init_function_format_info): Don't set `check_function_format_ptr'.
5539         (c_common_nodes_and_builtins): Set built_in_class type for
5540         printf/__builtin_printf to BUILT_IN_FRONTEND.
5541         (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
5542
5543         * c-common.h (build_function_call): Declare.
5544
5545         * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
5546         to `lang_expand_expr' rather than `expand_builtin'.
5547
5548         * tree.c (check_function_format_ptr): Delete.
5549
5550         * tree.h (check_function_format_ptr): Likewise.
5551
5552 2000-10-06  Hans-Peter Nilsson  <hp@bitrange.com>
5553
5554         * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
5555         DW_OP_bregx when cfa->reg > 31.
5556
5557         * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
5558         break.
5559
5560 2000-10-05  Richard Henderson  <rth@cygnus.com>
5561
5562         * c-decl.c (warn_missing_noreturn): Remove.
5563         (c_expand_body): Don't set or check can_reach_end.
5564         * c-tree.h (warn_missing_noreturn): Move ...
5565         * flags.h: ... here.
5566         (can_reach_end): Remove.
5567         * flow.c (check_function_return_warnings): New.
5568         (make_edges): No edge to exit for noreturn sibcalls.
5569         * function.c (expand_function_end): Save the return value
5570         clobber instruction.
5571         (mark_function_status): Mark it.
5572         * function.h (struct function): Add x_clobber_return_insn.
5573         * jump.c (can_reach_end): Remove.
5574         (calculate_can_reach_end): Remove.
5575         (jump_optimize_1): Don't call it.
5576         * output.h (check_function_return_warnings): Declare.
5577         * toplev.c (warn_missing_noreturn): Move from c-decl.c
5578         (rest_of_compilation): Call check_function_return_warnings.
5579
5580 2000-10-05  Richard Henderson  <rth@cygnus.com>
5581
5582         * Makefile.in (NM_FOR_TARGET): New.
5583         (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
5584         (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
5585         * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map.  Depend the
5586         shared library build on that and EXTRA_MULTILIB_PARTS.
5587         * mkmap-flat.awk: New file.
5588         * mkmap-symver.awk: New file.
5589         * libgcc-std.ver: New file.
5590         * config/libgcc-glibc.ver: New file.
5591         * config/ia64/libgcc-ia64.ver: New file.
5592         * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
5593         (SHLIB_LINK): Add --version-script.
5594         * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
5595         * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
5596         * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
5597         (SHLIB_LINK): Add -M.
5598
5599 2000-10-05  Richard Henderson  <rth@cygnus.com>
5600
5601         * Makefile.in (LIB2FUNCS): Add _clz.
5602         * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
5603         (__clz_tab): Put in its own unit, non-static.
5604         * libgcc2.h: Always include longlong.h.
5605
5606         * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
5607         a zero instead of -1.
5608         (count_trailing_zeros): Likewise.
5609
5610 2000-10-05  Richard Henderson  <rth@cygnus.com>
5611
5612         * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
5613         when second op1 is const0_rtx.  Validate op0 as a register.
5614         * config/alpha/alpha.md (setcc_internal): Don't allow constants
5615         in the first argument of the compare.
5616         (setcc_swapped_internal): Likewise.
5617         (setne_internal): Likewise.
5618
5619 2000-10-05  Geoff Keating  <geoffk@cygnus.com>
5620
5621         * tree.c (tree_size): New function split out of copy_node.
5622         (make_node): Remove obstack handling.  Use tree_size.
5623         (copy_node): Use tree_size.
5624         * tree.h: Prototype tree_size.
5625
5626 2000-10-05  Richard Henderson  <rth@cygnus.com>
5627
5628         * diagnostic.c (output_format): Add missing break.
5629
5630 2000-10-05  Jim Wilson  <wilson@cygnus.com>
5631
5632         * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
5633         SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
5634         sequence insn to INSN, and delete last sequence insn.
5635
5636 2000-10-05  Phil Edwards  <pme@gcc.gnu.org>
5637
5638         * gcc.c (main): Include generated configargs.h header
5639         and use arguments in '-v' output.
5640
5641 Thu Oct  5 16:16:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5642
5643         * gcc.c: Move data on prefixes forward in file and reorganize.
5644         (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
5645         Always define, but make null if no value.
5646         (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
5647         and "md_startfile_prefix_1".
5648         (main): Check whether md_exec_prefix and the others are the
5649         null string rather than whether the macro is defined.
5650
5651 Thu Oct  5 19:04:18 2000  J"orn Rennecke <amylaar@redhat.co.uk>
5652
5653         * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
5654         from PSImode to SImode.
5655
5656 2000-10-05  Jakub Jelinek  <jakub@redhat.com>
5657
5658         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
5659         from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
5660         * dwarf2out.c (add_const_value_attribute): Divide by 4, not
5661         sizeof(long).
5662
5663 Thu Oct  5 09:31:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5664
5665         * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
5666         negation in proper type.a
5667
5668 2000-10-04  Richard Henderson  <rth@cygnus.com>
5669
5670         * configure.in (enable-shared): New.
5671         * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
5672         (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
5673         * mklibgcc.in: Use them to link shared a libgcc.
5674         * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
5675         * config/alpha/t-ieee (SHLIB_MULTILIB): New.
5676         * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
5677         * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
5678
5679         * configure.in (alpha-osf*): Use t-osf and x-osf.
5680         * config/alpha/t-osf: New file.
5681         * config/alpha/t-osf4: New file.
5682         * config/alpha/x-osf: New file.
5683         * config/alpha/x-alpha: Remove file.
5684
5685 2000-10-04  Will Cohen  <wcohen@redhat.com>
5686
5687         * c-typeck.c (process_init_element): Added warning for zero-length
5688         array.
5689
5690         * extend.texi (Zero Length): State that static initializers for
5691         zero-length arrays are not allowed.
5692
5693 Mon Oct  2 14:50:14 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5694
5695         * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
5696         to come last.
5697
5698 2000-10-03  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5699
5700         * config/float-c4x.h: New.
5701         * configure.in (c4x-*): Set float_format to c4x.
5702         * configure: Regenerate.
5703
5704 2000-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5705
5706         * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
5707         compilation for solaris versions 2.7 and greater.
5708
5709 2000-10-02  Marc Espie <espie@openbsd.org>
5710
5711         * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
5712         instead of redefining from scratch.
5713
5714 2000-10-02  David O'Brien  <obrien@dragon.nuxi.com>
5715
5716         * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
5717
5718 2000-10-01  Mark Mitchell  <mark@codesourcery.com>
5719
5720         * config/ns32k/genix.h: Remove.
5721         * config/ns32k/x-genix: Likewise.
5722         * config/ns32k/xm-genix.h: Likewise.
5723         * config/fx80: Remove all filee in directory.
5724         * config/pyr: Likewise.
5725         * config/tahoe: Likewise.
5726         * config/gmicro: Likewise.
5727         * config/spur: Likewise.
5728         * configure.in: Remove configury bits for above targets.
5729         * configure: Regenerated.
5730
5731         * configure.in: Don't configure chill by default.
5732         * configure: Regenerated.
5733
5734         * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
5735         (lang_mark_false_label_stack): Remove.
5736         * c-lex.c (init_c_lex): Add file_info_tree as GC root.  Allocate
5737         <top level> string in GC area.
5738         (mark_splay_tree_node): New function.
5739         (mark_splay_tree): Likewise.
5740         * except.c (mark_eh_status): Only call lang_mark_false_label_stack
5741         if it exists.
5742         * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
5743         * ggc-common.c (lang_mark_false_label_stack): Change type.
5744         * ggc.h (ggc_alloc_string): Add comment.
5745         (ggc_strdup): New function.
5746
5747 Sat Sep 23 19:10:20 2000  Denis Chertykov  <denisc@overta.ru>
5748
5749         * config/avr/avr.h (BRANCH_COST): Define as 0.
5750
5751         * config/pdp11/pdp11.c: #include "tree.h" added.
5752
5753 2000-09-30  Marek Michalkiewicz  <marekm@linux.org.pl>
5754
5755         * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
5756         ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
5757         with known shift count.
5758         * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
5759         New alternative for shift count 2 with no scratch register.
5760         (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
5761         "set_n" for shift counts 1 and 2.
5762
5763 2000-09-30  Geoff Keating  <geoffk@cygnus.com>
5764
5765         * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE.  Calculate
5766         the mask value from the individual SET operations.
5767         (return_internal_si): Move the USE after the RETURN.
5768         (return_internal_di): Likewise.
5769         (return_and_restore_fpregs_si): Likewise.
5770         (return_and_restore_fpregs_di): Likewise.
5771         (return_eh_si): Likewise.
5772         (return_eh_di): Likewise.
5773         * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
5774         or check, the USE.
5775         (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
5776         Don't generate a PARALLEL around a single operation movsi_to_cr.
5777         Generate the RETURN first in any PARALLELs.
5778
5779         * rtlanal.c (single_set_1): Use fatal_insn to display the
5780         invalid insn.  Check for more cases when a USE or CLOBBER occurs
5781         before a SET.
5782         * Makefile.in: Update dependencies for rtlanal.o.
5783
5784 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
5785
5786         * i386.c: Move include of "config.h" to before that of <setjmp.h>.
5787
5788 2000-09-30  Joseph S. Myers  <jsm28@cam.ac.uk>
5789
5790         * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
5791         Consistently use @email for formatting email addresses.
5792
5793 2000-09-29  Richard Henderson  <rth@cygnus.com>
5794
5795         * cse.c (notreg_cost): New argument outer.
5796         (COST): Pass in SET to notreg_cost
5797         (COST_IN): New.
5798         (fold_rtx): Use COST_IN.  Prefer constants when costs
5799         are the same.
5800
5801 2000-09-29  David Edelsohn  <edelsohn@gnu.org>
5802
5803         * fixinc/inclhack.def (broken_cabs): Generalize regex.
5804         * fixinc/fixincl.x: Regenerate.
5805
5806 2000-09-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5807
5808         * loop.c (check_final_value): A GIV is not replaceable if used
5809         before set.
5810
5811 Fri Sep 29 10:04:12 2000  Jeffrey A Law  (law@cygnus.com)
5812
5813         * version.c: Bump to gcc-2.97.
5814
5815 Frs Sep 29 13:37:59 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5816
5817         * final.c (final_scan_insn): Remove extra extract_insn call;
5818         Use caching for constrain_operands.
5819         (cleanup_subreg_operands): Use caching for extract_insn.
5820         * recog.c (constrain_operands_cached): New.
5821         * recog.h (constrain_operands_cached): Declare.
5822         * i386.c (ix86_attr_length_immediate_default,
5823         ix86_attr_length_address_default, ix86_agi_dependant): Cache
5824         extract_insn call.
5825
5826         * recog.c (asm_noperands): Tweak.
5827         (extract_insn): Do not call asm_noperads for non-asm instructions.
5828
5829 Fri Sep 29 13:20:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5830
5831         * recog.c (recog_memoized): Rename to recog_memoized_1.
5832         * recog.h (recog_memoized): Rename to recog_memoized_1.
5833         (recog_memoized): New macro.
5834         * rtl.h (single_set): Rename to single_set_1
5835         (single_set): New macro.
5836         * rtlanal.c (single_set): Rename to single_set_1;  expect clobbers
5837         to be last.
5838
5839         * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
5840         Do not use match_dup of input operands at outputs.
5841         Use register_operand for memory expression.
5842         (rep_movsi): Put use last, canonicalize.
5843         Use register_operand for memory expression.
5844         (rep_movqi): Put use last.
5845         Use register_operand for memory expression.
5846         (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
5847         of input operands at outputs.  Use register_operand for memory
5848         expression.
5849         (rep_stossi): Put use last; canonicalize; fix match_dup in
5850         the address expression
5851         (rep_stosqi): Likewise.
5852         (memcmp expander): Update calls.
5853         (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
5854         the clobbers.
5855
5856         * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
5857         VOIDmode.
5858         (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
5859
5860 2000-09-28  David O'Brien  <obrien@FreeBSD.org>
5861
5862         * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
5863         Contains the old contents of config/i386/freebsd.h
5864         * config/i386/freebsd.h: Now the ELF rather than a.out config file.
5865         Contains the old contents of config/i386/freebsd-elf.h
5866         * config/i386/freebsd-elf.h: Retire this file -- contents moved to
5867         config/i386/freebsd.h.
5868         * configure.in: Adjust for above changes.
5869         * po/POTFILES.in: Likewise.
5870         * po/en_GB.po: Likewise.
5871         * po/gcc.pot: Likewise.
5872         * configure: Rebuilt.
5873
5874 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5875
5876         * doloop.c (doloop_modify): Prevent delete_insn() from
5877         deleting too much.  Prefer loop->top over loop->start as
5878         target for the new JUMP insn.
5879         (doloop_valid_p): Ignore loop with exit_count != 0.
5880
5881 2000-09-28  Philipp Thomas  <pthomas@suse.de>
5882
5883         * invoke.texi (i386 Options): Add athlon to table of possible
5884         choices for -mcpu=.
5885
5886 2000-09-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5887
5888         * diagnostic.h (output_clear_message_text): New function.
5889         (output_message_text): New macro.
5890
5891         * diagnostic.c (clear_text_info): Rename to
5892         output_clear_message_text.
5893         (output_clear): Adjust.
5894         (output_finish): Rename to output_finalize_message.  Tweek.
5895         (output_to_stream): Adjust.
5896
5897 2000-09-28  Neil Booth  <neilb@earthling.net>
5898
5899         * cpperror.c (_cpp_begin_message):  Do the test for suppression
5900         of warnings and pedantic warnings before the "is a warning an
5901         error" tests.
5902         * cppinit.c (cpp_handle_option): Remove surplus \n.
5903         * cpplex.c (ON_REST_ARG): Delete.
5904         (skip_block_comment): Initialise prevc.
5905         (parse_args): Improve error messages.
5906         (maybe_paste_with_next): Use CONTEXT_VARARGS rather
5907         than ON_REST_ARG.
5908         * cpplib.c (cpp_push_buffer): Fix grammar in message.
5909         * cppmain.c (main): Set callbacks for #ident and #pragma
5910         only if no_output option is false.
5911         (do_pragma_implementation): Only call the #pragma handler
5912         if it is set in the cpp_reader structure.
5913
5914 Wed Sep 27 14:00:07 2000  Donald Lindsay  <dlindsay@cygnus.com>
5915
5916         * integrate.c (copy_insn_list): if an ignored return value
5917         is being clobbered, skip cloning that into the inline copy.
5918
5919 2000-09-27  Joseph S. Myers  <jsm28@cam.ac.uk>
5920
5921         * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
5922         use @uref for formatting URLs.
5923
5924 2000-09-27  Mark Elbrecht  <snowball3@bigfoot.com>
5925
5926         * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
5927         name and prefix.
5928
5929 Tue 26-Sep-2000 18:25:38 BST  Neil Booth  <neilb@earthling.net>
5930
5931         * gcc.c (cpp_options): Add spec for -ftabstop=.
5932         (invoke_as): New spec that handles invoking as.
5933         Update specs to handle -save-temps and -traditional.
5934         * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
5935         Use invoke_as.
5936         * cp/lang-specs.h, objc/lang-specs.h: Update to use
5937         invoke_as, and handle -save-temps and -traditional (if
5938         appropriate).
5939
5940 2000-09-26  Jakub Jelinek  <jakub@redhat.com>
5941
5942         * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
5943         op0 is a SUBREG.
5944         (function_arg_slotno): Accept TImode/CTImode.
5945         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
5946         to UNITS_PER_WORD.
5947
5948 2000-09-26  Michael Hayes  <mhayes@cygnus.com>
5949
5950         * flow.c (flow_loop_pre_header_scan): Punt if loop enters
5951         from entry block.
5952
5953 2000-09-25  Jim Wilson  <wilson@cygnus.com>
5954
5955         * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
5956         (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
5957         (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
5958         (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
5959
5960 Tue 26-Sep-2000 00:16:22 BST  Neil Booth  <neilb@earthling.net>
5961
5962         * cpplex.c (parse_args): Don't set VOID_REST flag.
5963         (CONTEXT_VARARGS): New flag.
5964         (maybe_paste_with_next): Set context earlier in loop.  Use
5965         it.  Do varargs test with CONTEXT_VARARGS flag.
5966         (push_arg_context): Set CONTEXT_VARARGS flag if we're
5967         pushing an argument context for a varargs argument.
5968         * cpplib.h (VOID_REST): Delete.
5969         * gcc.dg/cpp/vararg1.c: Add test case.
5970
5971 2000-09-25  Branko Cibej  <branko.cibej@hermes.si>
5972
5973         * flags.h:  Declare warning flag warn_system_headers.
5974         * toplev.c:  Define it.
5975         (W_options): Add option -Wsystem-headers.
5976         * diagnostic.c (count_error): Test warn_system_headers.
5977         * invoke.texi:  Add description for -Wsystem-headers.
5978         * cpplib.h (cpp_options): New member warn_system_headers.
5979         * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
5980         CPP_IN_SYSTEM_HEADER.
5981         * cpplib.c (do_import, do_pragma_once): Likewise.
5982         * cpperror.c (_cpp_begin_message): Test warn_system_headers
5983         and CPP_IN_SYSTEM_HEADER.
5984         * cppinit.c (handle_option): Recognize -Wsystem_headers.
5985         (print_help): Describe -Wsystem_headers.
5986         * cpplex.c (lex_line): Reorganize condition so that warnings
5987         about C++ comments in system headers can be enabled. Remove
5988         label do_line_comment.
5989
5990 Mon 25-Sep-2000 23:38:27 BST  Neil Booth  <neilb@earthling.net>
5991
5992         * cpplex.c (save_comment): Only store the initial '/'
5993         now.
5994         (lex_token): Combine handling of the two comment types.
5995         Pass everything but the initial '/' to save_comment.
5996
5997 Mon 25-Sep-2000 23:31:45 BST  Neil Booth  <neilb@earthling.net>
5998
5999         * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
6000         _cpp_can_paste): New library-internal prototypes.
6001         * cpplex.c (dump_param_spelling, output_line_command,
6002         output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
6003         cpp_printf, cpp_output_list): Move to cppoutput.c.
6004         (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
6005         * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
6006         cppoutput.c.
6007         * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
6008         dump_param_spelling, output_line_command, cpp_scan_buffer,
6009         cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
6010         from elsewhere.
6011         * Makefile.in: Add cppoutput.c.
6012         * po/POTFILES.in: Add cppoutput.c.
6013
6014 2000-09-25  Richard Henderson  <rth@cygnus.com>
6015
6016         * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
6017         * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
6018         split until after reload.
6019         (rotlsi3, rotldi3): New.
6020
6021 2000-09-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6022
6023         * diagnostic.c (output_last_position): Define.
6024         (set_real_maximum_length): Tweek.
6025         * diagnostic.h (output_last_position): Declare.
6026
6027 2000-09-25  Kazu Hirata  <kazu@hxi.com>
6028
6029         * config/i386/i386.c: Fix formatting.
6030
6031 2000-09-24  Alan Lehotsky  <alehotsky@cygnus.com>
6032
6033         * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
6034         UNITS_PER_WORD is small.
6035
6036 2000-09-25  Joseph S. Myers  <jsm28@cam.ac.uk>
6037
6038         * c-common.c (format_char_info): Add flags2; update comments.
6039         (print_char_table, scan_char_table, time_char_table): Split some
6040         flags out into flags2.
6041         (check_format_info): Use flags2 for those flags, for identifying
6042         the initial character of a scanf scanset, and for identifying
6043         printf formats where the '0' flag is ignored with precision.
6044
6045 2000-09-25  Hans-Peter Nilsson  <hp@axis.com>
6046
6047         Changes below marked "here" add TABs on either or both sides,
6048         covering start of line, up to any operand for all noted .*ASM.*_OP
6049         definitions.  All callers changed.
6050         * tm.texi: Make documented *_ASM.*_OP:s include spacing
6051         (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
6052         BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6053         ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
6054         ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
6055         Fix typos in description for LONG_LONG_TYPE_SIZE and
6056         FINI_SECTION_ASM_OP.
6057         * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
6058         why these defaults don't have leading spacing.
6059         * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
6060         * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6061         UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
6062         * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
6063         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
6064         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
6065         * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
6066         * varasm.c (ASM_STABS_OP): Here.
6067         * xcoffout.h (ASM_STABS_OP): Here.
6068         * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
6069         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
6070         INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
6071         STRING_ASM_OP): Here.
6072         * config/freebsd.h (IDENT_ASM_OP): Here.
6073         * config/linux-aout.h (SET_ASM_OP): Here.
6074         * config/linux.h (SET_ASM_OP): Here.
6075         * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6076         INT_ASM_OP): Here.
6077         * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
6078         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
6079         * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
6080         * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6081         INT_ASM_OP): Here.
6082         * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
6083         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
6084         INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
6085         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6086         FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
6087         * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6088         CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
6089         * config/a29k/udi.h (INT_ASM_OP): Here.
6090         * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
6091         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
6092         SET_ASM_OP): Here.
6093         * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
6094         READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6095         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6096         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
6097         ASM_STABD_OP): Here.
6098         * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
6099         COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
6100         CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6101         BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
6102         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
6103         SIZE_ASM_OP, STRING_ASM_OP): Here.
6104         * config/alpha/vms.h (LINK_SECTION_ASM_OP,
6105         READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
6106         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
6107         * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
6108         (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
6109         * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
6110         Here.
6111         * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6112         BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
6113         * config/arm/coff.h (INT_ASM_OP): Here.
6114         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
6115         * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
6116         * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
6117         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
6118         * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
6119         * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6120         ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
6121         STRING_ASM_OP): Here.  Update documentation copy in comments.
6122         * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
6123         * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
6124         DATA_SECTION_ASM_OP): Here.
6125         * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
6126         Here.
6127         * config/convex/convex.h (TEXT_SECTION_ASM_OP,
6128         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
6129         * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6130         BSS_SECTION_ASM_OP): Here.
6131         * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6132         BSS_SECTION_ASM_OP): Here.
6133         * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6134         Here.
6135         * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
6136         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
6137         * config/h8300/h8300.h (ASM_WORD_OP): Here.
6138         * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6139         BSS_SECTION_ASM_OP): Here.
6140         * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
6141         * config/i386/bsd.h (ASM_BYTE_OP): Here.
6142         * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
6143         * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
6144         * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
6145         Here.
6146         * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
6147         * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
6148         Here.
6149         * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
6150         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6151         * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
6152         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
6153         SET_ASM_OP): Here.
6154         * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
6155         * config/i386/netbsd.h (INT_ASM_OP): Here.
6156         * config/i386/openbsd.h (INT_ASM_OP): Here.
6157         * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
6158         IDENT_ASM_OP): Here.
6159         * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
6160         ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
6161         LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
6162         SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
6163         * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
6164         SHARED_BSS_SECTION_ASM_OP): Here.
6165         * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
6166         * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6167         DATA_SECTION_ASM_OP): Here.
6168         * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6169         CONST_SECTION_ASM_OP): Here.
6170         * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
6171         * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6172         BSS_SECTION_ASM_OP): Here.
6173         * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
6174         * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
6175         * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
6176         BSS_ASM_OP): Here, but use trailing spaces.
6177         * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6178         DATA_SECTION_ASM_OP): Here.
6179         * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
6180         Here.
6181         * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
6182         DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
6183         * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6184         TDESC_SECTION_ASM_OP): Here.
6185         * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
6186         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6187         * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6188         Here.
6189         * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6190         BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
6191         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6192         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
6193         * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
6194         COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
6195         FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6196         SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
6197         * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
6198         * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
6199         * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
6200         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
6201         SET_ASM_OP): Here.
6202         * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
6203         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6204         * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
6205         * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
6206         * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
6207         * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
6208         * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
6209         * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6210         GLOBAL_ASM_OP): Here.
6211         * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
6212         BSS_SECTION_ASM_OP): Here.
6213         * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
6214         * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6215         ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
6216         DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
6217         SKIP_ASM_OP): Here.
6218         * config/m68k/newsgas.h (SET_ASM_OP): Here.
6219         * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
6220         FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
6221         * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
6222         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
6223         SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
6224         but use trailing spaces.
6225         * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
6226         DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
6227         FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
6228         Here.
6229         * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6230         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
6231         * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6232         CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
6233         DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6234         IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
6235         GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
6236         BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
6237         CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
6238         SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
6239         VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6240         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
6241         ASM_BYTE_OP): Here.
6242         * config/m88k/openbsd.h (SET_ASM_OP): Here.
6243         * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6244         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
6245         * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
6246         UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
6247         DTORS_SECTION_ASM_OP): Here.
6248         * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
6249         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6250         * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
6251         BSS_SECTION_ASM_OP): Here.
6252         * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
6253         * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
6254         * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
6255         POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
6256         CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
6257         DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
6258         * config/mips/mips.c (ABICALLS_ASM_OP): Here.
6259         * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
6260         Here.
6261         * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
6262         Here.
6263         * config/mips/osfrose.h (SET_ASM_OP): Here.
6264         * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
6265         * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
6266         * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
6267         * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6268         Here.
6269         * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
6270         * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
6271         * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
6272         * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
6273         * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
6274         * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6275         Here.
6276         * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6277         Here.
6278         * config/rs6000/rs6000.h (SET_ASM_OP): Here.
6279         * config/rs6000/sol2.h (ASM_STABN_OP): Here.
6280         * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
6281         Here.
6282         * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
6283         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
6284         * config/sparc/linux.h (COMMON_ASM_OP): Here.
6285         * config/sparc/linux64.h (COMMON_ASM_OP,
6286         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
6287         * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
6288         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6289         * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
6290         * config/sparc/pbd.h (ASM_INT_OP): Here.
6291         * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
6292         * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6293         DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
6294         * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
6295         UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
6296         * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
6297         UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
6298         UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
6299         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
6300         CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6301         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6302         EH_FRAME_SECTION_ASM_OP): Here.
6303         * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
6304         * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6305         Here.
6306         * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6307         Here.
6308         * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
6309         TCOMMON_ASM_OP): Here.
6310         * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6311         Here.
6312         * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6313         ASM_BYTE_OP): Here.
6314
6315 2000-09-25  Richard Henderson  <rth@cygnus.com>
6316
6317         * expmed.c (store_bit_field): Adjust last change to not consider
6318         any word-sized field naturally aligned.
6319
6320 2000-09-24  Richard Henderson  <rth@cygnus.com>
6321
6322         * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
6323         TFmode unordered compares properly.  Revalidate integer compare
6324         operands.
6325         (alpha_emit_setcc): New.
6326         (alpha_emit_conditional_move): Revalidate integer compare operands.
6327         * config/alpha/alpha-protos.h: Update.
6328         * config/alpha/alpha.md (cmpdi): Allow general operands.
6329         (sne): Use alpha_emit_setcc.
6330         (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
6331         (sunordered, sordered): New.
6332
6333 2000-09-24  Richard Henderson  <rth@cygnus.com>
6334
6335         * config/ia64/ia64-protos.h: Update.
6336         * config/ia64/ia64.c (call_multiple_values_operation): Remove.
6337         (ia64_expand_call): New.
6338         (ia64_expand_prologue): Emit an alloc if we need extra input
6339         registers.
6340         (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
6341         instruction if true.
6342         (struct reg_flags): Add is_sibcall.
6343         (rtx_needs_barrier): A sibcall does not use CFM et al.  Ignore USEs.
6344         (emit_insn_group_barriers): Set flags.is_sibcall.  Remove hacks
6345         for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
6346         * config/ia64/ia64.h (PREDICATE_CODES): Update.
6347         * config/ia64/ia64.md (call): Use ia64_expand_call.
6348         (call_value): Likewise.
6349         (sibcall, sibcall_value): New.
6350         (call patterns): Remove extra expanders; tidy.
6351         (sibcall_epilogue): New.
6352         (set_bsp): Remove the extra USE.  Put the operand inside the UNSPEC.
6353
6354 2000-09-24  Richard Henderson  <rth@cygnus.com>
6355
6356         * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
6357
6358         * sibcall.c (skip_pic_restore): New.
6359         (identify_call_return_value): Use it.
6360
6361 2000-09-24  Mark Mitchell  <mark@codesourcery.com>
6362
6363         * c-tree.texi: Moved here from cp/ir.texi.  Documented nested
6364         functions.  Generalize to handle both C and C++.
6365         * Makefile.in (c-tree.info): New target.
6366         (info): Add c-tree.info.
6367
6368 Sun Sep 24 09:15:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6369
6370         * expr.c (store_field): If BITSIZE is negative, use size of type.
6371         (expand_expr, case COMPONENT_EXPR): Likewise.
6372
6373 Sun 24-Sep-2000 11:40:23 BST  Neil Booth  <NeilB@earthling.net>
6374
6375         * cpplex.c: Update TODO comment.
6376         * cpplib.c (do_error, do_warning): Merge common code of
6377         do_error and do_warning into do_diagnostic.  Use it.
6378         (do_diagnostic): New function.
6379         * cpplib.h: Fix comment typo.
6380
6381 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
6382
6383         * c-common.c (check_format_info): Warn for a wide character string
6384         used as a non-wide format argument.
6385
6386 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
6387
6388         * builtins.def (BUILT_IN_LLABS): Add.
6389         * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
6390         * c-common.c (c_common_nodes_builtins): Create builtin functions
6391         __builtin_llabs, and plain llabs unless no_nonansi_builtins
6392         outside of C99 mode.
6393         (expand_tree_builtin): Handle BUILT_IN_LLABS.
6394
6395 Sat 23-Sep-2000 22:39:18 BST  Neil Booth  <NeilB@earthling.net>
6396
6397         * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
6398         CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
6399         * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
6400         _cpp_free_toklist): No need to worry about extra dummy token
6401         at the start of token lists any more.
6402         (trigraph_ok): Only warn outside comments.
6403         (skip_block_comment): Set and clear lexing_comment.
6404         (skip_line_comment): Take a cpp_reader not cpp_buffer.
6405         Set and clear lexing_comment.
6406         (parse_number): Handle leading '.' indicated by pfile->seen_dot.
6407         (check_long_token): Delete.
6408         (lex_percent, lex_dot): New subroutines of lex_token to
6409         handle lexing of '.' and '%' without lookback.
6410         (lex_token): Use lex_dot and lex_percent.
6411         (lex_line): Don't check for LIST_OFFSET.
6412         (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
6413         * cpplib.c (_cpp_parse_assertion): Similarly.
6414         (cpp_push_buffer): Initialize extra_char.
6415         * cpplib.h (LIST_OFFSET): Delete.
6416         (struct cpp_buffer): New member extra_char.
6417         (struct lexer_state): New members lexing_comment and seen_dot.
6418
6419 2000-09-23  Jason Merrill  <jason@redhat.com>
6420
6421         * config/rs6000/x-aix41 (CLIB): Define here.
6422         * config/rs6000/t-aix43: Not here.
6423         * config/rs6000/t-aix41: Or here.  Remove.
6424         * configure.in: Don't use it.
6425
6426 2000-09-22  Jason Merrill  <jason@redhat.com>
6427
6428         * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
6429         * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
6430         * config.in: Regenerate.
6431
6432         * configure.in: Fix checks for assembler features when using a
6433         one-tree assembler that has not yet been built.
6434         Fix --disable-threads.
6435
6436 2000-09-19  Geoff Keating  <geoffk@cygnus.com>
6437
6438         * stmt.c (expand_asm_operands): Allow # in constraints.
6439
6440 2000-09-22  Jason Merrill  <jason@redhat.com>
6441
6442         * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
6443
6444         * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
6445         function-local names.
6446
6447 2000-09-22  Brad Lucier <lucier@math.purdue.edu>
6448             Mark Mitchell  <mark@codesourcery.com>
6449
6450         * toplev.c (warn_disabled_optimization): Declare new warning flag.
6451         * flags.h (warn_disabled_optimization): Add it here.
6452         * gcse.c (gcse_main): Add warning when disabled.
6453         * invoke.texi: Document -Wdisabled-optimization.
6454
6455 2000-09-21  Jason Merrill  <jason@redhat.com>
6456
6457         * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
6458
6459         * dwarf2out.c (tree_add_const_value_attribute): New fn.
6460         (gen_variable_die): Call it for non-definitions.
6461
6462         * dwarf2out.c (die_struct): Add die_mark field.
6463         (mark_dies, unmark_dies): New fns.
6464         (clear_die_sizes): Remove.
6465         (print_die): Check die_symbol rather than die_offset.
6466         (build_abbrev_table, output_pubnames, output_aranges): Check
6467         die_mark rather than die_offset.
6468         (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
6469         Call mark_dies.
6470
6471 Thu 21-Sep-2000 18:19:05 BST  Neil Booth  <NeilB@earthling.net>
6472
6473         * cppfiles.c (lookup_include_file): Rename to open_file.
6474         Always create a splay tree value, even on syscall failures.
6475         Negative entries indicated by fd == -2.
6476         Re-open files closed in the meantime.
6477         (_cpp_fake_include): Create a negative splay tree entry.
6478         (find_include_file, cpp_read_file): Update for function name
6479         change.
6480         * gcc.gd/cpp/mi4.c: Testcase.
6481
6482 2000-09-21  Nick Clifton  <nickc@redhat.com>
6483
6484         * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
6485         ARM and THUMB modes.
6486
6487         * config/mcore/mcore.c: Fix compile time warnings.
6488         * config/mcore/mcore-protos.h: Fix compile time warnings.
6489
6490 2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
6491
6492         * configure.in: Correct test of gcc_cv_glibc.
6493         * configure: Rebuilt.
6494         * config.in: Rebuilt.
6495
6496 2000-09-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6497
6498         * builtins.c (expand_builtin_fputs): Also expand when length!=1.
6499         (expand_builtin): Handle BUILT_IN_FWRITE.
6500
6501         * builtins.def (BUILT_IN_FWRITE): New entry.
6502
6503         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
6504
6505 Wed Sep 20 15:39:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6506
6507         * gcc.c (modify_target): New variable and struct.
6508         (process_command): Handle MODIFY_TARGET_NAME.
6509         * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
6510         * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
6511
6512         * c-decl.c (finish_decl): Add else's to avoid referencing
6513         TYPE_DOMAIN of an ERROR_MARK.
6514
6515 Wed Sep 20 21:44:31 2000  Denis Chertykov  <denisc@overta.ru>
6516
6517         * config/avr/avr.c (adjust_insn_length): Adjust lengths of
6518         `reload_in*' insns.
6519
6520 2000-09-19  Marek Michalkiewicz  <marekm@linux.org.pl>
6521
6522         * config/avr/avr.md (neghi2): Add alternative for input and output
6523         operands in different registers, as in negsi2.
6524         (*negsi2): Remove '*' from the name.  Use "movw" if available.
6525
6526 2000-09-19  Jim Wilson  <wilson@cygnus.com>
6527
6528         * config/ia64/crtbegin.asm (__dso_handle): Delete use of
6529         HAVE_GAS_HIDDEN macro.
6530
6531 Tue 19-Sep-2000 22:38:57 BST  Neil Booth  <NeilB@earthling.net>
6532
6533         * cpplex.c (lex_line): Drop the EOF token for unknown
6534         directives in assembler.
6535
6536 2000-09-19  David Edelsohn  <edelsohn@gnu.org>
6537
6538         * configure.in: Allow enable_threads_flag value of "aix".  Define
6539         thread_file as "aix" for AIX 4.3 and above.
6540         * configure: Regenerated.
6541
6542         * gthr-aix.h: New file.
6543
6544         * rs6000/t-aix43: Replace soft-float multilib with pthread.
6545         Remove 403 processor multilib match.  Fix rios2 processor multilib
6546         match.
6547
6548         * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
6549         to return to appropriate csect.
6550
6551 2000-09-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6552
6553         * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
6554         functions.
6555         (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
6556         (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
6557         BUILT_IN_PRINTF.
6558
6559         * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
6560         New entries.
6561
6562         * c-common.c (init_function_format_info): Handle __builtin_printf.
6563         Set `check_function_format_ptr'.
6564         (c_common_nodes_and_builtins): Set `puts_ftype' and
6565         `printf_ftype'.  Declare __builtin_putchar, __builtin_puts,
6566         __builtin_printf and printf.
6567
6568         * tree.c, tree.h (check_function_format_ptr): Declare.
6569
6570 Tue 19-Sep-2000 18:26:57 BST  Neil Booth  <NeilB@earthling.net>
6571
6572         * cppfiles.c (read_include_file): Take no special action for
6573         zero-length files.
6574
6575 2000-09-19  Bernd Schmidt  <bernds@redhat.co.uk>
6576
6577         * final.c (insn_current_reference_address): Use INSN_SHUID of seq
6578         rather than that of branch.
6579         (shorten_branches): Don't increment insn_current_address twice.
6580
6581         Undo most of the Wed Jan 27 23:39:53 1999 patch:
6582         * loop.h (struct induction): Delete members derived, ix and last_use.
6583         (struct loop_ivs): Delete members first_increment_giv and
6584         last_increment_giv.
6585         * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
6586         recombine_givs): Delete functions.
6587         (find_and_verify_loops): Don't initialize cont_dominator.
6588         (strength_reduce): Lose code to try to find bivs that can be
6589         expressed as givs of another biv, and to convert biv increments
6590         into givs.
6591         Lose loop_scan_start variable, always use loop->scan_start.
6592         Don't call recombine_givs.  Don't handle derived givs.
6593         (record_giv): Don't initialize derived and last_use fields.
6594         (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
6595         givs.
6596         * unroll.c (derived_regs): Delete static variable.
6597         (unroll_loop): Don't initialize it.
6598         (copy_loop_body): Lose code to handle derived givs.
6599         (find_splittable_givs): Don't check for givs made from biv
6600         increments.
6601         Don't set derived_regs.
6602
6603         Fix misapplied earlier patch:
6604         * config/sh/sh.md (floatsisf_ie): Reenable.  Remove explicit reference
6605         to fpul.
6606         (floatsisf2): Generate floatsisf_ie by default.
6607         (floatsisf_i4): Conditional on TARGET_SH4.
6608
6609         (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
6610         predicate for the expanders.
6611
6612 2000-09-19  Richard Henderson  <rth@cygnus.com>
6613
6614         * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
6615         in addition to pentium and pentiumpro symbols.
6616         (CPP_CPU_DEFAULT_SPEC): Likewise.
6617
6618         * c-typeck.c (c_expand_asm_operands): Restore the output tree
6619         after expanding.
6620
6621         * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
6622         if the tree has side effects.
6623         (warn_if_unused_value): Do not warn about void constructs.
6624
6625         * c-decl.c (poplevel): Invoke warn_about_unused_variables.
6626
6627         * unroll.c (copy_loop_body): Update LABEL_NUSES before
6628         calling invert_jump.
6629
6630 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
6631
6632         * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
6633         into anything.
6634
6635 2000-09-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6636
6637         * Makefile.in (c-common.o): Depend on diagnostic.h.
6638
6639         * c-common.c: Include diagnostic.h.
6640         (tfaff): Delete.
6641         (status_warning): New function.
6642         (check_format_info, maybe_read_dollar_number, check_format_types,
6643         finish_dollar_format_checking, check_function_format): Accept a
6644         `status' parameter.  All callers changed.
6645
6646         * c-common.h (check_function_format): Accept a `status' parameter.
6647
6648         * c-typeck.c: Update call to `check_function_format'.
6649
6650 2000-09-18  Richard Henderson  <rth@cygnus.com>
6651
6652         * c-decl.c (c_expand_body): Call mark_varargs before
6653         expand_function_start.
6654
6655 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
6656
6657         * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
6658         * config/rs6000/eabi-ci.asm: Likewise.
6659
6660 2000-09-18  Richard Henderson  <rth@cygnus.com>
6661
6662         * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
6663         for BImode.
6664
6665 2000-09-18  Jim Wilson  <wilson@cygnus.com>
6666
6667         * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
6668         before passing it to fold_rtx_mult_add.
6669
6670         * unroll.c (final_giv_value): Pass increment through
6671         extend_value_for_giv before passing it to emit_iv_add_mult.
6672
6673         * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
6674         paradoxical subreg, then directly substitute the replacement and
6675         return.
6676
6677 Mon 18-Sep-2000 22:12:44 BST  Neil Booth  <NeilB@earthling.net>
6678
6679         * cpp.texi: Update documentation, including some clarifications,
6680         the treatment of various newline combinations, and space between
6681         backslash and newline.
6682
6683 Mon Sep 18 21:00:47 2000  J"orn Rennecke <amylaar@redhat.co.uk>
6684
6685         * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
6686         Replace ASM_OUTPUT_LABELREF with assemble_name.
6687
6688 Mon Sep 18 20:26:50 2000  J"orn Rennecke <amylaar@redhat.co.uk>
6689
6690         * sh.c (addsubcosts): CONST is not cheap.
6691         (find_barrier): For Sh1, take alignment after jumps into account.
6692
6693 2000-09-15  Andrew Haley  <aph@redhat.com>
6694
6695         * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
6696         remove all SETs of SUBREGs of hard registers.
6697         * function.c (purge_hard_subreg_sets): New function.
6698         (purge_single_hard_subreg_set): New function.
6699         * rtl.h: (purge_hard_subreg_sets): New function.
6700
6701 2000-09-18  Richard Henderson  <rth@cygnus.com>
6702
6703         * config/ia64/ia64-protos.h: Update.
6704         * config/ia64/ia64.c (signed_inequality_operator): New.
6705         (ia64_expand_compare): New.
6706         (ia64_register_move_cost): Handle PR_REGS moves.
6707         (ia64_secondary_reload_class): Require a GR when moving to a PR.
6708         (struct reg_write_state): Add written_by_and/or.
6709         (struct reg_flags): Add is_and/or.
6710         (rws_update): Set them.
6711         (rws_access_regno): Test them to allow parallel comparisons.
6712         (rtx_needs_barrier): Recognize parallel comparisons.
6713         (emit_insn_group_barriers): Set prev_insn after a call stop bit.
6714         Call recog_memoized; ignore pred_rel_mutex.
6715         (emit_predicate_relation_info): Don't call find_basic_blocks here.
6716         (ia64_reorg): Do it here instead.
6717         * config/ia64/ia64.h: s/CCmode/BImode/g
6718         (MODES_TIEABLE_P): Don't tie BImode.
6719         (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
6720         (CONST_COSTS): Pick sensible values for CONST_INT based on context.
6721         (RTX_COSTS): Make multiply 4 insns.
6722         (MEMORY_MOVE_COST): New.
6723         (PREDICATE_CODES): Update.
6724         * config/ia64/ia64.md: s/CCmode/BImode/g
6725         (movcci, movbi): New.
6726         (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
6727         (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
6728         (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
6729         (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
6730         (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
6731         (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
6732         (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
6733         (mulsi, muldi): Use xmpy not xma.
6734         (cmpbi): New.
6735         (movcc, movcc_internal): Remove.
6736         (branch expanders): Use ia64_expand_compare.
6737         (setcc expanders): Likewise.
6738         (cmov insns): Use move_operand and ia64_move_ok.
6739         (pred_rel_mutex): Use unspec not unspec_volatile.  Prevent the
6740         scheduler from moving it past a use.
6741         * config/ia64/build.hacks: Remove.
6742
6743 Mon 18-Sep-2000 19:21:35 BST  Neil Booth  <NeilB@earthling.net>
6744
6745         * cpphash.h (HASHSTEP): Take character rather than pointer
6746         to character.
6747         (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
6748
6749         * cpphash.c (cpp_loookup): Update for new HASHSTEP.
6750
6751         * cpplex.c (auto_expand_name_space, trigraph_replace,
6752         backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
6753         IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
6754         BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
6755         KNOWN_DIRECTIVE): Delete.
6756
6757         (handle_newline, check_long_token, skip_escaped_newlines,
6758         unterminated): New functions.
6759         (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
6760
6761         (parse_identifier): Was parse_name, new implementation.
6762         (skip_line_comment, skip_block_comment, skip_whitespace,
6763         parse_number, parse_string, trigraph_ok, save_comment,
6764         adjust_column, _cpp_get_line): New implementations.
6765
6766         (lex_token): New function.  Lexes a token at a time, looking
6767         forwards.  Contains most of the guts of the old lex_line.
6768         (lex_line): New implementation, using lex_token to obtain
6769         individual tokens.
6770         (cpp_scan_buffer): Use the token's line, not the list's line.
6771
6772         * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
6773          New implementations.
6774         (do_assert): Don't bother setting the answer's list's line.
6775         (cpp_push_buffer): Initialise new pfile and read_ahead members
6776         of struct cpp_buffer.
6777
6778         * cpplib.h (cppchar_t): New typedef.
6779         (struct cpp_buffer): read_ahead, pfile and col_adjust are
6780         new members.
6781         (struct lexer_state): New structure that determines the state
6782         and behaviour of the lexer.
6783         (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
6784         (struct cpp_reader): New member "state". Rename
6785         multiline_string_line and multiline_string_column. Delete
6786         col_adjust, in_lex_line members.
6787         (CPP_BUF_COLUMN): Update.
6788
6789 2000-09-18  Richard Henderson  <rth@cygnus.com>
6790
6791         * combine.c (simplify_comparison): Shift a NOT out of a single
6792         bit test.
6793
6794         * combine.c (if_then_else_cond): Canonicalize BImode true to
6795         STORE_FLAG_VALUE.
6796         * explow.c (trunc_int_for_mode): Likewise.
6797
6798         * combine.c (combine_simplify_rtx): Use gen_unary to distribute
6799         the NOT for De Morgan's rule.
6800         * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
6801         of a comparison to the reverse comparison.
6802
6803         * combine.c (try_combine): Allow split to create a single insn.
6804
6805         * machmode.def: Add BImode.  Add a column for bitsize.
6806         * machmode.h (DEF_MACHMODE): Adjust for extra column.
6807         (GET_MODE_BITSIZE): Use it.
6808         * rtl.c (DEF_MACHMODE): Adjust for extra column.
6809         (mode_bitsize): New.
6810         (mode_mask_array): Use bitsize.
6811         * combine.c (combine_simplify_rtx): Require inner and outer
6812         modes to match on nonzero_bits optimizations.
6813
6814 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
6815
6816         * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
6817         its entry in spill_reg_store.
6818         * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
6819         * sh.c (reg_no_subreg_operand): New function.
6820         * sh-protos.h (reg_no_subreg_operand): Declare it.
6821         * sh.h (PREDICATE_CODES): Add it.
6822         * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
6823         input operand that needs to be in fpul.
6824         (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
6825         * sh.c (find_barrier): Take into account that machine_dependent_reorg
6826         might add new insns.
6827
6828 2000-09-18  Alexandre Oliva  <aoliva@redhat.com>
6829
6830         * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
6831         MAYBE_DEAD.
6832         (sh_expand_epilogue): Take the PIC register into account when
6833         computing the frame size.
6834
6835         * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
6836         * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
6837         LABEL_REFs with a PIC-safe unspec.
6838
6839 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
6840
6841         * c-common.c (check_format_info): Properly save the argument
6842         number and parameter for $ operand number formats in case width
6843         and precision arguments are also used.  Allow printf width and
6844         precision arguments to have operand numbers even if none was
6845         specified for the main format, since this is OK for %*.*m.  Only
6846         object to missing $ operand number if the format used requires an
6847         argument.
6848
6849 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
6850
6851         * c-common.c (format_char_info): Add 'W' flag to comment.
6852         (print_char_table, scan_char_table): Use it.
6853         (check_format_info): Use the 'W' flag to determine whether a
6854         format argument is written into.
6855
6856 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
6857
6858         * c-common.c (check_format_types): Reorganise and clean up,
6859         checking earlier for ERROR_MARKs and making cur_type into its
6860         TYPE_MAIN_VARIANT where convenient.
6861
6862 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
6863
6864         * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
6865
6866 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
6867
6868         * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
6869
6870         * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
6871         * i386.c (struct builtin_description): New.
6872         (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
6873         (mmx_reg_operand): Declare MODE arg as unused.
6874         (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
6875         ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
6876         ix86_expand_binop_builtin, ix86_expand_store_builtin,
6877         ix86_init_builtins, ix86_expand_builtin): New functions.
6878         * i386.h (ix86_builtins): New enumeration.
6879         (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
6880         * i386.md (attr length_immediate): 0 for mmx/sse types.
6881         (attr prefix_0f): 1 for mmx/sse types.
6882         (setcc_2): Remove "*" so we get gen_setcc_2.
6883         (emms): Account for changed register numbering.  Set "memory" attr
6884         to unknown.
6885         (sfence): Set "memory" attr to unknown.
6886
6887 2000-09-18  Andreas Jaeger  <aj@suse.de>
6888
6889         * configure.in: Define _GNU_SOURCE only when using the GNU C
6890         Library.
6891         * configure: Regenerated.
6892         * config.in: Regenerated.
6893
6894 2000-09-17  Mark Mitchell  <mark@codesourcery.com>
6895
6896         * cppinit.c (cpp_init): Don't use ANSI prototypes.
6897         * flow.c (flow_dump_loop): Likewise.
6898         (flow_loops_dump): Likewise.
6899
6900         * c-typeck.c (c_start_case): Fix typo.
6901
6902 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
6903
6904         * c-decl.c (grokdeclarator): Don't give a warning about defaulting
6905         to int for plain complex which defaults to complex double.  Do
6906         warn about defaulting to complex double if pedantic.  Warn about
6907         complex integer types if pedantic.  Warn about complex types if
6908         pedantic and not in C99 mode.
6909         * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
6910         for complex conjugation.
6911
6912 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
6913
6914         * contrib.texi: Update my entry.
6915
6916 Sun Sep 17 18:48:32 2000  Denis Chertykov  <denisc@overta.ru>
6917
6918         * config/avr/avr.md (mcu_enhanced): New attribute.
6919         (mcu_mega): Likewise.
6920         (extendhisi2): Use mcu_enhanced.
6921         (zero_extendhisi2): Likewise.
6922         (call_insn): Use mcu_enhanced and mcu_mega.
6923         (call_value_insn): Likewise.
6924         (*sbrx_branch): Use mcu_mega.
6925         (*sbrx_and_branchsi): Likewise.
6926         (*sbrx_and_branchhi): Likewise.
6927         (*tablejump_lib): Likewise.
6928
6929 Sun Sep 17 10:46:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6930
6931         * alias.c (true_dependence): Allow non-unchanging read to conflict
6932         with unchanging write.
6933
6934         * expr.c (store_constructor_field): Accept ALIAS_SET arg.
6935         (store_constructor): Pass alias_set to it.
6936
6937         * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
6938         TYPE_MAIN_VARIANT of ERROR_MARK.
6939         * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
6940
6941         * simplify-rtx.c (simplify_unary_operation): Add cases
6942         FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
6943
6944 2000-09-17  Bernd Schmidt  <bernds@redhat.co.uk>
6945
6946         * expr.h (emit_library_call, emit_library_call_value): Delete
6947         declarations.
6948         * rtl.h (enum libcall_type): New.
6949         (emit_library_call, emit_library_call_value): Change fn_type arg to
6950         be of type enum libcall_type.
6951         * calls.c: Likewise for the function definitions.  Several callers
6952         throughout changed to use the new enumeration appropriately.
6953         (emit_library_call_value_1): Likewise.  Put back code to make libcall
6954         blocks of equal form, but only use it for the two new higher
6955         enumeration values.
6956
6957 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
6958
6959         Convert the C front-end to use function-at-a-time mode.
6960         * c-common.h: Include splay-tree.h.
6961         (C_DECLARED_LABEL_FLAG): New macro.
6962         (struct language_function): Add x_scope_stmt_stack and
6963         x_function_name_declared_p.
6964         (RECHAIN_STMTS): Move definition.
6965         (lang_statment_code_p): Likewise.
6966         (lang_expand_stmt): Likewise.
6967         (lang_expand_decl_stmt): New variable.
6968         (lang_expand_function_end): Likewise.
6969         (current_scope_stmt_stack): New function.
6970         (add_decl_stmt): Likewise.
6971         (add_scope_stmt): Likewise.
6972         (mark_stmt_tree): Likewise.
6973         (struct c_lang_decl): New structure.
6974         (DECL_SAVED_TREE): Define.
6975         (c_mark_lang_decl): New function.
6976         (c_expand_start_cond): Change prototype.
6977         (c_finish_then): New function.
6978         (c_finish_else): Likewise.
6979         (current_function_name_declared): Remove.
6980         (set_current_function_name_declared): Likewise.
6981         (mark_c_language_function): Declare.
6982         (case_compare): Likewise.
6983         (c_add_case_label): Likewise.
6984         (c_expand_expr): Likewise.
6985         (c_safe_from_p): Likewise.
6986         * c-common.c (lang_expand_function_end): New variable.
6987         (struct if_elt): Add if_stmt.
6988         (c_expand_start_cond): Add the if-statement to the statement-tree,
6989         rather than generating RTL.
6990         (c_finish_then): New function.
6991         (c_expand_start_else): Don't generate RTL.
6992         (c_finish_else): New function.
6993         (c_expand_expr_stmt): Don't generate RTL.
6994         (statement_code_p): Add SCOPE_STMT.
6995         (case_compare): New function.
6996         (c_add_case_label): Likewise.
6997         (mark_stmt_tree): Likewise.
6998         (c_mark_lang_decl): Likewise.
6999         (mark_c_language_function): Likewise.
7000         (c_expand_expr): Likewise.
7001         (c_safe_from_p): Likewise.
7002         * c-decl.c (c_stmt_tree): New variable
7003         (c_scope_stmt_stack): Likewise.
7004         (c_function_name_declared_p): Likewise.
7005         (lang_expand_expr_stmt): Remove.
7006         (poplevel): Don't call output_inline_function for nested
7007         functions.
7008         (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
7009         `extern' function.
7010         (redeclaration_error_message): Change means of computing whether
7011         or not a function is nested.
7012         (lookup_label): Don't call label_rtx.
7013         (init_decl_processing): Add more GC roots.
7014         (start_decl): Add DECL_STMTs to the statement-tree, rather than
7015         calling rest_of_decl_compilation.
7016         (finish_decl): Don't call expand_decl.
7017         (store_parm_decls): Begin the statement-tree, but don't generate
7018         RTL.
7019         (finish_function): Tie off the statement-tree.  Call c_expand_body
7020         if appropriate.
7021         (c_expand_body): New function.
7022         (push_c_function_context): Save more information.
7023         (pop_c_function_contxt): Likewise.
7024         (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
7025         (lang_mark_tree): Mark it.
7026         (current_stmt_tree): Adjust.
7027         (current_scope_stmt_stack): New function.
7028         (do_case): Remove.
7029         (set_current_name_declared): Likewise.
7030         (c_begin_compound_stmt): Define.
7031         (c_expand_decl_stmt): Likewise.
7032         * c-lang.c: Include rtl.h and expr.h.
7033         (lang_init): Set more language-specific hooks.
7034         * c-lex.c: Include expr.h.
7035         * c-parse.in: Changes throughout to add statements to the
7036         statement-tree, rather than generating RTL after every statement.
7037         * c-semantics.c (lang_expand_decl_stmt): Define.
7038         (add_decl_stmt): New function.
7039         (add_scope_stmt): Likewise.
7040         (finish_stmt_tree): Tweak.
7041         (genrtl_expr_stmt): Likewise.
7042         (genrtl_decl_stmt): Handle local labels, and call
7043         lang_expand_decl_stmt if required.
7044         (genrtl_for_stmt): Fix line-number handling.
7045         (genrtl_case_label): Handle cleanups.
7046         (genrtl_asm_stmt): Don't call combine_strings.
7047         (genrtl_compound_stmt): Simplify.
7048         (expand_stmt): Handle SCOPE_STMTs.
7049         * c-tree.h (struct lang_decl): New structure.
7050         (C_DECLARED_LABEL_FLAG): Remove.
7051         (c_begin_compound_stmt): Declare.
7052         (c_expand_decl_stmt): Likewise.
7053         (c_expand_start_case): Rename to c_start_case.
7054         (c_finish_case): New function.
7055         * c-typeck.c (start_init): Tweak setting of
7056         constructor_incremental.
7057         (c_expand_asm_operands): Tweak error-handling.  Add to the
7058         statement-tree.
7059         (c_expand_return): Add to the statement-tree.
7060         (c_expand_start_case): Rename to ...
7061         (c_start_case): ... this.
7062         (struct c_switch): New type.
7063         (switch_stack): New variable.
7064         (do_case): Simplify.
7065         (c_finish_case): New function.
7066         * dependence.c: Include expr.h.
7067         (enum dependence_type): Change spelling of enumerals.
7068         (check_node_dependence): Adjust.
7069         * expr.h (lang_safe_from_p): Declare.
7070         (safe_from_p): Likewise.
7071         * expr.c (lang_safe_from_p): New variable.
7072         (safe_from_p): Give it external linkage.  Use lang_safe_from_p.
7073         * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
7074         * toplev.c (rest_of_decl_compilation): Robustify.
7075         * tree.c (contains_placeholder_p): Likewise.
7076         * Makefile.in: Update dependencies.
7077         * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
7078         * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
7079         (objc_expand_function_end): New function.
7080         (finish_method_def): Use it.
7081         (init_objc): Initialize more language-specific hooks.
7082         * objc/Make-lang.in: Update dependencies.
7083
7084 2000-09-16  Geoffrey Keating  <geoffk@cygnus.com>
7085
7086         * configure.in: Define macros that affect features before
7087         testing for features.  Don't define _XOPEN_SOURCE.
7088         * configure: Regenerated.
7089         * config.in: Regenerated.
7090
7091 Sat Sep 16 19:42:50 EDT 2000  John Wehle  (john@feith.com)
7092
7093         * rtlanal.c (rtx_varies_p): Volatile asms vary.
7094         (rtx_unstable_p): Restructure code.  Volatile asms
7095         are unstable.
7096
7097 Sat Sep 16 14:35:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7098
7099         * function.h (no_debugging_symbols): New field.
7100         * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
7101         Initialize no_debugging_symbols.
7102         (output_inline_function): Save and restore write_symbols and set from
7103         no_debugging_symbols.
7104         * toplev.c (rest_of_compilation): Call save_for_inline.
7105         * tree.h: Update comment.
7106
7107         * stor-layout.c (place_field): Don't do anything if field or
7108         its type are ERROR_MARK.
7109
7110 Sat Sep 16 19:14:00 2000  Laurynas Biveinis <lauras@softhome.net>
7111
7112         * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
7113         (read_include_file): Ensure inc->mmaped is initialized.
7114
7115 2000-09-16  Richard Henderson  <rth@cygnus.com>
7116
7117         * cppiles.c (purge_cache): Use PTR not caddr_t.
7118
7119 2000-09-16  Hans-Peter Nilsson  <hp@axis.com>
7120
7121         * gcc.c: In description for %{<S}, say the option removed is -S.
7122         * invoke.texi (Spec Files): Ditto.
7123
7124 2000-09-16  Andreas Jaeger  <aj@suse.de>
7125
7126         * configure.in: Always define _GNU_SOURCE to make interfaces
7127         visible that were hidden by only defining _GNU_SOURCE.
7128         * configure: Regenerated.
7129
7130 Sat 16-Sep-2000 08:13:45 BST  Neil Booth  <NeilB@earthling.net>
7131
7132         * cpplex.c (push_macro_context): Set an argument's level after
7133         calling parse_args.  We could loop infinitely otherwise.
7134
7135 2000-09-15  Tom Tromey  <tromey@cygnus.com>
7136
7137         * configure, config.in: Rebuilt.
7138         * configure.in: Check for iconv.h.  Define _XOPEN_SOURCE.
7139
7140 2000-09-15  Greg McGary  <greg@mcgary.org>
7141
7142         * cppmacro.c (check_trad_stringification): Check token
7143         text pointers against limit before dereferencing.
7144
7145 2000-09-15  Joseph S. Myers  <jsm28@cam.ac.uk>
7146
7147         * c-common.c (format_wanted_type): New structure.
7148         (check_format_types): New function.
7149         (check_format_info): Pass all checking of types of format
7150         arguments, including width and precision arguments, to this new
7151         function.
7152
7153 2000-09-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7154
7155         * BUGS: Remove file.
7156
7157 2000-09-15  Jakub Jelinek  <jakub@redhat.com>
7158
7159         * config/alpha/alpha.c (override_options): ev6 cache latencies
7160         from Richard Henderson.  Don't allow -mmemory-latency=L0.
7161
7162         * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
7163         (TARGET_OPTIONS): Add tune=.
7164         (alpha_tune_string): Declare.
7165         * config/alpha/alpha.c (override_options): Add cpu_table.
7166         Use alpha_cpu_string first to set both alpha_cpu and target_flags
7167         and then alpha_tune_string to set alpha_cpu only.
7168         Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
7169         * config/alpha/elf.h (ASM_FILE_START): Likewise.
7170         * config/alpha/osf.h (ASM_FILE_START): Likewise.
7171         * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
7172
7173 Fri Sep 15 19:45:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7174
7175         * i386-protos.h (no_comparison_operator, uno_comparison_operator):
7176         Remove.
7177         (ix86_comparison_operator, ix86_cc_mode): Declare
7178         * i386.h (CCGC, CCGCO): New modes.
7179         (SELECT_CC_MODE): Move offline to ....
7180         * i386.c (ix86_cc_mode): .... here; use new modes.
7181         (ix86_comparison_operator): New.
7182         (fcmov_comparison_operator): Ensure proper mode.
7183         (put_condition_mode): More sanity checking.
7184         (ix86_match_ccmode): Handle new modes.
7185         (ix86_expand_fp_compare): GEU requires CCmode.
7186         (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
7187         doing it by hand.
7188         * i386.md (cmp?i_ccz_1): Remove
7189         (cmp?i_ccno_1): Use ix86_match_ccmode.
7190         (cmp?i_minus_1): New.
7191         (cmpsi_1): New expander.
7192         (cmpqi_ext_1): Use match_ccmode
7193         (cmpqi_ext_3): New expander.
7194         (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
7195         (cmpqi_ext_4): Use match_ccmode.
7196         (add?i_?): Use match_ccmode.
7197         (add?i_6): New.
7198         (test?i_ccz_1): Remove
7199         (test?i_1): New.
7200         (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
7201         (testqi_ext_0): Use ix86_match_ccmode.
7202         (*xorqi_cc_ext_1): Use ix86_match_ccmode.
7203         (xorqi_cc_ext_1): New expander.
7204         (shift patterns): Use CCGOCmode for all shifts except for sar.
7205         (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
7206         (setcc_3, jcc_3, miv?icc_c): Remove.
7207
7208 2000-09-15  Will Cohen  <wcohen@redhat.com>
7209
7210         * dwarf2out.c (add_const_value_attribute): Changed array into a
7211         xmalloced object, so it exists after function exit.
7212         (free_AT): Added case for dw_val_class_float to free allocated
7213         memory.
7214
7215 2000-09-15  Kazu Hirata  <kazu@hxi.com>
7216
7217         * config/i386/i386.md: Fix a comment typo.
7218         * gcc.c: Fix formatting.
7219
7220 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
7221
7222         * optabs.c (emit_libcall_block): If target is a user variable,
7223         copy to a temporary first.
7224         * expr.c (convert_move): When generating a libcall, make a libcall
7225         block.
7226         * calls.c (emit_library_call_value_1): Don't create a libcall
7227         sequence here; our caller will in most cases do it.
7228
7229         * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
7230         MACH into FPUL.
7231         (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
7232         * sh.md (reload_outsf): Generate recognizable patterns for
7233         TARGET_SH3E.
7234         (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
7235         fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
7236         fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
7237         truncdfsf2_i4): Change not to use explicit references to fpul.
7238         (floatsisf2_ie): Remove USE of fpscr.
7239         (floatsisf2): Change default expansion to match this.
7240         (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
7241         unused patterns.
7242
7243 2000-09-15  Richard Henderson  <rth@cygnus.com>
7244
7245         * expmed.c (store_bit_field): Consider naturally aligned
7246         memory for direct reference.
7247
7248 2000-09-15  Richard Henderson  <rth@cygnus.com>
7249
7250         * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
7251         AND addresses into alias set 0.
7252         (alpha_expand_unaligned_store): Likewise.
7253         (alpha_expand_unaligned_load_words): Likewise.
7254         (alpha_expand_unaligned_store_words): Likewise.
7255
7256 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
7257
7258         * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
7259         * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
7260         is defined.
7261         * config/mips/mips.c (mips_va_arg): Args passed by reference have a
7262         rsize of UNITS_PER_WORD.
7263
7264 Fri 15-Sep-2000 06:49:07 BST  Neil Booth  <NeilB@earthling.net>
7265
7266         * cpplex.c (ON_REST_ARG): Correct the test.
7267         (maybe_paste_with_next): Duplicate a token that fail pasting,
7268         and clear its PASTE_LEFT flag, so that nested pasting attempts
7269         do not occur.
7270
7271 2000-09-14  Richard Henderson  <rth@cygnus.com>
7272
7273         * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
7274         * cse.c (rtx_cost): Likewise.
7275         * optabls.c (expand_binop): Likewise.
7276         (expand_twoval_binop, prepare_cmp_insn): Likewise.
7277         * regclass.c (copy_cost): Likewise.
7278         * reload1.c (reload_cse_move2add): Likewise.
7279
7280 2000-09-14  Joseph S. Myers  <jsm28@cam.ac.uk>
7281
7282         * c-parse.in (reswords): Add _Complex.
7283
7284 2000-09-14  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7285
7286         * gcc.1: Delete documentation for -undef preprocessor option.
7287
7288 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
7289
7290         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7291         STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
7292         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7293         Remove undefine before config/elfos.h.
7294         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
7295
7296 2000-09-14  Kazu Hirata  <kazu@hxi.com>
7297
7298         * invoke.texi (H8/300 Options): Add -ms2600.
7299         * config/h8300.c (h8300_init_once): Output an error when -ms2600
7300         is used without -ms.
7301         * config/h8300.h (TARGET_MAC): New.
7302         (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
7303         (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
7304         machine other than H8/S2600.
7305         * config/h8300.md: Accept mac instructions on the H8/S2600 instead
7306         of the H8/S2000.
7307
7308 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>, Bernd Schmidt  <bernds@redhat.co.uk>
7309
7310         * reload.c (find_reloads_address_1): Generate reloads for auto_inc
7311         pseudos that refer to the original pseudos, not only to their
7312         equivalent memory locations.
7313
7314 Thu Sep 14 12:10:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7315
7316         * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
7317         when making new MEM.
7318
7319         * Makefile.in (LN): Remove duplicate definition.
7320
7321 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
7322
7323         From Joern Rennecke:
7324         * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
7325         on an insn and function_invariant_p returns nonzero for the source,
7326         add a REG_EQUAL note.
7327
7328 Thu Sep 14 00:51:57 EDT 2000  John Wehle  (john@feith.com)
7329
7330         * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
7331         conflict with frame_pointer_rtx.
7332
7333 2000-09-13  Kazu Hirata  <kazu@hxi.com>
7334
7335         * loop.c: Fix formatting.
7336         * loop.h: Likewise.
7337
7338 2000-09-13  Richard Henderson  <rth@cygnus.com>
7339
7340         * config/ia64/ia64.md (divsf3): New.
7341         (divsf3_internal_lat, divsf3_internal_thr): New.
7342         (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
7343         (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
7344         (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
7345         (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
7346         (nmadddf4_alts, nmadddf4_trunc): New.
7347         (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
7348         (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
7349         (multf3_truncsf_alts, multf3_truncdf_alts): New.
7350         (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
7351         (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
7352         (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
7353         (nmaddtf4_truncdf_alts): New.
7354         (recip_approx): Don't predicate.
7355
7356 2000-09-13  Richard Henderson  <rth@cygnus.com>
7357
7358         * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
7359
7360 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7361
7362         * flags.h (flag_dump_rtl_in_asm): Declare.
7363         * toplev.c (flag_dump_rtl_in_asm): Define.
7364         (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
7365         if -dP is specified.
7366         * rtl.h (print_rtx_head): Declare.
7367         * print-rtl.c (print_rtx_head): Define.
7368         (print_rtx): Print the string pointed to by print_rtx_head
7369         at beginning of each dump line.
7370         (print_rtl): Likewise.
7371         (print_rtl_single): Likewise.
7372         * final.c (final_scan_insn): Dump the insn in the assembly
7373         file for debugging.
7374         * gcc.1: Document -dP option.
7375         * invoke.texi (Debugging Options): Likewise.
7376
7377 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7378
7379         * md.texi (Machine Constraints): Document the 68HC11 constraints.
7380         * install.texi (Configurations): Document the 68HC11&68HC12 port.
7381         * invoke.texi (Option Summary, M68hc1x Options): Document the options.
7382
7383 Tue Sep 12 13:51:13 2000  Denis Chertykov  <denisc@overta.ru>
7384
7385         * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
7386         * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
7387         (*clrstrqi): Likewise.
7388         (xorhi3,xorsi3,absqi2): Likewise.
7389         (one_cmplhi2,one_cmplsi2): Likewise.
7390         (addsi3): Two stupid constraint alternatives removed.
7391         (extendhisi2): Use `movw' for enhanced avr cores.
7392         (zero_extendhisi2): Likewise.
7393
7394 Wed Sep 13 02:31:23 EDT 2000  John Wehle  (john@feith.com)
7395
7396         * alias.c (find_base_term): Use frame_pointer_rtx
7397         when handling an ADDRESSOF.
7398
7399         * cse.c (canon_hash): Handle USE of BLKmode memory.
7400         (cse_insn): Outgoing arguments for a libcall don't
7401         affect any recorded expressions.
7402
7403 2000-09-12  Tom Tromey  <tromey@cygnus.com>
7404
7405         * configure, config.in: Rebuilt.
7406         * configure.in: Check for iconv, nl_langinfo, langinfo.h.
7407
7408 2000-09-12  Jakub Jelinek  <jakub@redhat.com>
7409
7410         * c-lex.c (lex_string): Use charwidth to compute bytemask.
7411         * expr.c (expand_expr): Don't optimize constant array references
7412         initialized with wide string constants.
7413
7414 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
7415
7416         * loop.c (note_set_pseudo_multiple_uses): Correct.
7417
7418 2000-09-12  Jim Wilson  <wilson@cygnus.com>
7419
7420         * ifcvt.c (noce_process_if_block): If A and B are the same, and no
7421         else block, and X has side-effects, then fail.
7422
7423 2000-09-12  Greg McGary  <greg@mcgary.org>
7424
7425         * config/mips/mips-protos.h
7426         (trap_cmp_op, mips_gen_conditional_trap): New func decls.
7427         * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
7428         (PREDICATE_CODES): Add "trap_cmp_op".
7429         * config/mips/mips.c
7430         (trap_cmp_op, mips_gen_conditional_trap): New functions.
7431         * config/mips/mips.md (trap, conditional_trap): New patterns.
7432
7433 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
7434
7435         * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
7436         pointer.
7437
7438 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7439
7440         * builtins.c (built_in_decls): New array.
7441         (expand_builtin_fputs): New function.
7442         (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
7443
7444         * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
7445
7446         * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
7447
7448         * tree.h (built_in_decls): New array.
7449
7450 Tue Sep 12 08:53:57 2000  Jeffrey A Law  (law@cygnus.com)
7451
7452         * convex.md: Use "+" instead of "=" for outputs wrapped in a
7453         STRICT_LOW_PART.
7454         * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
7455
7456 2000-09-12  Kazu Hirata  <kazu@hxi.com>
7457
7458         * haifa-sched.c: Fix formatting.
7459
7460         * genattrtab.c: Fix formatting.
7461
7462         * unroll.c: Fix formatting.
7463
7464 2000-09-12  Bruce Korb  <bkorb@gnu.org>
7465
7466         * fixinc/fixfixes.c: make a type for the fix procedure & use it,
7467         remove obsolete code
7468         * fixinc/fixincl.c: Use PARAMS, not _P_.  Add no-op default to switch.
7469         * fixinc/fixincl.tpl: make non-exported arrays static scope
7470         * fixinc/fixincl.x: regenerate
7471         * fixinc/fixlib.h: Use PARAMS, not _P_
7472         * fixinc/fixtests.c: make a type for the test proc & use it
7473         * fixinc/server.h: Use PARAMS, not _P_
7474
7475 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7476
7477         * c-typeck.c (process_init_element): Avoid union init warnings on
7478         floating point zero.  Don't crash on unions containing structs.
7479
7480 2000-09-12  Alexandre Oliva  <aoliva@redhat.com>
7481
7482         * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
7483         general_movsrc_operand, and remove CONST_INT from
7484         general_movdst_operand.
7485
7486 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
7487
7488         * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
7489         if a reference to non-fixed hardreg is seen.  Otherwise, count hard
7490         regs with a higher cost.
7491         (preferrable): Deal with cases where either cost or regcost is
7492         MAX_COST.
7493         (cse_insn): Use MAX_COST rather than 10000.  Always initialize
7494         regcost values.
7495         (COSTS_N_INSNS): Move definition...
7496         * rtl.h: ...here.
7497         (MAX_COST): New macro.
7498         * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
7499         constant.
7500
7501 2000-09-11  Mark Mitchell  <mark@codesourcery.com>
7502
7503         * c-common.h (genrtl_clear_out_block): Remove.
7504         * c-semantics.c (genrtl_clear_out_block): Remove.
7505         (genrtl_while_stmt): Don't call it.
7506         (genrtl_for_stmt): Likewise.
7507
7508 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
7509
7510         * cppfiles.c: Move all default-#defines to top of file.
7511         (open_include_file): Replace by lookup_include_file.
7512         (read_with_read, read_file): Merged into read_include_file.
7513         (stack_include_file, purge_cache): New functions.
7514         (close_cached_fd): Delete.
7515         (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
7516         Cache the in-memory buffer, not the file descriptor.
7517
7518         * cpphash.h (struct include_file): Add buffer, st, refcnt,
7519         mapped fields.
7520         (xcnew): New utility macro.
7521         (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
7522         * cpplib.h (struct cpp_buffer): Remove mapped field.
7523
7524 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
7525
7526         * cpplex.c (parse_string): Accept backslash space newline as a
7527         line continuation.
7528         (lex_line): Likewise.
7529         (_cpp_get_token): Remove hard limit on macro nesting.
7530
7531 2000-09-12  Philipp Thomas  <pthomas@suse.de>
7532
7533         * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
7534         * configure: Rebuilt.
7535
7536 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
7537
7538         * flow.c (split_block): Fix update of registers live at
7539         end of split block.
7540
7541 Tue Sep 12 01:51:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7542
7543         * i386.md (add?i_3, add?i_5): New.
7544         (add?i_4): Rename from add?i_3;  Fix compare pattern.
7545         (sub?i_3, xor?i_3, ior?i_3): New.
7546
7547         * genrecog.c (write_tree): Output code to clear insn_extract cache.
7548         * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
7549         instead of extract_insn and extract_constrain_insn_cache instead of
7550         extract_insn and constrain_operands.
7551         * recog.c (extract_insn_cached, extract_constrain_insn_cached):
7552         New functions.
7553         (extract_insn): Clear which_alternative.
7554         (constrain_operands): Set which_alternative to -1 when failed.
7555         * recog.h (extract_constrain_insn_cached, extract_insn_cached):
7556         Declare.
7557
7558 2000-09-11  Matthew Hiller  <hiller@redhat.com>
7559
7560         * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
7561         on operand 0 to '+'.
7562         (movstricthi): Likewise.
7563
7564 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
7565
7566         * loop.h (LOOP_IVS): New macro.
7567         (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
7568         (struct loop_ivs): New.
7569         (struct loop_info): Add ivs field.
7570         (reg_iv_type, reg_iv_info): Delete prototype.
7571         (reg_biv_class, loop_iv_list): Likewise.
7572         * loop.c (record_biv, find_life_end): Pass loop argument.
7573         (reg_iv_type): Remove global array and use
7574         field in loop_regs structure within loop_ivs structure.
7575         (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
7576         (first_increment_giv, last_increment_giv): Use entry in
7577         loop_ivs structure.
7578         (record_initial): Pass ivs pointer.
7579         * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
7580
7581 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
7582
7583         * loop.h (LOOP_REGS): New macro.
7584         (struct loop_regs): New.
7585         (struct loop_info): Add regs field.
7586         * loop.c (set_in_loop): Remove global array and store
7587         in loop_regs structure as part of loop_info structure.
7588         (n_times_set, may_not_optimize): Likewise.
7589         (reg_single_usage, moved_once): Likewise.
7590         (count_one_set): Add regs argument.
7591         (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
7592         (set_pseudo_multiple_uses): Pass regs pointer.
7593
7594 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
7595
7596         * unroll.c (iteration_info): Subsume into loop_iterations.
7597         * loop.h (loop_info): New field iv.
7598
7599 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
7600
7601         * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
7602         (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
7603         (flow_loops_update): New prototype.
7604         (flow_loops_find): Add flags to prototype.
7605         (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
7606         * flow.c (flow_loop_pre_header_scan): New.
7607         (flow_loop_dump): Dump pre-header root and trace and exit dominators.
7608         (flow_loop_free): Free pre-header root and trace and exit dominators.
7609         (flow_loops_find): New argument flags.
7610         (flow_loops_update): New function.
7611         * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
7612
7613 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
7614
7615         * basic-block.h (split_block, update_bb_for_insn): New prototypes.
7616         * flow.c (split_block, update_bb_for_insn): New functions.
7617
7618 2000-09-11  Richard Henderson  <rth@cygnus.com>
7619
7620         * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
7621
7622 2000-09-11  Richard Henderson  <rth@cygnus.com>
7623
7624         * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
7625         * config/ia64/ia64.c (fr_nonimmediate_operand): New.
7626         (ia64_override_options): Prevent optimizing division for both
7627         latency and throughput.
7628         (rtx_needs_barrier): Handle frcpa.
7629         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
7630         (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
7631         (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
7632         (TARGET_SWITCHES): Add -minline-divide-min-latency and
7633         -minline-divide-max-throughput.
7634         (PREDICATE_CODES): Update.
7635         * config/ia64/ia64.md (extendsidi2): Remove * from f case.
7636         (zero_extendsidi2): Likewise.  Fix typo in f case insn.
7637         (extendsfdf2): Add cases for gr<->fr and fr<->mem.
7638         (extendsftf2): Likewise.
7639         (extenddftf2): Likewise.
7640         (fix_trunctfdi2_alts): New.
7641         (fixuns_trunctfdi2_alts): New.
7642         (madd*4): Rename from madd*3.
7643         (divsi3, modsi3, udivsi3, umodsi3): New.
7644         (divsi3_internal): New.
7645         (divdi3, moddi3, udivdi3, umoddi3): New.
7646         (divdi3_internal_lat, divdi3_internal_thr): New.
7647         (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
7648         (recip_approx): New.
7649
7650 2000-09-11  Alexandre Oliva  <aoliva@redhat.com>
7651
7652         * print-rtl.c (debug_call_placeholder_verbose): New variable.
7653         (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
7654         set.
7655         * integrate.c (copy_rtx_and_substitute): Don't share
7656         LEAF_REG_REMAPpable registers with the inlined function.  Don't
7657         share the function value with calling sequences.
7658
7659 2000-09-11  Jakub Jelinek  <jakub@redhat.com>
7660
7661         * c-decl.c (do_case): Fix a typo.
7662
7663         * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
7664         to a if the comparison is floating mode and not -ffast-math.
7665         * simplify-rtx.c (simplify_ternary_operation): Likewise.
7666
7667 Mon Sep 11 20:07:48 2000  J"orn Rennecke <amylaar@redhat.co.uk>
7668
7669         * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
7670         gen_ic_invalidate_line.
7671
7672 2000-09-11  Philip Blundell  <pb@futuretv.com>
7673
7674         * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
7675
7676 Mon Sep 11 10:48:41 2000  Ulrich Drepper <drepper@redhat.com>
7677
7678         * install.texi (LANGUAGES): Update to include new languages.
7679         * INSTALL: Rebuilt.
7680
7681 2000-09-11  DJ Delorie  <dj@redhat.com>
7682
7683         * gcc.c (main): Don't warn about unused -B prefixes
7684         (unused_prefix_warnings): remove
7685
7686 2000-09-11  Kazu Hirata  <kazu@hxi.com>
7687
7688         * final.c: Fix formatting.
7689
7690         * integrate.c: Fix formatting.
7691
7692 2000-09-11  Geoff Keating  <geoffk@cygnus.com>
7693
7694         * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
7695
7696 2000-09-11  Bernd Schmidt  <bernds@redhat.co.uk>
7697
7698         * reload.c (regno_clobbered_p): Fix thinko in previous change.
7699
7700 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7701
7702         * gcc.1: Document 68hc11 specific options.
7703
7704 2000-09-10  Geoff Keating  <geoffk@cygnus.com>
7705
7706         * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
7707         (TARGET_LONG_DOUBLE_128): Define.
7708         (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
7709         (LONG_DOUBLE_TYPE_SIZE): Redefine.
7710         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7711         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
7712         of __LONG_DOUBLE_128__.
7713         (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
7714         passed.
7715         (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
7716         (CPP_SYSV_DEFAULT_SPEC): Define.
7717         (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
7718         (INIT_TARGET_OPTABS): Define.
7719
7720         * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
7721         (RS6000_UITRUNC): Likewise.
7722         (INIT_TARGET_OPTABS): New macro.
7723         * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
7724         (trunc_defined): Delete.
7725         (output_prolog): Don't output .extern definitions for fp->int
7726         conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
7727         * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
7728         (trunc_defined): Delete.
7729         (RS6000_ITRUNC): Moved to aix.h.
7730         (RS6000_UITRUNC): Likewise.
7731         * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
7732         only emit a libcall.
7733         (fixuns_truncdfsi2): Delete.
7734         (trunc_call): Delete.
7735         (trunc_call_rtl): Delete.
7736
7737 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
7738
7739         * varasm.c (make_decl_rtl): Restore leading star on
7740         DECL_ASSEMBLER_NAME set for decls with an asmspec.
7741
7742 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
7743
7744         * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
7745         won't give a spurious error for '#pragma pack()'.  Simplify
7746         control flow for readability.  'reset' action is not necessary.
7747
7748 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
7749
7750         * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
7751         SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
7752         LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
7753         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
7754
7755         * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
7756         profile.c, sdbout.c, tradcif.y, tree.c:
7757         Include defaults.h if not already included.
7758         Don't define the above macros.
7759
7760         * Makefile.in: Update dependencies.
7761
7762 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
7763
7764         * c-common.h (add_stmt): Change prototype.
7765         (RECHAIN_STMTS): New macro.
7766         (CASE_LABEL_DECL): Likewise.
7767         (genrtl_case_label): Change prototype.
7768         (c_expand_start_case): Remove prototype.
7769         (build_case_label): Change prototype.
7770         (decl_constant_value): Declare.
7771         * c-common.c (check_case_value): Handle C++'s extensions to C
7772         semantics.
7773         * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
7774         field.
7775         * c-parse.in (stmt): Adjust handling of return statements and case
7776         laels.
7777         * c-semantics.c (add_stmt): Return the new statement.
7778         (genrtl_return_stmt): Take the RETURN_STMT as input, not the
7779         returned expression.  Directly generate RTL, rather than calling
7780         c_expand_return.
7781         (genrtl_switch_stmt): Don't call c_expand_start_case.
7782         (build_case_label): Take the LABEL_DECL as input, too.
7783         (genrtl_case_label): Just call add_case_node.
7784         (expand_stmt): Adjust calls to genrtl_return_stmt and
7785         genrtl_case_label.
7786         * c-tree.h (c_expand_start_case): Declare.
7787         * c-typeck.c (decl_constant_value): Give it external linkage.
7788         (c_expand_return): Don't call expand_return or expand_null_return;
7789         use genrtl_return_stmt instead.
7790         * stmt.c (struct nesting): Remove num_ranges field.
7791         (add_case_node): Give it external linkage.
7792         (expand_start_case): Don't set num_ranges.
7793         (expand_start_case_dummy): Don't clear it.
7794         (pushcase): Rely on add_case_node to handle `default' labels.
7795         (add_case_node): Handle `default' labels.
7796         * tree.c (tree_int_cst_compare): New function.
7797         * tree.h (tree_int_cst_compare): Declare.
7798         (add_case_node): Likewise.
7799
7800 2000-09-10  Richard Henderson  <rth@cygnus.com>
7801
7802         * c-parse.in: Revert last change.
7803         (init_reswords): Do not enter disabled keywords into the ridpointers
7804         table, modulo objc weirdness.
7805         (_yylex): Return the canonical spelling for a keyword.
7806
7807 2000-09-10  Philip Blundell  <philb@gnu.org>
7808
7809         * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
7810         * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
7811
7812 Sun Sep 10 14:30:28 EDT 2000  John Wehle  (john@feith.com)
7813
7814         * alias.c (find_base_term): Handle ADDRESSOF.
7815         (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
7816
7817 2000-09-10  Denis Chertykov  <denisc@overta.ru>
7818
7819         * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
7820         outputting templates with many lines.
7821
7822 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7823
7824         * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
7825         to decide whether 64-bit support must be generated.
7826
7827 2000-09-10  Richard Henderson  <rth@cygnus.com>
7828
7829         * c-parse.in (asm patterns): Fix volatile check.
7830
7831 2000-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7832
7833         * cppmacro.c (check_trad_stringification): New function.
7834         (save_expansion): If -Wtraditional, warn about stringification of
7835         macro arguments.
7836
7837 2000-09-11  Michael Hayes  <mhayes@cygnus.com>
7838
7839         * loop.h (struct loop_mem_info): Move from loop.c
7840         (struct loop_info): Add fields store_mems, mems, mems_idx,
7841         mems_allocated, unknown_address_altered,
7842         unknown_constant_address_altered, num_mem_sets, and
7843         first_loop_store_insn.
7844
7845         * loop.c (loop_store_mems): Replace with field in loop_info struct.
7846         (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
7847         (unknown_address_altered, unknown_constant_address_altered): Likewise.
7848         (num_mem_sets): Likewise.
7849         (replace_loop_mems, replace_loop_regs): New.
7850         (struct loop_replace_args): New.
7851         (load_mems): Use replace_loop_mems.
7852         (try_copy_prop): Use replace_loop_regs.
7853         (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
7854
7855 2000-09-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7856
7857         * configure.in: Recognize m6811-elf and m6812-elf.
7858         * configure: Regenerate.
7859
7860 2000-09-09  Geoff Keating  <geoffk@cygnus.com>
7861
7862         * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
7863         to operand_subword.
7864
7865 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
7866
7867         * loop.c (struct movables): New.
7868         (num_movables): Move into struct movables.
7869         (the_movables): Change type to struct movables.
7870         (ignore_some_movables): Change struct movable arg to struct movables.
7871         (force_movables, combine_movables, regs_match_p): Likewise.
7872         (rtx_equal_for_loop_p, move_movables): Likewise.
7873         (scan_loop): Change movables to be of type struct movables.
7874         Replace last_movable with field in movables structure.
7875
7876 2000-09-08  Zack Weinberg  <zack@wolery.cumb.org>
7877
7878         * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
7879         (init_pragma): Avoid warning if pfile happens to be unused.
7880         * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
7881         define init_pragma to nothing.  Always prototype
7882         init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.
7883
7884         * c-lex.c (process_directive): Always call dispatch_pragma.
7885         Initialize entering_c_header to 0.
7886
7887 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7888
7889         * config/m68hc11/m68hc11.md: New file, machine description for
7890         68HC11 & 68HC12.
7891         * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
7892         * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
7893         * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
7894         * config/m68hc11/m68hc11-protos.h: New file.
7895         * config/m68hc11/m68hc11-crt0.S: New file, startup code.
7896         * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
7897         * config/m68hc11/xm-m68hc11.h: New file, target defs.
7898         * config/m68hc11/larith.asm: New file, libgcc routines.
7899
7900 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7901
7902         * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
7903         (FPBIT_FUNCS): Add _usi_to_sf.
7904         * config/fp-bit.c (usi_to_float): New function.
7905         * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
7906         (usi_to_float): Add appropriate #define.
7907
7908 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
7909
7910         * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
7911         new functions.
7912         * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
7913         * i386.md (attr "type"): Add sse and mmx types.
7914         (attr "memory"): Handle them without a crash.
7915         (movsi_1, movdi_2): Allow MMX regs.
7916         (movdi splits): Don't split moves involving MMX regs.
7917         (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
7918         (movv4sf_internal, movv4si_internal, movv8qi_internal,
7919         movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
7920         movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
7921         sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
7922         sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
7923         sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
7924         addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
7925         divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
7926         sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
7927         sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
7928         vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
7929         smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
7930         cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
7931         addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
7932         subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
7933         mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
7934         mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
7935         mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
7936         eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
7937         smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
7938         lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
7939         mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
7940         mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
7941         mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
7942         mmx_clrdi): New patterns.
7943
7944 2000-09-08  Richard Earnshaw  <rearnsha@arm.com>
7945
7946         * arm.c: Don't include tm.h directly.
7947
7948 Fri Sep  8 14:34:56 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7949
7950         * recog.c (validate_replace_rtx_1): Fix confusion about equality
7951         testing; simplify subregs of constants and nested subregs.
7952
7953 2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
7954
7955         * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
7956
7957 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
7958
7959         * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
7960         VEC_CONCAT.
7961         * rtl.texi (description of USE): Add note about possible pitfalls
7962         with this rtx.
7963         From Richard Henderson:
7964         * reload1.c (choose_reload_regs): Compute need_mode properly.
7965
7966 2000-09-07  Richard Henderson  <rth@cygnus.com>
7967
7968         * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
7969         (__modsi3, __umodsi3): Likewise.
7970         (__udivsi3): Likewise.  Normalize the TFmode values.
7971
7972 2000-09-07  Geoff Keating  <geoffk@cygnus.com>
7973
7974         * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
7975         with a prototype.
7976         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
7977         warning.
7978
7979 Fri Sep  8 03:26:38 2000  J"orn Rennecke <amylaar@redhat.co.uk>
7980
7981         * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
7982         (cmpeqdi_t): Add output pattern.
7983         (cmpeqdi_t+1): Don't split when not optimizing.
7984         Restore proper splitting operation.
7985
7986 2000-09-07  Richard Henderson  <rth@cygnus.com>
7987
7988         * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
7989         do not call dispatch_pragma.
7990
7991 2000-09-07  Jim Wilson  <wilson@cygnus.com>
7992
7993         * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
7994         to CLASS_CANNOT_CHANGE_MODE.
7995         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
7996         mode classes are different.
7997
7998 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
7999
8000         * cpplib.h (struct cpp_options): Add user_label_prefix member,
8001         left out of commit which removed cppulp.c.
8002
8003 2000-09-07  Richard Henderson  <rth@cygnus.com>
8004
8005         * bb-reorder.c (fixup_reorder_chain): Add jump in new block
8006         after switch for CASE_DROPS_THROUGH.
8007
8008 2000-09-07  Richard Henderson  <rth@cygnus.com>
8009
8010         * loop.c (strength_reduce): Call check_ext_dependant_givs.
8011         Properly extend the biv initial value for the giv.
8012         (record_biv): Zero ext_dependant.
8013         (record_giv): New argument ext_val.  Update all callers.
8014         (general_induction_var): Likewise.
8015         (consec_sets_giv): Likewise.
8016         (simplify_giv_expr): Likewise.  Fill in ext_val if we find
8017         a sign-extend, zero-extend, or truncate.
8018         (combine_givs_p): Make sure modes are compatible.
8019         (check_ext_dependant_givs): New.
8020         (extend_value_for_giv): New.
8021         * loop.h (struct induction): Add ext_dependant.
8022         * unroll.c (iteration_info): Extend the biv initial value for the giv.
8023         (find_splittable_givs): Likewise.
8024         (final_giv_value): Likewise.
8025
8026 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
8027
8028         * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
8029         REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
8030         definitions from cpplib.h.
8031         * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
8032         already done it.
8033         * tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
8034         documentation for REGISTER_TARGET_PRAGMAS.
8035
8036         * c-lex.c: Include cpplib.h before c-pragma.h.  Define a
8037         default-pragma callback to implement -Wunknown-pragmas if
8038         USE_CPPLIB.
8039         * c-parse.in: Move all includes to top of file.
8040         * c-pragma.c: Include cpplib.h before c-pragma.h.  Include
8041         tm_p.h.
8042         (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
8043         warning.
8044         (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
8045
8046         * arm.h, arm-protos.h, arm.c,
8047           c4x.h, c4x-protos.h, c4x.c,
8048           h8300.h, h8300-protos.h, h8300.c,
8049           i370.h, i370-protos.h, i370.c,
8050           i960.h, i960-protos.h, i960.c,
8051           sh.h, sh-protos.h, sh.c,
8052           v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
8053         pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
8054
8055         * d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
8056         multiple include guard.
8057         * i370.md (untyped_call): Use GEN_CALL.
8058         (umodsi3): Remove unused variable.
8059         * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
8060         * v850.c (output_move_single, output_move_double): Constify
8061         return value.
8062         (print_operand): Constify a char *.
8063         * v850.h (struct small_memory_info): Constify name member.
8064
8065 2000-09-07  Kazu Hirata  <kazu@hxi.com>
8066
8067         * config/h8300.h: Fix comment typos.
8068         * config/h8300/h8300.md: Likewise.
8069         * config/h8300/lib1funcs.asm: Likewise.
8070
8071 Thu 07-Sep-2000 21:29:00 BST  Neil Booth  <NeilB@earthling.net>
8072
8073         * Makefile.in: Remove references to cppulp.{c,o}.
8074         * cppinit.c (initialize_builtins, cpp_start_read,
8075         cpp_handle_option): Update to use cpp_options structure.
8076         * cppulp.c: Remove.
8077
8078 2000-09-07  Joseph S. Myers  <jsm28@cam.ac.uk>
8079
8080         * c-common.c (time_char_table): Allow %#b and %#h.
8081
8082 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8083
8084         * reorg.c (find_end_label): If the basic block reorder pass moves the
8085         return insn to some other place try to locate it again and put our
8086         end_of_function_label there.
8087         * reorg.c (relax_delay_slots): Check if find_end_label created a
8088         new label that invalidates the current optimazation.
8089
8090 2000-09-07  Catherine Moore  <clm@redhat.com>
8091
8092         * unroll.c (unroll_loop): Check for unconditional jumps
8093         to loop continuation.  Delete if n_iterations is 1.
8094         (ujump_to_loop_cont): New routine.
8095
8096 2000-09-07  Bernd Schmidt  <bernds@redhat.co.uk>
8097
8098         * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
8099         MODE_VECTOR_FLOAT.
8100         * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
8101         to handle multiword modes correctly.  All callers and the declaration
8102         changed.
8103
8104 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
8105
8106         * c-common.h (prep_stmt): Declare.
8107         (lang_expand_stmt): Likewise.
8108         * c-decl.c (lang_expand_stmt): Remove.
8109         * c-semantics.c (lang_expand_stmt): Define.
8110         (prep_stmt): New function.
8111         (expand_stmt): Handle common statement types here.
8112
8113 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
8114
8115         * configure.in (sh-*-linux*): Added.
8116         * configure: Rebuilt.
8117         * config/sh/t-linux: New file.
8118         * config/sh/sh.h (USERMODE_BIT): Define.
8119         (TARGET_USERMODE): Likewise.
8120         (TARGET_SWITCHES): New switches for the bits above.
8121         (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
8122         * config/sh/linux.h: New file.
8123         * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
8124         underscore on linux.
8125         (L_sdivsi3, L_udivsi3): Define for linux.
8126         (L_ic_invalidate): Define.
8127         * invoke.texi (SH Options): Document -musermode.
8128
8129 2000-09-07  Alexandre Oliva  <aoliva@redhat.com>
8130
8131         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
8132         CSE unless generating PIC.
8133
8134         * config/sh/sh.md (symPLT_label2reg): Force the initialization of
8135         the PIC register.
8136
8137 2000-09-06  H.J. Lu  (hjl@gnu.org)
8138
8139         * Makefile.in (clean_s1): Depend on stage_b.
8140         (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
8141         stage2. They are used for "make compare".
8142
8143 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
8144
8145         Move statement-tree facilities from C++ to C front-end.
8146         * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
8147         (void_zero_node): New macro.
8148         (struct stmt_tree_s): New type.
8149         (stmt_tree): New typedef.
8150         (struct language_function): New type.
8151         (last_tree): New macro.
8152         (last_expr_type): Likewise.
8153         (walk_tree_fn): New typedef.
8154         (current_stmt_tree): New function.
8155         (begin_stmt_tree): Likewise.
8156         (add_stmt): Likewise.
8157         (finish_stmt_tree): Likewise.
8158         (statement_code_p): Likewise.
8159         (lang_statement_code_p): New variable.
8160         (walk_stmt_tree): New function.
8161         (STMT_IS_FULL_EXPR_P): New macro.
8162         * c-common.c (lang_statement_code_p): New variable.
8163         (c_common_nodes_and_builtins): Initialize void_zero_node.
8164         (statement_code_p): New function.
8165         (walk_stmt_tree): Likewise.
8166         * c-decl.c (language_function): Rename to ...
8167         (c_language_function): ... this.  Include language_function.
8168         (push_c_function_context): Adjust accordingly.
8169         (pop_c_function_context): Likewise.
8170         (mark_c_function_context): Likewise.
8171         (current_stmt_tree): Define.
8172         * c-semantics.c (begin_stmt_tree): New function.
8173         (add_stmt): Likewise.
8174         (prune_unused_decls): Likewise.
8175         (finish_stmt_tree): Likewise.
8176
8177 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8178
8179         * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
8180
8181 2000-09-06  Kazu Hirata  <kazu@hxi.com>
8182
8183         * calls.c: Fix formatting.
8184
8185 2000-09-06  Graham Stott  <grahams@cygnus.co.uk>
8186
8187         * config/i386/i386.h (ADDRESS_COST): Fix typo.
8188
8189 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
8190
8191         Integrated preprocessor.
8192
8193         * Makefile.in: Remove all references to c-parse.gperf,
8194         c-gperf.h, and c-parse.h.  Remove -d from yacc command line
8195         generating c-parse.c.  Update dependencies.
8196         * c-parse.gperf, c-gperf.h: Delete.
8197
8198         * c-common.c: Don't define parse_options, cpp_token, yy_cur,
8199         yy_lim, or yy_get_token.  Don't define get_directive_line if
8200         USE_CPPLIB.
8201         * c-common.h: Add multiple include guard.  Define RID values
8202         for every keyword in C, C++, and Objective C.  Put all the
8203         modifiers first.
8204         (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
8205         * c-decl.c (c_decode_option): Handle -lang-objc here.
8206         (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
8207         (grokdeclarator): Adjust for new RID scheme.
8208         (extract_interface_info): New stub.
8209         * c-lang.c: Don't declare yy_cur or parse_options.
8210         (lang_init_options): Call cpp_init.  Don't call
8211         cpp_options_init.
8212         (lang_init): Don't call check_newline if USE_CPPLIB.
8213
8214         * c-lex.c: Don't include c-parse.h.  Do include timevar.h.
8215         Elide lots of unnecessary code if USE_CPPLIB.  Delete code
8216         rendered unnecessary by new architecture.  Move routines not
8217         shared with C++ to c-parse.in.  Maintain a local idea of the
8218         line number.    Handle C++ as well as C.
8219         [USE_CPPLIB]: Declare and register callbacks for #ident and
8220         for entering/leaving files.
8221         (init_c_lex, c_lex): Are now the entry points to this file.
8222         (check_newline): Break out directive handling to
8223         process_directive.
8224         (read_ucs, is_extended_char, utf8_extend_token): Moved here
8225         from C++ front end.
8226         (readescape, parse_float): Overhaul.
8227         (lex_number, lex_string, lex_charconst): Break out of c_lex
8228         (n'ee yylex).
8229         (get_fileinfo, update_header_times, dump_one_header,
8230         dump_time_statistics): New and/or moved here from C++.
8231         Support per-file data needed by C++ and per-header timing
8232         statistics (C++ only, at the moment).
8233         * c-lex.h: Update prototypes.  Add multiple include guard.
8234         * c-tree.h (struct lang_identifier): Add rid_code field.
8235         (C_IS_RESERVED_WORD, C_RID_CODE): New.
8236
8237         * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
8238         reinit_parse_for_function and/or position_after_white_space.
8239         (save_filename, save_lineno): Look ahead before saving.
8240         (label -> identifier ':'): Save file and line before shifting ':'.
8241         (reservedwords): No need to call get_identifier.
8242         (init_parse, finish_parse, yyerror, yylex, yyprint,
8243         make_pointer_declarator): Are now here for C/ObjC.
8244         (rid_to_yy): Conversion table from RID constants to Yacc codes.
8245
8246         * c-pragma.c: Rewrite parsing logic to fit with cpplib's
8247         #pragma registry.  Provide dummy implementation of that
8248         interface if !USE_CPPLIB.
8249         * c-pragma.h: Update to match.
8250
8251         * flags.h: Add multiple include guard.
8252         (flag_detailed_statistics): Moved here from C++.
8253         * toplev.c: Define flag_detailed_statistics.
8254
8255         * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
8256         #if USE_CPPLIB.
8257         * timevar.def (TV_CPP, TV_LEX): New.
8258         * timevar.h: Add multiple include guard.
8259
8260         * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
8261         #if USE_CPPLIB.
8262         * objc/objc-act.c: Don't mention yy_cur or parse_options.
8263         Initialize cpplib properly.  Force lineno to 0 after first
8264         call to check_newline.  Don't handle -lang-objc here.
8265         Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
8266
8267 2000-09-06  David Edelsohn  <edelsohn@gnu.org>
8268
8269         * rs6000.md: Correct function unit definitions for cr_logical and
8270         mtjmpr.
8271         (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
8272         and use portable method for >=0 and floating point >=.  Remove
8273         associated matchers.
8274
8275 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
8276
8277         * extend.texi: Mark named return value extension as deprecated.
8278
8279 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
8280
8281         * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
8282         the result.
8283
8284 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
8285
8286         * toplev.c (display_help): Fix thinko in documentation.
8287
8288         * diagnostic.h (output_buffer::indent_skip): New fields.
8289         (output_indentation): New macro.
8290
8291         * diagnostic.c (output_indent): New function.
8292         (output_set_prefix, clear_diagnostic_info): Use.
8293         (output_emit_prefix): Predict future indentation.
8294
8295 2000-09-06  DJ Delorie  <dj@redhat.com>
8296
8297         * Makefile.in (stage_*): add more dependencies to ensure parallel
8298         builds build correctly
8299
8300 2000-09-06  Manfred Hollstein  <manfredh@redhat.com>
8301
8302         * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
8303         not bootstrap-lean_f.
8304
8305 2000-09-06  Andreas Schwab  <schwab@suse.de>
8306
8307         * mklibgcc.in: Emit rule for libgcc-stage-start.
8308         * Makefile.in (stage1-start, stage2-start, stage3-start,
8309         stage4-start): Don't handle libgcc here, use libgcc.mk instead.
8310
8311 2000-09-06  Bernd Schmidt  <bernds@redhat.co.uk>
8312
8313         * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
8314         (update_equiv_regs): Likewise, except for the mn10200 kludge.
8315         (combine_regs): Likewise.
8316
8317         * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
8318         * cse.c: Include "basic-block.h".
8319         (struct table_elt): New field REGCOST.
8320         (CHEAP_REG): Delete macro.
8321         (COST): Return 0 for REGs.
8322         (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
8323         (notreg_cost): Return 0 for appropriate SUBREGs.
8324         (COSTS_N_INSNS): Return N * 2.
8325         (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
8326         SUBREGs.
8327         (CHEAPER): Use new function preferrable.
8328         (insert): Initialize REGCOST member.
8329         (find_best_addr): Use approx_reg_cost for estimation of register
8330         usage.
8331         (cse_insn): Likewise.
8332         * loop.c (iv_add_mult_cost): New function.
8333         (add_cost, shift_cost, mult_cost): Delete variables.
8334         (init_loop): Don't initialize add_cost; reduce copy_cost by half.
8335         (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
8336         Make code that detects autoinc opportunities slightly less optimistic.
8337         (simplify_giv_expr): If expression contains other reg that is also a
8338         giv, only increment benefit if this is the only use of that reg.
8339         (consec_sets_giv): Take that change into account.
8340         (combine_givs): Slightly more verbose output.
8341
8342         * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
8343         not the cost of an equivalent shift.
8344         * sh-protos.h (addsubcosts): Declare.
8345         * sh.c (addsubcosts): New function.
8346         * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
8347         (RTX_COSTS): Tweak.  Use addsubcosts.
8348         (ADDRESS_COST): Return higher cost for reg+reg addressing.
8349
8350 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
8351
8352         * config/rs6000/rs6000.c (validate_condition_mode): New function.
8353         (branch_comparison_operator): Call validate_condition_mode to
8354         abort rather than returning 0.
8355         (branch_positive_comparison_operator): New function.
8356         (scc_comparison_operator): Call validate_condition_mode to abort
8357         rather than returning 0.
8358         (ccr_bit): Call validate_condition_mode.  Update for
8359         new branch scheme.
8360         (print_operand): Delete %C modifier.  Update %E case
8361         to use EQ bit not SO bit.
8362         (rs6000_reverse_condition): New function.
8363         (rs6000_generate_compare): New function.
8364         (rs6000_emit_sCOND): New function.
8365         (rs6000_emit_cbranch): New function.
8366         (output_cbranch): The length of a long branch insn is
8367         now only 8 bytes.  Add validate_condition_mode.  Use
8368         rs6000_reverse_condition.  Remove cror generation.
8369
8370         * config/rs6000/rs6000.h: Update comments.
8371         (PREDICATE_CODES): Add new predicate.  Update codes used
8372         by branch_comparison_operator and scc_comparison_operator.
8373         * config/rs6000/rs6000-protos.h: Add prototypes for
8374         new external functions.
8375         * config/rs6000/rs6000.md: Add new scheduling parameters
8376         for cr_logical instructions.  Change length of branch
8377         instructions.
8378         (bCOND patterns): Call rs6000_emit_cbranch.
8379         (sCOND patterns): Call rs6000_emit_sCOND.
8380         (branch patterns): Change lengths to 4.
8381         (cr logical patterns): New.
8382
8383 2000-09-06  Richard Henderson  <rth@cygnus.com>
8384
8385         * config/i386/i386.md (call_pop): Fix test for setting
8386         current_function_uses_pic_offset_table.
8387         (call, call_value_pop, call_value): Likewise.
8388
8389 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
8390
8391         * timevar.c (timevar_add): Delete.
8392         (timevar_get): Also count time since the selected timer was
8393         last updated.  Do not examine the timevar stack if the
8394         selected timer is standalone.
8395
8396 2000-09-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8397
8398         * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
8399
8400 2000-09-05  Jason Merrill  <jason@redhat.com>
8401
8402         * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
8403         for 'extern' arrays.
8404
8405 2000-09-05  Richard Henderson  <rth@cygnus.com>
8406
8407         * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
8408         Eliminate final copy from non-trapping case.
8409         (__divdf3, __divsf3): Likewise.
8410
8411 2000-09-05  Richard Henderson  <rth@cygnus.com>
8412
8413         * config/ia64/ia64.md (mulhi3): Fix typo last change.
8414         * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
8415
8416 2000-09-03  Donn Terry  <donn@interix.com>,  Laurynas Biveinis  <lauras@softhome.net>
8417
8418         * Makefile.in: Restructure bootstrap stages to allow clean
8419         restart after failure.
8420
8421 2000-09-05  Richard Henderson  <rth@cygnus.com>
8422
8423         * config/ia64.md (movsi and movdi patterns): Allow moves from
8424         8-bit constants to AR registers.
8425
8426 2000-09-05  Richard Henderson  <rth@cygnus.com>
8427
8428         * config/ia64/ia64.md (mulhi3): New.
8429
8430 2000-09-05  Richard Henderson  <rth@cygnus.com>
8431
8432         * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
8433         * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
8434         Optimization Guide, minimum latency alternative.
8435         (__moddi3, __udivdi3, __umoddi3): Likewise.
8436         (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
8437
8438 2000-09-05  Bruce Korb  <bkorb@gnu.org>
8439
8440         * fixinc/fixincl.c (load_file): always read header files
8441         with sizes that are a multiple of the page size.
8442         & use libiberty's getpagesize for determining that.
8443
8444 2000-09-05  Alexandre Oliva  <aoliva@redhat.com>
8445
8446         * gcse.c (hash_string_1): Add prototype.
8447         * cse.c (canon_hash_string): Likewise.
8448
8449 2000-09-04  Craig Newell  <CraigN@ieee.org>
8450
8451         * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
8452
8453 2000-09-04  Andreas Schwab  <schwab@suse.de>
8454
8455         * Makefile.in (STAGESTUFF): Remove libgcc.
8456         (stage1-start, stage2-start, stage3-start): Copy the contents of
8457         the libgcc directory explicitly.
8458         (mostlyclean): Clean libgcc.
8459
8460 2000-09-04  Andrew Haley  <aph@redhat.com>
8461
8462         * dwarf2out.c: (stack_adjust_offset): New prototype.
8463
8464 Wed Jan  1 00:23:59 MET 1997  Jan Hubicka  <jh@suse.cz>
8465
8466         * combine.c (make_extraction): Fix rtx_cost comparison to
8467         match the comment.
8468
8469 Wed Jan  1 00:17:32 MET 1997  Jan Hubicka  <jh@suse.cz>
8470
8471         * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
8472         umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
8473         Add '*' to insn pattern name.
8474
8475 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
8476
8477         * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
8478         use posn - 1 to index into tokens array.
8479         (maybe_paste_with_next): Adjust caller.
8480
8481 2000-09-03  Geoff Keating  <geoffk@cygnus.com>
8482
8483         * invoke.texi: Document the -mvxworks option for rs6000 ELF.
8484
8485         * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
8486         (REGNO_REG_CLASS): Use symbolic register
8487         names.
8488
8489 2000-09-03  Richard Earnshaw  <rearnsha@arm.com>
8490
8491         * arm.c (final_prescan_insn): If the form of a jump insn isn't
8492         recognized, don't try to conditionally execute it.
8493
8494 Sun Sep  3 13:10:56 2000  Denis Chertykov  <denisc@overta.ru>
8495
8496         * config/avr/avr.md ("*tablejump_lib"): New pattern.
8497         (call_value_insn): Right length claculation.
8498         (call_insn): Likewise.
8499
8500 2000-09-02  Marek Michalkiewicz  <marekm@linux.org.pl>
8501
8502         * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
8503         gas_output_limited_string, gas_output_ascii, output_movqi,
8504         output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
8505         out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
8506         out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
8507         ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
8508         lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
8509         out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
8510         Add "const" as needed to remove warnings.
8511
8512         * config/avr/avr.c (avr_override_options, avr_init_once,
8513         function_prologue, function_epilogue, frame_pointer_required_p,
8514         class_likely_spilled_p, order_regs_for_local_alloc,
8515         avr_address_cost, avr_ret_register): Use K&R style arguments.
8516         (initial_elimination_offset, gas_output_limited_string):
8517         Remove ATTRIBUTE_UNUSED from the used arguments.
8518         (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
8519         Use local variables src, dest, base to access operands[].
8520         Rename reg_dest to reg_src if that's what it is.
8521         (output_movhi, output_movsisf): Optimize loading 8-bit immediate
8522         constants to LD_REGS if reg_was_0.
8523         (output_reload_insisf): Change arg 3 to insn length and set it.
8524         (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
8525         access to 16-bit I/O register pairs.
8526         (avr_address_cost): Lower cost for the above case.
8527         (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
8528         may be clobbered, also for LD_REGS.
8529         (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
8530         with a CONST_INT.
8531
8532         * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
8533
8534         * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
8535         macro to test_hard_reg_class function.
8536         (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
8537         for loading immediate constants to LD_REGS.
8538         (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
8539
8540
8541 Sat Sep  2 13:58:23 2000  Marek Michalkiewicz <marekm@linux.org.pl>
8542
8543         * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
8544         * config/avr/libgcc.S: Lost part of the previous patch.
8545
8546 2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8547
8548         * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
8549         object before calling pthread_mutex_init.
8550
8551 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
8552
8553         * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
8554         config/sh/crtn.asm: New files.
8555         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
8556         (crt1.o, crti.o, crtn.o): New targets.
8557         * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
8558         sh/t-elf.
8559         * configure: Rebuilt.
8560         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8561         STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
8562         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8563         Undefine for config/elfos.h to redefine.
8564         (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
8565
8566 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>, Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8567
8568         * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
8569         legitimize_pic_address, output_pic_addr_const): Declare.
8570         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
8571         (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
8572         (TARGET_SWITCHES): New switch -mprefergot.
8573         (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
8574         (PIC_OFFSET_TABLE_REGNUM): Define.
8575         (GOT_SYMBOL_TABLE): Likewise.
8576         (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
8577         (ENCODE_SECTION_INFO): Define.
8578         (FINALIZE_PIC): New macros.
8579         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
8580         (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
8581         * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
8582         (prepare_move_operands): Call emit_pic_move or
8583         emit_pic_const_move if appropriate.
8584         (output_far_jump): For PIC, use braf and output long offset.
8585         (machine_dependent_reorg):
8586         (sh_expand_prologue): Save and initialize the PIC register.
8587         (sh_expand_epilogue): Restore it.
8588         (initial_elimination_offset): Account for it.
8589         (nonpic_symbol_mentioned_p): New function.
8590         (legitimize_pic_address): Likewise.
8591         (output_pic_addr_const): Likewise.
8592         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
8593         (call, call_value): Use them.
8594         (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
8595         symPLT_label2reg): New expands.
8596         * invoke.texi (SH Options): Document -mprefergot.
8597
8598 2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
8599
8600         * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
8601         * gcse.c (hash_string_1): New function.
8602         (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
8603         (expr_equiv_p) <ASM_OPERANDS>: Likewise.
8604         * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
8605         (canon_hash_string): New function.
8606         (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
8607         (exp_equiv_p) <ASM_OPERANDS>: Likewise.
8608         (fold_rtx): Use ASM_OPERANDS accessor macros.
8609         * emit-rtl.c (copy_insn_1): Likewise.
8610         * integrate.c (copy_rtx_and_substitute): Likewise.
8611         * stmt.c (expand_asm_operands): Likewise.  Give an
8612         ASM_OPERANDS rtx the mode of the output reg being set from it.
8613
8614 2000-09-01  Fred Fish  <fnf@be.com>
8615
8616         * fix-header.c (write_rbrac): Add putc and getc to list of
8617         functions to protect against prior definition as a macro.
8618
8619 2000-09-01  Joseph S. Myers  <jsm28@cam.ac.uk>
8620
8621         * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
8622         (c_size_type_node): Define.
8623         * c-decl.c (init_decl_processing): Initialize c_size_type_node.
8624         * c-common.c (enum format_lengths, enum format_std_version,
8625         format_length_info, format_type_detail, BADLEN, NOLENGTHS,
8626         format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
8627         T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
8628         T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
8629         T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
8630         TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
8631         format_types): Define.
8632         (format_char_info, print_char_table, scan_char_table,
8633         time_char_table): Rearrange for new organization of information
8634         about format length modifiers and standard versions.
8635         (T_ST): Redefine to use c_size_type_node.
8636         (check_format_info): Obtain information about length modifiers and
8637         standard versions from tables.  Adjust warning message wordings.
8638         Use the name from the user's program for `ll' and `hh' length
8639         modifiers in warning messages.  Use more informative names for
8640         wanted types where available (for wchar_t, wint_t, size_t, signed
8641         size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
8642
8643 2000-09-01  Jim Wilson  <wilson@cygnus.com>
8644
8645         * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
8646         * combine.c (distribute_notes): Handle REG_NORETURN.
8647         * rtl.c (reg_note_name): Add REG_NORETURN.
8648         * rtl.h (enum reg_note): Likewise.
8649
8650         * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
8651         ia64_file_start.
8652         * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
8653         (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
8654         (emit_predicate_relation_info): Handle conditional calls with
8655         REG_NORETURN.
8656         * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
8657         instead of ia64_file_start.
8658         * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
8659         * config/ia64/ia64.md (safe_across_calls_all,
8660         save_across_calls_normal): New patterns.
8661
8662         * loop.c (check_final_value): Check for biv use before checking for
8663         giv use.  Check for both biv and giv uses.  Always set last_giv_use
8664         if there is a giv use.
8665
8666 2000-09-01  Richard Henderson  <rth@cygnus.com>
8667
8668         * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
8669         (madddi3): Likewise.
8670         (maddsi3): New.
8671
8672 Fri Sep  1 10:59:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8673
8674         * expr.c (clear_storage): Don't use emit_move_insn unless
8675         either BLKmode or proper size.
8676         (store_constructor): Don't call clear_storage if REG of wrong size.
8677
8678         * flow.c (init_propagate_block_info): Don't mark frame dead at end
8679         of function if returns wiht stack pointer depressed.
8680
8681 2000-09-01  Andrew Haley  <aph@redhat.com>
8682
8683         * dwarf2out.c (stack_adjust_offset): New function.
8684         (dwarf2out_stack_adjust): Break out stack adjust logic into
8685         new stack_adjust_offset function.  Look inside parallels and
8686         sequences for stack adjustments.
8687
8688 2000-08-31  Jeff Law <law@cygnus.com>
8689
8690         * arm.md: Use no_new_pseudos to determine when it is safe
8691         to create new pseudo registers.
8692
8693         * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
8694         when we can safely allocate new registers.
8695
8696 2000-08-31  Geoffrey Keating  <geoffk@cygnus.com>
8697
8698         * stmt.c (expand_asm_operands): Twiddle generating_concat_p
8699         so that CONCATs are not generated for ASMs.
8700         * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
8701         not generating_concat_p.
8702         * function.c (pop_function_context_from): Reset
8703         generating_concat_p.
8704         (prepare_function_start): Likewise.
8705         * rtl.c (generating_concat_p): Define.
8706         * rtl.h (generating_concat_p): Declare.
8707         * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
8708
8709 2000-08-22  Philipp Thomas  <pthomas@suse.de>
8710             Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
8711
8712         * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
8713         for translation.
8714
8715 2000-08-30  Greg McGary  <greg@mcgary.org>
8716
8717         * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
8718         * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
8719         * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
8720
8721 2000-08-30  Greg McGary  <greg@mcgary.org>
8722
8723         * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
8724         (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
8725         (TREE_INT_CST): New macro.
8726         * varasm.c (const_hash, compare_constant_1, record_constant_1):
8727         Use new macro TREE_INT_CST.
8728
8729 Wed 30-Aug-2000 23:18:59 BST  Neil Booth  <NeilB@earthling.net>
8730
8731         * contrib.texi: Add self.
8732
8733 2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
8734
8735         * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
8736         (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
8737         and labels.
8738
8739 2000-08-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8740
8741         * fixinc/gnu-regex.c: Don't define `const'.
8742
8743 Tue Aug 29 22:09:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8744
8745         * expr.c (store_constructor): Allow variable bounds of array type.
8746         (expand_expr): Don't blow up if type is ERROR_MARK.
8747         * varasm.c (output_constructor): Don't access lower bound of array
8748         type unless need it if index is supplied (so it can be a variable
8749         if no index is supplied).
8750         Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
8751         Other minor cleanups.
8752
8753 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8754
8755         * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
8756         for compilations in stage 1 and subsequent stages, respectively.
8757         * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
8758         * configure: Rebuilt.
8759         * x-vax, x-vax-gcc: Deleted.
8760
8761 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
8762
8763         * c-common.c (declare_function_name): Use func_id_node,
8764         function_id_node, and pretty_function_id_node.  Do not make
8765         __func__ visible at file scope.
8766         * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
8767         CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
8768         (function_id_node, pretty_function_id_node, func_id_node): New
8769         macros.
8770         * c-decl.c (init_decl_processing): Initialize function_id_node,
8771         pretty_function_id_node, and func_id_node.
8772         (c_make_fname_decl): Correct comment.
8773
8774         * tree.h (struct tree_identifier): Constify pointer member.
8775
8776         * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
8777         * c-pragma.h (struct weak_syms): Constify name and value members.
8778         (add_weak): Constify arguments.
8779
8780         * calls.c (special_function_p): Constify a char *.
8781         (expand_call): Remove variable which is initialized and then
8782         never used.
8783         * dependence.c (struct def_use, struct induction, struct subscript):
8784         Constify 'variable' member.
8785         (get_low_bound, have_induction_variable): Constify char * argument.
8786         (find_induction_variable): Add braces to avoid dangling else.
8787         (classify_dependence): Constify char * arrays.
8788         * profile.c (output_func_start_profiler): Constify a char *.
8789         * stor-layout.c (finalize_record_size): Constify a char *.
8790         * tree.c (is_attribute_p): Constify a char *.
8791         * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
8792
8793         * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
8794         for comprehensibility.  Do not call get_identifier if we did
8795         not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
8796         create temporary string constants, not ggc_alloc_string.  No
8797         need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
8798         char * to hold IDENTIFIER_POINTERs.
8799
8800 2000-08-29  Richard Henderson  <rth@cygnus.com>
8801
8802         * config/ia64/ia64.md (muldi3): Use grfr_register_operand
8803         for the inputs.
8804
8805 2000-08-29  Richard Henderson  <rth@cygnus.com>
8806
8807         * reload.c (push_secondary_reload): Allow class == reload_class
8808         if we're using a reload_in/out pattern.
8809
8810         * config/ia64/ia64.md (reload_inti): Use a TImode scratch.  Use
8811         the half that does not conflict with the reload register.
8812         (reload_outti): Likewise.
8813
8814 2000-08-29  Kazu Hirata  <kazu@hxi.com>
8815
8816         * reload.c: Fix formatting.
8817
8818         * stmt.c: Fix formatting.
8819
8820         * gcc.c: Fix formatting.
8821
8822 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
8823
8824         * flags.h (time_report, mem_report): New global flags.
8825         * toplev.c: Define time_report and mem_report.
8826         (f_options): Add -ftime-report and -fmem-report.
8827         (compile_file): Turn on time_report if quiet_flag is off.
8828         Call ggc_print_statistics at very end if mem_report is on.
8829         * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
8830
8831         * ggc-common.c (ggc_print_statistics): Rename to
8832         ggc_print_common_statistics; all callers changed.  Scale
8833         quantities above 10K to kilobytes and above 10M to megabytes.
8834         * ggc-page.c (ggc_page_print_statistics): Rename to
8835         ggc_print_statistics.  Report memory consumed by internal data
8836         structures for each allocation bucket.  Scale quantities above
8837         10K to kilobytes and above 10M to megabytes.
8838         * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
8839         Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
8840         Define tally_leaves always.
8841         (ggc_print_statistics): New function.
8842         * ggc.h: Adjust for renamed functions.
8843
8844 Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
8845
8846         * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
8847         output_movsisf instead of which_alternative.
8848
8849         * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
8850
8851 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
8852
8853         * config/avr/avr-protos.h: (avr_output_ascii) Removed.
8854         (avr_progmem_p): New prototype.
8855         (output_movsisf): Prototype declaration changed.
8856         (output_movqi): New prototype.
8857         (output_movhi): New prototype.
8858         (call_insn_operand): Likewise.
8859         (final_prescan_insn): Likewise.
8860         (avr_simplify_comparision_p): Likewise.
8861         (avr_normalize_condition): Likewise.
8862         (compare_eq_p): Likewise.
8863         (out_shift_with_cnt): Likewise.
8864         (const_int_pow2_p): Likewise.
8865         (output_reload_inhi): Prototype declaration changed.
8866
8867         * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
8868         (ldi_reg_rtx): New. rtx for r31.
8869         (avr_init_stack): Initialize as "__stack".
8870         (function_prologue): Use it.
8871         Replace all TARGET_ENHANCED with AVR_ENHANCED.
8872         (avr_mcu_name): Initialize as "avr2".
8873         (avr_enhanced_p, avr_mega_p): New variables.
8874         (mcu_types, avr_override_options): Handle all known MCU types.
8875         Also handle avr1 (only preprocess, assemble and link).
8876         (print_operand): Using of `%K' in output template removed.
8877         (out_movqi_r_mr): Optimized.
8878         (out_movhi_r_mr): Likewise.
8879         (output_movqi): New function.
8880         (output_movhi): Likewise.
8881         (out_movsi_r_mr): Optimized.
8882         (output_movsisf): Compute insn length for `adjust_insn_length'
8883         (out_movqi_mr_r): Optimized.
8884         (out_movhi_mr_r): Optimized.
8885         (adjust_insn_length): Use output_movsisf, output_movqi,
8886         output_movhi for insn length adjusting.
8887         (reg_unused_after): Use dead_or_set_p.
8888         (preferred_reload_class): Now havn't any restriction.
8889         (reg_was_0): New function.
8890         (io_address_p): Likewise.
8891         (const_int_pow2_p): Likewise.
8892         (output_reload_inhi): Likewise.
8893         (output_reload_insisf): Likewise.
8894
8895         * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
8896         (LIB_SPEC): Use -lc for all supported devices.
8897         (LIBGCC_SPEC): Use -lgcc for all supported devices.
8898         (AVR_MEGA): Define as avr_mega_p.
8899         (AVR_ENHANCED): New, define as avr_enhanced_p.
8900         (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
8901         (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
8902         (CRT_BINUTILS_SPECS): Handle all known MCU types.
8903         Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
8904         (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
8905         (ASM_SPEC): Pass -mmcu=... to the assembler.
8906         Change all -DAVR_* to -D__AVR_*__.
8907         (INIT_TARGET_OPTABS), config/avr/libgcc.S:
8908         Rename library functions to start with two underscores.
8909         (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
8910         alignment.
8911         (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
8912         (SUPPORTS_WEAK): Likewise.
8913         (LDI_REG_REGNO): New. Register r31 will be used as temporary
8914         register for loading constants to r0-r14.
8915
8916         * config/avr/avr.md: Replace all TARGET_ENHANCED with
8917         AVR_ENHANCED.
8918         (*mov_r_sp): Removed. Handled by output_movhi.
8919         (*mov_sp_r): Likewise.
8920         (*mov_sp_r_no_interrupts): Likewise
8921         (*mov_sp_r_tiny): Likewise.
8922         (*movqi): Use output_movqi.
8923         (*reload_inqi): New.
8924         (*movhi): Use output_movhi.
8925         (*reload_inhi): New.
8926         (*negsi2): Optimized.
8927         (*negsf2): Likewise.
8928         Added peepholes (define_peephole2) for loading constants to r0-r14
8929         and for using `cpse' command.
8930
8931         * config/avr/libgcc.S: Rename library functions to start with two
8932         underscores.
8933         Add support for enhanced core.
8934         (_moqhi3): Fix typo, now _modqi3.
8935         (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
8936         (__prologue_saves__): Remove test for stack adjust by 0.
8937         (__tablejump__): New.
8938
8939         * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
8940         Add multilib support.
8941
8942 Tue Aug 29 15:17:54 EDT 2000  John Wehle  (john@feith.com)
8943
8944         * loop.c (prescan_loop): Don't check unknown_address_altered
8945         when deciding if insert_loop_mem is safe.  Add BLKmode MEMs
8946         to loop_store_mems as necessary.
8947         (loop_invariant_p): Don't check unknown_address_altered
8948         or unknown_constant_address_altered.
8949
8950 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
8951
8952         * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
8953
8954 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
8955
8956         * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
8957         print just the filename.
8958         * cpplex.c (_cpp_run_directive): Add additional argument, the
8959         name to give the synthetic buffer.  This defaults to
8960         translated "<command line>".
8961         * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
8962         Adjust to match.
8963         (_cpp_define_builtin): New function.
8964         * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
8965         * cpphash.h: Update prototypes.
8966
8967         * tradcpp.c (main): Process -D and -U simultaneously, in the
8968         order they appeared on the command line.
8969
8970 2000-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8971
8972         * c-decl.c (define_label): Call warning_with_file_and_line and
8973         error_with_file_and_line instead of plain warning or error.
8974
8975         * c-parse.in (label): Use save_filename/save_lineno to ensure
8976         correct values for calls to define_label.
8977
8978 2000-08-29  Mark Mitchell  <mark@codesourcery.com>
8979
8980         * calls.c (expand_call): Don't create a VAR_DECL just to throw it
8981         away.
8982         * expr.c (expand_expr, case TARGET_EXPR): Don't call
8983         mark_addressable.
8984         * tree.h (get_file_function_name): Remove two duplicate
8985         declarations.
8986
8987 2000-08-28  Kazu Hirata  <kazu@hxi.com>
8988
8989         * tree.c: Fix formatting.
8990
8991         * xcoffout.c: Fix formatting.
8992
8993 2000-08-28  Jason Merrill  <jason@redhat.com>
8994
8995         * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
8996
8997 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
8998
8999         * dwarf2out.c (dwarf2out_finish): Don't bother calling
9000         break_out_includes if it won't do anything.
9001
9002 2000-08-28  Richard Henderson  <rth@cygnus.com>
9003
9004         * reload.c (push_secondary_reload): Revert 2000-08-16 change.
9005         (find_reloads): Likewise.
9006         * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
9007         (reload_inhi): Likewise.
9008
9009 2000-08-28  Richard Henderson  <rth@cygnus.com>
9010
9011         * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
9012         (call_insn_operand): Don't expect a surrounding mem.
9013         (constant_call_address_operand): Likewise.
9014         * config/i386/i386.h (PREDICATE_CODES): Update.
9015         * config/i386/i386.md (call patterns): Move the match_operand
9016         for the call destination inside the mem.
9017
9018 2000-08-28  Richard Henderson  <rth@cygnus.com>
9019
9020         * local-alloc.c (requires_inout): Don't use reserved range for
9021         EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
9022         * recog.c (asm_operand_ok): Likewise.
9023         (preprocess_constraints, constrain_operands): Likewise.
9024         * regclass.c (record_reg_classes): Likewise.
9025         * reload.c (find_reloads): Likewise.
9026         * reload1.c (maybe_fix_stack_asms): Likewise.
9027         (reload_cse_simplify_operands): Likewise.
9028         * stmt.c (expand_asm_operands): Likewise.
9029
9030         * md.texi: Update constraints documentation.
9031         * tm.texi (EXTRA_CONSTRAINT): Update.
9032
9033 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
9034
9035         * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
9036         (print_die): If we don't know the offset of the
9037         target die, try the symbol.  Add a trailing newline.
9038         (reverse_all_dies): New fn.
9039         (dwarf2out_finish): Call it.
9040         (break_out_includes): Reorganize for clarity.
9041         (add_sibling_attributes): Don't call reverse_die_lists.
9042         (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
9043         primary CU, too.
9044         * flags.h: Add flag_eliminate_dwarf2_dups.
9045         * toplev.c (f_options): Support -feliminate-dwarf2-dups.
9046
9047 2000-08-28  Jason Merrill  <jason@redhat.com>
9048
9049         * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
9050         * dwarf2out.c: #include "md5.h".
9051         (DIE_LABEL_PREFIX): New macro.
9052         (dw_val_struct): Add 'external' flag to val_die_ref.
9053         (add_AT_die_ref, AT_ref): Adjust.
9054         (AT_ref_external, set_AT_ref_external): New fns.
9055         (build_abbrev_table): Call set_AT_ref_external.
9056         (value_format): Call AT_ref_external.
9057         (die_struct): Add die_symbol field.
9058         (new_die): Clear it.
9059         (dwarf_tag_name): Handle BINCL/EINCL.
9060         (dwarf2out_start_source_file): Add BINCL DIE.
9061         (dwarf2out_end_source_file): Add EINCL DIE.
9062         (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
9063         (loc_checksum, attr_checksum, die_checksum): New fns.
9064         (is_type_die, is_comdat_die, is_symbol_die): New fns.
9065         (compute_section_prefix, assign_symbol_names): New fns.
9066         (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
9067         (output_die): Call output_die_symbol and AT_ref_external.
9068         (output_comdat_comp_unit): New fn, split out from...
9069         (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
9070         secondary CUs.
9071         (output_pubnames, output_aranges): Abort if we see entries from
9072         secondary CUs.
9073         * toplev.h: Declare file_name_nondirectory.
9074         * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
9075         (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
9076         (debug_start_source_file): Call dwarf2out_start_source_file
9077         regardless of debug verbosity.
9078         (debug_end_source_file): Similarly.
9079         * tree.h: Declare clean_symbol_name.
9080         * tree.c (clean_symbol_name): Split out from...
9081         (get_file_function_name_long): ...here.
9082
9083         * dwarf2out.c (new_loc_descr): Use calloc.
9084         (splice_child_die): Remove the die from the right parent.
9085         (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
9086
9087 Mon Aug 28 19:02:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9088
9089         * toplev.c (decode_g_option): Don't give warning for unknown -g
9090         option; return 0 instead.
9091         (main): If -g option is not recognized by front end or
9092         language-independent code, give warning.
9093
9094 2000-08-28  Greg McGary  <greg@mcgary.org>
9095
9096         * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
9097         * config/i386/i386.c (ix86_expand_compare): Remove `static'.
9098         * config/i386/i386.md (trap, conditional_trap): New insn & expand.
9099
9100 2000-08-27  Greg McGary  <greg@mcgary.org>
9101
9102         * cpplex.c (parse_string): Don't look for backslash
9103         before first char in `namebuf'.
9104         * loop.c (strength_reduce): Skip NOTEs.
9105
9106 2000-08-27  Jason Merrill  <jason@redhat.com>
9107
9108         * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
9109         DECL_EXTERNAL on a local extern.  Don't set DECL_IGNORED_P or
9110         TREE_ASM_WRITTEN, either.
9111         (finish_decl): Adjust.
9112
9113 2000-08-28  Philipp Thomas  <pthomas@suse.de>
9114
9115         * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
9116         they have been incorporated into the gettext CVS. Change the text to
9117         reflect the current status of NLS. Add instructions for accessing
9118         the gettext CVS and add the patch from Martin v. Loewis.
9119
9120 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
9121
9122         * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
9123         by using gen_lowpart_common.
9124         (movdi_internal64+6): Likewise.
9125
9126 2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
9127
9128         * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
9129         Document.
9130
9131         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
9132         numbers to the ranges used by GDB.
9133
9134 2000-08-25  Richard Henderson  <rth@cygnus.com>
9135
9136         * config/ia64/ia64.h (struct machine_function): Add n_varargs.
9137         * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
9138         (ia64_expand_prologue): Likewise.
9139         (ia64_setup_incoming_varargs): Set it.  Properly skip the current
9140         argument for stdargs.
9141
9142 2000-08-25  Jason Merrill  <jason@redhat.com>
9143
9144         * integrate.c (expand_inline_function): Pull out the original decl.
9145
9146 2000-08-25  Jim Wilson  <wilson@cygnus.com>
9147
9148         * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
9149
9150         * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
9151
9152 2000-08-25  Greg McGary  <greg@mcgary.org>
9153
9154         * flow.c (dump_edge_info): Use ARRAY_SIZE.
9155         * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
9156
9157 2000-08-25  Richard Earnshaw  <rearnsha@arm.com>
9158
9159         * arm.h (STRUCT_VALUE): Define to 0, not NULL.
9160
9161 Fri Aug 25 12:52:49 EDT 2000  John Wehle  (john@feith.com)
9162
9163         * i386.c (ix86_find_base_term): New.
9164         * i386-protos.h (ix86_find_base_term): Prototype.
9165         * i386.h (FIND_BASE_TERM): Define.
9166         * alias.c (find_base_term): Use it.
9167         * tm.texi (FIND_BASE_TERM): Document it.
9168
9169         * alias.c (true_dependence, write_dependence_p): Unchanging
9170         memory can't conflict with non-unchanging memory.
9171
9172         * alias.c (memrefs_conflict_p): A BLKmode reference
9173         to a symbol (or CONST_INT address) always conflicts
9174         with a reference to another symbol.
9175
9176 2000-08-25  Joseph S. Myers  <jsm28@cam.ac.uk>
9177
9178         * c-common.c (time_char_table): Don't allow width and flags with
9179         "z" format.
9180
9181 2000-08-25  Jakub Jelinek  <jakub@redhat.com>
9182
9183         * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
9184         way as LT and LTU when the second operand has 0 in low word.
9185
9186 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
9187
9188         * basic-block.h (struct loop): Rename `exits' field to
9189         `exit_edges'.  Add `entry_edges' and `num_entries' fields.
9190
9191         * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
9192         (flow_loop_entry_edges_find): Add.
9193         (flow_edge_list_print): Rename from flow_exits_print.
9194         (flow_loops_find): Call flow_loop_entry_edges_find.
9195         (flow_loop_dump): Dump entry_edges list.
9196         (flow_loops_free): Free entry_edges.
9197
9198 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
9199
9200         * loop.c (loop_dump_aux, debug_loop): New functions.
9201         (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
9202
9203         * flow.c (flow_loops_dump): Add callback parameter.
9204         (flow_loop_dump): Add callback parameter and call it.  Move
9205         loop note debugging code to loop_dump_aux.
9206
9207         * basic-block.h (flow_loop_dump): Add callback parameter
9208         (flow_loops_dump): Likewise.
9209
9210         * toplev.c (rest_of_compilation): Add NULL callback function pointer
9211         to call to flow_loops_dump.
9212
9213 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
9214
9215         * loop.c (count_loop_regs_set): Replace start and end arguments
9216         with loop argument.  All callers udated.
9217
9218 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
9219
9220         * loop.c (constant_high_bytes): Delete.
9221
9222 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
9223
9224         * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
9225         and NOTE_INSN_LOOP_VTOP to...
9226         (find_and_verify_loops) ...here.
9227
9228 Fri Aug 25 04:21:13 2000  Alexandre Oliva  <aoliva@redhat.com>
9229
9230         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
9231         (fini_dummy, init_dummy): Use it.
9232
9233 Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
9234
9235         * cpplex.c (is_macro_disabled): Caller has already checked
9236         that we're not a preprocessed file.
9237
9238 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
9239
9240         * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
9241         (c-iterate.o): Remove target.
9242         * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
9243         * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
9244         (finish_decl): Don't handle iterators.
9245         (grokdeclarator): Likewise.
9246         * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
9247         * gcc/c-gperf.h: Regenerated.
9248         * gcc/c-iterate.c: Removed.
9249         * gcc/c-lex.c (init_lex): Don't handle iterators.
9250         * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
9251         (compstmt_primary_start): Remove push_iterator_stack call.
9252         (stmt): Don't allow iterator statements.  Replace iterator_expand
9253         with expand_expr_stmt.
9254         (all_iter_stmt): Remove.
9255         (all_iter_stmt_simple): Likewise.
9256         (all_iter_stmt_with_decl): Likewise.
9257         * gcc/c-tree.h (ITERATOR_P): Remove.
9258         (ITERATOR_BOUND_P): Likewise.
9259         (init_iterators): Remove declaration.
9260         (iterator_expand): Likewise.
9261         (iterator_for_loop_start): Likewise.
9262         (iterator_for_loop_end): Likewise.
9263         (iterator_for_loop_record): Likewise.
9264         (push_iterator_stack): Likewise.
9265         (pop_iterator_stack): Likewise.
9266         * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
9267         (readonly_warning): Likewise.
9268         * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
9269
9270 2000-08-24  Jim Wilson  <wilson@cygnus.com>
9271
9272         * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
9273         Copy type in a TYPE_DECL, just like pushdecl does.
9274
9275 2000-08-24  Richard Henderson  <rth@cygnus.com>
9276
9277         * toplev.c (main): Enable flag_reorder_blocks at -O2.
9278
9279 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
9280
9281         * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
9282         asked for one page, allocate GGC_QUIRE_SIZE of them and put
9283         the extras on the free list.
9284         (release_pages): Clean up.
9285         (ggc_set_mark): Don't adjust G.allocated here...
9286         (sweep_pages): ... do it here.
9287
9288 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
9289
9290         * cppfiles.c (read_include_file): Rearrange initializations.
9291
9292 2000-08-24  Richard Henderson  <rth@cygnus.com>
9293
9294         * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
9295
9296         * config/ia64/ia64-protos.h: Update.
9297         * config/ia64/ia64.c (gr_register_operand): New.
9298         (fr_register_operand, grfr_register_operand): New.
9299         (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
9300         (grfr_reg_or_8bit_operand): New.
9301         (gr_reg_or_0_operand): Rename from reg_or_0_operand and
9302         use gr_register_operand.
9303         (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
9304         (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
9305         (gr_reg_or_8bit_and_adjusted_operand): Likewise.
9306         (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
9307         (fr_reg_or_fp01_operand): Likewise.
9308         (not_postinc_memory_operand): New.
9309         (ia64_split_timode): Remove unused variables.
9310         (rtx_needs_barrier): Check arguments to cmpxchg.
9311         (builtin_description): Remove.
9312         (bdesc_2argsi, bdesc_2argdi): Remove.
9313         (ia64_init_builtins): Declare all builtins directly.
9314         (ia64_expand_fetch_and_op): Rewrite to be called from
9315         ia64_expand_builtin directly.  Use expand_binop and co.
9316         (ia64_expand_op_and_fetch): Likewise.
9317         (ia64_expand_compare_and_swap): Likewise.
9318         (ia64_expand_binop_builtin): Remove.
9319         (ia64_expand_lock_test_and_set): New.
9320         (ia64_expand_lock_release): New.
9321         (ia64_expand_builtin): Use them.
9322         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
9323         (EXTRA_CONSTRAINT): Use it.
9324         (PREDICATE_CODES): Update.
9325         * config/ia64/ia64.md (*): Use gr_register_operand and co.
9326         (mf): Indicate that we set memory as well as use it.
9327         (fetchadd_acq_si): Show memory being modified as well.
9328         (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
9329         (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
9330         (lock_test_and_set_si, lock_test_and_set_di): Remove.
9331         (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
9332         (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
9333         (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
9334         (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
9335         (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
9336         (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
9337         (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
9338         (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
9339         * config/ia64/ia64intrin.h (*): Cast result to the appropriate
9340         return type.  Pretty print definitions.
9341
9342 2000-08-24  Jim Wilson  <wilson@cygnus.com>
9343
9344         * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
9345         we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
9346
9347 2000-08-24  Jason Merrill  <jason@redhat.com>
9348
9349         * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
9350         AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
9351         (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
9352         get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
9353
9354 2000-08-24  Greg McGary  <greg@mcgary.org>
9355
9356         * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
9357         and extendtab within their proper array boundaries.
9358         * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
9359         for the entire array.
9360
9361         * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
9362         * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
9363         * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
9364         * config/fr30/fr30.c (fr30_print_operand): Likewise.
9365         * config/i386/dgux.c (output_options): Likewise.
9366         * config/i386/dgux.h (ASM_FILE_START): Likewise.
9367         * config/m88k/m88k.c (output_options): Likewise.
9368         * config/m88k/m88k.h (ASM_FILE_START): Likewise.
9369         * config/mcore/mcore.c (mcore_output_inline_const_forced,
9370         layout_mcore_frame, handle_structs_in_regs): Likewise.
9371         * config/mips/mips.c (output_block_move): Likewise.
9372         * config/rs6000/rs6000.c (rs6000_override_options,
9373         rs6000_file_start): Likewise.
9374         * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
9375         * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
9376         * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
9377         * builtins.c (expand_builtin_setjmp): Likewise.
9378         * expr.c (safe_from_p): Likewise.
9379         * flow.c (life_analysis): Likewise.
9380         * fold-const.c (size_int_type_wide): Likewise.
9381         * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
9382         * genattrtab.c (make_length_attrs): Likewise.
9383         * genopinit.c (gen_insn): Likewise.
9384         * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
9385         * global.c (global_alloc): Likewise.
9386         * local-alloc.c (find_free_reg): Likewise.
9387         * mips-tdump.c (print_symbol): Likewise.
9388         * mips-tfile.c (parse_def, parse_input): Likewise.
9389         * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
9390         * stmt.c (expand_nl_goto_receiver): Likewise.
9391         * stor-layout.c (set_sizetype): Likewise.
9392         * varasm.c (decode_reg_name): Likewise.
9393         * toplev.c (decode_f_option, decode_W_option,
9394         set_target_switch, print_switch_values): Likewise.
9395         (NUM_ELEM): Remove macro.
9396         (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
9397
9398 2000-08-24  Greg McGary  <greg@mcgary.org>
9399
9400         * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
9401         (MAIN_NAME_P, main_identifier_node): New macros.
9402         * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
9403         * c-decl.c (start_decl, grokdeclarator, start_function,
9404         store_parm_decls, finish_function): Use MAIN_NAME_P.
9405         * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
9406         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
9407         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
9408         * config/pdp11/pdp11.c (output_function_prologue): Likewise.
9409
9410 2000-08-24  Greg McGary  <greg@mcgary.org>
9411
9412         * cppfiles.c (actual_directory): Don't write beyond `dir'
9413         when it contains "".
9414         * real.c (asctoeg): Stay within bounds of etens[][].
9415
9416 2000-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9417
9418         * dependence.c (dependence_string, direction_string,
9419         dump_one_node, dump_node_dependence): Hide unused identifiers.
9420         (get_low_bound, normalize_coefficients): Match definition to
9421         static prototype.
9422         (get_one_coefficient): Initialize variables `value0_is_idx' and
9423         `value1_is_idx'.
9424         (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
9425         (ziv_test): Delete variable `idx', use parameter `sub' instead.
9426         (direction_merge): Avoid automatic aggregate initialization.
9427         (have_dependence_p): Use `src' not `dest' to set `src_idx'.
9428         Initialize variables `dest_idx' and `src_idx'.
9429         (end_dependence_analysis): Avoid C89 style function definition.
9430
9431 2000-08-24  Joseph S. Myers  <jsm28@cam.ac.uk>
9432
9433         * c-common.c (time_char_table): Don't allow width with %F.
9434         (check_format_info): Don't allow "Z" length with scanf.
9435
9436 2000-08-24  Gabriel Dos Reis  <gdr@codesourcery.com>
9437
9438         * diagnostic.c (finish_diagnostic): Define.
9439         (output_do_printf): Use wrap_text instead of output_add_string.
9440         (default_print_error_function): Avoid embedded '\n'.
9441
9442         * diagnostic.h (flush_diagnostic_buffer): Declare.
9443
9444 2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
9445
9446         * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
9447
9448 2000-08-23  Hans-Peter Nilsson  <hp@axis.com>
9449
9450         * Makefile.in (GCC_PASSES): Add specs.
9451
9452 2000-08-23  Jim Wilson  <wilson@cygnus.com>
9453
9454         * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
9455         * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
9456         EHANDLER nor UHANDLER bit is set.
9457         (__get_except_table): Likewise.
9458
9459 2000-08-23  Nick Clifton  <nickc@redhat.com>
9460
9461         * config/arm/lib1funcs.asm: Replace upper case condition codes
9462         with lower case versions.
9463
9464         * config/arm/arm.h (STRUCT_VALUE): Define.
9465         (STRUCT_VALUE_REGNUM): Delete.
9466
9467 2000-08-23  Zack Weinberg  <zack@wolery.cumb.org>
9468
9469         * cpphash.h (IN_I): New flag for directive table.
9470         * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
9471         #pragma with IN_I.
9472         (_cpp_check_directive): If -fpreprocessed, execute directives
9473         marked with IN_I.  Issue no warnings in this case.
9474         * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
9475
9476 2000-08-23  Joseph S. Myers  <jsm28@cam.ac.uk>
9477
9478         * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
9479         %u.
9480         (check_format_info): Support printf 'I' flag; warn about it with
9481         -pedantic.
9482
9483 2000-08-23  Richard Earnshaw  (rearnsha@arm.com)
9484
9485         * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
9486         barrier can't be ignored by the alias analysis code.
9487
9488 2000-08-12  Eli Zaretskii  <eliz@is.elta.co.il>
9489
9490         * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
9491         works inside fixincl.
9492
9493 Wed Aug 23 04:55:48 2000  Alexandre Oliva  <aoliva@redhat.com>
9494
9495         * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
9496         simplify_relational_operation() unless both operands are of
9497         VOIDmode.
9498         * cse.c (fold_rtx): Likewise.
9499
9500 Tue Aug 22 23:53:27 EDT 2000  John Wehle  (john@feith.com)
9501
9502         * rtlanal.c (rtx_unstable_p): The pic register is stable
9503         (within one function) and the actual rtx should be used
9504         when checking the registers.
9505         (rtx_addr_can_trap_p): Pic memory addresses can't trap.
9506
9507         * alias.c (true_dependence, write_dependence_p): Fix
9508         bug in previous patch.
9509
9510         * i386.c (ix86_GOT_alias_set): New.
9511         (legitimize_pic_address): Use it.
9512
9513         * rtlanal.c (rtx_unstable_p): An unchanging MEM is
9514         only stable if its address is stable.
9515         (rtx_varies_p): An unchanging MEM can't vary if
9516         its address doesn't vary.
9517
9518 2000-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9519
9520         * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
9521
9522 2000-08-22  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
9523
9524         * vax.h (ASM_SPEC): Pass `-J' to assembler.
9525         * x-vax-gcc: New file for bootstrapping with gcc.
9526         * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
9527         * configure.in: Use x-vax-gcc with gcc.
9528         * configure: Rebuilt.
9529
9530 Tue Aug 22 21:21:05 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9531
9532         * toplev.c (rest_of_compilation): Rebuild label notes after
9533         post-reload splitting pass if new labels have been created.
9534
9535 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
9536
9537         * diagnostic.h (output_buffer_state): New macro.
9538         * diagnostic.c (diagnostic_for_decl, sorry,
9539         default_print_error_function, output_do_verbatim,
9540         report_diagnostic, report_problematic_module): Use it.
9541         (wrap_text): Tweak.
9542         (output_format): Use wrap_text instead of maybe_wrap_text.
9543
9544 2000-08-22  Nick Clifton  <nickc@redhat.com>
9545
9546         * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
9547         Common code for ARM divide and modulus functions.
9548         (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
9549         ARM_DIV_MOD_BODY.
9550         (FUNC_END): New macro: Common code at the end of the division and
9551         modulo functions.
9552         (THUMB_FUNCTION_START): New macro:  Common code at the start of
9553         Thumb functions.
9554         (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
9555
9556 Tue Aug 22 20:34:52 2000  Kaz Kojima <kkojima@rr.iij4u.or.jp>
9557
9558         * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
9559
9560         * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
9561         sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
9562         const0_rtx.
9563
9564 2000-08-22  Nick Clifton  <nickc@redhat.com>
9565
9566         * config/arm/lib1funcs.asm (__umodsi3): Before performing any
9567         restorative additions, test for bottom bits of IP being set,
9568         rather than relying upon the RORs not matching.
9569         (__modsi3): Ditto.
9570
9571 2000-08-22  David Edelsohn  <edelsohn@gnu.org>
9572
9573         * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
9574         text_section() as appropriate instead of emitting text csect
9575         pseudo-op directly.
9576         (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
9577         (UNIQUE_SECTION): Define macro.
9578         (ASM_OUTPUT_SECTION_NAME): Define macro.
9579         * rs6000.c (rs6000_override_options): Disable -ffunction-sections
9580         on AIX if debugging and -fdata-sections always.
9581
9582 2000-08-22  Steven King  <sxking@uswest.net>
9583
9584         * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
9585         machinery.
9586         (LDBL_MAX): Same here.
9587
9588 2000-08-22  Richard Henderson  <rth@cygnus.com>
9589
9590         * flow.c (tidy_fallthru_edge): Update b->end properly.
9591
9592 2000-08-22  Stan Cox  <scox@redhat.com>
9593
9594         * Makefile.in (OBJS): Add dependence.o.
9595         * dependence.c: New file.
9596
9597 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>, John David Anglin  <dave.anglin@nrc.ca>
9598
9599         * calls.c (check_sibcall_argument_overlap_1): Adjust for
9600         ARGS_GROW_DOWNWARD.
9601         (check_sibcall_argument_overlap): Likewise.
9602
9603 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
9604
9605         * invoke.texi (SH Options): Document -m4-nofpu,
9606         -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
9607         -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
9608
9609 2000-08-22  Joseph S. Myers  <jsm28@cam.ac.uk>
9610
9611         * c-common.c (check_format_info): Give the 'some locales' warning
9612         for strftime %Ey rather than the unconditional 'only last 2 digits
9613         of year' one.
9614
9615 2000-08-22  Richard Henderson  <rth@cygnus.com>
9616
9617         * alias.c (init_alias_analysis): Do not register
9618         struct_value_incoming_rtx or static_chain_rtx as pointing
9619         to stack memory.
9620
9621 Tue Aug 22 01:44:43 2000  Jeffrey A Law  (law@cygnus.com)
9622
9623         * protoize.c (munge_compile_params): Fix typo and formatting buglets.
9624
9625 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
9626
9627         * diagnostic.h (report_problematic_module): Declare.
9628         * diagnostic.c (report_problematic_module): New function.
9629         (report_error_function): Tweak.
9630
9631 Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9632
9633         * stmt.c (expand_goto_internal, fixup_gotos): Only check
9634         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
9635
9636 2000-08-21  Richard Henderson  <rth@cygnus.com>
9637
9638         * flow.c (calculate_global_regs_live): Mark frame pointer live
9639         everywhere before reload.
9640
9641 2000-08-21  Jim Wilson  <wilson@cygnus.com>
9642
9643         * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
9644         INTEL_EXTENDED_IEEE_FORMAT.
9645         (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
9646         clear last two bytes of output FP value.
9647
9648 2000-08-21  Graham Stott  <grahams@cygnus.co.uk>
9649
9650         * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
9651
9652 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
9653
9654         * unroll.c (loop_find_equiv_value): If ret is modified between
9655         insn and loop_start, ret might not be equivalent to reg.
9656
9657 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
9658
9659         * c-common.c (init_dollar_format_checking,
9660         maybe_read_dollar_number, finish_dollar_format_checking): New
9661         functions.
9662         (dollar_arguments_used, dollar_arguments_count,
9663         dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
9664         New variables.
9665         (check_format_info): Support $ formats for scanf and printf width
9666         and precision.  Always increment format_chars to advance past the
9667         '*' of precision, not just when the format parameters are
9668         available to check.
9669
9670 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9671
9672         * mips.c (block_move_loop, expand_block_move,
9673         function_arg_partial_nregs, save_restore_insns, function_prologue,
9674         mips_expand_prologue, RA_MASK): Avoid using the `U' integer
9675         constant suffix.
9676         (function_arg_advance, function_arg): Match argument to format
9677         specifier `%p'.
9678
9679 2000-08-21  Nix  <nix@esperi.demon.co.uk>
9680
9681         * gcc.c (do_spec_1): Implement %j spec flag.
9682         Remove dead comment.
9683
9684         * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
9685         * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
9686         * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
9687         * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
9688
9689         * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
9690         writable) instead of hardcoded value.
9691
9692         * toplev.c (compile_file): Output to a file even if -fsyntax-only.
9693
9694         * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
9695         MKTEMP_EACH_FILE.
9696
9697         * gcc.c (cc1_options): Do not process -o or run the assembler if
9698         -fsyntax-only.
9699         * objc/lang-spec.h: Likewise.
9700
9701 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
9702
9703         * fixinc/fixincl.c (fix_with_system): Pipe the output of
9704         "external" fixes through `cat', to avoid truncating the input
9705         file by redirection.
9706
9707 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
9708
9709         * config/i386/i386.md (lea_general_1): Copy insn condition to split
9710         condition.
9711         (lea_general_2, lea_general_3): Likewise.
9712
9713 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9714
9715         * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
9716         warnings to user code.
9717
9718         * c-lex.c (readescape, yylex): Likewise.
9719
9720         * c-typeck.c (store_init_value, process_init_element): Likewise
9721         (c_expand_start_case): Format.
9722
9723 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9724
9725         * mips/linux.h (LINK_SPEC): Use %(endian_spec).
9726
9727         * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
9728         and linker_endian_spec to endian_spec.
9729         (ENDIAN_SPEC): Add %{EB} and %{EL}.
9730         (LINK_SPEC): Remove %{EB} and %{EL}.
9731         (ASM_SPEC): Likewise.  Use %(endian_spec).
9732
9733 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
9734
9735         * c-tree.h (flag_hosted): Move declaration from here...
9736         * c-common.h (flag_hosted): ... to here.
9737         (flag_noniso_default_format_attributes): New declaration.
9738         * c-decl.c (flag_noniso_default_format_attributes): New variable.
9739         (c_decode_option): Set it appropriately for options choosing
9740         language standard variant.
9741         * c-common.c (init_function_format_info): Only provide default
9742         format attributes if flag_hosted.  Only provide the gettext
9743         formats if flag_noniso_default_format_attributes.  Update
9744         comments.
9745         (check_format_info): Disable treatment of %a as a scanf flag in
9746         C99 mode.
9747
9748 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
9749
9750         * c-common.c (scan_char_table): Add 'w' to flags for all formats
9751         except 'n'.
9752         (check_format_info): Set 'wide' for scanf format widths.  Warn for
9753         a zero scanf width.  Make the check for writing into a constant
9754         object at the first level of indirection; at later levels, warn if
9755         any type qualifiers are encountered.
9756
9757 Mon Aug 21 07:41:12 2000  Jeffrey A Law  (law@cygnus.com)
9758
9759         * reload.c (reload_inner_reg_of_subreg): New function broken out of
9760         push_reload.
9761         (push_reload): Use reload_inner_reg_of_subreg.
9762         (combine_reloads): Do not combine reloads if the input reload
9763         is a SUBREG in which the inner part will need reloading.
9764
9765         * global.c (global_alloc): Avoid passing dumpfile argument to
9766         reload routines.
9767         * toplev.c (rest_of_compilation): Likewise.
9768         * reload.h (reload): Remove dumpfile argument.  Callers changed.
9769         (debug_reload, debug_reload_to_stream): Move prototypes here.
9770         * rtl.h  (reload): Remove dumpfile argument.
9771         * reload.c (debug_reload): Remove prototype.
9772         (debug_reload_to_stream): Likewise.
9773         * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
9774         instead.
9775
9776 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
9777
9778         * diagnostic.c (context_as_prefix): Export.
9779         (need_error_newline): Remove.
9780         (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
9781         (error_module_changed, record_last_error_module,
9782         error_function_changed, record_last_error_function): New functions.
9783         (initialize_diagnostics): Default intialize
9784         lang_diagnostic_starter, lang_diagnostic_finalizer.
9785         (init_output_buffer): Tweak.
9786         (file_name_as_prefix): New function.
9787         (announce_function, default_print_error_function,
9788         report_error_function, set_diagnostic_context): Tweak.
9789
9790 2000-08-21  Richard Earnshaw  <rearnsha@arm.com>
9791
9792         * flow.c (init_propagate_block_info): Handle SUBREG in a jump
9793         condition expression.
9794
9795 2000-08-20  Richard Henderson  <rth@cygnus.com>
9796
9797         * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
9798
9799 2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
9800
9801         * cppinit.c (cpp_init): Set global flag when called.
9802         (cpp_reader_init): Bomb out if cpp_init hasn't been called.
9803
9804 Sun Aug 20 01:41:35 2000  Dennis Chernoivanov  <cdi@sparc.spb.su>
9805
9806         * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
9807         before `process_directive' so that newlines won't be missed
9808         for directives.
9809         (cpp_printf): Increment `print->lineno' when newline is emitted.
9810
9811         * cppmain.c (cb_ident): Likewise.
9812         (cb_define): Likewise.
9813         (cb_undef): Likewise.
9814         (cb_include): Likewise.
9815         (cb_def_pragma): Likewise.
9816         (dump_macros_helper): Likewise.
9817
9818 2000-08-20  Richard Henderson  <rth@cygnus.com>
9819
9820         * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
9821         assigned before a loop.
9822
9823         * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
9824         (ashrsi3, lshrsi3): Likewise.
9825
9826 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
9827
9828         * c-lang.c: #include diagnostic.h
9829         (c_tree_printer): New function.
9830         (lang_init): Initialize lang_printer.
9831
9832         * Makefile.in (c-lang.o): Depends on diagnostic.h
9833
9834 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
9835
9836         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
9837
9838         * diagnostic.c (default_diagnostic_starter,
9839         default_diagnostic_finalizer): New functions.
9840         (diagnostic_for_asm, diagnostic_for_decl): Tweak.
9841         (pedwarn, pedwarn_with_file_and_line, error,
9842         error_with_file_and_line, fatal, warning,
9843         warning_with_file_and_line): Adjust call to report_diagnostic.
9844         (report_diagnostic): Rework.
9845         (set_diagnostic_context): New function.
9846
9847         * diagnostic.h (struct diagnostic_context): New data structure.
9848         (diagnostic_message, diagnostic_argument_list,
9849         diagnostic_file_location, diagnostic_line_location,
9850         diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
9851         diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
9852         (set_diagnostic_context): Declare.
9853         (report_diagnostic): Change prototype.
9854
9855 Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
9856
9857         * fix-header.c (main): Initialize cpplib.
9858
9859 2000-08-19  Michael Meissner  <meissner@redhat.com>
9860
9861         * ifcvt.c (find_if_block): Do not assume that a THEN block has any
9862         instructions in it before checking for indirect jumps.
9863
9864         * ifcvt.c (find_if_block): Do not consider a THEN block that ends
9865         in a indirect jump as a potential for conditional execution.
9866
9867         * d30v.h (d30v_init_expanders): Don't declare here.
9868         * d30v-protos.h (d30v_init_expanders): Declare here with a valid
9869         prototype.
9870
9871 Sat 19-Aug-2000 21:11:45 BST  Neil Booth  <NeilB@earthling.net>
9872
9873         * cpp.texi: Add @section for assertions.
9874
9875 Sat Aug 19 12:37:08 EDT 2000  John Wehle  (john@feith.com)
9876
9877         * loop.c (scan_loop): Use CONST_CALL_P instead of
9878         checking for REG_LIBCALL / REG_RETVAL.
9879
9880 Sat Aug 19 09:18:47 2000  Jeffrey A Law  (law@cygnus.com)
9881
9882         * reload1.c (reload_as_needed): Accept dumpfile argument,
9883         pass it to emit_reload_insns.
9884         (emit_reload_insns): Add new dumpfile argument.  If non-null
9885         then dump the reloads for each insn into the dumpfile.
9886         (reload): Pass dumpfile to reload_as_needed.
9887
9888         * invoke.texi: Clean up linux-gnu vs linux comments.
9889
9890 2000-08-19  Richard Henderson  <rth@cygnus.com>
9891
9892         * config/ia64/ia64.c (reg_or_5bit_operand): New.
9893         (ia64_depz_field_mask): New.
9894         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
9895         (PREDICATE_CODES): Update.
9896         * config/ia64/ia64.md: Update commentary.
9897         (depz_internal): New.
9898         (ashlsi3): Implement directly.
9899         (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
9900         (ashldi3): Use shladd.
9901         * config/ia64/ia64-protos.h: Update.
9902
9903 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
9904
9905         * toplev.c (independent_decode_option): Always process -g.
9906         Remove third argument, now unused.  Adjust caller to match.
9907
9908 2000-08-18  Richard Henderson  <rth@cygnus.com>
9909
9910         * combine.c (make_compound_operation): Break after creating
9911         the extraction.
9912
9913 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
9914
9915         * cpplib.c (cpp_register_pragma_space): Just return if the
9916         namespace is already registered.
9917
9918 2000-08-18  Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton  <nickc@redhat.com>
9919
9920         * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
9921         constant amount.  Do not generate ROTL instruction.
9922
9923 Fri Aug 18 16:22:20 2000  Alexandre Oliva  <aoliva@redhat.com>
9924
9925         * config/sh/elf.h: Do not include sh/sh.h.
9926         * config/sh/rtems.h: Likewise.
9927         * config/sh/rtemself.h: Do not include sh/elf.h.
9928         * configure.in: Get them included with `tm_file's.
9929         * configure: Rebuilt.
9930
9931         * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
9932         * config/sh/sh.c (fpscr_set_from_mem): Use them.
9933
9934 Fri Aug 18 14:23:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9935
9936         * stor-layout.c (compute_record_type): Don't use mode of single
9937         field as mode of record if not integer mode of same type.
9938
9939         * regmove.c (perhaps_ends_bb_p): New function.
9940         (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
9941         (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
9942         (fixup_match_1): Likewise.
9943         (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
9944         avoid signed/unsigned warnings.
9945
9946         * function.c (fixup_var_refs_1, case MEM): Update CODE after
9947         updating X.
9948
9949 Fri 18-Aug-2000 18:33:45 BST  Neil Booth  <NeilB@earthling.net>
9950
9951         * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
9952         (_cpp_trigraph_map): Declaration moved from cpplex.c
9953
9954         * cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
9955         instead of 256.  Use consistent test for designated initializers.
9956         (cpp_init): Initialize trigraph_map.
9957         (initialize_standard_includes, parse_option):  Use memcmp
9958         instead of strncmp.
9959
9960         * cpplex.c (init_trigraph_map): Remove.
9961         (trigraph_ok, trigraph_replace, lex_line): Refer to
9962         _cpp_trigraph_map.
9963
9964         * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
9965         (do_unassert): Remove unused "next" local.
9966
9967         * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
9968
9969 2000-08-18  Emmanuel Marty  <emarty@suntech.fr>
9970
9971         * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
9972         insn.
9973
9974 2000-08-17  Richard Henderson  <rth@cygnus.com>
9975
9976         * config/ia64/ia64.c (spill_restore_mem): Handle emitting
9977         the first insn in a sequence.
9978
9979 Thu Aug 17 22:40:05 EDT 2000  John Wehle  (john@feith.com)
9980
9981         * alias.c (true_dependence, write_dependence_p): A read
9982         involving a label_ref or the constant pool doesn't create
9983         a dependency.
9984
9985         * rtl.h (unchanging): Improve documentation.
9986
9987 2000-08-17  Rodney Brown  <RodneyBrown@mynd.com>
9988
9989         * cse.c (insert_regs): Remove unused `regno'.
9990
9991 2000-08-17  Neil Booth  <NeilB@earthling.net>
9992
9993         * (cppinit.c) merge_include_chains: Use remove_dup_dir,
9994         remove_dup_dirs.  If qtail == brack, remove brack not
9995         qtail.
9996         (remove_dup_dir, remove_dup_dirs): New functions.
9997
9998 2000-08-17  Neil Booth  <NeilB@earthling.net>
9999
10000         * cppinit.c (cpp_cleanup): Free include dir chains.
10001         * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
10002         (do_unassert): Free the assert with _cpp_free_definition.
10003         * cppmacro.c (_cpp_free_definition): Free memory allocated for
10004         assertions.  Make the node a T_VOID node.
10005
10006 2000-08-17  Neil Booth  <NeilB@earthling.net>
10007
10008         * cppinit.c (path_include, append_include_chain):
10009         Remove 2nd parameter (struct cpp_pending *).
10010         (path_include, initialize_standard_includes, cpp_handle_option):
10011         Update callers appropriately.
10012         (cpp_handle_option): Use pend.
10013
10014 2000-08-17  Neil Booth  <NeilB@earthling.net>
10015
10016         * cppinit.c (sort_options): Remove, put functionality in
10017         cpp_init.
10018         (cpp_init): New.
10019         (initialize_builtins): Free memory.
10020         (cpp_start_read): Move init_IStable to cpp_init.
10021
10022         * cpplib.h (cpp_init): New prototype.
10023         * cppmain.c (main): Call cpp_init.
10024
10025 Thu Aug 17 13:20:32 EDT 2000  John Wehle  (john@feith.com)
10026
10027         * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
10028         (rtx_unstable_p, rtx_varies_p): Process vectors.
10029
10030 2000-08-16  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10031
10032         * config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
10033         references to GLOBAL symbols.  Use LOCAL where appropriate.
10034
10035 2000-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10036
10037         * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
10038         use t-aix41 when host == target.
10039
10040 2000-08-16  Richard Henderson  <rth@cygnus.com>
10041
10042         * reload.c (push_secondary_reload): Revert last change.
10043         If we use a reload_in/out pattern, make the when the same
10044         as the primary reload.
10045         (find_reloads): Likewise.
10046
10047 2000-08-16  Manfred Hollstein  <manfredh@redhat.com>
10048
10049         * configure.in (libstdcxx-v3): Fix test.
10050         * configure: Regenerate.
10051
10052 Wed Aug 16 08:10:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10053
10054         * calls.c (calls_function_1, expand_call): Only test
10055         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
10056         * function.c (thread_prologue_and_epilogue_insns): Likewise.
10057
10058 2000-08-16  Richard Henderson  <rth@cygnus.com>
10059
10060         * combine.c (simplify_shift_const): Revert previous two
10061         changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
10062         before the main loop.
10063
10064 2000-08-15  Richard Henderson  <rth@cygnus.com>
10065
10066         * combine.c (simplify_shift_const): Bound shift count when
10067         combining shifts.
10068
10069 Tue Aug 15 17:33:05 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10070
10071         * calls.c (ECF_SP_DEPRESSED): New macro.
10072         (calls_function_1): Treat calling sp-depressed function as alloca.
10073         (emit_call_1): Don't adjust SP if calling sp-depressed function.
10074         (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
10075         If sp-depressed, ensure block saves and restores SP.
10076         * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
10077         for INTEGER_TYPE.
10078         * function.c (keep_stack_depressed): New function.
10079         (thread_prologue_and_epilogue_insns): Call it.
10080         * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
10081         to print DECL_OFFSET_ALIGN.
10082         Print no-force-blk and transparent-union flags properly.
10083         * stmt.c (expand_goto_internal): Don't restore stack if last block
10084         and function returns with sp depressed.
10085         (fixup_gotos): Likewise.
10086         (save_stack_pointer): New function, from code in expand_decl.
10087         (expand_decl): Call new function.
10088         * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
10089         (TYPE_RETURNS_STACK_DEPRESSED): New macro.
10090         (save_stack_pointer): New declaration.
10091
10092         * diagnostic.c (fatal_function): New variable.
10093         (set_fatal_function): New function.
10094         (fatal): Call it.
10095         * diagnostic.h (set_fatal_function): New declaration.
10096
10097 2000-08-15  William Cohen  <wcohen@redhat.com>
10098
10099         * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
10100         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
10101         (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
10102
10103 2000-08-15  Richard Henderson  <rth@cygnus.com>
10104
10105         * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
10106
10107 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
10108
10109         * arm.c (arm_function_ok_for_sibcall): New function.
10110         * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
10111         * arm.md (call expanders): Don't check here for calls that can't
10112         be sibling calls.
10113
10114 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
10115
10116         * arm.md (splits generating cond_exec): Disable.
10117
10118 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
10119
10120         * arm/linux-elf.h (text_section): Delete declaration.
10121
10122 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
10123
10124         ARM support for unordered FP operations.
10125         * arm-protos.h (arm_comparison_operator): Declare.
10126         * arm.c (arm_comparison_operator): New function.
10127         (arm_select_cc_mode): Add unordered comparison codes.
10128         (get_arm_condition_code): Likewise.
10129         (arm_final_prescan_insn): Can't handle unordered jumps that can't
10130         be done in one insn.
10131         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
10132         * arm.md (all uses of comparison_operator): Replace with
10133         arm_comparison_operator.
10134         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
10135         expands.
10136         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
10137         patterns.
10138
10139 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10140
10141         * gthr-posix.h: Conditionally include <sched.h>; include
10142         <config.h> from libobjc/.
10143
10144 2000-08-14  Richard Henderson  <rth@cygnus.com>
10145
10146         * config/i386/i386.c (legitimize_pic_address): Use Pmode
10147         for all CONSTs.
10148
10149 2000-08-14  Richard Henderson  <rth@cygnus.com>
10150
10151         * configure.in (ia64-*): Set float_format for i386 long double.
10152
10153         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
10154         as we would for i386 XFmode.
10155         (PUT_REAL): Likewise.
10156         (endian, ereal_atof, real_value_truncate): Likewise.
10157         (ereal_isneg, toe64, etens, make_nan): Likewise.
10158         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
10159
10160         * config/ia64/ia64-protos.h: Update.
10161         * config/ia64/ia64.c (general_tfmode_operand): New.
10162         (destination_tfmode_operand): New.
10163         (tfreg_or_fp01_operand): New.
10164         (ia64_split_timode): New.
10165         (spill_tfmode_operand): New.
10166         (ia64_expand_prologue): Use TFmode not XFmode.
10167         (ia64_expand_epilogue): Likewise.
10168         (ia64_function_arg): Likewise.
10169         (ia64_function_arg_advance): Likewise.
10170         (ia64_return_in_memory): Likewise.
10171         (ia64_function_value): Likewise.
10172         (ia64_print_operand): Likewise.
10173         (ia64_register_move_cost): Set GR<->FR to 5.
10174         (ia64_secondary_reload_class): Get GR for TImode memory op.
10175         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
10176         (ROUND_TYPE_ALIGN): Remove.
10177         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
10178         (INTEL_EXTENDED_IEEE_FORMAT): Define.
10179         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
10180         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
10181         (MODES_TIEABLE_P): Use TFmode, not XFmode.
10182         (CLASS_MAX_NREGS): Likewise.
10183         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
10184         (PREDICATE_CODES): Update.
10185         * config/ia64/ia64.md (movti): New.
10186         (movti_internal): Use a clobber for memory alternatives.
10187         (reload_inti, reload_outti): New.
10188         (movsfcc_astep): Predicate properly.
10189         (movdfcc_astep): Likewise.
10190         (movxf): Remove.
10191         (movtf): New.
10192         (extendsftf2, extenddftf2): New.
10193         (trunctfsf2, trunctfdf2): New.
10194         (floatditf2, fix_trunctfdi2): New.
10195         (floatunsditf2, fixuns_trunctfdi2): New.
10196         (addtf3, subtf3, multf3, abstf2): New.
10197         (negtf2, nabstf2, mintf3, maxtf3): New.
10198         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
10199         (cmptf): New.
10200         (fr_spill): Use TFmode, not XFmode.
10201         (fr_restore): Likewise.
10202         * config/ia64/lib1funcs.asm (__divtf3): New.
10203         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
10204
10205 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10206
10207         * cse.c (fold_rtx): Avoid empty body in an if-statement.
10208
10209         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
10210         `U' integer constant suffix.
10211
10212         * dwarf2out.c (add_subscript_info): Avoid empty body in an
10213         else-statement.
10214
10215         * sparc/sol2.h (__enable_execute_stack): Prototype.
10216
10217 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
10218
10219         * collect2.c: Remove use of AIX import file.
10220
10221         * longlong.h: Test ARCH_PWR not ARCH_POWER.
10222
10223         * rs6000.c (print_operand, case 'E'): Add else.
10224
10225 2000-08-14  Richard Henderson  <rth@cygnus.com>
10226
10227         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
10228         (movdi_symbolic): New.
10229
10230 2000-08-14  Jim Wilson  <wilson@cygnus.com>
10231
10232         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
10233         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
10234         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
10235         to GNU as.
10236
10237 2000-08-14  Richard Henderson  <rth@cygnus.com>
10238
10239         * expr.c (emit_group_load): Don't force constants into registers.
10240         Special case source already in the correct mode.
10241
10242 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
10243
10244         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
10245         * fixinc/inclhack.def: Likewise.
10246         * fixinc/mkfixinc.sh: Likewise.
10247         * configure: Regenerate.
10248         * fixinc/fixincl.x: Regenerate.
10249         * install.texi: Document equivalence of linux and linux-gnu.
10250
10251 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10252
10253         * cse.c (insert_regs): Also in REG case: When finding an invalid
10254         value, and we make a new quantity, make sure that it won't be
10255         mistaken by for a valid one by mention_regs.
10256
10257 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
10258
10259         * h8300.md: Remove obsolete peepholes.
10260
10261 2000-08-13  Kazu Hirata  <kazu@hxi.com>
10262
10263         * invoke.texi (H8/300 Options): Fix typos.
10264         * config/h8300.c: Fix formatting.
10265         * config/h8300.h: Fix comment typos.
10266         (OVERRIDE_OPTIONS): Fix formatting.
10267
10268         * function.c: Fix formatting.
10269
10270         * cse.c: Fix formatting.
10271
10272 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
10273
10274         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
10275         (attempt_auto_inc): Suppress parentheses warning.
10276         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
10277         * loop.c (load_mems): Remove `u' suffix in two places.
10278         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
10279         hex constants.
10280         * config/rs6000/rs6000.h: Likewise.
10281         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
10282         __eabi dummy routine.
10283         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
10284         variable `buf_ptr'.
10285
10286         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
10287         not put stuff in .sdata unnecessarily.
10288         (rs6000_unique_section): New function.
10289         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
10290         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
10291
10292         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
10293         arrays in C99.  Don't try to look at DECL_REGISTER of a
10294         COMPONENT_REF.  Don't complain twice about the same error.
10295
10296         * fixinc/inclhack.def (aix_pthread): New fix.
10297         (aix_sysmachine): New fix.
10298         * fixinc/fixincl.x: Regenerate.
10299
10300         * expr.c (expand_expr): Call convert_modes when turning a large
10301         multiply into a small one.
10302
10303 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
10304
10305         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
10306         the tree structure an exponent rather than an explicit alignment
10307         so it doesn't overflow.
10308         (SET_DECL_OFFSET_ALIGN): New macro.
10309         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
10310         rather than DECL_OFFSET_ALIGN.
10311         (place_field): Likewise.
10312         * expmed.c (store_bit_field): Abort on align==0 to avoid
10313         antisocial machine behaviour.
10314
10315 2000-08-12  Richard Henderson  <rth@cygnus.com>
10316
10317         * sibcall.c (uses_addressof): Accept both addressof and
10318         current_function_internal_arg_pointer inside a mem.
10319         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
10320         if current_function_uses_addressof.
10321         * stmt.c (expand_return): Kill tail recursion and HAVE_return
10322         optimizations.
10323
10324 2000-08-11  Richard Henderson  <rth@cygnus.com>
10325
10326         * config/ia64/ia64.md (addsi3): Remove expander.
10327         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
10328         (*addsi3_shladd): New.
10329
10330 2000-08-11  Richard Henderson  <rth@cygnus.com>
10331
10332         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
10333         (do_restore): Likewise.
10334         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
10335         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
10336         (rtx_needs_barrier): Track actual bit manipulation for
10337         ar.unat moves, gr_spill, and gr_restore.
10338         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
10339         (process_set): Don't handle varargs spills.
10340         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
10341         .mem.offset here instead of in process_set.
10342         (gr_restore): Likewise.
10343
10344 2000-08-11  Richard Henderson  <rth@cygnus.com>
10345
10346         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
10347
10348 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
10349
10350         * gcc.texi (The Configuration File): Document
10351         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
10352         UPDATE_PATH_HOST_CANONICALIZATION.
10353
10354 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10355
10356         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
10357         unprototyped function pointer casts on integer constants.
10358
10359 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
10360
10361         * fixproto: Recognize DOS paths with drive letters as absolute paths.
10362
10363 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
10364
10365         * extend.texi (Volatiles): Fix typos.
10366
10367 2000-08-11  Kazu Hirata  <kazu@hxi.com>
10368
10369         * flow.c: Fix formatting.
10370
10371 2000-08-11  Richard Henderson  <rth@cygnus.com>
10372
10373         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
10374         pattern, always allocate a tertiary scratch register.
10375
10376         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
10377         (reload_inhi): Likewise.
10378
10379 2000-08-11  Richard Henderson  <rth@cygnus.com>
10380
10381         * function.c (put_reg_into_stack): Allow type to be NULL.
10382         (schedule_fixup_var_refs): Likewise.
10383         (gen_mem_addressof): Allow decl to be NULL.
10384         (put_addressof_into_stack): Likewise.
10385
10386         * flow.c (merge_blocks_nomove): Be more careful about
10387         locating the beginning of block A.
10388
10389         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
10390
10391 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10392
10393         * configure.in:
10394         * configure:
10395         * gthr-posix.h:
10396         * config.in: Reverted the check for <sched.h>.
10397
10398 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
10399
10400         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
10401         macros define the name of CTOR and DTOR sections.
10402         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
10403         DTOR_LIST_END): Change to use attributes to specify
10404         sections.
10405         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
10406         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
10407         DTOR_LIST_END): Same as in mips/elf.h.
10408
10409 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
10410
10411         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
10412         disabling just crt0.o.
10413
10414 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
10415
10416         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
10417         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
10418         (EXTRA_SPECS): Add them.
10419         * arm/lib1funcs.asm: Support builds for interworking.
10420         Use macros to eliminate duplicated pieces of code.
10421
10422 2000-08-10  Kazu Hirata  <kazu@hxi.com>
10423
10424         * h8300.c (expand_a_rotate): New.
10425         (emit_a_rotate): Likewise.
10426         (h8300_adjust_insn_length): Add support for the rotate insns.
10427         * h8300.md (rotlqi3): New.
10428         (*rotlqi3_1): Likewise.
10429         (rotlhi3): Likewise.
10430         (*rotlhi3_1): Likewise.
10431         (rotlhi3): Likewise.
10432         (*rotlhi3_1): Likewise.
10433         * h8300-proto.h: Add prototypes for expand_a_rotate and
10434         emit_a_rotate.
10435
10436         * h8300.c: Fix comment typos.
10437         (dosize): Declare the variable amount as unsigned.
10438         (get_shift_alg): Fix a comparison between signed and unsigned.
10439         (emit_a_shift): Likewise.
10440         (h8300_adjust_insn_length): Simplify the code.
10441
10442         * c-decl.c: Fix formatting.
10443
10444 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10445
10446         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
10447         warning about non-traditional numeric constant suffixes.
10448
10449         * cppexp.c (parse_number): Likewise.
10450
10451         * invoke.texi: (-Wtraditional): Document new behavior.
10452
10453 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10454
10455         * gthr-posix.h: Include auto-host.h. Conditionally include
10456         <sched.h>.
10457         * configure.in: Check for the <sched.h> header file.
10458         * config.in: Added define for HAVE_SCHED_H.
10459
10460 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10461
10462         * c-typeck.c (process_init_element): For -Wtraditional, warn about
10463         initialization of unions.
10464
10465         * invoke.texi (-Wtraditional): Document new behavior.
10466
10467 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
10468
10469         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
10470         instead of extra_c_flags.
10471         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
10472         * configure: Regenerate.
10473         * config.in: Regenerate.
10474
10475         * cpperror.c (cpp_type2name): New function.
10476         * cpplex.c (lex_line): If we issued an error for an invalid
10477         preprocessing directive, discard that logical line.
10478         * cpplib.c (do_line): Call a hook function if the current file
10479         is renamed by #line.
10480         (do_ident): Pass the contents of the string, not the entire
10481         token, to the callback function.
10482         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
10483         (cb.rename_file): New hook function.
10484         (cb.ident): Adjust prototype.
10485         (cpp_type2name): Prototype.
10486         * cppmacro.c (dump_macro_args): Correct precedence lossage.
10487
10488         * cppmain.c (cb_ident): Update for changed interface.
10489         (cb_rename_file): New function.
10490         (main): Set rename callback.
10491
10492 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
10493
10494         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
10495         multi-word registers.
10496
10497 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
10498
10499         * c-common.c (combine_strings, check_format_info): Refer to ISO C
10500         or ISO C89 instead of ANSI C.
10501         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
10502         build_enumerator, do_case): Likewise.
10503         * c-lex.c (parse_float, yylex): Likewise.
10504         * c-parse.in: Likewise.
10505         * c-typeck.c (common_type, build_array_ref, build_binary_op,
10506         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
10507         build_c_cast, convert_for_assignment, set_init_index,
10508         set_init_label, c_expand_start_case): Likewise.
10509         * toplev.c (documented_lang_options, display_help): Likewise.
10510
10511 2000-08-08  Kazu Hirata  <kazu@hxi.com>
10512
10513         * h8300.c: Fix formatting.
10514         * h8300.h: Likewise.
10515         * h8300.md: Likewise.
10516         (movsi_h8300hs): Fix formatting of the resulting assembly code.
10517
10518         * reload1.c: Fix formatting.
10519
10520 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
10521
10522         * alpha/alpha.c (alpha_emit_xfloating_libcall):
10523         Use GEN_CALL_VALUE define.
10524         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
10525         * clipper/clipper.md (untyped_call): Likewise.
10526         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
10527         * fx80/fx80.md (untyped_call): Likewise.
10528         * mips/mips.md (untyped_call): Likewise.
10529         * ns32k/ns32k.md (untyped_call): Likewise.
10530         * pa/pa.md (untyped_call): Likewise.
10531         * romp/romp.md (untyped_call): Likewise.
10532         * sparc/sparc.md (untyped_call): Likewise.
10533
10534 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
10535
10536         * config/i860/i860.c (singlemove_string): Do not generate assembler
10537         pseudo instructions that must be expanded (that is, with signed
10538         constants larger than 16 bits).
10539
10540 2000-08-08  Richard Henderson  <rth@cygnus.com>
10541
10542         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
10543         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
10544         (init_propagate_block_info): Don't kill memory stores at -O0.
10545         (mark_set_1, mark_used_regs): Likewise.
10546
10547 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
10548
10549         * rs6000.c (optimization_options): Decorate 'level' as
10550         ATTRIBUTE_UNUSED.
10551         (mask64_operand): Remove sign-extend thinko.
10552         (rldic_operand): New function.
10553         (load_multiple_operation): regno's are unsigned ints.
10554         (store_multiple_operation): Likewise.
10555         (lmw_operation): Likewise.
10556         (stmw_operation): Likewise.
10557         (includes_lshift_p): shift_mask is unsigned int.
10558         (includes_lshift64_p): New function.
10559         (addrs_ok_for_quad_peep): unsigned int reg1.
10560         (print_operand): Consistently add "else" after
10561         output_operand_lossage().
10562         (print_operand, case 'b'): Fold in case 'W'.
10563         (print_operand, case 'W'): Print rldic MB value.
10564         (output_epilogue): Update Objective-C language string.
10565         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
10566         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
10567         * rs6000.md (ashldi3): Add rldic instruction.
10568         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
10569         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
10570         modifier.
10571
10572 2000-08-08  Richard Henderson  <rth@cygnus.com>
10573
10574         * config/ia64/ia64-protos.h: Remove duplicates.  Update
10575         for massive code rearrangements.
10576         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
10577         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
10578         (ia64_local_regs, ia64_need_regstk): Remove.
10579         (ar_ccv_reg_operand): New.
10580         (ia64_gp_save_reg): New.
10581         (struct ia64_frame_info): Combine most of the size elements;
10582         add new gr save elements.
10583         (find_gr_spill): New.
10584         (next_scratch_gr_reg): New.
10585         (mark_reg_gr_used_mask): New.
10586         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
10587         to GR backing store regs when possible.
10588         (ia64_initial_elimination_offset): New.
10589         (ia64_rap_fp_offset): Remove.
10590         (save_restore_insns): Remove.
10591         (setup_spill_pointers): New.
10592         (finish_spill_pointers): New.
10593         (spill_restore_mem): New.
10594         (do_spill, do_restore): New.
10595         (ia64_expand_prologue): Rewrite to use them.
10596         (ia64_expand_epilogue): Likewise.
10597         (ia64_direct_return): Update for current_frame_info changes.
10598         (ia64_function_prologue): Simplify .prologue emission.  Emit
10599         .spill when needed.
10600         (ia64_setup_incoming_varargs): Don't ever emit rtl.
10601         (ia64_dbx_register_number): New.
10602         (ia64_initialize_trampoline): New.
10603         (ia64_secondary_reload_class): Request GR_REGS for integer
10604         arithmetic destined for FR_REGS.
10605         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
10606         (ia64_mark_machine_status): Mark ia64_gp_save.
10607         (rws_access_regno): Rename from rws_access_reg; don't treat
10608         predicates specially.
10609         (rws_access_reg): New.  Update all callers.
10610         (rtx_needs_barrier): Remove dead unspecs.
10611         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
10612         (ia64_encode_section_info): Silence signed/unsigned warnings.
10613         (spill_offset, sp_offset, spill_offset_emitted): Remove.
10614         (tmp_reg, tmp_saved): Remove.
10615         (process_set): Rewrite to expect complicated bits via
10616         REG_FRAME_RELATED_EXPR.
10617         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
10618         in the use of ar.ccv; never set RTX_UNCHANGING_P.
10619         (ia64_expand_op_and_fetch): Likewise.
10620         (ia64_expand_compare_and_swap): Likewise.
10621         (ia64_expand_builtin): Likewise.
10622         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
10623         (FIRST_PSEUDO_REGISTER): Update.
10624         (AR_M_REGNO_P): Update.
10625         (FIXED_REGS): Don't mark three local registers as used.
10626         (EXTRA_CC_MODES): New.
10627         (SELECT_CC_MODE): New.
10628         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
10629         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
10630         (FRAME_GROWS_DOWNWARD): Unset.
10631         (STARTING_FRAME_OFFSET): Zero.
10632         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
10633         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
10634         (HARD_FRAME_POINTER_REGNUM): New.
10635         (CAN_DEBUG_WITHOUT_FP): Define.
10636         (TRAMPOLINE_TEMPLATE): Remove.
10637         (TRAMPOLINE_SIZE): Lower to 32.
10638         (TRAMPOLINE_ALIGNMENT): Lower to 64.
10639         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
10640         (PREDICATE_CODES): Update.
10641         (struct machine_function): Add ia64_gp_save.
10642         * config/ia64/ia64.md: Purge unused unspecs.
10643         (movsi patterns): Allow moves to/from AR_M_REGS.
10644         (movdi patterns): Allow moves to/from p0.
10645         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
10646         (gr_spill, gr_restore): Indicate ar.unat read/written.
10647         (nonlocal_goto): Don't pass old frame_pointer.
10648         (nonlocal_goto_receiver): Remove.
10649         (exception_receiver): New.
10650         (builtin_setjmp_setup): New.
10651         (builtin_setjmp_receiver): New.
10652         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
10653         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
10654         (__ia64_restore_stack_nonlocal): Likewise.
10655         (__ia64_trampoline): New.
10656         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
10657         function.
10658         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
10659
10660 2000-08-08  Richard Henderson  <rth@cygnus.com>
10661
10662         * frame.h (ia64_frame_state): Add my_psp.
10663         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
10664         (__throw): Pass it in.  Don't clobber r7.
10665         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
10666         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
10667         and nothing to do with sp.
10668         (normalize_reg_loc): Use frame->my_psp.
10669         (frame_translate): Handle frame-pointer-less functions.  Set
10670         spill_base correctly, in absence of being told.
10671         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
10672         (__ia64_backtrace_helper): New sp argument.  Use
10673         builtin_return_address instead of label addresses.
10674         (print_record) [mem_stack_v]: No size member.
10675
10676 2000-08-08  Richard Henderson  <rth@cygnus.com>
10677
10678         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
10679
10680 2000-08-08  Richard Henderson  <rth@cygnus.com>
10681
10682         * tm.texi (LOCAL_REGNO): Document.
10683         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
10684         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
10685         * reload1.c (reload): Likewise when considering nonlocal labels.
10686
10687         * config/ia64/ia64.h (LOCAL_REGNO): New.
10688         * config/sparc/sparc.h (LOCAL_REGNO): New.
10689
10690 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
10691
10692         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
10693
10694 2000-08-07  Nick Clifton  <nickc@redhat.com>
10695
10696         * config/mips/mips.c: Fix compile time warning messages.
10697         * config/mips/mips-protos.h: Add prototype for equality_op.
10698
10699         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
10700
10701 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
10702
10703         * mn10300.md: Use nonimmediate_operand instead of general_operand
10704         on output operands.
10705
10706         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
10707
10708 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
10709
10710         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
10711         * sh.c (expand_block_move): Break long lines.
10712         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
10713         * sh.md (mulsi3): Likewise.
10714         (movdi): Adjust spacing.
10715
10716 2000-08-07  Richard Henderson  <rth@cygnus.com>
10717
10718         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
10719         * expr.c (emit_group_store): Don't set it.
10720
10721 2000-08-07  Kazu Hirata  <kazu@hxi.com>
10722
10723         * invoke.texi (Options for Debugging Your Program or GCC): Remove
10724         duplicate entries for 'w' and 'z'.
10725
10726         * flow.c: Fix a comment typo.
10727
10728 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10729
10730         * c-parse.in: Changed the language string for Objective-C to "GNU
10731         Objective-C".
10732
10733 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10734
10735         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
10736         to improve the Posix thread support for Objective-C.
10737
10738 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
10739
10740         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
10741         CTI_UNSIGNED_PTRDIFF_TYPE.
10742         (signed_size_type_node): Define.
10743         (unsigned_ptrdiff_type_node): Define.
10744         * c-decl.c (init_decl_processing): Create the
10745         signed_size_type_node and unsigned_ptrdiff_type_node types.
10746         * c-common.c (T_SC): Define.
10747         (T_SST): Define.
10748         (T_UPD): Define.
10749         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
10750         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
10751         %s and %p.
10752         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
10753         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
10754         flags for %c, %s and %[.
10755         (check_format_info): Only allow leniency for signedness of targets
10756         of character pointers (when pedantic) for formats flagged with
10757         "c", so for strings but not for %hh formats.  When pedantic, don't
10758         allow character pointers to substitute for void pointers if a
10759         second level of indirection is present.
10760
10761 2000-08-06  Kazu Hirata  <kazu@hxi.com>
10762
10763         * invoke.texi (Options for Debugging Your Program or GCC): Update
10764         the names of dump files.
10765
10766         * h8300.c (dosize): Rearrange code for conciseness.
10767         (split_adds_subs): Likewise.
10768
10769         * loop.c: Fix formatting.
10770
10771         * dwarf2out.c: Fix formatting.
10772
10773         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
10774
10775         * expr.c: Fix formatting.
10776
10777 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10778
10779         * rs6000.c (rs6000_maybe_dead): Prototype.
10780
10781 2000-08-06  Richard Henderson  <rth@cygnus.com>
10782
10783         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
10784         HAVE_nonlocal_goto as well.
10785         * config/i960/i960.md (nonlocal_goto): Don't do it here.
10786         * config/pj/pj.md (nonlocal_goto): Likewise.
10787
10788 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
10789
10790         * loop.c (try_swap_copy_prop): New function.
10791         (load_mems): Rename copies to load_copies and add new regset
10792         store_copies.  Check for sets of shadow registers and mark
10793         in store_copies.   Call try_swap_copy_prop for registers
10794         marked in store_copies.
10795
10796 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
10797
10798         * objc/objc-act.c: New command line option -fconstant-string-class
10799         to allow specifying a user defined constant string class,
10800         different from NXConstantString.
10801
10802         * toplev.c: Moved the Objective-C specific options to
10803         objc/lang-options.h.
10804
10805         * objc/lang-options.h: Moved the Objective-C specific options from
10806         toplev.c. Added -fconstant-string-class.
10807
10808 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
10809
10810         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
10811         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
10812         __CTOR_LIST__ from func_ptr array to just func_ptr, to
10813         avoid extra alignment imposed on arrays.
10814         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
10815         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
10816
10817         * mips.h: Clean up comments and spacing near MASKs.
10818         (TARGET_UNIX_ASM): Delete.
10819         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
10820         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
10821         values contiguous.
10822
10823 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
10824
10825         * c-common.c (print_char_table): Add entries for the X/Open '
10826         format flag (print decimals with locale's thousands grouping
10827         character).  Make %C expect wint_t.
10828         (check_format_info): If pedantic, warn when the %n$ operand
10829         number form is used.  Allow for the ' flag; warn about it if
10830         pedantic.
10831
10832 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
10833
10834         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
10835         type is a float mode, cfun->decl's return type is not, and
10836         TARGET_FLOAT_RETURNS_IN_80387.
10837
10838 2000-08-04  Andreas Schwab  <schwab@suse.de>
10839
10840         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
10841         token list, which are always `#' and `pragma'.
10842
10843 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
10844
10845         * tree.c (tree_expr_nonnegative_p): Move to...
10846         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
10847         (rtl_expr_nonnegative_p): New.
10848         * tree.h: Add prototype for rtl_expr_nonnegative_p.
10849
10850         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
10851         CONST_DOUBLE_CHAIN: Move to...
10852         * rtl.h: ...here.  Use XCINT/XCEXP.
10853
10854         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
10855         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
10856         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
10857         to VOL_FILES.
10858
10859         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
10860
10861 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10862
10863         * config/c4x/c4x.md (return_indirect_internal): New.
10864         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
10865
10866 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
10867
10868         * c-common.c (time_char_table): Mark up formats added in C99 and
10869         make other corrections.  %D and %g were added in C99.  %Og is an
10870         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
10871         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
10872         C99 rather than GNU extensions, but %OG and %Oz are extensions.
10873         %h was added in C99.  %C was added in C99.  %OY and %OC are
10874         extensions.  Add the C99 format %F.
10875         (check_format_info): If pedantic and not in C99 mode, warn for C99
10876         formats, %E and %O.
10877
10878 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10879
10880         * function.c (schedule_fixup_var_refs): New function, broken out
10881         of put_reg_into_stack.
10882         (put_reg_into_stack): Use it.
10883         (put_var_into_stack): In CONCAT case, fixup up references for
10884         components only after fixing up references to the whole concat.
10885
10886 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
10887
10888         * alias.c (mark_constant_function): Use INSN_P.
10889         (init_alias_analysis): Likewise.
10890         * combine.c (combine_instructions): Use INSN_P.
10891         (can_combine_p): Likewise.
10892         (try_combine): Likewise.
10893         (distribute_notes): Likewise.
10894         (distribute_links): Likewise.
10895         * cse.c (cse_around_loop): Use INSN_P.
10896         (invalidate_skipped_block): Likewise.
10897         (cse_set_around_loop): Likewise.
10898         (cse_end_of_basic_block): Likewise.
10899         (delete_trivially_dead_insns): Likewise.
10900         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
10901         (unshare_all_rtl_1): Likewise.
10902         (next_cc0_user): Likewise.
10903         (try_split make_insn_raw): Likewise.
10904         (remove_unnecessary_notes): Likewise.
10905         * final.c (shorten_branches): Use INSN_P.
10906         (leaf_renumber_regs): Likewise.
10907         (leaf_renumber_regs_insn): Likewise.
10908         * flow.c (find_label_refs): Use INSN_P.
10909         (verify_wide_reg): Likewise.
10910         (notice_stack_pointer_modification): Likewise.
10911         (count_or_remove_death_notes): Likewise.
10912         (verify_flow_info): Likewise.
10913         (clear_log_links): Likewise.
10914         * function.c (fixup_var_refs_insns): Use INSN_P.
10915         (compute_insns_for_mem): Likewise.
10916         * gcse.c (alloc_gcse_mem): Use INSN_P.
10917         (compute_sets): Likewise.
10918         (compute_hash_table): Likewise.
10919         (classic_gcse): Likewise.
10920         (cprop): Likewise.
10921         (insert_insn_end_bb): Likewise.
10922         (delete_null_pointer_checks_1): Likewise.
10923         * global.c (expand_preferences): Use INSN_P.
10924         (build_insn_chain): Likewise.
10925         * graph.c (node_data): Use INSN_P.
10926         * haifa-sched.c (priority): Use INSN_P.
10927         (rm_line_notes): Likewise.
10928         (rm_other_notes): Likewise.
10929         (find_insn_reg_weight): Likewise.
10930         (init_target_units): Likewise.
10931         (schedule_block): Likewise.
10932         (compute_block_forward_dependences): Likewise.
10933         (debug_dependencies): Likewise.
10934         (set_priorities): Likewise.
10935         * integrate.c (function_cannot_inline_p): Use INSN_P.
10936         (save_parm_insns): Likewise.
10937         (copy_insn_list): Likewise.
10938         * jump.c (mark_all_labels): Use INSN_P.
10939         (never_reached_warning): Likewise.
10940         * lcm.c (optimize_mode_switching): Use INSN_P.
10941         * local-alloc.c (validate_equiv_mem): Use INSN_P.
10942         (memref_used_between_p): Likewise.
10943         (update_equiv_regs): Likewise.
10944         (block_alloc): Likewise.
10945         (no_conflict_p): Likewise.
10946         * loop.c (scan_loop): Use INSN_P.
10947         (find_and_verify_loops): Likewise.
10948         (count_loop_regs_set): Likewise.
10949         (loop_reg_used_before_p): Likewise.
10950         (strength_reduce): Likewise.
10951         (recombine_givs): Likewise.
10952         (check_dbra_loop): Likewise.
10953         (load_mems): Likewise.
10954         (try_copy_prop): Likewise.
10955         * print-rtl.c (print_rtx): Use INSN_P.
10956         * recog.c (find_single_use): Use INSN_P.
10957         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
10958         (next_flags_user): Likewise.
10959         (swap_rtx_condition): Likewise.
10960         * regmove.c (mark_flags_life_zones): Use INSN_P.
10961         (optimize_reg_copy_1): Likewise.
10962         (optimize_reg_copy_2): Likewise.
10963         (optimize_reg_copy_3): Likewise.
10964         (reg_is_remote_constant_p): Likewise.
10965         (fixup_match_2): Likewise.
10966         (regmove_optimize): Likewise.
10967         (fixup_match_1): Likewise.
10968         * regrename.c (build_def_use): Use INSN_P.
10969         (replace_reg_in_block): Likewise.
10970         (consider_use): Likewise.
10971         * reload.c (find_equiv_reg): Use INSN_P.
10972         * reload1.c (reload): Use INSN_P.
10973         (maybe_fix_stack_asms): Likewise.
10974         (calculate_needs_all_insns): Likewise.
10975         (reload_as_needed): Likewise.
10976         (emit_output_reload_insns): Likewise.
10977         (delete_address_reloads_1): Likewise.
10978         (reload_cse_regs_1): Likewise.
10979         (reload_combine): Likewise.
10980         (reload_cse_move2add): Likewise.
10981         * reorg.c (redundant_insn): Use INSN_P.
10982         (dbr_schedule): Likewise.
10983         * resource.c (find_dead_or_set_registers): Use INSN_P.
10984         (mark_target_live_regs): Likewise.
10985         * rtlanal.c (reg_used_between_p): Use INSN_P.
10986         (reg_referenced_between_p): Likewise.
10987         (reg_set_between_p): Likewise.
10988         (reg_set_p): Likewise.
10989         (single_set): Likewise.
10990         (multiple_sets): Likewise.
10991         (find_last_value): Likewise.
10992         (reg_set_last): Likewise.
10993         (find_reg_note): Likewise.
10994         (find_regno_note): Likewise.
10995         * sibcall.c (sequence_uses_addressof): Use INSN_P.
10996         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
10997         * ssa.c (find_evaluations): Use INSN_P.
10998         (rename_block): Likewise.
10999         (rename_equivalent_regs): Likewise.
11000         * unroll.c (loop_find_equiv_value): Use INSN_P.
11001         (set_dominates_use): Likewise.
11002         * varasm.c (mark_constant_pool): Use INSN_P.
11003         (mark_constants): Likewise.
11004         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
11005         (alphaev4_next_group): Likewise.
11006         (alphaev5_next_group): Likewise.
11007         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
11008         (c4x_rptb_rpts_p): Likewise.
11009         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
11010         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
11011         (rs6000_adjust_priority): Likewise.
11012         * config/sh/sh.c (sh_loop_align): Use INSN_P.
11013         (machine_dependent_reorg): Likewise.
11014         (split_branches): Likewise.
11015         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
11016
11017 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
11018
11019         * combine.c (recog_for_combine): Remove the old notes
11020         prior to attempting to recognize the new pattern.
11021         (distribute_notes): Ignore REG_NONNEG notes.
11022
11023 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
11024
11025         * varasm.c (output_constructor): Add .align 0 for packed vars.
11026
11027 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
11028
11029         * configure.in: Use default thread_file even when enable_threads is
11030         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
11031         * configure: Rebuilt.
11032
11033         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
11034
11035 2000-08-04  Donn Terry (donnte@microsoft.com)
11036
11037         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
11038
11039 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
11040
11041         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
11042         Delete code that conditionally modifies 'version'.
11043         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
11044         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
11045         * gcc.c (main): Use it.
11046         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
11047         * prefix.c (update_path): Use it.
11048         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
11049         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
11050         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
11051         code.
11052         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
11053         (SUBTARGET_SWITCHES): Adjust.
11054         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
11055         defining.
11056         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
11057
11058 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11059
11060         * c-common.h (flag_isoc94): Declare.
11061         * c-decl.c (flag_isoc94): Define.
11062         (c_decode_option): Set flag_isoc94 as appropriate.
11063         * c-common.c (T_PD, T_IM, T_UIM): Define.
11064         (format_char_info): Add tlen and jlen.
11065         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
11066         %F.  Allow %lf.
11067         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
11068         %l[.
11069         (time_char_table): Add NULL entries for %t and %j.
11070         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
11071         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
11072         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
11073         precision.  Allow precision argument to be unsigned int.  If
11074         pedantic, warn for %p passed an argument not a pointer to possibly
11075         qualified void or a possibly qualified character type, and for
11076         pointer targets of the wrong sign, except for character pointers.
11077
11078 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11079
11080         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
11081         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
11082         (wint_type_node): Define.
11083         * c-decl.c (WINT_TYPE): Define.
11084         (init_decl_processing): Create the wint_type_node type.
11085         * c-common.c (T_WI): Define.
11086         (print_char_table): Use T_WI for %lc format.
11087
11088 2000-08-04  Bruce Korb  <bkorb@gnu.org>
11089
11090         * fixinc/:  Verified that the MSDOS patch does not break
11091         the UNIX functionality and applied the next three patches
11092         from July:
11093
11094 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
11095
11096         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
11097         output file with the temporary one by appending ".X" to generate
11098         the temporary fuile's name.  If the output file already has an
11099         extension, replace it with ".X".
11100
11101         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
11102         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
11103         reallocate the command buffer while copying the command-line
11104         argument.  Redirect the output directly to the temporary file,
11105         instead of going through another temporary file.
11106         (process): Close the temporary file before unlinking it.
11107         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
11108         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
11109         (run_compiles): Pass p_fixd argument to machine_matches, as it
11110         expects.
11111
11112         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
11113         environment, assume there are no symlinks in the include
11114         directory.  When cleaning up the DONE files, look for them
11115         case-insensitively.  Don't try to remove symlinks if they aren't
11116         there.
11117
11118         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
11119         all callers changed.  Declare pz "const char *", to avoid compiler
11120         warnings.
11121
11122         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
11123         Change prototype of make_raw_shell_str.
11124
11125 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
11126
11127         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
11128         (initialize) [__MSDOS__]: Use tempnam.
11129         (initialize): Don't use SIGPIPE if it is not defined.
11130
11131         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
11132         return stdout.
11133
11134 2000-07-25  Bruce Korb  <bkorb@gnu.org>
11135
11136         * fixinc/fix*.[ch]: substantially reworked to make it possible
11137         to run this program without using fork(2) or pipe(2) (i.e. in
11138         a DOS environment).
11139
11140 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
11141
11142         * cppdefault.h (WINT_TYPE): Define.
11143         * cppinit.c (builtin_array): Define __WINT_TYPE__.
11144         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
11145         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
11146
11147 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
11148
11149         * (mips_legitimate_address_p): Don't allow register+offset
11150         if the offset is large and negative, and we are compiling
11151         for 64 bit registers.
11152
11153 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11154
11155         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
11156         insn_code_number + 1.
11157
11158 2000-08-04  Kazu Hirata  <kazu@hxi.com>
11159
11160         * h8300.c (function_prologue): Rearrange code for conciseness.
11161         (function_epilogue): Likewise.
11162         * h8300.h (OK_FOR_U): Fix formatting.
11163
11164         * cse.c: Fix a comment typo. Fix formatting.
11165
11166 2000-08-03  Richard Henderson  <rth@cygnus.com>
11167
11168         * config/i386/i386.md (return_indirect_internal): New.
11169         * config/i386/i386.c (ix86_expand_epilogue): Use it.
11170
11171 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
11172
11173         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
11174         before the name.
11175         (lex_line): Glue @ onto the beginning of identifiers and
11176         string constants, in Objective-C mode.
11177         (output_token, spell_token): Handle CPP_OSTRING.
11178         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
11179         beginning of a NAME or a STRING, in objc mode.
11180
11181         * cpplib.c (get_define_node): Do not permit identifiers that
11182         begin with @ to be #defined.
11183         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
11184         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
11185
11186         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
11187         * c-tree.h (build_objc_string): Delete prototype.
11188         * objc/objc-tree.def: Delete OBJC_STRING_CST.
11189         * c-lex.c (yylex): Use build_string for all three kinds of strings.
11190
11191         * c-parse.in, objc/objc-act.c: Update commentary.
11192
11193 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
11194
11195         * extend.texi: Fix typo in last change.
11196
11197         * extend.texi: Add commentary on statement-expressions and their
11198         interactions with C++.
11199
11200 2000-08-03  Nick Clifton  <nickc@cygnus.com>
11201
11202         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
11203         * dwarf.h (LANG_JAVA): Change value to 0x000b.
11204
11205 2000-08-03  Anthony Green  <green@cygnus.com>
11206
11207         * dwarf2out.c (gen_compile_unit_die): Add java language support.
11208         (add_bound_info): Check for java language.
11209         (is_java): New function.
11210         * dwarfout.c (output_compile_unit_die): Ditto.
11211         * dwarf.h (dwarf_source_language): Add java source language type.
11212         * dwarf2.h (dwarf_source_language): Ditto.
11213
11214 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11215
11216         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
11217         operands.
11218
11219         * i386.c (ix86_expand_branch): Mode of comparison in
11220         IF_THEN_ELSE is VOIDmode.
11221
11222 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
11223
11224         * gengenrtl.c, rtl.c: Avoid #elif.
11225
11226 2000-08-03  Michael Poole  <poole@troilus.org>
11227
11228         * tm.texi (Register Classes): Clarify order of sub-initializers
11229         in REG_CLASS_CONTENTS.
11230
11231 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11232
11233         From SAITOH Masanobu:
11234         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
11235
11236 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
11237
11238         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
11239         is not supported by tradcpp and isn't actually needed for cygwin.
11240
11241 2000-08-03  Kazu Hirata  <kazu@hxi.com>
11242
11243         * h8300.c: Fix a comment typo.
11244         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
11245
11246         * jump.c: Fix formatting.
11247
11248         * toplev.c: Fix formatting.
11249
11250 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
11251
11252         * flow.c (find_auto_inc): Verify that we've got a REG before
11253         peeking at its regno.  Fail, don't abort if we can't find
11254         the increment of the desired register.
11255
11256         * pa.md (shadd height reduction patterns/splitters): Remove.
11257
11258 2000-08-02  Jim Wilson  <wilson@cygnus.com>
11259
11260         * config/ia64/ia64-protos.h (flag_ssa): Declare.
11261         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
11262
11263 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
11264
11265         * dce.c: Remove all uses of assert.
11266         * dwarf2out.c: Likewise.
11267         * dwarfout.c: Likewise.
11268         * ssa.c: Likewise.
11269
11270 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
11271
11272         * gcc.h (lang_specific_driver): Constify second argument.
11273         * gcc.c (translate_options, process_command, main): Likewise.
11274         Constify variables to match.  Cast second argument to
11275         pexecute.
11276
11277         * cppspec.c, gccspec.c: Adjust type of second argument to
11278         lang_specific_driver, and update code as necessary.
11279
11280 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
11281
11282         * loop.c (scan_loop): Ensure update_end label does not
11283         go away until reg_scan_update is run.
11284
11285 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
11286
11287         * c-common.h: Prototype min_precision and c_build_qualified_type here...
11288         * c-tree.h: ... not here.
11289         * errors.h: Prototype fancy_abort.
11290
11291         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
11292         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
11293         * regrename.c (regrename_optimize): Make control flow explicit.
11294         (replace_reg_in_block): Initialize reg_use to 0.
11295
11296         * i386.c (legitimate_address_p): Rename error label to
11297         report_error to avoid namespace clash.
11298
11299 2000-08-02  Kazu Hirata  <kazu@hxi.com>
11300
11301         * fold-const.c: Fix formatting.
11302
11303 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11304
11305         * i386.c (legitimate_address_p): Accept other bases than
11306         pic_offset_table_rtx for GOTOFF constructs.
11307
11308 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11309
11310         * i386.md (shift to lea splitter): Use const_int_operand.
11311
11312 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
11313
11314         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
11315         cppspec.c: Do not use 'legal' or 'illegal' in error messages
11316         and comments.
11317
11318         * cppmain.c (cb_define, cb_undef): Don't generate any output
11319         if not done_initializing.
11320         * cpplex.c (maybe_paste_with_next): When the token after a ##
11321         is an omitted rest argument, only delete the token before it
11322         if that token is a comma.  Do not warn about bogus token
11323         pastes for , ## rest_arg.
11324
11325         * cpp.texi: Update.
11326         * cpp.1: Regenerate.
11327
11328 2000-08-02  Fred Fish  <fnf@be.com>
11329
11330         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
11331         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
11332         and later.
11333
11334         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
11335         Be directories to search path.
11336
11337         Remove support for __declspec(dllimport) and __declspec(dllexport).
11338         This is leftover cruft from the earlier BeOS gcc port when BeOS
11339         used Microsoft's PE object file format.
11340         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
11341         * config/i386/t-beos (winnt.o): Remove Makefile frag.
11342         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
11343         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
11344         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
11345         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
11346         (REDO_SECTION_INFO_P): Remove.
11347         (ASM_EXPORT_DECL): Remove.
11348         (ASM_DECLARE_FUNCTION_NAME): Remove.
11349         (ASM_DECLARE_OBJECT_NAME): Remove.
11350         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
11351         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
11352         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
11353         (STRIP_NAME_ENCODING): Remove.
11354
11355         Remove support for obsolete version of BeOS that is no longer
11356         supported by Be.
11357         * configure.in (i*86-*-beospe*): Remove.
11358         * config/i386/beos-pe.h: Remove.
11359
11360 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
11361             Mark Mitchell <mark@codesourcery.com>
11362
11363         * Makefile.in (OBJS): Added dce.o.
11364         (ssa.o): Updated target to include ssa.h.
11365         (flow.o): Likewise.
11366         (toplev.o): Likewise.
11367         (dce.o): Created target.
11368         * basic-block.h: Added comments.
11369         (INVALID_BLOCK): Added definition.
11370         (connect_infinite_loops_to_exit): Added declaration.
11371         Moved SSA declarations to ssa.h.
11372         * flow.c: Added inclusion of ssa.h.
11373         (struct depth_first_search_dsS, depth_first_search_ds):
11374         Added definitions.
11375         (compute_immediate_postdominators): Added definition.
11376         (connect_infinite_loops_to_exit): Likewise.
11377         (flow_dfs_compute_reverse_init): Likewise.
11378         (flow_dfs_compute_reverse_add_bb): Likewise.
11379         (flow_dfs_compute_reverse_execute): Likewise.
11380         (flow_dfs_compute_reverse_finish): Likewise.
11381         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
11382         (LABEL_P): Added definition.
11383         (JUMP_P): Likewise.
11384         (NOTE_P): Likewise.
11385         (BARRIER_P): Likewise.
11386         (JUMP_TABLE_DATA_P): Likewise.
11387         (INSN_DEAD_CODE_P): Likewise.
11388         * ssa.c: Replaced inclusions with ssa.h inclusion.
11389         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
11390         (rename_registers): Removed unnecessary variables.
11391         * ssa.h: Created by moving declarations from ssa.c and
11392         basic-block.h.
11393         * timevar.def: Defined TV_DEAD_CODE_ELIM.
11394         * toplev.c: Added ssa.h inclusion.
11395         (dump_file_index): Added DFI_dce.
11396         (dump_file): Added "dce" entry.
11397         Defined flag_ssa.
11398         (f_options): Added dce entry.
11399         * invoke.texi: Document -fdce.  Emphasize experimental status of
11400         -fssa.
11401         * dce.c: New file.
11402
11403 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
11404
11405         * cpperror.c (v_message): Split into _cpp_begin_message and
11406         v_message macro.  All callers updated.
11407         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
11408         checks here.
11409
11410         * cppfiles.c (cpp_syshdr_flags): New function.
11411         (read_include_file): Don't call cpp_output_tokens.  Call
11412         enter_file hook.
11413         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
11414         (cpp_reader_init): Don't initialize token_buffer.  Call
11415         _cpp_init_internal_pragmas.
11416         (cpp_cleanup): Don't clear token_buffer.
11417         (cpp_start_read): Don't worry about output from -D processing.
11418         Don't call cpp_output_tokens.
11419         (cpp_finish): Don't dump macros here.  Don't call
11420         cpp_output_tokens.
11421         * cppmacro.c (_cpp_dump_definition): Rename
11422         cpp_dump_definition.  Write directly to a FILE *.
11423         (dump_funlike_macro): Delete.
11424         (dump_macro_args): New.
11425
11426         * cpplex.c (TOKEN_LEN): Convert to inline function.
11427         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
11428         cpp_scan_line, _cpp_dump_list): Delete.
11429         (cpp_printf, cpp_output_list): New.
11430         (output_line_command): Don't worry about entering or leaving files.
11431         (cpp_scan_buffer): Just output each token as we hit it.
11432         (process_directive): Don't call cpp_output_tokens.
11433         (_cpp_glue_header_name): Don't use token_buffer.
11434         (output_token, dump_param_spelling): Write directly to a FILE *.
11435
11436         * cpplib.c (pass_thru_directive, dump_macro_name,
11437         pragma_dispatch, do_pragma_gcc): Delete.
11438         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
11439         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
11440         functions.
11441         (do_error, do_warning, pragma_dependency): Call
11442         _cpp_begin_message, then cpp_output_list.
11443         (cpp_register_pragma, cpp_register_pragma_space,
11444         _cpp_init_internal_pragmas): New.
11445         (do_pragma): Walk the pragmas table here.
11446         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
11447         do_pragma_dependency): Return void.
11448         (do_pragma_implementation): Moved to cppmain.c.
11449
11450         * cpplib.h: Update prototypes.
11451          (struct cpp_reader): Remove printer, token_buffer,
11452         token_buffer_size, and limit.  Add struct cb, and pragmas.
11453         (struct cpp_printer): Remove last_id and written.
11454         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
11455         CPP_ADJUST_WRITTEN): Delete.
11456         * cpphash.h: Update prototypes.
11457         (ufputs): New wrapper.
11458
11459         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
11460         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
11461         (main): Set up callbacks.  Register #pragma implementation.
11462         Dump macros from here.
11463
11464 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
11465
11466         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
11467         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
11468         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
11469         insns if they have a REG_MAYBE_DEAD note attached.
11470         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
11471         (rs6000_emit_load_toc_table): TOC loads may go dead.
11472
11473 2000-08-01  Jim Wilson  <wilson@cygnus.com>
11474
11475         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
11476         type exists before using it.  Use number of words as alignment
11477         otherwise.
11478         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
11479         ia64_va_arg): Propagate ia64_function_args changes here.
11480
11481 2000-08-01  Richard Henderson  <rth@cygnus.com>
11482
11483         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
11484         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
11485
11486 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
11487
11488         From Joern Rennecke:
11489         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
11490         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
11491         unless TARGET_SH3E is set.
11492         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
11493
11494         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
11495         (ashlsi3_std): New pattern.
11496         (ashlsi3 expander): Use it for TARGET_SH3.
11497         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
11498
11499 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11500
11501         * loop.c (canonicalize_condition):  Use destination, not source to
11502         determine SET's mode.
11503
11504 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
11505
11506         * flow.c (clear_log_links): Fix typo.
11507
11508 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
11509
11510         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
11511         on targets which need more than one insn for a compare/cbranch
11512         operation.
11513
11514 2000-07-31  Jim Wilson  <wilson@cygnus.com>
11515
11516         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
11517         when computing offset.
11518
11519 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
11520
11521         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
11522
11523 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
11524
11525         * flow.c (clear_log_links): Nuke global_live_at_start and
11526         global_live_at_end data, since if the log_links stuff is invalid
11527         so is global_live_at_*.
11528
11529 2000-07-31  Richard Henderson  <rth@cygnus.com>
11530
11531         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
11532
11533 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
11534
11535         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
11536         (_cpp_get_token): Don't macro expand a just pasted token if it
11537         was pasted at no_expand_level.
11538
11539 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
11540
11541         * cppmacro.c (find_param, count_params, save_expansion):
11542         Permit 'defined' as a macro parameter name.
11543
11544 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
11545
11546         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
11547         xcpp to cpp throughout.
11548         (native): Remove unnecessary dependency on cpp.
11549
11550         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
11551         tradcpp to tradcpp0.
11552         (.i spec): Add missing output-file spec to cc1 command line.
11553         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
11554
11555 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
11556
11557         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
11558         (implicit_decl_warning): New function.
11559         (implicitly_declare): Use it.
11560         * c-typeck.c (build_external_ref): Use implicit_decl_warning
11561         to complain about implicit decls of builtins.
11562
11563         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
11564         based on pedantic && flag_isoc99, if not already set.
11565         * c-tree.h: Declare mesg_implicit_function_declaration.
11566         Prototype implicit_decl_warning.
11567
11568 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
11569
11570         * Makefile.in (ssa.o): Updated header files in dependences.
11571         * basic-block.h: Added compute_immediate_postdominators declaration.
11572         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
11573         definition.
11574         * flow.c (compute_immediate_dominators): Updated comment.
11575         (compute_immediate_postdominators): Added definition.
11576         * rtl.h (HARD_REGISTER_P): Added definition.
11577         * ssa.c: Include additional header files.
11578         (assert): Added definition.
11579         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
11580         include select hard registers.
11581         (ssa_rename_to_insert): Likewise.
11582         (ssa_rename_from_initialize): Likewise.
11583         (ssa_rename_from_lookup): Likewise.
11584         (original_register): Likewise.
11585         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
11586         include select hard reigsters.
11587         (ssa_rename_from_traverse): Likewise.
11588         (ssa_rename_from_free): Likewise.
11589         (ssa_rename_from_print): Likewise.
11590         (ssa_rename_from_print_1): Likewise.
11591         (ssa_rename_from_hash_function): Likewise.
11592         (ssa_rename_from_equal): Likewise.
11593         (ssa_rename_from_delete): Likewise.
11594         (simplify_to_immediate_dominators): Removed in favor of
11595         flow.c:compute_immediate_dominators.
11596         (find_evaluations_1): Modified to work with hard registers.
11597         (insert_phi_node): Likewise.
11598         (insert_phi_nodes): Likewise.
11599         (struct rename_set_data): Updated prev_reg comment.
11600         (create_delayed_rename): Modified to work with hard registers.
11601         (RENAME_NO_RTX): Updated comment.
11602         (apply_delayed_renames): Modified to work with hard registers.
11603         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
11604         (rename_block): Updated to use revised ssa_rename_to interface.
11605         (rename_registers): Updated to use revised ssa_rename_to and
11606         ssa_rename_from interface.
11607         (convert_to_ssa): Revised to use compute_immediate_dominators and
11608         deal with hard registers.
11609         (make_regs_equivalent_over_bad_edges): Modified to work with hard
11610         registers.  Added check for illegal unification of hard register.
11611         (make_equivalent_phi_alternatives_equivalent): Modified to work
11612         with hard registers.
11613         (compute_conservative_reg_partition): Likewise.
11614         (coalesce_if_unconflicting): Modified to work with hard registers
11615         and check for conflicting hard registers.
11616         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
11617         registers.
11618         (rename_equivalent_regs_in_insn): Modified to work with hard
11619         registers.
11620         (record_canonical_element_1): Added definition.
11621         (check_hard_regs_in_partition): Added definition.
11622         (convert_from_ssa): Added data structure deallocation and check
11623         for illegal hard register unification.
11624         (conflict_hard_regs_p): Added definition.
11625         * toplev.c (rest_of_compilation): Added comment.
11626
11627 2000-07-31  Anthony Green  <green@redhat.com>
11628
11629         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
11630
11631 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
11632
11633         * builtins.c (expand_builtin_apply): Don't defer pop during
11634         argument setup.
11635
11636 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11637
11638         * calls.c (combine_pending_stack_adjustment_and_call): Only use
11639         preferred_unit_stack_boundary when it is > 1.
11640
11641 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11642
11643         * c-common.c (init_function_format_info): Add C99 format functions
11644         in C99 mode.
11645
11646         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
11647         void' or 'register void' as being the special case of 'void' alone
11648         in a parameter list.
11649
11650         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
11651         discarding qualifiers into a plain warning.
11652
11653 2000-07-31  Kazu Hirata  <kazu@hxi.com>
11654
11655         * combine.c: Fix formatting.
11656
11657         * h8300.md: Fix formatting.
11658
11659         * local-alloc.c: Fix formatting.
11660
11661         * h8300.c (get_shift_alg): Remove the variable alg.
11662         (emit_a_shift): Rearrange code to improve readability.
11663
11664         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
11665
11666         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
11667         HImode on all architectures and a combination of HImode and SImode
11668         on H8/300H and H8/S.
11669
11670         * h8300.c (split_adds_subs): Rearrange code for conciseness.
11671
11672 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11673
11674         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
11675         in my last checkin.
11676
11677 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11678
11679         * recog.c (extract_insn): Set operand_mode according to
11680         operand if match_operand is VOIDmode.
11681
11682 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11683
11684         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
11685
11686 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
11687
11688         * c-parse.in (extdefs): Call ggc_collect between external
11689         definitions.
11690
11691 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
11692             Richard Henderson  <rth@cygnus.com>
11693
11694         * Makefile.in (OBJS): Add doloop.o.
11695         * doloop.c: New file.
11696
11697         * final.c (insn_current_reference_address): Return 0 before final.
11698         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
11699         * jump.c (any_uncondjump_p): Likewise.
11700         * loop.c (indirect_jump_in_function): Make static.
11701         (strength_reduce): Call doloop_optimize.
11702         (insert_bct, instrument_loop_bct): Remove.
11703         * loop.h (doloop_optimize): Prototype.
11704         * recog.c (split_all_insns): Split all INSN_P.
11705         * toplev.c (flag_branch_on_count_reg): Default on.
11706
11707         * config/c4x/c4x.c (c4x_optimization_options): Don't set
11708         flag_branch_on_count_reg.
11709         * config/i386/i386.c (override_options): Likewise.
11710         * config/rs6000/rs6000.c (optimization_options): Likewise.
11711
11712         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
11713         (doloop_end): New.
11714         (dbra_ge): Remove, as well as all it's splitters.
11715
11716         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
11717         (doloop_end): New.
11718
11719         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
11720         (ia64_register_move_cost): Declare.
11721         * config/ia64/ia64.c (ar_lc_reg_operand): New.
11722         (struct ia64_frame_info): Add ar_size.
11723         (ia64_compute_frame_size): Set it.
11724         (save_restore_insns): Save and restore ar.lc.
11725         (ia64_register_move_cost): New, moved from header file.  Handle
11726         application registers.
11727         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
11728         (emit_insn_group_barriers): Special case doloop_end_internal.
11729         (ia64_epilogue_uses): Mark ar.lc live at end.
11730         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
11731         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
11732         (FIRST_PSEUDO_REGISTER): Make room.
11733         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
11734         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
11735         (REG_ALLOC_ORDER): Update.
11736         (HARD_REGNO_MODE_OK): Update.
11737         (REGISTER_NAMES): Update.
11738         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
11739         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
11740         (REGNO_REG_CLASS): Update.
11741         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
11742         (REGISTER_MOVE_COST): Move out of line.
11743         (PREDICATE_CODES): Update.
11744         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
11745         (addsi3_plus1_alt, adddi3_plus1_alt): New.
11746         (shladd_elim splitter): Allow constants in the predicate.
11747         (doloop_end, doloop_end_internal): New.
11748
11749 2000-07-30  Richard Henderson  <rth@cygnus.com>
11750
11751         * genattrtab.c (struct insn_def): Add lineno member.
11752         (struct insn_ent): Likewise.
11753         (struct attr_desc): Likewise.
11754         (struct delay_desc): Likewise.
11755         (struct function_unit_op): Likewise.
11756         (struct function_unit): Likewise.
11757         (check_attr_value): Use message_with_line.
11758         (check_defs): Likewise.
11759         (expand_units): Likewise.
11760         (check_attr_test): Take a lineno argument.
11761         (gen_attr): Likewise.
11762         (gen_insn): Likewise.
11763         (gen_delay): Likewise.
11764         (gen_unit): Likewise.
11765         (main): Give it to them.
11766         (convert_set_attr_alternative): Take an insn_def argument
11767         instead of num_alt and insn_index.
11768         (convert_set_attr): Likewise.
11769         (write_test_expr): Protect INSN_ADDRESSES load
11770         with INSN_ADDRESSES_SET_P.
11771
11772 2000-07-30  Richard Henderson  <rth@cygnus.com>
11773
11774         * flow.c (init_propagate_block_info): Use pc_set.
11775
11776 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11777
11778         * i386.md (*lea_general_[123]) New insns and splits.
11779         (addsi3 to lea splitter): Handle other modes too.
11780         (shlsi3 to lea splitter): Likewise.
11781         (addhi_1_lea, shlhi_1_lea): New patterns.
11782         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
11783
11784 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11785
11786         * recog.c (general_operand, nonimmediate_operand): Accept
11787         any mode for VOIDmode CONSTANT_P operands.
11788
11789 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11790
11791         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
11792         instead of replace_rtx.
11793         * recog.c (validate_replace_rtx_subexp): New function.
11794         * recog.h (validate_replace_rtx_subexp): Declare.
11795
11796 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11797
11798         * combine.c (simplify_set, make_extraction, make_compound_operation
11799         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
11800         as force_to_mode argument.
11801
11802 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11803
11804         * combine.c (if_then_else_cond): Be sure that mode fits in
11805         HOST_WIDE_INT.
11806
11807 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11808
11809         * combine.c (record_promoted_value):  Allow bitsize of mode
11810         to be equivalent to HOST_BITS_PER_WISE_INT.
11811
11812 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11813
11814         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
11815         Do not call gen_mode_alignment when mode is BLKmode.
11816
11817 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11818
11819         * loop.c (express_from_1): Fix call of simplify_gen_binary.
11820
11821 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
11822
11823         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
11824         VOIDmode implies both operands to be VOIDmode.
11825         (simplify_ternary_operation): Compute properly the mode of comparison.
11826         * combine.c (combine_simplify_rtx): Likewise.
11827
11828 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
11829
11830         * basic-block.h (struct loops): New field rc_order.
11831         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
11832         (flow_loops_free): Free rc_order.
11833         (flow_depth_first_order_compute): New parameter rc_order.
11834         (flow_loops_find): Allocate rc_order and swap usage with
11835         dfs_order.
11836
11837 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11838            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11839
11840         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
11841         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
11842         (nodb_call, return_from_epilogue): Likewise.
11843         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
11844         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
11845         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
11846         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
11847         (c4x_valid_type_attribute_p): Likewise.
11848         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
11849         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
11850
11851 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11852
11853         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
11854         and loadhi_big_constant if applicable.
11855         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
11856         and add new splitter.s
11857
11858 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11859
11860         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
11861
11862 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11863
11864         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
11865
11866 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11867
11868         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
11869
11870 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11871
11872         * config/c4x/libgcc.S (divqf3): Improve accuracy.
11873
11874 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
11875
11876         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
11877         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
11878         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
11879         (get_prev_bb_note): Likewise.
11880         (remove_scope_notes): Likewise.
11881         * flow.c (commit_one_edge_insertion): Likewise.
11882         (merge_blocks_nomove): Likewise.
11883         (verify_flow_info): Likewise.
11884         * gcse.c (insert_insn_end_bb): Likewise.
11885         * reg-stack.c (emit_swap_insn): Likewise.
11886         * ssa.c (first_insn_after_basic_block_note): New function.
11887         (insert_phi_node): Use it.
11888         (rename_block): Likewise.
11889         (eliminate_phi): Likewise.
11890         (make_regs_equivalent_over_bad_edges): Likewise.
11891         (make_equivalent_phi_alternatives_equivalent): Likewise.
11892         (for_each_successor_phi): Likewise.
11893         (convert_from_ssa): Modify phi-node deletion algorithm.
11894
11895 2000-07-29  Andreas Jaeger  <aj@suse.de>
11896
11897         * configure.in (mips*-*-linux*): Use mips*el to check for little
11898         endian MIPS, add tmake_file.
11899
11900         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
11901         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
11902         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
11903
11904 2000-07-28  Richard Henderson  <rth@cygnus.com>
11905
11906         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
11907         Sign extend mode size before negating.
11908
11909 2000-07-28  Richard Henderson  <rth@cygnus.com>
11910
11911         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
11912
11913 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
11914
11915         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
11916         (cse_insn): Likewise.
11917         (addr_affects_sp_p): Likewise.
11918         * expr.c (move_by_pieces): Likewise.
11919         (clear_by_pieces): Likewise.
11920         * gcse.c (oprs_unchanged_p): Likewise.
11921         * haifa-sched.c (sched_analyze_2): Likewise.
11922         * recog.c (offsettable_address_p): Likewise.
11923         * regclass.c (record_address_regs): Likewise.
11924         * reload.c (find_reusable_reload): Likewise.
11925         (push_reload): Likewise.
11926         (operands_match_p): Likewise.
11927         (decompose): Likewise.
11928         (find_reloads_address_1): Likewise.
11929         (find_inc_amount): Likewise.
11930         * reload1.c (elimination_effects): Likewise.
11931         * resource.c (mark_set_resources): Likewise.
11932         * flow.c (attempt_auto_inc): New function; mostly broken out
11933         of find_auto_inc.
11934         (find_auto_inc): Split into two functions and enhanced to
11935         generate POST_MODIFY.
11936         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
11937         * rtl.h (count_all_occurrences):  Declare.
11938         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
11939         defined.
11940         * rtlanal.c (count_all_occurrences): New function.
11941         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
11942         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
11943
11944         * config/ia64/ia64-protos.h (destination_operand): Declare.
11945         * config/ia64/ia64.c (destination_operand): New function.
11946         (ia64_print_operand): Handle POST_MODIFY.
11947         (rtx_needs_barrier): Likewise.
11948         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
11949         (HAVE_POST_MODIFY_REG): Define to 1.
11950         (MAX_REGS_PER_ADDRESS): Change to 2.
11951         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
11952         (LEGITIMATE_ADDRESS_REG): New helper macro.
11953         (LEGITIMATE_ADDRESS_DISP): Likewise.
11954         (PREDICATE_CODES): Add entry for destination_operand.
11955         * config/ia64/ia64.md (all mov patterns): Use destination_operand
11956         predicate for operand 0.
11957
11958 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11959
11960         * dwarf2out.c: Indent #error directive.
11961
11962         * gbl-ctors.h: Fix typo in comment.
11963         (__do_global_ctors): Prototype.
11964
11965         * gcse.c (record_one_set, pre_delete): Remove unused variables.
11966
11967         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
11968         (print_operand): Initialize variable `t'.
11969
11970 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
11971
11972         * config/arm/arm.md ("call_value"): removed constraints.
11973         Constraints are ignored in expanders.
11974         (*call_value_reg): split =rf into various constraints.
11975         (*call_value_mem): same
11976         (*call_value_symbol): same
11977         (*sibcall_value_insn): same
11978
11979 2000-07-28  Philipp Thomas  <pthomas@suse.de>
11980
11981         * install.texi (--enable-nls): Change the description of the NLS
11982         related configure options to match the current state.
11983         (--with-included-gettext): Likewise.
11984         (--enable-maintainer-mode): New description added.
11985         * extend.texi (-fstrict-prototype): Add missing '.'.
11986
11987 2000-07-27  Jim Wilson  <wilson@cygnus.com>
11988
11989         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
11990         DECL_INITIAL (decl) == NULL_TREE.
11991
11992 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
11993
11994         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
11995         on insn-attr.h with it.
11996         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
11997         * insn-addr.h: New header.
11998         (insn_addresses_): Renamed from insn_addresses.
11999         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
12000         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
12001         INSN_ADDRESSES_NEW): New macros.
12002         * genattrtab.c (write_test_expr): Use new macros.
12003         * final.c (insn_addresses, init_insn_lengths): Likewise.
12004         (align_fuzz, shorten_branches): Likewise.
12005         (final): Likewise.  Do not reject new insns if their addresses
12006         have been added to INSN_ADDRESSES.
12007         * config/arm/arm.c, config/avr/avr.c: Use new macros.
12008         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
12009         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
12010         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
12011         * config/sh/sh.c: Likewise.
12012         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
12013
12014         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
12015
12016 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
12017
12018         * gcc.c (struct prefix_list): Add member priority.
12019         (enum path_prefix_priority): Declare.
12020         (add_prefix): Replace ``first'' with ``priority''.  Append new
12021         entry but keep list in priority order.
12022         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
12023         PREFIX_PRIORITY_LAST to add_prefix.
12024         (process_command): Move include kludge - foo/stageN - to before
12025         foo/include.
12026
12027 2000-07-27  Jason Merrill  <jason@redhat.com>
12028
12029         * dwarf2out.c (gen_typedef_die): Abort if we get identical
12030         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
12031
12032 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
12033
12034         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
12035         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
12036
12037 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
12038
12039         * c-decl.c (finish_function): Don't treat 'main' specially unless
12040         flag_hosted.  In C99 mode, return 0 from 'main' unless
12041         DEFAULT_MAIN_RETURN is otherwise defined.
12042
12043         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
12044         parameters defaulting to int in an old-style function definition.
12045
12046 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12047
12048         * c-parse.in (string): For -Wtraditional, warn about string
12049         concatenation only once per line.
12050
12051 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
12052
12053         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
12054         for HI-UX/WE2 systems.
12055
12056 2000-07-24  Bruce Korb  <bkorb@gnu.org>
12057
12058         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
12059         defining the __xxx_TYPE__ macros.
12060         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
12061         * fixincl/fixlib.h: don't need to include "tm.h" anymore
12062         * fixincl/inclhack.def(type_map): now obsolete
12063
12064 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
12065
12066         * cpp.texi: Append a trailing full-stop to xrefs where needed.
12067
12068 2000-07-26  Dave Pitts  <dpitts@cozx.com>
12069
12070         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
12071         routine constants.
12072         (mvs_hash_alias): New function.
12073         (mvs_add_alias): Change argument spacing.
12074         (mvs_need_alias): Change aliasing criteria. Added documentation.
12075         (mvs_get_alias): Change to use hashed name. The hashed name prevents
12076         CSECT name collisions.
12077         (mvs_check_alias): Likewise.
12078         (handle_pragma): Change documentation.
12079         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
12080         mode from SImode to DImode.
12081         (iorhi3): Changed LTORG size for insn.
12082
12083 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
12084
12085         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
12086         mem if the address is a mode_dependent_address_p.
12087
12088 2000-07-26  Kazu Hirata  <kazu@hxi.com>
12089
12090         * h8300.c (print_operand): Print ":8" when the 'R' operand is
12091         suitable for 8-bit absolute.
12092         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
12093         (OK_FOR_U): Add a case for the 8-bit constant address on the
12094         H8/300H.
12095
12096 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
12097
12098         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
12099         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
12100         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
12101         lack of implemented alignment.
12102
12103 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
12104
12105         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
12106         cross-compiling between 64-bit and 32-bit machines.
12107
12108 2000-07-27  Richard Henderson  <rth@cygnus.com>
12109
12110         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
12111         (movhicc_astep, movhi_internal_astep): New.
12112         (movsicc_astep, movsi_internal_astep): New.
12113         (movdicc_astep, movdi_internal_astep): New.
12114         (movsfcc_astep, movsf_internal_astep): New.
12115         (movdfcc_astep, movdf_internal_astep): New.
12116         (movxfcc_astep, movxf_internal_astep): New.
12117         (cmovdi_internal_astep, cmovsi_internal_astep): New.
12118         Unify the cmov[ds]i splitters.
12119
12120 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
12121
12122         * real.c (asctoeg): Rename `error' label to unexpected_char_error
12123
12124 2000-07-26  Nick Clifton  <nickc@cygnus.com>
12125
12126         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
12127         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
12128
12129         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
12130         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
12131
12132 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
12133
12134         * c-decl.c (finish_enum): Convert enumerations that fit in an
12135         `int' to `int'.
12136         (build_enumerator): In pedantic mode, cast to `int' those that
12137         don't.
12138
12139 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
12140
12141         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
12142
12143 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12144
12145         * sh.md (cmpgtdi_t): Must be split.
12146         (cmpgtdi_t+1): New splitter.
12147
12148 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
12149
12150         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
12151         warnings for indented directives even if we are skipping.
12152
12153 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
12154
12155         * invoke.texi (strict-prototypes): Remove.
12156         * extend.texi (Deprecated Features): Add strict-prototypes.
12157         (Backwards Compatibility): New node.
12158
12159 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
12160
12161         * config/i386/i386.md (andsi_1+1): Allow HImode.
12162         (andsi_1+2): Require q_regs_operand.
12163
12164 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
12165
12166         * config/i386/i386.md (call_pop): Check operands[0],
12167         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
12168         (call): Likewise.
12169         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
12170         (call_value): Likewise.
12171
12172 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
12173
12174         * toplev.c (pipe_closed): Delete.
12175         (crash_signal): New.  Generate ICE for a fatal signal.
12176         (float_signal): Call crash_signal outside a float-handler
12177         block, not abort.
12178         (main): Install crash_signal as handler for core-dumping signals.
12179
12180 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
12181
12182         * rs6000.c (print_operand, case 'T'): New case.
12183
12184         * rs6000.md (call_indirect_aix32): Convert to expander of
12185         scheduled instructions.
12186         (call_indirect_aix64): Likewise.
12187         (call_value_indirect_aix{32,64}): Likewise.
12188         (call, call_value): Invoke expanders for AIX.  Fall through to
12189         matchers for SysV.
12190         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
12191         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
12192         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
12193         only "g" constraint.
12194         (call_nonlocal_aix64): Likewise.
12195         (call_value_nonlocal_aix{32,64}): Likewise.
12196         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
12197         operands.
12198         (call_value_nonlocal_sysv): New pattern.
12199         (indirect_jump{si,di}): Use new 'T' modifier.
12200         (tablejump{si,di} matchers): Likewise.
12201         (return_internal_{si,di}): Likewise.
12202         (return_eh_{si,di}): Likewise.
12203
12204 2000-07-24  Richard Henderson  <rth@cygnus.com>
12205
12206         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
12207         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
12208         * config/ia64/ia64.md (movdi_internal): Use it.
12209
12210 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
12211
12212         * cppexp.c: Warn about unary + if -Wtraditional.
12213         * cpplex.c (lex_line): Always set BOL on the first token of a line.
12214
12215 2000-07-24  Michael Meissner  <meissner@redhat.com>
12216
12217         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
12218         unsupported macro.
12219
12220 2000-07-24  Nick Clifton  <nickc@cygnus.com>
12221
12222         * config/arm/arm.c (emit_multi_reg_push): Generate a
12223         REG_FRAME_RELEATED_NOTE that is compatable with the code in
12224         dwarf2out_debug_frame_expr.
12225
12226 2000-07-24  Jason Merrill  <jason@redhat.com>
12227
12228         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
12229         UNALIGNED_INT_ASM_OP.
12230         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
12231         a location expression.
12232         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
12233         assume indirect access if we're saving the CFA address exactly.
12234
12235         * Makefile.in (bootstrap): Move -BstageN/ to the end.
12236
12237 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
12238
12239         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
12240         as well.
12241
12242 2000-07-24  Michael Meissner  <meissner@redhat.com>
12243
12244         * invoke.texi (D30V Options): Add d30v options.
12245
12246 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
12247
12248         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
12249         needed by our gcse pass anymore.
12250         (free_pre_mem): Corresponding changes.
12251         (compute_pre_data): Do not call compute_transpout anymore.
12252
12253         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
12254         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
12255         changes.
12256
12257         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
12258         (compute_pre_data): Do it here instead.
12259
12260         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
12261         'temp_bitmap'.
12262         (pre_delete): Corresponding changes.
12263
12264 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
12265
12266         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
12267         to figure out whether or not a variable has already been emitted.
12268
12269 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
12270
12271         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
12272         instead of gen_call.
12273
12274 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
12275
12276         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
12277
12278 2000-07-23  Kazu Hirata  <kazu@hxi.com>
12279
12280         * h8300.c: Fix formatting.
12281
12282 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
12283
12284         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
12285         for `long' switch expression into a plain warning.
12286
12287         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
12288         (yylex): Don't pedwarn for "inline" in C99 mode.
12289
12290         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
12291         with %p.
12292         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
12293         ggc_alloc): Likewise.
12294         * bb-reorder.c (dump_scope_forest_1): Likewise.
12295
12296 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
12297
12298         * reload.c (find_reloads_toplev): Add new parameter
12299         "address_reloaded".
12300         (find_reloads): Add new parameter to find_reloads_toplev calls.
12301
12302 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
12303
12304         * collect2.c (main): Typo fixed.
12305         * diagnostic.c: Typo fixed.
12306         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
12307         * eh-common.h: Typo fixed.
12308         * emit-rtl.c (start_sequence): Typo fixed.
12309         * flow.c (find_label_refs): Typo fixed.
12310         (calculate_global_regs_live): Typo fixed.
12311         (mark_regno_cond_dead): Typo fixed.
12312         (create_edge_list): Typos fixed.
12313         (verify_edge_list): Typo fixed.
12314         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
12315         * loop.c (strength_reduce): Typo in function name fixed.
12316         * rtl.h: Added comments.  Typo in function name fixed.
12317         * rtlanal.c: Typo in function name fixed.
12318         (insn_dependant_p): Rename to ...
12319         (insn_dependent_p): ... this.
12320         (computed_jumo_p): Typo fixed.
12321
12322 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12323
12324         * system.h (__FUNCTION__): Wrap definition in #ifndef.
12325
12326 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
12327
12328         * rs6000.h (SIZE_TYPE): Define.
12329
12330 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
12331
12332         * ssa.c (rename_insn_1): Don't rename registers that are
12333         CLOBBERed.
12334
12335 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
12336
12337         * diagnostic.c (trim_filename, fancy_abort): Moved here from
12338         rtl.c.
12339         (fatal_function, set_fatal_function): Removed.
12340         (fatal): Don't prepare for or call the fatal_function.
12341         (diagnostic_lock, error_recursion): New.
12342         (diagnostic_for_decl, report_diagnostic): Guard against
12343         re-entering the error reporting routines.
12344         (fancy_abort): Assume function is not NULL.
12345
12346         * errors.c (fancy_abort): New.  Assume function is not NULL.
12347         * tradcpp.c (fancy_abort): Assume function is not NULL.
12348
12349         * system.h: Provide default definition of __FUNCTION__.
12350         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
12351         Always use __FUNCTION__ in definition of abort.
12352         * tree.h: Likewise.
12353         * varray.h: Likewise.
12354         * toplev.h: Likewise.  Don't prototype set_fatal_function.
12355
12356 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
12357
12358         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
12359         in 64-bit mode.
12360         * glimits.h: Don't do #if defined for ARCH_PPC.
12361
12362         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
12363         constants of size no larger than a pointer should go in the TOC.
12364         Add 'MODE' parameter.
12365         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
12366         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
12367         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
12368         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
12369         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
12370         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
12371         (rs6000_legitimize_address): Likewise.
12372         (rs6000_emit_move): Likewise.
12373         (rs6000_select_rtx_section): Likewise.
12374         (output_toc): Deal properly with outputting small constants like
12375         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
12376         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
12377         MODE parameter.  Put small constants in the TOC.
12378
12379         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
12380         easy in SImode.
12381         (rs6000_emit_move): When reload calls us with an illegitimate
12382         address, exit early.  Move the change_address calls to one place
12383         at the end of the routine.  Merge the SImode and DImode expanders.
12384         When called by reload to put an integer into a FP register, force
12385         it to memory.
12386
12387         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
12388         field.
12389         (rs6000_hash_constant): Hash mode too.
12390         (toc_hash_function): Allow for key_mode.
12391         (toc_hash_eq): Structures are different if key_mode differs.
12392         (output_toc): Add 'mode' parameter.  Save key_mode.
12393         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
12394         Pass 'mode' parameter.
12395         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
12396
12397         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
12398         for vtable references.
12399
12400         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
12401         choice, don't put integer values in FP regs.
12402
12403 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
12404
12405         * flow.c (verify_flow_info): Revamp code to verify that the
12406         head and end of each basic block are in the insn chain.
12407
12408 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
12409
12410         * gcse.c (record_one_set): Prepend instead of append onto
12411         reg_set_table, making it O(n) instead O(n^2).
12412         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
12413         Use a queue instead of a stack as worklist.
12414
12415 2000-07-20  Kazu Hirata  <kazu@hxi.com>
12416
12417         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
12418         * h8300.h (OK_FOR_T): New.
12419         (EXTRA_CONSTRAINT): Support OK_FOR_T.
12420         * h8300.md: Use inc/dec.[wl] for increment/decrement
12421         by 1 and 2 in HI and SI modes.
12422
12423 2000-07-20  Jim Wilson  <wilson@cygnus.com>
12424
12425         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
12426         larger than 14 bits.
12427
12428 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
12429
12430         * cppmacro.c (CAN_PASTE_AFTER): New macro.
12431         (count_params): Don't set GNU_REST_ARGS on anything.
12432         (save_expansion): Set PASTE_LEFT only on tokens for which
12433         CAN_PASTE_AFTER is true, or which are named operators.
12434
12435         * cpplex.c (parse_args): Distinguish between a rest argument
12436         given one empty argument, and a rest argument given zero arguments.
12437         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
12438         deletion of previous token based on that.
12439         (get_raw_token): Flatten some control structure.
12440
12441         * cpplib.h (CPP_LAST_EQ): Correct.
12442         (VOID_REST): New token flag.
12443         (GNU_REST_ARGS): Delete.
12444
12445         * tradcpp.c (main): Don't munge -D options.
12446         (make_definition): Bring -D handling in line with cpplib.
12447         (do_define): Strip all leading whitespace from macro definitions.
12448
12449 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
12450
12451         * Makefile.in (tradcpp): Depend on intl.o and version.o.
12452
12453 2000-07-20  Bruce Korb  <bkorb@gnu.org>
12454
12455         * fixincl/check.tpl: strip the platform specific types before testing
12456         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
12457         * fixincl/fixincl.tpl: use platform specific types
12458         * fixincl/fixlib.h: include the platform specific types
12459         * fixincl/inclhack.def(gnu_types): don't supply the types
12460         * fixincl/fixincl.x: regen
12461
12462 2000-07-19  Jim Wilson  <wilson@cygnus.com>
12463
12464         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
12465         GR_REGS.
12466
12467 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
12468
12469         * tradcpp.c (rescan): Do not recognize directives when the #
12470         is indented.
12471
12472 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
12473
12474         Implement C++ named operators.
12475
12476         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
12477         of operators allowed in #if and having an _EQ variant.  Add
12478         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
12479         (cpp_token flags): Add NAMED_OP.
12480         (enum node_type): Add T_OPERATOR.
12481         (struct cpp_hashnode): Add code slot to value union.
12482         * cpphash.h (spec_nodes): Remove n_defined.
12483
12484         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
12485         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
12486         (is_macro_disabled): Tweak error messages.
12487
12488         * cpplib.c (get_define_node): Disallow all named operators as
12489         macro names.  Tweak error messages.
12490         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
12491
12492         * cppinit.c (builtin_array): Add entries for the named operators.
12493         * cppexp.c (lex): Check for CPP_DEFINED token.
12494         (priority table): Add entries for CPP_MIN and CPP_MAX.
12495         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
12496
12497 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12498
12499         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
12500         larger than the array of cuids.
12501         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
12502         cuids.
12503
12504 2000-07-19  Bruce Korb  <bkorb@gnu.org>
12505
12506         * fixinc/fixincl.c:  Convert to using a table of environment variables
12507         and activate the auto-edit marker on the fixed output files.
12508         * fixinc/fixlib.h:  Define the environment table
12509         * fixinc/fixincl.sh: export the ${INPUT} dir
12510         * fixinc/check.tpl: likewise
12511
12512 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
12513
12514         * gcc.c (.h spec): Fix typo.
12515
12516 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
12517
12518         * Makefile.in: Fix tradcif.c path.
12519
12520 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
12521
12522         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
12523           macros, not five.
12524
12525         * cpphash.h (TOKEN_NAME): New macro.
12526         (_cpp_spell_operator): Deleted.
12527         (token_spellings): Now _cpp_token_spellings.
12528
12529         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
12530         * cpplex.c: Use OP and TK macros when expanding the
12531         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
12532         store the stringification of the enumeration name (CPP_CHAR,
12533         etc.) in the name slot of token_spellings.
12534         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
12535         token_spellings directly.
12536         * cpplib.c: Use TOKEN_SPELL.
12537
12538         * cpplex.c (_cpp_push_token): If the token being pushed back
12539         is the previous token in this context, just subtract one from
12540         context->posn.
12541         * cppmacro.c (save_expansion): Clear aux field when storing a
12542         placemarker.
12543
12544 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
12545
12546         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
12547         buffer, provided it is not NULL.
12548
12549 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
12550
12551         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
12552         case of invalid volatile re-declaration.
12553
12554 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
12555
12556         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
12557         (expand_call): Adjust caller.
12558
12559 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
12560
12561         * diagnostic.h (report_diagnostic): Change prototype.
12562
12563         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
12564         diagnostic_for_decl):  Change prototype.
12565         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
12566         error, warning, error_with_file_and_line,
12567         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
12568         Adjust call to report_diagnostic, diagnostic_for_decl.
12569         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
12570         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
12571
12572         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
12573         varaible argument list.
12574
12575 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
12576
12577         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
12578         moved to cppmacro.c.
12579         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
12580         dump_hash_helper): Delete.
12581         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
12582         cpp_forall_identifiers): New. Implement specialized version of
12583         Vlad's expandable hash table.
12584         (cpp_lookup): Use new functions.
12585         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
12586         implementation.
12587         * cppmacro.c: New file.
12588         * cppinit.c (dump_macros_helper): New.
12589         (cpp_finish): Iterate over the identifier table directly.
12590         * cpplex.c (parse_name): Calculate the hash of the identifier
12591         while we scan it.  Use _cpp_lookup_with_hash when we can.
12592
12593         * cpphash.h: Update prototypes.
12594         (xcnewvec, HASHSTEP): New helper macros.
12595         * cpplib.h: Update prototypes.
12596         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
12597         (cppmacro.o): New rule.
12598         (cpphash.o): Update deps.
12599
12600         * cppmain.c: Do not set pfile->printer if no_output is on.
12601
12602 2000-07-15  Neil Booth  <neilb@earthling.net>
12603
12604         * cpplib.c: Change all directive-handler functions to return
12605         void, not int.
12606         * cpphash.h: Update typedefs.
12607
12608 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
12609
12610         * configure: Regenerate.
12611
12612         * extend.texi (Extended Asm): Mention that a memory clobber
12613         does not count as a side-effect.
12614
12615         * unroll.c (copy_loop_body): Fix one instance of using host
12616         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
12617         cross-compile.
12618
12619         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
12620
12621 2000-07-17  Richard Henderson  <rth@cygnus.com>
12622
12623         * config/ia64/ia64.md (movdi): Split out load address code.
12624         New post-reload splitter for symbolic operands.
12625         (movdi_internal): Abort if we didn't split symbolic operands
12626         when we should have.
12627         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
12628         (ia64_reorg): Split insns when not optimizing.
12629         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
12630
12631 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
12632
12633         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
12634         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
12635
12636 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
12637
12638         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
12639
12640 2000-07-17  Jason Merrill  <jason@redhat.com>
12641
12642         * Makefile.in (clean): Remove libgcc directory.
12643
12644         * configure.in (-Wno-long-long check): Use higher-level macros.
12645
12646 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
12647
12648         * simplify-rtx.c (simplify_binary_operation): Recognize
12649            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
12650         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
12651            a CONST_INT, it will always be zero.
12652
12653 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
12654
12655         * loop.c (check_dbra_loop) : Return if more than one condition is
12656         present to control the loop.
12657
12658 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
12659
12660         * mips.c (mips_expand_prologue): Don't calculate the last argument
12661         register unless we need it.  When we are calculating this, make
12662         sure FUNCTION_ARG is giving us a REG.
12663
12664 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12665
12666         * flow.c (libcall_dead_p): Use single_set to verify the insn
12667         has only one set and get for analysis.
12668         (propagate_one_insn): Don't pass the PATTERN of the insn.
12669
12670 2000-07-17  Mark Klein <mklein@dis.com>
12671
12672          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
12673
12674 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
12675
12676         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
12677         * configure.in (TARGET_GETGROUPS_T): Evaluate.
12678         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
12679         of second argument of getgroups.
12680         * configure, config.in: Rebuilt.
12681
12682 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
12683
12684         * simplify-rtx.c (simplify_relational_operation): Two signed
12685         values with equal high words are less/greater than each other if
12686         their low words are less/greater when considered as unsigned.
12687
12688 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
12689
12690         * configure.in (vax-*-openbsd):  Change to new style configuration,
12691         add collect2/float_format information.
12692         * configure:  Rebuilt.
12693         * config/vax/openbsd1.h:  New.
12694         * config/vax/openbsd.h:  New.
12695         * config/vax/t-openbsd:  New.
12696
12697 2000-07-17  Chip Salzenberg  <chip@valinux.com>
12698
12699         * c-common.c (shorten_compare): Quiet warnings about unsigned
12700         comparisons with zero when they occur in a system header.
12701
12702 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
12703
12704         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
12705         update to describe current practice.
12706
12707         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
12708
12709         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
12710         references to C9X.  Change references to -fstd and -flang-isoc9x
12711         to refer to -std.
12712
12713         * c-common.c (scan_char_table): Allow "z" length modifiers on
12714         diouxXn formats.
12715         (check_format_info): Use TYPE_DOMAIN on the type matched against
12716         for "z" formats, to retrieve the language size_t rather than the
12717         internal one.
12718
12719         * c-common.c (check_format_info): Do not make a pedantic objection
12720         to the 'L' length modifier if used with a floating point type
12721         character.
12722
12723         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
12724         constants in C99 mode.
12725
12726 2000-07-17  Kazu Hirata  <kazu@hxi.com>
12727
12728         * h8300.md: Fix the format of mac.
12729         (movsi_h8300hs): Output a tab after stmac instead of a space.
12730
12731         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
12732         profitable adds/subs sequences.
12733
12734         * fold-const.c: Fix comment typos.
12735
12736 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
12737
12738         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
12739
12740 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12741
12742         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
12743
12744 2000-07-16  Neil Booth  <NeilB@earthling.net>
12745
12746         * cpplex.c: Update comments.
12747         * README.Portability: Small update.
12748
12749 2000-07-16  Neil Booth  <NeilB@earthling.net>
12750
12751         * README.Portability:  Small update.
12752
12753 2000-07-15  Richard Henderson  <rth@cygnus.com>
12754
12755         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
12756         * config/ia64/ia64.c (ia64_move_ok): New function.
12757         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
12758         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
12759
12760 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
12761
12762         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
12763         immediately following a paste operator.
12764         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
12765         (cpp_reader_init): Call it, if HOST_EBCDIC.
12766         (cpp_handle_options): Do not sort option list here.
12767         (handle_option): Rename to cpp_handle_option and export.
12768         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
12769         _cpp_get_token directly.
12770         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
12771         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
12772         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
12773         cpp_scan_line.
12774
12775 2000-07-15  Richard Henderson  <rth@cygnus.com>
12776
12777         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
12778         cast around an expression.  Tidy other unsigned tests.
12779
12780 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
12781
12782         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
12783         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
12784         (v_message_with_decl): Rename to ...
12785         (format_with_decl): ... this. Tweak
12786         (diagnostic_for_decl): New function.
12787         (fatal_io_error): Use verbatim in lieu of notice.
12788         (announce_function): Use verbatim.
12789         (default_print_error_function): Likewise.
12790         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
12791         infratructure.
12792
12793 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12794
12795         * mips.c (function_arg_pass_by_reference): Don't do automatic
12796         aggregate initialization.
12797         (machine_dependent_reorg): Initialize variable `mode'.
12798
12799         * mips.md (absdi2): Change variable `regno1' to unsigned int.
12800         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
12801         conflicts with sys/param.h macro of the same name.
12802         (reload_outdi): Likewise.
12803
12804 2000-07-15  Michael Meissner  <meissner@redhat.com>
12805
12806         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
12807         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
12808         create a new node instead.
12809
12810 2000-07-15  Neil Booth  <NeilB@earthling.net>
12811
12812         * README.Portability: Correct example about calling a function
12813         through a pointer to function.  Format wide paragraphs.
12814
12815 2000-07-15  Michael Meissner  <meissner@redhat.com>
12816
12817         * README.Portability: Update integer suffixes and function
12818         prototype sections.
12819
12820 2000-07-15  Neil Booth  <NeilB@earthling.net>
12821
12822         * README.Portability: Small update.
12823
12824 2000-07-15  Neil Booth  <NeilB@earthling.net>
12825
12826         * README.Portability: New file.
12827
12828 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
12829
12830         * INSTALL: Give special instructions for building GCC on Irix 6.
12831         * config/mips/x-iris6 (CC): Don't set it.
12832         (OLDCC): Likewise.
12833
12834 2000-07-14  Jason Merrill  <jason@redhat.com>
12835
12836         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
12837         register in the stack and later in another register, use the new
12838         register.
12839
12840 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
12841
12842         * config/mips/mips.md: (absdi2): Handle sign_extend for
12843         second operand.
12844
12845 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
12846
12847         * cpplib.c (do_pragma_dependency): Tidy warning messages.
12848
12849 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
12850
12851         * .cvsignore: Correct typo.
12852
12853 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
12854
12855         * .cvsignore: Add generated YACC files.
12856         * objc/.cvsignore: New file.
12857
12858 2000-07-14  Neil Booth  <NeilB@earthling.net>
12859
12860         * cpplex.c (adjust_column): New funcion.
12861         (skip_whitespace): Use it.
12862         (skip_block_comment): Use it, and warn about /*/* with
12863         -Wcomments.
12864
12865 2000-07-14  Neil Booth  <NeilB@earthling.net>
12866
12867         * cpphash.c (struct macro_info): Add new members.
12868         (_cpp_free_definition): Delete the macro directly.
12869         (count_params): Return void, with first token of
12870         expansion in struct macro_info on success.
12871         (parse_define): Return int.  Hoist syntax checking from
12872         save_macro_expansion.  Leave call to save_expansion to
12873         _cpp_create_definition.
12874         (alloc_macro): Needs just 2 arguments.
12875         (free_macro): Delete.
12876         (save_expansion): Don't perform syntax check.
12877         (_cpp_create_definition): Call save_expansion.
12878
12879 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12880
12881         * genrecog.c (write_header): Split long string.
12882
12883         * cpphash.c (macro_info): Don't use the `signed' keyword.
12884
12885         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
12886
12887 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
12888
12889         * calls.c (stored_args_map): New variable.
12890         (check_sibcall_argument_overlap_1): New.
12891         (check_sibcall_argument_overlap): New.
12892         (expand_call): Initialize stored_args_map.
12893         Call check_sibcall_argument_overlap.
12894
12895 2000-07-13  Bruce Korb  <bkorb@gnu.org>
12896
12897         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
12898         (emit_gnu_type): utility procedure for gnu_type_fix
12899         (gnu_type_fix): implement various pre-processor guards around
12900         standard types so these types can be defined over and over
12901         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
12902         types alluded to above will have GNU-compliant base types
12903         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
12904         * fixinc/inclhack.def: add test_text entries and utilize the new
12905         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
12906         * fixinc/fixincl.x: regenerate
12907
12908 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12909
12910         * diagnostic.c (vline_wrapper_message_with_location,
12911         v_message_with_file_and_line, v_error_with_file_and_file,
12912         v_error_for_asm, v_warning_for_asm, vfatal,
12913         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
12914         vsorry, verror, vwarning, vpedwarn): Remove.
12915         (diagnostic_for_asm): New function.
12916         (pedwarn, error, warning, pedwarn_with_file_and_line,
12917         error_with_file_and_line, warning_with_file_and_line, sorry,
12918         error_for_asm, warning_for_asm, fatal): Reimplement.
12919         (finish_diagnostic): Clear diagnostic info as well.
12920
12921 2000-07-13  Neil Booth  <NeilB@earthling.net>
12922
12923         * c-common.h (flag_digraphs): New.
12924         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
12925         * c-lex.c (yylex): Use flag_digraphs to decide whether to
12926         honour digraphs.
12927
12928 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
12929
12930         * gcc.c (do_spec_1): Add new %B operator.
12931         (set_input): Prepare for %B.
12932
12933         (link_command_spec): Move up with the other tm.h-
12934         overrideable specs.  Factor out the portion conditional on
12935         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
12936         (struct compiler): Just have a single spec string.  All users
12937         updated.
12938         (default_compilers): Remove unnecessary braces.
12939         (static_specs): Update.
12940
12941         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
12942         named specs.
12943         (C and assembly specs): Use the new named specs, as appropriate.
12944
12945         * objc/lang-specs.h: Use the new named specs.
12946         Remove unnecessary braces.
12947
12948 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
12949
12950         * gcc.c (execute): If a subprocess gets a fatal signal, report
12951         strsignal() of the signal number, and ask for a bug report.
12952         Do not do this for SIGPIPE if there's already been an error.
12953
12954         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
12955         Delete pipe_closed.
12956
12957         * tradcif.c: Remove.
12958
12959 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
12960
12961         * final.c (profile_function): Do not emit profile counters in
12962         the data section, if NO_PROFILE_COUNTERS is defined.
12963         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
12964         FUNCTION_PROFILER.
12965
12966         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
12967         (FUNCTION_PROFILER): Just emit a call to mcount.
12968
12969 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
12970
12971         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
12972
12973         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
12974         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
12975         traditional, lang_chill, or lang_fortran.
12976
12977         * cppfiles.c: #undef strcmp to suppress warning about macros
12978         used without arguments.
12979         (_cpp_execute_include): Use f, not fname, in "No include path"
12980         error.
12981         (_cpp_pop_file_buffer): New function.
12982         * cpplib.c: Don't include <sys/mman.h>.
12983         (cpp_push_buffer): Set line_base and lineno in new buffer.
12984         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
12985
12986         * cpplex.c: Move all prototypes and structure declarations to the
12987         top of the file.  Properly parenthesise some macro arguments.
12988         (cpp_scan_line): New function.
12989         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
12990         don't need to walk up the stack counting.
12991
12992 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12993
12994         * c-common.c (combine_strings): Emit a pedantic warning when a
12995         string length is greater than the minimum ANSI C is required
12996         to support.
12997
12998 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
12999
13000         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
13001         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
13002
13003 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13004
13005         * c-decl.c (define_label): Warn about identifier conflicts with
13006         labels in traditional C.
13007
13008         * c-parse.in (unop +): Warn about the unary plus operator for
13009         traditional C.
13010
13011         * c-typeck.c (store_init_value): Warn about automatic aggregate
13012         initialization for traditional C.
13013
13014         * invoke.texi (-Wtraditional): Document new warnings.
13015
13016 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
13017
13018         * Makefile.in (c-errors.o): Fix thinko in dependency.
13019
13020 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
13021
13022         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
13023         -traditional, -ftraditional, or -traditional-cpp was given.
13024         Do not pass -traditional to the preprocessor.
13025         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
13026         preprocessor does it automatically.
13027         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
13028
13029         * ch/lang-specs.h: Always use tradcpp.  Do not pass
13030         -traditional, -trigraphs, or -pedantic to the preprocessor.
13031         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
13032         _LANGUAGE_FORTRAN.
13033
13034 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
13035
13036         * cppexp.c (LOGICAL): Delete macro.
13037         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
13038         and && directly.
13039
13040         * cpphash.c (HASHSIZE): Increase to 4096.
13041         (struct hashdummy): Add hash field.
13042         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
13043         the string values using memcmp.
13044         (cpp_lookup): Set dummy.hash.
13045
13046 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
13047
13048         * configure.in (m88k-openbsd): Express configuration using new fragment
13049         style.
13050         * configure: Rebuilt.
13051         * m88k/aout-dbx.h: New.
13052         * m88k/openbsd.h: New.
13053         * m88k/xm-openbsd.h: New.
13054
13055 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13056
13057         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
13058
13059 2000-07-12  Richard Henderson  <rth@cygnus.com>
13060
13061         * reload.c (push_secondary_reload): Make sure to add the new
13062         reload at the end, after acquiring secondary memory.
13063
13064 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13065
13066         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
13067
13068         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
13069         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
13070
13071         * c-parse.in (stmt): Delete unused variables.
13072
13073         * convert.c (convert_to_vector): Likewise.
13074
13075         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
13076
13077         * tree.c (finish_vector_type): Prototype.
13078
13079 2000-07-12  Bruce Korb  <bkorb@gnu.org>
13080
13081         * fixinc/fixfixes.c: use xmalloc
13082         * fixinc/fixincl.c(initialize): set program name for xmalloc
13083         * fixinc/fixlib.c(must_malloc): obsolete
13084         (is_cxx_header): no longer used - disabled
13085         (skip_quote): inserted and disabled for future use
13086         * fixinc/fixlib.h: reflects above
13087         * fixinc/fixtests.c: removed dinkleberries
13088
13089 2000-07-12  Neil Booth  <NeilB@earthling.net>
13090
13091         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
13092         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
13093
13094         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
13095         struct toklist_dummy): New.
13096         (cpp_free_definition): Free macros with free_macro.
13097         (count_params): Don't save paramter spellings.  Save macro
13098         information in a struct macro_info.
13099         (parse_define): Don't allocate a token list.
13100         (save_expansion): Allocate the macro's token list, and
13101         save parameter spellings if necessary.  Use TOKEN_SPELL.
13102         (cpp_create_definition): Make list const.
13103
13104 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
13105
13106         * c-typeck.c (pedwarn_c99): Move to
13107         * c-errors.c: ... Here.
13108         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
13109         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
13110         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
13111         (c-errors.o): List dependency.
13112
13113 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
13114
13115         * c-parse.c: Remove.
13116         * c-parse.h: Likewise.
13117         * c-parse.y: Likewise.
13118         * objc/objc-parse.c: Likewise.
13119         * objc/objc-pasre.y: Likewise.
13120
13121 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
13122
13123         * gcc.texi: Fix minor typos
13124         * extend.texi: Fix minor typos
13125
13126 2000-07-11  Marc Espie <espie@openbsd.org>
13127
13128         * collect2.c (main): Recognize .lo as object files.
13129
13130 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
13131
13132         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
13133         true.
13134
13135         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
13136         with MAP_ANONYMOUS and MAP_ANON.
13137         * configure, config.in: Rebuilt.
13138
13139 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
13140
13141         * diagnostic.c (save_output_state): Remove.
13142         (restore_output_state): Likewise.
13143         (clear_text_info): New function.
13144         (clear_diagnostic_info): Likewise.
13145         (output_text_length, is_starting_newline, output_prefix,
13146         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
13147         prefixing_policy, output_buffer_ptr_to_format_args): New macros
13148         (set_real_maximum_length, output_set_maximum_length,
13149         output_set_prefix, output_get_prefix, output_set_maximum_length,
13150         output_destroy_prefix, init_output_buffer,
13151         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
13152         output_add_newline, output_add_character, output_add_space,
13153         output_append_r, output_append, wrap_text, output_format,
13154         output_do_printf, output_printf, output_do_verbatim,
13155         output_verbatim, verbatim): Use them.
13156         (output_clear): Split into cleat_text_info and
13157         clear_diagnostic_info.
13158         (struct output_state): Move to...
13159
13160         * diagnostic.h: ...Here
13161         (struct output_buffer): Adjust.
13162
13163 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
13164
13165         * cpplex.c (parse_name): No longer inline (premature optimization).
13166         (do_pop_context): Fold into pop_context.
13167         (pop_context): Returns int.
13168         (lex_next): Hoist test for end of directive into pop_context.
13169         (push_macro_context): Returns int; takes just reader and token.
13170         Hoist test for excessive nesting to caller.
13171         (push_arg_context): Returns void; takes just reader and token.
13172         Do not call stringify_arg or get_raw_token.
13173         (get_raw_token): Convert tail recursion through push_arg_context
13174         to a loop at this level.  Call stringify_arg here if appropriate.
13175         (maybe_paste_with_next): Convert tail recursion to a while loop.
13176         Hoist test of paste_level to caller.
13177
13178         (stringify_arg): Push arg context at beginning.
13179         (cpp_get_token): Split out core into _cpp_get_token.  Call
13180         process_directive here.  Throw away CPP_PLACEMARKER tokens.
13181         (_cpp_get_token): Convert tail recursion through
13182         push_macro_context to a loop at this level.
13183         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
13184         _cpp_get_raw_token): Use _cpp_get_token.
13185         (_cpp_skip_rest_of_line): Drop the context stack directly; do
13186         not call pop_context.
13187         (_cpp_run_directive): Call lex_next directly.
13188
13189         * cpphash.h: Prototype _cpp_get_token.
13190         * cppexp.c (lex): Use it.
13191         * cpphash.c (parse_define): Use it.
13192         * cpplib.c (get_define_node, do_undef, parse_include,
13193         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
13194         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
13195         parse_ifdef, validate_else): Use it.
13196         (cpp_push_buffer): Tweak error message; abort if anyone tries
13197         to push a buffer while macro expansions are stacked.
13198
13199 2000-07-11  Donn Terry  <donnte@microsoft.com>
13200
13201         * cpplex.c (free_macro_args, save_token): Cast arg of free
13202         and/or xrealloc to PTR.
13203         (_cpp_init_input_buffer): Clear all fields of the base context.
13204
13205 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
13206
13207         * gensupport.c (process_rtx): Make rtl checking stop
13208         complaining about the define_insn while it is being
13209         converted from a define_insn_and_split.
13210
13211 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
13212
13213         * config/mips/mips.c (simple_memory_operand): Access the
13214         INTVAL of the address, not it's containing MEM.
13215
13216 2000-07-11  Bruce Korb  <bkorb@gnu.org>
13217
13218         * fixinc/fixtests.c(double_slash): obsolete
13219         (else_endif_label): likewise
13220         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
13221         (libc1_ifdefd_memx): correct initial comment
13222         and omit the #if/#endif pair from the memxxx declarations
13223         * fixinc/fixincl.x: regen
13224
13225 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13226
13227         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
13228
13229 2000-07-11  Neil Booth  <NeilB@earthling.net>
13230
13231         * cpp.texi: Update.
13232
13233 2000-07-11  Neil Booth  <NeilB@earthling.net>
13234
13235         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
13236         (handle_option): Set digraphs according to standard.
13237         Merge OPT_lang_c89 handler with OPT_std_c89.
13238
13239         * cpplex.c: (lex_line, can_paste): Honour digraphs in
13240         accordance with the digraphs flag.
13241
13242         * cpplib.h: (struct cpp_options): New option digraphs.
13243
13244 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
13245             Bruce Korb  <bkorb@gnu.org>
13246
13247         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
13248         * fixinc/fixincl.x: Regenerate.
13249         * fixinc/tests/base/testing.h: Add testcase.
13250
13251 2000-07-10  Richard Henderson  <rth@cygnus.com>
13252
13253         * config/ia64/ia64.c (got_symbolic_operand): New.
13254         (symbolic_operand, move_operand): Revert 0701 change.
13255         * config/ia64/ia64.h (PREDICATE_CODES): Update.
13256         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
13257         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
13258         split the offset into a 14-bit low part instead of a 13-bit low part.
13259         (load_fptr): Mark the mem as unchanging.
13260         (load_symptr): Use got_symbolic_operand.
13261
13262 2000-07-10  Nick Clifton  <nickc@cygnus.com>
13263
13264         * libgcc2.c (next_stack_level): Cast result of computation to
13265         (void **) so that the assignment does not generate a warning.
13266
13267 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
13268
13269         * flags.h : Add new variable flag_single_precision_constant.
13270         * toplev.c (display_help) : Add -fsingle-precision-constant option.
13271         (flag_single_precision_constant): New.
13272         * c-lex.c (yylex): Convert floating point constant to single
13273         precision constant.
13274         * invoke.texi : Add documentation for this new option.
13275
13276 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
13277
13278         * diagnostic.c (output_octal): Second parameter is unsigned.
13279         (output_long_octal): Likewise.
13280         (output_hexadecimal): Likewise.
13281         (output_long_hexadecimal): Likewise.
13282         (output_format): Adjust arguments extraction. Tweak.
13283         (output_verbatim, verbatim): End variable argument list.
13284         (report_diagnostic): Improve documentation.
13285
13286 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
13287
13288         * c-common.h (build_stmt): Declare.
13289         (build_continue_stmt): Likewise.
13290         (build_break_stmt): Likewise.
13291         (build_return_stmt): Likewise.
13292
13293         * c-decl.c (do_case): Rewrite to do what previously done in
13294         c-parse.in.
13295
13296         * c-semantics.c (build_stmt): Define.
13297         (build_return_stmt): Likewise.
13298         (build_break_stmt): Likewise.
13299         (build_continue_stmt): Likewise.
13300         (build_case_label): Likewise.
13301
13302         * c-parse.in (BREAK): Change to build tree, then generate RTL.
13303         (CONTINUE): Likewise.
13304         (RETURN): Likewise.
13305         (CASE): Likewise.
13306         (DEFAULT): Likewise.
13307
13308         * c-parse.y: Regenerate.
13309         * c-pasre.c: Likewise.
13310
13311 2000-07-09  Jason Merrill  <jason@redhat.com>
13312
13313         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
13314
13315         * tree.h (STRIP_NOPS): Check for error_mark_node.
13316         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
13317         (dwarf2out_*): Remove duplicate declarations.
13318
13319         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
13320         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
13321
13322 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
13323
13324         * diagnostic.c (wrap_text): New function.
13325         (maybe_wrap_text): Likewise.
13326         (output_add_string): Use it.
13327         (output_format): Likewise.
13328         (count_error): Use verbatim instead of notice.
13329         (report_error_function): Likewise. Don't use plain fprintf.
13330         (finish_diagnostic): New function.
13331         (output_do_verbatim): Tweak.  Commonalize functionalities in
13332         output_verbatim and verbatim.
13333         (output_verbatim): Adjust.
13334         (verbatim): Likewise.
13335         (report_diagnostic): Define.
13336
13337         * diagnostic.h (report_diagnostic): Prototype.
13338
13339 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
13340
13341         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
13342
13343 2000-07-09  Neil Booth  <NeilB@earthling.net>
13344
13345         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
13346         IShspace, ISspace: Update.
13347
13348         * cppinit.c: ISTABLE: Update.
13349         V: New.
13350
13351         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
13352         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
13353         (skip_block_comment, skip_line_comment, parse_string,
13354         lex_line): Use is_vspace rather than IS_NEWLINE.
13355         (skip_whitespace, lex_line): Clean up to use is_nvspace.
13356         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
13357         gets a BOL flag.
13358         (lex_next): Unconditionally stop if within a directive.
13359         Treat directives within macro invocations as directives
13360         (after parse_args emits error), not as the argument.
13361
13362 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
13363
13364         * diagnostic.c (diagnostic_args): New macro.
13365         (diagnostic_msg): Likewise.
13366         (output_formatted_integer): Likewise.
13367         (output_state): New data type.
13368         (digit_buffer): Make global.
13369         (output_add_integer): Rename to output_decimal. Squeeze
13370         digit_buffer.
13371         (output_long_decimal, output_unsigned_decimal,
13372         output_long_unsigned_decimal, output_octal, output_long_octal,
13373         output_hexadecimal, output_long_hexadecimal): New functions.
13374         (output_append_r): New function.
13375         (output_append): Tweak.
13376         (output_flush_on): Rename to output_to_stream.
13377         (output_format): Change prototype.  Improve documentation. Handle
13378         more format specifiers.
13379         (build_location_prefix): Rename to context_as_prefix.
13380         (output_notice): Rename to output_do_printf.
13381         (output_printf): Tweak.
13382         (line_wrapper_printf): Likewise.
13383         (vline_wrapper_message_with_location): Adjust call to renamed
13384         functions.
13385         (v_message_with_decl): Likewise.
13386         (default_print_error_function): Likewise.
13387         (save_output_state): New function.
13388         (restore_output_state): Likewise.
13389         (output_do_verbatim): Likewise.
13390         (output_verbatim): Define.
13391         (verbatim): Likewise.
13392
13393         * diagnostic.h (printer_fn): Change return type from void to int.
13394         Improve documentation.
13395         (output_add_integer): Rename to output_decimal.
13396         (output_flush_on, output_format): Don't export.
13397         (output_verbatim, verbatim): Declare.
13398
13399 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
13400
13401         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
13402         Check whether c divides op1 exactly if operation is not
13403         multiplication.
13404
13405 2000-07-08  Richard Henderson  <rth@cygnus.com>
13406
13407         * final.c (final): Do not abort when reg-stack introduces
13408         a new insn.
13409
13410 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
13411
13412         * cpplib.h (struct cpp_name): Now struct cpp_string.
13413         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
13414         CPP_HEADER_NAME): Change to type S.
13415         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
13416         field, a cpp_hashnode *.  All references to val.name updated
13417         to use val.str or val.node as appropriate.
13418         (struct cpp_reader): Add spec_nodes field.
13419         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
13420
13421         * cpphash.h (struct spec_nodes): New.
13422         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
13423         val.str.  All references to 'spelling > SPELL_NONE' updated to
13424         match.
13425
13426         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
13427         pfile->buffer->inc are not NULL before dereferencing them.
13428
13429         * cpplex.c (parse_name): Take a pointer to the current token,
13430         plus current position and limit as args; return the new
13431         position; don't copy the text of a name into the string
13432         buffer, instead call cpp_lookup and store the node pointer.
13433         If extending a token, copy out the text of the old into a
13434         scratch buffer, append the new, look that up and store the new
13435         node pointer.  Inline.
13436         (maybe_paste_with_next): If the result of paste is a NAME,
13437         then look up the pasted text and store its node pointer.
13438         (lex_line): Adjust for new parse_name interface.
13439         Check for L"str", L'str' using spec_nodes->n_L.
13440         (spell_token): SPELL_IDENT tokens have their spelling in
13441         val.node->name.  Handle SPELL_STRING tokens that don't have
13442         string delimiters.
13443         (_cpp_expand_name_space,
13444         (can_paste): Check for L ## "str" using spec_nodes->n_L.
13445         (cpp_get_token, special_symbol): No need to call cpp_lookup.
13446         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
13447         return 1=equal 0=not, not a tristate.
13448
13449         * cpphash.c (var_args_str): Delete.
13450         (find_param): Compare node fields directly.
13451         (is__va_args__): Use CPP_PEDANTIC.  Just compare
13452         token->val.node with spec_nodes->n__VA_ARGS__.
13453         (dump_funlike_macro): Don't use var_args_str.
13454
13455         * cpplib.c (_cpp_check_directive): Just walk through
13456         spec_nodes->dirs comparing pointers.
13457         (get_define_node, do_pragma_poison, detect_if_not_defined,
13458         parse_ifdef): The identifier has already been looked up.
13459         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
13460         node.
13461         (do_if): Only call detect_if_not_defined at beginning of file.
13462         (_cpp_parse_assertion): Only copy string pointers for
13463         SPELL_STRING tokens.
13464         (pragma_dispatch): Take a node pointer and examine its name
13465         field.
13466         (_cpp_init_stacks): Also initialize the spec_nodes structure.
13467
13468         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
13469         _cpp_init_macros.
13470         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
13471         reverse order from the corresponding _cpp_init_* routines.
13472
13473         * cppexp.c (parse_number, parse_charconst, parse_defined,
13474         lex): Check val.node->type instead of calling cpp_defined.
13475         Use spec_nodes entries where appropriate.
13476
13477         * fix-header.c, scan-decls.c: Update for interface changes.
13478
13479 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
13480
13481         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
13482         emitting aux_truncdfsf2.
13483
13484 2000-07-03  Donn Terry  (donnte@microsoft.com)
13485
13486         * cppinit.c (print_help): split overlong line into ISO C89
13487         maximum chunks.
13488
13489 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
13490
13491         * cppexp.c: Update all code for new lexer interface.
13492         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
13493         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
13494         * cpplex.c (token_names): Trim leading CPP_ from names; make
13495         the strings unsigned.
13496         (_cpp_spell_operator): New.
13497         (is_macro_disabled): Disable all macros if rescanning
13498         preprocessed text.
13499         (_cpp_get_directive_token): Remove.
13500
13501         * cppinit.c: Don't set no_macro_expand.
13502         * cpplib.c (read_line_number, do_line): Check only for EOF,
13503         not VSPACE.
13504         * cpphash.h: Update prototypes.
13505         * cpplib.h (CPP_VSPACE): Remove.
13506         (struct cpp_reader): Remove no_macro_expand.
13507
13508 2000-07-08  Neil Booth  <NeilB@earthling.net>
13509
13510         * cpphash.c (is__va_args__): New function.
13511         (count_params): Fix line reported in error messages.  Use
13512         is__va_args__.  Don't return ')' on error.  Flag GNU style
13513         rest args macro definitions.
13514         (parse_define): Check macro name is not __VA_ARGS__.
13515         (save_expansion): Check identifier in non-varargs-macro is
13516         not __VA_ARGS__.  Don't flag GNU_VARARGS.
13517         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
13518         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
13519          than per-token GNU_VARARGS.
13520         * cpplib.h (GNU_VARARGS): Remove.
13521         (GNU_REST_ARGS): New.
13522
13523 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13524
13525         * i386.md (call_pop, call, call_value_pop): Do not set
13526         current_function_uses_pic_offset_table for calls to static
13527         functions or indirect calls.
13528
13529 2000-07-07  Jim Wilson  <wilson@cygnus.com>
13530
13531         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
13532         is_predicate_reg, then take max write_count of register pair.
13533
13534 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13535
13536         * tradcpp.c (main): Rename label `include' to `add_include' to
13537         avoid conflicts with variable `include' in traditional C.
13538
13539 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
13540
13541         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
13542
13543 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
13544
13545         * sibcall.c (uses_addressof): Add INMEM argument, check for
13546         current_function_internal_arg_pointer outside of MEM rtxs in addition
13547         to ADDRESSOFs.
13548         (sequence_uses_addressof): Update caller.
13549
13550 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
13551
13552         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
13553         and friends.
13554
13555 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13556
13557         * system.h (UNION_INIT_ZERO): New macro for initializing union
13558         members in structs.
13559
13560         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
13561
13562 2000-07-07  Neil Booth  <NeilB@earthling.net>
13563
13564         * cpp.texi: Update.
13565
13566 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
13567
13568         * final.c (final): Detect out of bounds array access to
13569         the insn_lengths array.
13570
13571 2000-07-07  Kazu Hirata  <kazu@hxi.com>
13572
13573         * fold-const.c (fold): Fix a comment typo.
13574
13575 2000-07-07  Neil Booth  <NeilB@earthling.net>
13576
13577         * cpp.texi: Update to new lexer.
13578
13579 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
13580
13581         * tradcpp.c: New file.
13582         * tradcif.y: New file.
13583         * tradcif.c: New generated file.
13584
13585         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
13586         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
13587         dependencies of C.  Install tradcpp from install-common, in
13588         $(libsubdir).
13589
13590 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
13591
13592         * cppinit.c: Include cppdefault.h.  Refer to
13593         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
13594         to GCC_INCLUDE_DIR and its length.
13595         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
13596         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
13597         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
13598         cppdefault.h.
13599         (include_defaults_array): Move to cppdefault.c.
13600
13601         * cppdefault.h: New file.
13602         * cppdefault.c: New file.
13603
13604         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
13605         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
13606         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
13607         this file.
13608
13609 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13610
13611         * reload.c (push_reload): When seeing if can reuse a register,
13612         check extra registers against widest of INMODE and OUTMODE.
13613
13614 2000-07-06  Neil Booth  <NeilB@earthling.net>
13615
13616         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
13617         based on full length of predicate.
13618
13619 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
13620
13621         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
13622         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
13623
13624 2000-07-05  Kazu Hirata  <kazu@hxi.com>
13625
13626         * h8300-proto.h: Fix formatting.
13627         * h8300.c: Likewise.
13628         * h8300.h: Likewise.
13629
13630 2000-07-05  Jim Wilson  <wilson@cygnus.com>
13631
13632         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
13633         CCmode.
13634
13635 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
13636
13637         * invoke.texi: Fix minor typos
13638         * md.texi: Fix minor typos
13639
13640 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
13641
13642         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
13643
13644 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
13645
13646         * cpplex.c: Don't include sys/mman.h.
13647         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
13648
13649         * cpplib.c: Include sys/mman.h and obstack.h.
13650         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
13651         obstack.
13652         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
13653         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
13654         bother freeing if stack entries (they will be freed with their buffer).
13655         (do_endif): Free if stack entries from the buffer obstack.
13656         (push_conditional): Allocate if stack entries from the buffer obstack.
13657
13658         (find_answer): Rename to _cpp_find_answer.
13659         (do_assert, do_unassert): Update.
13660
13661         * cpphash.h: Update prototypes.
13662         (xobnew): New convenience macro.
13663         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
13664         Update comments.
13665         (struct cpp_hashnode): Remove disabled field.
13666
13667         * cppinit.c: Don't include hashtab.h or splay-tree.h.
13668         (report_missing_guard): Moved to cppfiles.c.
13669         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
13670         cpp_init_includes.
13671         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
13672         cpp_cleanup_includes.  Don't destroy hashtab or
13673         all_include_files here.
13674         (cpp_finish): Use _cpp_report_missing_guards.
13675
13676         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
13677         (_cpp_init_include_table): Rename _cpp_init_includes.
13678         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
13679
13680         * cppexp.c (parse_assertion): Update for new name of
13681         find_answer.
13682
13683         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
13684
13685 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
13686
13687         * cpplib.c (do_ident): s/VSPACE/EOF/
13688
13689 2000-07-05  Neil Booth  <NeilB@earthling.net>
13690
13691         * cpplex.c: Fix trigraph replacement within strings.
13692
13693 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13694
13695         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
13696
13697         * xcoffout.c (assign_type_number): Constify.
13698         (xcoffout_source_file): Add static prototype.  Don't needlessly
13699         cast away const-ness.
13700
13701 2000-07-04  Jason Merrill  <jason@redhat.com>
13702
13703         * frame.h (frame_state): Move base_offset to end.
13704
13705 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
13706
13707         * calls.c (emit_library_call_value_1): Revert previous change.
13708
13709 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
13710
13711         * fix-header.c (struct partial_proto): Remove unnecessary fields.
13712         (recognized_extern, recognized_function, read_scan_file):
13713         Update for new scheme.
13714         (check_protection): It's still a multiple include guard even
13715         if it doesn't always trigger.
13716         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
13717         new scheme.
13718         * scan.h: Declare struct cpp_token.  Update prototypes.
13719
13720 2000-07-03  Neil Booth  <neilb@earthling.net>
13721             Zack Weinberg  <zack@wolery.cumb.org>
13722
13723         Complete overhaul of the lexer and macro expander.
13724
13725         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
13726         arg, arglist, argdata, reflist, collect_objlike_expansion,
13727         collect_funlike_expansion, collect_params,
13728         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
13729         unsafe_chars, macarg, compare_defs, special_symbol,
13730         scan_arguments, stringify, funlike_macroexpand,
13731         _cpp_quote_string, monthnames): Delete.
13732         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
13733         _cpp_create_definition, _cpp_dump_definition,
13734         dump_hash_helper): Adjust.
13735         (find_param, count_params, parse_define, var_args_str,
13736         check_macro_redefinition, save_expansion): New.
13737
13738         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
13739         parse_string, output_line_command, trigraph_replace,
13740         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
13741         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
13742         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
13743         _cpp_skip_rest_of_line): Modify.
13744
13745         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
13746         find_position, null_warning, bump_column, expand_name_space,
13747         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
13748         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
13749         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
13750         _cpp_prescan): Delete.
13751
13752         (dump_param_spelling, process_directive, lex_next,
13753         is_macro_disabled, stringify_arg, expand_context_stack,
13754         output_token, make_string_token, alloc_number_token,
13755         special_symbol, duplicate_token, maybe_paste_with_next,
13756         can_paste, prevent_macro_expansion, restore_macro_expansion,
13757         get_temp_token, release_temp_tokens, quote_string,
13758         token_names, token_spellings, _cpp_expand_name_space,
13759         _cpp_glue_header_name, _cpp_reserve_name_space,
13760         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
13761         placemarker_token, eof_token, cpp_context, macro_args,
13762         get_raw_token, parse_arg, parse_args, save_token,
13763         push_arg_context, push_macro_context, pop_context,
13764         do_pop_context, free_macro_args, _cpp_get_line,
13765         _cpp_run_directive): New.
13766
13767         * cpplib.c (validate_else, parse_include, push_conditional,
13768         pass_thru_directive, read_line_number, parse_ifdef,
13769         detect_if_not_defined, _cpp_check_directive, do_define,
13770         do_undef, do_include, do_import, do_include_next, do_error,
13771         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
13772         top_pragmas, do_pragma_gcc, do_pragma_implementation,
13773         do_pragma_poison, do_pragma_system_header,
13774         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
13775         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
13776         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
13777         cpp_defined): Update for new scheme.
13778         (strtoul_for_line, get_define_node, dump_macro_name,
13779         _cpp_check_linemarker, _cpp_parse_assertion): New.
13780         (_cpp_handle_directive, do_pragma_default): Delete.
13781
13782         * cpphash.h (struct predicate): Now struct answer.
13783         (enum spell_type, struct token_spelling, struct directive,
13784         directive_handler): New.
13785         Update prototypes.  Remove unused macros.
13786         * cpplib.h: Update prototypes.  Remove unused macros,
13787         structure definitions, and fields.
13788
13789         * cpperror.c (print_containing_files, v_message): Adjust.
13790         * cppexp.c (parse_assertion, lex, parse_escape,
13791         _cpp_parse_expr): Adjust.
13792         * cppfiles.c (open_include_file, _cpp_execute_include,
13793         _cpp_compare_file_date, cpp_read_file, read_include_file):
13794         Adjust.
13795         * cppinit.c (dump_special_to_buffer): Delete.
13796         (append_include_chain, merge_include_chains, cpp_reader_init,
13797         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
13798         cpp_finish, handle_option, print_help): Adjust.
13799         * cppmain.c (main): Adjust.
13800
13801 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
13802
13803         * cppspec.c (lang_specific_driver): Use double quotes in error
13804         message.
13805
13806 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
13807
13808         * calls.c (emit_library_call_value_1): Use valreg instead
13809         of hard_libcall_value.
13810
13811 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
13812
13813         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
13814         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
13815         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
13816         (movhi): Likewise.
13817         (movqi): Likewise.
13818         (movdf): Likewise.
13819         (movsf): Likewise.
13820         (movdi): Likewise.
13821         (movti): Likewise.
13822
13823         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
13824         mode instead of wider_mode is being used.
13825
13826 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
13827
13828         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
13829         of 'r'. Use q_regs_operand.
13830         (andsi_1+2): Use q_regs_operand.
13831
13832 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
13833
13834         * builtins.c (get_memory_rtx): Always put into alias set 0.
13835
13836 2000-07-03  Nick Clifton  <nickc@cygnus.com>
13837
13838         * config/arm/arm.md: Fix post increment and pre increment
13839         peepholes so that they do not generate UNPREDICATBLE opcodes.
13840         (ie ones where the increment clobbers the source/destination).
13841
13842 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
13843
13844         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
13845         change too big for -mtiny-stack" a warning, if larger than 63.
13846         (out_set_stack_ptr): Change the logic so -mno-interrupts is
13847         always safe to use on possible future devices.
13848         (function_prologue): Write SPH before SPL, for consistency.
13849         If interrupt_func_p true, we know we have enabled interrupts.
13850         (avr_num_arg_regs): New function.  Round up to even number of
13851         bytes if no -mpack-args or if calling a libgcc function.
13852         (function_arg, function_arg_advance): Use it.
13853         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
13854         Output "movw" if available.
13855         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
13856         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
13857         (asm_output_section_name): Add blanks for consistent output.
13858         (encode_section_info): Set TREE_READONLY for progmem data to
13859         avoid gas warnings about changed section attributes.
13860         (avr_hard_regno_mode_ok): Force non-QImode data to start in
13861         even numbered registers on devices with "movw".
13862         * config/avr/avr.h (MASK_*): Define bits for target_flags.
13863         (TARGET_SWITCHES): Mark help strings for translation.
13864         Add new -mpack-args and -menhanced switches.
13865         (TARGET_OPTIONS): Mark help strings for translation.
13866         (progmem_section): Add section attributes.
13867         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
13868         Output "movw" if available.
13869         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
13870         New patterns.
13871         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
13872         call convention (arguments aligned on even registers).
13873         (_cleanup, _exit): Make weak symbols libc can override.
13874
13875 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13876
13877         * fp-bit.h: New file.
13878
13879         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
13880         Comment #endif statements.
13881         (__thenan_sf, __thenan_df): Add missing braces around initializer.
13882
13883 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
13884
13885         * gcse.c (compute_pre_data): Compute ae_kill using other local
13886         properties instead of calling compute_ae_kill.
13887
13888         * alias.c (init_alias_analysis): Do not call
13889         prologue_epilogue_contains until after reload has completed.
13890
13891 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
13892
13893         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
13894         (genrtl_finish_compound_stmt): Likewise.
13895         (genrtl_compound_stmt): Change to return void.
13896
13897         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
13898         move code from here to ...
13899         (genrtl_compound_stmt): ... here.
13900         (genrtl_finish_compound_stmt): Remove.
13901         (expand_stmt): Add comment.
13902
13903 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
13904
13905         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
13906         and VOID_TYPE_P.
13907
13908 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
13909
13910         * cpplib.h (struct cpp_reader): New field include_depth.
13911         (struct cpp_printer): Rename last_bsd to last_id.
13912         * cppfiles.c (read_include_file): Bump include_depth.
13913         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
13914         (output_line_command): Output correct #line if a header
13915         is including itself and is not protected against multiple inclusion.
13916         Use include_depth instead of buffer_stack_depth, last_id instead of
13917         last_bsd.
13918         * cppinit.c (cpp_start_read): Initialize last_id instead of
13919         last_bsd.
13920
13921 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
13922
13923         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
13924         (c-semantics.o): New target.
13925
13926         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
13927         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
13928         (genrtl_clear_out_block): Likewise.
13929         (genrtl_goto_stmt): Likewise.
13930         (genrtl_expr_stmt): Likewise.
13931         (genrtl_decl_stmt): Likewise.
13932         (genrtl_if_stmt): Likewise.
13933         (genrtl_while_stmt): Likewise.
13934         (genrtl_do_stmt): Likewise.
13935         (genrtl_return_stmt): Likewise.
13936         (genrtl_for_stmt): Likewise.
13937         (genrtl_break_stmt): Likewise.
13938         (genrtl_continue_stmt): Likewise.
13939         (genrtl_scope_stmt): Likewise.
13940         (genrtl_switch_stmt): Likewise.
13941         (genrtl_case_label): Likewise.
13942         (genrtl_begin_compound_stmt): Likewise.
13943         (gerntl_finish_compound_stmt): Likewise.
13944         (genrtl_compound_stmt): Likewise.
13945         (genrtl_asm_stmt): Likewise.
13946         (genrtl_decl_cleanup): Likewise.
13947         (DECL_ANON_UNION_ELEMS): Likewise.
13948         (emit_local_var): Likewise.
13949         (make_rtl_for_local_static): Likewise.
13950         (expand_cond): Likewise.
13951         (expand_stmt): Likewise.
13952         (c_expand_return): Likewise.
13953         (c_expand_start_case): Likewise.
13954         (do_case): Likewise.
13955         (COMPOUND_STMT_NO_SCOPE): Likewise.
13956         (c_expand_asm_operands): Likewise.
13957         (NEW_FOR_SCOPE_P): New macro.
13958         (expand_expr_stmt_fn): New type.
13959
13960         (set_current_function_name_declared): Likewise.
13961         (current_function_name_declared): Likewise.
13962         (lang_expand_stmt): Likewise.
13963         (stmts_are_full_exprs_p): Likewise.
13964         (anon_aggr_type_p): Likewise.
13965         (lang_expand_expr_stmt): Likewise.
13966         (build_case_label): Likewise.
13967
13968         * c-decl.c (lang_expand_expr_stmt): Initialize.
13969         (stmts_are_full_exprs_p): Define.
13970         (current_function_name_declared): Likewise.
13971         (do_case): Likewise.
13972         (lang_expand_stmt): Likewise.
13973         (set_current_function_name_declared): Likewise.
13974         (anon_aggr_type_p): Likewise.
13975
13976         * c-semantics.c: New file.
13977         (expand_cond): Moved from cp/semantics.c.
13978         (genrtl_do_pushlevel): Likewise.
13979         (genrtl_clear_out_block): Likewise.
13980         (genrtl_goto_stmt): Likewise.
13981         (genrtl_expr_stmt): Likewise.
13982         (genrtl_decl_stmt): Likewise.
13983         (genrtl_if_stmt): Likewise.
13984         (genrtl_while_stmt): Likewise.
13985         (genrtl_do_stmt): Likewise.
13986         (genrtl_return_stmt): Likewise.
13987         (genrtl_for_stmt): Likewise.
13988         (genrtl_break_stmt): Likewise.
13989         (genrtl_continue_stmt): Likewise.
13990         (genrtl_scope_stmt): Likewise.
13991         (genrtl_switch_stmt): Likewise.
13992         (genrtl_case_label): Likewise.
13993         (genrtl_begin_compound_stmt): Likewise.
13994         (genrtl_finish_compound_stmt): Likewise.
13995         (genrtl_compound_stmt): Likewise.
13996         (genrtl_asm_stmt): Likewise.
13997         (genrtl_decl_cleanup): Likewise.
13998         (make_rtl_for_local_static): Moved from cp/decl.c.
13999         (emit_local_var): Likewise.
14000         (expand_stmt): Define.
14001
14002         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
14003         (c_expand_return): Likewise.
14004         (c_expand_start_case): Likewise.
14005
14006 2000-07-01  Richard Henderson  <rth@cygnus.com>
14007
14008         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
14009         with the low 13 bits set.
14010         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
14011         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
14012         of the low 13 bits into a CONST plus an adddi3.
14013         (load_symptr): Set RTX_UNCHANGING_P.
14014
14015 See ChangeLog.3 for earlier changes.