OSDN Git Service

* haifa-sched.c: Fix formatting.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * builtins.c (built_in_decls): New array.
4         (expand_builtin_fputs): New function.
5         (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
6
7         * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
8
9         * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
10
11         * tree.h (built_in_decls): New array.
12
13 Tue Sep 12 08:53:57 2000  Jeffrey A Law  (law@cygnus.com)
14
15         * convex.md: Use "+" instead of "=" for outputs wrapped in a
16         STRICT_LOW_PART.
17         * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
18
19 2000-09-12  Kazu Hirata  <kazu@hxi.com>
20
21         * haifa-sched.c: Fix formatting.
22
23         * genattrtab.c: Fix formatting.
24
25         * unroll.c: Fix formatting.
26
27 2000-09-12  Bruce Korb  <bkorb@gnu.org>
28
29         * fixinc/fixfixes.c: make a type for the fix procedure & use it,
30         remove obsolete code
31         * fixinc/fixincl.c: Use PARAMS, not _P_.  Add no-op default to switch.
32         * fixinc/fixincl.tpl: make non-exported arrays static scope
33         * fixinc/fixincl.x: regenerate
34         * fixinc/fixlib.h: Use PARAMS, not _P_
35         * fixinc/fixtests.c: make a type for the test proc & use it
36         * fixinc/server.h: Use PARAMS, not _P_
37
38 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
39
40         * c-typeck.c (process_init_element): Avoid union init warnings on
41         floating point zero.  Don't crash on unions containing structs.
42
43 2000-09-12  Alexandre Oliva  <aoliva@redhat.com>
44
45         * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
46         general_movsrc_operand, and remove CONST_INT from
47         general_movdst_operand.
48
49 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
50
51         * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
52         if a reference to non-fixed hardreg is seen.  Otherwise, count hard
53         regs with a higher cost.
54         (preferrable): Deal with cases where either cost or regcost is
55         MAX_COST.
56         (cse_insn): Use MAX_COST rather than 10000.  Always initialize
57         regcost values.
58         (COSTS_N_INSNS): Move definition...
59         * rtl.h: ...here.
60         (MAX_COST): New macro.
61         * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
62         constant.
63
64 2000-09-11  Mark Mitchell  <mark@codesourcery.com>
65
66         * c-common.h (genrtl_clear_out_block): Remove.
67         * c-semantics.c (genrtl_clear_out_block): Remove.
68         (genrtl_while_stmt): Don't call it.
69         (genrtl_for_stmt): Likewise.
70
71 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
72
73         * cppfiles.c: Move all default-#defines to top of file.
74         (open_include_file): Replace by lookup_include_file.
75         (read_with_read, read_file): Merged into read_include_file.
76         (stack_include_file, purge_cache): New functions.
77         (close_cached_fd): Delete.
78         (lookup_include_file, read_include_file, _cpp_pop_file_buffer): 
79         Cache the in-memory buffer, not the file descriptor.
80
81         * cpphash.h (struct include_file): Add buffer, st, refcnt,
82         mapped fields.
83         (xcnew): New utility macro.
84         (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
85         * cpplib.h (struct cpp_buffer): Remove mapped field.
86
87 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
88
89         * cpplex.c (parse_string): Accept backslash space newline as a
90         line continuation.
91         (lex_line): Likewise.
92         (_cpp_get_token): Remove hard limit on macro nesting.
93
94 2000-09-12  Philipp Thomas  <pthomas@suse.de>
95
96         * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
97         * configure: Rebuilt.
98
99 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
100
101         * flow.c (split_block): Fix update of registers live at
102         end of split block.
103
104 Tue Sep 12 01:51:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
105
106         * i386.md (add?i_3, add?i_5): New.
107         (add?i_4): Rename from add?i_3;  Fix compare pattern.
108         (sub?i_3, xor?i_3, ior?i_3): New.
109
110         * genrecog.c (write_tree): Output code to clear insn_extract cache.
111         * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
112         instead of extract_insn and extract_constrain_insn_cache instead of
113         extract_insn and constrain_operands.
114         * recog.c (extract_insn_cached, extract_constrain_insn_cached):
115         New functions.
116         (extract_insn): Clear which_alternative.
117         (constrain_operands): Set which_alternative to -1 when failed.
118         * recog.h (extract_constrain_insn_cached, extract_insn_cached):
119         Declare.
120
121 2000-09-11  Matthew Hiller  <hiller@redhat.com>
122
123         * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
124         on operand 0 to '+'.
125         (movstricthi): Likewise.
126
127 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
128
129         * loop.h (LOOP_IVS): New macro.
130         (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
131         (struct loop_ivs): New.
132         (struct loop_info): Add ivs field.
133         (reg_iv_type, reg_iv_info): Delete prototype.
134         (reg_biv_class, loop_iv_list): Likewise.
135         * loop.c (record_biv, find_life_end): Pass loop argument.
136         (reg_iv_type): Remove global array and use
137         field in loop_regs structure within loop_ivs structure.
138         (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
139         (first_increment_giv, last_increment_giv): Use entry in
140         loop_ivs structure.
141         (record_initial): Pass ivs pointer.
142         * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
143
144 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
145
146         * loop.h (LOOP_REGS): New macro.
147         (struct loop_regs): New.
148         (struct loop_info): Add regs field.
149         * loop.c (set_in_loop): Remove global array and store 
150         in loop_regs structure as part of loop_info structure.
151         (n_times_set, may_not_optimize): Likewise.
152         (reg_single_usage, moved_once): Likewise.
153         (count_one_set): Add regs argument.
154         (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
155         (set_pseudo_multiple_uses): Pass regs pointer.
156
157 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
158
159         * unroll.c (iteration_info): Subsume into loop_iterations.
160         * loop.h (loop_info): New field iv.
161
162 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
163
164         * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
165         (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
166         (flow_loops_update): New prototype.
167         (flow_loops_find): Add flags to prototype.
168         (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
169         * flow.c (flow_loop_pre_header_scan): New.
170         (flow_loop_dump): Dump pre-header root and trace and exit dominators.
171         (flow_loop_free): Free pre-header root and trace and exit dominators.
172         (flow_loops_find): New argument flags.
173         (flow_loops_update): New function.
174         * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
175
176 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
177
178         * basic-block.h (split_block, update_bb_for_insn): New prototypes.
179         * flow.c (split_block, update_bb_for_insn): New functions.
180
181 2000-09-11  Richard Henderson  <rth@cygnus.com>
182
183         * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
184
185 2000-09-11  Richard Henderson  <rth@cygnus.com>
186
187         * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
188         * config/ia64/ia64.c (fr_nonimmediate_operand): New.
189         (ia64_override_options): Prevent optimizing division for both
190         latency and throughput.
191         (rtx_needs_barrier): Handle frcpa.
192         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
193         (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
194         (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
195         (TARGET_SWITCHES): Add -minline-divide-min-latency and
196         -minline-divide-max-throughput.
197         (PREDICATE_CODES): Update.
198         * config/ia64/ia64.md (extendsidi2): Remove * from f case.
199         (zero_extendsidi2): Likewise.  Fix typo in f case insn.
200         (extendsfdf2): Add cases for gr<->fr and fr<->mem.
201         (extendsftf2): Likewise.
202         (extenddftf2): Likewise.
203         (fix_trunctfdi2_alts): New.
204         (fixuns_trunctfdi2_alts): New.
205         (madd*4): Rename from madd*3.
206         (divsi3, modsi3, udivsi3, umodsi3): New.
207         (divsi3_internal): New.
208         (divdi3, moddi3, udivdi3, umoddi3): New.
209         (divdi3_internal_lat, divdi3_internal_thr): New.
210         (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
211         (recip_approx): New.
212
213 2000-09-11  Alexandre Oliva  <aoliva@redhat.com>
214
215         * print-rtl.c (debug_call_placeholder_verbose): New variable.
216         (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
217         set.
218         * integrate.c (copy_rtx_and_substitute): Don't share
219         LEAF_REG_REMAPpable registers with the inlined function.  Don't
220         share the function value with calling sequences.
221
222 2000-09-11  Jakub Jelinek  <jakub@redhat.com>
223
224         * c-decl.c (do_case): Fix a typo.
225
226         * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
227         to a if the comparison is floating mode and not -ffast-math.
228         * simplify-rtx.c (simplify_ternary_operation): Likewise.
229
230 Mon Sep 11 20:07:48 2000  J"orn Rennecke <amylaar@redhat.co.uk>
231
232         * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
233         gen_ic_invalidate_line.
234
235 2000-09-11  Philip Blundell  <pb@futuretv.com>
236
237         * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
238
239 Mon Sep 11 10:48:41 2000  Ulrich Drepper <drepper@redhat.com>
240
241         * install.texi (LANGUAGES): Update to include new languages.
242         * INSTALL: Rebuilt.
243
244 2000-09-11  DJ Delorie  <dj@redhat.com>
245
246         * gcc.c (main): Don't warn about unused -B prefixes
247         (unused_prefix_warnings): remove
248
249 2000-09-11  Kazu Hirata  <kazu@hxi.com>
250
251         * final.c: Fix formatting.
252
253         * integrate.c: Fix formatting.
254
255 2000-09-11  Geoff Keating  <geoffk@cygnus.com>
256
257         * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
258
259 2000-09-11  Bernd Schmidt  <bernds@redhat.co.uk>
260
261         * reload.c (regno_clobbered_p): Fix thinko in previous change.
262
263 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
264
265         * gcc.1: Document 68hc11 specific options.
266
267 2000-09-10  Geoff Keating  <geoffk@cygnus.com>
268
269         * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
270         (TARGET_LONG_DOUBLE_128): Define.
271         (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
272         (LONG_DOUBLE_TYPE_SIZE): Redefine.
273         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
274         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
275         of __LONG_DOUBLE_128__.
276         (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
277         passed.
278         (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
279         (CPP_SYSV_DEFAULT_SPEC): Define.
280         (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
281         (INIT_TARGET_OPTABS): Define.
282
283         * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
284         (RS6000_UITRUNC): Likewise.
285         (INIT_TARGET_OPTABS): New macro.
286         * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
287         (trunc_defined): Delete.
288         (output_prolog): Don't output .extern definitions for fp->int
289         conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
290         * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
291         (trunc_defined): Delete.
292         (RS6000_ITRUNC): Moved to aix.h.
293         (RS6000_UITRUNC): Likewise.
294         * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
295         only emit a libcall.
296         (fixuns_truncdfsi2): Delete.
297         (trunc_call): Delete.
298         (trunc_call_rtl): Delete.
299
300 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
301
302         * varasm.c (make_decl_rtl): Restore leading star on
303         DECL_ASSEMBLER_NAME set for decls with an asmspec. 
304
305 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
306
307         * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
308         won't give a spurious error for '#pragma pack()'.  Simplify
309         control flow for readability.  'reset' action is not necessary.
310
311 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
312
313         * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
314         SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
315         LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
316         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
317
318         * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
319         profile.c, sdbout.c, tradcif.y, tree.c:
320         Include defaults.h if not already included.
321         Don't define the above macros.
322
323         * Makefile.in: Update dependencies.
324
325 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
326
327         * c-common.h (add_stmt): Change prototype.
328         (RECHAIN_STMTS): New macro.
329         (CASE_LABEL_DECL): Likewise.
330         (genrtl_case_label): Change prototype.
331         (c_expand_start_case): Remove prototype.
332         (build_case_label): Change prototype.
333         (decl_constant_value): Declare.
334         * c-common.c (check_case_value): Handle C++'s extensions to C
335         semantics.
336         * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
337         field.
338         * c-parse.in (stmt): Adjust handling of return statements and case
339         laels.
340         * c-semantics.c (add_stmt): Return the new statement.
341         (genrtl_return_stmt): Take the RETURN_STMT as input, not the
342         returned expression.  Directly generate RTL, rather than calling
343         c_expand_return.
344         (genrtl_switch_stmt): Don't call c_expand_start_case.
345         (build_case_label): Take the LABEL_DECL as input, too.
346         (genrtl_case_label): Just call add_case_node.
347         (expand_stmt): Adjust calls to genrtl_return_stmt and
348         genrtl_case_label.
349         * c-tree.h (c_expand_start_case): Declare.
350         * c-typeck.c (decl_constant_value): Give it external linkage.
351         (c_expand_return): Don't call expand_return or expand_null_return;
352         use genrtl_return_stmt instead.
353         * stmt.c (struct nesting): Remove num_ranges field.
354         (add_case_node): Give it external linkage.
355         (expand_start_case): Don't set num_ranges.
356         (expand_start_case_dummy): Don't clear it.
357         (pushcase): Rely on add_case_node to handle `default' labels.
358         (add_case_node): Handle `default' labels.
359         * tree.c (tree_int_cst_compare): New function.
360         * tree.h (tree_int_cst_compare): Declare.
361         (add_case_node): Likewise.
362
363 2000-09-10  Richard Henderson  <rth@cygnus.com>
364
365         * c-parse.in: Revert last change.
366         (init_reswords): Do not enter disabled keywords into the ridpointers
367         table, modulo objc weirdness.
368         (_yylex): Return the canonical spelling for a keyword.
369
370 2000-09-10  Philip Blundell  <philb@gnu.org>
371
372         * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
373         * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
374
375 Sun Sep 10 14:30:28 EDT 2000  John Wehle  (john@feith.com)
376
377         * alias.c (find_base_term): Handle ADDRESSOF.
378         (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
379
380 2000-09-10  Denis Chertykov  <denisc@overta.ru>
381
382         * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
383         outputting templates with many lines.
384
385 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
386
387         * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
388         to decide whether 64-bit support must be generated.
389
390 2000-09-10  Richard Henderson  <rth@cygnus.com>
391
392         * c-parse.in (asm patterns): Fix volatile check.
393
394 2000-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
395
396         * cppmacro.c (check_trad_stringification): New function.
397         (save_expansion): If -Wtraditional, warn about stringification of
398         macro arguments.
399
400 2000-09-11  Michael Hayes  <mhayes@cygnus.com>
401
402         * loop.h (struct loop_mem_info): Move from loop.c
403         (struct loop_info): Add fields store_mems, mems, mems_idx,
404         mems_allocated, unknown_address_altered,
405         unknown_constant_address_altered, num_mem_sets, and
406         first_loop_store_insn.
407
408         * loop.c (loop_store_mems): Replace with field in loop_info struct.
409         (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
410         (unknown_address_altered, unknown_constant_address_altered): Likewise.
411         (num_mem_sets): Likewise.
412         (replace_loop_mems, replace_loop_regs): New.
413         (struct loop_replace_args): New.
414         (load_mems): Use replace_loop_mems.
415         (try_copy_prop): Use replace_loop_regs.
416         (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
417
418 2000-09-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
419
420         * configure.in: Recognize m6811-elf and m6812-elf.
421         * configure: Regenerate.
422
423 2000-09-09  Geoff Keating  <geoffk@cygnus.com>
424
425         * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
426         to operand_subword.
427
428 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
429
430         * loop.c (struct movables): New.
431         (num_movables): Move into struct movables.
432         (the_movables): Change type to struct movables.
433         (ignore_some_movables): Change struct movable arg to struct movables.
434         (force_movables, combine_movables, regs_match_p): Likewise.
435         (rtx_equal_for_loop_p, move_movables): Likewise.
436         (scan_loop): Change movables to be of type struct movables.
437         Replace last_movable with field in movables structure.
438
439 2000-09-08  Zack Weinberg  <zack@wolery.cumb.org>
440
441         * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
442         (init_pragma): Avoid warning if pfile happens to be unused.
443         * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
444         define init_pragma to nothing.  Always prototype
445         init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.
446
447         * c-lex.c (process_directive): Always call dispatch_pragma.
448         Initialize entering_c_header to 0.
449
450 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
451
452         * config/m68hc11/m68hc11.md: New file, machine description for
453         68HC11 & 68HC12.
454         * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
455         * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
456         * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
457         * config/m68hc11/m68hc11-protos.h: New file.
458         * config/m68hc11/m68hc11-crt0.S: New file, startup code.
459         * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
460         * config/m68hc11/xm-m68hc11.h: New file, target defs.
461         * config/m68hc11/larith.asm: New file, libgcc routines.
462
463 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
464
465         * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
466         (FPBIT_FUNCS): Add _usi_to_sf.
467         * config/fp-bit.c (usi_to_float): New function.
468         * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
469         (usi_to_float): Add appropriate #define.
470
471 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
472
473         * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
474         new functions.
475         * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
476         * i386.md (attr "type"): Add sse and mmx types.
477         (attr "memory"): Handle them without a crash.
478         (movsi_1, movdi_2): Allow MMX regs.
479         (movdi splits): Don't split moves involving MMX regs.
480         (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
481         (movv4sf_internal, movv4si_internal, movv8qi_internal,
482         movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
483         movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
484         sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
485         sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
486         sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
487         addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
488         divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
489         sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
490         sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
491         vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
492         smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
493         cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
494         addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
495         subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
496         mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
497         mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
498         mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
499         eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
500         smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
501         lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
502         mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
503         mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
504         mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
505         mmx_clrdi): New patterns.
506
507 2000-09-08  Richard Earnshaw  <rearnsha@arm.com>
508
509         * arm.c: Don't include tm.h directly.
510
511 Fri Sep  8 14:34:56 MET DST 2000  Jan Hubicka  <jh@suse.cz>
512
513         * recog.c (validate_replace_rtx_1): Fix confusion about equality
514         testing; simplify subregs of constants and nested subregs.
515
516 2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
517
518         * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
519
520 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
521
522         * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
523         VEC_CONCAT.
524         * rtl.texi (description of USE): Add note about possible pitfalls
525         with this rtx.
526         From Richard Henderson:
527         * reload1.c (choose_reload_regs): Compute need_mode properly.
528
529 2000-09-07  Richard Henderson  <rth@cygnus.com>
530
531         * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
532         (__modsi3, __umodsi3): Likewise.
533         (__udivsi3): Likewise.  Normalize the TFmode values.
534
535 2000-09-07  Geoff Keating  <geoffk@cygnus.com>
536
537         * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
538         with a prototype.
539         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
540         warning.
541
542 Fri Sep  8 03:26:38 2000  J"orn Rennecke <amylaar@redhat.co.uk>
543
544         * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
545         (cmpeqdi_t): Add output pattern.
546         (cmpeqdi_t+1): Don't split when not optimizing.
547         Restore proper splitting operation.
548
549 2000-09-07  Richard Henderson  <rth@cygnus.com>
550
551         * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
552         do not call dispatch_pragma.
553
554 2000-09-07  Jim Wilson  <wilson@cygnus.com>
555
556         * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
557         to CLASS_CANNOT_CHANGE_MODE.
558         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
559         mode classes are different.
560
561 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
562
563         * cpplib.h (struct cpp_options): Add user_label_prefix member,
564         left out of commit which removed cppulp.c.
565
566 2000-09-07  Richard Henderson  <rth@cygnus.com>
567
568         * bb-reorder.c (fixup_reorder_chain): Add jump in new block
569         after switch for CASE_DROPS_THROUGH.
570
571 2000-09-07  Richard Henderson  <rth@cygnus.com>
572
573         * loop.c (strength_reduce): Call check_ext_dependant_givs.
574         Properly extend the biv initial value for the giv.
575         (record_biv): Zero ext_dependant.
576         (record_giv): New argument ext_val.  Update all callers.
577         (general_induction_var): Likewise.
578         (consec_sets_giv): Likewise.
579         (simplify_giv_expr): Likewise.  Fill in ext_val if we find
580         a sign-extend, zero-extend, or truncate.
581         (combine_givs_p): Make sure modes are compatible.
582         (check_ext_dependant_givs): New.
583         (extend_value_for_giv): New.
584         * loop.h (struct induction): Add ext_dependant.
585         * unroll.c (iteration_info): Extend the biv initial value for the giv.
586         (find_splittable_givs): Likewise.
587         (final_giv_value): Likewise.
588
589 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
590
591         * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
592         REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
593         definitions from cpplib.h.
594         * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
595         already done it.
596         * tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
597         documentation for REGISTER_TARGET_PRAGMAS.
598
599         * c-lex.c: Include cpplib.h before c-pragma.h.  Define a
600         default-pragma callback to implement -Wunknown-pragmas if
601         USE_CPPLIB.
602         * c-parse.in: Move all includes to top of file.
603         * c-pragma.c: Include cpplib.h before c-pragma.h.  Include
604         tm_p.h.
605         (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
606         warning.
607         (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
608
609         * arm.h, arm-protos.h, arm.c,
610           c4x.h, c4x-protos.h, c4x.c,
611           h8300.h, h8300-protos.h, h8300.c,
612           i370.h, i370-protos.h, i370.c,
613           i960.h, i960-protos.h, i960.c,
614           sh.h, sh-protos.h, sh.c,
615           v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
616         pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
617
618         * d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
619         multiple include guard.
620         * i370.md (untyped_call): Use GEN_CALL.
621         (umodsi3): Remove unused variable.
622         * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
623         * v850.c (output_move_single, output_move_double): Constify
624         return value.
625         (print_operand): Constify a char *.
626         * v850.h (struct small_memory_info): Constify name member.
627
628 2000-09-07  Kazu Hirata  <kazu@hxi.com>
629
630         * config/h8300.h: Fix comment typos.
631         * config/h8300/h8300.md: Likewise.
632         * config/h8300/lib1funcs.asm: Likewise.
633
634 Thu 07-Sep-2000 21:29:00 BST  Neil Booth  <NeilB@earthling.net>
635
636         * Makefile.in: Remove references to cppulp.{c,o}.
637         * cppinit.c (initialize_builtins, cpp_start_read,
638         cpp_handle_option): Update to use cpp_options structure.
639         * cppulp.c: Remove.
640
641 2000-09-07  Joseph S. Myers  <jsm28@cam.ac.uk>
642
643         * c-common.c (time_char_table): Allow %#b and %#h.
644
645 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
646
647         * reorg.c (find_end_label): If the basic block reorder pass moves the
648         return insn to some other place try to locate it again and put our
649         end_of_function_label there.
650         * reorg.c (relax_delay_slots): Check if find_end_label created a
651         new label that invalidates the current optimazation.
652
653 2000-09-07  Catherine Moore  <clm@redhat.com>
654
655         * unroll.c (unroll_loop): Check for unconditional jumps
656         to loop continuation.  Delete if n_iterations is 1.
657         (ujump_to_loop_cont): New routine.
658
659 2000-09-07  Bernd Schmidt  <bernds@redhat.co.uk>
660
661         * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
662         MODE_VECTOR_FLOAT.
663         * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
664         to handle multiword modes correctly.  All callers and the declaration
665         changed.
666
667 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
668
669         * c-common.h (prep_stmt): Declare.
670         (lang_expand_stmt): Likewise.
671         * c-decl.c (lang_expand_stmt): Remove.
672         * c-semantics.c (lang_expand_stmt): Define.
673         (prep_stmt): New function.
674         (expand_stmt): Handle common statement types here.
675
676 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
677
678         * configure.in (sh-*-linux*): Added.
679         * configure: Rebuilt.
680         * config/sh/t-linux: New file.
681         * config/sh/sh.h (USERMODE_BIT): Define.
682         (TARGET_USERMODE): Likewise.
683         (TARGET_SWITCHES): New switches for the bits above.
684         (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
685         * config/sh/linux.h: New file.
686         * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
687         underscore on linux.
688         (L_sdivsi3, L_udivsi3): Define for linux.
689         (L_ic_invalidate): Define.
690         * invoke.texi (SH Options): Document -musermode.
691
692 2000-09-07  Alexandre Oliva  <aoliva@redhat.com>
693
694         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
695         CSE unless generating PIC.
696
697         * config/sh/sh.md (symPLT_label2reg): Force the initialization of
698         the PIC register.
699
700 2000-09-06  H.J. Lu  (hjl@gnu.org)
701
702         * Makefile.in (clean_s1): Depend on stage_b.
703         (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
704         stage2. They are used for "make compare".
705
706 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
707
708         Move statement-tree facilities from C++ to C front-end.
709         * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
710         (void_zero_node): New macro.
711         (struct stmt_tree_s): New type.
712         (stmt_tree): New typedef.
713         (struct language_function): New type.
714         (last_tree): New macro.
715         (last_expr_type): Likewise.
716         (walk_tree_fn): New typedef.
717         (current_stmt_tree): New function.
718         (begin_stmt_tree): Likewise.
719         (add_stmt): Likewise.
720         (finish_stmt_tree): Likewise.
721         (statement_code_p): Likewise.
722         (lang_statement_code_p): New variable.
723         (walk_stmt_tree): New function.
724         (STMT_IS_FULL_EXPR_P): New macro.
725         * c-common.c (lang_statement_code_p): New variable.
726         (c_common_nodes_and_builtins): Initialize void_zero_node.
727         (statement_code_p): New function.
728         (walk_stmt_tree): Likewise.
729         * c-decl.c (language_function): Rename to ...
730         (c_language_function): ... this.  Include language_function.
731         (push_c_function_context): Adjust accordingly.
732         (pop_c_function_context): Likewise.
733         (mark_c_function_context): Likewise.
734         (current_stmt_tree): Define.
735         * c-semantics.c (begin_stmt_tree): New function.
736         (add_stmt): Likewise.
737         (prune_unused_decls): Likewise.
738         (finish_stmt_tree): Likewise.
739
740 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
741
742         * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
743
744 2000-09-06  Kazu Hirata  <kazu@hxi.com>
745
746         * calls.c: Fix formatting.
747
748 2000-09-06  Graham Stott  <grahams@cygnus.co.uk>
749
750         * config/i386/i386.h (ADDRESS_COST): Fix typo.
751
752 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
753
754         Integrated preprocessor.
755
756         * Makefile.in: Remove all references to c-parse.gperf,
757         c-gperf.h, and c-parse.h.  Remove -d from yacc command line
758         generating c-parse.c.  Update dependencies.
759         * c-parse.gperf, c-gperf.h: Delete.
760
761         * c-common.c: Don't define parse_options, cpp_token, yy_cur,
762         yy_lim, or yy_get_token.  Don't define get_directive_line if
763         USE_CPPLIB.
764         * c-common.h: Add multiple include guard.  Define RID values
765         for every keyword in C, C++, and Objective C.  Put all the
766         modifiers first.
767         (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
768         * c-decl.c (c_decode_option): Handle -lang-objc here.
769         (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
770         (grokdeclarator): Adjust for new RID scheme.
771         (extract_interface_info): New stub.
772         * c-lang.c: Don't declare yy_cur or parse_options.
773         (lang_init_options): Call cpp_init.  Don't call
774         cpp_options_init.
775         (lang_init): Don't call check_newline if USE_CPPLIB.
776
777         * c-lex.c: Don't include c-parse.h.  Do include timevar.h.
778         Elide lots of unnecessary code if USE_CPPLIB.  Delete code
779         rendered unnecessary by new architecture.  Move routines not
780         shared with C++ to c-parse.in.  Maintain a local idea of the
781         line number.    Handle C++ as well as C.
782         [USE_CPPLIB]: Declare and register callbacks for #ident and
783         for entering/leaving files.
784         (init_c_lex, c_lex): Are now the entry points to this file.
785         (check_newline): Break out directive handling to
786         process_directive.
787         (read_ucs, is_extended_char, utf8_extend_token): Moved here
788         from C++ front end.
789         (readescape, parse_float): Overhaul.
790         (lex_number, lex_string, lex_charconst): Break out of c_lex
791         (n'ee yylex).
792         (get_fileinfo, update_header_times, dump_one_header,
793         dump_time_statistics): New and/or moved here from C++.
794         Support per-file data needed by C++ and per-header timing
795         statistics (C++ only, at the moment).
796         * c-lex.h: Update prototypes.  Add multiple include guard.
797         * c-tree.h (struct lang_identifier): Add rid_code field.
798         (C_IS_RESERVED_WORD, C_RID_CODE): New.
799
800         * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
801         reinit_parse_for_function and/or position_after_white_space.
802         (save_filename, save_lineno): Look ahead before saving.
803         (label -> identifier ':'): Save file and line before shifting ':'.
804         (reservedwords): No need to call get_identifier.
805         (init_parse, finish_parse, yyerror, yylex, yyprint,
806         make_pointer_declarator): Are now here for C/ObjC.
807         (rid_to_yy): Conversion table from RID constants to Yacc codes.
808
809         * c-pragma.c: Rewrite parsing logic to fit with cpplib's
810         #pragma registry.  Provide dummy implementation of that
811         interface if !USE_CPPLIB.
812         * c-pragma.h: Update to match.
813
814         * flags.h: Add multiple include guard.
815         (flag_detailed_statistics): Moved here from C++.
816         * toplev.c: Define flag_detailed_statistics.
817
818         * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
819         #if USE_CPPLIB.
820         * timevar.def (TV_CPP, TV_LEX): New.
821         * timevar.h: Add multiple include guard.
822
823         * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
824         #if USE_CPPLIB.
825         * objc/objc-act.c: Don't mention yy_cur or parse_options.
826         Initialize cpplib properly.  Force lineno to 0 after first
827         call to check_newline.  Don't handle -lang-objc here.
828         Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
829
830 2000-09-06  David Edelsohn  <edelsohn@gnu.org>
831
832         * rs6000.md: Correct function unit definitions for cr_logical and
833         mtjmpr.
834         (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
835         and use portable method for >=0 and floating point >=.  Remove
836         associated matchers.
837
838 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
839
840         * extend.texi: Mark named return value extension as deprecated.
841
842 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
843
844         * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
845         the result.
846
847 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
848
849         * toplev.c (display_help): Fix thinko in documentation.
850
851         * diagnostic.h (output_buffer::indent_skip): New fields.
852         (output_indentation): New macro.
853
854         * diagnostic.c (output_indent): New function.
855         (output_set_prefix, clear_diagnostic_info): Use.
856         (output_emit_prefix): Predict future indentation.
857
858 2000-09-06  DJ Delorie  <dj@redhat.com>
859
860         * Makefile.in (stage_*): add more dependencies to ensure parallel
861         builds build correctly
862
863 2000-09-06  Manfred Hollstein  <manfredh@redhat.com>
864
865         * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
866         not bootstrap-lean_f.
867
868 2000-09-06  Andreas Schwab  <schwab@suse.de>
869
870         * mklibgcc.in: Emit rule for libgcc-stage-start.
871         * Makefile.in (stage1-start, stage2-start, stage3-start,
872         stage4-start): Don't handle libgcc here, use libgcc.mk instead.
873
874 2000-09-06  Bernd Schmidt  <bernds@redhat.co.uk>
875
876         * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
877         (update_equiv_regs): Likewise, except for the mn10200 kludge.
878         (combine_regs): Likewise.
879
880         * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
881         * cse.c: Include "basic-block.h".
882         (struct table_elt): New field REGCOST.
883         (CHEAP_REG): Delete macro.
884         (COST): Return 0 for REGs.
885         (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
886         (notreg_cost): Return 0 for appropriate SUBREGs.
887         (COSTS_N_INSNS): Return N * 2.
888         (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
889         SUBREGs.
890         (CHEAPER): Use new function preferrable.
891         (insert): Initialize REGCOST member.
892         (find_best_addr): Use approx_reg_cost for estimation of register
893         usage.
894         (cse_insn): Likewise.
895         * loop.c (iv_add_mult_cost): New function.
896         (add_cost, shift_cost, mult_cost): Delete variables.
897         (init_loop): Don't initialize add_cost; reduce copy_cost by half.
898         (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
899         Make code that detects autoinc opportunities slightly less optimistic.
900         (simplify_giv_expr): If expression contains other reg that is also a
901         giv, only increment benefit if this is the only use of that reg.
902         (consec_sets_giv): Take that change into account.
903         (combine_givs): Slightly more verbose output.
904
905         * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
906         not the cost of an equivalent shift.
907         * sh-protos.h (addsubcosts): Declare.
908         * sh.c (addsubcosts): New function.
909         * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
910         (RTX_COSTS): Tweak.  Use addsubcosts.
911         (ADDRESS_COST): Return higher cost for reg+reg addressing.
912
913 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
914
915         * config/rs6000/rs6000.c (validate_condition_mode): New function.
916         (branch_comparison_operator): Call validate_condition_mode to
917         abort rather than returning 0.
918         (branch_positive_comparison_operator): New function.
919         (scc_comparison_operator): Call validate_condition_mode to abort
920         rather than returning 0.
921         (ccr_bit): Call validate_condition_mode.  Update for
922         new branch scheme.
923         (print_operand): Delete %C modifier.  Update %E case
924         to use EQ bit not SO bit.
925         (rs6000_reverse_condition): New function.
926         (rs6000_generate_compare): New function.
927         (rs6000_emit_sCOND): New function.
928         (rs6000_emit_cbranch): New function.
929         (output_cbranch): The length of a long branch insn is
930         now only 8 bytes.  Add validate_condition_mode.  Use
931         rs6000_reverse_condition.  Remove cror generation.
932
933         * config/rs6000/rs6000.h: Update comments.
934         (PREDICATE_CODES): Add new predicate.  Update codes used
935         by branch_comparison_operator and scc_comparison_operator.
936         * config/rs6000/rs6000-protos.h: Add prototypes for
937         new external functions.
938         * config/rs6000/rs6000.md: Add new scheduling parameters
939         for cr_logical instructions.  Change length of branch
940         instructions.
941         (bCOND patterns): Call rs6000_emit_cbranch.
942         (sCOND patterns): Call rs6000_emit_sCOND.
943         (branch patterns): Change lengths to 4.
944         (cr logical patterns): New.
945
946 2000-09-06  Richard Henderson  <rth@cygnus.com>
947
948         * config/i386/i386.md (call_pop): Fix test for setting
949         current_function_uses_pic_offset_table.
950         (call, call_value_pop, call_value): Likewise.
951
952 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
953
954         * timevar.c (timevar_add): Delete.
955         (timevar_get): Also count time since the selected timer was
956         last updated.  Do not examine the timevar stack if the
957         selected timer is standalone.
958
959 2000-09-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
960
961         * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
962
963 2000-09-05  Jason Merrill  <jason@redhat.com>
964
965         * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
966         for 'extern' arrays.
967
968 2000-09-05  Richard Henderson  <rth@cygnus.com>
969
970         * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
971         Eliminate final copy from non-trapping case.
972         (__divdf3, __divsf3): Likewise.
973
974 2000-09-05  Richard Henderson  <rth@cygnus.com>
975
976         * config/ia64/ia64.md (mulhi3): Fix typo last change.
977         * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
978
979 2000-09-03  Donn Terry  <donn@interix.com>,  Laurynas Biveinis  <lauras@softhome.net>
980
981         * Makefile.in: Restructure bootstrap stages to allow clean
982         restart after failure.
983
984 2000-09-05  Richard Henderson  <rth@cygnus.com>
985
986         * config/ia64.md (movsi and movdi patterns): Allow moves from
987         8-bit constants to AR registers.
988
989 2000-09-05  Richard Henderson  <rth@cygnus.com>
990
991         * config/ia64/ia64.md (mulhi3): New.
992
993 2000-09-05  Richard Henderson  <rth@cygnus.com>
994
995         * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
996         * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
997         Optimization Guide, minimum latency alternative.
998         (__moddi3, __udivdi3, __umoddi3): Likewise.
999         (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
1000
1001 2000-09-05  Bruce Korb  <bkorb@gnu.org>
1002
1003         * fixinc/fixincl.c (load_file): always read header files
1004         with sizes that are a multiple of the page size.
1005         & use libiberty's getpagesize for determining that.
1006
1007 2000-09-05  Alexandre Oliva  <aoliva@redhat.com>
1008
1009         * gcse.c (hash_string_1): Add prototype.
1010         * cse.c (canon_hash_string): Likewise.
1011
1012 2000-09-04  Craig Newell  <CraigN@ieee.org>
1013
1014         * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
1015
1016 2000-09-04  Andreas Schwab  <schwab@suse.de>
1017
1018         * Makefile.in (STAGESTUFF): Remove libgcc.
1019         (stage1-start, stage2-start, stage3-start): Copy the contents of
1020         the libgcc directory explicitly.
1021         (mostlyclean): Clean libgcc.
1022
1023 2000-09-04  Andrew Haley  <aph@redhat.com>
1024
1025         * dwarf2out.c: (stack_adjust_offset): New prototype.
1026
1027 Wed Jan  1 00:23:59 MET 1997  Jan Hubicka  <jh@suse.cz>
1028
1029         * combine.c (make_extraction): Fix rtx_cost comparison to
1030         match the comment.
1031
1032 Wed Jan  1 00:17:32 MET 1997  Jan Hubicka  <jh@suse.cz>
1033
1034         * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
1035         umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
1036         Add '*' to insn pattern name.
1037
1038 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
1039
1040         * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
1041         use posn - 1 to index into tokens array.
1042         (maybe_paste_with_next): Adjust caller.
1043
1044 2000-09-03  Geoff Keating  <geoffk@cygnus.com>
1045
1046         * invoke.texi: Document the -mvxworks option for rs6000 ELF.
1047
1048         * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
1049         (REGNO_REG_CLASS): Use symbolic register
1050         names.
1051
1052 2000-09-03  Richard Earnshaw  <rearnsha@arm.com>
1053
1054         * arm.c (final_prescan_insn): If the form of a jump insn isn't
1055         recognized, don't try to conditionally execute it.
1056
1057 Sun Sep  3 13:10:56 2000  Denis Chertykov  <denisc@overta.ru>
1058
1059         * config/avr/avr.md ("*tablejump_lib"): New pattern.
1060         (call_value_insn): Right length claculation.
1061         (call_insn): Likewise.
1062
1063 2000-09-02  Marek Michalkiewicz  <marekm@linux.org.pl>
1064
1065         * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
1066         gas_output_limited_string, gas_output_ascii, output_movqi,
1067         output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
1068         out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
1069         out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
1070         ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
1071         lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
1072         out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
1073         Add "const" as needed to remove warnings.
1074
1075         * config/avr/avr.c (avr_override_options, avr_init_once,
1076         function_prologue, function_epilogue, frame_pointer_required_p,
1077         class_likely_spilled_p, order_regs_for_local_alloc,
1078         avr_address_cost, avr_ret_register): Use K&R style arguments.
1079         (initial_elimination_offset, gas_output_limited_string):
1080         Remove ATTRIBUTE_UNUSED from the used arguments.
1081         (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
1082         Use local variables src, dest, base to access operands[].
1083         Rename reg_dest to reg_src if that's what it is.
1084         (output_movhi, output_movsisf): Optimize loading 8-bit immediate
1085         constants to LD_REGS if reg_was_0.
1086         (output_reload_insisf): Change arg 3 to insn length and set it.
1087         (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
1088         access to 16-bit I/O register pairs.
1089         (avr_address_cost): Lower cost for the above case.
1090         (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
1091         may be clobbered, also for LD_REGS.
1092         (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
1093         with a CONST_INT.
1094
1095         * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
1096
1097         * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
1098         macro to test_hard_reg_class function.
1099         (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
1100         for loading immediate constants to LD_REGS.
1101         (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
1102
1103
1104 Sat Sep  2 13:58:23 2000  Marek Michalkiewicz <marekm@linux.org.pl>
1105
1106         * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
1107         * config/avr/libgcc.S: Lost part of the previous patch.
1108
1109 2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1110
1111         * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
1112         object before calling pthread_mutex_init.
1113
1114 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
1115
1116         * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
1117         config/sh/crtn.asm: New files.
1118         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
1119         (crt1.o, crti.o, crtn.o): New targets.
1120         * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
1121         sh/t-elf.
1122         * configure: Rebuilt.
1123         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
1124         STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
1125         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
1126         Undefine for config/elfos.h to redefine.
1127         (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
1128
1129 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>, Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1130
1131         * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
1132         legitimize_pic_address, output_pic_addr_const): Declare.
1133         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
1134         (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
1135         (TARGET_SWITCHES): New switch -mprefergot.
1136         (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
1137         (PIC_OFFSET_TABLE_REGNUM): Define.
1138         (GOT_SYMBOL_TABLE): Likewise.
1139         (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
1140         (ENCODE_SECTION_INFO): Define.
1141         (FINALIZE_PIC): New macros.
1142         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
1143         (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
1144         * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
1145         (prepare_move_operands): Call emit_pic_move or
1146         emit_pic_const_move if appropriate.
1147         (output_far_jump): For PIC, use braf and output long offset.
1148         (machine_dependent_reorg):
1149         (sh_expand_prologue): Save and initialize the PIC register.
1150         (sh_expand_epilogue): Restore it.
1151         (initial_elimination_offset): Account for it.
1152         (nonpic_symbol_mentioned_p): New function.
1153         (legitimize_pic_address): Likewise.
1154         (output_pic_addr_const): Likewise.
1155         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
1156         (call, call_value): Use them.
1157         (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
1158         symPLT_label2reg): New expands.
1159         * invoke.texi (SH Options): Document -mprefergot.
1160
1161 2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
1162
1163         * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
1164         * gcse.c (hash_string_1): New function.
1165         (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
1166         (expr_equiv_p) <ASM_OPERANDS>: Likewise.
1167         * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
1168         (canon_hash_string): New function.
1169         (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
1170         (exp_equiv_p) <ASM_OPERANDS>: Likewise.
1171         (fold_rtx): Use ASM_OPERANDS accessor macros.
1172         * emit-rtl.c (copy_insn_1): Likewise.
1173         * integrate.c (copy_rtx_and_substitute): Likewise.
1174         * stmt.c (expand_asm_operands): Likewise.  Give an
1175         ASM_OPERANDS rtx the mode of the output reg being set from it.
1176
1177 2000-09-01  Fred Fish  <fnf@be.com>
1178
1179         * fix-header.c (write_rbrac): Add putc and getc to list of
1180         functions to protect against prior definition as a macro.
1181
1182 2000-09-01  Joseph S. Myers  <jsm28@cam.ac.uk>
1183
1184         * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
1185         (c_size_type_node): Define.
1186         * c-decl.c (init_decl_processing): Initialize c_size_type_node.
1187         * c-common.c (enum format_lengths, enum format_std_version,
1188         format_length_info, format_type_detail, BADLEN, NOLENGTHS,
1189         format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
1190         T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
1191         T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
1192         T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
1193         TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
1194         format_types): Define.
1195         (format_char_info, print_char_table, scan_char_table,
1196         time_char_table): Rearrange for new organization of information
1197         about format length modifiers and standard versions.
1198         (T_ST): Redefine to use c_size_type_node.
1199         (check_format_info): Obtain information about length modifiers and
1200         standard versions from tables.  Adjust warning message wordings.
1201         Use the name from the user's program for `ll' and `hh' length
1202         modifiers in warning messages.  Use more informative names for
1203         wanted types where available (for wchar_t, wint_t, size_t, signed
1204         size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
1205
1206 2000-09-01  Jim Wilson  <wilson@cygnus.com>
1207
1208         * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
1209         * combine.c (distribute_notes): Handle REG_NORETURN.
1210         * rtl.c (reg_note_name): Add REG_NORETURN.
1211         * rtl.h (enum reg_note): Likewise.
1212
1213         * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
1214         ia64_file_start.
1215         * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
1216         (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
1217         (emit_predicate_relation_info): Handle conditional calls with
1218         REG_NORETURN.
1219         * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
1220         instead of ia64_file_start.
1221         * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
1222         * config/ia64/ia64.md (safe_across_calls_all,
1223         save_across_calls_normal): New patterns.
1224
1225         * loop.c (check_final_value): Check for biv use before checking for
1226         giv use.  Check for both biv and giv uses.  Always set last_giv_use
1227         if there is a giv use.
1228
1229 2000-09-01  Richard Henderson  <rth@cygnus.com>
1230
1231         * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
1232         (madddi3): Likewise.
1233         (maddsi3): New.
1234
1235 Fri Sep  1 10:59:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1236
1237         * expr.c (clear_storage): Don't use emit_move_insn unless
1238         either BLKmode or proper size.
1239         (store_constructor): Don't call clear_storage if REG of wrong size.
1240
1241         * flow.c (init_propagate_block_info): Don't mark frame dead at end
1242         of function if returns wiht stack pointer depressed.
1243
1244 2000-09-01  Andrew Haley  <aph@redhat.com>
1245
1246         * dwarf2out.c (stack_adjust_offset): New function.
1247         (dwarf2out_stack_adjust): Break out stack adjust logic into
1248         new stack_adjust_offset function.  Look inside parallels and
1249         sequences for stack adjustments.
1250
1251 2000-08-31  Jeff Law <law@cygnus.com>
1252
1253         * arm.md: Use no_new_pseudos to determine when it is safe
1254         to create new pseudo registers.
1255
1256         * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
1257         when we can safely allocate new registers.
1258
1259 2000-08-31  Geoffrey Keating  <geoffk@cygnus.com>
1260
1261         * stmt.c (expand_asm_operands): Twiddle generating_concat_p
1262         so that CONCATs are not generated for ASMs.
1263         * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
1264         not generating_concat_p.
1265         * function.c (pop_function_context_from): Reset
1266         generating_concat_p.
1267         (prepare_function_start): Likewise.
1268         * rtl.c (generating_concat_p): Define.
1269         * rtl.h (generating_concat_p): Declare.
1270         * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
1271
1272 2000-08-22  Philipp Thomas  <pthomas@suse.de>
1273             Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
1274
1275         * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
1276         for translation.
1277
1278 2000-08-30  Greg McGary  <greg@mcgary.org>
1279
1280         * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
1281         * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
1282         * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
1283
1284 2000-08-30  Greg McGary  <greg@mcgary.org>
1285
1286         * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
1287         (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
1288         (TREE_INT_CST): New macro.
1289         * varasm.c (const_hash, compare_constant_1, record_constant_1):
1290         Use new macro TREE_INT_CST.
1291
1292 Wed 30-Aug-2000 23:18:59 BST  Neil Booth  <NeilB@earthling.net>
1293
1294         * contrib.texi: Add self.
1295
1296 2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
1297
1298         * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
1299         (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
1300         and labels.
1301
1302 2000-08-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1303
1304         * fixinc/gnu-regex.c: Don't define `const'.
1305
1306 Tue Aug 29 22:09:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1307
1308         * expr.c (store_constructor): Allow variable bounds of array type.
1309         (expand_expr): Don't blow up if type is ERROR_MARK.
1310         * varasm.c (output_constructor): Don't access lower bound of array
1311         type unless need it if index is supplied (so it can be a variable
1312         if no index is supplied).
1313         Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
1314         Other minor cleanups.
1315
1316 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1317
1318         * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
1319         for compilations in stage 1 and subsequent stages, respectively.
1320         * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
1321         * configure: Rebuilt.
1322         * x-vax, x-vax-gcc: Deleted.
1323
1324 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
1325
1326         * c-common.c (declare_function_name): Use func_id_node,
1327         function_id_node, and pretty_function_id_node.  Do not make
1328         __func__ visible at file scope.
1329         * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
1330         CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
1331         (function_id_node, pretty_function_id_node, func_id_node): New
1332         macros.
1333         * c-decl.c (init_decl_processing): Initialize function_id_node,
1334         pretty_function_id_node, and func_id_node.
1335         (c_make_fname_decl): Correct comment.
1336
1337         * tree.h (struct tree_identifier): Constify pointer member.
1338
1339         * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
1340         * c-pragma.h (struct weak_syms): Constify name and value members.
1341         (add_weak): Constify arguments.
1342
1343         * calls.c (special_function_p): Constify a char *.
1344         (expand_call): Remove variable which is initialized and then
1345         never used.
1346         * dependence.c (struct def_use, struct induction, struct subscript):
1347         Constify 'variable' member.
1348         (get_low_bound, have_induction_variable): Constify char * argument.
1349         (find_induction_variable): Add braces to avoid dangling else.
1350         (classify_dependence): Constify char * arrays.
1351         * profile.c (output_func_start_profiler): Constify a char *.
1352         * stor-layout.c (finalize_record_size): Constify a char *.
1353         * tree.c (is_attribute_p): Constify a char *.
1354         * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
1355
1356         * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
1357         for comprehensibility.  Do not call get_identifier if we did
1358         not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
1359         create temporary string constants, not ggc_alloc_string.  No
1360         need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
1361         char * to hold IDENTIFIER_POINTERs.
1362
1363 2000-08-29  Richard Henderson  <rth@cygnus.com>
1364
1365         * config/ia64/ia64.md (muldi3): Use grfr_register_operand
1366         for the inputs.
1367
1368 2000-08-29  Richard Henderson  <rth@cygnus.com>
1369
1370         * reload.c (push_secondary_reload): Allow class == reload_class
1371         if we're using a reload_in/out pattern.
1372
1373         * config/ia64/ia64.md (reload_inti): Use a TImode scratch.  Use
1374         the half that does not conflict with the reload register.
1375         (reload_outti): Likewise.
1376
1377 2000-08-29  Kazu Hirata  <kazu@hxi.com>
1378
1379         * reload.c: Fix formatting.
1380
1381         * stmt.c: Fix formatting.
1382
1383         * gcc.c: Fix formatting.
1384
1385 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
1386
1387         * flags.h (time_report, mem_report): New global flags.
1388         * toplev.c: Define time_report and mem_report.
1389         (f_options): Add -ftime-report and -fmem-report.
1390         (compile_file): Turn on time_report if quiet_flag is off.
1391         Call ggc_print_statistics at very end if mem_report is on.
1392         * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
1393
1394         * ggc-common.c (ggc_print_statistics): Rename to
1395         ggc_print_common_statistics; all callers changed.  Scale
1396         quantities above 10K to kilobytes and above 10M to megabytes.
1397         * ggc-page.c (ggc_page_print_statistics): Rename to
1398         ggc_print_statistics.  Report memory consumed by internal data
1399         structures for each allocation bucket.  Scale quantities above
1400         10K to kilobytes and above 10M to megabytes.
1401         * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
1402         Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
1403         Define tally_leaves always.
1404         (ggc_print_statistics): New function.
1405         * ggc.h: Adjust for renamed functions.
1406
1407 Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
1408
1409         * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
1410         output_movsisf instead of which_alternative.
1411
1412         * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
1413
1414 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
1415
1416         * config/avr/avr-protos.h: (avr_output_ascii) Removed.
1417         (avr_progmem_p): New prototype.
1418         (output_movsisf): Prototype declaration changed.
1419         (output_movqi): New prototype.
1420         (output_movhi): New prototype.
1421         (call_insn_operand): Likewise.
1422         (final_prescan_insn): Likewise.
1423         (avr_simplify_comparision_p): Likewise.
1424         (avr_normalize_condition): Likewise.
1425         (compare_eq_p): Likewise.
1426         (out_shift_with_cnt): Likewise.
1427         (const_int_pow2_p): Likewise.
1428         (output_reload_inhi): Prototype declaration changed.
1429
1430         * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
1431         (ldi_reg_rtx): New. rtx for r31.
1432         (avr_init_stack): Initialize as "__stack".
1433         (function_prologue): Use it.
1434         Replace all TARGET_ENHANCED with AVR_ENHANCED.
1435         (avr_mcu_name): Initialize as "avr2".
1436         (avr_enhanced_p, avr_mega_p): New variables.
1437         (mcu_types, avr_override_options): Handle all known MCU types.
1438         Also handle avr1 (only preprocess, assemble and link).
1439         (print_operand): Using of `%K' in output template removed.
1440         (out_movqi_r_mr): Optimized.
1441         (out_movhi_r_mr): Likewise.
1442         (output_movqi): New function.
1443         (output_movhi): Likewise.
1444         (out_movsi_r_mr): Optimized.
1445         (output_movsisf): Compute insn length for `adjust_insn_length'
1446         (out_movqi_mr_r): Optimized.
1447         (out_movhi_mr_r): Optimized.
1448         (adjust_insn_length): Use output_movsisf, output_movqi,
1449         output_movhi for insn length adjusting.
1450         (reg_unused_after): Use dead_or_set_p.
1451         (preferred_reload_class): Now havn't any restriction.
1452         (reg_was_0): New function.
1453         (io_address_p): Likewise.
1454         (const_int_pow2_p): Likewise.
1455         (output_reload_inhi): Likewise.
1456         (output_reload_insisf): Likewise.
1457
1458         * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
1459         (LIB_SPEC): Use -lc for all supported devices.
1460         (LIBGCC_SPEC): Use -lgcc for all supported devices.
1461         (AVR_MEGA): Define as avr_mega_p.
1462         (AVR_ENHANCED): New, define as avr_enhanced_p.
1463         (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
1464         (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
1465         (CRT_BINUTILS_SPECS): Handle all known MCU types.
1466         Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
1467         (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
1468         (ASM_SPEC): Pass -mmcu=... to the assembler.
1469         Change all -DAVR_* to -D__AVR_*__.
1470         (INIT_TARGET_OPTABS), config/avr/libgcc.S:
1471         Rename library functions to start with two underscores.
1472         (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
1473         alignment.
1474         (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
1475         (SUPPORTS_WEAK): Likewise.
1476         (LDI_REG_REGNO): New. Register r31 will be used as temporary
1477         register for loading constants to r0-r14.
1478
1479         * config/avr/avr.md: Replace all TARGET_ENHANCED with
1480         AVR_ENHANCED.
1481         (*mov_r_sp): Removed. Handled by output_movhi.
1482         (*mov_sp_r): Likewise.
1483         (*mov_sp_r_no_interrupts): Likewise
1484         (*mov_sp_r_tiny): Likewise.
1485         (*movqi): Use output_movqi.
1486         (*reload_inqi): New.
1487         (*movhi): Use output_movhi.
1488         (*reload_inhi): New.
1489         (*negsi2): Optimized.
1490         (*negsf2): Likewise.
1491         Added peepholes (define_peephole2) for loading constants to r0-r14
1492         and for using `cpse' command.
1493
1494         * config/avr/libgcc.S: Rename library functions to start with two
1495         underscores.
1496         Add support for enhanced core.
1497         (_moqhi3): Fix typo, now _modqi3.
1498         (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
1499         (__prologue_saves__): Remove test for stack adjust by 0.
1500         (__tablejump__): New.
1501
1502         * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
1503         Add multilib support.
1504
1505 Tue Aug 29 15:17:54 EDT 2000  John Wehle  (john@feith.com)
1506
1507         * loop.c (prescan_loop): Don't check unknown_address_altered
1508         when deciding if insert_loop_mem is safe.  Add BLKmode MEMs
1509         to loop_store_mems as necessary.
1510         (loop_invariant_p): Don't check unknown_address_altered
1511         or unknown_constant_address_altered.
1512
1513 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1514
1515         * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
1516
1517 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
1518
1519         * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
1520         print just the filename.
1521         * cpplex.c (_cpp_run_directive): Add additional argument, the
1522         name to give the synthetic buffer.  This defaults to
1523         translated "<command line>".
1524         * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
1525         Adjust to match.
1526         (_cpp_define_builtin): New function.
1527         * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
1528         * cpphash.h: Update prototypes.
1529
1530         * tradcpp.c (main): Process -D and -U simultaneously, in the
1531         order they appeared on the command line.
1532
1533 2000-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1534
1535         * c-decl.c (define_label): Call warning_with_file_and_line and
1536         error_with_file_and_line instead of plain warning or error.
1537
1538         * c-parse.in (label): Use save_filename/save_lineno to ensure
1539         correct values for calls to define_label.
1540
1541 2000-08-29  Mark Mitchell  <mark@codesourcery.com>
1542
1543         * calls.c (expand_call): Don't create a VAR_DECL just to throw it
1544         away.
1545         * expr.c (expand_expr, case TARGET_EXPR): Don't call
1546         mark_addressable.
1547         * tree.h (get_file_function_name): Remove two duplicate
1548         declarations.
1549
1550 2000-08-28  Kazu Hirata  <kazu@hxi.com>
1551
1552         * tree.c: Fix formatting.
1553
1554         * xcoffout.c: Fix formatting.
1555
1556 2000-08-28  Jason Merrill  <jason@redhat.com>
1557
1558         * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
1559
1560 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
1561
1562         * dwarf2out.c (dwarf2out_finish): Don't bother calling
1563         break_out_includes if it won't do anything.
1564
1565 2000-08-28  Richard Henderson  <rth@cygnus.com>
1566
1567         * reload.c (push_secondary_reload): Revert 2000-08-16 change.
1568         (find_reloads): Likewise.
1569         * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
1570         (reload_inhi): Likewise.
1571
1572 2000-08-28  Richard Henderson  <rth@cygnus.com>
1573
1574         * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
1575         (call_insn_operand): Don't expect a surrounding mem.
1576         (constant_call_address_operand): Likewise.
1577         * config/i386/i386.h (PREDICATE_CODES): Update.
1578         * config/i386/i386.md (call patterns): Move the match_operand
1579         for the call destination inside the mem.
1580
1581 2000-08-28  Richard Henderson  <rth@cygnus.com>
1582
1583         * local-alloc.c (requires_inout): Don't use reserved range for
1584         EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
1585         * recog.c (asm_operand_ok): Likewise.
1586         (preprocess_constraints, constrain_operands): Likewise.
1587         * regclass.c (record_reg_classes): Likewise.
1588         * reload.c (find_reloads): Likewise.
1589         * reload1.c (maybe_fix_stack_asms): Likewise.
1590         (reload_cse_simplify_operands): Likewise.
1591         * stmt.c (expand_asm_operands): Likewise.
1592
1593         * md.texi: Update constraints documentation.
1594         * tm.texi (EXTRA_CONSTRAINT): Update.
1595
1596 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
1597
1598         * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
1599         (print_die): If we don't know the offset of the
1600         target die, try the symbol.  Add a trailing newline.
1601         (reverse_all_dies): New fn.
1602         (dwarf2out_finish): Call it.
1603         (break_out_includes): Reorganize for clarity.
1604         (add_sibling_attributes): Don't call reverse_die_lists.
1605         (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
1606         primary CU, too.
1607         * flags.h: Add flag_eliminate_dwarf2_dups.
1608         * toplev.c (f_options): Support -feliminate-dwarf2-dups.
1609
1610 2000-08-28  Jason Merrill  <jason@redhat.com>
1611
1612         * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
1613         * dwarf2out.c: #include "md5.h".
1614         (DIE_LABEL_PREFIX): New macro.
1615         (dw_val_struct): Add 'external' flag to val_die_ref.
1616         (add_AT_die_ref, AT_ref): Adjust.
1617         (AT_ref_external, set_AT_ref_external): New fns.
1618         (build_abbrev_table): Call set_AT_ref_external.
1619         (value_format): Call AT_ref_external.
1620         (die_struct): Add die_symbol field.
1621         (new_die): Clear it.
1622         (dwarf_tag_name): Handle BINCL/EINCL.
1623         (dwarf2out_start_source_file): Add BINCL DIE.
1624         (dwarf2out_end_source_file): Add EINCL DIE.
1625         (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
1626         (loc_checksum, attr_checksum, die_checksum): New fns.
1627         (is_type_die, is_comdat_die, is_symbol_die): New fns.
1628         (compute_section_prefix, assign_symbol_names): New fns.
1629         (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
1630         (output_die): Call output_die_symbol and AT_ref_external.
1631         (output_comdat_comp_unit): New fn, split out from...
1632         (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
1633         secondary CUs.
1634         (output_pubnames, output_aranges): Abort if we see entries from
1635         secondary CUs.
1636         * toplev.h: Declare file_name_nondirectory.
1637         * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
1638         (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
1639         (debug_start_source_file): Call dwarf2out_start_source_file
1640         regardless of debug verbosity.
1641         (debug_end_source_file): Similarly.
1642         * tree.h: Declare clean_symbol_name.
1643         * tree.c (clean_symbol_name): Split out from...
1644         (get_file_function_name_long): ...here.
1645
1646         * dwarf2out.c (new_loc_descr): Use calloc.
1647         (splice_child_die): Remove the die from the right parent.
1648         (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
1649
1650 Mon Aug 28 19:02:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1651
1652         * toplev.c (decode_g_option): Don't give warning for unknown -g
1653         option; return 0 instead.
1654         (main): If -g option is not recognized by front end or
1655         language-independent code, give warning.
1656
1657 2000-08-28  Greg McGary  <greg@mcgary.org>
1658
1659         * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
1660         * config/i386/i386.c (ix86_expand_compare): Remove `static'.
1661         * config/i386/i386.md (trap, conditional_trap): New insn & expand.
1662
1663 2000-08-27  Greg McGary  <greg@mcgary.org>
1664
1665         * cpplex.c (parse_string): Don't look for backslash
1666         before first char in `namebuf'.
1667         * loop.c (strength_reduce): Skip NOTEs.
1668
1669 2000-08-27  Jason Merrill  <jason@redhat.com>
1670
1671         * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
1672         DECL_EXTERNAL on a local extern.  Don't set DECL_IGNORED_P or
1673         TREE_ASM_WRITTEN, either.
1674         (finish_decl): Adjust.
1675
1676 2000-08-28  Philipp Thomas  <pthomas@suse.de>
1677
1678         * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
1679         they have been incorporated into the gettext CVS. Change the text to
1680         reflect the current status of NLS. Add instructions for accessing
1681         the gettext CVS and add the patch from Martin v. Loewis.
1682
1683 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
1684
1685         * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
1686         by using gen_lowpart_common.
1687         (movdi_internal64+6): Likewise.
1688
1689 2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
1690
1691         * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
1692         Document.
1693
1694         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
1695         numbers to the ranges used by GDB.
1696
1697 2000-08-25  Richard Henderson  <rth@cygnus.com>
1698
1699         * config/ia64/ia64.h (struct machine_function): Add n_varargs.
1700         * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
1701         (ia64_expand_prologue): Likewise.
1702         (ia64_setup_incoming_varargs): Set it.  Properly skip the current
1703         argument for stdargs.
1704
1705 2000-08-25  Jason Merrill  <jason@redhat.com>
1706
1707         * integrate.c (expand_inline_function): Pull out the original decl.
1708
1709 2000-08-25  Jim Wilson  <wilson@cygnus.com>
1710
1711         * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
1712
1713         * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
1714
1715 2000-08-25  Greg McGary  <greg@mcgary.org>
1716
1717         * flow.c (dump_edge_info): Use ARRAY_SIZE.
1718         * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
1719
1720 2000-08-25  Richard Earnshaw  <rearnsha@arm.com>
1721
1722         * arm.h (STRUCT_VALUE): Define to 0, not NULL.
1723
1724 Fri Aug 25 12:52:49 EDT 2000  John Wehle  (john@feith.com)
1725
1726         * i386.c (ix86_find_base_term): New.
1727         * i386-protos.h (ix86_find_base_term): Prototype.
1728         * i386.h (FIND_BASE_TERM): Define.
1729         * alias.c (find_base_term): Use it.
1730         * tm.texi (FIND_BASE_TERM): Document it.
1731
1732         * alias.c (true_dependence, write_dependence_p): Unchanging
1733         memory can't conflict with non-unchanging memory.
1734
1735         * alias.c (memrefs_conflict_p): A BLKmode reference
1736         to a symbol (or CONST_INT address) always conflicts
1737         with a reference to another symbol.
1738
1739 2000-08-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1740
1741         * c-common.c (time_char_table): Don't allow width and flags with
1742         "z" format.
1743
1744 2000-08-25  Jakub Jelinek  <jakub@redhat.com>
1745
1746         * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
1747         way as LT and LTU when the second operand has 0 in low word.
1748
1749 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
1750
1751         * basic-block.h (struct loop): Rename `exits' field to
1752         `exit_edges'.  Add `entry_edges' and `num_entries' fields.
1753
1754         * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
1755         (flow_loop_entry_edges_find): Add.
1756         (flow_edge_list_print): Rename from flow_exits_print.
1757         (flow_loops_find): Call flow_loop_entry_edges_find.
1758         (flow_loop_dump): Dump entry_edges list.
1759         (flow_loops_free): Free entry_edges.
1760
1761 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
1762
1763         * loop.c (loop_dump_aux, debug_loop): New functions.
1764         (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
1765
1766         * flow.c (flow_loops_dump): Add callback parameter.
1767         (flow_loop_dump): Add callback parameter and call it.  Move
1768         loop note debugging code to loop_dump_aux.
1769
1770         * basic-block.h (flow_loop_dump): Add callback parameter
1771         (flow_loops_dump): Likewise.
1772
1773         * toplev.c (rest_of_compilation): Add NULL callback function pointer
1774         to call to flow_loops_dump.
1775
1776 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
1777
1778         * loop.c (count_loop_regs_set): Replace start and end arguments
1779         with loop argument.  All callers udated.
1780
1781 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
1782
1783         * loop.c (constant_high_bytes): Delete.
1784
1785 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
1786
1787         * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
1788         and NOTE_INSN_LOOP_VTOP to...
1789         (find_and_verify_loops) ...here.
1790
1791 Fri Aug 25 04:21:13 2000  Alexandre Oliva  <aoliva@redhat.com>
1792
1793         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
1794         (fini_dummy, init_dummy): Use it.
1795
1796 Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
1797
1798         * cpplex.c (is_macro_disabled): Caller has already checked
1799         that we're not a preprocessed file.
1800
1801 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
1802
1803         * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
1804         (c-iterate.o): Remove target.
1805         * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
1806         * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
1807         (finish_decl): Don't handle iterators.
1808         (grokdeclarator): Likewise.
1809         * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
1810         * gcc/c-gperf.h: Regenerated.
1811         * gcc/c-iterate.c: Removed.
1812         * gcc/c-lex.c (init_lex): Don't handle iterators.
1813         * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
1814         (compstmt_primary_start): Remove push_iterator_stack call.
1815         (stmt): Don't allow iterator statements.  Replace iterator_expand
1816         with expand_expr_stmt.
1817         (all_iter_stmt): Remove.
1818         (all_iter_stmt_simple): Likewise.
1819         (all_iter_stmt_with_decl): Likewise.
1820         * gcc/c-tree.h (ITERATOR_P): Remove.
1821         (ITERATOR_BOUND_P): Likewise.
1822         (init_iterators): Remove declaration.
1823         (iterator_expand): Likewise.
1824         (iterator_for_loop_start): Likewise.
1825         (iterator_for_loop_end): Likewise.
1826         (iterator_for_loop_record): Likewise.
1827         (push_iterator_stack): Likewise.
1828         (pop_iterator_stack): Likewise.
1829         * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
1830         (readonly_warning): Likewise.
1831         * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
1832
1833 2000-08-24  Jim Wilson  <wilson@cygnus.com>
1834
1835         * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
1836         Copy type in a TYPE_DECL, just like pushdecl does.
1837
1838 2000-08-24  Richard Henderson  <rth@cygnus.com>
1839
1840         * toplev.c (main): Enable flag_reorder_blocks at -O2.
1841
1842 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
1843
1844         * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
1845         asked for one page, allocate GGC_QUIRE_SIZE of them and put
1846         the extras on the free list.
1847         (release_pages): Clean up.
1848         (ggc_set_mark): Don't adjust G.allocated here...
1849         (sweep_pages): ... do it here.
1850
1851 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
1852
1853         * cppfiles.c (read_include_file): Rearrange initializations.
1854
1855 2000-08-24  Richard Henderson  <rth@cygnus.com>
1856
1857         * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
1858
1859         * config/ia64/ia64-protos.h: Update.
1860         * config/ia64/ia64.c (gr_register_operand): New.
1861         (fr_register_operand, grfr_register_operand): New.
1862         (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
1863         (grfr_reg_or_8bit_operand): New.
1864         (gr_reg_or_0_operand): Rename from reg_or_0_operand and
1865         use gr_register_operand.
1866         (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
1867         (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
1868         (gr_reg_or_8bit_and_adjusted_operand): Likewise.
1869         (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
1870         (fr_reg_or_fp01_operand): Likewise.
1871         (not_postinc_memory_operand): New.
1872         (ia64_split_timode): Remove unused variables.
1873         (rtx_needs_barrier): Check arguments to cmpxchg.
1874         (builtin_description): Remove.
1875         (bdesc_2argsi, bdesc_2argdi): Remove.
1876         (ia64_init_builtins): Declare all builtins directly.
1877         (ia64_expand_fetch_and_op): Rewrite to be called from
1878         ia64_expand_builtin directly.  Use expand_binop and co.
1879         (ia64_expand_op_and_fetch): Likewise.
1880         (ia64_expand_compare_and_swap): Likewise.
1881         (ia64_expand_binop_builtin): Remove.
1882         (ia64_expand_lock_test_and_set): New.
1883         (ia64_expand_lock_release): New.
1884         (ia64_expand_builtin): Use them.
1885         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
1886         (EXTRA_CONSTRAINT): Use it.
1887         (PREDICATE_CODES): Update.
1888         * config/ia64/ia64.md (*): Use gr_register_operand and co.
1889         (mf): Indicate that we set memory as well as use it.
1890         (fetchadd_acq_si): Show memory being modified as well.
1891         (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
1892         (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
1893         (lock_test_and_set_si, lock_test_and_set_di): Remove.
1894         (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
1895         (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
1896         (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
1897         (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
1898         (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
1899         (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
1900         (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
1901         (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
1902         * config/ia64/ia64intrin.h (*): Cast result to the appropriate
1903         return type.  Pretty print definitions.
1904
1905 2000-08-24  Jim Wilson  <wilson@cygnus.com>
1906
1907         * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
1908         we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
1909
1910 2000-08-24  Jason Merrill  <jason@redhat.com>
1911
1912         * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
1913         AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
1914         (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
1915         get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
1916
1917 2000-08-24  Greg McGary  <greg@mcgary.org>
1918
1919         * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
1920         and extendtab within their proper array boundaries.
1921         * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
1922         for the entire array.
1923
1924         * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
1925         * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
1926         * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
1927         * config/fr30/fr30.c (fr30_print_operand): Likewise.
1928         * config/i386/dgux.c (output_options): Likewise.
1929         * config/i386/dgux.h (ASM_FILE_START): Likewise.
1930         * config/m88k/m88k.c (output_options): Likewise.
1931         * config/m88k/m88k.h (ASM_FILE_START): Likewise.
1932         * config/mcore/mcore.c (mcore_output_inline_const_forced,
1933         layout_mcore_frame, handle_structs_in_regs): Likewise.
1934         * config/mips/mips.c (output_block_move): Likewise.
1935         * config/rs6000/rs6000.c (rs6000_override_options,
1936         rs6000_file_start): Likewise.
1937         * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
1938         * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
1939         * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
1940         * builtins.c (expand_builtin_setjmp): Likewise.
1941         * expr.c (safe_from_p): Likewise.
1942         * flow.c (life_analysis): Likewise.
1943         * fold-const.c (size_int_type_wide): Likewise.
1944         * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
1945         * genattrtab.c (make_length_attrs): Likewise.
1946         * genopinit.c (gen_insn): Likewise.
1947         * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
1948         * global.c (global_alloc): Likewise.
1949         * local-alloc.c (find_free_reg): Likewise.
1950         * mips-tdump.c (print_symbol): Likewise.
1951         * mips-tfile.c (parse_def, parse_input): Likewise.
1952         * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
1953         * stmt.c (expand_nl_goto_receiver): Likewise.
1954         * stor-layout.c (set_sizetype): Likewise.
1955         * varasm.c (decode_reg_name): Likewise.
1956         * toplev.c (decode_f_option, decode_W_option,
1957         set_target_switch, print_switch_values): Likewise.
1958         (NUM_ELEM): Remove macro.
1959         (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
1960
1961 2000-08-24  Greg McGary  <greg@mcgary.org>
1962
1963         * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
1964         (MAIN_NAME_P, main_identifier_node): New macros.
1965         * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
1966         * c-decl.c (start_decl, grokdeclarator, start_function,
1967         store_parm_decls, finish_function): Use MAIN_NAME_P.
1968         * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
1969         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1970         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1971         * config/pdp11/pdp11.c (output_function_prologue): Likewise.
1972
1973 2000-08-24  Greg McGary  <greg@mcgary.org>
1974
1975         * cppfiles.c (actual_directory): Don't write beyond `dir'
1976         when it contains "".
1977         * real.c (asctoeg): Stay within bounds of etens[][].
1978
1979 2000-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1980
1981         * dependence.c (dependence_string, direction_string,
1982         dump_one_node, dump_node_dependence): Hide unused identifiers.
1983         (get_low_bound, normalize_coefficients): Match definition to
1984         static prototype.
1985         (get_one_coefficient): Initialize variables `value0_is_idx' and
1986         `value1_is_idx'.
1987         (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
1988         (ziv_test): Delete variable `idx', use parameter `sub' instead.
1989         (direction_merge): Avoid automatic aggregate initialization.
1990         (have_dependence_p): Use `src' not `dest' to set `src_idx'.
1991         Initialize variables `dest_idx' and `src_idx'.
1992         (end_dependence_analysis): Avoid C89 style function definition.
1993
1994 2000-08-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1995
1996         * c-common.c (time_char_table): Don't allow width with %F.
1997         (check_format_info): Don't allow "Z" length with scanf.
1998
1999 2000-08-24  Gabriel Dos Reis  <gdr@codesourcery.com>
2000
2001         * diagnostic.c (finish_diagnostic): Define.
2002         (output_do_printf): Use wrap_text instead of output_add_string.
2003         (default_print_error_function): Avoid embedded '\n'.
2004
2005         * diagnostic.h (flush_diagnostic_buffer): Declare.
2006
2007 2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
2008
2009         * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
2010
2011 2000-08-23  Hans-Peter Nilsson  <hp@axis.com>
2012
2013         * Makefile.in (GCC_PASSES): Add specs.
2014
2015 2000-08-23  Jim Wilson  <wilson@cygnus.com>
2016
2017         * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
2018         * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
2019         EHANDLER nor UHANDLER bit is set.
2020         (__get_except_table): Likewise.
2021
2022 2000-08-23  Nick Clifton  <nickc@redhat.com>
2023
2024         * config/arm/lib1funcs.asm: Replace upper case condition codes
2025         with lower case versions.
2026
2027         * config/arm/arm.h (STRUCT_VALUE): Define.
2028         (STRUCT_VALUE_REGNUM): Delete.
2029
2030 2000-08-23  Zack Weinberg  <zack@wolery.cumb.org>
2031
2032         * cpphash.h (IN_I): New flag for directive table.
2033         * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
2034         #pragma with IN_I.
2035         (_cpp_check_directive): If -fpreprocessed, execute directives
2036         marked with IN_I.  Issue no warnings in this case.
2037         * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
2038
2039 2000-08-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2040
2041         * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
2042         %u.
2043         (check_format_info): Support printf 'I' flag; warn about it with
2044         -pedantic.
2045
2046 2000-08-23  Richard Earnshaw  (rearnsha@arm.com)
2047
2048         * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
2049         barrier can't be ignored by the alias analysis code.
2050
2051 2000-08-12  Eli Zaretskii  <eliz@is.elta.co.il>
2052
2053         * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
2054         works inside fixincl.
2055
2056 Wed Aug 23 04:55:48 2000  Alexandre Oliva  <aoliva@redhat.com>
2057
2058         * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
2059         simplify_relational_operation() unless both operands are of
2060         VOIDmode.
2061         * cse.c (fold_rtx): Likewise.
2062
2063 Tue Aug 22 23:53:27 EDT 2000  John Wehle  (john@feith.com)
2064
2065         * rtlanal.c (rtx_unstable_p): The pic register is stable
2066         (within one function) and the actual rtx should be used
2067         when checking the registers.
2068         (rtx_addr_can_trap_p): Pic memory addresses can't trap.
2069
2070         * alias.c (true_dependence, write_dependence_p): Fix
2071         bug in previous patch.
2072
2073         * i386.c (ix86_GOT_alias_set): New.
2074         (legitimize_pic_address): Use it.
2075
2076         * rtlanal.c (rtx_unstable_p): An unchanging MEM is
2077         only stable if its address is stable.
2078         (rtx_varies_p): An unchanging MEM can't vary if
2079         its address doesn't vary.
2080
2081 2000-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2082
2083         * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
2084
2085 2000-08-22  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2086
2087         * vax.h (ASM_SPEC): Pass `-J' to assembler.
2088         * x-vax-gcc: New file for bootstrapping with gcc.
2089         * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
2090         * configure.in: Use x-vax-gcc with gcc.
2091         * configure: Rebuilt.
2092
2093 Tue Aug 22 21:21:05 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2094
2095         * toplev.c (rest_of_compilation): Rebuild label notes after
2096         post-reload splitting pass if new labels have been created.
2097
2098 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2099
2100         * diagnostic.h (output_buffer_state): New macro.
2101         * diagnostic.c (diagnostic_for_decl, sorry,
2102         default_print_error_function, output_do_verbatim,
2103         report_diagnostic, report_problematic_module): Use it.
2104         (wrap_text): Tweak.
2105         (output_format): Use wrap_text instead of maybe_wrap_text.
2106
2107 2000-08-22  Nick Clifton  <nickc@redhat.com>
2108
2109         * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
2110         Common code for ARM divide and modulus functions.
2111         (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
2112         ARM_DIV_MOD_BODY.
2113         (FUNC_END): New macro: Common code at the end of the division and
2114         modulo functions.
2115         (THUMB_FUNCTION_START): New macro:  Common code at the start of
2116         Thumb functions.
2117         (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
2118
2119 Tue Aug 22 20:34:52 2000  Kaz Kojima <kkojima@rr.iij4u.or.jp>
2120
2121         * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
2122
2123         * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
2124         sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
2125         const0_rtx.
2126
2127 2000-08-22  Nick Clifton  <nickc@redhat.com>
2128
2129         * config/arm/lib1funcs.asm (__umodsi3): Before performing any
2130         restorative additions, test for bottom bits of IP being set,
2131         rather than relying upon the RORs not matching.
2132         (__modsi3): Ditto.
2133
2134 2000-08-22  David Edelsohn  <edelsohn@gnu.org>
2135
2136         * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
2137         text_section() as appropriate instead of emitting text csect
2138         pseudo-op directly.
2139         (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
2140         (UNIQUE_SECTION): Define macro.
2141         (ASM_OUTPUT_SECTION_NAME): Define macro.
2142         * rs6000.c (rs6000_override_options): Disable -ffunction-sections
2143         on AIX if debugging and -fdata-sections always.
2144
2145 2000-08-22  Steven King  <sxking@uswest.net>
2146
2147         * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
2148         machinery.
2149         (LDBL_MAX): Same here.
2150
2151 2000-08-22  Richard Henderson  <rth@cygnus.com>
2152
2153         * flow.c (tidy_fallthru_edge): Update b->end properly.
2154
2155 2000-08-22  Stan Cox  <scox@redhat.com>
2156
2157         * Makefile.in (OBJS): Add dependence.o.
2158         * dependence.c: New file.
2159
2160 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>, John David Anglin  <dave.anglin@nrc.ca>
2161
2162         * calls.c (check_sibcall_argument_overlap_1): Adjust for
2163         ARGS_GROW_DOWNWARD.
2164         (check_sibcall_argument_overlap): Likewise.
2165
2166 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
2167
2168         * invoke.texi (SH Options): Document -m4-nofpu,
2169         -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
2170         -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
2171
2172 2000-08-22  Joseph S. Myers  <jsm28@cam.ac.uk>
2173
2174         * c-common.c (check_format_info): Give the 'some locales' warning
2175         for strftime %Ey rather than the unconditional 'only last 2 digits
2176         of year' one.
2177
2178 2000-08-22  Richard Henderson  <rth@cygnus.com>
2179
2180         * alias.c (init_alias_analysis): Do not register
2181         struct_value_incoming_rtx or static_chain_rtx as pointing
2182         to stack memory.
2183
2184 Tue Aug 22 01:44:43 2000  Jeffrey A Law  (law@cygnus.com)
2185
2186         * protoize.c (munge_compile_params): Fix typo and formatting buglets.
2187
2188 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2189
2190         * diagnostic.h (report_problematic_module): Declare.
2191         * diagnostic.c (report_problematic_module): New function.
2192         (report_error_function): Tweak.
2193
2194 Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2195
2196         * stmt.c (expand_goto_internal, fixup_gotos): Only check
2197         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
2198
2199 2000-08-21  Richard Henderson  <rth@cygnus.com>
2200
2201         * flow.c (calculate_global_regs_live): Mark frame pointer live
2202         everywhere before reload.
2203
2204 2000-08-21  Jim Wilson  <wilson@cygnus.com>
2205
2206         * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
2207         INTEL_EXTENDED_IEEE_FORMAT.
2208         (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
2209         clear last two bytes of output FP value.
2210
2211 2000-08-21  Graham Stott  <grahams@cygnus.co.uk>
2212
2213         * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
2214
2215 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
2216
2217         * unroll.c (loop_find_equiv_value): If ret is modified between
2218         insn and loop_start, ret might not be equivalent to reg.
2219
2220 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2221
2222         * c-common.c (init_dollar_format_checking,
2223         maybe_read_dollar_number, finish_dollar_format_checking): New
2224         functions.
2225         (dollar_arguments_used, dollar_arguments_count,
2226         dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
2227         New variables.
2228         (check_format_info): Support $ formats for scanf and printf width
2229         and precision.  Always increment format_chars to advance past the
2230         '*' of precision, not just when the format parameters are
2231         available to check.
2232
2233 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2234
2235         * mips.c (block_move_loop, expand_block_move,
2236         function_arg_partial_nregs, save_restore_insns, function_prologue,
2237         mips_expand_prologue, RA_MASK): Avoid using the `U' integer
2238         constant suffix.
2239         (function_arg_advance, function_arg): Match argument to format
2240         specifier `%p'.
2241
2242 2000-08-21  Nix  <nix@esperi.demon.co.uk>
2243
2244         * gcc.c (do_spec_1): Implement %j spec flag.
2245         Remove dead comment.
2246
2247         * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
2248         * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
2249         * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
2250         * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
2251
2252         * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
2253         writable) instead of hardcoded value.
2254
2255         * toplev.c (compile_file): Output to a file even if -fsyntax-only.
2256
2257         * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
2258         MKTEMP_EACH_FILE.
2259
2260         * gcc.c (cc1_options): Do not process -o or run the assembler if
2261         -fsyntax-only.
2262         * objc/lang-spec.h: Likewise.
2263
2264 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
2265
2266         * fixinc/fixincl.c (fix_with_system): Pipe the output of
2267         "external" fixes through `cat', to avoid truncating the input
2268         file by redirection.
2269
2270 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
2271
2272         * config/i386/i386.md (lea_general_1): Copy insn condition to split
2273         condition.
2274         (lea_general_2, lea_general_3): Likewise.
2275
2276 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2277
2278         * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
2279         warnings to user code.
2280
2281         * c-lex.c (readescape, yylex): Likewise.
2282
2283         * c-typeck.c (store_init_value, process_init_element): Likewise
2284         (c_expand_start_case): Format.
2285
2286 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2287
2288         * mips/linux.h (LINK_SPEC): Use %(endian_spec).
2289
2290         * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
2291         and linker_endian_spec to endian_spec.
2292         (ENDIAN_SPEC): Add %{EB} and %{EL}.
2293         (LINK_SPEC): Remove %{EB} and %{EL}.
2294         (ASM_SPEC): Likewise.  Use %(endian_spec).
2295
2296 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2297
2298         * c-tree.h (flag_hosted): Move declaration from here...
2299         * c-common.h (flag_hosted): ... to here.
2300         (flag_noniso_default_format_attributes): New declaration.
2301         * c-decl.c (flag_noniso_default_format_attributes): New variable.
2302         (c_decode_option): Set it appropriately for options choosing
2303         language standard variant.
2304         * c-common.c (init_function_format_info): Only provide default
2305         format attributes if flag_hosted.  Only provide the gettext
2306         formats if flag_noniso_default_format_attributes.  Update
2307         comments.
2308         (check_format_info): Disable treatment of %a as a scanf flag in
2309         C99 mode.
2310
2311 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2312
2313         * c-common.c (scan_char_table): Add 'w' to flags for all formats
2314         except 'n'.
2315         (check_format_info): Set 'wide' for scanf format widths.  Warn for
2316         a zero scanf width.  Make the check for writing into a constant
2317         object at the first level of indirection; at later levels, warn if
2318         any type qualifiers are encountered.
2319
2320 Mon Aug 21 07:41:12 2000  Jeffrey A Law  (law@cygnus.com)
2321
2322         * reload.c (reload_inner_reg_of_subreg): New function broken out of
2323         push_reload.
2324         (push_reload): Use reload_inner_reg_of_subreg.
2325         (combine_reloads): Do not combine reloads if the input reload
2326         is a SUBREG in which the inner part will need reloading.
2327
2328         * global.c (global_alloc): Avoid passing dumpfile argument to
2329         reload routines.
2330         * toplev.c (rest_of_compilation): Likewise.
2331         * reload.h (reload): Remove dumpfile argument.  Callers changed.
2332         (debug_reload, debug_reload_to_stream): Move prototypes here.
2333         * rtl.h  (reload): Remove dumpfile argument.
2334         * reload.c (debug_reload): Remove prototype.
2335         (debug_reload_to_stream): Likewise.
2336         * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
2337         instead.
2338
2339 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2340
2341         * diagnostic.c (context_as_prefix): Export.
2342         (need_error_newline): Remove.
2343         (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
2344         (error_module_changed, record_last_error_module,
2345         error_function_changed, record_last_error_function): New functions.
2346         (initialize_diagnostics): Default intialize
2347         lang_diagnostic_starter, lang_diagnostic_finalizer.
2348         (init_output_buffer): Tweak.
2349         (file_name_as_prefix): New function.
2350         (announce_function, default_print_error_function,
2351         report_error_function, set_diagnostic_context): Tweak.
2352
2353 2000-08-21  Richard Earnshaw  <rearnsha@arm.com>
2354
2355         * flow.c (init_propagate_block_info): Handle SUBREG in a jump
2356         condition expression.
2357
2358 2000-08-20  Richard Henderson  <rth@cygnus.com>
2359
2360         * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
2361
2362 2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
2363
2364         * cppinit.c (cpp_init): Set global flag when called.
2365         (cpp_reader_init): Bomb out if cpp_init hasn't been called.
2366
2367 Sun Aug 20 01:41:35 2000  Dennis Chernoivanov  <cdi@sparc.spb.su>
2368
2369         * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
2370         before `process_directive' so that newlines won't be missed
2371         for directives.
2372         (cpp_printf): Increment `print->lineno' when newline is emitted.
2373
2374         * cppmain.c (cb_ident): Likewise.
2375         (cb_define): Likewise.
2376         (cb_undef): Likewise.
2377         (cb_include): Likewise.
2378         (cb_def_pragma): Likewise.
2379         (dump_macros_helper): Likewise.
2380
2381 2000-08-20  Richard Henderson  <rth@cygnus.com>
2382
2383         * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
2384         assigned before a loop.
2385
2386         * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
2387         (ashrsi3, lshrsi3): Likewise.
2388
2389 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
2390
2391         * c-lang.c: #include diagnostic.h
2392         (c_tree_printer): New function.
2393         (lang_init): Initialize lang_printer.
2394
2395         * Makefile.in (c-lang.o): Depends on diagnostic.h
2396
2397 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
2398
2399         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
2400
2401         * diagnostic.c (default_diagnostic_starter,
2402         default_diagnostic_finalizer): New functions.
2403         (diagnostic_for_asm, diagnostic_for_decl): Tweak.
2404         (pedwarn, pedwarn_with_file_and_line, error,
2405         error_with_file_and_line, fatal, warning,
2406         warning_with_file_and_line): Adjust call to report_diagnostic.
2407         (report_diagnostic): Rework.
2408         (set_diagnostic_context): New function.
2409
2410         * diagnostic.h (struct diagnostic_context): New data structure.
2411         (diagnostic_message, diagnostic_argument_list,
2412         diagnostic_file_location, diagnostic_line_location,
2413         diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
2414         diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
2415         (set_diagnostic_context): Declare.
2416         (report_diagnostic): Change prototype.
2417
2418 Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
2419
2420         * fix-header.c (main): Initialize cpplib.
2421
2422 2000-08-19  Michael Meissner  <meissner@redhat.com>
2423
2424         * ifcvt.c (find_if_block): Do not assume that a THEN block has any
2425         instructions in it before checking for indirect jumps.
2426
2427         * ifcvt.c (find_if_block): Do not consider a THEN block that ends
2428         in a indirect jump as a potential for conditional execution.
2429
2430         * d30v.h (d30v_init_expanders): Don't declare here.
2431         * d30v-protos.h (d30v_init_expanders): Declare here with a valid
2432         prototype.
2433
2434 Sat 19-Aug-2000 21:11:45 BST  Neil Booth  <NeilB@earthling.net>
2435
2436         * cpp.texi: Add @section for assertions.
2437
2438 Sat Aug 19 12:37:08 EDT 2000  John Wehle  (john@feith.com)
2439
2440         * loop.c (scan_loop): Use CONST_CALL_P instead of
2441         checking for REG_LIBCALL / REG_RETVAL.
2442
2443 Sat Aug 19 09:18:47 2000  Jeffrey A Law  (law@cygnus.com)
2444
2445         * reload1.c (reload_as_needed): Accept dumpfile argument,
2446         pass it to emit_reload_insns.
2447         (emit_reload_insns): Add new dumpfile argument.  If non-null
2448         then dump the reloads for each insn into the dumpfile.
2449         (reload): Pass dumpfile to reload_as_needed.
2450
2451         * invoke.texi: Clean up linux-gnu vs linux comments.
2452
2453 2000-08-19  Richard Henderson  <rth@cygnus.com>
2454
2455         * config/ia64/ia64.c (reg_or_5bit_operand): New.
2456         (ia64_depz_field_mask): New.
2457         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
2458         (PREDICATE_CODES): Update.
2459         * config/ia64/ia64.md: Update commentary.
2460         (depz_internal): New.
2461         (ashlsi3): Implement directly.
2462         (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
2463         (ashldi3): Use shladd.
2464         * config/ia64/ia64-protos.h: Update.
2465
2466 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
2467
2468         * toplev.c (independent_decode_option): Always process -g.
2469         Remove third argument, now unused.  Adjust caller to match.
2470
2471 2000-08-18  Richard Henderson  <rth@cygnus.com>
2472
2473         * combine.c (make_compound_operation): Break after creating
2474         the extraction.
2475
2476 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
2477
2478         * cpplib.c (cpp_register_pragma_space): Just return if the
2479         namespace is already registered.
2480
2481 2000-08-18  Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton  <nickc@redhat.com>
2482
2483         * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
2484         constant amount.  Do not generate ROTL instruction.
2485
2486 Fri Aug 18 16:22:20 2000  Alexandre Oliva  <aoliva@redhat.com>
2487
2488         * config/sh/elf.h: Do not include sh/sh.h.
2489         * config/sh/rtems.h: Likewise.
2490         * config/sh/rtemself.h: Do not include sh/elf.h.
2491         * configure.in: Get them included with `tm_file's.
2492         * configure: Rebuilt.
2493
2494         * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
2495         * config/sh/sh.c (fpscr_set_from_mem): Use them.
2496
2497 Fri Aug 18 14:23:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2498
2499         * stor-layout.c (compute_record_type): Don't use mode of single
2500         field as mode of record if not integer mode of same type.
2501
2502         * regmove.c (perhaps_ends_bb_p): New function.
2503         (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
2504         (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
2505         (fixup_match_1): Likewise.
2506         (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
2507         avoid signed/unsigned warnings.
2508
2509         * function.c (fixup_var_refs_1, case MEM): Update CODE after
2510         updating X.
2511
2512 Fri 18-Aug-2000 18:33:45 BST  Neil Booth  <NeilB@earthling.net>
2513
2514         * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
2515         (_cpp_trigraph_map): Declaration moved from cpplex.c
2516
2517         * cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
2518         instead of 256.  Use consistent test for designated initializers.
2519         (cpp_init): Initialize trigraph_map.
2520         (initialize_standard_includes, parse_option):  Use memcmp
2521         instead of strncmp.
2522
2523         * cpplex.c (init_trigraph_map): Remove.
2524         (trigraph_ok, trigraph_replace, lex_line): Refer to
2525         _cpp_trigraph_map.
2526
2527         * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
2528         (do_unassert): Remove unused "next" local.
2529
2530         * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
2531
2532 2000-08-18  Emmanuel Marty  <emarty@suntech.fr>
2533
2534         * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
2535         insn.
2536
2537 2000-08-17  Richard Henderson  <rth@cygnus.com>
2538
2539         * config/ia64/ia64.c (spill_restore_mem): Handle emitting
2540         the first insn in a sequence.
2541
2542 Thu Aug 17 22:40:05 EDT 2000  John Wehle  (john@feith.com)
2543
2544         * alias.c (true_dependence, write_dependence_p): A read
2545         involving a label_ref or the constant pool doesn't create
2546         a dependency.
2547
2548         * rtl.h (unchanging): Improve documentation.
2549
2550 2000-08-17  Rodney Brown  <RodneyBrown@mynd.com>
2551
2552         * cse.c (insert_regs): Remove unused `regno'.
2553
2554 2000-08-17  Neil Booth  <NeilB@earthling.net>
2555
2556         * (cppinit.c) merge_include_chains: Use remove_dup_dir,
2557         remove_dup_dirs.  If qtail == brack, remove brack not
2558         qtail.
2559         (remove_dup_dir, remove_dup_dirs): New functions.
2560
2561 2000-08-17  Neil Booth  <NeilB@earthling.net>
2562
2563         * cppinit.c (cpp_cleanup): Free include dir chains.
2564         * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
2565         (do_unassert): Free the assert with _cpp_free_definition.
2566         * cppmacro.c (_cpp_free_definition): Free memory allocated for
2567         assertions.  Make the node a T_VOID node.
2568
2569 2000-08-17  Neil Booth  <NeilB@earthling.net>
2570
2571         * cppinit.c (path_include, append_include_chain):
2572         Remove 2nd parameter (struct cpp_pending *).
2573         (path_include, initialize_standard_includes, cpp_handle_option):
2574         Update callers appropriately.
2575         (cpp_handle_option): Use pend.
2576
2577 2000-08-17  Neil Booth  <NeilB@earthling.net>
2578
2579         * cppinit.c (sort_options): Remove, put functionality in
2580         cpp_init.
2581         (cpp_init): New.
2582         (initialize_builtins): Free memory.
2583         (cpp_start_read): Move init_IStable to cpp_init.
2584
2585         * cpplib.h (cpp_init): New prototype.
2586         * cppmain.c (main): Call cpp_init.
2587
2588 Thu Aug 17 13:20:32 EDT 2000  John Wehle  (john@feith.com)
2589
2590         * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
2591         (rtx_unstable_p, rtx_varies_p): Process vectors.
2592
2593 2000-08-16  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2594
2595         * config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
2596         references to GLOBAL symbols.  Use LOCAL where appropriate.
2597
2598 2000-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2599
2600         * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
2601         use t-aix41 when host == target.
2602
2603 2000-08-16  Richard Henderson  <rth@cygnus.com>
2604
2605         * reload.c (push_secondary_reload): Revert last change.
2606         If we use a reload_in/out pattern, make the when the same
2607         as the primary reload.
2608         (find_reloads): Likewise.
2609
2610 2000-08-16  Manfred Hollstein  <manfredh@redhat.com>
2611
2612         * configure.in (libstdcxx-v3): Fix test.
2613         * configure: Regenerate.
2614
2615 Wed Aug 16 08:10:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2616
2617         * calls.c (calls_function_1, expand_call): Only test
2618         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
2619         * function.c (thread_prologue_and_epilogue_insns): Likewise.
2620
2621 2000-08-16  Richard Henderson  <rth@cygnus.com>
2622
2623         * combine.c (simplify_shift_const): Revert previous two
2624         changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
2625         before the main loop.
2626
2627 2000-08-15  Richard Henderson  <rth@cygnus.com>
2628
2629         * combine.c (simplify_shift_const): Bound shift count when
2630         combining shifts.
2631
2632 Tue Aug 15 17:33:05 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2633
2634         * calls.c (ECF_SP_DEPRESSED): New macro.
2635         (calls_function_1): Treat calling sp-depressed function as alloca.
2636         (emit_call_1): Don't adjust SP if calling sp-depressed function.
2637         (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
2638         If sp-depressed, ensure block saves and restores SP.
2639         * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
2640         for INTEGER_TYPE.
2641         * function.c (keep_stack_depressed): New function.
2642         (thread_prologue_and_epilogue_insns): Call it.
2643         * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
2644         to print DECL_OFFSET_ALIGN.
2645         Print no-force-blk and transparent-union flags properly.
2646         * stmt.c (expand_goto_internal): Don't restore stack if last block
2647         and function returns with sp depressed.
2648         (fixup_gotos): Likewise.
2649         (save_stack_pointer): New function, from code in expand_decl.
2650         (expand_decl): Call new function.
2651         * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
2652         (TYPE_RETURNS_STACK_DEPRESSED): New macro.
2653         (save_stack_pointer): New declaration.
2654
2655         * diagnostic.c (fatal_function): New variable.
2656         (set_fatal_function): New function.
2657         (fatal): Call it.
2658         * diagnostic.h (set_fatal_function): New declaration.
2659
2660 2000-08-15  William Cohen  <wcohen@redhat.com>
2661
2662         * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
2663         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
2664         (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
2665
2666 2000-08-15  Richard Henderson  <rth@cygnus.com>
2667
2668         * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
2669
2670 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
2671
2672         * arm.c (arm_function_ok_for_sibcall): New function.
2673         * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
2674         * arm.md (call expanders): Don't check here for calls that can't
2675         be sibling calls.
2676
2677 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
2678
2679         * arm.md (splits generating cond_exec): Disable.
2680
2681 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
2682
2683         * arm/linux-elf.h (text_section): Delete declaration.
2684
2685 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
2686
2687         ARM support for unordered FP operations.
2688         * arm-protos.h (arm_comparison_operator): Declare.
2689         * arm.c (arm_comparison_operator): New function.
2690         (arm_select_cc_mode): Add unordered comparison codes.
2691         (get_arm_condition_code): Likewise.
2692         (arm_final_prescan_insn): Can't handle unordered jumps that can't
2693         be done in one insn.
2694         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
2695         * arm.md (all uses of comparison_operator): Replace with
2696         arm_comparison_operator.
2697         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
2698         expands.
2699         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
2700         patterns.
2701
2702 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
2703
2704         * gthr-posix.h: Conditionally include <sched.h>; include
2705         <config.h> from libobjc/.
2706
2707 2000-08-14  Richard Henderson  <rth@cygnus.com>
2708
2709         * config/i386/i386.c (legitimize_pic_address): Use Pmode
2710         for all CONSTs.
2711
2712 2000-08-14  Richard Henderson  <rth@cygnus.com>
2713
2714         * configure.in (ia64-*): Set float_format for i386 long double.
2715
2716         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
2717         as we would for i386 XFmode.
2718         (PUT_REAL): Likewise.
2719         (endian, ereal_atof, real_value_truncate): Likewise.
2720         (ereal_isneg, toe64, etens, make_nan): Likewise.
2721         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
2722
2723         * config/ia64/ia64-protos.h: Update.
2724         * config/ia64/ia64.c (general_tfmode_operand): New.
2725         (destination_tfmode_operand): New.
2726         (tfreg_or_fp01_operand): New.
2727         (ia64_split_timode): New.
2728         (spill_tfmode_operand): New.
2729         (ia64_expand_prologue): Use TFmode not XFmode.
2730         (ia64_expand_epilogue): Likewise.
2731         (ia64_function_arg): Likewise.
2732         (ia64_function_arg_advance): Likewise.
2733         (ia64_return_in_memory): Likewise.
2734         (ia64_function_value): Likewise.
2735         (ia64_print_operand): Likewise.
2736         (ia64_register_move_cost): Set GR<->FR to 5.
2737         (ia64_secondary_reload_class): Get GR for TImode memory op.
2738         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
2739         (ROUND_TYPE_ALIGN): Remove.
2740         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
2741         (INTEL_EXTENDED_IEEE_FORMAT): Define.
2742         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
2743         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
2744         (MODES_TIEABLE_P): Use TFmode, not XFmode.
2745         (CLASS_MAX_NREGS): Likewise.
2746         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
2747         (PREDICATE_CODES): Update.
2748         * config/ia64/ia64.md (movti): New.
2749         (movti_internal): Use a clobber for memory alternatives.
2750         (reload_inti, reload_outti): New.
2751         (movsfcc_astep): Predicate properly.
2752         (movdfcc_astep): Likewise.
2753         (movxf): Remove.
2754         (movtf): New.
2755         (extendsftf2, extenddftf2): New.
2756         (trunctfsf2, trunctfdf2): New.
2757         (floatditf2, fix_trunctfdi2): New.
2758         (floatunsditf2, fixuns_trunctfdi2): New.
2759         (addtf3, subtf3, multf3, abstf2): New.
2760         (negtf2, nabstf2, mintf3, maxtf3): New.
2761         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
2762         (cmptf): New.
2763         (fr_spill): Use TFmode, not XFmode.
2764         (fr_restore): Likewise.
2765         * config/ia64/lib1funcs.asm (__divtf3): New.
2766         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
2767
2768 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2769
2770         * cse.c (fold_rtx): Avoid empty body in an if-statement.
2771
2772         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
2773         `U' integer constant suffix.
2774
2775         * dwarf2out.c (add_subscript_info): Avoid empty body in an
2776         else-statement.
2777
2778         * sparc/sol2.h (__enable_execute_stack): Prototype.
2779
2780 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
2781
2782         * collect2.c: Remove use of AIX import file.
2783
2784         * longlong.h: Test ARCH_PWR not ARCH_POWER.
2785
2786         * rs6000.c (print_operand, case 'E'): Add else.
2787
2788 2000-08-14  Richard Henderson  <rth@cygnus.com>
2789
2790         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
2791         (movdi_symbolic): New.
2792
2793 2000-08-14  Jim Wilson  <wilson@cygnus.com>
2794
2795         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
2796         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
2797         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
2798         to GNU as.
2799
2800 2000-08-14  Richard Henderson  <rth@cygnus.com>
2801
2802         * expr.c (emit_group_load): Don't force constants into registers.
2803         Special case source already in the correct mode.
2804
2805 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
2806
2807         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
2808         * fixinc/inclhack.def: Likewise.
2809         * fixinc/mkfixinc.sh: Likewise.
2810         * configure: Regenerate.
2811         * fixinc/fixincl.x: Regenerate.
2812         * install.texi: Document equivalence of linux and linux-gnu.
2813
2814 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2815
2816         * cse.c (insert_regs): Also in REG case: When finding an invalid
2817         value, and we make a new quantity, make sure that it won't be
2818         mistaken by for a valid one by mention_regs.
2819
2820 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
2821
2822         * h8300.md: Remove obsolete peepholes.
2823
2824 2000-08-13  Kazu Hirata  <kazu@hxi.com>
2825
2826         * invoke.texi (H8/300 Options): Fix typos.
2827         * config/h8300.c: Fix formatting.
2828         * config/h8300.h: Fix comment typos.
2829         (OVERRIDE_OPTIONS): Fix formatting.
2830
2831         * function.c: Fix formatting.
2832
2833         * cse.c: Fix formatting.
2834
2835 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
2836
2837         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
2838         (attempt_auto_inc): Suppress parentheses warning.
2839         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
2840         * loop.c (load_mems): Remove `u' suffix in two places.
2841         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
2842         hex constants.
2843         * config/rs6000/rs6000.h: Likewise.
2844         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
2845         __eabi dummy routine.
2846         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
2847         variable `buf_ptr'.
2848
2849         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
2850         not put stuff in .sdata unnecessarily.
2851         (rs6000_unique_section): New function.
2852         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
2853         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
2854
2855         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
2856         arrays in C99.  Don't try to look at DECL_REGISTER of a
2857         COMPONENT_REF.  Don't complain twice about the same error.
2858
2859         * fixinc/inclhack.def (aix_pthread): New fix.
2860         (aix_sysmachine): New fix.
2861         * fixinc/fixincl.x: Regenerate.
2862
2863         * expr.c (expand_expr): Call convert_modes when turning a large
2864         multiply into a small one.
2865
2866 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
2867
2868         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
2869         the tree structure an exponent rather than an explicit alignment
2870         so it doesn't overflow.
2871         (SET_DECL_OFFSET_ALIGN): New macro.
2872         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
2873         rather than DECL_OFFSET_ALIGN.
2874         (place_field): Likewise.
2875         * expmed.c (store_bit_field): Abort on align==0 to avoid
2876         antisocial machine behaviour.
2877
2878 2000-08-12  Richard Henderson  <rth@cygnus.com>
2879
2880         * sibcall.c (uses_addressof): Accept both addressof and
2881         current_function_internal_arg_pointer inside a mem.
2882         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
2883         if current_function_uses_addressof.
2884         * stmt.c (expand_return): Kill tail recursion and HAVE_return
2885         optimizations.
2886
2887 2000-08-11  Richard Henderson  <rth@cygnus.com>
2888
2889         * config/ia64/ia64.md (addsi3): Remove expander.
2890         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
2891         (*addsi3_shladd): New.
2892
2893 2000-08-11  Richard Henderson  <rth@cygnus.com>
2894
2895         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
2896         (do_restore): Likewise.
2897         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
2898         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
2899         (rtx_needs_barrier): Track actual bit manipulation for
2900         ar.unat moves, gr_spill, and gr_restore.
2901         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
2902         (process_set): Don't handle varargs spills.
2903         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
2904         .mem.offset here instead of in process_set.
2905         (gr_restore): Likewise.
2906
2907 2000-08-11  Richard Henderson  <rth@cygnus.com>
2908
2909         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
2910
2911 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
2912
2913         * gcc.texi (The Configuration File): Document
2914         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
2915         UPDATE_PATH_HOST_CANONICALIZATION.
2916
2917 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2918
2919         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
2920         unprototyped function pointer casts on integer constants.
2921
2922 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
2923
2924         * fixproto: Recognize DOS paths with drive letters as absolute paths.
2925
2926 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
2927
2928         * extend.texi (Volatiles): Fix typos.
2929
2930 2000-08-11  Kazu Hirata  <kazu@hxi.com>
2931
2932         * flow.c: Fix formatting.
2933
2934 2000-08-11  Richard Henderson  <rth@cygnus.com>
2935
2936         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
2937         pattern, always allocate a tertiary scratch register.
2938
2939         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
2940         (reload_inhi): Likewise.
2941
2942 2000-08-11  Richard Henderson  <rth@cygnus.com>
2943
2944         * function.c (put_reg_into_stack): Allow type to be NULL.
2945         (schedule_fixup_var_refs): Likewise.
2946         (gen_mem_addressof): Allow decl to be NULL.
2947         (put_addressof_into_stack): Likewise.
2948
2949         * flow.c (merge_blocks_nomove): Be more careful about
2950         locating the beginning of block A.
2951
2952         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
2953
2954 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
2955
2956         * configure.in:
2957         * configure:
2958         * gthr-posix.h:
2959         * config.in: Reverted the check for <sched.h>.
2960
2961 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
2962
2963         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
2964         macros define the name of CTOR and DTOR sections.
2965         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
2966         DTOR_LIST_END): Change to use attributes to specify
2967         sections.
2968         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
2969         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
2970         DTOR_LIST_END): Same as in mips/elf.h.
2971
2972 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
2973
2974         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
2975         disabling just crt0.o.
2976
2977 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
2978
2979         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
2980         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
2981         (EXTRA_SPECS): Add them.
2982         * arm/lib1funcs.asm: Support builds for interworking.
2983         Use macros to eliminate duplicated pieces of code.
2984
2985 2000-08-10  Kazu Hirata  <kazu@hxi.com>
2986
2987         * h8300.c (expand_a_rotate): New.
2988         (emit_a_rotate): Likewise.
2989         (h8300_adjust_insn_length): Add support for the rotate insns.
2990         * h8300.md (rotlqi3): New.
2991         (*rotlqi3_1): Likewise.
2992         (rotlhi3): Likewise.
2993         (*rotlhi3_1): Likewise.
2994         (rotlhi3): Likewise.
2995         (*rotlhi3_1): Likewise.
2996         * h8300-proto.h: Add prototypes for expand_a_rotate and
2997         emit_a_rotate.
2998
2999         * h8300.c: Fix comment typos.
3000         (dosize): Declare the variable amount as unsigned.
3001         (get_shift_alg): Fix a comparison between signed and unsigned.
3002         (emit_a_shift): Likewise.
3003         (h8300_adjust_insn_length): Simplify the code.
3004
3005         * c-decl.c: Fix formatting.
3006
3007 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3008
3009         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
3010         warning about non-traditional numeric constant suffixes.
3011
3012         * cppexp.c (parse_number): Likewise.
3013
3014         * invoke.texi: (-Wtraditional): Document new behavior.
3015
3016 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3017
3018         * gthr-posix.h: Include auto-host.h. Conditionally include
3019         <sched.h>.
3020         * configure.in: Check for the <sched.h> header file.
3021         * config.in: Added define for HAVE_SCHED_H.
3022
3023 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3024
3025         * c-typeck.c (process_init_element): For -Wtraditional, warn about
3026         initialization of unions.
3027
3028         * invoke.texi (-Wtraditional): Document new behavior.
3029
3030 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
3031
3032         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
3033         instead of extra_c_flags.
3034         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
3035         * configure: Regenerate.
3036         * config.in: Regenerate.
3037
3038         * cpperror.c (cpp_type2name): New function.
3039         * cpplex.c (lex_line): If we issued an error for an invalid
3040         preprocessing directive, discard that logical line.
3041         * cpplib.c (do_line): Call a hook function if the current file
3042         is renamed by #line.
3043         (do_ident): Pass the contents of the string, not the entire
3044         token, to the callback function.
3045         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
3046         (cb.rename_file): New hook function.
3047         (cb.ident): Adjust prototype.
3048         (cpp_type2name): Prototype.
3049         * cppmacro.c (dump_macro_args): Correct precedence lossage.
3050
3051         * cppmain.c (cb_ident): Update for changed interface.
3052         (cb_rename_file): New function.
3053         (main): Set rename callback.
3054
3055 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
3056
3057         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
3058         multi-word registers.
3059
3060 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3061
3062         * c-common.c (combine_strings, check_format_info): Refer to ISO C
3063         or ISO C89 instead of ANSI C.
3064         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
3065         build_enumerator, do_case): Likewise.
3066         * c-lex.c (parse_float, yylex): Likewise.
3067         * c-parse.in: Likewise.
3068         * c-typeck.c (common_type, build_array_ref, build_binary_op,
3069         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
3070         build_c_cast, convert_for_assignment, set_init_index,
3071         set_init_label, c_expand_start_case): Likewise.
3072         * toplev.c (documented_lang_options, display_help): Likewise.
3073
3074 2000-08-08  Kazu Hirata  <kazu@hxi.com>
3075
3076         * h8300.c: Fix formatting.
3077         * h8300.h: Likewise.
3078         * h8300.md: Likewise.
3079         (movsi_h8300hs): Fix formatting of the resulting assembly code.
3080
3081         * reload1.c: Fix formatting.
3082
3083 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
3084
3085         * alpha/alpha.c (alpha_emit_xfloating_libcall):
3086         Use GEN_CALL_VALUE define.
3087         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
3088         * clipper/clipper.md (untyped_call): Likewise.
3089         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
3090         * fx80/fx80.md (untyped_call): Likewise.
3091         * mips/mips.md (untyped_call): Likewise.
3092         * ns32k/ns32k.md (untyped_call): Likewise.
3093         * pa/pa.md (untyped_call): Likewise.
3094         * romp/romp.md (untyped_call): Likewise.
3095         * sparc/sparc.md (untyped_call): Likewise.
3096
3097 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
3098
3099         * config/i860/i860.c (singlemove_string): Do not generate assembler
3100         pseudo instructions that must be expanded (that is, with signed
3101         constants larger than 16 bits).
3102
3103 2000-08-08  Richard Henderson  <rth@cygnus.com>
3104
3105         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
3106         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
3107         (init_propagate_block_info): Don't kill memory stores at -O0.
3108         (mark_set_1, mark_used_regs): Likewise.
3109
3110 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
3111
3112         * rs6000.c (optimization_options): Decorate 'level' as
3113         ATTRIBUTE_UNUSED.
3114         (mask64_operand): Remove sign-extend thinko.
3115         (rldic_operand): New function.
3116         (load_multiple_operation): regno's are unsigned ints.
3117         (store_multiple_operation): Likewise.
3118         (lmw_operation): Likewise.
3119         (stmw_operation): Likewise.
3120         (includes_lshift_p): shift_mask is unsigned int.
3121         (includes_lshift64_p): New function.
3122         (addrs_ok_for_quad_peep): unsigned int reg1.
3123         (print_operand): Consistently add "else" after
3124         output_operand_lossage().
3125         (print_operand, case 'b'): Fold in case 'W'.
3126         (print_operand, case 'W'): Print rldic MB value.
3127         (output_epilogue): Update Objective-C language string.
3128         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
3129         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
3130         * rs6000.md (ashldi3): Add rldic instruction.
3131         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
3132         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
3133         modifier.
3134
3135 2000-08-08  Richard Henderson  <rth@cygnus.com>
3136
3137         * config/ia64/ia64-protos.h: Remove duplicates.  Update
3138         for massive code rearrangements.
3139         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
3140         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
3141         (ia64_local_regs, ia64_need_regstk): Remove.
3142         (ar_ccv_reg_operand): New.
3143         (ia64_gp_save_reg): New.
3144         (struct ia64_frame_info): Combine most of the size elements;
3145         add new gr save elements.
3146         (find_gr_spill): New.
3147         (next_scratch_gr_reg): New.
3148         (mark_reg_gr_used_mask): New.
3149         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
3150         to GR backing store regs when possible.
3151         (ia64_initial_elimination_offset): New.
3152         (ia64_rap_fp_offset): Remove.
3153         (save_restore_insns): Remove.
3154         (setup_spill_pointers): New.
3155         (finish_spill_pointers): New.
3156         (spill_restore_mem): New.
3157         (do_spill, do_restore): New.
3158         (ia64_expand_prologue): Rewrite to use them.
3159         (ia64_expand_epilogue): Likewise.
3160         (ia64_direct_return): Update for current_frame_info changes.
3161         (ia64_function_prologue): Simplify .prologue emission.  Emit
3162         .spill when needed.
3163         (ia64_setup_incoming_varargs): Don't ever emit rtl.
3164         (ia64_dbx_register_number): New.
3165         (ia64_initialize_trampoline): New.
3166         (ia64_secondary_reload_class): Request GR_REGS for integer
3167         arithmetic destined for FR_REGS.
3168         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
3169         (ia64_mark_machine_status): Mark ia64_gp_save.
3170         (rws_access_regno): Rename from rws_access_reg; don't treat
3171         predicates specially.
3172         (rws_access_reg): New.  Update all callers.
3173         (rtx_needs_barrier): Remove dead unspecs.
3174         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
3175         (ia64_encode_section_info): Silence signed/unsigned warnings.
3176         (spill_offset, sp_offset, spill_offset_emitted): Remove.
3177         (tmp_reg, tmp_saved): Remove.
3178         (process_set): Rewrite to expect complicated bits via
3179         REG_FRAME_RELATED_EXPR.
3180         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
3181         in the use of ar.ccv; never set RTX_UNCHANGING_P.
3182         (ia64_expand_op_and_fetch): Likewise.
3183         (ia64_expand_compare_and_swap): Likewise.
3184         (ia64_expand_builtin): Likewise.
3185         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
3186         (FIRST_PSEUDO_REGISTER): Update.
3187         (AR_M_REGNO_P): Update.
3188         (FIXED_REGS): Don't mark three local registers as used.
3189         (EXTRA_CC_MODES): New.
3190         (SELECT_CC_MODE): New.
3191         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
3192         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
3193         (FRAME_GROWS_DOWNWARD): Unset.
3194         (STARTING_FRAME_OFFSET): Zero.
3195         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
3196         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
3197         (HARD_FRAME_POINTER_REGNUM): New.
3198         (CAN_DEBUG_WITHOUT_FP): Define.
3199         (TRAMPOLINE_TEMPLATE): Remove.
3200         (TRAMPOLINE_SIZE): Lower to 32.
3201         (TRAMPOLINE_ALIGNMENT): Lower to 64.
3202         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
3203         (PREDICATE_CODES): Update.
3204         (struct machine_function): Add ia64_gp_save.
3205         * config/ia64/ia64.md: Purge unused unspecs.
3206         (movsi patterns): Allow moves to/from AR_M_REGS.
3207         (movdi patterns): Allow moves to/from p0.
3208         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
3209         (gr_spill, gr_restore): Indicate ar.unat read/written.
3210         (nonlocal_goto): Don't pass old frame_pointer.
3211         (nonlocal_goto_receiver): Remove.
3212         (exception_receiver): New.
3213         (builtin_setjmp_setup): New.
3214         (builtin_setjmp_receiver): New.
3215         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
3216         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
3217         (__ia64_restore_stack_nonlocal): Likewise.
3218         (__ia64_trampoline): New.
3219         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
3220         function.
3221         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
3222
3223 2000-08-08  Richard Henderson  <rth@cygnus.com>
3224
3225         * frame.h (ia64_frame_state): Add my_psp.
3226         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
3227         (__throw): Pass it in.  Don't clobber r7.
3228         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
3229         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
3230         and nothing to do with sp.
3231         (normalize_reg_loc): Use frame->my_psp.
3232         (frame_translate): Handle frame-pointer-less functions.  Set
3233         spill_base correctly, in absence of being told.
3234         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
3235         (__ia64_backtrace_helper): New sp argument.  Use
3236         builtin_return_address instead of label addresses.
3237         (print_record) [mem_stack_v]: No size member.
3238
3239 2000-08-08  Richard Henderson  <rth@cygnus.com>
3240
3241         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
3242
3243 2000-08-08  Richard Henderson  <rth@cygnus.com>
3244
3245         * tm.texi (LOCAL_REGNO): Document.
3246         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
3247         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
3248         * reload1.c (reload): Likewise when considering nonlocal labels.
3249
3250         * config/ia64/ia64.h (LOCAL_REGNO): New.
3251         * config/sparc/sparc.h (LOCAL_REGNO): New.
3252
3253 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3254
3255         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
3256
3257 2000-08-07  Nick Clifton  <nickc@redhat.com>
3258
3259         * config/mips/mips.c: Fix compile time warning messages.
3260         * config/mips/mips-protos.h: Add prototype for equality_op.
3261
3262         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
3263
3264 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
3265
3266         * mn10300.md: Use nonimmediate_operand instead of general_operand
3267         on output operands.
3268
3269         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
3270
3271 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
3272
3273         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
3274         * sh.c (expand_block_move): Break long lines.
3275         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
3276         * sh.md (mulsi3): Likewise.
3277         (movdi): Adjust spacing.
3278
3279 2000-08-07  Richard Henderson  <rth@cygnus.com>
3280
3281         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
3282         * expr.c (emit_group_store): Don't set it.
3283
3284 2000-08-07  Kazu Hirata  <kazu@hxi.com>
3285
3286         * invoke.texi (Options for Debugging Your Program or GCC): Remove
3287         duplicate entries for 'w' and 'z'.
3288
3289         * flow.c: Fix a comment typo.
3290
3291 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3292
3293         * c-parse.in: Changed the language string for Objective-C to "GNU
3294         Objective-C".
3295
3296 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3297
3298         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
3299         to improve the Posix thread support for Objective-C.
3300
3301 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
3302
3303         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
3304         CTI_UNSIGNED_PTRDIFF_TYPE.
3305         (signed_size_type_node): Define.
3306         (unsigned_ptrdiff_type_node): Define.
3307         * c-decl.c (init_decl_processing): Create the
3308         signed_size_type_node and unsigned_ptrdiff_type_node types.
3309         * c-common.c (T_SC): Define.
3310         (T_SST): Define.
3311         (T_UPD): Define.
3312         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
3313         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
3314         %s and %p.
3315         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
3316         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
3317         flags for %c, %s and %[.
3318         (check_format_info): Only allow leniency for signedness of targets
3319         of character pointers (when pedantic) for formats flagged with
3320         "c", so for strings but not for %hh formats.  When pedantic, don't
3321         allow character pointers to substitute for void pointers if a
3322         second level of indirection is present.
3323
3324 2000-08-06  Kazu Hirata  <kazu@hxi.com>
3325
3326         * invoke.texi (Options for Debugging Your Program or GCC): Update
3327         the names of dump files.
3328
3329         * h8300.c (dosize): Rearrange code for conciseness.
3330         (split_adds_subs): Likewise.
3331
3332         * loop.c: Fix formatting.
3333
3334         * dwarf2out.c: Fix formatting.
3335
3336         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
3337
3338         * expr.c: Fix formatting.
3339
3340 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3341
3342         * rs6000.c (rs6000_maybe_dead): Prototype.
3343
3344 2000-08-06  Richard Henderson  <rth@cygnus.com>
3345
3346         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
3347         HAVE_nonlocal_goto as well.
3348         * config/i960/i960.md (nonlocal_goto): Don't do it here.
3349         * config/pj/pj.md (nonlocal_goto): Likewise.
3350
3351 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
3352
3353         * loop.c (try_swap_copy_prop): New function.
3354         (load_mems): Rename copies to load_copies and add new regset
3355         store_copies.  Check for sets of shadow registers and mark
3356         in store_copies.   Call try_swap_copy_prop for registers
3357         marked in store_copies.
3358
3359 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3360
3361         * objc/objc-act.c: New command line option -fconstant-string-class
3362         to allow specifying a user defined constant string class,
3363         different from NXConstantString.
3364
3365         * toplev.c: Moved the Objective-C specific options to
3366         objc/lang-options.h.
3367
3368         * objc/lang-options.h: Moved the Objective-C specific options from
3369         toplev.c. Added -fconstant-string-class.
3370
3371 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
3372
3373         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
3374         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
3375         __CTOR_LIST__ from func_ptr array to just func_ptr, to
3376         avoid extra alignment imposed on arrays.
3377         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
3378         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
3379
3380         * mips.h: Clean up comments and spacing near MASKs.
3381         (TARGET_UNIX_ASM): Delete.
3382         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
3383         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
3384         values contiguous.
3385
3386 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3387
3388         * c-common.c (print_char_table): Add entries for the X/Open '
3389         format flag (print decimals with locale's thousands grouping
3390         character).  Make %C expect wint_t.
3391         (check_format_info): If pedantic, warn when the %n$ operand
3392         number form is used.  Allow for the ' flag; warn about it if
3393         pedantic.
3394
3395 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
3396
3397         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
3398         type is a float mode, cfun->decl's return type is not, and
3399         TARGET_FLOAT_RETURNS_IN_80387.
3400
3401 2000-08-04  Andreas Schwab  <schwab@suse.de>
3402
3403         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
3404         token list, which are always `#' and `pragma'.
3405
3406 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3407
3408         * tree.c (tree_expr_nonnegative_p): Move to...
3409         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
3410         (rtl_expr_nonnegative_p): New.
3411         * tree.h: Add prototype for rtl_expr_nonnegative_p.
3412
3413         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
3414         CONST_DOUBLE_CHAIN: Move to...
3415         * rtl.h: ...here.  Use XCINT/XCEXP.
3416
3417         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
3418         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
3419         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
3420         to VOL_FILES.
3421
3422         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
3423
3424 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3425
3426         * config/c4x/c4x.md (return_indirect_internal): New.
3427         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
3428
3429 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3430
3431         * c-common.c (time_char_table): Mark up formats added in C99 and
3432         make other corrections.  %D and %g were added in C99.  %Og is an
3433         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
3434         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
3435         C99 rather than GNU extensions, but %OG and %Oz are extensions.
3436         %h was added in C99.  %C was added in C99.  %OY and %OC are
3437         extensions.  Add the C99 format %F.
3438         (check_format_info): If pedantic and not in C99 mode, warn for C99
3439         formats, %E and %O.
3440
3441 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3442
3443         * function.c (schedule_fixup_var_refs): New function, broken out
3444         of put_reg_into_stack.
3445         (put_reg_into_stack): Use it.
3446         (put_var_into_stack): In CONCAT case, fixup up references for
3447         components only after fixing up references to the whole concat.
3448
3449 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
3450
3451         * alias.c (mark_constant_function): Use INSN_P.
3452         (init_alias_analysis): Likewise.
3453         * combine.c (combine_instructions): Use INSN_P.
3454         (can_combine_p): Likewise.
3455         (try_combine): Likewise.
3456         (distribute_notes): Likewise.
3457         (distribute_links): Likewise.
3458         * cse.c (cse_around_loop): Use INSN_P.
3459         (invalidate_skipped_block): Likewise.
3460         (cse_set_around_loop): Likewise.
3461         (cse_end_of_basic_block): Likewise.
3462         (delete_trivially_dead_insns): Likewise.
3463         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
3464         (unshare_all_rtl_1): Likewise.
3465         (next_cc0_user): Likewise.
3466         (try_split make_insn_raw): Likewise.
3467         (remove_unnecessary_notes): Likewise.
3468         * final.c (shorten_branches): Use INSN_P.
3469         (leaf_renumber_regs): Likewise.
3470         (leaf_renumber_regs_insn): Likewise.
3471         * flow.c (find_label_refs): Use INSN_P.
3472         (verify_wide_reg): Likewise.
3473         (notice_stack_pointer_modification): Likewise.
3474         (count_or_remove_death_notes): Likewise.
3475         (verify_flow_info): Likewise.
3476         (clear_log_links): Likewise.
3477         * function.c (fixup_var_refs_insns): Use INSN_P.
3478         (compute_insns_for_mem): Likewise.
3479         * gcse.c (alloc_gcse_mem): Use INSN_P.
3480         (compute_sets): Likewise.
3481         (compute_hash_table): Likewise.
3482         (classic_gcse): Likewise.
3483         (cprop): Likewise.
3484         (insert_insn_end_bb): Likewise.
3485         (delete_null_pointer_checks_1): Likewise.
3486         * global.c (expand_preferences): Use INSN_P.
3487         (build_insn_chain): Likewise.
3488         * graph.c (node_data): Use INSN_P.
3489         * haifa-sched.c (priority): Use INSN_P.
3490         (rm_line_notes): Likewise.
3491         (rm_other_notes): Likewise.
3492         (find_insn_reg_weight): Likewise.
3493         (init_target_units): Likewise.
3494         (schedule_block): Likewise.
3495         (compute_block_forward_dependences): Likewise.
3496         (debug_dependencies): Likewise.
3497         (set_priorities): Likewise.
3498         * integrate.c (function_cannot_inline_p): Use INSN_P.
3499         (save_parm_insns): Likewise.
3500         (copy_insn_list): Likewise.
3501         * jump.c (mark_all_labels): Use INSN_P.
3502         (never_reached_warning): Likewise.
3503         * lcm.c (optimize_mode_switching): Use INSN_P.
3504         * local-alloc.c (validate_equiv_mem): Use INSN_P.
3505         (memref_used_between_p): Likewise.
3506         (update_equiv_regs): Likewise.
3507         (block_alloc): Likewise.
3508         (no_conflict_p): Likewise.
3509         * loop.c (scan_loop): Use INSN_P.
3510         (find_and_verify_loops): Likewise.
3511         (count_loop_regs_set): Likewise.
3512         (loop_reg_used_before_p): Likewise.
3513         (strength_reduce): Likewise.
3514         (recombine_givs): Likewise.
3515         (check_dbra_loop): Likewise.
3516         (load_mems): Likewise.
3517         (try_copy_prop): Likewise.
3518         * print-rtl.c (print_rtx): Use INSN_P.
3519         * recog.c (find_single_use): Use INSN_P.
3520         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
3521         (next_flags_user): Likewise.
3522         (swap_rtx_condition): Likewise.
3523         * regmove.c (mark_flags_life_zones): Use INSN_P.
3524         (optimize_reg_copy_1): Likewise.
3525         (optimize_reg_copy_2): Likewise.
3526         (optimize_reg_copy_3): Likewise.
3527         (reg_is_remote_constant_p): Likewise.
3528         (fixup_match_2): Likewise.
3529         (regmove_optimize): Likewise.
3530         (fixup_match_1): Likewise.
3531         * regrename.c (build_def_use): Use INSN_P.
3532         (replace_reg_in_block): Likewise.
3533         (consider_use): Likewise.
3534         * reload.c (find_equiv_reg): Use INSN_P.
3535         * reload1.c (reload): Use INSN_P.
3536         (maybe_fix_stack_asms): Likewise.
3537         (calculate_needs_all_insns): Likewise.
3538         (reload_as_needed): Likewise.
3539         (emit_output_reload_insns): Likewise.
3540         (delete_address_reloads_1): Likewise.
3541         (reload_cse_regs_1): Likewise.
3542         (reload_combine): Likewise.
3543         (reload_cse_move2add): Likewise.
3544         * reorg.c (redundant_insn): Use INSN_P.
3545         (dbr_schedule): Likewise.
3546         * resource.c (find_dead_or_set_registers): Use INSN_P.
3547         (mark_target_live_regs): Likewise.
3548         * rtlanal.c (reg_used_between_p): Use INSN_P.
3549         (reg_referenced_between_p): Likewise.
3550         (reg_set_between_p): Likewise.
3551         (reg_set_p): Likewise.
3552         (single_set): Likewise.
3553         (multiple_sets): Likewise.
3554         (find_last_value): Likewise.
3555         (reg_set_last): Likewise.
3556         (find_reg_note): Likewise.
3557         (find_regno_note): Likewise.
3558         * sibcall.c (sequence_uses_addressof): Use INSN_P.
3559         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
3560         * ssa.c (find_evaluations): Use INSN_P.
3561         (rename_block): Likewise.
3562         (rename_equivalent_regs): Likewise.
3563         * unroll.c (loop_find_equiv_value): Use INSN_P.
3564         (set_dominates_use): Likewise.
3565         * varasm.c (mark_constant_pool): Use INSN_P.
3566         (mark_constants): Likewise.
3567         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
3568         (alphaev4_next_group): Likewise.
3569         (alphaev5_next_group): Likewise.
3570         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
3571         (c4x_rptb_rpts_p): Likewise.
3572         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
3573         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
3574         (rs6000_adjust_priority): Likewise.
3575         * config/sh/sh.c (sh_loop_align): Use INSN_P.
3576         (machine_dependent_reorg): Likewise.
3577         (split_branches): Likewise.
3578         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
3579
3580 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
3581
3582         * combine.c (recog_for_combine): Remove the old notes
3583         prior to attempting to recognize the new pattern.
3584         (distribute_notes): Ignore REG_NONNEG notes.
3585
3586 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
3587
3588         * varasm.c (output_constructor): Add .align 0 for packed vars.
3589
3590 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3591
3592         * configure.in: Use default thread_file even when enable_threads is
3593         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
3594         * configure: Rebuilt.
3595
3596         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
3597
3598 2000-08-04  Donn Terry (donnte@microsoft.com)
3599
3600         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
3601
3602 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
3603
3604         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
3605         Delete code that conditionally modifies 'version'.
3606         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
3607         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
3608         * gcc.c (main): Use it.
3609         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
3610         * prefix.c (update_path): Use it.
3611         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
3612         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
3613         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
3614         code.
3615         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
3616         (SUBTARGET_SWITCHES): Adjust.
3617         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
3618         defining.
3619         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
3620
3621 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3622
3623         * c-common.h (flag_isoc94): Declare.
3624         * c-decl.c (flag_isoc94): Define.
3625         (c_decode_option): Set flag_isoc94 as appropriate.
3626         * c-common.c (T_PD, T_IM, T_UIM): Define.
3627         (format_char_info): Add tlen and jlen.
3628         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
3629         %F.  Allow %lf.
3630         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
3631         %l[.
3632         (time_char_table): Add NULL entries for %t and %j.
3633         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
3634         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
3635         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
3636         precision.  Allow precision argument to be unsigned int.  If
3637         pedantic, warn for %p passed an argument not a pointer to possibly
3638         qualified void or a possibly qualified character type, and for
3639         pointer targets of the wrong sign, except for character pointers.
3640
3641 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3642
3643         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
3644         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
3645         (wint_type_node): Define.
3646         * c-decl.c (WINT_TYPE): Define.
3647         (init_decl_processing): Create the wint_type_node type.
3648         * c-common.c (T_WI): Define.
3649         (print_char_table): Use T_WI for %lc format.
3650
3651 2000-08-04  Bruce Korb  <bkorb@gnu.org>
3652
3653         * fixinc/:  Verified that the MSDOS patch does not break
3654         the UNIX functionality and applied the next three patches
3655         from July:
3656
3657 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
3658
3659         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
3660         output file with the temporary one by appending ".X" to generate
3661         the temporary fuile's name.  If the output file already has an
3662         extension, replace it with ".X".
3663
3664         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
3665         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
3666         reallocate the command buffer while copying the command-line
3667         argument.  Redirect the output directly to the temporary file,
3668         instead of going through another temporary file.
3669         (process): Close the temporary file before unlinking it.
3670         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
3671         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
3672         (run_compiles): Pass p_fixd argument to machine_matches, as it
3673         expects.
3674
3675         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
3676         environment, assume there are no symlinks in the include
3677         directory.  When cleaning up the DONE files, look for them
3678         case-insensitively.  Don't try to remove symlinks if they aren't
3679         there.
3680
3681         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
3682         all callers changed.  Declare pz "const char *", to avoid compiler
3683         warnings.
3684
3685         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
3686         Change prototype of make_raw_shell_str.
3687
3688 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
3689
3690         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
3691         (initialize) [__MSDOS__]: Use tempnam.
3692         (initialize): Don't use SIGPIPE if it is not defined.
3693
3694         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
3695         return stdout.
3696
3697 2000-07-25  Bruce Korb  <bkorb@gnu.org>
3698
3699         * fixinc/fix*.[ch]: substantially reworked to make it possible
3700         to run this program without using fork(2) or pipe(2) (i.e. in
3701         a DOS environment).
3702
3703 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
3704
3705         * cppdefault.h (WINT_TYPE): Define.
3706         * cppinit.c (builtin_array): Define __WINT_TYPE__.
3707         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
3708         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
3709
3710 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
3711
3712         * (mips_legitimate_address_p): Don't allow register+offset
3713         if the offset is large and negative, and we are compiling
3714         for 64 bit registers.
3715
3716 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3717
3718         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
3719         insn_code_number + 1.
3720
3721 2000-08-04  Kazu Hirata  <kazu@hxi.com>
3722
3723         * h8300.c (function_prologue): Rearrange code for conciseness.
3724         (function_epilogue): Likewise.
3725         * h8300.h (OK_FOR_U): Fix formatting.
3726
3727         * cse.c: Fix a comment typo. Fix formatting.
3728
3729 2000-08-03  Richard Henderson  <rth@cygnus.com>
3730
3731         * config/i386/i386.md (return_indirect_internal): New.
3732         * config/i386/i386.c (ix86_expand_epilogue): Use it.
3733
3734 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
3735
3736         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
3737         before the name.
3738         (lex_line): Glue @ onto the beginning of identifiers and
3739         string constants, in Objective-C mode.
3740         (output_token, spell_token): Handle CPP_OSTRING.
3741         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
3742         beginning of a NAME or a STRING, in objc mode.
3743
3744         * cpplib.c (get_define_node): Do not permit identifiers that
3745         begin with @ to be #defined.
3746         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
3747         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
3748
3749         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
3750         * c-tree.h (build_objc_string): Delete prototype.
3751         * objc/objc-tree.def: Delete OBJC_STRING_CST.
3752         * c-lex.c (yylex): Use build_string for all three kinds of strings.
3753
3754         * c-parse.in, objc/objc-act.c: Update commentary.
3755
3756 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
3757
3758         * extend.texi: Fix typo in last change.
3759
3760         * extend.texi: Add commentary on statement-expressions and their
3761         interactions with C++.
3762
3763 2000-08-03  Nick Clifton  <nickc@cygnus.com>
3764
3765         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
3766         * dwarf.h (LANG_JAVA): Change value to 0x000b.
3767
3768 2000-08-03  Anthony Green  <green@cygnus.com>
3769
3770         * dwarf2out.c (gen_compile_unit_die): Add java language support.
3771         (add_bound_info): Check for java language.
3772         (is_java): New function.
3773         * dwarfout.c (output_compile_unit_die): Ditto.
3774         * dwarf.h (dwarf_source_language): Add java source language type.
3775         * dwarf2.h (dwarf_source_language): Ditto.
3776
3777 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3778
3779         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
3780         operands.
3781
3782         * i386.c (ix86_expand_branch): Mode of comparison in
3783         IF_THEN_ELSE is VOIDmode.
3784
3785 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
3786
3787         * gengenrtl.c, rtl.c: Avoid #elif.
3788
3789 2000-08-03  Michael Poole  <poole@troilus.org>
3790
3791         * tm.texi (Register Classes): Clarify order of sub-initializers
3792         in REG_CLASS_CONTENTS.
3793
3794 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3795
3796         From SAITOH Masanobu:
3797         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
3798
3799 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
3800
3801         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
3802         is not supported by tradcpp and isn't actually needed for cygwin.
3803
3804 2000-08-03  Kazu Hirata  <kazu@hxi.com>
3805
3806         * h8300.c: Fix a comment typo.
3807         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
3808
3809         * jump.c: Fix formatting.
3810
3811         * toplev.c: Fix formatting.
3812
3813 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
3814
3815         * flow.c (find_auto_inc): Verify that we've got a REG before
3816         peeking at its regno.  Fail, don't abort if we can't find
3817         the increment of the desired register.
3818
3819         * pa.md (shadd height reduction patterns/splitters): Remove.
3820
3821 2000-08-02  Jim Wilson  <wilson@cygnus.com>
3822
3823         * config/ia64/ia64-protos.h (flag_ssa): Declare.
3824         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
3825
3826 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
3827
3828         * dce.c: Remove all uses of assert.
3829         * dwarf2out.c: Likewise.
3830         * dwarfout.c: Likewise.
3831         * ssa.c: Likewise.
3832
3833 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
3834
3835         * gcc.h (lang_specific_driver): Constify second argument.
3836         * gcc.c (translate_options, process_command, main): Likewise.
3837         Constify variables to match.  Cast second argument to
3838         pexecute.
3839
3840         * cppspec.c, gccspec.c: Adjust type of second argument to
3841         lang_specific_driver, and update code as necessary.
3842
3843 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
3844
3845         * loop.c (scan_loop): Ensure update_end label does not
3846         go away until reg_scan_update is run.
3847
3848 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
3849
3850         * c-common.h: Prototype min_precision and c_build_qualified_type here...
3851         * c-tree.h: ... not here.
3852         * errors.h: Prototype fancy_abort.
3853
3854         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
3855         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
3856         * regrename.c (regrename_optimize): Make control flow explicit.
3857         (replace_reg_in_block): Initialize reg_use to 0.
3858
3859         * i386.c (legitimate_address_p): Rename error label to
3860         report_error to avoid namespace clash.
3861
3862 2000-08-02  Kazu Hirata  <kazu@hxi.com>
3863
3864         * fold-const.c: Fix formatting.
3865
3866 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3867
3868         * i386.c (legitimate_address_p): Accept other bases than
3869         pic_offset_table_rtx for GOTOFF constructs.
3870
3871 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3872
3873         * i386.md (shift to lea splitter): Use const_int_operand.
3874
3875 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
3876
3877         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
3878         cppspec.c: Do not use 'legal' or 'illegal' in error messages
3879         and comments.
3880
3881         * cppmain.c (cb_define, cb_undef): Don't generate any output
3882         if not done_initializing.
3883         * cpplex.c (maybe_paste_with_next): When the token after a ##
3884         is an omitted rest argument, only delete the token before it
3885         if that token is a comma.  Do not warn about bogus token
3886         pastes for , ## rest_arg.
3887
3888         * cpp.texi: Update.
3889         * cpp.1: Regenerate.
3890
3891 2000-08-02  Fred Fish  <fnf@be.com>
3892
3893         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
3894         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
3895         and later.
3896
3897         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
3898         Be directories to search path.
3899
3900         Remove support for __declspec(dllimport) and __declspec(dllexport).
3901         This is leftover cruft from the earlier BeOS gcc port when BeOS
3902         used Microsoft's PE object file format.
3903         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
3904         * config/i386/t-beos (winnt.o): Remove Makefile frag.
3905         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
3906         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
3907         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
3908         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
3909         (REDO_SECTION_INFO_P): Remove.
3910         (ASM_EXPORT_DECL): Remove.
3911         (ASM_DECLARE_FUNCTION_NAME): Remove.
3912         (ASM_DECLARE_OBJECT_NAME): Remove.
3913         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
3914         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
3915         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
3916         (STRIP_NAME_ENCODING): Remove.
3917
3918         Remove support for obsolete version of BeOS that is no longer
3919         supported by Be.
3920         * configure.in (i*86-*-beospe*): Remove.
3921         * config/i386/beos-pe.h: Remove.
3922
3923 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
3924             Mark Mitchell <mark@codesourcery.com>
3925
3926         * Makefile.in (OBJS): Added dce.o.
3927         (ssa.o): Updated target to include ssa.h.
3928         (flow.o): Likewise.
3929         (toplev.o): Likewise.
3930         (dce.o): Created target.
3931         * basic-block.h: Added comments.
3932         (INVALID_BLOCK): Added definition.
3933         (connect_infinite_loops_to_exit): Added declaration.
3934         Moved SSA declarations to ssa.h.
3935         * flow.c: Added inclusion of ssa.h.
3936         (struct depth_first_search_dsS, depth_first_search_ds):
3937         Added definitions.
3938         (compute_immediate_postdominators): Added definition.
3939         (connect_infinite_loops_to_exit): Likewise.
3940         (flow_dfs_compute_reverse_init): Likewise.
3941         (flow_dfs_compute_reverse_add_bb): Likewise.
3942         (flow_dfs_compute_reverse_execute): Likewise.
3943         (flow_dfs_compute_reverse_finish): Likewise.
3944         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
3945         (LABEL_P): Added definition.
3946         (JUMP_P): Likewise.
3947         (NOTE_P): Likewise.
3948         (BARRIER_P): Likewise.
3949         (JUMP_TABLE_DATA_P): Likewise.
3950         (INSN_DEAD_CODE_P): Likewise.
3951         * ssa.c: Replaced inclusions with ssa.h inclusion.
3952         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
3953         (rename_registers): Removed unnecessary variables.
3954         * ssa.h: Created by moving declarations from ssa.c and
3955         basic-block.h.
3956         * timevar.def: Defined TV_DEAD_CODE_ELIM.
3957         * toplev.c: Added ssa.h inclusion.
3958         (dump_file_index): Added DFI_dce.
3959         (dump_file): Added "dce" entry.
3960         Defined flag_ssa.
3961         (f_options): Added dce entry.
3962         * invoke.texi: Document -fdce.  Emphasize experimental status of
3963         -fssa.
3964         * dce.c: New file.
3965
3966 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
3967
3968         * cpperror.c (v_message): Split into _cpp_begin_message and
3969         v_message macro.  All callers updated.
3970         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
3971         checks here.
3972
3973         * cppfiles.c (cpp_syshdr_flags): New function.
3974         (read_include_file): Don't call cpp_output_tokens.  Call
3975         enter_file hook.
3976         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
3977         (cpp_reader_init): Don't initialize token_buffer.  Call
3978         _cpp_init_internal_pragmas.
3979         (cpp_cleanup): Don't clear token_buffer.
3980         (cpp_start_read): Don't worry about output from -D processing.
3981         Don't call cpp_output_tokens.
3982         (cpp_finish): Don't dump macros here.  Don't call
3983         cpp_output_tokens.
3984         * cppmacro.c (_cpp_dump_definition): Rename
3985         cpp_dump_definition.  Write directly to a FILE *.
3986         (dump_funlike_macro): Delete.
3987         (dump_macro_args): New.
3988
3989         * cpplex.c (TOKEN_LEN): Convert to inline function.
3990         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
3991         cpp_scan_line, _cpp_dump_list): Delete.
3992         (cpp_printf, cpp_output_list): New.
3993         (output_line_command): Don't worry about entering or leaving files.
3994         (cpp_scan_buffer): Just output each token as we hit it.
3995         (process_directive): Don't call cpp_output_tokens.
3996         (_cpp_glue_header_name): Don't use token_buffer.
3997         (output_token, dump_param_spelling): Write directly to a FILE *.
3998
3999         * cpplib.c (pass_thru_directive, dump_macro_name,
4000         pragma_dispatch, do_pragma_gcc): Delete.
4001         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
4002         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
4003         functions.
4004         (do_error, do_warning, pragma_dependency): Call
4005         _cpp_begin_message, then cpp_output_list.
4006         (cpp_register_pragma, cpp_register_pragma_space,
4007         _cpp_init_internal_pragmas): New.
4008         (do_pragma): Walk the pragmas table here.
4009         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
4010         do_pragma_dependency): Return void.
4011         (do_pragma_implementation): Moved to cppmain.c.
4012
4013         * cpplib.h: Update prototypes.
4014          (struct cpp_reader): Remove printer, token_buffer,
4015         token_buffer_size, and limit.  Add struct cb, and pragmas.
4016         (struct cpp_printer): Remove last_id and written.
4017         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
4018         CPP_ADJUST_WRITTEN): Delete.
4019         * cpphash.h: Update prototypes.
4020         (ufputs): New wrapper.
4021
4022         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
4023         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
4024         (main): Set up callbacks.  Register #pragma implementation.
4025         Dump macros from here.
4026
4027 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
4028
4029         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
4030         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
4031         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
4032         insns if they have a REG_MAYBE_DEAD note attached.
4033         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
4034         (rs6000_emit_load_toc_table): TOC loads may go dead.
4035
4036 2000-08-01  Jim Wilson  <wilson@cygnus.com>
4037
4038         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
4039         type exists before using it.  Use number of words as alignment
4040         otherwise.
4041         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
4042         ia64_va_arg): Propagate ia64_function_args changes here.
4043
4044 2000-08-01  Richard Henderson  <rth@cygnus.com>
4045
4046         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
4047         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
4048
4049 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
4050
4051         From Joern Rennecke:
4052         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
4053         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
4054         unless TARGET_SH3E is set.
4055         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
4056
4057         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
4058         (ashlsi3_std): New pattern.
4059         (ashlsi3 expander): Use it for TARGET_SH3.
4060         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
4061
4062 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4063
4064         * loop.c (canonicalize_condition):  Use destination, not source to
4065         determine SET's mode.
4066
4067 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
4068
4069         * flow.c (clear_log_links): Fix typo.
4070
4071 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
4072
4073         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
4074         on targets which need more than one insn for a compare/cbranch
4075         operation.
4076
4077 2000-07-31  Jim Wilson  <wilson@cygnus.com>
4078
4079         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
4080         when computing offset.
4081
4082 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
4083
4084         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
4085
4086 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
4087
4088         * flow.c (clear_log_links): Nuke global_live_at_start and
4089         global_live_at_end data, since if the log_links stuff is invalid
4090         so is global_live_at_*.
4091
4092 2000-07-31  Richard Henderson  <rth@cygnus.com>
4093
4094         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
4095
4096 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
4097
4098         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
4099         (_cpp_get_token): Don't macro expand a just pasted token if it
4100         was pasted at no_expand_level.
4101
4102 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
4103
4104         * cppmacro.c (find_param, count_params, save_expansion):
4105         Permit 'defined' as a macro parameter name.
4106
4107 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
4108
4109         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
4110         xcpp to cpp throughout.
4111         (native): Remove unnecessary dependency on cpp.
4112
4113         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
4114         tradcpp to tradcpp0.
4115         (.i spec): Add missing output-file spec to cc1 command line.
4116         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
4117
4118 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
4119
4120         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
4121         (implicit_decl_warning): New function.
4122         (implicitly_declare): Use it.
4123         * c-typeck.c (build_external_ref): Use implicit_decl_warning
4124         to complain about implicit decls of builtins.
4125
4126         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
4127         based on pedantic && flag_isoc99, if not already set.
4128         * c-tree.h: Declare mesg_implicit_function_declaration.
4129         Prototype implicit_decl_warning.
4130
4131 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
4132
4133         * Makefile.in (ssa.o): Updated header files in dependences.
4134         * basic-block.h: Added compute_immediate_postdominators declaration.
4135         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
4136         definition.
4137         * flow.c (compute_immediate_dominators): Updated comment.
4138         (compute_immediate_postdominators): Added definition.
4139         * rtl.h (HARD_REGISTER_P): Added definition.
4140         * ssa.c: Include additional header files.
4141         (assert): Added definition.
4142         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
4143         include select hard registers.
4144         (ssa_rename_to_insert): Likewise.
4145         (ssa_rename_from_initialize): Likewise.
4146         (ssa_rename_from_lookup): Likewise.
4147         (original_register): Likewise.
4148         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
4149         include select hard reigsters.
4150         (ssa_rename_from_traverse): Likewise.
4151         (ssa_rename_from_free): Likewise.
4152         (ssa_rename_from_print): Likewise.
4153         (ssa_rename_from_print_1): Likewise.
4154         (ssa_rename_from_hash_function): Likewise.
4155         (ssa_rename_from_equal): Likewise.
4156         (ssa_rename_from_delete): Likewise.
4157         (simplify_to_immediate_dominators): Removed in favor of
4158         flow.c:compute_immediate_dominators.
4159         (find_evaluations_1): Modified to work with hard registers.
4160         (insert_phi_node): Likewise.
4161         (insert_phi_nodes): Likewise.
4162         (struct rename_set_data): Updated prev_reg comment.
4163         (create_delayed_rename): Modified to work with hard registers.
4164         (RENAME_NO_RTX): Updated comment.
4165         (apply_delayed_renames): Modified to work with hard registers.
4166         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
4167         (rename_block): Updated to use revised ssa_rename_to interface.
4168         (rename_registers): Updated to use revised ssa_rename_to and
4169         ssa_rename_from interface.
4170         (convert_to_ssa): Revised to use compute_immediate_dominators and
4171         deal with hard registers.
4172         (make_regs_equivalent_over_bad_edges): Modified to work with hard
4173         registers.  Added check for illegal unification of hard register.
4174         (make_equivalent_phi_alternatives_equivalent): Modified to work
4175         with hard registers.
4176         (compute_conservative_reg_partition): Likewise.
4177         (coalesce_if_unconflicting): Modified to work with hard registers
4178         and check for conflicting hard registers.
4179         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
4180         registers.
4181         (rename_equivalent_regs_in_insn): Modified to work with hard
4182         registers.
4183         (record_canonical_element_1): Added definition.
4184         (check_hard_regs_in_partition): Added definition.
4185         (convert_from_ssa): Added data structure deallocation and check
4186         for illegal hard register unification.
4187         (conflict_hard_regs_p): Added definition.
4188         * toplev.c (rest_of_compilation): Added comment.
4189
4190 2000-07-31  Anthony Green  <green@redhat.com>
4191
4192         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
4193
4194 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
4195
4196         * builtins.c (expand_builtin_apply): Don't defer pop during
4197         argument setup.
4198
4199 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4200
4201         * calls.c (combine_pending_stack_adjustment_and_call): Only use
4202         preferred_unit_stack_boundary when it is > 1.
4203
4204 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
4205
4206         * c-common.c (init_function_format_info): Add C99 format functions
4207         in C99 mode.
4208
4209         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
4210         void' or 'register void' as being the special case of 'void' alone
4211         in a parameter list.
4212
4213         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
4214         discarding qualifiers into a plain warning.
4215
4216 2000-07-31  Kazu Hirata  <kazu@hxi.com>
4217
4218         * combine.c: Fix formatting.
4219
4220         * h8300.md: Fix formatting.
4221
4222         * local-alloc.c: Fix formatting.
4223
4224         * h8300.c (get_shift_alg): Remove the variable alg.
4225         (emit_a_shift): Rearrange code to improve readability.
4226
4227         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
4228
4229         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
4230         HImode on all architectures and a combination of HImode and SImode
4231         on H8/300H and H8/S.
4232
4233         * h8300.c (split_adds_subs): Rearrange code for conciseness.
4234
4235 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4236
4237         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
4238         in my last checkin.
4239
4240 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4241
4242         * recog.c (extract_insn): Set operand_mode according to
4243         operand if match_operand is VOIDmode.
4244
4245 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4246
4247         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
4248
4249 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
4250
4251         * c-parse.in (extdefs): Call ggc_collect between external
4252         definitions.
4253
4254 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
4255             Richard Henderson  <rth@cygnus.com>
4256
4257         * Makefile.in (OBJS): Add doloop.o.
4258         * doloop.c: New file.
4259
4260         * final.c (insn_current_reference_address): Return 0 before final.
4261         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
4262         * jump.c (any_uncondjump_p): Likewise.
4263         * loop.c (indirect_jump_in_function): Make static.
4264         (strength_reduce): Call doloop_optimize.
4265         (insert_bct, instrument_loop_bct): Remove.
4266         * loop.h (doloop_optimize): Prototype.
4267         * recog.c (split_all_insns): Split all INSN_P.
4268         * toplev.c (flag_branch_on_count_reg): Default on.
4269
4270         * config/c4x/c4x.c (c4x_optimization_options): Don't set
4271         flag_branch_on_count_reg.
4272         * config/i386/i386.c (override_options): Likewise.
4273         * config/rs6000/rs6000.c (optimization_options): Likewise.
4274
4275         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
4276         (doloop_end): New.
4277         (dbra_ge): Remove, as well as all it's splitters.
4278
4279         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
4280         (doloop_end): New.
4281
4282         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
4283         (ia64_register_move_cost): Declare.
4284         * config/ia64/ia64.c (ar_lc_reg_operand): New.
4285         (struct ia64_frame_info): Add ar_size.
4286         (ia64_compute_frame_size): Set it.
4287         (save_restore_insns): Save and restore ar.lc.
4288         (ia64_register_move_cost): New, moved from header file.  Handle
4289         application registers.
4290         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
4291         (emit_insn_group_barriers): Special case doloop_end_internal.
4292         (ia64_epilogue_uses): Mark ar.lc live at end.
4293         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
4294         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
4295         (FIRST_PSEUDO_REGISTER): Make room.
4296         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
4297         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
4298         (REG_ALLOC_ORDER): Update.
4299         (HARD_REGNO_MODE_OK): Update.
4300         (REGISTER_NAMES): Update.
4301         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
4302         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
4303         (REGNO_REG_CLASS): Update.
4304         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
4305         (REGISTER_MOVE_COST): Move out of line.
4306         (PREDICATE_CODES): Update.
4307         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
4308         (addsi3_plus1_alt, adddi3_plus1_alt): New.
4309         (shladd_elim splitter): Allow constants in the predicate.
4310         (doloop_end, doloop_end_internal): New.
4311
4312 2000-07-30  Richard Henderson  <rth@cygnus.com>
4313
4314         * genattrtab.c (struct insn_def): Add lineno member.
4315         (struct insn_ent): Likewise.
4316         (struct attr_desc): Likewise.
4317         (struct delay_desc): Likewise.
4318         (struct function_unit_op): Likewise.
4319         (struct function_unit): Likewise.
4320         (check_attr_value): Use message_with_line.
4321         (check_defs): Likewise.
4322         (expand_units): Likewise.
4323         (check_attr_test): Take a lineno argument.
4324         (gen_attr): Likewise.
4325         (gen_insn): Likewise.
4326         (gen_delay): Likewise.
4327         (gen_unit): Likewise.
4328         (main): Give it to them.
4329         (convert_set_attr_alternative): Take an insn_def argument
4330         instead of num_alt and insn_index.
4331         (convert_set_attr): Likewise.
4332         (write_test_expr): Protect INSN_ADDRESSES load
4333         with INSN_ADDRESSES_SET_P.
4334
4335 2000-07-30  Richard Henderson  <rth@cygnus.com>
4336
4337         * flow.c (init_propagate_block_info): Use pc_set.
4338
4339 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4340
4341         * i386.md (*lea_general_[123]) New insns and splits.
4342         (addsi3 to lea splitter): Handle other modes too.
4343         (shlsi3 to lea splitter): Likewise.
4344         (addhi_1_lea, shlhi_1_lea): New patterns.
4345         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
4346
4347 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4348
4349         * recog.c (general_operand, nonimmediate_operand): Accept
4350         any mode for VOIDmode CONSTANT_P operands.
4351
4352 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4353
4354         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
4355         instead of replace_rtx.
4356         * recog.c (validate_replace_rtx_subexp): New function.
4357         * recog.h (validate_replace_rtx_subexp): Declare.
4358
4359 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4360
4361         * combine.c (simplify_set, make_extraction, make_compound_operation
4362         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
4363         as force_to_mode argument.
4364
4365 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4366
4367         * combine.c (if_then_else_cond): Be sure that mode fits in
4368         HOST_WIDE_INT.
4369
4370 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4371
4372         * combine.c (record_promoted_value):  Allow bitsize of mode
4373         to be equivalent to HOST_BITS_PER_WISE_INT.
4374
4375 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4376
4377         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
4378         Do not call gen_mode_alignment when mode is BLKmode.
4379
4380 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4381
4382         * loop.c (express_from_1): Fix call of simplify_gen_binary.
4383
4384 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4385
4386         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
4387         VOIDmode implies both operands to be VOIDmode.
4388         (simplify_ternary_operation): Compute properly the mode of comparison.
4389         * combine.c (combine_simplify_rtx): Likewise.
4390
4391 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
4392
4393         * basic-block.h (struct loops): New field rc_order.
4394         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
4395         (flow_loops_free): Free rc_order.
4396         (flow_depth_first_order_compute): New parameter rc_order.
4397         (flow_loops_find): Allocate rc_order and swap usage with
4398         dfs_order.
4399
4400 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4401            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4402
4403         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
4404         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
4405         (nodb_call, return_from_epilogue): Likewise.
4406         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
4407         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
4408         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
4409         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
4410         (c4x_valid_type_attribute_p): Likewise.
4411         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
4412         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
4413
4414 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4415
4416         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
4417         and loadhi_big_constant if applicable.
4418         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
4419         and add new splitter.s
4420
4421 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4422
4423         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
4424
4425 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4426
4427         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
4428
4429 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4430
4431         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
4432
4433 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4434
4435         * config/c4x/libgcc.S (divqf3): Improve accuracy.
4436
4437 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
4438
4439         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
4440         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
4441         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
4442         (get_prev_bb_note): Likewise.
4443         (remove_scope_notes): Likewise.
4444         * flow.c (commit_one_edge_insertion): Likewise.
4445         (merge_blocks_nomove): Likewise.
4446         (verify_flow_info): Likewise.
4447         * gcse.c (insert_insn_end_bb): Likewise.
4448         * reg-stack.c (emit_swap_insn): Likewise.
4449         * ssa.c (first_insn_after_basic_block_note): New function.
4450         (insert_phi_node): Use it.
4451         (rename_block): Likewise.
4452         (eliminate_phi): Likewise.
4453         (make_regs_equivalent_over_bad_edges): Likewise.
4454         (make_equivalent_phi_alternatives_equivalent): Likewise.
4455         (for_each_successor_phi): Likewise.
4456         (convert_from_ssa): Modify phi-node deletion algorithm.
4457
4458 2000-07-29  Andreas Jaeger  <aj@suse.de>
4459
4460         * configure.in (mips*-*-linux*): Use mips*el to check for little
4461         endian MIPS, add tmake_file.
4462
4463         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
4464         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
4465         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4466
4467 2000-07-28  Richard Henderson  <rth@cygnus.com>
4468
4469         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
4470         Sign extend mode size before negating.
4471
4472 2000-07-28  Richard Henderson  <rth@cygnus.com>
4473
4474         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
4475
4476 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
4477
4478         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
4479         (cse_insn): Likewise.
4480         (addr_affects_sp_p): Likewise.
4481         * expr.c (move_by_pieces): Likewise.
4482         (clear_by_pieces): Likewise.
4483         * gcse.c (oprs_unchanged_p): Likewise.
4484         * haifa-sched.c (sched_analyze_2): Likewise.
4485         * recog.c (offsettable_address_p): Likewise.
4486         * regclass.c (record_address_regs): Likewise.
4487         * reload.c (find_reusable_reload): Likewise.
4488         (push_reload): Likewise.
4489         (operands_match_p): Likewise.
4490         (decompose): Likewise.
4491         (find_reloads_address_1): Likewise.
4492         (find_inc_amount): Likewise.
4493         * reload1.c (elimination_effects): Likewise.
4494         * resource.c (mark_set_resources): Likewise.
4495         * flow.c (attempt_auto_inc): New function; mostly broken out
4496         of find_auto_inc.
4497         (find_auto_inc): Split into two functions and enhanced to
4498         generate POST_MODIFY.
4499         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
4500         * rtl.h (count_all_occurrences):  Declare.
4501         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
4502         defined.
4503         * rtlanal.c (count_all_occurrences): New function.
4504         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
4505         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
4506
4507         * config/ia64/ia64-protos.h (destination_operand): Declare.
4508         * config/ia64/ia64.c (destination_operand): New function.
4509         (ia64_print_operand): Handle POST_MODIFY.
4510         (rtx_needs_barrier): Likewise.
4511         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
4512         (HAVE_POST_MODIFY_REG): Define to 1.
4513         (MAX_REGS_PER_ADDRESS): Change to 2.
4514         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
4515         (LEGITIMATE_ADDRESS_REG): New helper macro.
4516         (LEGITIMATE_ADDRESS_DISP): Likewise.
4517         (PREDICATE_CODES): Add entry for destination_operand.
4518         * config/ia64/ia64.md (all mov patterns): Use destination_operand
4519         predicate for operand 0.
4520
4521 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4522
4523         * dwarf2out.c: Indent #error directive.
4524
4525         * gbl-ctors.h: Fix typo in comment.
4526         (__do_global_ctors): Prototype.
4527
4528         * gcse.c (record_one_set, pre_delete): Remove unused variables.
4529
4530         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
4531         (print_operand): Initialize variable `t'.
4532
4533 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
4534
4535         * config/arm/arm.md ("call_value"): removed constraints.
4536         Constraints are ignored in expanders.
4537         (*call_value_reg): split =rf into various constraints.
4538         (*call_value_mem): same
4539         (*call_value_symbol): same
4540         (*sibcall_value_insn): same
4541
4542 2000-07-28  Philipp Thomas  <pthomas@suse.de>
4543
4544         * install.texi (--enable-nls): Change the description of the NLS
4545         related configure options to match the current state.
4546         (--with-included-gettext): Likewise.
4547         (--enable-maintainer-mode): New description added.
4548         * extend.texi (-fstrict-prototype): Add missing '.'.
4549
4550 2000-07-27  Jim Wilson  <wilson@cygnus.com>
4551
4552         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
4553         DECL_INITIAL (decl) == NULL_TREE.
4554
4555 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
4556
4557         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
4558         on insn-attr.h with it.
4559         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
4560         * insn-addr.h: New header.
4561         (insn_addresses_): Renamed from insn_addresses.
4562         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
4563         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
4564         INSN_ADDRESSES_NEW): New macros.
4565         * genattrtab.c (write_test_expr): Use new macros.
4566         * final.c (insn_addresses, init_insn_lengths): Likewise.
4567         (align_fuzz, shorten_branches): Likewise.
4568         (final): Likewise.  Do not reject new insns if their addresses
4569         have been added to INSN_ADDRESSES.
4570         * config/arm/arm.c, config/avr/avr.c: Use new macros.
4571         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
4572         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
4573         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
4574         * config/sh/sh.c: Likewise.
4575         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
4576
4577         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
4578
4579 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
4580
4581         * gcc.c (struct prefix_list): Add member priority.
4582         (enum path_prefix_priority): Declare.
4583         (add_prefix): Replace ``first'' with ``priority''.  Append new
4584         entry but keep list in priority order.
4585         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
4586         PREFIX_PRIORITY_LAST to add_prefix.
4587         (process_command): Move include kludge - foo/stageN - to before
4588         foo/include.
4589
4590 2000-07-27  Jason Merrill  <jason@redhat.com>
4591
4592         * dwarf2out.c (gen_typedef_die): Abort if we get identical
4593         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
4594
4595 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
4596
4597         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
4598         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
4599
4600 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
4601
4602         * c-decl.c (finish_function): Don't treat 'main' specially unless
4603         flag_hosted.  In C99 mode, return 0 from 'main' unless
4604         DEFAULT_MAIN_RETURN is otherwise defined.
4605
4606         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
4607         parameters defaulting to int in an old-style function definition.
4608
4609 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4610
4611         * c-parse.in (string): For -Wtraditional, warn about string
4612         concatenation only once per line.
4613
4614 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
4615
4616         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
4617         for HI-UX/WE2 systems.
4618
4619 2000-07-24  Bruce Korb  <bkorb@gnu.org>
4620
4621         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
4622         defining the __xxx_TYPE__ macros.
4623         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
4624         * fixincl/fixlib.h: don't need to include "tm.h" anymore
4625         * fixincl/inclhack.def(type_map): now obsolete
4626
4627 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4628
4629         * cpp.texi: Append a trailing full-stop to xrefs where needed.
4630
4631 2000-07-26  Dave Pitts  <dpitts@cozx.com>
4632
4633         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
4634         routine constants.
4635         (mvs_hash_alias): New function.
4636         (mvs_add_alias): Change argument spacing.
4637         (mvs_need_alias): Change aliasing criteria. Added documentation.
4638         (mvs_get_alias): Change to use hashed name. The hashed name prevents
4639         CSECT name collisions.
4640         (mvs_check_alias): Likewise.
4641         (handle_pragma): Change documentation.
4642         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
4643         mode from SImode to DImode.
4644         (iorhi3): Changed LTORG size for insn.
4645
4646 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
4647
4648         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
4649         mem if the address is a mode_dependent_address_p.
4650
4651 2000-07-26  Kazu Hirata  <kazu@hxi.com>
4652
4653         * h8300.c (print_operand): Print ":8" when the 'R' operand is
4654         suitable for 8-bit absolute.
4655         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
4656         (OK_FOR_U): Add a case for the 8-bit constant address on the
4657         H8/300H.
4658
4659 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
4660
4661         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
4662         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
4663         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
4664         lack of implemented alignment.
4665
4666 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
4667
4668         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
4669         cross-compiling between 64-bit and 32-bit machines.
4670
4671 2000-07-27  Richard Henderson  <rth@cygnus.com>
4672
4673         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
4674         (movhicc_astep, movhi_internal_astep): New.
4675         (movsicc_astep, movsi_internal_astep): New.
4676         (movdicc_astep, movdi_internal_astep): New.
4677         (movsfcc_astep, movsf_internal_astep): New.
4678         (movdfcc_astep, movdf_internal_astep): New.
4679         (movxfcc_astep, movxf_internal_astep): New.
4680         (cmovdi_internal_astep, cmovsi_internal_astep): New.
4681         Unify the cmov[ds]i splitters.
4682
4683 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
4684
4685         * real.c (asctoeg): Rename `error' label to unexpected_char_error
4686
4687 2000-07-26  Nick Clifton  <nickc@cygnus.com>
4688
4689         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
4690         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
4691
4692         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
4693         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
4694
4695 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
4696
4697         * c-decl.c (finish_enum): Convert enumerations that fit in an
4698         `int' to `int'.
4699         (build_enumerator): In pedantic mode, cast to `int' those that
4700         don't.
4701
4702 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
4703
4704         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
4705
4706 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4707
4708         * sh.md (cmpgtdi_t): Must be split.
4709         (cmpgtdi_t+1): New splitter.
4710
4711 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
4712
4713         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
4714         warnings for indented directives even if we are skipping.
4715
4716 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
4717
4718         * invoke.texi (strict-prototypes): Remove.
4719         * extend.texi (Deprecated Features): Add strict-prototypes.
4720         (Backwards Compatibility): New node.
4721
4722 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
4723
4724         * config/i386/i386.md (andsi_1+1): Allow HImode.
4725         (andsi_1+2): Require q_regs_operand.
4726
4727 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
4728
4729         * config/i386/i386.md (call_pop): Check operands[0],
4730         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
4731         (call): Likewise.
4732         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
4733         (call_value): Likewise.
4734
4735 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
4736
4737         * toplev.c (pipe_closed): Delete.
4738         (crash_signal): New.  Generate ICE for a fatal signal.
4739         (float_signal): Call crash_signal outside a float-handler
4740         block, not abort.
4741         (main): Install crash_signal as handler for core-dumping signals.
4742
4743 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
4744
4745         * rs6000.c (print_operand, case 'T'): New case.
4746
4747         * rs6000.md (call_indirect_aix32): Convert to expander of
4748         scheduled instructions.
4749         (call_indirect_aix64): Likewise.
4750         (call_value_indirect_aix{32,64}): Likewise.
4751         (call, call_value): Invoke expanders for AIX.  Fall through to
4752         matchers for SysV.
4753         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
4754         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
4755         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
4756         only "g" constraint.
4757         (call_nonlocal_aix64): Likewise.
4758         (call_value_nonlocal_aix{32,64}): Likewise.
4759         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
4760         operands.
4761         (call_value_nonlocal_sysv): New pattern.
4762         (indirect_jump{si,di}): Use new 'T' modifier.
4763         (tablejump{si,di} matchers): Likewise.
4764         (return_internal_{si,di}): Likewise.
4765         (return_eh_{si,di}): Likewise.
4766
4767 2000-07-24  Richard Henderson  <rth@cygnus.com>
4768
4769         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
4770         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
4771         * config/ia64/ia64.md (movdi_internal): Use it.
4772
4773 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
4774
4775         * cppexp.c: Warn about unary + if -Wtraditional.
4776         * cpplex.c (lex_line): Always set BOL on the first token of a line.
4777
4778 2000-07-24  Michael Meissner  <meissner@redhat.com>
4779
4780         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
4781         unsupported macro.
4782
4783 2000-07-24  Nick Clifton  <nickc@cygnus.com>
4784
4785         * config/arm/arm.c (emit_multi_reg_push): Generate a
4786         REG_FRAME_RELEATED_NOTE that is compatable with the code in
4787         dwarf2out_debug_frame_expr.
4788
4789 2000-07-24  Jason Merrill  <jason@redhat.com>
4790
4791         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
4792         UNALIGNED_INT_ASM_OP.
4793         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
4794         a location expression.
4795         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
4796         assume indirect access if we're saving the CFA address exactly.
4797
4798         * Makefile.in (bootstrap): Move -BstageN/ to the end.
4799
4800 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
4801
4802         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
4803         as well.
4804
4805 2000-07-24  Michael Meissner  <meissner@redhat.com>
4806
4807         * invoke.texi (D30V Options): Add d30v options.
4808
4809 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
4810
4811         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
4812         needed by our gcse pass anymore.
4813         (free_pre_mem): Corresponding changes.
4814         (compute_pre_data): Do not call compute_transpout anymore.
4815
4816         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
4817         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
4818         changes.
4819
4820         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
4821         (compute_pre_data): Do it here instead.
4822
4823         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
4824         'temp_bitmap'.
4825         (pre_delete): Corresponding changes.
4826
4827 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
4828
4829         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
4830         to figure out whether or not a variable has already been emitted.
4831
4832 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
4833
4834         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
4835         instead of gen_call.
4836
4837 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
4838
4839         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
4840
4841 2000-07-23  Kazu Hirata  <kazu@hxi.com>
4842
4843         * h8300.c: Fix formatting.
4844
4845 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
4846
4847         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
4848         for `long' switch expression into a plain warning.
4849
4850         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
4851         (yylex): Don't pedwarn for "inline" in C99 mode.
4852
4853         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
4854         with %p.
4855         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
4856         ggc_alloc): Likewise.
4857         * bb-reorder.c (dump_scope_forest_1): Likewise.
4858
4859 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
4860
4861         * reload.c (find_reloads_toplev): Add new parameter
4862         "address_reloaded".
4863         (find_reloads): Add new parameter to find_reloads_toplev calls.
4864
4865 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
4866
4867         * collect2.c (main): Typo fixed.
4868         * diagnostic.c: Typo fixed.
4869         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
4870         * eh-common.h: Typo fixed.
4871         * emit-rtl.c (start_sequence): Typo fixed.
4872         * flow.c (find_label_refs): Typo fixed.
4873         (calculate_global_regs_live): Typo fixed.
4874         (mark_regno_cond_dead): Typo fixed.
4875         (create_edge_list): Typos fixed.
4876         (verify_edge_list): Typo fixed.
4877         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
4878         * loop.c (strength_reduce): Typo in function name fixed.
4879         * rtl.h: Added comments.  Typo in function name fixed.
4880         * rtlanal.c: Typo in function name fixed.
4881         (insn_dependant_p): Rename to ...
4882         (insn_dependent_p): ... this.
4883         (computed_jumo_p): Typo fixed.
4884
4885 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4886
4887         * system.h (__FUNCTION__): Wrap definition in #ifndef.
4888
4889 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
4890
4891         * rs6000.h (SIZE_TYPE): Define.
4892
4893 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
4894
4895         * ssa.c (rename_insn_1): Don't rename registers that are
4896         CLOBBERed.
4897
4898 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
4899
4900         * diagnostic.c (trim_filename, fancy_abort): Moved here from
4901         rtl.c.
4902         (fatal_function, set_fatal_function): Removed.
4903         (fatal): Don't prepare for or call the fatal_function.
4904         (diagnostic_lock, error_recursion): New.
4905         (diagnostic_for_decl, report_diagnostic): Guard against
4906         re-entering the error reporting routines.
4907         (fancy_abort): Assume function is not NULL.
4908
4909         * errors.c (fancy_abort): New.  Assume function is not NULL.
4910         * tradcpp.c (fancy_abort): Assume function is not NULL.
4911
4912         * system.h: Provide default definition of __FUNCTION__.
4913         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
4914         Always use __FUNCTION__ in definition of abort.
4915         * tree.h: Likewise.
4916         * varray.h: Likewise.
4917         * toplev.h: Likewise.  Don't prototype set_fatal_function.
4918
4919 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
4920
4921         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
4922         in 64-bit mode.
4923         * glimits.h: Don't do #if defined for ARCH_PPC.
4924
4925         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
4926         constants of size no larger than a pointer should go in the TOC.
4927         Add 'MODE' parameter.
4928         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
4929         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
4930         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
4931         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
4932         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
4933         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
4934         (rs6000_legitimize_address): Likewise.
4935         (rs6000_emit_move): Likewise.
4936         (rs6000_select_rtx_section): Likewise.
4937         (output_toc): Deal properly with outputting small constants like
4938         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
4939         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
4940         MODE parameter.  Put small constants in the TOC.
4941
4942         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
4943         easy in SImode.
4944         (rs6000_emit_move): When reload calls us with an illegitimate
4945         address, exit early.  Move the change_address calls to one place
4946         at the end of the routine.  Merge the SImode and DImode expanders.
4947         When called by reload to put an integer into a FP register, force
4948         it to memory.
4949
4950         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
4951         field.
4952         (rs6000_hash_constant): Hash mode too.
4953         (toc_hash_function): Allow for key_mode.
4954         (toc_hash_eq): Structures are different if key_mode differs.
4955         (output_toc): Add 'mode' parameter.  Save key_mode.
4956         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
4957         Pass 'mode' parameter.
4958         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
4959
4960         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
4961         for vtable references.
4962
4963         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
4964         choice, don't put integer values in FP regs.
4965
4966 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
4967
4968         * flow.c (verify_flow_info): Revamp code to verify that the
4969         head and end of each basic block are in the insn chain.
4970
4971 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
4972
4973         * gcse.c (record_one_set): Prepend instead of append onto
4974         reg_set_table, making it O(n) instead O(n^2).
4975         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
4976         Use a queue instead of a stack as worklist.
4977
4978 2000-07-20  Kazu Hirata  <kazu@hxi.com>
4979
4980         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
4981         * h8300.h (OK_FOR_T): New.
4982         (EXTRA_CONSTRAINT): Support OK_FOR_T.
4983         * h8300.md: Use inc/dec.[wl] for increment/decrement
4984         by 1 and 2 in HI and SI modes.
4985
4986 2000-07-20  Jim Wilson  <wilson@cygnus.com>
4987
4988         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
4989         larger than 14 bits.
4990
4991 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
4992
4993         * cppmacro.c (CAN_PASTE_AFTER): New macro.
4994         (count_params): Don't set GNU_REST_ARGS on anything.
4995         (save_expansion): Set PASTE_LEFT only on tokens for which
4996         CAN_PASTE_AFTER is true, or which are named operators.
4997
4998         * cpplex.c (parse_args): Distinguish between a rest argument
4999         given one empty argument, and a rest argument given zero arguments.
5000         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
5001         deletion of previous token based on that.
5002         (get_raw_token): Flatten some control structure.
5003
5004         * cpplib.h (CPP_LAST_EQ): Correct.
5005         (VOID_REST): New token flag.
5006         (GNU_REST_ARGS): Delete.
5007
5008         * tradcpp.c (main): Don't munge -D options.
5009         (make_definition): Bring -D handling in line with cpplib.
5010         (do_define): Strip all leading whitespace from macro definitions.
5011
5012 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
5013
5014         * Makefile.in (tradcpp): Depend on intl.o and version.o.
5015
5016 2000-07-20  Bruce Korb  <bkorb@gnu.org>
5017
5018         * fixincl/check.tpl: strip the platform specific types before testing
5019         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
5020         * fixincl/fixincl.tpl: use platform specific types
5021         * fixincl/fixlib.h: include the platform specific types
5022         * fixincl/inclhack.def(gnu_types): don't supply the types
5023         * fixincl/fixincl.x: regen
5024
5025 2000-07-19  Jim Wilson  <wilson@cygnus.com>
5026
5027         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
5028         GR_REGS.
5029
5030 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
5031
5032         * tradcpp.c (rescan): Do not recognize directives when the #
5033         is indented.
5034
5035 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
5036
5037         Implement C++ named operators.
5038
5039         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
5040         of operators allowed in #if and having an _EQ variant.  Add
5041         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
5042         (cpp_token flags): Add NAMED_OP.
5043         (enum node_type): Add T_OPERATOR.
5044         (struct cpp_hashnode): Add code slot to value union.
5045         * cpphash.h (spec_nodes): Remove n_defined.
5046
5047         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
5048         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
5049         (is_macro_disabled): Tweak error messages.
5050
5051         * cpplib.c (get_define_node): Disallow all named operators as
5052         macro names.  Tweak error messages.
5053         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
5054
5055         * cppinit.c (builtin_array): Add entries for the named operators.
5056         * cppexp.c (lex): Check for CPP_DEFINED token.
5057         (priority table): Add entries for CPP_MIN and CPP_MAX.
5058         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
5059
5060 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
5061
5062         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
5063         larger than the array of cuids.
5064         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
5065         cuids.
5066
5067 2000-07-19  Bruce Korb  <bkorb@gnu.org>
5068
5069         * fixinc/fixincl.c:  Convert to using a table of environment variables
5070         and activate the auto-edit marker on the fixed output files.
5071         * fixinc/fixlib.h:  Define the environment table
5072         * fixinc/fixincl.sh: export the ${INPUT} dir
5073         * fixinc/check.tpl: likewise
5074
5075 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
5076
5077         * gcc.c (.h spec): Fix typo.
5078
5079 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
5080
5081         * Makefile.in: Fix tradcif.c path.
5082
5083 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
5084
5085         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
5086           macros, not five.
5087
5088         * cpphash.h (TOKEN_NAME): New macro.
5089         (_cpp_spell_operator): Deleted.
5090         (token_spellings): Now _cpp_token_spellings.
5091
5092         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
5093         * cpplex.c: Use OP and TK macros when expanding the
5094         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
5095         store the stringification of the enumeration name (CPP_CHAR,
5096         etc.) in the name slot of token_spellings.
5097         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
5098         token_spellings directly.
5099         * cpplib.c: Use TOKEN_SPELL.
5100
5101         * cpplex.c (_cpp_push_token): If the token being pushed back
5102         is the previous token in this context, just subtract one from
5103         context->posn.
5104         * cppmacro.c (save_expansion): Clear aux field when storing a
5105         placemarker.
5106
5107 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
5108
5109         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
5110         buffer, provided it is not NULL.
5111
5112 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
5113
5114         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
5115         case of invalid volatile re-declaration.
5116
5117 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
5118
5119         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
5120         (expand_call): Adjust caller.
5121
5122 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
5123
5124         * diagnostic.h (report_diagnostic): Change prototype.
5125
5126         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
5127         diagnostic_for_decl):  Change prototype.
5128         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
5129         error, warning, error_with_file_and_line,
5130         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
5131         Adjust call to report_diagnostic, diagnostic_for_decl.
5132         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
5133         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
5134
5135         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
5136         varaible argument list.
5137
5138 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
5139
5140         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
5141         moved to cppmacro.c.
5142         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
5143         dump_hash_helper): Delete.
5144         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
5145         cpp_forall_identifiers): New. Implement specialized version of
5146         Vlad's expandable hash table.
5147         (cpp_lookup): Use new functions.
5148         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
5149         implementation.
5150         * cppmacro.c: New file.
5151         * cppinit.c (dump_macros_helper): New.
5152         (cpp_finish): Iterate over the identifier table directly.
5153         * cpplex.c (parse_name): Calculate the hash of the identifier
5154         while we scan it.  Use _cpp_lookup_with_hash when we can.
5155
5156         * cpphash.h: Update prototypes.
5157         (xcnewvec, HASHSTEP): New helper macros.
5158         * cpplib.h: Update prototypes.
5159         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
5160         (cppmacro.o): New rule.
5161         (cpphash.o): Update deps.
5162
5163         * cppmain.c: Do not set pfile->printer if no_output is on.
5164
5165 2000-07-15  Neil Booth  <neilb@earthling.net>
5166
5167         * cpplib.c: Change all directive-handler functions to return
5168         void, not int.
5169         * cpphash.h: Update typedefs.
5170
5171 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
5172
5173         * configure: Regenerate.
5174
5175         * extend.texi (Extended Asm): Mention that a memory clobber
5176         does not count as a side-effect.
5177
5178         * unroll.c (copy_loop_body): Fix one instance of using host
5179         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
5180         cross-compile.
5181
5182         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
5183
5184 2000-07-17  Richard Henderson  <rth@cygnus.com>
5185
5186         * config/ia64/ia64.md (movdi): Split out load address code.
5187         New post-reload splitter for symbolic operands.
5188         (movdi_internal): Abort if we didn't split symbolic operands
5189         when we should have.
5190         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
5191         (ia64_reorg): Split insns when not optimizing.
5192         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
5193
5194 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5195
5196         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
5197         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
5198
5199 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
5200
5201         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
5202
5203 2000-07-17  Jason Merrill  <jason@redhat.com>
5204
5205         * Makefile.in (clean): Remove libgcc directory.
5206
5207         * configure.in (-Wno-long-long check): Use higher-level macros.
5208
5209 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
5210
5211         * simplify-rtx.c (simplify_binary_operation): Recognize
5212            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
5213         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
5214            a CONST_INT, it will always be zero.
5215
5216 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
5217
5218         * loop.c (check_dbra_loop) : Return if more than one condition is
5219         present to control the loop.
5220
5221 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
5222
5223         * mips.c (mips_expand_prologue): Don't calculate the last argument
5224         register unless we need it.  When we are calculating this, make
5225         sure FUNCTION_ARG is giving us a REG.
5226
5227 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5228
5229         * flow.c (libcall_dead_p): Use single_set to verify the insn
5230         has only one set and get for analysis.
5231         (propagate_one_insn): Don't pass the PATTERN of the insn.
5232
5233 2000-07-17  Mark Klein <mklein@dis.com>
5234
5235          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
5236
5237 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
5238
5239         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
5240         * configure.in (TARGET_GETGROUPS_T): Evaluate.
5241         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
5242         of second argument of getgroups.
5243         * configure, config.in: Rebuilt.
5244
5245 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
5246
5247         * simplify-rtx.c (simplify_relational_operation): Two signed
5248         values with equal high words are less/greater than each other if
5249         their low words are less/greater when considered as unsigned.
5250
5251 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
5252
5253         * configure.in (vax-*-openbsd):  Change to new style configuration,
5254         add collect2/float_format information.
5255         * configure:  Rebuilt.
5256         * config/vax/openbsd1.h:  New.
5257         * config/vax/openbsd.h:  New.
5258         * config/vax/t-openbsd:  New.
5259
5260 2000-07-17  Chip Salzenberg  <chip@valinux.com>
5261
5262         * c-common.c (shorten_compare): Quiet warnings about unsigned
5263         comparisons with zero when they occur in a system header.
5264
5265 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
5266
5267         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
5268         update to describe current practice.
5269
5270         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
5271
5272         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
5273         references to C9X.  Change references to -fstd and -flang-isoc9x
5274         to refer to -std.
5275
5276         * c-common.c (scan_char_table): Allow "z" length modifiers on
5277         diouxXn formats.
5278         (check_format_info): Use TYPE_DOMAIN on the type matched against
5279         for "z" formats, to retrieve the language size_t rather than the
5280         internal one.
5281
5282         * c-common.c (check_format_info): Do not make a pedantic objection
5283         to the 'L' length modifier if used with a floating point type
5284         character.
5285
5286         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
5287         constants in C99 mode.
5288
5289 2000-07-17  Kazu Hirata  <kazu@hxi.com>
5290
5291         * h8300.md: Fix the format of mac.
5292         (movsi_h8300hs): Output a tab after stmac instead of a space.
5293
5294         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
5295         profitable adds/subs sequences.
5296
5297         * fold-const.c: Fix comment typos.
5298
5299 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
5300
5301         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
5302
5303 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5304
5305         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
5306
5307 2000-07-16  Neil Booth  <NeilB@earthling.net>
5308
5309         * cpplex.c: Update comments.
5310         * README.Portability: Small update.
5311
5312 2000-07-16  Neil Booth  <NeilB@earthling.net>
5313
5314         * README.Portability:  Small update.
5315
5316 2000-07-15  Richard Henderson  <rth@cygnus.com>
5317
5318         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
5319         * config/ia64/ia64.c (ia64_move_ok): New function.
5320         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
5321         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
5322
5323 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
5324
5325         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
5326         immediately following a paste operator.
5327         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
5328         (cpp_reader_init): Call it, if HOST_EBCDIC.
5329         (cpp_handle_options): Do not sort option list here.
5330         (handle_option): Rename to cpp_handle_option and export.
5331         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
5332         _cpp_get_token directly.
5333         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
5334         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
5335         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
5336         cpp_scan_line.
5337
5338 2000-07-15  Richard Henderson  <rth@cygnus.com>
5339
5340         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
5341         cast around an expression.  Tidy other unsigned tests.
5342
5343 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5344
5345         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
5346         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
5347         (v_message_with_decl): Rename to ...
5348         (format_with_decl): ... this. Tweak
5349         (diagnostic_for_decl): New function.
5350         (fatal_io_error): Use verbatim in lieu of notice.
5351         (announce_function): Use verbatim.
5352         (default_print_error_function): Likewise.
5353         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
5354         infratructure.
5355
5356 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5357
5358         * mips.c (function_arg_pass_by_reference): Don't do automatic
5359         aggregate initialization.
5360         (machine_dependent_reorg): Initialize variable `mode'.
5361
5362         * mips.md (absdi2): Change variable `regno1' to unsigned int.
5363         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
5364         conflicts with sys/param.h macro of the same name.
5365         (reload_outdi): Likewise.
5366
5367 2000-07-15  Michael Meissner  <meissner@redhat.com>
5368
5369         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
5370         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
5371         create a new node instead.
5372
5373 2000-07-15  Neil Booth  <NeilB@earthling.net>
5374
5375         * README.Portability: Correct example about calling a function
5376         through a pointer to function.  Format wide paragraphs.
5377
5378 2000-07-15  Michael Meissner  <meissner@redhat.com>
5379
5380         * README.Portability: Update integer suffixes and function
5381         prototype sections.
5382
5383 2000-07-15  Neil Booth  <NeilB@earthling.net>
5384
5385         * README.Portability: Small update.
5386
5387 2000-07-15  Neil Booth  <NeilB@earthling.net>
5388
5389         * README.Portability: New file.
5390
5391 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
5392
5393         * INSTALL: Give special instructions for building GCC on Irix 6.
5394         * config/mips/x-iris6 (CC): Don't set it.
5395         (OLDCC): Likewise.
5396
5397 2000-07-14  Jason Merrill  <jason@redhat.com>
5398
5399         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
5400         register in the stack and later in another register, use the new
5401         register.
5402
5403 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
5404
5405         * config/mips/mips.md: (absdi2): Handle sign_extend for
5406         second operand.
5407
5408 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
5409
5410         * cpplib.c (do_pragma_dependency): Tidy warning messages.
5411
5412 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
5413
5414         * .cvsignore: Correct typo.
5415
5416 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
5417
5418         * .cvsignore: Add generated YACC files.
5419         * objc/.cvsignore: New file.
5420
5421 2000-07-14  Neil Booth  <NeilB@earthling.net>
5422
5423         * cpplex.c (adjust_column): New funcion.
5424         (skip_whitespace): Use it.
5425         (skip_block_comment): Use it, and warn about /*/* with
5426         -Wcomments.
5427
5428 2000-07-14  Neil Booth  <NeilB@earthling.net>
5429
5430         * cpphash.c (struct macro_info): Add new members.
5431         (_cpp_free_definition): Delete the macro directly.
5432         (count_params): Return void, with first token of
5433         expansion in struct macro_info on success.
5434         (parse_define): Return int.  Hoist syntax checking from
5435         save_macro_expansion.  Leave call to save_expansion to
5436         _cpp_create_definition.
5437         (alloc_macro): Needs just 2 arguments.
5438         (free_macro): Delete.
5439         (save_expansion): Don't perform syntax check.
5440         (_cpp_create_definition): Call save_expansion.
5441
5442 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5443
5444         * genrecog.c (write_header): Split long string.
5445
5446         * cpphash.c (macro_info): Don't use the `signed' keyword.
5447
5448         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
5449
5450 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
5451
5452         * calls.c (stored_args_map): New variable.
5453         (check_sibcall_argument_overlap_1): New.
5454         (check_sibcall_argument_overlap): New.
5455         (expand_call): Initialize stored_args_map.
5456         Call check_sibcall_argument_overlap.
5457
5458 2000-07-13  Bruce Korb  <bkorb@gnu.org>
5459
5460         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
5461         (emit_gnu_type): utility procedure for gnu_type_fix
5462         (gnu_type_fix): implement various pre-processor guards around
5463         standard types so these types can be defined over and over
5464         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
5465         types alluded to above will have GNU-compliant base types
5466         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
5467         * fixinc/inclhack.def: add test_text entries and utilize the new
5468         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
5469         * fixinc/fixincl.x: regenerate
5470
5471 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5472
5473         * diagnostic.c (vline_wrapper_message_with_location,
5474         v_message_with_file_and_line, v_error_with_file_and_file,
5475         v_error_for_asm, v_warning_for_asm, vfatal,
5476         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
5477         vsorry, verror, vwarning, vpedwarn): Remove.
5478         (diagnostic_for_asm): New function.
5479         (pedwarn, error, warning, pedwarn_with_file_and_line,
5480         error_with_file_and_line, warning_with_file_and_line, sorry,
5481         error_for_asm, warning_for_asm, fatal): Reimplement.
5482         (finish_diagnostic): Clear diagnostic info as well.
5483
5484 2000-07-13  Neil Booth  <NeilB@earthling.net>
5485
5486         * c-common.h (flag_digraphs): New.
5487         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
5488         * c-lex.c (yylex): Use flag_digraphs to decide whether to
5489         honour digraphs.
5490
5491 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
5492
5493         * gcc.c (do_spec_1): Add new %B operator.
5494         (set_input): Prepare for %B.
5495
5496         (link_command_spec): Move up with the other tm.h-
5497         overrideable specs.  Factor out the portion conditional on
5498         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
5499         (struct compiler): Just have a single spec string.  All users
5500         updated.
5501         (default_compilers): Remove unnecessary braces.
5502         (static_specs): Update.
5503
5504         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
5505         named specs.
5506         (C and assembly specs): Use the new named specs, as appropriate.
5507
5508         * objc/lang-specs.h: Use the new named specs.
5509         Remove unnecessary braces.
5510
5511 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
5512
5513         * gcc.c (execute): If a subprocess gets a fatal signal, report
5514         strsignal() of the signal number, and ask for a bug report.
5515         Do not do this for SIGPIPE if there's already been an error.
5516
5517         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
5518         Delete pipe_closed.
5519
5520         * tradcif.c: Remove.
5521
5522 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
5523
5524         * final.c (profile_function): Do not emit profile counters in
5525         the data section, if NO_PROFILE_COUNTERS is defined.
5526         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
5527         FUNCTION_PROFILER.
5528
5529         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
5530         (FUNCTION_PROFILER): Just emit a call to mcount.
5531
5532 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
5533
5534         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
5535
5536         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
5537         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
5538         traditional, lang_chill, or lang_fortran.
5539
5540         * cppfiles.c: #undef strcmp to suppress warning about macros
5541         used without arguments.
5542         (_cpp_execute_include): Use f, not fname, in "No include path"
5543         error.
5544         (_cpp_pop_file_buffer): New function.
5545         * cpplib.c: Don't include <sys/mman.h>.
5546         (cpp_push_buffer): Set line_base and lineno in new buffer.
5547         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
5548
5549         * cpplex.c: Move all prototypes and structure declarations to the
5550         top of the file.  Properly parenthesise some macro arguments.
5551         (cpp_scan_line): New function.
5552         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
5553         don't need to walk up the stack counting.
5554
5555 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5556
5557         * c-common.c (combine_strings): Emit a pedantic warning when a
5558         string length is greater than the minimum ANSI C is required
5559         to support.
5560
5561 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
5562
5563         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
5564         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
5565
5566 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5567
5568         * c-decl.c (define_label): Warn about identifier conflicts with
5569         labels in traditional C.
5570
5571         * c-parse.in (unop +): Warn about the unary plus operator for
5572         traditional C.
5573
5574         * c-typeck.c (store_init_value): Warn about automatic aggregate
5575         initialization for traditional C.
5576
5577         * invoke.texi (-Wtraditional): Document new warnings.
5578
5579 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
5580
5581         * Makefile.in (c-errors.o): Fix thinko in dependency.
5582
5583 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
5584
5585         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
5586         -traditional, -ftraditional, or -traditional-cpp was given.
5587         Do not pass -traditional to the preprocessor.
5588         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
5589         preprocessor does it automatically.
5590         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
5591
5592         * ch/lang-specs.h: Always use tradcpp.  Do not pass
5593         -traditional, -trigraphs, or -pedantic to the preprocessor.
5594         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
5595         _LANGUAGE_FORTRAN.
5596
5597 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
5598
5599         * cppexp.c (LOGICAL): Delete macro.
5600         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
5601         and && directly.
5602
5603         * cpphash.c (HASHSIZE): Increase to 4096.
5604         (struct hashdummy): Add hash field.
5605         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
5606         the string values using memcmp.
5607         (cpp_lookup): Set dummy.hash.
5608
5609 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
5610
5611         * configure.in (m88k-openbsd): Express configuration using new fragment
5612         style.
5613         * configure: Rebuilt.
5614         * m88k/aout-dbx.h: New.
5615         * m88k/openbsd.h: New.
5616         * m88k/xm-openbsd.h: New.
5617
5618 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5619
5620         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
5621
5622 2000-07-12  Richard Henderson  <rth@cygnus.com>
5623
5624         * reload.c (push_secondary_reload): Make sure to add the new
5625         reload at the end, after acquiring secondary memory.
5626
5627 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5628
5629         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
5630
5631         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
5632         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
5633
5634         * c-parse.in (stmt): Delete unused variables.
5635
5636         * convert.c (convert_to_vector): Likewise.
5637
5638         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
5639
5640         * tree.c (finish_vector_type): Prototype.
5641
5642 2000-07-12  Bruce Korb  <bkorb@gnu.org>
5643
5644         * fixinc/fixfixes.c: use xmalloc
5645         * fixinc/fixincl.c(initialize): set program name for xmalloc
5646         * fixinc/fixlib.c(must_malloc): obsolete
5647         (is_cxx_header): no longer used - disabled
5648         (skip_quote): inserted and disabled for future use
5649         * fixinc/fixlib.h: reflects above
5650         * fixinc/fixtests.c: removed dinkleberries
5651
5652 2000-07-12  Neil Booth  <NeilB@earthling.net>
5653
5654         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
5655         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
5656
5657         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
5658         struct toklist_dummy): New.
5659         (cpp_free_definition): Free macros with free_macro.
5660         (count_params): Don't save paramter spellings.  Save macro
5661         information in a struct macro_info.
5662         (parse_define): Don't allocate a token list.
5663         (save_expansion): Allocate the macro's token list, and
5664         save parameter spellings if necessary.  Use TOKEN_SPELL.
5665         (cpp_create_definition): Make list const.
5666
5667 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
5668
5669         * c-typeck.c (pedwarn_c99): Move to
5670         * c-errors.c: ... Here.
5671         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
5672         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
5673         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
5674         (c-errors.o): List dependency.
5675
5676 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
5677
5678         * c-parse.c: Remove.
5679         * c-parse.h: Likewise.
5680         * c-parse.y: Likewise.
5681         * objc/objc-parse.c: Likewise.
5682         * objc/objc-pasre.y: Likewise.
5683
5684 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
5685
5686         * gcc.texi: Fix minor typos
5687         * extend.texi: Fix minor typos
5688
5689 2000-07-11  Marc Espie <espie@openbsd.org>
5690
5691         * collect2.c (main): Recognize .lo as object files.
5692
5693 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
5694
5695         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
5696         true.
5697
5698         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
5699         with MAP_ANONYMOUS and MAP_ANON.
5700         * configure, config.in: Rebuilt.
5701
5702 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
5703
5704         * diagnostic.c (save_output_state): Remove.
5705         (restore_output_state): Likewise.
5706         (clear_text_info): New function.
5707         (clear_diagnostic_info): Likewise.
5708         (output_text_length, is_starting_newline, output_prefix,
5709         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
5710         prefixing_policy, output_buffer_ptr_to_format_args): New macros
5711         (set_real_maximum_length, output_set_maximum_length,
5712         output_set_prefix, output_get_prefix, output_set_maximum_length,
5713         output_destroy_prefix, init_output_buffer,
5714         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
5715         output_add_newline, output_add_character, output_add_space,
5716         output_append_r, output_append, wrap_text, output_format,
5717         output_do_printf, output_printf, output_do_verbatim,
5718         output_verbatim, verbatim): Use them.
5719         (output_clear): Split into cleat_text_info and
5720         clear_diagnostic_info.
5721         (struct output_state): Move to...
5722
5723         * diagnostic.h: ...Here
5724         (struct output_buffer): Adjust.
5725
5726 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
5727
5728         * cpplex.c (parse_name): No longer inline (premature optimization).
5729         (do_pop_context): Fold into pop_context.
5730         (pop_context): Returns int.
5731         (lex_next): Hoist test for end of directive into pop_context.
5732         (push_macro_context): Returns int; takes just reader and token.
5733         Hoist test for excessive nesting to caller.
5734         (push_arg_context): Returns void; takes just reader and token.
5735         Do not call stringify_arg or get_raw_token.
5736         (get_raw_token): Convert tail recursion through push_arg_context
5737         to a loop at this level.  Call stringify_arg here if appropriate.
5738         (maybe_paste_with_next): Convert tail recursion to a while loop.
5739         Hoist test of paste_level to caller.
5740
5741         (stringify_arg): Push arg context at beginning.
5742         (cpp_get_token): Split out core into _cpp_get_token.  Call
5743         process_directive here.  Throw away CPP_PLACEMARKER tokens.
5744         (_cpp_get_token): Convert tail recursion through
5745         push_macro_context to a loop at this level.
5746         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
5747         _cpp_get_raw_token): Use _cpp_get_token.
5748         (_cpp_skip_rest_of_line): Drop the context stack directly; do
5749         not call pop_context.
5750         (_cpp_run_directive): Call lex_next directly.
5751
5752         * cpphash.h: Prototype _cpp_get_token.
5753         * cppexp.c (lex): Use it.
5754         * cpphash.c (parse_define): Use it.
5755         * cpplib.c (get_define_node, do_undef, parse_include,
5756         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
5757         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
5758         parse_ifdef, validate_else): Use it.
5759         (cpp_push_buffer): Tweak error message; abort if anyone tries
5760         to push a buffer while macro expansions are stacked.
5761
5762 2000-07-11  Donn Terry  <donnte@microsoft.com>
5763
5764         * cpplex.c (free_macro_args, save_token): Cast arg of free
5765         and/or xrealloc to PTR.
5766         (_cpp_init_input_buffer): Clear all fields of the base context.
5767
5768 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
5769
5770         * gensupport.c (process_rtx): Make rtl checking stop
5771         complaining about the define_insn while it is being
5772         converted from a define_insn_and_split.
5773
5774 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
5775
5776         * config/mips/mips.c (simple_memory_operand): Access the
5777         INTVAL of the address, not it's containing MEM.
5778
5779 2000-07-11  Bruce Korb  <bkorb@gnu.org>
5780
5781         * fixinc/fixtests.c(double_slash): obsolete
5782         (else_endif_label): likewise
5783         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
5784         (libc1_ifdefd_memx): correct initial comment
5785         and omit the #if/#endif pair from the memxxx declarations
5786         * fixinc/fixincl.x: regen
5787
5788 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5789
5790         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
5791
5792 2000-07-11  Neil Booth  <NeilB@earthling.net>
5793
5794         * cpp.texi: Update.
5795
5796 2000-07-11  Neil Booth  <NeilB@earthling.net>
5797
5798         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
5799         (handle_option): Set digraphs according to standard.
5800         Merge OPT_lang_c89 handler with OPT_std_c89.
5801
5802         * cpplex.c: (lex_line, can_paste): Honour digraphs in
5803         accordance with the digraphs flag.
5804
5805         * cpplib.h: (struct cpp_options): New option digraphs.
5806
5807 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
5808             Bruce Korb  <bkorb@gnu.org>
5809
5810         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
5811         * fixinc/fixincl.x: Regenerate.
5812         * fixinc/tests/base/testing.h: Add testcase.
5813
5814 2000-07-10  Richard Henderson  <rth@cygnus.com>
5815
5816         * config/ia64/ia64.c (got_symbolic_operand): New.
5817         (symbolic_operand, move_operand): Revert 0701 change.
5818         * config/ia64/ia64.h (PREDICATE_CODES): Update.
5819         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
5820         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
5821         split the offset into a 14-bit low part instead of a 13-bit low part.
5822         (load_fptr): Mark the mem as unchanging.
5823         (load_symptr): Use got_symbolic_operand.
5824
5825 2000-07-10  Nick Clifton  <nickc@cygnus.com>
5826
5827         * libgcc2.c (next_stack_level): Cast result of computation to
5828         (void **) so that the assignment does not generate a warning.
5829
5830 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
5831
5832         * flags.h : Add new variable flag_single_precision_constant.
5833         * toplev.c (display_help) : Add -fsingle-precision-constant option.
5834         (flag_single_precision_constant): New.
5835         * c-lex.c (yylex): Convert floating point constant to single
5836         precision constant.
5837         * invoke.texi : Add documentation for this new option.
5838
5839 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5840
5841         * diagnostic.c (output_octal): Second parameter is unsigned.
5842         (output_long_octal): Likewise.
5843         (output_hexadecimal): Likewise.
5844         (output_long_hexadecimal): Likewise.
5845         (output_format): Adjust arguments extraction. Tweak.
5846         (output_verbatim, verbatim): End variable argument list.
5847         (report_diagnostic): Improve documentation.
5848
5849 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
5850
5851         * c-common.h (build_stmt): Declare.
5852         (build_continue_stmt): Likewise.
5853         (build_break_stmt): Likewise.
5854         (build_return_stmt): Likewise.
5855
5856         * c-decl.c (do_case): Rewrite to do what previously done in
5857         c-parse.in.
5858
5859         * c-semantics.c (build_stmt): Define.
5860         (build_return_stmt): Likewise.
5861         (build_break_stmt): Likewise.
5862         (build_continue_stmt): Likewise.
5863         (build_case_label): Likewise.
5864
5865         * c-parse.in (BREAK): Change to build tree, then generate RTL.
5866         (CONTINUE): Likewise.
5867         (RETURN): Likewise.
5868         (CASE): Likewise.
5869         (DEFAULT): Likewise.
5870
5871         * c-parse.y: Regenerate.
5872         * c-pasre.c: Likewise.
5873
5874 2000-07-09  Jason Merrill  <jason@redhat.com>
5875
5876         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
5877
5878         * tree.h (STRIP_NOPS): Check for error_mark_node.
5879         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
5880         (dwarf2out_*): Remove duplicate declarations.
5881
5882         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
5883         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
5884
5885 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5886
5887         * diagnostic.c (wrap_text): New function.
5888         (maybe_wrap_text): Likewise.
5889         (output_add_string): Use it.
5890         (output_format): Likewise.
5891         (count_error): Use verbatim instead of notice.
5892         (report_error_function): Likewise. Don't use plain fprintf.
5893         (finish_diagnostic): New function.
5894         (output_do_verbatim): Tweak.  Commonalize functionalities in
5895         output_verbatim and verbatim.
5896         (output_verbatim): Adjust.
5897         (verbatim): Likewise.
5898         (report_diagnostic): Define.
5899
5900         * diagnostic.h (report_diagnostic): Prototype.
5901
5902 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
5903
5904         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
5905
5906 2000-07-09  Neil Booth  <NeilB@earthling.net>
5907
5908         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
5909         IShspace, ISspace: Update.
5910
5911         * cppinit.c: ISTABLE: Update.
5912         V: New.
5913
5914         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
5915         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
5916         (skip_block_comment, skip_line_comment, parse_string,
5917         lex_line): Use is_vspace rather than IS_NEWLINE.
5918         (skip_whitespace, lex_line): Clean up to use is_nvspace.
5919         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
5920         gets a BOL flag.
5921         (lex_next): Unconditionally stop if within a directive.
5922         Treat directives within macro invocations as directives
5923         (after parse_args emits error), not as the argument.
5924
5925 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
5926
5927         * diagnostic.c (diagnostic_args): New macro.
5928         (diagnostic_msg): Likewise.
5929         (output_formatted_integer): Likewise.
5930         (output_state): New data type.
5931         (digit_buffer): Make global.
5932         (output_add_integer): Rename to output_decimal. Squeeze
5933         digit_buffer.
5934         (output_long_decimal, output_unsigned_decimal,
5935         output_long_unsigned_decimal, output_octal, output_long_octal,
5936         output_hexadecimal, output_long_hexadecimal): New functions.
5937         (output_append_r): New function.
5938         (output_append): Tweak.
5939         (output_flush_on): Rename to output_to_stream.
5940         (output_format): Change prototype.  Improve documentation. Handle
5941         more format specifiers.
5942         (build_location_prefix): Rename to context_as_prefix.
5943         (output_notice): Rename to output_do_printf.
5944         (output_printf): Tweak.
5945         (line_wrapper_printf): Likewise.
5946         (vline_wrapper_message_with_location): Adjust call to renamed
5947         functions.
5948         (v_message_with_decl): Likewise.
5949         (default_print_error_function): Likewise.
5950         (save_output_state): New function.
5951         (restore_output_state): Likewise.
5952         (output_do_verbatim): Likewise.
5953         (output_verbatim): Define.
5954         (verbatim): Likewise.
5955
5956         * diagnostic.h (printer_fn): Change return type from void to int.
5957         Improve documentation.
5958         (output_add_integer): Rename to output_decimal.
5959         (output_flush_on, output_format): Don't export.
5960         (output_verbatim, verbatim): Declare.
5961
5962 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
5963
5964         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
5965         Check whether c divides op1 exactly if operation is not
5966         multiplication.
5967
5968 2000-07-08  Richard Henderson  <rth@cygnus.com>
5969
5970         * final.c (final): Do not abort when reg-stack introduces
5971         a new insn.
5972
5973 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
5974
5975         * cpplib.h (struct cpp_name): Now struct cpp_string.
5976         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
5977         CPP_HEADER_NAME): Change to type S.
5978         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
5979         field, a cpp_hashnode *.  All references to val.name updated
5980         to use val.str or val.node as appropriate.
5981         (struct cpp_reader): Add spec_nodes field.
5982         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
5983
5984         * cpphash.h (struct spec_nodes): New.
5985         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
5986         val.str.  All references to 'spelling > SPELL_NONE' updated to
5987         match.
5988
5989         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
5990         pfile->buffer->inc are not NULL before dereferencing them.
5991
5992         * cpplex.c (parse_name): Take a pointer to the current token,
5993         plus current position and limit as args; return the new
5994         position; don't copy the text of a name into the string
5995         buffer, instead call cpp_lookup and store the node pointer.
5996         If extending a token, copy out the text of the old into a
5997         scratch buffer, append the new, look that up and store the new
5998         node pointer.  Inline.
5999         (maybe_paste_with_next): If the result of paste is a NAME,
6000         then look up the pasted text and store its node pointer.
6001         (lex_line): Adjust for new parse_name interface.
6002         Check for L"str", L'str' using spec_nodes->n_L.
6003         (spell_token): SPELL_IDENT tokens have their spelling in
6004         val.node->name.  Handle SPELL_STRING tokens that don't have
6005         string delimiters.
6006         (_cpp_expand_name_space,
6007         (can_paste): Check for L ## "str" using spec_nodes->n_L.
6008         (cpp_get_token, special_symbol): No need to call cpp_lookup.
6009         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
6010         return 1=equal 0=not, not a tristate.
6011
6012         * cpphash.c (var_args_str): Delete.
6013         (find_param): Compare node fields directly.
6014         (is__va_args__): Use CPP_PEDANTIC.  Just compare
6015         token->val.node with spec_nodes->n__VA_ARGS__.
6016         (dump_funlike_macro): Don't use var_args_str.
6017
6018         * cpplib.c (_cpp_check_directive): Just walk through
6019         spec_nodes->dirs comparing pointers.
6020         (get_define_node, do_pragma_poison, detect_if_not_defined,
6021         parse_ifdef): The identifier has already been looked up.
6022         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
6023         node.
6024         (do_if): Only call detect_if_not_defined at beginning of file.
6025         (_cpp_parse_assertion): Only copy string pointers for
6026         SPELL_STRING tokens.
6027         (pragma_dispatch): Take a node pointer and examine its name
6028         field.
6029         (_cpp_init_stacks): Also initialize the spec_nodes structure.
6030
6031         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
6032         _cpp_init_macros.
6033         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
6034         reverse order from the corresponding _cpp_init_* routines.
6035
6036         * cppexp.c (parse_number, parse_charconst, parse_defined,
6037         lex): Check val.node->type instead of calling cpp_defined.
6038         Use spec_nodes entries where appropriate.
6039
6040         * fix-header.c, scan-decls.c: Update for interface changes.
6041
6042 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
6043
6044         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
6045         emitting aux_truncdfsf2.
6046
6047 2000-07-03  Donn Terry  (donnte@microsoft.com)
6048
6049         * cppinit.c (print_help): split overlong line into ISO C89
6050         maximum chunks.
6051
6052 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
6053
6054         * cppexp.c: Update all code for new lexer interface.
6055         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
6056         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
6057         * cpplex.c (token_names): Trim leading CPP_ from names; make
6058         the strings unsigned.
6059         (_cpp_spell_operator): New.
6060         (is_macro_disabled): Disable all macros if rescanning
6061         preprocessed text.
6062         (_cpp_get_directive_token): Remove.
6063
6064         * cppinit.c: Don't set no_macro_expand.
6065         * cpplib.c (read_line_number, do_line): Check only for EOF,
6066         not VSPACE.
6067         * cpphash.h: Update prototypes.
6068         * cpplib.h (CPP_VSPACE): Remove.
6069         (struct cpp_reader): Remove no_macro_expand.
6070
6071 2000-07-08  Neil Booth  <NeilB@earthling.net>
6072
6073         * cpphash.c (is__va_args__): New function.
6074         (count_params): Fix line reported in error messages.  Use
6075         is__va_args__.  Don't return ')' on error.  Flag GNU style
6076         rest args macro definitions.
6077         (parse_define): Check macro name is not __VA_ARGS__.
6078         (save_expansion): Check identifier in non-varargs-macro is
6079         not __VA_ARGS__.  Don't flag GNU_VARARGS.
6080         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
6081         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
6082          than per-token GNU_VARARGS.
6083         * cpplib.h (GNU_VARARGS): Remove.
6084         (GNU_REST_ARGS): New.
6085
6086 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6087
6088         * i386.md (call_pop, call, call_value_pop): Do not set
6089         current_function_uses_pic_offset_table for calls to static
6090         functions or indirect calls.
6091
6092 2000-07-07  Jim Wilson  <wilson@cygnus.com>
6093
6094         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
6095         is_predicate_reg, then take max write_count of register pair.
6096
6097 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6098
6099         * tradcpp.c (main): Rename label `include' to `add_include' to
6100         avoid conflicts with variable `include' in traditional C.
6101
6102 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
6103
6104         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
6105
6106 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
6107
6108         * sibcall.c (uses_addressof): Add INMEM argument, check for
6109         current_function_internal_arg_pointer outside of MEM rtxs in addition
6110         to ADDRESSOFs.
6111         (sequence_uses_addressof): Update caller.
6112
6113 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
6114
6115         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
6116         and friends.
6117
6118 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6119
6120         * system.h (UNION_INIT_ZERO): New macro for initializing union
6121         members in structs.
6122
6123         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
6124
6125 2000-07-07  Neil Booth  <NeilB@earthling.net>
6126
6127         * cpp.texi: Update.
6128
6129 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
6130
6131         * final.c (final): Detect out of bounds array access to
6132         the insn_lengths array.
6133
6134 2000-07-07  Kazu Hirata  <kazu@hxi.com>
6135
6136         * fold-const.c (fold): Fix a comment typo.
6137
6138 2000-07-07  Neil Booth  <NeilB@earthling.net>
6139
6140         * cpp.texi: Update to new lexer.
6141
6142 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
6143
6144         * tradcpp.c: New file.
6145         * tradcif.y: New file.
6146         * tradcif.c: New generated file.
6147
6148         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
6149         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
6150         dependencies of C.  Install tradcpp from install-common, in
6151         $(libsubdir).
6152
6153 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
6154
6155         * cppinit.c: Include cppdefault.h.  Refer to
6156         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
6157         to GCC_INCLUDE_DIR and its length.
6158         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
6159         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
6160         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
6161         cppdefault.h.
6162         (include_defaults_array): Move to cppdefault.c.
6163
6164         * cppdefault.h: New file.
6165         * cppdefault.c: New file.
6166
6167         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
6168         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
6169         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
6170         this file.
6171
6172 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6173
6174         * reload.c (push_reload): When seeing if can reuse a register,
6175         check extra registers against widest of INMODE and OUTMODE.
6176
6177 2000-07-06  Neil Booth  <NeilB@earthling.net>
6178
6179         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
6180         based on full length of predicate.
6181
6182 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
6183
6184         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
6185         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
6186
6187 2000-07-05  Kazu Hirata  <kazu@hxi.com>
6188
6189         * h8300-proto.h: Fix formatting.
6190         * h8300.c: Likewise.
6191         * h8300.h: Likewise.
6192
6193 2000-07-05  Jim Wilson  <wilson@cygnus.com>
6194
6195         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
6196         CCmode.
6197
6198 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
6199
6200         * invoke.texi: Fix minor typos
6201         * md.texi: Fix minor typos
6202
6203 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
6204
6205         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
6206
6207 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
6208
6209         * cpplex.c: Don't include sys/mman.h.
6210         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
6211
6212         * cpplib.c: Include sys/mman.h and obstack.h.
6213         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
6214         obstack.
6215         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
6216         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
6217         bother freeing if stack entries (they will be freed with their buffer).
6218         (do_endif): Free if stack entries from the buffer obstack.
6219         (push_conditional): Allocate if stack entries from the buffer obstack.
6220
6221         (find_answer): Rename to _cpp_find_answer.
6222         (do_assert, do_unassert): Update.
6223
6224         * cpphash.h: Update prototypes.
6225         (xobnew): New convenience macro.
6226         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
6227         Update comments.
6228         (struct cpp_hashnode): Remove disabled field.
6229
6230         * cppinit.c: Don't include hashtab.h or splay-tree.h.
6231         (report_missing_guard): Moved to cppfiles.c.
6232         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
6233         cpp_init_includes.
6234         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
6235         cpp_cleanup_includes.  Don't destroy hashtab or
6236         all_include_files here.
6237         (cpp_finish): Use _cpp_report_missing_guards.
6238
6239         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
6240         (_cpp_init_include_table): Rename _cpp_init_includes.
6241         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
6242
6243         * cppexp.c (parse_assertion): Update for new name of
6244         find_answer.
6245
6246         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
6247
6248 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
6249
6250         * cpplib.c (do_ident): s/VSPACE/EOF/
6251
6252 2000-07-05  Neil Booth  <NeilB@earthling.net>
6253
6254         * cpplex.c: Fix trigraph replacement within strings.
6255
6256 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6257
6258         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
6259
6260         * xcoffout.c (assign_type_number): Constify.
6261         (xcoffout_source_file): Add static prototype.  Don't needlessly
6262         cast away const-ness.
6263
6264 2000-07-04  Jason Merrill  <jason@redhat.com>
6265
6266         * frame.h (frame_state): Move base_offset to end.
6267
6268 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
6269
6270         * calls.c (emit_library_call_value_1): Revert previous change.
6271
6272 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
6273
6274         * fix-header.c (struct partial_proto): Remove unnecessary fields.
6275         (recognized_extern, recognized_function, read_scan_file):
6276         Update for new scheme.
6277         (check_protection): It's still a multiple include guard even
6278         if it doesn't always trigger.
6279         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
6280         new scheme.
6281         * scan.h: Declare struct cpp_token.  Update prototypes.
6282
6283 2000-07-03  Neil Booth  <neilb@earthling.net>
6284             Zack Weinberg  <zack@wolery.cumb.org>
6285
6286         Complete overhaul of the lexer and macro expander.
6287
6288         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
6289         arg, arglist, argdata, reflist, collect_objlike_expansion,
6290         collect_funlike_expansion, collect_params,
6291         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
6292         unsafe_chars, macarg, compare_defs, special_symbol,
6293         scan_arguments, stringify, funlike_macroexpand,
6294         _cpp_quote_string, monthnames): Delete.
6295         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
6296         _cpp_create_definition, _cpp_dump_definition,
6297         dump_hash_helper): Adjust.
6298         (find_param, count_params, parse_define, var_args_str,
6299         check_macro_redefinition, save_expansion): New.
6300
6301         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
6302         parse_string, output_line_command, trigraph_replace,
6303         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
6304         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
6305         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
6306         _cpp_skip_rest_of_line): Modify.
6307
6308         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
6309         find_position, null_warning, bump_column, expand_name_space,
6310         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
6311         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
6312         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
6313         _cpp_prescan): Delete.
6314
6315         (dump_param_spelling, process_directive, lex_next,
6316         is_macro_disabled, stringify_arg, expand_context_stack,
6317         output_token, make_string_token, alloc_number_token,
6318         special_symbol, duplicate_token, maybe_paste_with_next,
6319         can_paste, prevent_macro_expansion, restore_macro_expansion,
6320         get_temp_token, release_temp_tokens, quote_string,
6321         token_names, token_spellings, _cpp_expand_name_space,
6322         _cpp_glue_header_name, _cpp_reserve_name_space,
6323         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
6324         placemarker_token, eof_token, cpp_context, macro_args,
6325         get_raw_token, parse_arg, parse_args, save_token,
6326         push_arg_context, push_macro_context, pop_context,
6327         do_pop_context, free_macro_args, _cpp_get_line,
6328         _cpp_run_directive): New.
6329
6330         * cpplib.c (validate_else, parse_include, push_conditional,
6331         pass_thru_directive, read_line_number, parse_ifdef,
6332         detect_if_not_defined, _cpp_check_directive, do_define,
6333         do_undef, do_include, do_import, do_include_next, do_error,
6334         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
6335         top_pragmas, do_pragma_gcc, do_pragma_implementation,
6336         do_pragma_poison, do_pragma_system_header,
6337         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
6338         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
6339         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
6340         cpp_defined): Update for new scheme.
6341         (strtoul_for_line, get_define_node, dump_macro_name,
6342         _cpp_check_linemarker, _cpp_parse_assertion): New.
6343         (_cpp_handle_directive, do_pragma_default): Delete.
6344
6345         * cpphash.h (struct predicate): Now struct answer.
6346         (enum spell_type, struct token_spelling, struct directive,
6347         directive_handler): New.
6348         Update prototypes.  Remove unused macros.
6349         * cpplib.h: Update prototypes.  Remove unused macros,
6350         structure definitions, and fields.
6351
6352         * cpperror.c (print_containing_files, v_message): Adjust.
6353         * cppexp.c (parse_assertion, lex, parse_escape,
6354         _cpp_parse_expr): Adjust.
6355         * cppfiles.c (open_include_file, _cpp_execute_include,
6356         _cpp_compare_file_date, cpp_read_file, read_include_file):
6357         Adjust.
6358         * cppinit.c (dump_special_to_buffer): Delete.
6359         (append_include_chain, merge_include_chains, cpp_reader_init,
6360         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
6361         cpp_finish, handle_option, print_help): Adjust.
6362         * cppmain.c (main): Adjust.
6363
6364 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
6365
6366         * cppspec.c (lang_specific_driver): Use double quotes in error
6367         message.
6368
6369 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
6370
6371         * calls.c (emit_library_call_value_1): Use valreg instead
6372         of hard_libcall_value.
6373
6374 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
6375
6376         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
6377         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
6378         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
6379         (movhi): Likewise.
6380         (movqi): Likewise.
6381         (movdf): Likewise.
6382         (movsf): Likewise.
6383         (movdi): Likewise.
6384         (movti): Likewise.
6385
6386         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
6387         mode instead of wider_mode is being used.
6388
6389 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
6390
6391         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
6392         of 'r'. Use q_regs_operand.
6393         (andsi_1+2): Use q_regs_operand.
6394
6395 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
6396
6397         * builtins.c (get_memory_rtx): Always put into alias set 0.
6398
6399 2000-07-03  Nick Clifton  <nickc@cygnus.com>
6400
6401         * config/arm/arm.md: Fix post increment and pre increment
6402         peepholes so that they do not generate UNPREDICATBLE opcodes.
6403         (ie ones where the increment clobbers the source/destination).
6404
6405 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
6406
6407         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
6408         change too big for -mtiny-stack" a warning, if larger than 63.
6409         (out_set_stack_ptr): Change the logic so -mno-interrupts is
6410         always safe to use on possible future devices.
6411         (function_prologue): Write SPH before SPL, for consistency.
6412         If interrupt_func_p true, we know we have enabled interrupts.
6413         (avr_num_arg_regs): New function.  Round up to even number of
6414         bytes if no -mpack-args or if calling a libgcc function.
6415         (function_arg, function_arg_advance): Use it.
6416         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
6417         Output "movw" if available.
6418         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
6419         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
6420         (asm_output_section_name): Add blanks for consistent output.
6421         (encode_section_info): Set TREE_READONLY for progmem data to
6422         avoid gas warnings about changed section attributes.
6423         (avr_hard_regno_mode_ok): Force non-QImode data to start in
6424         even numbered registers on devices with "movw".
6425         * config/avr/avr.h (MASK_*): Define bits for target_flags.
6426         (TARGET_SWITCHES): Mark help strings for translation.
6427         Add new -mpack-args and -menhanced switches.
6428         (TARGET_OPTIONS): Mark help strings for translation.
6429         (progmem_section): Add section attributes.
6430         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
6431         Output "movw" if available.
6432         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
6433         New patterns.
6434         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
6435         call convention (arguments aligned on even registers).
6436         (_cleanup, _exit): Make weak symbols libc can override.
6437
6438 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6439
6440         * fp-bit.h: New file.
6441
6442         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
6443         Comment #endif statements.
6444         (__thenan_sf, __thenan_df): Add missing braces around initializer.
6445
6446 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
6447
6448         * gcse.c (compute_pre_data): Compute ae_kill using other local
6449         properties instead of calling compute_ae_kill.
6450
6451         * alias.c (init_alias_analysis): Do not call
6452         prologue_epilogue_contains until after reload has completed.
6453
6454 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
6455
6456         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
6457         (genrtl_finish_compound_stmt): Likewise.
6458         (genrtl_compound_stmt): Change to return void.
6459
6460         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
6461         move code from here to ...
6462         (genrtl_compound_stmt): ... here.
6463         (genrtl_finish_compound_stmt): Remove.
6464         (expand_stmt): Add comment.
6465
6466 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
6467
6468         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
6469         and VOID_TYPE_P.
6470
6471 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
6472
6473         * cpplib.h (struct cpp_reader): New field include_depth.
6474         (struct cpp_printer): Rename last_bsd to last_id.
6475         * cppfiles.c (read_include_file): Bump include_depth.
6476         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
6477         (output_line_command): Output correct #line if a header
6478         is including itself and is not protected against multiple inclusion.
6479         Use include_depth instead of buffer_stack_depth, last_id instead of
6480         last_bsd.
6481         * cppinit.c (cpp_start_read): Initialize last_id instead of
6482         last_bsd.
6483
6484 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
6485
6486         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
6487         (c-semantics.o): New target.
6488
6489         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
6490         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
6491         (genrtl_clear_out_block): Likewise.
6492         (genrtl_goto_stmt): Likewise.
6493         (genrtl_expr_stmt): Likewise.
6494         (genrtl_decl_stmt): Likewise.
6495         (genrtl_if_stmt): Likewise.
6496         (genrtl_while_stmt): Likewise.
6497         (genrtl_do_stmt): Likewise.
6498         (genrtl_return_stmt): Likewise.
6499         (genrtl_for_stmt): Likewise.
6500         (genrtl_break_stmt): Likewise.
6501         (genrtl_continue_stmt): Likewise.
6502         (genrtl_scope_stmt): Likewise.
6503         (genrtl_switch_stmt): Likewise.
6504         (genrtl_case_label): Likewise.
6505         (genrtl_begin_compound_stmt): Likewise.
6506         (gerntl_finish_compound_stmt): Likewise.
6507         (genrtl_compound_stmt): Likewise.
6508         (genrtl_asm_stmt): Likewise.
6509         (genrtl_decl_cleanup): Likewise.
6510         (DECL_ANON_UNION_ELEMS): Likewise.
6511         (emit_local_var): Likewise.
6512         (make_rtl_for_local_static): Likewise.
6513         (expand_cond): Likewise.
6514         (expand_stmt): Likewise.
6515         (c_expand_return): Likewise.
6516         (c_expand_start_case): Likewise.
6517         (do_case): Likewise.
6518         (COMPOUND_STMT_NO_SCOPE): Likewise.
6519         (c_expand_asm_operands): Likewise.
6520         (NEW_FOR_SCOPE_P): New macro.
6521         (expand_expr_stmt_fn): New type.
6522
6523         (set_current_function_name_declared): Likewise.
6524         (current_function_name_declared): Likewise.
6525         (lang_expand_stmt): Likewise.
6526         (stmts_are_full_exprs_p): Likewise.
6527         (anon_aggr_type_p): Likewise.
6528         (lang_expand_expr_stmt): Likewise.
6529         (build_case_label): Likewise.
6530
6531         * c-decl.c (lang_expand_expr_stmt): Initialize.
6532         (stmts_are_full_exprs_p): Define.
6533         (current_function_name_declared): Likewise.
6534         (do_case): Likewise.
6535         (lang_expand_stmt): Likewise.
6536         (set_current_function_name_declared): Likewise.
6537         (anon_aggr_type_p): Likewise.
6538
6539         * c-semantics.c: New file.
6540         (expand_cond): Moved from cp/semantics.c.
6541         (genrtl_do_pushlevel): Likewise.
6542         (genrtl_clear_out_block): Likewise.
6543         (genrtl_goto_stmt): Likewise.
6544         (genrtl_expr_stmt): Likewise.
6545         (genrtl_decl_stmt): Likewise.
6546         (genrtl_if_stmt): Likewise.
6547         (genrtl_while_stmt): Likewise.
6548         (genrtl_do_stmt): Likewise.
6549         (genrtl_return_stmt): Likewise.
6550         (genrtl_for_stmt): Likewise.
6551         (genrtl_break_stmt): Likewise.
6552         (genrtl_continue_stmt): Likewise.
6553         (genrtl_scope_stmt): Likewise.
6554         (genrtl_switch_stmt): Likewise.
6555         (genrtl_case_label): Likewise.
6556         (genrtl_begin_compound_stmt): Likewise.
6557         (genrtl_finish_compound_stmt): Likewise.
6558         (genrtl_compound_stmt): Likewise.
6559         (genrtl_asm_stmt): Likewise.
6560         (genrtl_decl_cleanup): Likewise.
6561         (make_rtl_for_local_static): Moved from cp/decl.c.
6562         (emit_local_var): Likewise.
6563         (expand_stmt): Define.
6564
6565         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
6566         (c_expand_return): Likewise.
6567         (c_expand_start_case): Likewise.
6568
6569 2000-07-01  Richard Henderson  <rth@cygnus.com>
6570
6571         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
6572         with the low 13 bits set.
6573         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
6574         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
6575         of the low 13 bits into a CONST plus an adddi3.
6576         (load_symptr): Set RTX_UNCHANGING_P.
6577
6578 See ChangeLog.3 for earlier changes.
6579