OSDN Git Service

* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-06-25  Philipp Thomas  <pthomas@suse.de>
2
3         * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
4         compiler found.
5         AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
6         * configure: Rebuilt.
7         
8 2000-06-25  John David Anglin  <dave.anglin@nrc.ca>
9
10         * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.
11
12 2000-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13
14         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
15         libgcc.a.
16
17 2000-06-24  Marc Espie <espie@cvs.openbsd.org>
18
19         * collect2.c (resolve_lib_name): Move '/' check to more rational place.
20
21 2000-06-24  Dirk Duellmann  <Dirk.Duellmann@cern.ch>
22
23         * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0.
24
25 2000-06-24  Jakub Jelinek  <jakub@redhat.com>
26
27         * stmt.c (expand_decl_cleanup): Emit a dummy insn after
28         last_unconditional_cleanup.
29
30 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
31
32         * tree.def (VECTOR_TYPE): New node type.
33         * tree.h: Adjust some comments to reflect addition of vector types.
34         (TYPE_VECTOR_SUBPARTS): New macro.
35         * stor-layout.c (layout_type): Handle VECTOR_TYPE.
36         * c-convert.c (convert): Likewise.
37         * convert.c (convert_to_integer): Handle vector modes.
38         (convert_to_vector): New function.
39         * convert.h (convert_to_vector): Declare.
40         * expr.c (convert_move): Handle vector modes.
41         * expmed.c (extract_bit_field): Don't abort for vector modes.
42
43 2000-06-24  Marek Michalkiewicz  <marekm@linux.org.pl>
44
45         * config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
46         * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr):
47         New functions, common code moved from function_{prologue,epilogue}
48         and extended to support the -mtiny-stack option.
49         (function_prologue, function_epilogue): Use them.
50         Use lo8/hi8 consistently for asm output readability.
51         (avr_hard_regno_mode_ok): New function.
52         * config/avr/avr.h (TARGET_SWITCHES): Fix typo.  Add -mtiny-stack.
53         (UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c.
54         (HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function.
55         * config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack.
56         Write SPH before SPL.
57         (*movqi): No need to disable interrupts for just one "out"
58         in alternative 5.  Change length attribute from 4 to 1.
59         * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
60         Write SPH before SPL.
61
62 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
63
64         * rtl.texi (Vector Operations): New node.
65         (Arithmetic): Add ss_plus, us_plus, ss_minus, us_minus.
66         (Conversions): Add ss_truncate, us_truncate.
67         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_REORDER,
68         VEC_CONST, VEC_DUPLICATE, SS_PLUS, SS_MINUS, SS_TRUNCATE,
69         US_TRUNCATE): New rtx codes.
70         * machmode.def: Add vector modes.
71         * machmode.h (enum mode_class): Add MODE_VECTOR_INT and
72         MODE_VECTOR_FLOAT.
73         (INTEGER_MODE_P): Check for MODE_VECTOR_INT.
74         (FLOAT_MODE_P): Check for MODE_VECTOR_FLOAT.
75         (VECTOR_MODE_P): New.
76
77 2000-06-24  Nathan Sidwell  <nathan@codesourcery.com>
78
79         * cpp.texi: Clarify #pragma GCC namespace.      
80
81 2000-06-24  Philipp Thomas  <pthomas@suse.de>
82
83         * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
84         all catalogs specified in ALL_LINGUAS.
85         * configure: Rebuilt.
86
87 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
88
89         * config/sparc/sparc.md (reload_outdi+1): Handle
90         HOST_BITS_PER_WIDE_INT == 64 case correctly.
91         (adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.
92
93 2000-06-23  Geoffrey Keating  <geoffk@cygnus.com>
94
95         * alias.c (fixed_scalar_and_varying_struct_p): Don't examine
96         struct vs. scalar-ness when -fno-strict-aliasing.
97
98 2000-06-23  Nathan Sidwell  <nathan@codesourcery.com>
99
100         * cpplib.c (struct pragma_entry): New structure.
101         (pragma_dispatch): Pragma dispatcher.
102         (top_pragmas, gcc_pragmas): New static variables.
103         (do_pragma): Use pragma_dispatch.
104         (do_pragma_gcc): New pragma handler.
105         * cpp.texi: Update.
106
107 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
108
109         * calls.c (compute_argument_addresses): Force stack slots into
110         alias set 0.
111         * expr.c (emit_push_insn): Force pushes into alias set 0.
112
113 2000-06-23  Richard Henderson  <rth@cygnus.com>
114
115         * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
116         * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.
117
118 2000-06-22  Jason Merrill  <jason@redhat.com>
119
120         * toplev.c (compile_file): Always call timevar_print.
121         * Makefile.in (calls.o): Depend on TIMEVAR_H.
122
123 2000-06-22  Nathan Sidwell  <nathan@codesourcery.com>
124
125         * varasm.c (constant_descriptor): Make contents unsigned char.
126         (mark_const_hash_entry): Adjust.
127         (const_hash): Just hash the code of unknown nodes.
128         (compare_constant_1): Adjust for unsigned char.
129         Use language specific expander on unknown nodes.
130         (record_constant_1): Likewise.
131
132 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
133
134         * cppfiles.c (cpp_make_system_header): New function.
135         * cpplib.h: Prototype it.
136         * cpplib.c (do_line, do_pragma_system_header): Use it.
137         * fix-header.c (read_scan_file): Use it.
138
139         * fix-header.c (check_macro_names): Cast second arg of
140         cpp_defined to const unsigned char *.
141         (read_scan_file): Make getchar_call const unsigned char.
142
143 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
144
145         * cppfiles.c: Include splay-tree.h, not hashtab.h.
146         (redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
147         (destroy_include_file_node): New.
148         (_cpp_init_include_hash): Rename _cpp_init_include_table.
149         Create a splay tree, not a hash table.
150         (open_include_file): Look up the path in the include table,
151         do the multiple include optimization here, etc.
152         (cpp_included): Walk the path.
153         (find_include_file): Just walk the path calling
154         open_include_file, or call it directly for an absolute path.
155         (_cpp_fake_ihash): Rename _cpp_fake_include and update for new
156         scheme.
157         (read_include_file): Update for new scheme.  Don't close the
158         file unless reading fails.
159         (_cpp_execute_include, cpp_read_file): Tweak for new scheme.
160
161         * cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
162         (struct include_file): New.
163         (NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
164         macros.
165         (CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
166         Update prototypes.
167
168         * cppinit.c: Include splay-tree.h.
169         (cpp_reader_init, cpp_cleanup): Update.
170
171         * cpplib.h (struct cpp_buffer): Change ihash field to 
172         'struct include_file *inc'.  Remove system_header_p.
173         (struct cpp_reader): Change all_include_files to a
174         struct splay_tree_s *.
175
176         * cpplex.c: Update all references to cpp_buffer->ihash and/or
177         cpp_buffer->system_header_p.
178         (cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.
179
180         * Makefile.in (SPLAY_TREE_H): New macro.
181         (cppfiles.o, cppinit.o): Update dependencies.
182
183 Wed Jun 21 11:05:48 2000  Martin Buchholz <martin@xemacs.org>
184
185         * invoke.texi (g++): "g++" is not a script anymore.
186
187 2000-06-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
188
189         * function.c (round_down): Delete obsolete prototype.
190
191         * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
192
193 2000-06-20  Zack Weinberg  <zack@wolery.cumb.org>
194
195         * configure.in: Use 'test a = b' not 'test a == b'.
196         * configure: Regen.
197
198         * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
199
200         * Makefile.in: Remove all references to HOST_INTLLIBS.
201
202         * cpplex.c (parse_name): Don't warn about $ in identifiers if
203         skipping.
204
205 2000-06-20  Philipp Thomas  <pthomas@suse.de>
206
207         * config/pa/pa.h(TARGET_SWITCHES): Require binutils 2.10 or later
208         for PA 2.0.
209
210 Mon Jun 19 23:26:40 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
211
212         * Take REG_INC notes into account.
213
214 2000-06-19  Zack Weinberg  <zack@wolery.cumb.org>
215
216         * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
217         (primary: IDENTIFIER): Just call build_external_ref.
218         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
219         Regenerate.
220         * c-lex.c (lastiddecl): Remove.
221         (yylex): Replace all instances of lastiddecl with local
222         variables.
223
224         * c-typeck.c (build_external_ref): New function.  Treat decls
225         with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
226         Look up the decl from the id here.  Call lookup_objc_ivar.
227         * c-lang.c (lookup_objc_ivar): Stub.
228         * objc/objc-act.c (lookup_objc_ivar): New function.
229
230         * c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
231         * c-lex.h: Don't declare lastiddecl.
232
233 2000-06-19  Benjamin Chelf  <chelf@codesourcery.com>
234
235         * c-common.h (IF_COND): Added documentation.
236         (THEN_CLAUSE): Likewise.
237         (ELSE_CLAUSE): Likewise.
238         (WHILE_COND): Likewise.
239         (WHILE_BODY): Likewise.
240         (DO_COND): Likewise.
241         (DO_BODY): Likewise.
242         (RETURN_EXPR): Likewise.
243         (EXPR_STMT_EXPR): Likewise.
244         (FOR_INIT_STMT): Likewise.
245         (FOR_COND): Likewise.
246         (FOR_EXPR): Likewise.
247         (FOR_BODY): Likewise.
248         (SWITCH_COND): Likewise.
249         (SWITCH_BODY): Likewise.
250         (CASE_LOW): Likewise.
251         (CASE_HIGH): Likewise.
252         (GOTO_DESTINATION): Likewise.
253         (COMPOUND_BODY): Likewise.
254         (ASM_CV_QUAL): Likewise.
255         (ASM_STRING): Likewise.
256         (ASM_OUTPUTS): Likewise.
257         (ASM_INPUTS): Likewise.
258         (ASM_CLOBBERS): Likewise.
259         (DECL_STMT_DECL): Likewise.
260         (STMT_EXPR_STMT): Likewise.
261         (LABEL_STMT_LABEL): Likewise.
262
263         * c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
264         COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
265         RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
266         LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.
267
268 2000-06-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
269
270         * configure.in (--enable-checking): Update --help doc to reflect
271         new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.
272
273 Sun Jun 18 21:42:15 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
274
275         * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
276
277         * function.c (put_var_into_stack): Don't reference DECL_ fields
278         if input is a SAVE_EXPR.
279         Use set_mem_attributes in COMPLEX case.
280
281 2000-06-18  Richard Henderson  <rth@cygnus.com>
282
283         * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
284         (ia64_file_start): Declare.
285         * config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
286         (GR_REGNO_P): Likewise.
287         * config/ia64/ia64.c: Many prototypes.
288         (ia64_reg_numbers): Constify.
289         (ia64_input_reg_names, ia64_local_reg_names): Likewise.
290         (ia64_section_threshold): Make unsigned.
291         (ia64_print_operand): Constify.
292         (fix_range): Constify.
293         (ia64_init_builtins): Don't compare signed vs unsigned.
294         (ia64_expand_builtin): Likewise.
295
296         * config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
297         (CONSTRAINT_OK_FOR_Q): New.
298         * config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
299         (movsf_internal, movdf_internal): Likewise.
300         (cmovdi_internal): Rewrite so that constraints and predicates match;
301         simplify splitters.
302         (cmovsi_internal): Likewise.
303
304         * config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
305         (ASM_FILE_START): New.
306         * config/ia64/ia64.c (ia64_file_start): New.
307         (rtx_needs_barrier): Handle pred.rel.mutex.
308         (emit_predicate_relation_info): New.
309         * config/ia64/ia64.md (pred_rel_mutex): New.
310         * config/ia64/linux.h (ASM_SPEC): Define.
311         * config/ia64/sysv4.h (ASM_FILE_START): Define.
312
313         * config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
314         filtering global register variables.
315
316 2000-06-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
317
318         * c-common.c (add_c_tree_codes): Fix definition for traditional C.
319
320 2000-06-17  Michael Meissner  <meissner@redhat.com>
321
322         * gcc.c (do_spec_1, '%v3' case): Do not abort if patch level is
323         not present and there is a field after a '-'.
324
325 2000-06-17  Bruce Korb  <bkorb@gnu.org>
326
327         * fixinc/check.tpl:  finish the implementation of multiple tests
328         for a single fix
329         * fixinc/inclhack.def(ctrl_quotes_def): add a second test
330         (io_quotes_def): add a second test
331         (various): reorder `files' so that "limits.h" is never first
332         * fixinc/tests/base/*: update the testing output
333
334 Sat Jun 17 10:33:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
335
336         * gcc.texi: Remove reference to stupid.c.
337
338 2000-06-16  Benjamin Chelf  <chelf@codesourcery.com>
339
340         * c-common.c (c_tree_code_type): New array.
341         (c_tree_code_length): Likewise.
342         (c_tree_code_name): Likewise.
343         (add_c_tree_codes): New function.
344
345         * c-common.h (add_c_tree_codes): Declare.
346         (enum c_tree_code): New enum.
347
348         * c-lex.c (init_parse): Added call to add_c_tree_codes.
349
350 2000-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
351
352         * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
353         select pattern to also match macro defs with only one argument.
354
355 Thu Jun 15 18:56:12 2000  Jeffrey A Law  (law@cygnus.com)
356
357         * i386.md: Create new [right,left] rotate and right shift
358         patterns to optimize shift by 1 bit for certain ia32 processors.
359         Update patterns which perform left shifts to optimize shift by
360         1 bit for certain ia32 processors.
361         * i386.c (const_int_1_operand): New predicate.
362         * i386.h (PREDICATE_CODES): Handle const_int_1_operand.
363         * i386-protos.h (const_int_1_operand): Prototype.
364
365 Wed Jun 14 23:46:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
366
367         * mips.c (machine_dependent_reorg): Fix braces for nested if.
368
369 2000-06-14  Geoff Keating  <geoffk@cygnus.com>
370
371         * rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
372         LABEL_REFs.
373
374 2000-06-14  Richard Henderson  <rth@cygnus.com>
375
376         * conflict.c (conflict_graph_compute): Don't look for REG_INC.
377
378         * config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
379         auto-inc code.
380
381         * print-rtl.c (print_rtx): Emit space before mem alias set.
382
383 2000-06-14  David Edelsohn  <edelsohn@gnu.org>
384
385         * rs6000.c (expand_block_move): Fix typo in earlier change.
386         (print_operand): Remove unused variables neg and op.
387         (toc_hash_mark_entry): Fix prototype.
388
389 2000-06-14  Benjamin Chelf  <chelf@codesourcery.com>
390
391         * c-common.h (IF_COND): Moved here from cp/cp-tree.h.
392         (THEN_CLAUSE): Likewise.
393         (ELSE_CLAUSE): Likewise.
394         (WHILE_COND): Likewise.
395         (WHILE_BODY): Likewise.
396         (DO_COND): Likewise.
397         (DO_BODY): Likewise.
398         (RETURN_EXPR): Likewise.
399         (EXPR_STMT_EXPR): Likewise.
400         (FOR_INIT_STMT): Likewise.
401         (FOR_COND): Likewise.
402         (FOR_EXPR): Likewise.
403         (FOR_BODY): Likewise.
404         (SWITCH_COND): Likewise.
405         (SWITCH_BODY): Likewise.
406         (CASE_LOW): Likewise.
407         (CASE_HIGH): Likewise.
408         (GOTO_DESTINATION): Likewise.
409         (COMPOUND_BODY): Likewise.
410         (ASM_CV_QUAL): Likewise.
411         (ASM_STRING): Likewise.
412         (ASM_OUTPUTS): Likewise.
413         (ASM_INPUTS): Likewise.
414         (ASM_CLOBBERS): Likewise.
415         (DECL_STMT_DECL): Likewise.
416         (STMT_EXPR_STMT): Likewise.
417         (LABEL_STMT_LABEL): Likewise.
418         (SCOPE_BEGIN_P): Likewise.
419         (SCOPE_END_P): Likewise.
420         (SCOPE_STMT_BLOCK): Likewise.
421         (SCOPE_NULLIFIED_P): Likewise.
422         (SCOPE_NO_CLEANUPS_P): Likewise.
423         (SCOPE_PARTIAL_P): Likewise.
424         (ASM_VOLATILE_P): Likewise.
425         (STMT_LINENO): Likewise.
426         (STMT_LINENO_FOR_FN_P): Likewise.
427
428         * c-common.def: New file. Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
429         ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
430         FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
431         CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
432         SCOPE_STMT, CASE_LABEL, STMT_EXPR.
433
434         * gencheck.c (tree_codes[]): Added '#include "c-common.def"'.
435
436 2000-06-14  David O'Brien  <obrien@FreeBSD.org>
437
438         * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
439         writable in parts of the GCC code.
440
441         * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
442         specification match cast.
443
444 Wed Jun 14 09:25:57 2000  Jeffrey A Law  (law@cygnus.com)
445
446         * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
447         * configure, config.in: Rebuilt.
448         * sys-protos.h: Similarly.
449
450 Wed Jun 14 03:39:58 EDT 2000  John Wehle  (john@feith.com)
451
452         * ifcvt.c (EDGE_COMPLEX): Move definition ...
453         * basic-block.h (EDGE_COMPLEX): ... here.
454
455         * loop.c (check_dbra_loop): Specify the register when
456         generating REG_NONNEG notes and don't generate duplicates.
457
458 2000-06-13  Jakub Jelinek  <jakub@redhat.com>
459
460         * tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
461         (struct tree_type, struct tree_decl): Add user_align member.
462         * stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
463         (place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
464         and DECL_USER_ALIGN 0, cap alignment to this value.
465         (place_field): Likewise.
466         (finalize_type_size): Set TYPE_USER_ALIGN.
467         (layout_type): Likewise.
468         (initialize_sizetypes): Likewise.
469         * c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
470         DECL_USER_ALIGN to 1.
471         * c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
472         (xfer_tag): Set TYPE_USER_ALIGN.
473         (finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
474         (finish_enum): Likewise.
475         * stmt.c (expand_decl): Set DECL_USER_ALIGN.
476         (expand_anon_union_decl): Likewise.
477         * tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
478         (build_index_type): Set TYPE_USER_ALIGN.
479         (build_range_type): Likewise.
480         (build_common_tree_nodes_2): Likewise.
481         * tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.
482
483 2000-06-13  Andreas Jaeger  <aj@suse.de>
484
485         * configure.in: Use --enable-checking=misc,tree,gc by default if
486         no --enable-checking option is given and for
487         --enable-checking=yes.
488         * configure: Rebuilt.
489
490 2000-06-13  Richard Henderson  <rth@cygnus.com>
491
492         * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
493         (__throw): Don't pass the address of a label.
494
495         * config/ia64/ia64.c (ia64_compute_frame_size): Use
496         current_function_is_leaf.
497         (ia64_expand_prologue): Likewise.  Modify return_address_pointer_rtx
498         instead of reg_names[RETURN_ADDRESS_REGNUM].
499         (ia64_init_machine_status): Reset return_address_pointer_rtx.
500         * config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
501         from RETURN_ADDRESS_REGNUM.  Update all uses.
502         (RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
503         zero instead of null on failure.
504         (ELIMINABLE_REGS): Add ra->b0 elimination.
505         (CAN_ELIMINATE): Update accordingly.
506         (INITIAL_ELIMINATION_OFFSET): Likewise.
507         (REGISTER_NAMES): Use an illegal assembler name for
508         RETURN_ADDRESS_POINTER_REGNUM.
509
510 2000-06-13  Richard Henderson  <rth@cygnus.com>
511
512         * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
513         GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
514         (REG_CLASS_NAMES): Likewise.
515         (REG_CLASS_CONTENTS): Likewise.
516         (FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
517         (HARD_REGNO_MODE_OK): Remove references to them.
518         (REGNO_REG_CLASS): Likewise.
519         (REG_CLASS_FROM_LETTER): Likewise.
520         (CLASS_MAX_NREGS): Likewise.
521         (REGISTER_MOVE_COST): Likewise.
522         * config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
523         * config/ia64/ia64.md (*): Replace "e" constraints with "f".
524         (movqi_internal): Special case moves from zero.
525         (movhi_internal, movsi_internal): Likewise.
526         (movdi_internal): Likewise.  Fill out "f" constraints.
527         (movsf_internal): Fill out "r" constraints.
528         (movdf_internal): Likewise.
529
530 2000-06-13  Richard Henderson  <rth@cygnus.com>
531
532         * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
533         alive before reload.
534
535         * haifa-sched.c (struct deps): Add in_post_call_group_p.
536         (add_dependence): Handle notes between SCHED_GROUP_P insns.
537         (remove_dependence): Always define.
538         (set_sched_group_p): New.
539         (sched_analyze_2): Use it.
540         (sched_analyze_insn): Don't special-case naked uses.  Look for
541         and extend in_post_call_group_p.
542         (sched_analyze): Clear stale SCHED_GROUP_P.  Set in_post_call_group_p.
543         (init_deps): Clear in_post_call_group_p.
544
545 2000-06-13  Richard Henderson  <rth@cygnus.com>
546
547         * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
548         CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
549         and hard-coded tests.
550         (simplify_set): Likewise.
551         (gen_lowpart_for_combine): Likewise.
552         * emit-rtl.c (gen_lowpart_common): Likewise.
553         * global.c (find_reg): Likewise.
554         * local-alloc.c (find_free_reg): Likewise.
555         * recog.c (register_operand): Likewise.
556         * regclass.c (init_reg_sets_1): Likewise.
557         (record_operand_costs, regclass): Likewise.
558         * reload.c (push_reload): Likewise.
559         * reload1.c (choose_reload_regs): Likewise.
560         * flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
561         * local-alloc.c (struct qty): Rename changes_size to changes_mode.
562         Update all references.
563         * regs.h (struct reg_info_def): Likewise.
564         (REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
565         * tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
566         (CLASS_CANNOT_CHANGE_MODE_P): Likewise.
567
568         * config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
569         (CLASS_CANNOT_CHANGE_MODE_P): New.
570         * config/mips/mips.h: Likewise.
571         * config/pa/pa32-regs.h: Likewise.
572         * config/pa/pa64-regs.h: Likewise.
573         * config/rs6000/rs6000.h: Likewise.
574         * config/sh/sh.h: Likewise.
575         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
576         (CLASS_CANNOT_CHANGE_MODE_P): New.
577         * config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
578         * config/d30v/d30v.h: Likewise.
579
580 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
581
582         * configure.in: Add AC_TYPE_GETGROUPS test.
583         * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
584         * configure: Rebuilt.
585         * config.in: Rebuilt.
586
587 2000-06-13  Richard Henderson  <rth@cygnus.com>
588
589         * explow.c (set_mem_attributes): Do nothing for NULL type.
590
591 Tue Jun 13 14:45:10 2000  Jeffrey A Law  (law@cygnus.com)
592
593         * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
594         correctly.
595
596 2000-06-13  James E. Wilson  <wilson@cygnus.com>
597
598         * config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.
599
600 Tue Jun 13 14:05:35 2000  Jeffrey A Law  (law@cygnus.com)
601
602         * Makefile.in (gensupport.o): Remove bogus $(HOST_PREFIX) reference.
603
604 2000-06-13  Philipp Thomas  <pthomas@suse.de>
605
606         * configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
607         * configure: Rebuilt.
608
609 2000-06-07  David O'Brien  <obrien@FreeBSD.org>
610
611         * configure.in:  Adjust FreeBSD bits to match changes to config.guess.
612         We now default to ELF for the i386, and a.out is the special case.
613         * configure:  Rebuilt.
614
615 Tue Jun 13 10:05:30 2000  Hans-Peter Nilsson  <hp@axis.com>
616
617         * final.c (final_scan_insn): Delete notes between cc0 setter and
618         user when restarting from setter.
619
620 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
621
622         * vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
623         cast to squelch signed/unsigned warnings.
624
625 2000-06-13  Zack Weinberg  <zack@wolery.cumb.org>
626
627         * cpplib.c (handle_directive): Print non-NUL-terminated string
628         with %.*s.
629
630 2000-06-12  Michael Meissner  <meissner@redhat.com>
631
632         * ifcvt.c (dead_or_predicable): Don't do conditional execution
633         path if the machine needs extra support to do conditional
634         execution.
635
636 Mon Jun 12 17:04:17 2000  Jeffrey A Law  (law@cygnus.com)
637
638         * print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
639         to print the alias set.
640         * print-tree.c (print_node, DECL_* nodes and case 't'): Similarly.
641
642 2000-06-12  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
643
644         * config/float-vax.h: Add GFLOAT defines.
645
646 Mon Jun  12  9:44:00 2000  Mark Klein  <mklein@dis.com>
647
648         * configure.in: Update tm dependencies for MPE.
649         * configure: Rebuilt.
650
651 2000-06-12  H.J. Lu  <hjl@gnu.org>
652
653         * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
654
655 2000-06-12  David Edelsohn  <edelsohn@gnu.org>
656
657         * aix41.h (SUBTARGET_SWITCHES): Delete threads.
658         (CPP_SPEC): Change mthreads to pthread.
659         (LIB_SPEC): Likewise.
660         (STARTFILE_SPEC): Likewise.
661         * aix43.h (SUBTARGET_SWITCHES): Delete threads.
662         (CPP_SPEC): Change mthreads to pthread.
663         (LIB_SPEC): Likewise.
664         (STARTFILE_SPEC): Likewise.
665         * rs6000-protos.h (reg_or_arith_cint_operand): New.
666         * rs6000.c (reg_or_arith_cint_operand): New.
667         (num_insns_constant_wide): Decorate unsigned constant.
668         * rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand.
669         * rs6000.md (addsi3): Use new predicate.
670         (subsi3, adddi3, subdi3): Likewise.
671
672 2000-06-12  Mark Mitchell  <mark@codesourcery.com>
673
674         * c-common.c (lang_get_alias_set): Fix typo.
675
676 2000-06-12  Richard Earnshaw <rearnsha@arm.com>
677
678         * flow.c (mark_used_regs): Revert last change.
679         (life_analysis): Remove PROP_AUTOINC if running after reload.
680         (propagate_one_insn): PROP_AUTOINC is always off after reload.
681
682 2000-06-11  Richard Earnshaw <rearnsha@arm.com>
683
684         * flow.c (mark_used_regs): Don't call find_auto_inc after reload
685         has run.
686
687 2000-06-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
688
689         * bb-reorder.c (build_scope_forest): Initialize variable
690         `curr_scope'.
691
692         * calls.c (expand_call): Likewise for variables
693         `save_pending_stack_adjust' and `save_stack_pointer_delta'.
694
695         * i386.c (function_arg_advance, function_arg): Cast to avoid
696         signed/unsigned warnings.
697
698         * i386.h (MEMORY_MOVE_COST): Likewise.
699
700         * ifcvt.c (cond_exec_process_if_block): Initialize variables
701         `else_start' and `else_end'.
702
703         * libgcc2.h (__eh_alloc, __eh_free): Prototype.
704
705         * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
706
707 2000-06-10  Mark Mitchell  <mark@codesourcery.com>
708
709         * Makefile.in (libintl.a): Depend on intl.all.
710
711 2000-06-09  H.J. Lu  (hjl@gnu.org)
712
713         * Makefile.in (c-parse.o): Also depend on output.h.
714
715 2000-06-09  Rodney Brown  <RodneyBrown@mynd.com>
716
717         * mcore-protos.h: discards const warning removal.
718         * mcore.c: discards const warning removal.
719
720 2000-06-09  Kazu Hirata  <kazu@hxi.com>
721
722         * config/h8300/lib1funcs.asm: Declare the machine architecture at
723         the beginning of the file.
724
725 2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
726
727         * real.h:  Add prototype for ldexp.
728
729 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
730
731         * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
732         it ggc_alloc, drop second argument, never clear returned memory.
733         * ggc-common.c (ggc_alloc_string): Use ggc_alloc.
734         (ggc_alloc_cleared): New.
735         * ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not
736         ggc_alloc_obj.  Remove ggc_alloc macro.
737         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc.
738
739         * rtl.c (rtvec_alloc): Clear the vector always.
740         (rtx_alloc): Clear the first word always.  Remove dirty
741         obstack tricks (this routine is no longer a bottleneck).
742         * tree.c (make_node): Clear the new node always.
743         (make_tree_vec): Likewise.
744         (tree_cons): Clear the common structure always.
745         (build1): Likewise; also, clear TREE_COMPLEXITY.
746         * gengenrtl.c: Use puts wherever possible.  Remove extra
747         newlines.
748         (gendef): Clear the first word of an RTX in the generator
749         function, irrespective of ggc_p.  Initialize '0' slots to
750         NULL.
751         (genlegend): Don't generate obstack_alloc_rtx routine, just a
752         thin wrapper macro around obstack_alloc.
753
754         * stmt.c (expand_fixup): Use ggc_alloc.
755         * c-typeck.c (add_pending_init): Use ggc_alloc.
756         * emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem).
757         * varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to
758         const0_rtx when it is created.
759         (immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if
760         we are not in a function.
761
762         * tree.c (tree_class_check_failed): Make second arg an int.
763         * tree.h: Update prototype.
764
765 2000-06-09  Geoff Keating  <geoffk@cygnus.com>
766
767         * tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
768         of an error_mark_node.
769
770 Fri Jun  9 20:35:13 2000  Denis Chertykov  <denisc@overta.ru>
771
772         * config/avr/avr.c (asm_output_section_name): bugfix.
773
774 2000-06-09  Jason Merrill  <jason@casey.soma.redhat.com>
775
776         * timevar.def: Add TV_EXPAND.
777         * timevar.c (timevar_print): Update timing information.
778         * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
779
780         * stmt.c (expand_return): Check for error_mark_node.
781
782 2000-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
783
784         * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
785
786         * scan-types.sh (VALUE) Wrap use with double quotes to protect
787         variable against filename expansion when it contains "char *".
788
789         * system.h (SSIZE_MAX): Delete backup definition.
790
791         * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
792         instead of SSIZE_MAX.
793
794 2000-06-09  Jakub Jelinek  <jakub@redhat.com>
795
796         * configure.in: Check whether gas supports -relax.
797         * configure, config.in: Rebuilt.
798         * config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
799         (EXTRA_SPECS): Add asm_relax.
800         (ASM_SPEC): Add %(asm_relax).
801         (TARGET_SWITCHES): Add -mrelax and -mno-relax.
802         * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
803         (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
804         (ASM_SPEC): Add %(asm_relax).
805         * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
806         * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
807         never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
808         instead of mov, so that gas can further optimize it.
809
810 2000-06-08  James E. Wilson  <wilson@bletchleypark.cygnus.com>
811
812         * dwarf2out.c (size_of_die, case dw_val_class_const): Use
813         size_of_sleb128.
814         (value_format, case dw_val_class_const): Use sdata format.
815         (output_die): Call output_sleb128.
816
817 2000-06-08  James E. Wilson  <wilson@cygnus.com>
818
819         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
820         UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
821         ASM_OUTPUT_DWARF_CONST_DOUBLE.
822         (output_die, case dw_val_class_unsigned_const): Correct call to
823         ASM_OUTPUT_DWARF_DATA8.
824         (output_die, case dw_val_class_long_long): Use
825         ASM_OUTPUT_DWARF_CONST_DOUBLE.
826         * tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
827         pos is zero.
828
829         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
830         (output_function_prologue): Fix mispelling.
831         (output_function_prologue, output_function_epilogue): Reorder to
832         match ia64.c definition order.
833         * config/ia64/ia64.c (ia64_expand_prologue): Add comment.
834         (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
835         Use r3 instead of r2 for large stack restores.
836         (ia64_output_end_prologue): New function.
837         (process_set): Emit ".restore sp" for epilogue stack restores.
838         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
839
840 2000-06-08  Jakub Jelinek  <jakub@redhat.com>
841
842         * dbxout.c (dbxout_type_fields): Don't segfault on fields with
843         incomplete types.
844
845 2000-06-08  Nathan Sidwell  <nathan@codesourcery.com>
846
847         * frame.c (end_fde_sort): Remove extraneous erratic array test.
848
849 2000-06-08  Denis Perchine <dyp@perchine.com>
850
851         * frame.c (start_fde_sort): Don't malloc (0).
852
853 2000-06-07  Zack Weinberg  <zack@wolery.cumb.org>
854
855         * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
856         error_mark_node.
857         * print-tree.c (print_node): The transparent_union_flag means
858         different things for unions and arrays.  Do not inspect it
859         with TYPE_TRANSPARENT_UNION.
860
861 2000-06-06  Jakub Jelinek  <jakub@redhat.com>
862
863         * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
864         returned NULL.
865
866 Wed Jun  7 20:34:33 2000  Denis Chertykov  <denisc@overta.ru>
867
868         * config/avr/avr.c (asm_output_section_name): output section
869         attributes.
870         * config/avr/libgcc.S (.text.libgcc): declare section attributes.
871
872 2000-06-06  James E. Wilson  <wilson@cygnus.com>
873
874         * frame.h (struct unwind_info_ptr): Collapse version, flags, and length
875         fields into header field.
876         (IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
877         macros to access length, flags, and version info from header field.
878         * config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
879         * config/ia64/crtend.asm (__do_frame_setup_aux): Add here.
880         (__do_global_ctors_aux): Fix caller.
881         * config/ia64/frame-ia64.c (get_unwind_record): Change parameter
882         prologue_flag to header.  Pass to read_P_record.
883         (read_P_record): New argument header.  Implement P4 format.
884         Multiply P7_T_SIZE by 16.
885         (execute_one_ia64_descriptor): New static local region_header.  Pass to
886         get_unwind_record.  Copy r to region_header if r is a header record.
887         (print_all_records): Likewise.
888         (__build_ia64_frame_state): Use IA64_UNW_HDR_LENGTH.
889         (__get_personality, __get_except_table): Likewise.
890         * config/ia64/ia64.c (process_set): Do not divide offsets by 4.
891
892 2000-06-06  Philipp Thomas  <pthomas@suse.de>
893
894         * configure.in (AC_C_INLINE): Added.
895         * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
896         * configure: Regenerate.
897
898 2000-06-06  Mark Mitchell  <mark@codesourcery.com>
899
900         * c-common.h (c_language_kind): New type.
901         (c_language): New variab.e
902         * c-common.c (lang_get_alias_set): Don't put structures in
903         non-zero alias sets in C++.
904         * c-decl.c (c_language): Define it.
905         * c-lex.c (doing_objc_thang): Remove.
906         * c-tree.h (doing_objc_thang): Make it a macro.
907         * objc/objc-act.c (lang_decode_option): Set c_language, not
908         doing_objc_thang.
909
910 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
911
912         * diagnostic.c (output_maximum_width): Remove.
913         (doing_line_wrapping): Tweak.
914         (diagnostic_buffer): New object.
915         (global_output_buffer): New object.
916         (output_destroy_prefix): New function.
917         (default_initialize_buffer): Likewise.
918         (reshape_diagnostic_buffer): Likewise.
919         (initialize_diagnostics): Likewise.
920         (output_clear): Tweak.
921         (line_wrapper_printf): Adjust call to init_output_buffer.
922         (vline_wrapper_message_with_location): Likewise.  Use
923         output_destroy_prefix.
924         (v_message_with_decl): Likewise.
925
926         * diagnostic.h (struct output_buffer): Constify prefix.
927         (init_output_buffer, output_get_prefix): Constify.
928         (diagnostic_message_length_per_line): Likewise.
929         (reshape_diagnostic_buffer): Declare.
930         (default_initialize_buffer): Declare.
931         (initialize_diagnostics): Declare.
932         (diagnostic_buffer): Declare new obbject.
933
934         * toplev.c: #include diagnostic.h
935         (display_help): Document diagnostic formatting options.
936         (decode_f_option): Handle diagnostic formatting options.
937         (main): Setup initialization for diagnostic messages outputter.
938
939         * toplev.h (set_message_length): Remove.
940
941         * Makefile.in (toplev.o): Depends upon diagnostic.h
942
943         * invoke.texi : Document diagnostics formatting options.
944
945 Tue Jun  6 19:25:32 2000  Philippe De Muyter  <phdm@macqel.be>
946
947         * configure.in (Make the links): Typo fix : the file that must be
948         included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
949         * configure: File rebuilt.
950
951 2000-06-06  Nathan Sidwell  <nathan@codesourcery.com>
952
953         * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
954         (eh_context): Add alloc_mask and alloc_buffer emergency fallback
955         space.
956         * libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
957         emergency eh_context buffer, if malloc fails.
958         (__eh_free): Moved from cp/exception.cc. Release to emergency
959         eh_context buffer, if appropriate.
960
961 2000-06-06  Jason Merrill  <jason@casey.soma.redhat.com>
962
963         * expr.c (store_expr): Fix typo.
964
965 2000-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
966
967         * m68k.c (legitimize_pic_address): Move prototype ...
968
969         * m68k-protos.h (legitimize_pic_address): ... here.
970
971         * m68k.md (legitimize_pic_address): Delete prototypes.
972         (untyped_call): Invoke GEN_CALL(), not gen_call().
973
974         * nextstep.c: Include system.h and toplev.h.
975         (get_directive_line): Don't prototype.
976         (handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.
977
978         * nextstep.h (handle_pragma): Prototype.
979         (SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
980         objc_section_init ...
981         (EXTRA_SECTION_FUNCTIONS): ... here.
982
983 Tue Jun  6 08:17:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
984
985         * sdbout.c (struct sdb_file): NAME now const.
986         (sdbout_init): input_file_name now const.
987         (sdbout_start_new_source_file): FILENAME now const.
988         * sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
989
990 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
991
992         * c-typeck.c (build_conditional_expr): Handle complex data types.
993
994 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
995
996         * explow.c (maybe_set_unchanging): New function, broken out from...
997         (set_mem_attributes): Here.
998         * expr.h: Declare it.
999         * stmt.c (expand_decl): Call it.
1000
1001 2000-06-05  Richard Henderson  <rth@cygnus.com>
1002
1003         * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
1004         while looking for a register to inherit from.
1005
1006 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
1007
1008         * Makefile.in (libgcc.ready): Lose.
1009         (libgcc.mk): Just use mv, not move-if-change.
1010         (LIBGCC_DEPS): New macro.
1011         (libgcc.a): Use it.
1012         (stmp-multilib): Likewise.
1013         * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
1014         it rather than the directories themselves.
1015         (LIB2ADD): Depend on the list file rather than 'force'.
1016
1017         * fold-const.c (fold, case COND_EXPR): Elide conversion between
1018         cv-qualified versions of types.
1019
1020 Mon Jun  5 14:06:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1021
1022         * config/sparc/sparc.c (short_branch): Correct error in range
1023         computation.
1024
1025 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1026
1027         * fixinc/inclhack.def: New include hacks for ultrix.
1028         * (nested_ultrix): Replaced by ultrix_nested_svc.
1029         * (ultrix_atof_param): test_text string added.
1030         * (ultrix_ifdef): Modified select string.
1031
1032 2000-06-05  Zack Weinberg  <zack@wolery.cumb.org>
1033
1034         * objc/objc-act.c (generate_method_descriptors): Register
1035         objc_method_prototype_template as a GC root.
1036         (comp_method_with_proto): Register function_type as a GC root.
1037         (comp_proto_with_proto): Replace function_type1 and
1038         function_type2 with a two-element array; register it as a GC root.
1039
1040         (generate_protocols, build_protocol_initializer,
1041         generate_protocol_list, build_category_initializer,
1042         build_shared_structure_initializer): Do not cache cast_type
1043         and/or cast_type2.
1044
1045 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1046
1047         * function.c (assign_parms): Add missing argument to set_mem_attributes
1048         call.
1049
1050 2000-06-05  Nathan Sidwell  <nathan@codesourcery.com>
1051
1052         * tree.h (VOID_TYPE_P): New macro.
1053         (COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
1054         * c-decl.c (grokdeclarator): Use VOID_TYPE_P.
1055         (get_parm_info): Likewise.
1056         (store_parm_decls): Likewise.
1057         (combine_parm_decls): Likewise.
1058         (finish_function): Likewise.
1059         * c-typeck.c (build_function_call): Likewise.
1060         (build_binary_op): Likewise.
1061         (build_conditional_expr): Likewise.
1062         (internal_build_compound_expr): Likewise.
1063         (convert_for_assignment): Likewise.
1064         * stmt.c (expend_expr_stmt): Likewise.
1065         (warn_if_unused_value): Likewise.
1066         (expand_return): Likewise.
1067         * c-parse.in (primary): Likewise.
1068         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
1069         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1070
1071 Mon Jun  5 06:46:28 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1072
1073         * alias.c (get_alias_set): If compnent is addressable, use alias
1074         set of component.
1075         * c-decl.c (init_decl_processing): Don't call record_component_aliases.
1076         (grokdeclarator): Likewise.
1077         * c-typeck.c (common_type): Likewise.
1078
1079 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
1080
1081         * Makefile.in (OBJS): Remove dyn_string.o
1082         (dyn-string.o): Delete rule.
1083         * dyn-string.c: Delete file
1084         * dyn-string.h: Likewise.
1085
1086 2000-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1087
1088         * Makefile.in (intl.*): Honor non-zero exit codes in the intl
1089         subdir.
1090
1091 2000-06-03  Geoff Keating  <geoffk@cygnus.com>
1092
1093         * alias.c (record_component_aliases): Don't inspect
1094         DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
1095
1096 Sat Jun  3 19:05:30 2000  Michael Meissner  <meissner@redhat.com>
1097
1098         * ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
1099         it with the pattern to do machine dependent work.
1100         (cond_exec_process_if_block): If IFCVT_MODIFY_TESTS is defined,
1101         use it to modify the true/false tests used in conditional
1102         execution.  If IFCVT_MODIFY_FINAL and IFCVT_MODIFY_CANCEL are
1103         defined, invoke them if the conversion to conditional execution
1104         was successful or not.
1105
1106         * tm.texi (IFCVT_MODIFY_TESTS): Document.
1107         (IFCVT_MODIFY_INSN): Ditto.
1108         (IFCVT_MODIFY_FINAL): Ditto.
1109         (IFCVT_MODIFY_CANCEL): Ditto.
1110
1111 Sat Jun  3 15:26:13 2000  Matt Kraai <kraai@alumni.carnegiemellon.edu>
1112
1113         * toplev.c (main): Fix misspellings of possibility and language.
1114
1115 2000-06-03  Richard Henderson  <rth@cygnus.com>
1116
1117         * alias.c (record_alias_subset): Initialize has_zero_child in the
1118         superset.
1119
1120 2000-06-03  Richard Earnshaw (rearnsha@arm.com)
1121
1122         * arm.md (untyped_call): Use GEN_CALL macro.
1123
1124 2000-06-02  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>
1125
1126         * Makefile.in: Use $(MAKE) not "make"
1127
1128 Fri Jun  2 19:31:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1129
1130         * alias.c (struct alias_set_entry): New field has_zero_child.
1131         (mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
1132         (get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
1133         do nothing.
1134         Call record_component_aliases for aggregate types.
1135         (record_alias_subset): Set has_zero_child.
1136         (record_component_aliases, case ARRAY_TYPE): Do nothing if
1137         TYPE_NONALIASES_COMPONENT.
1138         (record_component_aliases, case RECORD_TYPE): Test
1139         DECL_NONADDRESSABLE_P.
1140         * c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
1141         of TREE_ADDRESSABLE.
1142         * calls.c (initialize_argument_information): Only test
1143         TYPE_TRANSPARENT_UNION for UNION_TYPE.
1144         * function.c (assign_parms): Likewise.
1145         * integrate.c (function_cannot_inline_p): Likewise.
1146         * stor-layout.c (finish_record_layout): Don't call
1147         record_component_aliases.
1148         * tree.h (struct tree_int_cst): Use struct tree_common.
1149         (struct tree_real_cst, struct tree_string): Likewise.
1150         (struct tree_complex, struct tree_identifier): Likewise.
1151         (struct tree_list, struct tree_vec, struct tree_exp): Likewise.
1152         (struct tree_block, struct tree_type, struct tree_decl): Likewise.
1153         (TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
1154         (TYPE_NONALIASES_COMPONENT): New macro.
1155         (TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
1156         (DECL_NONADDRESSABLE_P): New macro.
1157         (struct tree_decl): Reorder bits for clarity of how many left;
1158         add non_adressable.
1159
1160 2000-06-02  Jason Merrill  <jason@casey.soma.redhat.com>
1161
1162         * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
1163         * mklibgcc.in (force): New target.
1164         Make LIB2ADD stuff depend on it.
1165
1166 2000-06-02  Richard Henderson  <rth@cygnus.com>
1167
1168         * alias.c (lang_get_alias_set): Remove.
1169         (get_alias_set): Call it directly, not indirectly.
1170         * c-common.c (lang_get_alias_set): Rename from c_get_alias_set.
1171         * c-common.h (c_get_alias_set): Don't declare.
1172         * c-decl.c (init_decl_processing): Don't set lang_get_alias_set.
1173         * expr.h (lang_get_alias_set): Declare as function, not pointer.
1174
1175 2000-06-02  Bruce Korb  <bkorb@gnu.org>
1176
1177         * fixinc/server.c(sig_handler):  resume closing server on SIGPIPE
1178         (server_setup):  define the server's master pid
1179         (close_server):  actually do the deed IFF we are the server's master
1180
1181 2000-06-02  Jakub Jelinek  <jakub@redhat.com>
1182
1183         * c-common.c (c_get_alias_set): Check whether signed_type did not
1184         return its argument before calling get_alias_set on the result.
1185
1186 2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>
1187
1188         * expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
1189
1190 Fri Jun  2 00:22:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1191
1192         * sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
1193         (CONDITIONAL_REGISTER_USAGE): Mac registers are call used
1194         for TARGET_NOMACSAVE.
1195         (NOMACSAVE_BIT): Define.
1196         (TARGET_NOMACSAVE): Define.
1197         (TARGET_SWITCHES): Add "nomacsave".
1198
1199 2000-06-02  Toshiyasu Morita  <toshi.morita@sega.com>
1200
1201         * sh.md (untyped_call): Remove excess parameters
1202
1203 2000-06-01  Loren J. Rittle  <ljrittle@acm.org>
1204
1205         * fixinc/inclhack.def (osf_namespace_a): Relax expression to
1206         match that used before the conversion to c_fix style.
1207         * fixinc/fixincl.x: regenerate
1208
1209 2000-06-01  Stan Cox  <scox@cygnus.com>
1210
1211         * varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
1212         macro argument typo.
1213
1214 2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>
1215
1216         * cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
1217         error message.
1218         * cpplib.c (parse_include): Remove support for VAX-C
1219         "#include starlet" misfeature.
1220
1221 2000-05-31 Laurynas Biveinis <lauras@softhome.net>
1222
1223         * cppfiles.c: conditionally define O_BINARY.
1224         (open_include_file): pass O_BINARY to open().
1225
1226 2000-06-01  Richard Henderson  <rth@cygnus.com>
1227
1228         * i960.c (i960_br_predict_opcode): Remove.
1229         (i960_print_operand) [+]: Emit branch prediction hints.
1230         (i960_function_arg): Return early for VOIDmode.
1231         (i960_round_align): Return early for incomplete types.
1232         * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
1233         * i960.md (all conditional branches): Add "%+".
1234
1235 Thu Jun  1 12:24:21 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1236
1237         * alias.c (get_alias_set): Don't call language-specific routine more
1238         than is needed and clean up code a bit.
1239         * c-common.c (c_get_alias_set): All references whose type
1240         is char get alias set 0, but character types need not.
1241         * varasm.c (make_function_rtl): Don't call set_mem_attributes.
1242         (make_decl_rtl): Don't call it for FUNCTION_DECL.
1243
1244 2000-06-01  Bruce Korb  <bkorb@gnu.org>
1245
1246         * fixinc/tests/base/...: new base result files
1247
1248 Thu Jun  1 09:37:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
1249
1250         * config/i386/i386.c (ix86_use_fcomi_compare): Make global.
1251         * config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
1252         * config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
1253         will use FCOMI.
1254
1255 2000-06-01  Richard Henderson  <rth@cygnus.com>
1256
1257         * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
1258
1259         * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
1260
1261 2000-05-31  Richard Henderson  <rth@cygnus.com>
1262
1263         * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
1264         CONSTANT_POOL_ADDRESS_P addresses for .sdata.
1265         * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.
1266
1267 2000-05-31  Richard Henderson  <rth@cygnus.com>
1268
1269         * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
1270         * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
1271         (ia64_print_operand) [+]: ... here.  Use current_output_insn.
1272         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
1273         * config/ia64/ia64.md (all branch/call patterns): Use %+.
1274
1275 2000-05-31  Richard Henderson  <rth@cygnus.com>
1276
1277         * ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
1278
1279 2000-05-31  Richard Henderson  <rth@cygnus.com>
1280
1281         * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
1282         remaining edges.
1283         (find_if_block): Allow THEN with no outgoing edges.
1284         * flow.c (merge_blocks_nomove): Remove a barrier not following
1285         a jump as well.
1286
1287 2000-05-31  Richard Henderson  <rth@cygnus.com>
1288
1289         * flow.c (propagate_block): Move initialization of mem_set_list ...
1290         (init_propagate_block_info): ... here.  Also track blocks with
1291         no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.
1292
1293 2000-05-31  Richard Henderson  <rth@cygnus.com>
1294
1295         * jump.c (jump_optimize_1): Revert 05-18 change.
1296
1297 2000-05-31  Mark Mitchell  <mark@codesourcery.com>
1298
1299         * invoke.texi: Remove documentation for -fguiding-decls.
1300
1301 2000-05-31  Richard Henderson  <rth@cygnus.com>
1302
1303         * configure.in: Fix typo last change.
1304
1305 2000-05-31  Philipp Thomas  <pthomas@suse.de>
1306
1307         * configure.in (enable-nls): Enable if build == host, i.e. when
1308         not building a canadian cross compiler.
1309         (enable-maintainer-mode): Added for use with i18n.
1310         * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
1311         cross section of ALL_LINGUAS and LINGUAS.
1312         * configure: Rebuild.
1313
1314 2000-05-31  Bruce Korb  <bkorb@gnu.org>
1315
1316         * fixinc/check.tpl: rework to use test result tree
1317         * fixinc/Makefile.in: change invocation of check script
1318         * fixinc/check.diff: No longer needed
1319         * fixinc/fixincl.x: regenerate
1320         * fixinc/inclhack.def:  add new tests
1321         * fixinc/tests/base/arch/i960/archI960.h:  New test result
1322         * fixinc/tests/base/curses.h: modified test result
1323         * fixinc/tests/base/stdio.h: ditto
1324         * fixinc/tests/base/time.h: ditto
1325         * fixinc/tests/base/sys/asm.h: ditto
1326         * fixinc/tests/base/sys/stat.h: ditto
1327         * fixinc/tests/base/sys/wait.h: ditto
1328
1329 Wed May 31 13:17:20 2000  Philippe De Muyter  <phdm@macqel.be>
1330
1331         * except.c (clear_function_eh_region): Do not free NULL.
1332
1333 Wed May 31 08:07:52 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1334
1335         * Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
1336         * alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
1337         (REG_BASE_VALUE): Remove unneeded cast to unsigned.
1338         (get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
1339         (find_base_decl): New function, from c_find_base_decl in c-common.c.
1340         (new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
1341         (get_alias_set): Likewise.
1342         Major rework to do more things and allow language-specific code
1343         to just handle special-cases.
1344         (record_alias_subset): Args are HOST_WIDE_INT.
1345         (record_component_alias): Local vars are HOST_WIDE_INT.
1346         Don't handle COMPLEX_EXPR.
1347         (get_varargs_alias_set): Moved from builtins.c.
1348         (get_frame_alias_set): New function.
1349         * builtins.c (expand_builtin_return_address): Use frame alias set.
1350         (expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
1351         for setjmp buffer.
1352         (get_memory_rtx): Rework to use set_mem_attributes.
1353         (get_varargs_alias_set): Deleted from here.
1354         * c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
1355         (c_find_base_decl): Deleted from here.
1356         (c_get_alias_set): Remove many cases and rework to just handle
1357         C-specific cases.
1358         * c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
1359         * c-decl.c (rtl.h, expr.h): Now included.
1360         (init_decl_processing): Call record_component_aliases on array types.
1361         (grokdeclarator): Likewise.
1362         Set TREE_ADDRESSABLE for all fields that are not bitfields.
1363         * c-typeck.c (common_type): Call record_component_aliases for array.
1364         * caller-save.c (setup_save_areas): Rework register loop for unsigned.
1365         Set all save areas to the frame alias set.
1366         * calls.c (initialie_argument_information): Call set_mem_attributes.
1367         (compute_argument_addresses, expand_call): Likewise.
1368         * explow.c (set_mem_attributes): New function.
1369         (stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
1370         * expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
1371         LEN and OFFSET now HOST_WIDE_INT.
1372         (clear_by_pieces): Similar changes.
1373         (move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
1374         (move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
1375         (move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
1376         (clear_by_pieces_1): Likewise.
1377         (emit_push_insn): Call set_mem_attributes.
1378         (expand_expr, case INDIRECT_REF): Likewise.
1379         (expand_expr, case VAR_DECL): Call change_address.
1380         * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
1381         tree_low_cst.
1382         (get_varargs_alias_set, get_frame_alias_set): New decls.
1383         (record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
1384         (new_alias_set, set_mem_attributes): Likewse.
1385         * function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
1386         (assign_stack_temp_for_type): Likewise.
1387         Can split slot even if alias set since can copy.
1388         Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
1389         (assign_temp): Use host_integerp and tree_low_cst.
1390         (put_var_into_stack): Properly handle SAVE_EXPR.
1391         (put_addressof_into_stack): Likewise.
1392         (assign_parms): Call set_mem_attributes.
1393         Delete #if 0 code.
1394         (fix_lexical_address): Put reference to chain into frame alias set.
1395         (expand_function_start): Call set_mem_attributes.
1396         * integrate.c (expand_inline_function): Likewise.
1397         * recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
1398         * regmove.c (try_apply_stack_adjustment): Likewise.
1399         * reload.c (push_reload, make_memloc): Likewise.
1400         * reload1.c (alter_reg): Make alias sets for spilled pseudos.
1401         * rtl.def (MEM): Update comment.
1402         * rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
1403         (move_by_pieces): Change length to HOST_WIDE_INT.
1404         (record_base_value, record_alias_subset): Delete from here.
1405         * stmt.c (expand_decl): Call set_mem_attributes.
1406         * stor-layout.c (finish_record_layout): Call record_component_aliases.i
1407         * toplev.c (compile_file): Call init_alias_once earlier.
1408         * tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
1409         from here: now in alias.c.
1410         * tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
1411         (struct tree_decl): Likewise.
1412         (get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
1413         * varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
1414         (output_constant_def, force_const_mem): Likewise.
1415
1416         * flow.c (propagate_block): If block has no successors, stores to
1417         frame are dead if not used.
1418
1419 2000-05-31  Nathan Sidwell  <nathan@codesourcery.com>
1420
1421         * stmt (expand_end_case): Reorder conversion sequence for jump
1422         table to avoid extra truncations.
1423
1424 Wed May 31 01:31:42 2000  Jeffrey A Law  (law@cygnus.com)
1425
1426         * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
1427         in the block is more than just a simple conditional branch.
1428         (noce_process_if_block): Similarly.
1429
1430 Tue May 30 22:25:57 2000  Alexandre Oliva  <aoliva@cygnus.com>
1431
1432         * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
1433         queue.
1434
1435 2000-05-30  Michael Meissner  <meissner@redhat.com>
1436
1437         * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
1438         instructions.  Treat LO_SUM operations as loading the full integer
1439         constant.
1440
1441 2000-05-30  Richard Henderson  <rth@cygnus.com>
1442
1443         * combine.c (get_pos_from_mask): Test exact_log2 result as signed.
1444
1445 2000-05-30  Richard Henderson  <rth@cygnus.com>
1446
1447         * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
1448
1449 2000-05-30  Bruce Korb  <bkorb@gnu.org>
1450
1451         * fixinc/tests/*:  Added expected result files for fixinc's make check
1452         * fixinc/fixfixes(char_macro_*_fix): Restore original algorithm
1453
1454 2000-05-30  Richard Henderson  <rth@cygnus.com>
1455
1456         * config/alpha/alpha.md (*setne_internal): Use match_operator
1457         instead of working down from insn.
1458
1459 2000-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1460
1461         * invoke.texi (-Wtraditional): Update WRT function macros.
1462
1463 Tue May 30 09:57:32 2000  Philippe De Muyter  <phdm@macqel.be>
1464
1465         * except.c (free_exception_table): Do not free NULL.
1466
1467 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1468
1469         * cpplib.c (do_if): Don't save and restore only_seen_white here.
1470         * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
1471         and skipping here.
1472
1473 2000-05-29  Richard Earnshaw (rearnsha@arm.com)
1474
1475         * flow.c (mark_used_reg): If a register is unconditionally live,
1476         remove any conditional death information.
1477
1478 2000-05-29  Richard Henderson  <rth@cygnus.com>
1479
1480         * final.c (current_output_insn): New.
1481         (final_scan_insn): Set it.
1482         * output.h: Declare it.
1483
1484 2000-05-29  Richard Henderson  <rth@cygnus.com>
1485
1486         * stor-layout.c (finalize_record_size): Fix typo.
1487
1488         * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
1489         if nlabel is null.
1490
1491 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1492
1493         * cpplib.h (cpp_reader): Remove if_stack.  Change
1494         potential_control_macro to a cpp_hashnode *.  Add skipping flag.
1495         * cpphash.h (struct ihash): Change control_macro to a
1496         cpp_hashnode * and shorten name to cmacro.
1497         Add NEVER_REINCLUDE constant.
1498
1499         * cppfiles.c (redundant_include_p): Drop cpp_reader argument.
1500         Examine the cmacro node directly, no need to call cpp_defined.
1501         (_cpp_execute_include, read_include_file): Set cmacro to
1502         NEVER_REINCLUDE, not U"".
1503         * cpplex.c (cpp_push_buffer): Don't set new->if_stack.
1504         (cpp_get_token): If pfile->skipping is true, discard text and
1505         keep scanning until we hit a directive; don't expand macros.
1506
1507         * cpplib.c (struct if_stack): Remove if_succeeded, add
1508         was_skipping. Change control_macro to a cpp_hashnode * and
1509         shorten name to cmacro.  Remove typedef IF_STACK.
1510         (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
1511         (conditional_skip, skip_if_group,
1512         consider_directive_while_skipping): Delete.
1513         (push_conditional): New.
1514         (_cpp_handle_directive): Don't process directives other than
1515         conditionals if we are skipping.
1516
1517         (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
1518         Update to new scheme.
1519         (validate_else): Skip rest of line here, unconditionally.
1520         (_cpp_unwind_if_stack): The stack is per-buffer.  Force
1521         pfile->skipping off.
1522
1523         (all): Remove `scare quotes' from error messages.
1524
1525 2000-05-29  Richard Henderson  <rth@cygnus.com>
1526
1527         * function.c (emit_return_into_block): New line_note arg; emit it.
1528         (thread_prologue_and_epilogue_insns): Attempt to locate a line note
1529         for the close brace to accompany HAVE_return.  Move all line notes
1530         following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
1531
1532 2000-05-29  Richard Henderson  <rth@cygnus.com>
1533
1534         * longlong.h [__alpha] (count_leading_zeros): New.
1535         (count_trailing_zeros): New.
1536         (COUNT_LEADING_ZEROS_0): New.
1537
1538         * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
1539         (alpha_split_conditional_move): New.
1540         * config/alpha/alpha-protos.h: Prototype them.
1541         * config/alpha/alpha.h (PREDICATE_CODES): Update.
1542         (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
1543         * config/alpha/alpha.md: Update ffs cix commentary.
1544         (*ze_and_ne): New.
1545         (*nabssf2, *nabsdf2): New.
1546         (*mov[qhsd]icc_internal): Use add_operand.
1547         (if_then_else constant splitters): New.
1548         (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
1549         (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
1550
1551 2000-05-29  Richard Henderson  <rth@cygnus.com>
1552
1553         * combine.c (force_to_mode) [MINUS]: Convert subtraction from
1554         a constant to NEG or NOT when conditions allow.
1555
1556         * combine.c (combine_simplify_rtx): Don't create an if_then_else
1557         unless both args are general_operand.  Don't canonicalize plus
1558         to ior unless it helps.
1559
1560         * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
1561         instead track register_life_up_to_date.  Toggle no_new_pseudos
1562         around if_convert.
1563
1564 2000-05-28  Geoff Keating  <geoffk@cygnus.com>
1565
1566         * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
1567         so output_operand doesn't see them.
1568
1569 Sun May 28 18:37:07 2000  Clinton Popetz  <cpopetz@cygnus.com>
1570
1571         * lcm.c (make_preds_opaque): Fix comment.
1572         (optimize_mode_switching): Use NORMAL_MODE instead of
1573         MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
1574         FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
1575         Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
1576         * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
1577         (MODE_USES_IN_EXIT_BLOCK): Delete.
1578         (MODE_AT_ENTRY) Rename to NORMAL_MODE.
1579         * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
1580         (MODE_AT_ENTRY): Rename to NORMAL_MODE.
1581         (MODE_NEEDED): Don't look for USE.
1582         (EPILOGUE_USES): Define.
1583
1584 Sun May 28 23:26:59 2000  Philippe De Muyter <phdm@macqel.be>
1585
1586         * mklibgcc.in (all): Variable initialised to `libgcc'.
1587
1588 2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>
1589
1590         * toplev.h (skip_leading_substring): New macro.
1591         * toplev.c (decode_f_option): Use skip_leading_substring instead
1592         of strncmp.
1593         (decode_W_option): Likewise.
1594
1595 2000-05-28  Nick Clifton  <nickc@cygnus.com>
1596
1597         * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
1598         modify reg_names.
1599
1600 2000-05-28  Richard Henderson  <rth@cygnus.com>
1601
1602         * regclass.c (record_operand_costs): Protect reg_changes_size
1603         with CLASS_CANNOT_CHANGE_SIZE.
1604
1605         * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
1606
1607 2000-05-28  Richard Henderson  <rth@cygnus.com>
1608
1609         * function.c (diddle_return_value): A pcc-style struct return
1610         returns a pointer.
1611
1612 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
1613
1614         * cppfiles.c: Read files in, using mmap if possible, then
1615         prescan them separately.
1616         (read_file, read_with_read): New functions.
1617         * cpplex.c: Don't define UCHAR_MAX.
1618         (_cpp_read_and_prescan): Rename to _cpp_prescan.  Don't read
1619         the file here.
1620
1621         * cppinit.c (handle_option): Automatically define __cplusplus,
1622         __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
1623         the respective -lang switch.
1624
1625         * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
1626         prototype): Move to...
1627         * cpplib.h: ... here.  Rename struct hashnode to struct
1628         cpp_hashnode and give it a typedef.  Rename _cpp_lookup to
1629         cpp_lookup.  Add 'fe_value' slot, a union tree_node *.
1630
1631 2000-05-27  Geoffrey Keating  <geoffk@cygnus.com>
1632
1633         * config/rs6000/rs6000.md (movsi): Constify 'name'.
1634
1635         * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
1636         (class_can_change_size): New variable.
1637         (reg_changes_size): New variable.
1638         (init_reg_sets_1): Initialise class_can_change_size.
1639         (record_operand_costs): Remove subreg_changes_size.
1640         Don't pass it around.  Instead update reg_changes_size.
1641         (regclass): Initialise and free reg_changes_size.  If a register
1642         changes size, don't preference it to a class that contains
1643         registers that can't change size.
1644         (record_reg_classes): Don't look at subreg_changes_size.
1645
1646 2000-05-27  Richard Henderson  <rth@cygnus.com>
1647
1648         * print-rtl.c (reg_names): Remove const.
1649         * regclass.c (reg_names): Likewise.
1650         * regs.h (reg_names): Likewise.
1651         * hard-reg-set.h (reg_names): Likewise.
1652
1653 2000-05-27  Richard Henderson  <rth@cygnus.com>
1654
1655         * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
1656
1657 2000-05-27  Richard Henderson  <rth@cygnus.com>
1658
1659         * config/alpha/alpha.c (alpha_does_function_need_gp): Test
1660         TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
1661         (alpha_expand_prologue): Emit prologue_mcount if needed.
1662         * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
1663         * config/alpha/alpha.md (prologue_mcount): New.
1664         * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
1665         (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
1666         * config/alpha/netbsd.h: Likewise.
1667
1668 2000-05-27  Richard Henderson  <rth@cygnus.com>
1669
1670         * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
1671         change to config/elfos.h.
1672
1673 2000-05-27  Richard Henderson  <rth@cygnus.com>
1674
1675         * Makefile.in (resource.o): Depend on except.h.
1676         * except.h (output_exception_table_data): Prototype.
1677         * genconfig.c (gen_peephole2): Prototype.
1678         * genemit.c (main): Include ggc.h.
1679         * genoutput.c: Revert parts of last change: include errors.h
1680         (main): Set progname.
1681         * recog.c: Include hard-reg-set.h before recog.h.
1682         * resource.c: Include except.h.
1683
1684         * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
1685         with RTX_CODE.
1686         (alpha_write_linkage): Protect with BUFSIZ.
1687         (alpha_need_linkage): Update prototype.
1688         * config/alpha/alpha.c (function_arg): Move VMS code here.
1689         (alpha_links_base): Remove.
1690         (alpha_links): New.
1691         (mark_alpha_links_node, mark_alpha_links): New.
1692         (alpha_write_one_linkage): New.
1693         (alpha_need_linkage): Use a splay tree.  Build the linkage symbol.
1694         (alpha_write_linkage): Use splay_tree_foreach.
1695         * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
1696         to get the linkage symbol.
1697         (call_value_vms): Likewise.
1698         * config/alpha/elf.h (output_file_directive): Remove decl.
1699         (ctors_section, dtors_section): Prototype.
1700         (sbss_section, sdata_section): Prototype.
1701         * config/alpha/vms.h (FUNCTION_ARG): Remove.
1702         (readonly_section, link_section, literals_section): Prototype.
1703         (ctors_section, dtors_section): Prototype.
1704         (vms_valid_decl_attribute_p): Remove decl.
1705         (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
1706
1707 2000-05-27  Geoff Keating  <geoffk@cygnus.com>
1708
1709         * reload.c (get_secondary_mem): Don't widen floating-point modes.
1710
1711         * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
1712         substituting the REG in a (subreg:X (reg:Y ...)).
1713
1714 2000-05-28  Neil Booth  <NeilB@earthling.net>
1715
1716         * cpplex.c (_cpp_lex_line): Merge vertical space.  Flag
1717         first token of a line BOL.  Update EOF code for this.
1718         Remove illegal directive check - it appears in the (not
1719         yet committed) caller.
1720         * cpplib.h (BOL): New flag.
1721
1722 2000-05-28  Neil Booth  <NeilB@earthling.net>
1723
1724         * cpplex.c (_cpp_init_toklist): No comment space to initialise.
1725         (_cpp_free_toklist): No comment space to free.
1726         (expand_comment_space): Remove.
1727         (save_comment_space): Place the comment in the current token and
1728         not in a separate comment space.
1729         (_cpp_lex_line): Save comments during plain code and #define
1730         directives only.
1731         * cpplib.h (struct _cpp_toklist): Remove comment space.
1732
1733 2000-05-28  Neil Booth  <NeilB@earthling.net>
1734
1735         * cppexp.c (parse_assertion): Supply extra argument to
1736         _cpp_init_toklist.
1737         * cpplib.c (do_assert, do_unassert): Similarly.
1738         * cpphash.h (_cpp_init_toklist) Update.
1739         (_cpp_expand_token_space): New.
1740         (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
1741         * cpplex.c (_cpp_init_toklist): New argument.
1742         (parse_string2): New argument multiline_ok.
1743         (spell_token): Take a const cpp_token *.
1744         (INIT_NAME): Replace with INIT_TOKEN_NAME.  Update tokens_used.
1745         (SPELL_ macros): Replace with enum.
1746         (expand_token_space): Replace with _cpp_expand_token_space.
1747         Take COUNT argument.
1748         (IS_DIRECTIVE): Update.
1749         (_cpp_lex_line): Update token structure before parsing number.
1750         Don't assume start at beginning of token list.
1751         (save_comment): Use INIT_TOKEN_NAME.
1752
1753 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
1754
1755         * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
1756         -Wmissing-prototypes.
1757         * configure: Regenerate.
1758         * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
1759
1760         * builtins.c, calls.c: Change all instances of gen_call_* or
1761         gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
1762         * calls.c (struct_value_size_rtx): Separate definition from
1763         initialization to avoid unused variable warning.
1764
1765         * genflags.c (gen_macro): New function.
1766         (gen_proto): Call it for gen_call_* and gen_sibcall_*.
1767         (gen_nonproto): Delete.
1768         (gen_insn): Put all insns on the same obstack.
1769         (main): Generate prototypes for everything unconditionally.
1770
1771         * configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
1772         out check for wchar_t.
1773         * acconfig.h: Add template for ssize_t.  Remove @TOP@.
1774         * system.h: Add infrastructure for defining missing
1775         TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
1776         definitions of UCHAR_MAX and SSIZE_MAX.
1777         * configure: Regenerate.
1778         * config.in: Regenerate.
1779
1780         * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
1781         Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
1782         headers.
1783         (clean): No need to delete libgcc1.a, libgcc1-asm.a,
1784         libgcc2.a, or libgcc1.null.
1785
1786 2000-05-27  Richard Henderson  <rth@cygnus.com>
1787
1788         * Makefile.in (recog.o): Don't depend on resource.h.
1789         * recog.c: Don't include resource.h.
1790         (recog_last_allowed_insn): Remove.
1791         (recog_next_insn): Remove.
1792         (struct peep2_insn_data): New.
1793         (peep2_insn_data, peep2_current): New.
1794         (peep2_next_insn): New.
1795         (peep2_regno_dead_p, peep2_reg_dead_p): New.
1796         (peep2_find_free_register): New.
1797         (peephole2_optimize): Track life information by insn as we go.
1798         * recog.h: Update declarations.
1799         * resource.c (find_free_register, reg_dead_p): Remove.
1800         * resource.h: Remove their declarations.
1801         * toplev.c: Include hard-reg-set.h before recog.h.
1802
1803         * genconfig.c (max_insns_per_peep2): New.
1804         (gen_peephole2): New.
1805         (main): Call it.
1806         * genemit.c (output_peephole2_scratches): Generate calls to
1807         peep2_find_free_register; adjust surrounding code.
1808         (main): Have insn-emit.c include hard-reg-set.h before recog.h.
1809         * genrecog.c (change_state): Don't track last_insn.
1810         (write_action): Write into *_pmatch_len before accepting.
1811         (write_tree): Adjust peephole2_insns and subroutines to match.
1812
1813         * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
1814
1815         * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
1816         (hard_int_register_operand): New.
1817         * config/alpha/alpha-protos.h: Declare it.
1818         * config/alpha/alpha.h (PREDICATE_CODES): Update.
1819         * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
1820         as needed; use peep2_reg_dead_p instead of dead_or_set_p.
1821
1822 2000-05-27  Richard Henderson  <rth@cygnus.com>
1823
1824         * function.c (thread_prologue_epilogue_insns): Don't move the
1825         line note at the head of the chain.  Only force a lineno note
1826         before the end of block 0.
1827
1828 2000-05-27  Richard Henderson  <rth@cygnus.com>
1829
1830         * gensupport.c (collect_insn_data): Record the maximum number
1831         of alternatives, not the last seen.
1832
1833         * genoutput.c: Don't include errors.h.
1834         (struct data): Add lineno member.
1835         (have_error): New.
1836         (scan_operands): Use message_with_line instead of error.
1837         (validate_insn_alternatives): Likewise.
1838         (gen_insn): Accept and store the pattern's line number.
1839         (gen_peephole, gen_expand, gen_split): Likewise.
1840         (main): Don't set progname.  Pass line_no to gen_foo.
1841
1842 2000-05-27  Richard Henderson  <rth@cygnus.com>
1843
1844         * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
1845         * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
1846         * config/d30v/d30v.md (attr predicable): New.
1847         (all insn patterns): Mark non-predicable patterns; use %: on the rest.
1848         (andsi3*): Unify into one pattern.
1849         (iorsi3*, xorsi3*): Likewise.
1850         (peephole2 patterns): Use peep2_reg_dead_p; verify not a
1851         conditional return.
1852         (old cond_exec patterns): Remove.
1853         (define_cond_exec): New.
1854
1855 Sat May 27 11:01:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1856
1857         * tree.h (TREE_CODE_LENGTH): New macro.
1858         * c-common.c (c_find_base_decl): Use it.
1859         * expr.c (safe_from_p): Likewise.
1860         * print-tree.c (print_node): Likewise.
1861         * tree.c (make_node, copy_node, get_identifier): Likewie.
1862         (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
1863         (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
1864         * fold-const.c (make_range): Likewise.
1865         (fold): Likewise; also use first_rtl_op.
1866         * c-iterate.c (collect_iterators): Use first_rtl_op.
1867         * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
1868         Use IS_EXPR_CODE_CLASS.
1869         (preexpand_calls): Likewise.
1870         * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
1871         and TREE_CODE_LENGTH.
1872         * stmt.c (warn_if_unused_value): If no operands, no unused value.
1873
1874 2000-05-26  Geoffrey Keating  <geoffk@cygnus.com>
1875
1876         * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
1877         than '%1(%*)'.
1878         (movdi_internal64): Likewise.
1879
1880         * config/rs6000/rs6000.md: Correct order of operands for DImode
1881         boolean patterns.
1882
1883         * config/rs6000/rs6000.c (boolean_or_operator): New function.
1884         * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
1885         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
1886         * config/rs6000/rs6000.md: Use boolean_or_operator instead of
1887         boolean_operator for the boolean patterns without NOTs.
1888
1889         * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
1890         from reg_or_u_cint_operand.  Change comment and behaviour.
1891         (logical_operand): Clean up, add assertion.
1892         (non_logical_cint_operand): Also check for
1893         reg_or_logical_cint_operand.
1894         * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
1895         * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
1896         in the expander.
1897         (xorsi3): Likewise.
1898         (iordi3): Likewise.
1899         (xordi3): Likewise.
1900
1901 2000-05-26  Mark Mitchell  <mark@codesourcery.com>
1902
1903         * tree.h (struct record_layout_info): Rename to (struct
1904         record_layout_info_s).
1905         * stor-layout.c (start_record_layout): Replace
1906         `record_layout_info' with `record_layout_info_s'.
1907
1908 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
1909
1910         * flow.c (find_label_refs): New function.
1911         (find_basic_blocks_1): Call it for each alternative of a call
1912         placeholder.
1913
1914 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
1915
1916         * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
1917         of get_pc.
1918
1919 2000-05-25  Richard Henderson  <rth@cygnus.com>
1920
1921         * config/alpha/alpha.c (alpha_comparison_operator): Don't be
1922         so strict about DImode.
1923         (alpha_swapped_comparison_operator): Likewise.
1924         * config/alpha/alpha.md (*setne_internal): Name it.  Allow
1925         any integer output mode.
1926         (*setcc_internal): Likewise.
1927         (*setcc_swapped_internal): Likewise.
1928         (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
1929         (*mov[qhs]icc_internal): New.
1930         (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
1931
1932 2000-05-25  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1933
1934         * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
1935
1936 2000-05-25  Richard Henderson  <rth@cygnus.com>
1937
1938         * bb-reorder.c (reorder_block_def): Reorder elements for size.
1939         Remove add_jump; add next; replace flags with visited.
1940         (rbd_init): Remove.
1941         (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
1942         (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
1943         (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
1944         (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
1945         (RBI): New.
1946         (reorder_index, reorder_last_visited): Remove.
1947         (skip_insns_after_block): Rewrite to use a switch.
1948         (get_common_dest): Remove.
1949         (chain_reorder_blocks): Remove.
1950         (record_effective_endpoints): Split out from reorder_basic_blocks.
1951         (make_reorder_chain): Likewise.  Loop until all blocks are placed.
1952         (make_reorder_chain_1): Renamed from old make_reorder_chain.
1953         Only construct the reorder chain, do not move insns.  Try harder
1954         to tail recurse.
1955         (label_for_bb, emit_jump_to_block_after): New.
1956         (fixup_reorder_chain): Use them.  Do bulk block movement.  Examine
1957         and adjust the jump insns appropriately.  Fixup basic_block_info.
1958         (verify_insn_chain): Always define.
1959         (relate_bbs_with_scopes): Call xmalloc, not xcalloc.  Fix thinko
1960         in allocation size.
1961         (make_new_scope): Don't write zeros to calloc'd space.
1962         (build_scope_forest): Rely on xrealloc to DTRT.
1963         (reorder_basic_blocks): Don't build loop nest.  Don't fail if
1964         profile_arc_flag.  Streamline EH test.
1965
1966         * flow.c (redirect_edge_succ, redirect_edge_pred): New.
1967         * basic-block.h: Declare them.
1968
1969 2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
1970
1971         * emit-rtl.c (reset_used_decls): New function.
1972         (unshare_all_rtl_again): Call it.
1973
1974 2000-05-25  Zack Weinberg  <zack@wolery.cumb.org>
1975
1976         * cpplex.c (maybe_macroexpand): Warn about function-like
1977         macros used in non-function context, if -Wtraditional.
1978
1979 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
1980
1981         * recog.c (peephole2_optimize): Use INSN_P.
1982
1983 2000-05-25  Richard Henderson  <rth@cygnus.com>
1984
1985         * ifcvt.c (seq_contains_jump): New.
1986         (noce_try_store_flag_constants): Use it to fail conversion.
1987         (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
1988
1989 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
1990
1991         * except.h (can_throw): Declare it.
1992         * except.c (can_throw): Give it external linkage.
1993         * resource.c (find_dead_or_set_registers): Use can_throw.
1994
1995 2000-05-25  Richard Henderson  <rth@cygnus.com>
1996
1997         * flow.c (mark_set_1): Don't record conditionally dead memory.
1998
1999 2000-05-25  Jan Hubicka  <jh@suse.cz>
2000
2001         * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
2002         and pc_set at the place of simplejump_p and condjump_p.
2003         * cse.c (record_jump_equiv): Likewise.
2004         * emit-rtl.c (emit): Likewise.
2005         * explow.c (find_next_ref): Likewise.
2006         * flow.c (tidy_fallthru_edge): Likewise.
2007         (init_propagate_block_info): Likewise.
2008         * gcse.c (delete_null_pointer_checks): Likewise.
2009         * ifcvt.c (cond_exec_get_condition, noce_get_condition,
2010         dead_or_predicable): Likewise.
2011         * integrate.c (copy_insn_list): Likewise.
2012         * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
2013         for_each_insn_in_loop, check_dbra_loop, get_condition,
2014         insert_bct, load_mems): Likewise.
2015         * resource.c (find_dead_or_set_registers): Likewise.
2016         * sibcalls.c (simplejump_p): Likewise.
2017         * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
2018
2019 2000-05-25  David Edelsohn  <edelsohn@gnu.org>
2020
2021         * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
2022         to STRING case.  Use doubleword STRING move for TARGET_POWERPC64
2023         when unaligned.
2024         * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
2025         (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
2026         (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
2027         * rs6000.md: Name various internal patterns.
2028
2029 2000-05-25  Jan Hubicka  <jh@suse.cz>
2030
2031         * jump.c (invert_exp_1): Remove first argument, use pc_set
2032         to get the expression.
2033         (redirect_exp): Make static; redirect only the pc_set expression,
2034         remove first argument.
2035         (invert_exp): Remove first argument, make static.
2036         (jump_optimize): Use any_condjump_p, any_uncondjump_p and
2037         any_onlyjump at most places where we originaly did condjump_p
2038         and simplejump_p.
2039         (jump_back_p, follow_jumps, thread_jumps): Likewise.
2040         (delete_barrier_succesors): Use pc_set.
2041         (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
2042         calls of invert_exp and redirect_exp.
2043         * rtl.h (redirect_exp, invert_exp): Remove.
2044         * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
2045
2046 2000-05-25  Richard Henderson  <rth@cygnus.com>
2047
2048         * stmt.c (expand_end_bindings): Fix thinko last change.
2049
2050 2000-05-25  Andrew MacLeod  <amacleod@cygnus.com>
2051             Andrew Haley  <aph@cygnus.com>
2052
2053         * except.c  (func_eh_entry): Add emitted field.
2054         (new_eh_region_entry): Set emitted field to 0;
2055         (output_exception_table_entry): Only emit previously un-emitted data,
2056         and send it to the eh_data section.
2057         (output_exception_table): Break out common parts. Output
2058         exception table for entire compilation unit to eh_data section.
2059         (output_exception_table_data): Common parts of output_exception_table.
2060         Send output to eh_data section.
2061         (output_function_exception_table): Output exception table data for
2062         a single function to eh_data section.
2063         (free_exception_table): New external to free the table.
2064         * except.h (free_exception_table): Add prototype.
2065         (output_function_exception_table): Add prototype.
2066         * final.c (final_end_function): Output function exception table
2067         for IA64_UNWIND_INFO.
2068         (final_scan_insn): Emit any unwind directives for an insn.
2069
2070         * frame-dwarf2.c: New file containing all DWARF 2 specific code
2071         from frame.c.
2072         * frame.c: Remove all DWARF 2 specific code.
2073         * config/ia64/frame-ia64.c: New file.
2074         (gthread_stuff): Make all gthread available with
2075         IA64_UNWIND_INFO.
2076         (dwarf_fde): Define an IA64 struct for dwarf_fde.
2077         (__register_frame_info, __register_frame): Move to common area of file.
2078         (__register_frame_info_table, __register_frame_table): Move to common i
2079         area.
2080         (__deregister_frame_info, __deregister_frame): Move to common area.
2081         (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
2082         (read_uleb128): New version for ia64.
2083         (get_unwind_record): Read the next IA-64 unwind record.
2084         (read_R_record): Read a region header record.
2085         (process_a_b_reg_code): X record helper.
2086         (read_X_record): Read an X format record.
2087         (read_B_record): Read a B format record.
2088         (P3_record_types): List of record types matching the P3 format.
2089         (P7_record_types): List of record types matching the P7 format.
2090         (P8_record_types): List of record types matching the P8 format.
2091         (read_P_record): Read a P format record.
2092         (init_ia64_reg_loc): Set default fields for a register.
2093         (init_ia64_unwind_frame): Set defaults for all register records.
2094         (execute_one_ia64_descriptor): Execute one descriptor record.
2095         (rse_address_add): Calculate the position of a local reg in memory.
2096         (normalize_reg_loc): Turn a location descriptor into a memory address.
2097         (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
2098         within a specified PC offset range.
2099         (get_real_reg_value): Given a register location, retrieve its value.
2100         (set_real_reg_value): Change the value of a register location.
2101         (copy_reg_value): Copy reg values, if needed.
2102         (copy_saved_reg_state): Copy all registers that need to be copied.
2103         (process_state_between): Normalize all frame register records that
2104         fall within the specified PC range.
2105         (frame_translate): Take a processed frame description, and turn
2106         everything into addresses.
2107         (build_ia64_frame_state ): Find and create frame state record for a PC.
2108         (get_personality): Get the personality routine for a given frame.
2109         (get_except_table): Get the exception table for a given frame.
2110         (record_name): Unwind record names for debugging.
2111         (print_record): Print and unwind record.
2112         (print_all_records): Print an entire unwind image.
2113         (__ia64_backtrace): Print a backtrace.
2114         (ia64_backtrace_helper): New function.
2115         (__register_frame_info_aux): New function.
2116         * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
2117
2118         * frame.h (enum unw_record_type): New unwind record types.
2119         (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
2120         (struct unw_r_record, unwind_record): New unwind record structs.
2121         (struct unwind_info_ptr): Unwind information layout.
2122         (IA64_UNW_LOC_TYPE_*): Macros for different types for location
2123         descriptors.
2124         (struct ia64_reg_loc): Register location description.
2125         (struct ia64_frame_state): Location of all registers in a frame.
2126         (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
2127         * libgcc2.c (__ia64_personality_v1): Personality routine.
2128         (__calc_caller_bsp): Calculate the bsp register for the caller's
2129         frame.
2130         (ia64_throw_helper): Figure out who to return to and set up the
2131         registers.
2132         (__throw): Throw routine.
2133
2134         * output.h (assemble_eh_align, assemble_eh_label): New functions
2135         to generate EH info where we want it.
2136         (assemble_eh_integer): New function.
2137         * toplev.c (compile_file): Output module level exception table for
2138         non-ia64 targets.
2139         (main): Set exceptions_via_longjump and flag_new_exceptions based
2140         on IA64_UNWIND_INFO too.
2141
2142         * varasm.c (assemble_eh_label): Generate a label via
2143         ASM_OUTPUT_EH_LABEL if it has been specified.
2144         (assemble_eh_align): Generate an alignment directive via
2145         ASM_OUTPUT_EH_ALIGN if it has been specified.
2146         (assemble_eh_label): Generate an integer value via
2147         ASM_OUTPUT_EH_type if they have been specified.
2148         * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
2149         (ia64_init_builtins): Add __builtin_ia64_bsp
2150         and __builtin_ia64_flushrs.
2151         (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
2152         IA64_BUILTIN_FLUSHRS.
2153         * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
2154         IA64_BUILTIN_FLUSHRS.
2155
2156         * config/ia64/ia64.md (flushrs): New insn to flush the register
2157         stack.  Add to unspec list.
2158
2159         * config/ia64/crtbegin.asm (frame_object): Change size.
2160         (__do_frame_setup_aux): New function.
2161         * config/ia64/crtend.asm: call __do_frame_setup_aux.
2162         * config/ia64/t-ia64 (LIB2ADDEH): Add.
2163         * Makefile.in (LIB2ADDEH): Add.
2164         (LIB2ADD): Use LIB2ADDEH.
2165
2166 2000-05-24  Richard Henderson  <rth@cygnus.com>
2167
2168         * recog.c (offsettable_address_p): If mode size is zero, assume
2169         BIGGEST_ALIGNMENT.
2170
2171 2000-05-24  J. David Anglin  <dave@hiauly.hia.nrc.ca>
2172
2173         * configure.in: Check for -Wno-long-long option support and improve
2174         handling of warning CFLAGS for stages 1 and 2.
2175         * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
2176         * configure: Regenerate.
2177
2178 Wed May 24 19:37:53 2000  Jeffrey A Law  (law@cygnus.com)
2179
2180         * gcc.texi: Remove contributor list.  Instead include contrib.texi.
2181         * contrib.texi: New file.
2182
2183 Thu May 25 02:27:22 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2184
2185         * loop.c (basic_induction_var): Avoid double recording of an increment.
2186
2187 Thu May 25 02:19:27 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2188
2189         * Back out this patch:
2190         Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
2191           * loop.h (struct induction): Add multi_insn_incr.
2192           * loop.c (basic_induction_var): New multi_insn_incr argument.
2193           Set it if we search back through previous insns for the biv.
2194           (record_biv): New multi_insn_incr argument; fill in struct induction.
2195           (strength_reduce): Discard an iv with multiple bivs, any of
2196           which require multiple insns to increment.
2197
2198         * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
2199
2200 Thu May 25 02:09:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2201
2202         * rtl.h (loc_mentioned_in_p): Declare.
2203         * reload.c (loc_mentioned_in_p): Moved from here...
2204         * rtlanal.c (loc_mentioned_in_p): to here.  No longer static.
2205         Fix loop increment for 'E' handling.
2206         * loop.c (strength_reduce): When doing biv->giv conversion,
2207         take multi-insn biv increments into account.
2208
2209 2000-05-24  Jason Merrill  <jason@casey.soma.redhat.com>
2210
2211         * stmt.c (expand_end_bindings): Look through NOTEs to find a
2212         BARRIER.
2213
2214 2000-05-24  Mark Mitchell  <mark@codesourcery.com>
2215
2216         * calls.c (expand_call): Handle cleanups in tail-recursion
2217         arguments analagously to cleanups in sibling calls.
2218
2219 2000-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2220
2221         * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
2222         All callers changed.
2223
2224 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
2225
2226         * expr.c (expand_assignment, store_expr, expand_expr,
2227         expand_expr_unaligned): Set in_check_memory_usage while emitting
2228         chkr_check_addr libcall.
2229
2230 2000-05-24  Nick Clifton  <nickc@cygnus.com>
2231
2232         * fold-const.c (extract_muldiv): When constructing a
2233         multiplier/divisor, do not expect const_binop to correctly
2234         determine if overflow has occured, so check explicitly.
2235
2236 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
2237
2238         * c-decl.c (build_enumerator): Don't modify the value's type,
2239         convert it.
2240
2241 2000-05-24  Andreas Jaeger  <aj@suse.de>
2242
2243         * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
2244
2245 2000-05-24  Eric Christopher <echristo@cygnus.com>
2246
2247         * configure.in: Redefine inhibit_libc conditions.
2248         * libgcc2.c: Remove inhibit_libc conditional define.
2249         * configure: Regenerate.
2250
2251 2000-05-24  Phil Edwards  <pme@sourceware.cygnus.com>
2252
2253         * configure.in:  For --enable-languages=LIST, check for empty LIST.
2254         * configure:  Regenerate.
2255
2256 2000-05-24  Lars Brinkhoff  <lars@nocrew.org>
2257
2258         * pdp11.h (STACK_BOUNDARY): Define.
2259
2260 2000-05-24  Jakub Jelinek  <jakub@redhat.com>
2261
2262         * ifcvt.c (if_convert): Update life info globally.
2263
2264 2000-05-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2265
2266         * emit-rtl.c (unshare_all_decls): New function.
2267         (unshare_all_rtl): Call it.
2268
2269 2000-05-23  Nick Clifton  <nickc@cygnus.com>
2270
2271         * configure.in: Treat 'strongarm' as if it were 'arm' when
2272         determining cpu type.
2273
2274         * configure: Regenerate.
2275
2276         * config/arm/arm.c: Change 'char *' to 'const char *' for cases
2277         where constant strings are involved.
2278
2279         * config/arm/arm.h (arm_condition_codes): Change type to 'const
2280         char *'.
2281
2282         * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
2283         cases where constant strings are involved.
2284
2285 Tue May 23 15:08:31 2000  Clinton Popetz  <cpopetz@cygnus.com>
2286
2287         * config/sh/sh.c (gen_far_branch, split_branches): Update
2288         to reflect new prototypes for redirect_jump and invert_jump.
2289         (sh_insn_length_adjustment): Get rid of const warnings.
2290
2291 2000-05-23  Kazu Hirata  <kazu@hxi.com>
2292
2293         * invoke.texi (Options for Debugging Your Program or GCC): Update
2294         the names of dump files.
2295
2296 Tue May 23 13:58:52 2000  Philippe De Muyter  <phdm@macqel.be>
2297
2298         * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
2299         * configure: Regenerated.
2300
2301 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
2302
2303         * simplify-rtx.c (SIGN_EXTEND): New macro.
2304         (simplify_unary_operation, simplify_binary_operation,
2305         simplify_relational_operation): Use SIGN_EXTEND.  Make low
2306         halves of (low, high) pairs unsigned if they weren't already.
2307         (simplify_ternary_operation): Cast INTVAL to unsigned before
2308         comparing to a MODE_BITSIZE.
2309
2310 2000-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2311
2312         * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
2313         rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
2314
2315         * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
2316         gcc_AC_NEED_DECLARATIONS.
2317
2318         * dwarfout.c: Don't prototype time().
2319
2320         * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
2321
2322         * system.h: Likewise.
2323
2324         * toplev.c: Likewise.
2325
2326 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
2327
2328         * c-decl.c (pushdecl): Invert sense of test for non-global types.
2329
2330 Tue May 23 18:11:42 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2331
2332         * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
2333
2334 2000-05-23  Jonathan Larmour  <jlarmour@redhat.co.uk>
2335
2336         * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
2337
2338 Tue May 23 06:50:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2339
2340         * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
2341         (alpha_start_function): Never write ..ng label if VMS or NT.
2342         (alpha_align_insns): Remove GP_IN_USE arg.
2343         Alignment now unsigned.
2344         (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
2345         * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
2346         and two define_insn's.
2347
2348 2000-05-22  Richard Henderson  <rth@cygnus.com>
2349
2350         * combine.c (simplify_comparison): Use trunc_int_for_mode.
2351
2352 2000-05-22  Richard Henderson  <rth@cygnus.com>
2353
2354         * stor-layout.c (place_field): Change rli->size to rli->offset.
2355
2356 2000-05-22  Richard Henderson  <rth@cygnus.com>
2357
2358         * function.c (thread_prologue_and_epilogue_insns): Make sure
2359         existing line number notes appear after the prologue.
2360
2361 Mon May 22 21:49:00 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2362
2363         * config/alpha/alpha.c (alpha_fnname): New static variable.
2364         (print_operand, case '~'): New case.
2365         (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
2366         (alpha_start_function): Set alpha_fnname.
2367         Write "ng" label if no ldgp; don't write ldgp insn.
2368         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
2369         * config/alpha/alpha.md (prologue_ldgp): New define_insn.
2370
2371 Mon May 22 11:30:48 2000  Clinton Popetz  <cpopetz@cygnus.com>
2372
2373         * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
2374         on deleted labels.
2375
2376 2000-05-22  Zack Weinberg  <zack@wolery.cumb.org>
2377
2378         * varasm.c (eh_frame_section): Revert change to argument list.
2379
2380 Mon May 22 13:14:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2381
2382         * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
2383         (gen_extend_insn, can_fix_p, can_float_p): Likewise.
2384
2385         * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
2386         dangling "else" that causes "break" to be conditional.
2387         Also remove unneeded code at start.
2388
2389 Mon May 22 17:31:35 2000  Philippe De Muyter  <phdm@macqel.be>
2390
2391         * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
2392         * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
2393         * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
2394
2395 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
2396
2397         * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
2398         just one argument.
2399
2400 Mon May 22 06:57:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2401
2402         * alias.c (record_component_aliases): New function.
2403         * tree.h: Clean up some declarations and comments.
2404         (record_component_aliases): New declaration.
2405         * tree.c (get_alias_set): If type and has alias set, use it.
2406
2407 2000-05-22  Richard Henderson  <rth@cygnus.com>
2408
2409         * simplify-rtx.c (simplify_ternary_operation): Try to simplify
2410         IF_THEN_ELSE to a setcc form.
2411         * jump.c (can_reverse_comparison_p): Be prepared for insn null.
2412
2413 2000-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2414
2415         * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
2416         (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
2417
2418 Sun May 21 16:42:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2419
2420         * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
2421         not a PARALLEL.
2422
2423 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2424
2425         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
2426         * config/mn10300/mn10300.c (print_operand): Likewise.
2427
2428         * final.c (split_double): Right shift of negative values is not
2429         portable.
2430
2431         * ifcvt.c (if_convert): Scan and kill dead code.
2432
2433         * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
2434
2435 2000-05-20  Zack Weinberg  <zack@wolery.cumb.org>
2436
2437         * diagnostic.c: Eliminate implicit int.
2438         * except.c, gcc.c: Add static prototypes.
2439         * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
2440         * gensupport.c (process_rtx): Use XVEC to initialize vector
2441         slot of 'split'.
2442
2443         * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
2444         debug_reg_names instead of static reg_names.  If not, define
2445         global reg_names.
2446         * regclass.c: Don't define global reg_names unless
2447         DEBUG_REGISTER_NAMES is defined.
2448
2449         * reload1.c (order_regs_for_reload): Remove unused variable.
2450         * varasm.c: Include output.h after defaults.h.  Define
2451         eh_frame_section as function of no args, not of unspecified args.
2452
2453         * gcc.c: Constify argbuf; arguments to store_arg,
2454         process_command, main; elements of struct command and struct
2455         switchstr; local variables in execute, process_command, main.
2456
2457 2000-05-20  Bruce Korb  <bkorb@gnu.org>
2458
2459         * fixinc/inclhack.def:  many applications of c_fix=format + tests
2460         * fixinc/check.diff:  regenerated
2461         * fixinc/fixincl.x:  regenerated
2462
2463 Sat May 20 09:30:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2464
2465         * alias.c: Clarify some comments.
2466         (record_base_value): REGNO is unsigned.
2467         * rtl.h (record_base_value): Likewise.
2468
2469         * alias.c (aliases_everything_p): Don't special-case QImode here.
2470         * c-common.c (c_get_alias_set): Do it here.
2471         Handle BIT_FIELD_REF by getting alias info for arg.
2472         Use POINTER_TYPE_P.
2473
2474 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2475
2476         * mklibgcc.in: Restore rule to create ${dir}.
2477
2478 Sat May 20 08:45:41 2000  H.J. Lu  <hjl@gnu.org>
2479
2480         * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
2481         GCC_FOR_TARGET used by MULTILIBS.
2482         * mklibgcc.in: Make sure each .o file depends on the
2483         directory it will be in.
2484         Make the multilib directory depends libgcc.
2485
2486 Sat May 20 08:29:28 2000  H.J. Lu  <hjl@gnu.org>
2487
2488         * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
2489
2490 Sat May 20 07:27:35 2000  Alexandre Oliva  <aoliva@cygnus.com>
2491
2492         * fold-const.c (make_range): Handle degenerated intervals.
2493         Fixes c-torture/execute/991221-1.c
2494
2495 Fri May 19 18:16:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2496
2497         * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
2498         * reload.c (find_equiv_reg): Likewise.
2499         * alias.c (init_alias_analysis): Likewise.
2500         Only call prologue_epilogue_contains on insns.
2501         * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
2502         * bb-reorder.c (hard-reg-set.h): Include earlier.
2503         * haifa-sched.c (hard-reg-set.h): Likewise.
2504         * ifcvt.c (hard-reg-set.h): Likewise.
2505         * local-alloc.c (hard-reg-set.h): Likewise.
2506         * loop.c (hard-reg-set.h): Likewise.
2507         * predict.c (hard-reg-set.h): Likewise.
2508         * regrename.c (hard-reg-set.h): Likewise.
2509         * flow.c (hard-reg-set.h): Likewise.
2510         (reg_set_to_hard_reg_set): New function.
2511         * bitmap.c (regs.h, basic-block.h): No longer include.
2512         (bitmap.h): Now include.
2513         * conflict.c (hard-reg-set.h): Include.
2514         * profile.c (hard-reg-set.h): Likewise.
2515         * print-rtl.c (hard-reg-set.h): Likewise.
2516         * sbitmap.c (hard-reg-set.h): Likewise.
2517         * toplev.c (hard-reg-set.h): Likewise.
2518         * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
2519         * hard-reg-set.h (reg_names): Now constant.
2520         * regs.h (reg_names): Likewise.
2521         * regclass.c (reg_names): Likewise.
2522         * loop.h (basic-block.h): No longer include.
2523         (bitmap.h): Now include.
2524         * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
2525         * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
2526         (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
2527
2528 2000-05-19  Jan Hubicka  <jh@suse.cz>
2529             Richard Henderson  <rth@cygnus.com>
2530
2531         * basic-block.h (struct edge_def): New field "count".
2532         (struct basic_block_def): Likewise.
2533         * flow.c (entry_exit_blocks): Add count fileds.
2534         (split_edge): Keep count information up-to-date.
2535         (dump_edge_info, dump_flow_info): Dump count fields.
2536
2537         * final.c (count_instrumented_edges): Rename to edge from arc.
2538         (end_final): Update users.
2539         * profile.c: Include expr.h, basic-block.h.
2540         (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
2541         (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
2542         (ignore_next_note, return_label_execution_count): Kill.
2543         (bbg_file_name, da_file_name): Kill.
2544         (edge_info, bb_info): New structures.
2545         (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
2546         (count_instrumented_edges, total_num_edges): Rename to edge from arc.
2547         (total_num_edges_instrumented): Likewise.
2548         (init_arc, expand_spanning_tree): Kill.
2549         (fill_spanning_tree, tablejump_entry_p): Kill.
2550         (instrument_edges):  Rewrite from instrument_arcs to use
2551         commit_edge_insertions infrastructure.
2552         (compute_branch_probabilities): Remove arguments; rewrite for
2553         CFG infrastructure; use rtl_dump_file directly.
2554         (branch_prob, find_spanning_tree): Likewise.
2555         (union_groups, find_group): New.
2556         (init_branch_prob): Make bbg_file_name and da_file_name local.
2557         (end_branch_prob): Use rtl_dump_file directly.
2558         (init_edge_profiler): Rename to edge from arc.
2559         (output_arc_profiler): Kill.
2560         (gen_edge_profiler): New.
2561         (output_func_start_profiler): Turn off profiling.  Make the
2562         constructor static when we can.
2563         * rtl.h (branch_prob, end_branch_prob): Update prototypes.
2564
2565         * toplev.c (DFI_flow): Remove.
2566         (DFI_cfg, DFI_life): New.
2567         (dump_file): Update accordingly.
2568         (compile_file): Call end_branch_prob if profile_arc_flag too.
2569         (rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
2570         profiling after the CFG is built.  Move flow1 life analysis to
2571         DFI_life.  Always estimate remaining probabilities.
2572
2573 2000-05-19  Richard Henderson  <rth@cygnus.com>
2574
2575         * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
2576
2577         * flow.c (make_edges): The sibling call edge to exit is abnormal.
2578
2579 2000-05-19  Richard Henderson  <rth@cygnus.com>
2580
2581         * jump.c (redirect_jump): Add delete_unused argument.  Don't
2582         remove labels and code following when LABEL_NUSES goes to zero.
2583         (invert_jump): Likewise.
2584         (jump_optimize_1): Fix redirect/invert arguments.
2585         (do_cross_jump, thread_jumps): Likewise.
2586         * flow.c (split_edge): Likewise.
2587         * reorg.c (optimize_skip): Likewise.
2588         (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
2589         * profile.c (instrument_arcs): Likewise.
2590         * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
2591         * rtl.h: Update prototypes.
2592
2593 Fri May 19 12:05:13 2000  Clinton Popetz  <cpopetz@cygnus.com>
2594
2595         * ssa.c (convert_from_ssa): Tell life_analysis we need death
2596         notes.
2597         (make_regs_equivalent_over_bad_edges): Only look at abnormal
2598         critical edges.
2599
2600 2000-05-19  Zack Weinberg  <zack@wolery.cumb.org>
2601
2602         * cpphash.c (funlike_macroexpand): Make sure not to walk p1
2603         past l1 when deleting whitespace and markers.
2604
2605         * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
2606         * cpplib.c (do_unassert): Put the list to compare against on
2607         the stack.
2608
2609 2000-05-19  Bruce Korb  <bkorb@gnu.org>
2610
2611         * fixinc/README:  cleaned up old documentation
2612         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
2613         * fixinc/check.tpl: compute the list of needed directories
2614         emit "#if defined(name)" because of conflict
2615         omit machine name differences from output differences
2616         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
2617         (machine_name): change test text to use `sed' markers
2618         * fixinc/fixincl.x: regen
2619
2620 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2621
2622         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
2623         a CONSTRUCTOR.
2624
2625 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
2626
2627         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
2628         it to match the current practice.
2629
2630 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
2631
2632         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
2633
2634 2000-05-18  Richard Henderson  <rth@cygnus.com>
2635
2636         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
2637         * rtl.h (insn_dependant_p): Declare it.
2638         * loop.c (strength_reduce): Use it.
2639
2640 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
2641
2642         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
2643         16-bit and 64-bit clean-up.
2644
2645 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
2646
2647         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
2648         * configure: Rebuilt.
2649
2650 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
2651
2652         * genopinit.c: Use $ for escape sequences in optab patterns.
2653         Remove backslashes from optab patterns.  Change $A, $B, $C to
2654         expand to (int) whatever instead of just whatever; remove
2655         explicit (int) from all optab patterns.
2656
2657         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
2658         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
2659         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
2660         genrecog.c: Remove private copies of xmalloc, xrealloc, and
2661         xstrdup.
2662
2663 2000-05-18  Richard Henderson  <rth@cygnus.com>
2664
2665         * jump.c (jump_optimize_1): Base minimum insn count during
2666         find_cross_jump on BRANCH_COST.
2667
2668 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
2669
2670         * print-rtl.c (print_rtx): Only print note line number as string
2671         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
2672         * final.c (final_scan_insn): Do nothing for note line number 0.
2673
2674 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
2675
2676         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
2677         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
2678         NOTE_INSN_DELETED_LABEL.
2679
2680 2000-05-18  Nick Clifton  <nickc@cygnus.com>
2681
2682         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
2683         uninitialised data in .rodata not .bss, and do not interpret an
2684         error in the initialisation value as meaning that the variable
2685         should be placed in the .bss section.
2686
2687 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
2688
2689         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
2690         not `$ac_cv_prog_cc_cc_c_o'.
2691         * configure: Regenerated.
2692
2693 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
2694             Richard Henderson  <rth@cygnus.com>
2695
2696         * c-common.h (enum c_tree_index): Add g77 type entries.
2697         (g77_integer_type_node, g77_uinteger_type_node): New.
2698         (g77_longint_type_node, g77_ulongint_type_node): New.
2699         * c-decl.c (init_decl_processing): Initialize them.
2700
2701 2000-05-18  Richard Henderson  <rth@cygnus.com>
2702
2703         * config/h8300/h8300.md (subs patterns): Use %G to negate.
2704
2705         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
2706         (small_power_of_two): Likewise; use exact_log2.
2707         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
2708         (output_adds_subs): Remove.
2709         (two_insn_adds_subs_operand): New.
2710         (split_adds_subs): New.
2711         * config/h8300/h8300-protos.h: Update.
2712         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
2713         (CONST_OK_FOR_L): Match strict adds operands.
2714         (CONST_OK_FOR_N): Match struct subs operands.
2715         * config/h8300/h8300.md (adds_subs insns): Remove.
2716         (addhi patterns): Output adds/subs directly.
2717         (addsi_h8300h): Likewise.
2718         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
2719
2720 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
2721
2722         * cppexp.c (parse_assertion): New.
2723         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
2724         (_cpp_parse_expr): Remove case '#'.  Don't set
2725         parsing_if_directive.
2726         * cpphash.c (collect_objlike_expansion,
2727         collect_funlike_expansion, collect_params,
2728         _cpp_create_definition): The list no longer has a trailing
2729         VSPACE token.
2730         * cpphash.h (enum node_type): Add T_ASSERTION.
2731         (struct hashnode): Remove aschain, add pred.
2732         (struct predicate): New.
2733         Update prototypes.
2734
2735         * cpplex.c (expand_token_space): Handle both offset and
2736         nonoffset lists.
2737         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
2738         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
2739         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
2740         _cpp_equiv_toklists): New.
2741         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
2742         stop at any single-character token, not just newline.
2743         (_cpp_lex_token): Remove special cases for #define and #if.
2744         (cpp_get_token): Expect # as a separate token type.  Remove
2745         DIRECTIVE case.
2746         (_cpp_get_directive_token): Remove DIRECTIVE case.
2747         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
2748
2749         * cpplib.c (_cpp_check_directive): Set dirno and
2750         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
2751         (_cpp_handle_directive): Run # <number> through the same logic
2752         as normal directives.
2753         (do_define): Don't set parsing_define_directive.  Use
2754         _cpp_scan_until.  The list does not have a VSPACE at the end.
2755         (do_if): Save, clear, and restore only_seen_white around
2756         _cpp_parse_expr.
2757         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
2758         (do_assert, do_unassert): Rewrite.
2759
2760         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
2761         (LIST_OFFSET): New flag.
2762         (struct cpp_toklist): Replace dir_handler and dir_flags with
2763         dirno and flags.
2764         (struct cpp_reader): Remove parsing_if_directive and
2765         parsing_define_directive.
2766
2767 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2768
2769         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
2770         following the cabs decl which terminate on the following line.
2771         Add the corresponding test_text case.
2772
2773 2000-05-18  Neil Booth  <NeilB@earthling.net>
2774
2775         * cppinit.c (cpp_reader_init): Initialise col_adjust and
2776         default tab stop size.
2777         (no_num, OPT_ftabstop): New.
2778         (handle_option): Handle "ftabstop=" command-line option.
2779         (print_help): Document it.
2780         * cpplex.c (COLUMN): Remove.
2781         (handle_newline): Reset col_adjust.
2782         (skip_whitespace): Update col_adjust as tabs encountered.
2783         (_cpp_lex_line): Update to use col_adjust.  Call
2784         skip_whitespace for all whitespace.
2785         * cpplib.h (struct cpp_options): New member tabstop.
2786         (struct cpp_reader): New member col_adjust.
2787         (CPP_BUF_COL): Update.
2788         (CPP_BUF_COLUMN): New.
2789         * cpp.texi: Document "-ftabstop=" command line option.
2790
2791 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
2792
2793         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
2794         files.
2795         * configure: Rebuilt.
2796
2797 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
2798
2799         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
2800
2801         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
2802         HOST_BITS_PER_WIDE_INT is >= 64.
2803
2804 2000-05-17  Richard Henderson  <rth@cygnus.com>
2805
2806         * jump.c (jump_optimize_1): Remove inactive but real insns
2807         in jump-to-next-insn optimization.
2808
2809 2000-05-17  Richard Henderson  <rth@cygnus.com>
2810
2811         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
2812         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
2813         Don't call recompute_reg_usage if no_new_pseudos is true.
2814         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
2815         Return true if we did work; update global life information.
2816         * basic-block.h (optimize_mode_switching): Update decl.
2817
2818 2000-05-17  Neil Booth  <neilb@earthling.net>
2819
2820         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
2821
2822 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
2823
2824         * cpplib.c: New feature, #pragma system_header.
2825         * cpp.texi: Document special treatment of system headers, and
2826         the various mechanisms to get a header that special treatment.
2827
2828 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2829
2830         * system.h (offsetof): Define at the very end, to ensure we prefer
2831         the platform's definition if available.
2832
2833 2000-05-16  Bruce Korb  <bkorb@gnu.org>
2834
2835         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
2836         * fixinc/server.c: likewise
2837         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
2838         + #ifdef debugging code + use #def constant for
2839         sub-pattern count
2840         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
2841         on C++ math namespace
2842
2843 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2844
2845         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
2846         Don't check the return value of sprintf.  Use asprintf to avoid
2847         buffer overflows.
2848
2849 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
2850
2851         * flags.h (warn_unused_function, warn_unused_label,
2852         warn_unused_parameter, warn_unused_variable, warn_unused_value):
2853         Replace ``warn_unused''.
2854         (set_Wunused): Add declaration.
2855         * toplev.c (set_Wunused): New function.
2856         (warn_unused_function, warn_unused_label, warn_unused_parameter,
2857         warn_unused_variable, warn_unused_value): New variables.
2858         (W_options): Add -Wunused-function, -Wunused-function,
2859         -Wunused-label, -Wunused-parameter, -Wunused-variable and
2860         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
2861
2862         * toplev.c (decode_W_option): Update -Wunused flags by calling
2863         set_Wunused.
2864         * c-decl.c (c_decode_option): Ditto for -Wall.
2865
2866         * stmt.c (expand_expr_stmt, expand_expr_stmt,
2867         warn_about_unused_variables): Replace warn_unused with more
2868         explicit warn_unused_value et.al.
2869         * function.c (expand_function_end): Ditto.
2870         * c-typeck.c (internal_build_compound_expr,
2871         internal_build_compound_expr): Ditto.
2872         * c-decl.c (poplevel, pop_label_level): Ditto.
2873         * toplev.c (check_global_declarations): Replace warn_unused with
2874         check for either warn_unused_function or warn_unused_variable.
2875
2876         * gcc.1, invoke.texi (Warning Options): Document
2877         -Wunused-function, -Wunused-function, -Wunused-label,
2878         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
2879
2880 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
2881
2882         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
2883         $(srcdir), not in the current directory.
2884
2885 2000-05-16  Richard Henderson  <rth@cygnus.com>
2886
2887         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
2888         assembler supports it.
2889         (.fini, .init): Use a gp-relative indirect call.
2890         (__do_global_dtors_aux): Preserve the gp; rebundle.
2891         (__do_frame_setup): Likewise.
2892         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
2893         (.init): Use a gp-relative indirect call.
2894         (__do_global_ctors_aux): Preserve the gp.
2895
2896 2000-05-16  Richard Henderson  <rth@cygnus.com>
2897
2898         * flow.c (commit_one_edge_insertion): Be prepared for a return
2899         insn to be inserted on the edge with a normal jump.
2900         * jump.c (jump_optimize_1): Don't look to create return isns.
2901
2902         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
2903         * jump.c (jump_optimize_1): Likewise.
2904         (returnjump_p): Verify the argument is a JUMP_INSN.
2905         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
2906
2907 2000-05-16  Nick Clifton  <nickc@cygnus.com>
2908
2909         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
2910         GET_RTX_CLASS (GET_CODE ()) == 'i'.
2911         (large_insn_p): Ditto.
2912         (m32r_is_insn): New function: Return true if the insn contains
2913         an executable instruction.
2914         (m32r_adjust_insn): Use m32r_is_insn.
2915         (m32r_sched_reorder): Use m32r_is_insn.
2916         (m32r_sched_variable_issue): Use m32r_is_insn.
2917
2918 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2919
2920         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
2921         VAR_DECL.
2922
2923         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
2924
2925         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
2926         according to given options.
2927
2928 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
2929
2930         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
2931         if X has VOIDmode either.
2932         (LIMIT_RELOAD_CLASS): Similarly.
2933
2934         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
2935         not "general_operand" to match the processor's capabilities.
2936
2937 2000-05-16  Bruce Korb  <bkorb@gnu.org>
2938
2939         * fixinc/README:  corrected return address
2940         * fixinc/check.diff:  regenerate, now that test works
2941         * fixinc/fixfixes.c(format_fix,format_write): reformatted
2942         (char_macro_def_fix,char_macro_use_fix): corrected and
2943         rewrote to use regex to parse the text
2944         * fixinc/inclhack.def: more testing
2945         * fixinc/fixincl.x:  regenerated
2946
2947         * fixinc/inclhack.def: added several "test_text" attributes
2948         changed several fixes to use `c_fix = format'
2949         re-alphabetized the fixes
2950
2951         * fixinc/check.diff: regenerate
2952         * fixinc/fixincl.x: regenerate
2953         * fixinc/check.tpl: added `sparc' and `netinet' to the list
2954         of created dirs
2955
2956
2957 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
2958
2959         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
2960
2961 2000-05-15  Richard Henderson  <rth@cygnus.com>
2962
2963         * toplev.c (rest_of_compilation): Run full jump pass before
2964         find_basic_blocks of flow2.
2965
2966 2000-05-15  Richard Henderson  <rth@cygnus.com>
2967
2968         * jump.c: Fix typos and clarify commentary from last change.
2969         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
2970         (safe_to_remove_jump_p): Remove.
2971         (condjump_label): Use pc_set.
2972
2973 2000-05-15  Richard Henderson  <rth@cygnus.com>
2974
2975         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
2976         that get in the way after reload.
2977         (cond_exec_process_if_block): Skip a label heading THEN block.
2978
2979 2000-05-15  Richard Henderson  <rth@cygnus.com>
2980
2981         * varasm.c (output_constant_pool): Abort instead of converting
2982         (improperly) deleted labels to zero.
2983
2984 2000-05-16  Neil Booth  <NeilB@earthling.net>
2985
2986         * cpplex.c (parse_string2): Update comment.
2987         (cpp_lex_line): No special assertion treatment for '('.
2988         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
2989         * cpplib.h (SYNTAX_ASSERT): Remove.
2990
2991 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2992
2993         * jump.c (condjump_p):  Mark as depreached.
2994         (any_condump_p): New.
2995         (any_uncondump_p): New.
2996         (pc_set): New.
2997         (safe_to_remove_jump_p): New.
2998         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
2999         safe_to_remove_jump_p): Declare.
3000
3001 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3002
3003         * calls.c: Re-install both patches reverted by last patch.
3004         (struct arg_data): New field tail_call_reg.
3005         (initialize_argument_information): Initialize tail_call_reg
3006         (load_register_parameters): New argument flags, use
3007         tail_call_reg when emiting tail call sequence.
3008         (expand_call): Update call of load_register_parameters;
3009         copy unadjusted_args_size to adjusted_args_size.
3010
3011 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3012
3013         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
3014         and bct_p parameters to flags.
3015         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
3016         * rtl.h (loop_optimize): Update prototype.
3017         * toplev.c (rest_of_compilation): Update call of loop_optimize.
3018
3019 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
3020
3021         * calls.c (expand_call): Move expand_start_target_temps call after
3022         start_sequence().
3023
3024 2000-05-15  Neil Booth  <NeilB@earthling.net>
3025
3026         * cpphash.c (trad_stringify, warn_trad_stringify,
3027         collect_params): Make some pointers pointers to const.
3028         * cpplex.c (auto_expand_name_space) Guaranteed to always
3029         expand by at least one character.
3030         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
3031         (struct token_spelling): Use const U_CHAR * rather than PTR.
3032         (expand_name_space): Fix up token pointers if name space
3033         is moved when expanding.
3034         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
3035         parse_string2, save_comment, spell_token, cpp_output_list):
3036         Update so the routines handle tokens with a direct pointer to
3037         their text, rather than an offset into the token's list's namebuf.
3038         (_cpp_lex_line): Rearrange for clarity.
3039
3040         * cpplib.c (_cpp_check_directive): Similarly.
3041         (do_define): Make SYM a pointer to const.
3042         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
3043         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
3044         (TOK_OFFSET): Delete.
3045         (TOK_NAME): Update.
3046
3047 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
3048
3049         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
3050         64-bit ABI.
3051
3052         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
3053         into account.
3054         (logical_u_operand): Delete.
3055         (non_logical_cint_operand): Rewrite to take MODE into account.
3056         (non_logical_u_cint_operand): Delete.
3057         (boolean_operator): New function.
3058         (print_operand): Add new %q operand.
3059         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
3060         remove logical_u_operand and non_logical_u_cint_operand,
3061         update logical_operand and non_logical_cint_operand.
3062         * config/rs6000/rs6000.md: Rewrite the patterns for performing
3063         logical operations to use %q.
3064
3065         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
3066         (movdi): Make similar to movsi.
3067         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
3068         is no such thing as a DImode CONST_DOUBLE.
3069         * config/rs6000/rs6000.c (output_toc): Likewise.
3070
3071         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
3072         codes when old mnemonics are in use.  Print register names
3073         for cc registers when requested.
3074
3075         * optabs.c (expand_float): Don't allow mode widening that causes
3076         double rounding.
3077
3078         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
3079         flags to their current names -maix64 and -maix32.
3080
3081 2000-05-14  Bruce Korb  <bkorb@gnu.org>
3082
3083         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
3084         and/or after current text of file
3085         * fixinc/fixlib.c(must_malloc):
3086         * fixinc/fixlib.h(must_malloc): + reformatting
3087         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
3088         with usages of ``c_fix = wrap;''
3089         Add several tests and use the ``c_fix = format'' fixer more.
3090         * fixinc/fixincl.x: regen
3091         * fixinc/check.diff: regen
3092         * fixinc/check.tpl: emit the associated header with the missing
3093         test message
3094
3095 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
3096
3097         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
3098         variables $src and $dst.
3099
3100 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
3101
3102         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
3103         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
3104         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
3105         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
3106         fields.
3107         (set_message_prefixing_rule): Declare.
3108
3109         * diagnostic.c: (current_prefixing_rule): New variable.
3110         (set_message_prefixing_rule): Define.
3111         (output_set_prefix): Adjust buffer->emitted_prefix_p.
3112         (init_output_buffer): Adjust Initialization.
3113         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
3114
3115 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
3116
3117         * ifcvt.c (if_convert): Do not free NULL.
3118
3119 2000-05-12  Nick Clifton  <nickc@cygnus.com>
3120
3121         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
3122         to move a double word value.
3123         (di_operand): New function: Return true if the operand is suitbale
3124         for a double word move operation.
3125         (nonimmediate_di_operand): New function: Return true if the
3126         operand is a DImode register or MEM.
3127
3128         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
3129         nonimmediate_di_operand.
3130
3131         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
3132         nonimmediate_di_operand.
3133
3134         * config/fr30/fr30.md (movdi): New pattern.  Required because
3135         other patterns generate DImode results.
3136         (movdi_insn): New pattern.
3137
3138 2000-05-12  Richard Henderson  <rth@cygnus.com>
3139
3140         * config/alpha/alpha.c (struct shadow_summary): Define
3141         bitfields as type unsigned int.
3142
3143 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
3144
3145         * config/avr/t-avr: Added definition of FLOAT while generates
3146         fp-bit.c
3147
3148         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
3149         peepholes for tst+jump = sbrs/sbrc optimization.
3150
3151 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
3152
3153         * expr.c (emit_push_insn): Do not adjust stack pointer when
3154         preallocating.
3155
3156 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
3157
3158         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
3159         * system.h (offsetof): ... to here.
3160
3161 2000-05-12  Richard Henderson  <rth@cygnus.com>
3162
3163         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
3164         * final.c (final_end_function): Use app_disable.  Rearrange note
3165         handling into a switch.  Emit deleted labels.
3166         (output_asm_label): Generate label strings for deleted labels.
3167         * flow.c (tail_recursion_label_list): New.
3168         (find_basic_blocks_1): Set label_value_list directly.  Collect list
3169         of tail recursion labels from call_placeholders.  Don't add deleted
3170         labels to the label value list.
3171         (cleanup_cfg): Use free_EXPR_LIST_list.
3172         (flow_delete_insn_chain): Turn non-removable labels into notes.
3173         (flow_delete_block): Don't disable deleting the block because of
3174         a non-removable label.
3175         (tail_recursion_label_p): New.
3176         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
3177         because of a label.
3178         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
3179         jump table.
3180         (merge_blocks): Disable a merge because of tail recursion labels.
3181         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
3182         Use a more accurate measure of not merging the join block.
3183         (find_if_block): Don't disable conversion because of a label.
3184         (find_if_case_1, find_if_case_2): Likewise.
3185         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
3186         element when copying.
3187         (squeeze_notes): Also leave EH notes.
3188         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
3189         REG_LABEL notes.
3190         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
3191         deleting a label.
3192         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
3193         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
3194         referring to a deleted label.  Convert tail handling to a switch.
3195         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
3196         for NOTE_INSN_DELETED_LABEL.
3197         (NOTE): Fix commentary.
3198         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
3199         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
3200         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
3201         (LABEL_NUSES, LABEL_REFS): Likewise.
3202         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
3203
3204 2000-05-12  Bruce Korb  <bkorb@gnu.org>
3205
3206         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
3207         * fixinc/check.diff: updated
3208         * fixinc/inclhack.def: corrected & added some test_text-s
3209         * fixinc/genfixes: removed unneeded options to autogen invocation
3210         * fixinc/fixincl.tpl: Specified the output file
3211         * fixinc/fixfixes.c: visual appearance
3212         * fixinc/fixincl.x: regenerate
3213
3214 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
3215
3216         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
3217         CTRL_defn_fix): Delete.
3218         (fix_char_macro_defines, fix_char_macro_uses): Rename to
3219         char_macro_def_fix and char_macro_use_fix, respectively.  Put
3220         them into the FIXUP_TABLE.  Get the string to search for from
3221         a c_fix_arg.
3222
3223         (format_write): New function.
3224         (format_fix): Use it.
3225
3226         (FIX_PROC_HEAD): Constify text parameter.
3227         (machine_name_fix): Constify all char *s.
3228         * fixtests.c (skip_quote): Remove double static.
3229
3230         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
3231         ctrl_use_quotes): Update for new scheme.
3232         * fixincl.x: Regenerate.
3233
3234 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
3235
3236         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
3237         DWARF2_DEBUG.
3238         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
3239         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
3240
3241 2000-05-11  Robert Lipe <robertlipe@usa.net>
3242
3243         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
3244         * fixincl.x: Regenerate.
3245
3246 2000-05-11  Richard Henderson  <rth@cygnus.com>
3247
3248         * calls.c: Revert both 05-09 patches.
3249
3250 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
3251
3252         * config/mn10300/mn10300.c (print_operand): Print FP constants in
3253         hexadecimal.
3254         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
3255         for FP values.
3256
3257         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
3258         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
3259
3260 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
3261
3262         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
3263
3264 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
3265
3266         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
3267
3268 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
3269
3270         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
3271         * config/avr/avr.c (jump_over_one_insn_p): New function.
3272         * config/avr/avr.md: New peepholes added. Output test and
3273         conditional jump to "sbrc" or "sbrs" command.
3274
3275 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
3276
3277         * cppmain.c (main): Use IS_DIR_SEPARATOR.
3278
3279 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
3280
3281         * except.c (find_exception_handler_labels_1): New function.
3282         (find_exception_handler_labels): Split into two functions, dive
3283         into CALL_PLACEHOLDERs when looking for exception handler labels.
3284
3285 2000-05-11 Stan Cox <scox@cygnus.com>
3286
3287         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
3288         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
3289         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
3290
3291 2000-05-11  Bruce Korb  <bkorb@gnu.org>
3292
3293         * fixinc/fixfixes.c (double_slash_fix):  obsolete
3294         (else_endif_label_fix): obsolete
3295         (format_fix):  new, unused as yet
3296         (main): obsolete
3297         * fixinc/fixlib.h: added fix description struct for use by format_fix
3298         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
3299         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
3300         modules.  Removed the vestiges of the script version.
3301         Added support for "make check".
3302         * fixinc/check.diff: base diff file (needs work!!)
3303         * fixinc/check.tpl: quiet the fixup output
3304         * fixinc/fixtests.c (main): obsolete
3305         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
3306         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
3307
3308 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
3309
3310         * toplev.c (rest_of_compilation): Remove dead code after
3311         combine.
3312
3313 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
3314
3315         * cpphash.c (collect_funlike_expansion): Make "# is not
3316         followed by a macro argument name" a pedwarn, not an error.
3317         Preserve the # in the output.  Suppress the warning if lang_asm.
3318
3319 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
3320
3321         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
3322         * configure: Rebuilt.
3323
3324 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
3325
3326         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
3327
3328 2000-05-10  Kazu Hirata  <kazu@hxi.com>
3329
3330         * combine.c (try_combine): Fix a typo.
3331
3332 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
3333
3334         * config/ia64/ia64.md (insv): Add comment.
3335
3336 2000-05-10  Richard Henderson  <rth@cygnus.com>
3337
3338         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
3339         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
3340         dependancies on FPBIT and DPBIT.
3341
3342 2000-05-10  Nick Clifton  <nickc@redhat.com>
3343
3344         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
3345         when optimising for size.
3346         (mark_used_regs:) Ditto.
3347         (try_pre_increment_1): Ditto.
3348
3349 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
3350
3351         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
3352         Make error message friendlier.
3353
3354         * cpphash.h (struct hashnode): Use struct hack for name
3355         member.
3356         * cpphash.c (struct hashdummy): New.
3357         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
3358         (make_HASHNODE): No need to set ->name pointer.  Correct
3359         setting of p.
3360         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
3361
3362 2000-05-10  Richard Henderson  <rth@cygnus.com>
3363
3364         * flow.c (find_basic_blocks_1): Remove any spare bb_note
3365         after completion.
3366
3367 2000-05-10  Bruce Korb  <bkorb@gnu.org>
3368
3369         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
3370
3371 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
3372
3373         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
3374         after we enter .debug.
3375
3376 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
3377
3378         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
3379         abstract instance of a nested inline function.
3380
3381         * stor-layout.c (finish_record_layout): finalize_type_size
3382         before laying out the pending_statics.
3383
3384 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
3385
3386         * cpplex.c (spell_token): New function.
3387         (spell_string, spell_comment, spell_name): fold into
3388         spell_token.
3389         (I, S): Add macros.
3390         (E, H): Remove macros.
3391         (save_comment): Save comment opening characters too.
3392         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
3393         handling.
3394         * cpplib.h (I, S): Add macros.
3395         (E, H): Remove macros.
3396         (TTYPE_TABLE): Update entries for new speller.
3397         (SYNTAX_ASSERT): Remove.
3398
3399 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
3400
3401         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
3402         when removing escaped newlines.  Reverse sense of test for
3403         escaped newline.
3404
3405 2000-05-09  Richard Henderson  <rth@cygnus.com>
3406
3407         * flow.c (find_basic_blocks_1): Do not delete the first
3408         bb_note we run across.
3409         (create_basic_block): Use reorder_insns to move an existing
3410         bb_note to the correct place.
3411
3412 2000-05-09  Richard Henderson  <rth@cygnus.com>
3413
3414         * calls.c (expand_call): Increment currently_expanding_call
3415         before calling optimize_tail_recursion.
3416
3417 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3418
3419         * reload1.c (reload_combine): Fix errors in last change.
3420
3421 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
3422
3423         * gcc.c (used_arg): Skip over a semicolon at the end of the
3424         split-up loop; don't break out of it.
3425
3426         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
3427         (tree.o): Depend on output.h.
3428
3429         * c-decl.c (pending_invalid_xref_file,
3430         current_function_prototype_file): Constify.
3431         (pushdecl): Constify a local char *.
3432         (define_label): Constify filename parameter.
3433         * c-lex.c (init_parse): Constify parameter and return value.
3434         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
3435         * c-tree.h: Update prototypes.
3436         * c-parse.in: Constify filename member of %union, and if_stmt_file.
3437         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
3438         objc/objc-parse.c: Regenerate.
3439
3440         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
3441         * dwarfout.h: Update prototypes.
3442         * expr.c (expand_expr): Constify a local char *.
3443         * flags.h: Constify main_input_filename.
3444         * function.c (expand_function_end): Constify filename parameter.
3445         * genrecog.c (make_insn_sequence): Use a character array for
3446         c_test_pos.
3447         (main): Remove unused variables.
3448         * input.h: Constify input_filename, main_input_filename, and
3449         file_stack.name.  Update prototypes.
3450         * output.h: Declare first_global_object_name and
3451         weak_global_object_name here, as const char *.
3452         * stmt.c (expand_asm_operands): Constify filename parameter.
3453         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
3454         Constify filename parameter.
3455         (input_filename, main_input_filename): Constify.
3456         * toplev.h: Update prototypes.
3457         * tree.c: Include output.h.  Don't declare
3458         first_global_object_name or weak_global_object_name.  Clean up string
3459         bashing in get_file_function_name_long.
3460         * tree.h (struct tree_decl): Constify filename member.
3461         (input_filename): Constify.
3462         Update prototypes.
3463         * varasm.c (first_global_object_name, weak_global_object_name):
3464         Constify.
3465         (assemble_start_function, assemble_variable): Clean up string bashing.
3466
3467         * gcc.c: Constify all spec-related strings initialized,
3468         transitively, from string constants.  Constify all strings
3469         and string variables related to multilibs.
3470         (set_spec, read_specs): Cast argument to free to PTR.
3471         (used_arg): Do not modify multilib_matches.  Use strncmp plus
3472         length comparison to compare multilib switches.
3473         * genmultilib: Constify everything declared in multilib.h.
3474
3475 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
3476
3477         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
3478         as deleted.
3479
3480 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
3481
3482         * config/avr/avr-protos.h (extra_constraint): change a type of
3483         second argument from char to int to avoid warnings.
3484         (asm_output_byte): Likewise.
3485
3486         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
3487         (initial_elimination_offset): Handle elimination from
3488         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
3489         (legitimate_address_p): Use MAX_LD_OFFSET.
3490         (legitimize_address): Likewise.
3491         (out_movqi_r_mr): Likewise.
3492         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
3493         (out_movsi_r_mr): Use MAX_LD_OFFSET.
3494         (out_movsi_mr_r): Likewise.
3495         (out_movqi_mr_r): Likewise.
3496         (out_movhi_mr_r): Likewise.
3497         (notice_update_cc): Correct CC for the ashrqi3 with the shift
3498         count as CONST_INT != 6.
3499         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
3500         shift count is a CONSTANT_P, but not a CONST_INT.
3501         (ashlhi3_out): Coding style modifications.
3502         (ashlsi3_out): Likewise.
3503         (ashrhi3_out): Likewise.
3504         (ashrsi3_out): Likewise.
3505         (lshrhi3_out): Likewise.
3506         (lshrsi3_out): Likewise.
3507         (ashrqi3_out): Generate shift for any known constant count without
3508         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
3509         but not a CONST_INT.
3510         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
3511         shift count is a CONSTANT_P, but not a CONST_INT.
3512         (extra_constraint): change a type of
3513         second argument from char to int to avoid warnings.
3514         (asm_output_byte): Likewise.
3515         (asm_file_end): Output size generated commands count as a hex
3516         number too.
3517
3518         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
3519
3520         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
3521         removed.
3522         (ashlqi3): Values of "length" attribute changed. Shift count
3523         uses constraints 'n' instead of 'i'.
3524         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
3525         shifts without clobber register.
3526         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
3527         (call_insn): Correct test for which_alternative == 1 (was 0).
3528         (call_value_insn): Likewise.
3529
3530         * config/avr/t-avr: Remove definition of FLOAT while generates
3531         fp-bit.c
3532
3533 2000-05-09  Bruce Korb  <bkorb@gnu.org>
3534
3535         * fixinc/check.tpl:  Template for checking fixes
3536         * fixinc/inclhack.def:  Added 'test_text' for many fixes
3537         disable hpux8_bogus_inlines on SCO
3538         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
3539
3540 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3541
3542         * calls.c (expand_call): Reorganize somewhat in order
3543         to avoid unnecesary recalculation inside loop and make
3544         tail call failure code cleaner.
3545
3546 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3547
3548         * alias.c (nonlocal_reference_p): Minor reformatting.
3549         * reload.c (find_equiv_reg): Simplify logic for
3550         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
3551         some some reformatting.
3552         * reload1.c (reload_combine): Don't assume everything in
3553         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
3554
3555 2000-05-08  Richard Henderson  <rth@cygnus.com>
3556
3557         * final.c (current_insn_predicate): New.
3558         (final_scan_insn): Set it.
3559         * output.h (current_insn_predicate): Declare.
3560
3561         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
3562         Attach it to call insns.
3563         (cond_exec_process_if_block): Track probability for true and
3564         false branches.
3565         (dead_or_predicable): Likewise.
3566
3567         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
3568         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
3569         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
3570         (estimate_probability, expected_value_to_br_prob): Use them.
3571
3572         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
3573         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
3574         (ia64_expand_prediction): New.
3575         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
3576         as needed after calls.
3577         (ia64_epilogue_uses): Mark b0 used.
3578         * config/ia64/ia64.md (beq_true, beq_false): Remove.
3579         (bne_true, bne_false): Remove.
3580         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
3581         (br_true, br_false): New.  Use predicate_operator and
3582         ia64_expand_prediction.
3583         (return_true, return_false): Likewise.
3584         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
3585         (call_internal1, call_value_internal): Likewise.
3586         (call_value_internal1, call_multiple_values_internal1): Likewise.
3587
3588         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
3589
3590         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
3591
3592 2000-05-08  Richard Henderson  <rth@cygnus.com>
3593
3594         * rtlanal.c (may_trap_p): Consider old-style and volatile
3595         asms to trap.
3596
3597 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
3598
3599         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
3600
3601 2000-05-08  Richard Henderson  <rth@cygnus.com>
3602
3603         * config/ia64/ia64.h (predicate_operator): Declare.
3604
3605         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
3606         of existance.
3607
3608         * gensupport.c (process_rtx): Copy and post-process each member
3609         of the define_insn rtvec individually.
3610
3611 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
3612
3613         * cpplex.c (spell_token): New function.
3614         (TOKEN_LEN): Add 1 for whitespace.
3615         (_cpp_lex_file): Update to use spell_token.
3616         * cpplib.h (E): Remove.
3617         (TTYPE_TABLE): Update CPP_VSPACE entry.
3618
3619 2000-05-08  Richard Henderson  <rth@cygnus.com>
3620
3621         * flow.c (init_propagate_block_info): Watch out for conditional
3622         branch to next instruction, and thus one outgoing edge.
3623
3624         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
3625         for global register variables; don't special case __[CD]TOR_LIST__;
3626         mind ggc_p for string allocation.
3627
3628 2000-05-08  Nick Clifton  <nickc@cygnus.com>
3629
3630         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
3631
3632 2000-05-08  Bruce Korb  <bkorb@gnu.org>
3633
3634         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
3635         i?86-*-msdosdjgpp* no longer uses fixincludes
3636         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
3637         * fixinc/inclhack.sh:  deleted
3638         * fixinc/hackshell.tpl:  deleted
3639         * fixinc/inclhack.tpl:  deleted
3640         * fixinc/Makefile.in:  Remove dependencies on above
3641         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
3642
3643 2000-05-08  Andreas Jaeger  <aj@suse.de>
3644
3645         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
3646         support.
3647
3648 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
3649
3650         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
3651         substitutions.
3652
3653 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
3654
3655         * cpplex.c: Move new lexer definitions and prototypes
3656         to top.  Conditional include these and the code if
3657         NEW_LEXER is defined.  Rename functions whose names
3658         clash if this code included.
3659
3660 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
3661
3662         * rtl.def (COND_EXEC): Clarify.
3663
3664         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
3665         same fashion as zero_extendsidi2.
3666
3667 2000-05-06  Richard Henderson  <rth@cygnus.com>
3668
3669         * config/ia64/ia64.c (predicate_operator): New.
3670         (ia64_print_operand): Handle 'J'.
3671         (rtx_needs_barrier): Handle COND_EXEC.
3672         * config/ia64/ia64.h (BRANCH_COST): Define.
3673         (PREDICATE_CODES): Update.
3674         * config/ia64/ia64.md: Docuement used unspec values.
3675         (attr predicable): New.
3676         (movxf, movxf_internal): New.
3677         (extendsfdf2): Don't comment out nop.
3678         (floatdidf2): Remove.
3679         (truncxfsf2, truncxfdf2, floatdixf2): New.
3680         (abssi2, absdi2): Put the neg in the "true" slot.
3681         (conditional branch instructions): Mark not predicable.
3682         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
3683         (abs*_internal): Likewise.
3684         (alloc, set_bsp): Mark not predicable.
3685         (barrier, insn_group_barrier, flush_cache): Likewise.
3686         (define_cond_exec): New.
3687
3688 2000-05-06  Richard Henderson  <rth@cygnus.com>
3689
3690         * c-decl.c: Include "tm_p.h".
3691
3692         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
3693         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
3694         (ia64_expand_op_and_fetch): Declare.
3695         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
3696         (setjmp_operand): Constify variables for XSTR.
3697         (ia64_encode_section_info): Likewise.
3698         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
3699         values to int.
3700         (ia64_asm_output_external): Constify name.
3701         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
3702         (process_for_unwind_directive): Provide switch default.
3703         (ia64_expand_compare_and_swap): Remove unused variables.
3704         (ia64_expand_builtin): Likewise.
3705         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
3706         for printing.
3707
3708         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
3709         (symbolic_operand, function_operand, setjmp_operand): Likewise.
3710         (shift_count_operand, shift_32bit_count_operand): Likewise.
3711         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
3712         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
3713         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
3714         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
3715         (ia64_expand_builtin): Likewise.
3716         (call_multiple_values_operation): Make dest_regno unsigned.
3717
3718 2000-05-06  Richard Henderson  <rth@cygnus.com>
3719
3720         * rtl.def (DEFINE_COND_EXEC): New.
3721         * md.texi: Document it.
3722
3723         * gensupport.c (input_file): Remove.
3724         (struct queue_elem): Add lineno.
3725         (rtx_ready_queue): Remove.
3726         (errors): New.
3727         (predicable_default): New.
3728         (predicable_true, predicable_false): New.
3729         (define_attr_queue, define_attr_tail): New.
3730         (define_insn_queue, define_insn_tail): New.
3731         (define_cond_exec_queue, define_cond_exec_tail): New.
3732         (other_queue, other_tail): New.
3733         (queue_pattern): New.
3734         (process_rtx): Add patterns to the appropriate queues.
3735         (is_predicable, identify_predicable_attribute): New.
3736         (n_alternatives, collect_insn_data): New.
3737         (alter_predicate_for_insn, alter_test_for_insn): New.
3738         (shift_output_template, alter_output_for_insn): New.
3739         (process_one_cond_exec, process_define_cond_exec): New.
3740         (init_md_reader): Read the entire file.  Process define_cond_exec.
3741         (read_md_rtx): Return elements from the queues.
3742
3743 2000-05-06  Richard Henderson  <rth@cygnus.com>
3744
3745         * flow.c (mark_set_1): Don't update conditional life info
3746         if the register is not_dead.
3747
3748 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
3749
3750         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
3751         (mostlyclean): Also delete fixincl, fixinc.sh, and
3752         specs.ready, and make clean in the fixinc subdir.
3753
3754 2000-05-06  Richard Henderson  <rth@cygnus.com>
3755
3756         * Makefile.in (gensupport.o): Compile for the host.
3757         (host-prefix gensuuprt.o): Remove.
3758         (genflags.o): Depend on gensupport.h and OBSTACK_H.
3759         (genattrtab.o): Likewise.
3760         (gencodes.o): Depend on gensupport.h.
3761         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
3762         (genpeep.o, genattr.o, genoutput.o): Likewise.
3763
3764         * gensupport.c (obstack, rtl_obstack): New.
3765         (init_md_reader): Initialize rtl_obstack.
3766         * gensupport.h (rtl_obstack): Declare.
3767         (message_with_line): Declare.
3768
3769         * genattr.c: Remove all traces of obstack manipulation.
3770         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
3771         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
3772
3773         * genattrtab.c (obstack, rtl_obstack): Remove.
3774         (main): Don't init rtl_obstack.
3775         * genflags.c: Likewise.
3776
3777         * genrecog.c (message_with_line): Move ...
3778         * gensupport.c: ... here.
3779
3780 2000-05-06  Richard Henderson  <rth@cygnus.com>
3781
3782         * c-typeck.c (build_c_cast): Remove dead code.
3783
3784 2000-05-06  Richard Henderson  <rth@cygnus.com>
3785
3786         * flow.c (split_edge): Don't allocate global_live_at_start for
3787         the new block unless the old blocks had them as well.
3788
3789         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
3790
3791         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
3792         test_bb if a or b uses x.
3793
3794 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
3795
3796         * cpphash.h: Remove conditional #define of __extension__.
3797         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
3798         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
3799         (ENABLE_RTL_CHECKING only).
3800         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
3801         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
3802         (ENABLE_TREE_CHECKING only).
3803         * varray.h: Add __extension__ to VARRAY_CHECK macro
3804         (ENABLE_CHECKING only).
3805
3806 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
3807
3808         Use new tail-calling mechanism on ARM.
3809         * arm.md (sibcall, sibcall_value): New expands.
3810         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
3811         (tailcalling peepholes): Delete.
3812         (push_multi): Simplify.
3813         * arm.c (lr_save_eliminated): Delete definition.
3814         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
3815         (output_return_instruction): Remove checks on lr_save_eliminated.
3816         (output_arm_prologue): Remove old tail-calling code.
3817         (arm_output_epilogue): New parameter, really_return.  All callers
3818         changed.  Handle tail-calling epilogues.
3819         * arm.h (lr_save_eliminated): Delete declaration.
3820         (frame_pointer_needed): Delete declaration.
3821         * arm-protos.h (arm_output_epilogue): Adjust prototype.
3822
3823         * arm.md (is_thumb): Examine symbol thumb_code, not expression
3824         TARGET_ARM.
3825         * arm.c (thumb_code): Define it.
3826         (arm_override_options): Set it.
3827         * arm.h (thumb_code): Declare it.
3828
3829 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
3830
3831         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
3832
3833 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
3834
3835         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
3836         bogus clobber to insns.
3837         (load_multiple_operation, store_mulitple_operation): Don't check
3838         for it.
3839         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
3840
3841         * arm.md (and_scc, ior_scc): Add missing mode.
3842
3843         * arm.md (call_value_symbol): Remove predicate from op2.
3844
3845         * arm.h (SPECIAL_MODE_PREDICATES): Define.
3846
3847 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3848
3849         * expr.c (get_subtarget): New function.
3850         (force_operand, expand_expr, do_store_flag): Use it.
3851
3852         * toplev.c (compile_file): Don't take strlen of NAME if null.
3853
3854 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
3855
3856         * xcoffout.c (xcoff_current_include_file,
3857         xcoff_current_function_file, xcoff_lastfile): Constify char *.
3858         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
3859         char *'.
3860         (xcoffout_declare_function): Make name 'const char *'.
3861         (xcoffout_end_epilogue): Make fname 'const char *'
3862         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
3863         xcoffout_declare_function, xcoffout_source_line): Match above.
3864
3865         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
3866         -maix64 is error.
3867         * rs6000.c (print_operand): Fix lossage typo.
3868         (output_cbranch): Remove "cr" decoration for now.
3869         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
3870
3871 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
3872
3873         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
3874         constant count.
3875
3876 2000-05-05  Bruce Korb  <bkorb@gnu.org>
3877
3878         * fixinc/genfixes: Improve the matching for make target names
3879
3880 2000-05-05  Catherine Moore  <clm@cygnus.com>
3881
3882         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
3883         attribute to the decl.
3884         * c-decl.c (pushdecl): Propagate the USED attribute to the
3885         type copy.
3886
3887 2000-05-05  Richard Henderson  <rth@cygnus.com>
3888
3889         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
3890         same way emit_group_load does.
3891
3892 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
3893
3894         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
3895
3896         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
3897         (main): Likewise.
3898
3899 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
3900
3901         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
3902
3903 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
3904
3905         * config/openbsd.h (LINK_SPEC): pass correct flags to ld
3906         to support -shared, on platforms with dynamic libraries.
3907
3908 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
3909
3910         * system.h (S_ISBLK): Provide fallback definition.
3911
3912 2000-05-05  Geoff Berry  <geoffb@bops.com>
3913
3914         * extend.texi (Extended Asm): Document inability to give asm
3915         statements access to condition codes.
3916
3917 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
3918
3919         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
3920         as arg 2 of UNIQUE_SECTION.
3921
3922 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
3923
3924         * predict.c: Remove May 4 change.
3925         * bb-reorder.c (make_reorder_chain): Do not perform block movement
3926         if we have predicted the branch at 50-50 probability.
3927
3928 2000-05-05  Richard Henderson  <rth@cygnus.com>
3929
3930         * flow.c (init_propagate_block_info): Fix merge error
3931         in HAVE_conditional_execution code.
3932
3933 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
3934
3935         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
3936         shift cycle for unknown shift count. Also generates dec + brpl.
3937         (ashlqi3_out): Don't generate dec + brpl which now generates by
3938         `out_shift_with_cnt'.
3939         (ashlhi3_out): Likewise.
3940         (ashlsi3_out): Likewise.
3941         (ashrqi3_out): Likewise.
3942         (ashrhi3_out): Likewise.
3943         (ashrsi3_out): Likewise.
3944         (lshrqi3_out): Likewise.
3945         (lshrhi3_out): Likewise.
3946         (lshrsi3_out): Likewise.
3947
3948 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
3949
3950         * gcc.c (free_split_directories): Correct typo in explanation
3951         of make_relative_prefix.
3952
3953 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
3954
3955         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
3956         comparison codes to branch_comparison_operator.
3957
3958 2000-05-04  Richard Henderson  <rth@cygnus.com>
3959
3960         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
3961
3962 2000-05-04  Richard Henderson  <rth@cygnus.com>
3963
3964         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
3965         (DPBIT_FUNCS): Remove _sf_to_usi.
3966         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
3967
3968         * ifcvt.c (noce_process_if_block): Fail if A or B modified
3969         between condition and jump.
3970
3971         * libgcc2.c (near eh_context_specific): Comment #endif string.
3972         * longlong.h: Don't use strings with embedded newlines.
3973
3974 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
3975
3976         * config/rs6000/rs6000-protos.h: Add output_cbranch.
3977         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
3978         (print_operand): Delete %t and %T codes.
3979         (output_cbranch): New function.  Support branch prediction.
3980         * config/rs6000/rs6000.md: Use output_cbranch for
3981         conditional branches and returns.
3982
3983 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
3984
3985         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
3986         * stor-layout.c (place_field): Likewise.
3987         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
3988         * expr.c (store_expr): Make align unsigned.
3989         * explow.c (plus_constant_wide): Make low words unsigned.
3990         * expmed.c (choose_multiplier): Likewise.
3991         * fold-const.c (fold):  Likewise.
3992         * tree.h (build_int_2): Likewise.
3993         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
3994         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
3995         (init_emit): Change cast to unsigned char*.
3996         * varasm.c (compare_constant_1): Add cast to char*.
3997         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
3998         * reload1.c (reload): Likewise.
3999
4000         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
4001
4002 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
4003
4004         * predict.c (estimate_probability): If no prediction was found, then
4005         predict the successor that is the next physical block (if such a
4006         successor exists).
4007
4008 2000-05-04  Richard Henderson  <rth@cygnus.com>
4009
4010         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
4011
4012 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4013
4014         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
4015
4016 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
4017
4018         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
4019         attribute macros from here ...
4020         (CPP_SPEC): to here.
4021         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
4022         (CPP_SPEC): Likewise.
4023         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
4024
4025         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
4026         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
4027
4028 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4029
4030         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
4031
4032         * diagnostic (vbuild_message_string, build_message_string,
4033         build_location_prefix, output_get_prefix, init_output_buffer,
4034         output_notice, vline_wrapper_message_with_location,
4035         v_message_with_decl, default_print_error_function): De-constify.
4036         (set_real_maximum_length): Prototype.
4037
4038         * diagnostic.h (struct output_buffer, init_output_buffer,
4039         output_get_prefix, output_set_prefix): De-constify.
4040
4041         * function.c (init_function_start): Constify.
4042
4043         * gensupport.c (remove_constraints, process_rtx): Prototype.
4044
4045         * gthr-posix.h: Indent uses of #pragma.
4046
4047         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
4048         Prototype.
4049
4050         * predict.c (find_expected_value): Delete prototype.
4051         (expected_value_to_br_prob): Initialize variable `ev_reg'.
4052
4053         * sbitmap.h (debug_sbitmap): Prototype.
4054
4055         * ssa.c (compute_coalesced_reg_partition): Prototype.
4056
4057         * stor-layout.c (debug_rli): Prototype.
4058
4059         * tree.h (round_down): Prototype.
4060         (init_function_start): Constify.
4061
4062 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
4063
4064         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
4065         (overly conservative).  Change extern inline wrappers to
4066         static inline, define them always, use PARAMS properly.
4067         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
4068         whitespace warnings for \f and \v at the beginning of a line.
4069
4070 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
4071
4072         * haifa-sched.c (schedule_insns): Free the flow edge list when it
4073         is no longer needed
4074
4075 2000-05-04  Bruce Korb  <bkorb@gnu.org>
4076
4077         * fixincl/inclhack.def: added broken_cabs -
4078         Remove `extern double cabs' declarations from math.h
4079         * fixincl/inclhack.sh: regen
4080         * fixincl/fixincl.x: regen
4081         * fixincl/fixincl.c: Remove BOGOSITY code
4082         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
4083
4084 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4085
4086         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
4087         MEM_ALIAS_SET.
4088         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
4089         when calling MEM_COPY_ATTRIBUTES.
4090         * emit-rtl.c (operand_subword, change_address): Likewise.
4091         * explow.c (stabilize): Likewise.
4092         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
4093         * integrate.c (copy_rtx_and_substitute): Likewise.
4094         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
4095         when calling MEM_COPY_ATTRIBUTES.
4096         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
4097         Likewise.
4098         * cse.c (gen_lowpart_if_possible): Likewise.
4099         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
4100         * optabs.c (gen_move_insn): Likewise.
4101         * recog.c (validate_replace_rtx_1): Likewise.
4102         * simplify-rtx.c (add_mem_for_addr): Likewise.
4103         * stmt.c (expand_anon_union_decl): Likewise.
4104         * config/arm/arm.md: Likewise.
4105         * config/h8300/h7300.c (fix_bit_operand): Likewise.
4106         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
4107         (block_move_no_loop, block_move_sequence): Likewise.
4108         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
4109         * config/alpha/alpha.c (get_aligned_mem): Likewise.
4110         Clear MEM_ALIAS_SET.
4111         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
4112         MEM_COPY_ATTRIBUTES.
4113
4114 2000-05-03  Robert Lipe <robertlipe@usa.net>
4115
4116         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
4117         to suppress libgcc1.
4118         (i[34567]86-*-sco3.2v5*) Likewise.
4119         (i[34567]86-*-sco3.2v4*) Likewise.
4120         (i[34567]86-*-sco) Likewise.
4121         (i[34567]86-*-solaris2) Likewise.
4122         (i[34567]86-*-sysv5*) Likewise.
4123         (i[34567]86-*-sysv4*) Likewise.
4124         (i[34567]86-*-udk*) Likewise.
4125         (i[34567]86-*-sysv*) Likewise.
4126
4127 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
4128
4129         * cpphash.h (U): New define, to correct type of string constants.
4130         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
4131         routines, to do casts when passing unsigned strings to libc.
4132         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
4133
4134         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
4135         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
4136         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
4137         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
4138         second argument an U_CHAR *.
4139
4140         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
4141         length field, clean up initializer.
4142         (ISTABLE): Add __extension__ to designated-
4143         initializers version.
4144         * cpplex.c (CHARTAB): Likewise.
4145
4146         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
4147         case so the file won't be empty.
4148
4149 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
4150
4151         * bb-reorder.c (struct reorder_block_def): Member succ removed.
4152         (REORDER_BLOCK_SUCC): Removed.
4153         (enum reorder_skip_type): Removed.
4154         (skip_insns_between_block): Renamed to skip_insns_after_block.
4155         Removed second argument. Removed dead code and cleaned up.
4156         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
4157         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
4158         second parameter to skip_insns_after_block.
4159
4160 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4161
4162         * tree.c (staticp, case LABEL_DECL): New case.
4163
4164 2000-05-03  Richard Henderson  <rth@cygnus.com>
4165
4166         * Makefile.in (start.encap): Do not depend on LIBGCC1.
4167
4168         * mklibgcc1.in: Fix typo last change.
4169
4170 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
4171
4172         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
4173         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
4174         (GCC_CFLAGS): Use it.
4175         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
4176         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
4177         objc/Make-lang.in: Use it.
4178
4179 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
4180
4181         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
4182
4183 2000-05-03  Richard Henderson  <rth@cygnus.com>
4184
4185         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
4186         LIBGCC1 empty with libgcc1.null.
4187
4188 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
4189
4190         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
4191         change.
4192
4193 2000-05-03  Greg McGary  <gkm@gnu.org>
4194
4195         * tree.h (tree_common): Add bounded_flag member.  Remove
4196         inaccurate comment about number of remaining bits.
4197         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
4198         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
4199         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
4200         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
4201         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
4202         (TYPE_QUAL_BOUNDED): New constant.
4203         (TYPE_QUALS): Handle bounded qualifier.
4204         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
4205         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
4206         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
4207         TYPE_AMBIENT_BOUNDEDNESS): New macros.
4208         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
4209         (tree_type): Add pointer_depth member.  Remove
4210         inaccurate comment about number of remaining bits.
4211         (DECL_POINTER_DEPTH): Add macro.
4212         (tree_decl): Add pointer_depth member.
4213
4214 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
4215
4216         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
4217         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
4218         (lshrhi3_out): Likewise.
4219         (ashrsi3_out): bugfix in shift by 8.
4220         (test_hard_reg_class): New function.
4221         * config/avr/avr.md: Bugfix inside conditions in peepholes.
4222         (ashlhi3): removed define_expand of this pattern.
4223         (*ashlhi3_insn): renamed to ashlhi3.
4224         (ashlsi3): removed define_expand of this pattern.
4225         (*ashlsi3_insn): renamed to ashlsi3.
4226         (ashrqi3): removed define_expand of this pattern.
4227         (*ashrqi3_insn): renamed to ashrqi3.
4228         (ashrhi3): removed define_expand of this pattern.
4229         (*ashrhi3_insn): renamed to ashrhi3.
4230         (ashrsi3): removed define_expand of this pattern.
4231         (*ashrsi3_insn): renamed to ashrsi3.
4232         (lshrhi3): removed define_expand of this pattern.
4233         (*lshrhi3_insn): renamed to lshrhi3.
4234         (lshrsi3): removed define_expand of this pattern.
4235         (*lshrsi3_insn): renamed to lshrsi3.
4236
4237 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
4238
4239         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
4240         inclusion of "system.h".
4241
4242 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
4243
4244         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
4245         TREE_ASM_WRITTEN.
4246
4247 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
4248
4249         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
4250         if -mauto-pic is on.
4251         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
4252         -mconstant-gp is in effect and function-descriptors are being used
4253         to make indirect calls.
4254         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
4255         (MASK_AUTO_PIC): Ditto.
4256         (TARGET_CONST_GP): Ditto.
4257         (TARGET_AUTO_PIC): Ditto.
4258         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
4259         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
4260         -mno-pic is in effect.
4261         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
4262         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
4263         -mauto-pic is in effect.
4264         (gprel64_offset): New pattern.
4265         (load_gprel64): Ditto.
4266         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
4267         -mconstant-gp is in effect, no need to preserve gp around direct
4268         calls.
4269         (call_value): Ditto.
4270         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
4271         (FUNCTION_PROFILER): Define.
4272         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
4273         @fptr() directive when -mno-pic or -mauto-pic is in effect.
4274         (ASM_OUTPUT_DESTRUCTOR): Ditto.
4275
4276 2000-05-03  Richard Henderson  <rth@cygnus.com>
4277
4278         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
4279         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
4280         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
4281         (mklibgcc, libgcc.mk): New targets.
4282         (libgcc.a): Use libgcc.mk.
4283         (stmp-multilib): Likewise.
4284         (stmp-multilib-sub): Remove.
4285         (mostlyclean): Don't delete libgcc2 temp files.
4286         * configure.in (AC_PROG_CC_C_O): Add.
4287         (NO_MINUS_C_MINUS_O): Substitute it.
4288         (all_outputs): Add mklibgcc.
4289         * mklibgcc.in: New file.
4290
4291 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
4292
4293         * cppexp.c (op_t): Make an int.
4294
4295         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
4296
4297         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
4298
4299         * gensupport.c (process_rtx): Fix macros used.
4300
4301 2000-05-03  Richard Henderson  <rth@cygnus.com>
4302
4303         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
4304         call-clobbered registers of a call.
4305
4306 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
4307
4308         * gensupport.c: New file.
4309         * gensupport.h: New file.
4310         * Makefile.in (HOST_RTL): Depend on gensupport.
4311         (gensupport.o) New rule.
4312         * genattr.c: Use gensupport for reading .md files.
4313         * genattrtab.c: Ditto.
4314         * gencodes.c: Ditto.
4315         * genconfig.c: Ditto.
4316         * genemit.c: Ditto.
4317         * genextract.c: Ditto.
4318         * genflags.c: Ditto.
4319         * genopinit.c: Ditto.
4320         * genoutput.c: Ditto.
4321         * genpeep.c: Ditto.
4322         * genrecog.c: Ditto.
4323         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
4324         * md.texi (Insn Splitting): Document define_insn_and_split.
4325
4326 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
4327
4328         * flow.c (verify_flow_info): Added two more sanity checks. The
4329         first checks that the blocks are numbered consecutively. The second
4330         checks that n_basic_blocks is actually equal to the number of
4331         basic blocks in the insn chain.
4332
4333 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
4334
4335         * cpplib.h: Add accessor macros for token lists.
4336         * cpplib.c, cpphash.c, cpplex.c: Use them.
4337
4338 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4339
4340         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
4341         memory usage if not in a function.
4342         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
4343         return address if static.
4344
4345 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4346
4347         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
4348         whether address may trap.
4349
4350 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
4351
4352         * bb-reorder (chain_reorder_blocks): Changed code to test for
4353         EDGE_FALLTHRU rather than making erroneous assumption that the
4354         first outgoing edge is the fall-through edge.
4355
4356 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
4357
4358         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
4359         ABI for varargs, across all MIPS. This is incompatible because the
4360         va_list (__builtin_va_list) structure is different, so a compilation
4361         unit passing a va_list and a compilation unit being passed one, should
4362         both be compiled with the same ABI. (The old structure had two
4363         pointers, now it has three.)
4364
4365 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
4366
4367         * bb-reorder.c (struct reorder_block_def): Remove members end,
4368         block_begin, and block_end.
4369         (REORDER_BLOCK_OLD_END): Delete.
4370         (REORDER_BLOCK_BEGIN): Delete.
4371         (REORDER_BLOCK_END): Delete.
4372         (chain_reorder_blocks): Remove dead code.
4373
4374 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
4375
4376         * bb-reorder.c (remove_scope_notes): Check for both types of scope
4377         notes as the end of a basic block before deleting.
4378
4379 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
4380
4381         * final.c (final_start_function): Fix spelling of "necessary".
4382
4383 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
4384
4385         * toplev.c (debug_ignore_block): Return int.
4386         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
4387         * toplev.h, dwarf2out.h: Adjust.
4388         * emit-rtl.c (remove_unnecessary_notes): Test return value.
4389
4390         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
4391         * toplev.c, final.c, rtl.h: Adjust.
4392
4393 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4394
4395         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
4396         * configure.in: Look for makeinfo in the unified tree, then
4397         for a system makeinfo which is sufficiently new.
4398         * Makefile.in: If configure says makeinfo is too old, don't
4399         build or install Info documentation.
4400
4401 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4402
4403         * cpphash.c (collect_params): Fix off-by-one error.
4404         (dump_hash_helper): Dump all four macro nodetypes.
4405
4406 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
4407
4408         * cpphash.c (trad_stringify): Adjust p after stringification as
4409         well.
4410
4411 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4412
4413         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
4414         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
4415
4416         * cppfiles.c (file_cleanup): Delete.
4417         * cpphash.c (macro_cleanup): Delete.
4418         (collect_objlike_expansion, collect_funlike_expansion,
4419         macarg, scan_arguments): Remove CPP_POP case.
4420
4421         * cpplex.c (null_cleanup): Delete.
4422         (cpp_pop_buffer): Do the work that was done in the cleanups
4423         here.  Call _cpp_unwind_if_stack from here.
4424         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
4425         cpp_scan_buffer): Run until we see CPP_EOF and the top of
4426         stack is the buffer _below_ the one we stacked.
4427         (cpp_get_token): Always pop an exhausted buffer.  Return
4428         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
4429         * cpplib.c (skip_if_group): Don't call cpp_get_token to
4430         increment the line number.
4431         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
4432
4433         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
4434         we see CPP_EOF and the top of stack is the buffer _below_ the
4435         one we stacked.
4436         * scan-decls.c: Likewise.
4437
4438 2000-05-02  Andrew Haley  <aph@cygnus.com>
4439
4440         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
4441         where this function is called for the second time on a decl that
4442         has had its section info changed in such a way as to move it out
4443         of small data/bss.
4444         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
4445
4446 2000-05-01  Richard Henderson  <rth@cygnus.com>
4447
4448         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
4449         the sequence we're moving, not to merge_bb->head.
4450
4451 2000-05-01  Richard Henderson  <rth@cygnus.com>
4452
4453         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
4454         reference to alpha/t-linux.
4455         (alpha*-*-linux-gnu*): Likewise.
4456         * configure: Rebuild.
4457
4458         * calls.c (expand_call): Don't emit reg notes for a sibcall.
4459
4460         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
4461         if not in SSA form.
4462
4463         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
4464
4465 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
4466
4467         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
4468         TREE_THIS_VOLATILE.
4469
4470 2000-05-01  Richard Henderson  <rth@cygnus.com>
4471
4472         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
4473         emit_conditional_move.
4474
4475 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
4476
4477         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
4478         as the dynamic linker.
4479
4480 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
4481
4482         * cppfiles.c (open_include_file): Open file in blocking mode.
4483         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
4484         Only exclude block devices and directories.
4485
4486         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
4487         static.  Allocate the hashnode and its string in the same
4488         block of memory.
4489         (del_HASHNODE): Don't free h->name.
4490         (_cpp_lookup): If there is no entry for this string, create
4491         one, of type T_VOID.
4492         (_cpp_lookup_slot): Delete.
4493         * cpphash.h: Update prototypes.
4494
4495         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
4496         not hp == NULL.
4497         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
4498         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
4499         node here, just fill in the value field properly.  "Delete"
4500         entries by setting the value field to T_VOID.  Check for
4501         hp->type == T_VOID, not hp == NULL.
4502
4503         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
4504         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
4505         hashtab.h.
4506
4507 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
4508
4509         * config/mn10300/mn10300.c (print_operand_address): Do not add
4510         zero to SP.
4511
4512         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
4513         adjusted by less than 256 bytes, use ret regardless of having any
4514         callee-saved register to restore.
4515
4516 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
4517
4518         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
4519
4520 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
4521
4522         * config/i386/djgpp.h (INT_ASM_OP): Define.
4523         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
4524         (ASM_WEAKEN_LABEL): Define.
4525         (MASK_BNU210): Define.
4526         (SUBTARGET_SWITCHES): Define.
4527         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
4528         (MAKE_DECL_ONE_ONLY): Define.
4529         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
4530
4531 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
4532
4533         * i386/cygwin.h (INT_ASM_OP): Define.
4534
4535 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
4536
4537         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
4538         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
4539
4540 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
4541
4542         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
4543         __tmp_reg__ and __zero_reg__ initialization.
4544
4545 2000-04-30  Richard Henderson  <rth@cygnus.com>
4546
4547         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
4548
4549         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
4550         referenced bewteen the condition and the jump.  Don't delete
4551         anything but the jump.
4552
4553 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
4554
4555         * bb-reorder.c (scope_def): New struct.
4556         (scope_forest_info): New struct.
4557         (struct reorder_block_def): New member "scope".
4558         (REORDER_BLOCK_SCOPE): New macro.
4559         (relate_bbs_with_scopes): New function and prototype.
4560         (make_new_scope): Likewise.
4561         (build_scope_forest): Likewise.
4562         (remove_scope_notes): Likewise.
4563         (insert_intra_1): Likewise.
4564         (insert_intra_bb_scope_notes): Likewise.
4565         (insert_inter_bb_scope_notes): Likewise.
4566         (rebuild_scope_notes): Likewise.
4567         (free_scope_forest_1): Likewise.
4568         (free_scope_forest): Likewise.
4569         (dump_scope_forest): Likewise.
4570         (dump_scope_forest_1): Likewise.
4571         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
4572         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
4573         block.
4574         (reorder_basic_blocks): Added calls to build_scope_scope_forest
4575         and remove_scope_notes before reordering is done. Added calls to
4576         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
4577         after reordering is done.
4578
4579 2000-40-30  Bruce Korb  <bkorb@gnu.org>
4580
4581         * fixinc/inclhack.def:  Added definitions needed by OSR5,
4582         removed two stale entries (defined away with OLD_CPP).
4583         * fixinc/inclhack.sh: regen
4584         * fixinc/fixincl.x: regen
4585
4586 2000-04-30  Richard Henderson  <rth@cygnus.com>
4587
4588         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
4589         from the last insn in the sequence.
4590
4591 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
4592
4593         * cpplex.c (cpp_idcmp): New function.
4594         * cpplib.h: Prototype it.
4595         * scan_decls.c (scan_decls): Use it to inspect token names.
4596         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
4597         the file being run through the preprocessor.
4598         (check_macro_names): Provide length of token to cpp_defined.
4599
4600         * Makefile.in: Remove stale warning message.
4601
4602         * cppfiles.c (redundant_include_p): Provide length of token to
4603         cpp_defined.
4604         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
4605         values are unsigned int.
4606         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
4607         (_cpp_lookup_slot): Do not calculate the hash, either.
4608         * cpphash.h: Update prototypes.
4609         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
4610         Hashes are unsigned int.  Calculate hash here, pass by value
4611         to _cpp_lookup_slot.
4612
4613 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
4614
4615         * simplify-rtx.c (check_value_useless): Delete function.
4616         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
4617         by hand.
4618         (cselib_invalidate_regno): Likewise.
4619         (cselib_invalidate_mem_1): Likewise.
4620         (references_value_p): Recognize useless values by the fact that they
4621         have no locations.
4622         (discard_useless_values): Likewise.
4623         (cselib_record_set): This may turn a useless value
4624         into a useful one.
4625
4626 2000-04-30  Richard Henderson  <rth@cygnus.com>
4627
4628         * config/d30v: New port.
4629
4630         * configure.in (d30v-*): Set fp format.
4631         * configure: Rebuild.
4632
4633 2000-04-30  Richard Henderson  <rth@cygnus.com>
4634
4635         * ifcvt.c: New file.
4636         * Makefile.in (OBJS): Add it.
4637         (ifcvt.o): New target.
4638         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
4639         and conditional arithmetic.
4640         (find_insert_position): Remove.
4641         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
4642         * toplev.c (DFI_ce, DFI_ce2): New.
4643         (dump_file): Add ce and ce2 dumps.
4644         (rest_of_compilation): Run if_convert a couple o times.  Set
4645         cse_not_expected after cse2.  Don't set no_new_pseudos until
4646         after sched1 or recompute_reg_usage.
4647
4648 2000-04-30  Richard Henderson  <rth@cygnus.com>
4649
4650         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
4651         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
4652
4653 2000-04-30  Richard Henderson  <rth@cygnus.com>
4654
4655         * flow.c (struct reg_cond_life_info): New.
4656         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
4657         (init_propagate_block_info): Initialize them.
4658         (free_propagate_block_info): Destruct them.
4659         (mark_set_1): Consider conditional life before killing a register.
4660         (mark_regno_cond_dead): New.
4661         (free_reg_cond_life_info): New.
4662         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
4663         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
4664         (mark_used_reg): Record conditional life.
4665
4666         * haifa-sched.c (schedule_insns): Disable death counting
4667         sanity check for HAVE_conditional_execution.
4668
4669 2000-04-30  Richard Henderson  <rth@cygnus.com>
4670
4671         * Makefile.in (TIMEVAR_H): New.
4672         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
4673         (timevar.h): Remove rule.
4674
4675 2000-04-29  Richard Henderson  <rth@cygnus.com>
4676
4677         * config/alpha/crtend.asm: Use C comments instead of #.
4678         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
4679
4680         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
4681
4682 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
4683
4684         * cpphash.h (enum node_type: Take out T_MCONST.
4685         (union hashval): Move into struct hashnode.
4686         (struct hashnode): Pack tighter.  Remove file, line, col
4687         members.
4688         * cpphash.c: Constify most of the macro-definition structures.
4689         (struct definition): Replace by struct object_defn
4690         and struct funct_defn.  Put file, line, column information
4691         here.  All users updated to match.
4692         (_cpp_create_definition, _cpp_macroexpand): Remove special
4693         case for #define WORD OTHERWORD.
4694         * cpplib.c (do_undef): Remove T_MCONST case.
4695
4696         * cpphash.h: Move struct reflist, struct definition, and the
4697         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
4698         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
4699         * cpphash.c (_cpp_free_definition): Free data pointed to by
4700         MCONST, XCONST, MACRO, and FMACRO nodes properly.
4701         (_cpp_create_definition, del_HASHNODE): Just call
4702         _cpp_free_definition to clear out a hashnode.
4703         * cpplib.c (do_pragma_poison): Likewise.
4704
4705 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
4706
4707         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
4708         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
4709         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
4710         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
4711         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
4712         REGNO_AM33_P): Redefine in terms of the new macros.
4713         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
4714         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
4715         STRUCT_VALUE): Likewise.
4716         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
4717         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
4718
4719 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4720
4721         * regmove.c (struct record_stack_memrefs_data): New.
4722         (record_stack_memrefs): New function.
4723         (combine_stack_adjustments_for_block): Use it.
4724
4725 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4726
4727         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
4728         use special_function_p to detect alloca.
4729
4730 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
4731
4732         * gcc.texi: Fixes for makeinfo 4.0 --html.
4733
4734 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
4735
4736         * pcp.h: Delete file.
4737
4738 2000-04-28  Kazu Hirata  <kazu@hxi.com>
4739
4740         * h8300.c (function_epilogue): Clean up flags when the last insn
4741         in a function is a barrier.
4742
4743 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
4744
4745         * configure.in (sparc-hal-solaris2*): protect [] glob from
4746         my expansion.
4747         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
4748         rather than hard-coded constants in target_cpu_default2.
4749         * configure: Regenerate.
4750
4751 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
4752
4753         * tree.c (get_callee_fndecl): Extract the initial value from
4754         a readonly decl.
4755
4756 2000-04-28  Richard Henderson  <rth@cygnus.com>
4757
4758         * varasm.c (record_constant_1): Record the CODE_LABEL when
4759         taking the address of a LABEL_REF.
4760
4761 2000-04-28  Richard Henderson  <rth@cygnus.com>
4762             Jan Hubicka  <jh@suse.cz>
4763
4764         * calls.c (combine_pending_stack_adjustment_and_call): Return the
4765         adjustment; don't do the stack adjust.
4766         (expand_call): Call compute_argument_block_size right before
4767         allocating the block; update comment; don't do alignment sanity
4768         checking for sibling call; use args_size instead of
4769         unadjusted_args_size before args_size is adjusted.  Use
4770         combine_pending_stack_adjustment_and_call to compute stack adjust
4771         for must_preallocate case.
4772
4773         * expr.c (push_block): Remove shadow `temp' in inner scope.
4774
4775 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
4776
4777         * toplev.c (rest_of_compilation): Call
4778         note_deferral_of_defined_inline_function even if the function
4779         can't be inlined.
4780
4781 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
4782
4783         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
4784
4785 2000-04-28  Richard Henderson  <rth@cygnus.com>
4786
4787         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
4788
4789 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4790
4791         * timevar.c (init_timevar): DeANSIfy function definition.
4792
4793 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
4794
4795         * Makefile.in (timevar.o): Depend on flags.h.
4796         * timevar.c (unused_stack_instances): New variable.
4797         (timevar_push): Take a timevar_stack_def from
4798         unused_stack_instances if available.
4799         (timevar_pop): Push the popped timevar_stack_def onto
4800         unused_stack_instances.
4801         (TIMEVAR_ENABLE): New macro.
4802         (timevar_def): Make standalone a 1-bit field.  Add field used.
4803         (get_time): Rename parameter to now.  Return after clearing it if
4804         not TIMEVAR_ENABLE.
4805         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
4806         (timevar_pop): Likewise.
4807         (timevar_stop): Likewise.
4808         (timevar_push): Likewise.  Mark the timing variable as used.
4809         (timevar_start): Likewise.
4810         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
4811         timevars that were never used.
4812
4813 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
4814
4815         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
4816         always TREE_READONLY.
4817
4818 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
4819
4820         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
4821         for call instruction with mode QImode.
4822
4823 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
4824
4825         * Makefile.in (OBJS): Add timevar.o.
4826         (toplev.o): Depend on timevar.h.
4827         (ggc-simple.o): Likewise.
4828         (ggc-page.o): Likewise.
4829         (timevar.o): New rule.
4830         (timevar.h): New rule.
4831
4832         * timevar.h: New file.
4833         * timevar.c: Likewise.
4834         * timevar.def: Likewise.
4835
4836         * toplev.h (gc_time, parse_time, varconst_time): Remove.
4837         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
4838         throughout.
4839         (TIMEVAR): Remove macro.
4840         (gc_time, parse_time, varconst_time, integration_time, jump_time,
4841         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
4842         flow_time, combine_time, regmove_time, sched_time,
4843         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
4844         sched2_time, dbr_sched_time, reorder_blocks_time,
4845         rename_registers_time, shorten_branch_time, stack_reg_time,
4846         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
4847         all_time): Remove.
4848         (compile_file): Don't initialize time variables.  Call
4849         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
4850         of many calls to print_time.
4851         (rest_of_compilation): Add timing for reload_cse_regs.
4852         (get_run_time): Removed to timevar.c.
4853         (print_time): Likewise.
4854         (get_run_time): Implement using TV_TOTAL time variable.
4855         (print_time): Get total run time from get_run_time.
4856         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
4857         computing elapsed time explicitly.
4858         * ggc-simple.c (ggc_collect): Likewise.
4859         (gc_time): Remove declaration.
4860
4861 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
4862
4863         * calls.c (combine_pending_stack_adjustment_and_call): New function.
4864         (expand_call): Use it.
4865
4866 2000-04-27  Jan Hubicka  <jh@suse.cz>
4867
4868         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
4869         fields.
4870
4871 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
4872
4873         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
4874         registers.
4875
4876 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4877
4878         * function.c (epilogue_done): Pass whole insn to record_insns.
4879
4880 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4881
4882         * cse.c (CSE_ADDRESS_COST): Remove.
4883         (find_best_addr): Add new parameter "MODE", use address_cost instead
4884         of CSE_ADDRESS_COST
4885         (address_cost): New.
4886         (fold_rtx): Update call of find_best_addr.
4887         * rtl.h (address_cost): Declare.
4888         * loop.c (general_induction_var): Add new parameter "MODE", use
4889         address_cost instead of ADDRESS_COST
4890         (init_loop): Use address_cost instead of ADDRESS_COST.
4891         (check_insn_for_givs): Update call of general_induction_var.
4892         (find_mem_givs): Likewise.
4893         (consec_sets_giv): Likewise.
4894         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
4895         * i386.c (ix86_address_cost): New.
4896         * i386-protos.h (ix86_address_cost): Declare.
4897
4898 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
4899
4900         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
4901         registers.
4902
4903 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4904
4905         * expr.c (store_expr): Use clear_storage instead of direct memset
4906         libcall.
4907
4908 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
4909
4910         * config/mn10300/mn10300.c (mn10300_address_cost): Test
4911         ASHIFT, AND and LABEL_REF.
4912
4913 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4914
4915         * invoke.texi (-foptimize-sibling-calls): Fix.
4916
4917 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4918
4919         * loop.c (load_mems)  Don't use hard registers for the hoisting.
4920
4921         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
4922         calculation; rename const_equiv array in the preconditioning code
4923         from loop_unroll to loop_unroll_precondition
4924
4925 2000-04-27  Richard Henderson  <rth@cygnus.com>
4926
4927         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
4928         add new_set.
4929         (propagate_one_insn): Clear it.  Don't update reg_live here.
4930         (init_propagate_block_info): Update for pbi member changes.
4931         (free_propagate_block_info): Likewise.
4932         (mark_set_1): Know that zero_extract, sign_extract, and
4933         strict_low_part don't kill their argument.  Alter hard subregs.
4934         Update new_set for non-CLOBBER sets.  Update reg_live.
4935         (find_auto_inc): Update reg_live, not new_dead.
4936         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
4937         to determine if the reg in question was set this insn.  Only update
4938         reg info with PROP_REG_INFO.
4939
4940 2000-04-26  Richard Henderson  <rth@cygnus.com>
4941
4942         * flow.c (allocate_reg_life_data): Set max_regno here ...
4943         (life_analysis): ... not here.
4944
4945         * flow.c (calculate_global_regs_live): Force stack pointer
4946         live at end.
4947
4948 2000-04-26  Richard Henderson  <rth@cygnus.com>
4949
4950         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
4951         commit change group changes.
4952         (invert_exp_1): Similarly.
4953         (redirect_exp, invert_exp): Use them.
4954         (redirect_jump_1): New.
4955         (invert_jump_1): New.
4956         (jump_optimize_1): Remove code subsumed by condexec.c.
4957         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
4958
4959 2000-04-26  Richard Henderson  <rth@cygnus.com>
4960
4961         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
4962
4963         * genconfig.c (main): Set all HAVE_foo to 1.
4964
4965         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
4966
4967 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
4968
4969         * invoke.texi: Document -fssa flag.
4970
4971 2000-04-26  Richard Henderson  <rth@cygnus.com>
4972
4973         * flow.c (count_reg_sets_1): Remove.
4974         (count_reg_sets, count_reg_references): Remove.
4975         (recompute_reg_usage): Implement with update_life_info.
4976         Reallocate life data.
4977
4978 2000-04-26  Richard Henderson  <rth@cygnus.com>
4979
4980         * flow.c (update_life_info): Consider blocks null to mean the
4981         universal set.
4982         (calculate_global_regs_live): Likewise.
4983         (life_analysis): Do that instead of collecting all_blocks.
4984
4985 2000-04-26  Richard Henderson  <rth@cygnus.com>
4986
4987         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
4988         a still-valid conditional jump.
4989
4990 2000-04-26  Richard Henderson  <rth@cygnus.com>
4991
4992         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
4993
4994         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
4995         * flow.c (calculate_loop_depth): Remove.
4996         * output.h (calculate_loop_depth): Don't declare.
4997         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
4998         inline; run estimate_probability at the same time.
4999
5000 2000-04-26  Neil Booth  <NeilB@earthling.net>
5001
5002         * cpplib.h: "~=" is not a single pp-token.
5003         * cpplex.c: Correct commentary.
5004
5005 2000-04-26  Richard Henderson  <rth@cygnus.com>
5006
5007         * flow.c (mark_set_1): New arguments code and flags; update all
5008         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
5009         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
5010         loop_depth when optimizing for size.  Do new_dead update after
5011         emitting REG_UNUSED notes.  Merge mark_set_reg code.
5012         (mark_set_reg): Remove.
5013         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
5014         arrange to not emit REG_UNUSED notes.
5015
5016 2000-04-26  Richard Henderson  <rth@cygnus.com>
5017
5018         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
5019         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
5020
5021 2000-04-26  Richard Henderson  <rth@cygnus.com>
5022
5023         * flow.c (propagate_one_insn): Break out from propagate_block.
5024         (init_propagate_block_info): Likewise.
5025         (free_propagate_block_info): Likewise.
5026         (propagate_block): Use them.  Export.
5027         * basic-block.h: Declare them all.
5028
5029 2000-04-26  Richard Henderson  <rth@cygnus.com>
5030
5031         * basic-block.h (life_analysis): Declare here ...
5032         * output.h: ... not here.
5033         * flow.c (life_analysis): Remove nregs parameter; replace
5034         remove_dead_code with flags.  Remove ssa dead code check.
5035         Only init alias analysis if we'll use it.
5036         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
5037         * ssa.c (convert_to_ssa): Likewise.
5038         (convert_from_ssa): Likewise.
5039         * toplev.c (rest_of_compilation): Likewise.
5040
5041 2000-04-26  Richard Henderson  <rth@cygnus.com>
5042
5043         * flow.c (flow_delete_block): Rename from delete_block.  Export.
5044         * basic-block.h (flow_delete_block): Declare.
5045
5046 2000-04-26  David S. Miller  <davem@redhat.com>
5047
5048         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
5049         taking a PATTERN of it.
5050
5051 2000-04-26  <NeilB@earthling.net>
5052
5053         * cpplex.c (spell_other, spell_char): Remove.
5054         (SPELL_CHAR): New.
5055         (token_spelling, trigraph_map): Use unsigned chars.
5056         (_cpp_lex_line): Tidy up the switch statement.
5057         * cpplib.h: Implement spell_char with spell_string.
5058         (C): New.
5059
5060 2000-04-26  <RodneyBrown@pmsc.com>
5061
5062         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
5063         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
5064
5065 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5066
5067         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
5068         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
5069         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
5070         dwarf2out_return_save, dwarf2out_return_reg,
5071         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
5072         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
5073         gen_compile_unit_die, dwarf2out_init): Constify a char*.
5074
5075         * dwarf2out.h (dwarf2out_init): Likewise.
5076
5077         * dwarfout.c (filename_entry, primary_filename, last_filename,
5078         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
5079
5080         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
5081         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
5082         dwarf2out_return_reg): Likewise.
5083
5084 2000-04-26  Andreas Jaeger  <aj@suse.de>
5085
5086         * extend.texi (Function Attributes): Fix description of pure
5087         attribute.
5088
5089 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
5090
5091         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
5092         before calling rest_of_compilation.
5093
5094 2000-04-26  Andreas Jaeger  <aj@suse.de>
5095
5096         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
5097         last patch.
5098
5099 2000-04-25  Richard Henderson  <rth@cygnus.com>
5100
5101         * cse.c (cse_insn): Emit barrier after unconditional jump.
5102
5103         * calls.c (expand_call): Disable tail call generation once
5104         rtx_equal_function_value_matters is false.
5105
5106         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
5107         like EDGE_EH edges.
5108
5109 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
5110
5111         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
5112
5113         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
5114
5115         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
5116         is the primary DIE for a member function.
5117         (gen_decl_die): Call set_decl_origin_self here.
5118         * dwarfout.c (output_decl): And here.
5119         * integrate.c (output_inline_function): Not here.
5120         Don't clear DECL_INLINE until after calling rest_of_compilation.
5121         (set_decl_origin_self): No longer static.
5122         * tree.h: Add prototype.
5123         * toplev.c (note_deferral_of_defined_inline_function): Only write
5124         out abstract instance for actual inlines.
5125
5126 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
5127
5128         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
5129         EXTENDED_REGS only if TARGET_AM33.
5130         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
5131         SP_REGS to register allocation and reloading unless absolutely
5132         necessary.
5133         (movsi3): Remove special-case of adding non-constants to SP.
5134
5135 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5136
5137         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
5138         INCLUDES to search and does not provide any of its own.  Also it
5139         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
5140         parameters.  Also it does not call AC_DEFINE.
5141         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
5142         AC_DEFINE and provides for automatic entries for autoheader.
5143         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
5144
5145         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
5146         so we can pass -I flags and include gansidecl.h/system.h in this
5147         test.
5148
5149         * acconfig.h: Delete all NEED_DECLARATION_* entries.
5150
5151 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5152
5153         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
5154         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
5155         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
5156
5157         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
5158         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
5159         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
5160         for these macros.  Clean up spacing and linewraps.
5161
5162 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
5163
5164         * calls.c (expand_call): Use get_callee_fndecl.
5165
5166         * print-tree.c (print_node): Print the chain of an _EXPR.
5167
5168 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
5169                           Jim Wilson  <wilson@cygnus.com>
5170                           Andrew Haley  <aph@cygnus.com>
5171
5172         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
5173         and gp save/restore problems.
5174         * config/ia64/crtend.asm: Add IA-64 unwind support.
5175         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
5176         in fr_pad_size calculation.
5177         (save_restore_insns): Move PR save area.  Correct uses of
5178         RTX_FRAME_RELATED_P.
5179         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
5180         (ia64_expand_epilogue): Add eh_epilogue support.
5181         (ia64_function_prologue): Emit .prologue directive.
5182         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
5183         (ia64_override_options): Set init_machine_status and
5184         mark_machine_status.
5185         (rtx_needs_barrier): Handle bsp reads and writes.
5186         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
5187         New static variables.
5188         (process_set, process_for_unwind_directive): New functions.
5189         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
5190         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
5191         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
5192         macros.
5193         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
5194         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
5195         (struct machine_function): Define.
5196         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
5197
5198 2000-04-25  Bruce Korb  <bkorb@gnu.org>
5199
5200         * fixinc/Makefile.in: make the removal of old programs more
5201         robust
5202         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
5203         install-bin and install-sh
5204
5205 2000-04-25  Nick Clifton  <nickc@cygnus.com>
5206
5207         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
5208         defined, define to return zero.
5209         (function_cannot_inline_p): If a function has any target
5210         specific attributes, then use the macro
5211         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
5212         whether it can be inlined.  If it cannot, issue a suitable
5213         explanation.
5214
5215         * tm.texi: Add a new node 'Inlining' to document the new macro
5216         FUNCTION_ATTRIBUTE_INLINABLE_P.
5217
5218 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
5219
5220         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
5221         commentary.
5222
5223 2000-04-25  Neil Booth  <NeilB@earthling.net>
5224
5225         Restore previous patch, plus the following fixes:
5226
5227         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
5228         flags, not CPP_OPEN_PAREN.
5229         * cpplex.c (expand_token_space, init_token_list,
5230         cpp_free_token_list): Put the dummy token at list->tokens[-1].
5231         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
5232
5233 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5234
5235         * config/i386/freebsd.h (INT_ASM_OP): Define.
5236
5237 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5238
5239         * loop.c (strength_reduce): Fix typo in the last checkin.
5240
5241 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5242
5243         * stor-layout.c (finalize_record_size): Simplify to use existing
5244         functions.
5245         (compute_record_mode): No longer static.
5246         * tree.h (compute_record_mode): New declaration.
5247
5248 2000-04-25  Neil Booth  <NeilB@earthling.net>
5249
5250         * Revert my patch below until cause of build failures
5251         determined.
5252
5253 2000-04-25  Richard Henderson  <rth@cygnus.com>
5254
5255         * combine.c (combine_instructions): Add missing argument
5256         to try_combine.
5257
5258         * toplev.c (rest_of_compilation): Delay sibcall optimization
5259         until after emit_eh_context.
5260
5261 2000-04-24  Nick Clifton  <nickc@redhat.com>
5262
5263         * combine.c (combine_instructions): Do not try to combine a
5264         sequence of insns when the second insn has been replaced by a
5265         note.
5266
5267 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
5268
5269         * gcc.c (load_specs): New static function.
5270         (read_specs): Use it.
5271
5272         * gcc.c (lookup_compiler): Make multiple passes for case
5273         insensitive filesystems.
5274
5275 2000-04-24  Neil Booth  <NeilB@earthling.net>
5276
5277         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
5278         * cpphash.h (_cpp_check_directive): new.
5279         * cpplex.c (handle_newline, cpp_free_token_list,
5280         init_trigraph_map, trigraph_ok, trigraph_replace,
5281         backslash_start, skip_block_comment, skip_line_comment,
5282         skip_whitespace, parse_name, parse_number, parse_string,
5283         copy_comment, _cpp_lex_line, spell_char, spell_string,
5284         spell_comment, spell_name, spell_other, _cpp_lex_file,
5285         _cpp_output_list): new.
5286         (expand_name_space): take length argument.
5287         (init_token_list): add comment list initialisation.
5288         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
5289         instead of HSPACE_BEFORE.
5290
5291         * cpplib.c (_cpp_check_directive): new
5292         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
5293         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
5294         (HSPACE_BEFORE): delete.
5295         (TTYPE_TABLE): rearrange.
5296         (struct cpp_toklist): update.
5297
5298 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5299
5300         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
5301         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
5302         argument form of AC_DEFINE.
5303
5304         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
5305         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
5306         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
5307         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
5308         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
5309
5310         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
5311
5312 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5313
5314         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
5315         deduced.h): Use -isystem, not -I, for including system headers.
5316
5317 2000-04-24  Nick Clifton  <nickc@cygnus.com>
5318
5319         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
5320         the source register is the frame pointer or arg pointer.
5321         (addsi3_small_int): Disallow if source register is the frame
5322         pointer or arg pointer.
5323
5324 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5325
5326         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
5327         call to AC_MSG_RESULT.
5328
5329 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5330
5331         * invoke.texi: Correct grammatical errors, document
5332         -fno-gnu-keywords as identical to -fno-asm for C++.
5333
5334 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5335
5336         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
5337         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
5338         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
5339         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
5340         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
5341
5342         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
5343         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
5344         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
5345         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
5346         new macros names.
5347
5348 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
5349
5350         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
5351         (pop_alignment): Likewise.
5352         (handle_pragma_token): Likewise.
5353
5354 2000-04-24  Robert Lipe <robertlipe@usa.net>
5355
5356         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
5357
5358 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
5359
5360         * combine.c (try_combine): Update reg_nonzero_bits of
5361         newi2pat before newpat.
5362
5363 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5364
5365         * loop.c (strength_reduce): Simplify test to INSN_P.
5366         (record_giv): Attempt to simplify the add value, use CONSTANT_P
5367         expressions instead of CONST_INT.
5368         (express_from_1): Likewise.
5369
5370 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
5371
5372         * regs.h (reg_n_max): Don't declare.
5373         * flow.c (reg_n_max): Don't define.
5374         * regclass.c (renumber): Don't initialize to zero.
5375         (regno_allocated): Likewise.
5376         (reg_n_max): Define.
5377         (allocate_reg_info): Don't initialize unnecessarily.
5378
5379 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
5380
5381         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
5382         and blockage_p in the newly allocated attribute.
5383
5384 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
5385
5386         * config/mn10300/mn10300.md (addsi): `inc4' on address
5387         registers does not modify cc, but `inc' on an extended
5388         register does.
5389
5390 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
5391
5392         * reload.c (find_equiv_reg): Checks all valueno regs
5393         as a reload_reg_p regs.
5394
5395 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
5396
5397         * cpphash.c (collect_objlike_expansion): Add sanity check.
5398         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
5399         the buffer is the empty string, return.  Mark __DATE__ and
5400         __TIME__ as XCONST nodes, not MCONST.
5401         (_cpp_macroexpand): Avoid pushing an empty buffer.
5402         (funlike_macroexpand): Don't pop token_buffer here.
5403
5404 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
5405
5406         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
5407         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
5408         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
5409         (REGNO_OK_FOR_BASE_P): Define in terms of them.
5410         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
5411         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
5412         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
5413
5414 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5415
5416         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
5417         constant MULT givs.
5418
5419 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
5420
5421         * cpphash.h (struct definition): Move file, line, col members...
5422         (struct hashnode): ... here.  Also add 'disabled' flag.
5423         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
5424         T_IDENTITY.  Remove T_DISABLED.
5425         Update prototypes.
5426
5427         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
5428         (collect_expansion): Split into collect_objlike_expansion and
5429         collect_funlike_expansion.
5430         (_cpp_macroexpand): Split out scan_arguments, stringify, and
5431         funlike_macroexpand.
5432         (_cpp_compare_defs): Rename compare_defs, make static.
5433         (_cpp_make_hashnode): Initialize hp->disabled.
5434         (macro_cleanup): Adjust for new token types.  Clear
5435         m->disabled.
5436         (_cpp_create_definition): Move code here to determine what
5437         sort of macro it is, and code to check for redefinitions, from
5438         do_define.  Implement a few simple cases without creating a
5439         full DEFINITION.
5440         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
5441         Handle the simple cases.
5442         (push_macro_expansion): Set buf->has_escapes and hp->disabled
5443         here.
5444
5445         * cppinit.c (builtin_array): Change MCONST to XCONST
5446         everywhere.
5447         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
5448         fix check for disabled and function-like macros.
5449         * cpplib.c (do_define): Move most logic to
5450         _cpp_create_definition.
5451         (do_undef): Handle new special token types.
5452
5453 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5454
5455         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
5456         of CONSTANT_P for mult_val; always use validate_change to update insn.
5457
5458 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
5459
5460         * cpphash.c (trad_stringify, add_pat): New functions.
5461         (collect_expansion): Restore support for -traditional syntax.
5462         Use trad_stringify and add_pat.
5463         (_cpp_macroexpand): Restore support for -traditional semantics.
5464         * cpplex.c (_cpp_scan_line): Don't change space_before if we
5465         get a COMMENT token.
5466         (_cpp_lex_token): Provide COMMENT tokens to caller if
5467         traditional and parsing_define_directive.
5468         (skip_comment): Warn about // comments if -Wtraditional.
5469         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
5470         proper node type.
5471         (do_undef): Don't warn about undefining EMPTY nodes.
5472
5473 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5474
5475         * loop.c (strength_reduce): Fix biv removal code.
5476
5477 2000-04-22  Richard Henderson  <rth@cygnus.com>
5478
5479         * predict.c (estimate_probability): Examine both sides of
5480         a branch for no exits.  Use 90% not 50% for predict taken.
5481         Reorg for one copy of note generation code.
5482
5483 2000-04-22  Richard Henderson  <rth@cygnus.com>
5484
5485         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
5486
5487 2000-04-22  Richard Henderson  <rth@cygnus.com>
5488
5489         * diagnostic.c (init_output_buffer): Don't initialize format_args.
5490         (output_clear): Likewise.
5491         (output_printf): Use va_copy.
5492         (vline_wrapper_message_with_location): Likewise.
5493         (v_message_with_decl): Likewise.
5494         (line_wrapper_printf): VA_START infor buffer.format_args directly.
5495         * system.h (va_copy): Provide default implementation.
5496
5497 2000-04-22  Richard Henderson  <rth@cygnus.com>
5498
5499         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
5500         the collected condition is not a constant.
5501
5502 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
5503
5504         * diagnostic.h: New file.
5505
5506         * Makefile.in (diagnostic.o): Depends on diagnostic.h
5507
5508         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
5509         various function prototypes.
5510         (diagnostic.h): #include.
5511         (struct output_buffer): Move into diagnostic.h.
5512         (get_output_prefix): Rename to output_get_prefix.  Export.
5513         (init_output_buffer): Export. Break out.  Ajust intialization.
5514         (output_space_left, output_append): Export.
5515         (output_newline): Rename to output_add_newline.  Export.
5516         (output_clear): Nullify additional output_buffer fields.
5517         (output_puts): Rename to output_add_string.  Export.
5518         (dump_output): Rename to output_flush_on.  Export.
5519         (build_location_prefix): Constify return-type.
5520         (emit_output_prefix): Rename to output_emit_prefix. Export.
5521         (set_real_maximum_length): New function.
5522         (output_set_maximum_length): Ditto
5523         (output_clear): Ditto.
5524         (output_add_character): Ditto.
5525         (output_add_integer): Ditto.
5526         (output_add_space): Ditto.
5527         (output_format): Ditto.
5528         (output_printf): Adjust buffer initialization.
5529         (vline_wrapper_message_with_location): Ditto.
5530         (v_message_with_decl): Ditto.  Adjust call to output_puts
5531         and get_output_prefix.
5532         (default_print_error_function): Adjust buffer intialization.
5533
5534 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5535
5536         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
5537         of VOID_TYPE.
5538
5539 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
5540
5541         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
5542         of explicit 0.
5543
5544 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
5545
5546         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
5547         accurate data about SP moves.
5548
5549 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
5550
5551         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
5552         aliases to AM33 registers.
5553
5554 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
5555
5556         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
5557         to all EXTENDED bitmaps.
5558
5559 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
5560
5561         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
5562         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
5563         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
5564
5565 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
5566
5567         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
5568         the operand is not constant.
5569
5570 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
5571
5572         * reload.c (find_equiv_reg): Checks all valueno and regno regs
5573         as a call-clobbered regs.
5574
5575 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5576
5577         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
5578         * rtl.h: Likewise.
5579         * rtl.def: Update comment.
5580         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
5581         * integrate.c (expand_inline_function): Likewise.
5582         * profile.c (branch_prob): Likewise.
5583         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
5584         * print-rtl.c (print_rtx): Likewise.
5585         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
5586         (reemit_notes): Likewise; also use enum insn_note.
5587
5588         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
5589         (place_field): Properly compute know and actual alignment.
5590
5591         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
5592         in proper format.
5593
5594         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
5595         note for REG1.
5596
5597 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
5598
5599         * cpphash.c (struct arg, struct arglist): Const-ify strings.
5600         (warn_trad_stringify, duplicate_arg_p): New helper functions.
5601         (collect_expansion): Rewrite to scan over a token list.
5602         Remove -traditional support.
5603         (collect_formal_parameters): Rename to collect_params; rewrite
5604         to scan over a token list.
5605         (_cpp_create_definition): Adjust to scan a token list.
5606         (_cpp_macroexpand): Remove -traditional support.
5607         (_cpp_compare_defs): Whitespace is now canonicalized.
5608         (comp_def_part): Delete function.
5609
5610         * cpphash.h: Update prototypes.
5611         * cpplex.c (init_token_list): Don't set lineno if there is no
5612         buffer.
5613         (pedantic_whitespace): New function.
5614         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
5615         consume a newline.  Use pedantic_whitespace.
5616         (_cpp_lex_token): Remove support for -traditional macros.
5617         (_cpp_get_define_token): Delete.
5618         (_cpp_get_directive_token): Do the real work here.  Use
5619         pedantic_whitespace.
5620         (_cpp_init_input_buffer): Initialize pfile->directbuf.
5621
5622         * cpplib.c (get_macro_name): Delete.
5623         (do_define): Read the entire line into pfile->directbuf, then
5624         feed the token list to _cpp_create_definition.
5625         * cpplib.h (HSPACE_BEFORE): new define.
5626         (struct cpp_reader): Add a toklist member, "directbuf".
5627
5628         * predict.c (estimate_probability): New heuristic: if a jump
5629         branches around a block with no successors, predict it taken.
5630         Disentangle control flow.
5631
5632 2000-04-20  Richard Henderson  <rth@cygnus.com>
5633
5634         * loop.c (emit_iv_add_mult): Revert last change.
5635
5636 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
5637
5638         * cpplib.h (enum cpp_ttype): Add token types for all
5639         punctuators.  Distinguish pp-numbers from valid C numbers.
5640         Give some tokens better names.  Initialize from macro.
5641         (struct cpp_name, cpp_token, cpp_toklist): New data
5642         structures.
5643         Update prototypes.
5644         * cpplex.c (bump_column, expand_name_space,
5645         expand_token_space, init_token_list, cpp_output_list,
5646         _cpp_scan_line):  New functions.
5647         (output_line_command): Add third argument, new line number.
5648         * cpphash.h: Update prototypes.
5649         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
5650         token names.
5651
5652 2000-04-20  Richard Henderson  <rth@cygnus.com>
5653
5654         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
5655
5656 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
5657
5658         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
5659         object pointed to.
5660
5661 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5662
5663         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
5664         REG_EQUAL note explaining the calculated value.
5665
5666         * calls.c (expand_call): Avoid unnecesary precalculation
5667         and outgoing parameters space guarding for sibling calls.
5668         (store_one_arg): Likewise.
5669
5670 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5671
5672         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
5673         (rest_of_compilation): Write sibling dump file and account
5674         for time as jump time.
5675         * invoke.texi: Update documentation on dump flags.
5676
5677 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
5678
5679         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
5680
5681 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
5682
5683         * cpphash.c (special_symbol): Represent an empty macro with
5684         "\r \r " not just "\r ".
5685         (_cpp_macroexpand): Correct condition for the foo ( ) special
5686         case.
5687         (unsafe_chars): Handle EOF as second argument.
5688         (push_macro_expansion): Simplify test for removing escape at
5689         end.  Do not trim both escapes if there is no text in between.
5690
5691 2000-04-19  Jim Blandy  <jimb@redhat.com>
5692
5693         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
5694         of PTR_SIZE, when appropriate.
5695
5696 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
5697
5698         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
5699         (USE_ENUM_BITFIELDS): Fix typo.
5700
5701 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5702
5703         * stor-layout.c (place_field): Set rli->offset_align properly.
5704
5705 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5706
5707         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
5708         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
5709         PARM_BOUNDARY): Remove unnecessary casts.
5710
5711 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5712
5713         * calls.c (precompute_arguments): Remove must_preallocate and
5714         args_size calls.
5715         (expand_call): Update call of precompute_arguments.
5716
5717         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
5718         check_insn_for_givs): Break out from ...
5719         (strength_reduce) ... here; use for_every_insn_in_loop to call
5720         check_insn_for_givs.
5721         * loop.h (for_every_insn_in_loop): Declare.
5722         (loop_insn_callback): New type.
5723
5724 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
5725
5726         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
5727         not nul-terminated.
5728
5729 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
5730
5731         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
5732         flag_pic and RELOC.
5733
5734 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
5735
5736         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
5737
5738         * configure.in: Delete --disable-cpplib option and all
5739         references to cpp_main.
5740         * configure: Regenerate.
5741         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
5742         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
5743         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
5744         cpp$(exeext).  Add --no-headers to makeinfo command line when
5745         generating INSTALL.  Install and uninstall cpp.1 manpage, not
5746         cccp.1.
5747         * install.texi: Delete all references to cexp.y/cexp.c.
5748         Delete ancient instructions for compiling GCC on 3b1.
5749         * INSTALL: Regenerate.
5750
5751         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
5752         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
5753         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
5754         cexp.c/cexp.y.
5755         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
5756         which is no longer tested anywhere.
5757
5758         * cppinit.c (handle_option): Don't run error message through
5759         gettext twice.
5760
5761 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5762
5763         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
5764         * cpperror.c (hashtab.h): Now include.
5765         * cppexp.c (hashtab.h): Likewise.
5766         * cpplex.c (hashtab.h): Likewise.
5767         * cppfiles.c (hashtab.h): Likewise.
5768         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
5769         to htab_find_slot_with_hash.
5770         * cpphash.c (hashtab.h): Now include.
5771         (_cpp_lookup_slot): INSERT is now enum insert_option.
5772         * cpphash.h (_cpp_lookup_slot): Likewise.
5773         * cppinit.c (hashtab.h): Include earlier.
5774         (initialize_builtins): Pass enum to htab_find_slot.
5775         * cpplib.c (hashtab.h): Now include.
5776         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
5777         (do_pragma_poison, do_assert): Likewise.
5778         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
5779         htab_find_slot_with_hash.
5780         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
5781         * tree.c (type_hash_add): Likewise.
5782         (build1): Minor cleanup.
5783
5784         * ggc-common.c: Add missing blanks.
5785         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
5786         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
5787
5788         * stmt.c (mark_case_node): New function.
5789         (mark_case_nesting): Call it.
5790
5791         * expmed.c (emit_store_flag): If comparing two-word integer
5792         with zero, can optimize NE, EQ, GE, and LT.
5793
5794         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
5795         * conflict.c: Minor cleanups.
5796         * optabs.c: Add blank line
5797         * simplify-rtx.c: Minor cleanups.
5798
5799 2000-04-18  Stan Cox  <scox@cygnus.com>
5800
5801         * gengenrtl.c (genlegend): Fix misspelling.
5802
5803 2000-04-18  Robert Lipe  <robertlipe@usa.net>
5804
5805         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
5806         bitfields of the host compiler are not signed quantities.
5807         * config.in: Regenerate.
5808         * configure: Regenerate.
5809         * system.h (USE_ENUM_BITFIELDS): Added.
5810         (ENUM_BITFIELDS): Added.
5811         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
5812         (SHORT_ENUM_BUG): Deleted.
5813         * tree.h (tree_common): Members `code', `mode', `built_in_class',
5814         now ENUM_BITFIELD.
5815         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
5816         (CODE_FIELD_BUG): Likewise.
5817         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
5818         (OLD_CC): Likewise.
5819         * config/m68k/x-ccur (X_CFLAGS): Likewise.
5820
5821 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
5822
5823         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
5824         mark is active.
5825
5826 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
5827
5828         * cppexp.c (lex): Don't assume tokens are NUL terminated.
5829         * cpplib.c (do_include, do_import, do_include_next,
5830         read_line_number, detect_if_not_defined): Likewise.
5831         * cpphash.c (collect_expansion): Likewise.
5832         (special_symbol, _cpp_macroexpand): Check return from
5833         cpp_file_buffer.
5834         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
5835         macros.  Delete all uses.
5836
5837         * gcc.dg/cpp-mi.c: Add two more test cases.
5838         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
5839
5840 2000-04-17  Richard Henderson  <rth@cygnus.com>
5841
5842         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
5843         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
5844
5845 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
5846
5847         * function.c (expand_function_start): Use hard_function_value to
5848         compute the RTL to use for DECL_RESULT.
5849
5850 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5851
5852         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
5853         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
5854          x86_memory_mismatch_stall): New global variables.
5855         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
5856         alloved; fix load penalties for Athlon.
5857         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
5858         x86_memory_mismatch_stall): Declare.
5859         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
5860          TARGET_MEMORY_MISMATCH_STALL): New.
5861         * i386.md (athlon scheduling parameters): Fix latencies according to
5862         Athlon Optimization Manual.
5863         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
5864         vector.
5865         (fsqrt instruction patterns): Set athlon_decode to direct.
5866         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
5867         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
5868         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
5869         and TARGET_PARTIAL_REGISTER_STALL machines.
5870         (pushdf_nointeger): New pattern.
5871         (pushdf_integer): Rename from pushdf.
5872         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
5873         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
5874
5875 2000-04-17  Richard Henderson  <rth@cygnus.com>
5876
5877         * loop.c (canonicalize_condition): Add WANT_REG argument.
5878         Stop the search if we match it.
5879         * expr.h (canonicalize_condition): Update decl.
5880         * predict.c (expected_value_to_br_prob): Use it.  Track last
5881         expected value note.
5882         (find_expected_value): Remove.
5883
5884         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
5885
5886 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
5887
5888         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
5889         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
5890         a plain file.
5891         * configure.in: Call AC_FUNC_MMAP_FILE.
5892         * configure: Regenerate.
5893         * config.in: Regenerate.
5894
5895         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
5896         * fixinc/fixincl.c: Likewise.
5897
5898 2000-04-17  Richard Henderson  <rth@cygnus.com>
5899
5900         * builtins.c (expand_builtin_expect): New.
5901         (expand_builtin): Call it.
5902         * builtins.def (BUILT_IN_EXPECT): New.
5903         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
5904         * extend.texi: Document it.
5905
5906         * predict.c (expected_value_to_br_prob): New.
5907         (find_expected_value): New.
5908         * basic-block.h (expected_value_to_br_prob): Declare.
5909         * toplev.c (rest_of_compilation): Invoke it.
5910
5911         * rtl.h (NOTE_EXPECTED_VALUE): New.
5912         (NOTE_INSN_EXPECTED_VALUE): New.
5913         * rtl.c (note_insn_name): Update.
5914         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
5915         cases; handle NOTE_INSN_EXPECTED_VALUE.
5916
5917 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
5918
5919         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
5920         leaf sibcall delay slot if flag_pic.
5921         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
5922
5923 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5924
5925         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
5926
5927         * fixproto: If fix-header fails, exit with an error.
5928
5929 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5930
5931         * cse.c (struct check_depdendence_data): New.
5932         (check_dependence): New function.
5933         (invalidate): Use check_depdenence.
5934
5935 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
5936
5937         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
5938         UNITS_PER_WORD is unsigned.
5939
5940         * tree.h (struct tree_common): Remove misleading comment.
5941
5942 2000-04-16  Dave Pitts  <dpitts@cozx.com>
5943
5944         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
5945         message in quotes. Otherwise, IBM's make program treats the '#' as the
5946         start of a comment and ignores the remainder of the line.
5947
5948         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
5949         upper case.
5950         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
5951         * cexp.y (initialize_random_junk): Likewise.
5952         * cppfiles.c (find_include_file): Cast alloca return value.
5953         * cppinit.c (initialize_standard_includes): Likewise.
5954         * cpplib.c (cpp_define, cpp_undef): Likewise.
5955         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
5956         * final.c (output_asm_insn): Allow for holes in EBCDIC.
5957         * fold-const.c (CHARMASK): New.
5958         (real_hex_to_f): Use it.
5959         * real.c (CHARMASK): New.
5960         (etoasc, asctoeg): Use it.
5961         (asctoeg): EBCDIC lower case characters preceed upper case.
5962
5963         * i370.c (mvs_add_label): Change spacing for coding conventions.
5964         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
5965         outputing case vectors.
5966         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
5967         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
5968         since vector in in the data CSECT.
5969         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
5970         * i370.md (Many patterns): Put the length in the XL directives.
5971         (movdi): Put back STM and MVC in definition.
5972         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
5973         pattern using the TCA.
5974         * oe.h (CPP_SPEC): Added to allow trigraphs.
5975         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
5976         not support the "long long" type.
5977
5978 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
5979
5980         * config/mips/mips-protos.h (mips_legitimate_address_p): New
5981         function.
5982         (mips_reg_mode_ok_for_base_p): Likewise.
5983         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
5984         (REG_OK_FOR_INDEX_P): Define unconditionally.
5985         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
5986         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
5987         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
5988         that GET_MODE_SIZE is unsigned.
5989         (mips_reg_mode_ok_for_base_p): Define.
5990         (mips_legitimate_address_p): Likewise.  Adjust now
5991         that GET_MODE_SIZE is unsigned.
5992         (block_move_loop): Make the number of bytes unsigned.
5993         (expand_block_move): Likewise.
5994         (function_arg): Make the loop counter unsigned to match the
5995         boundary condition.
5996
5997 2000-04-16  Richard Henderson  <rth@cygnus.com>
5998
5999         * rtl.h (enum insn_note): New enumeration.  Subsume
6000         NOTE_INSN_DELETED and friends.
6001         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
6002         * rtl.c (note_insn_name): Tweak string order.
6003
6004 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
6005
6006         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
6007         to offset * 2.
6008
6009         * cpplex.c (output_line_command): Remove debugging prints.
6010         (cpp_output_tokens): Don't write out a zero-length buffer or
6011         try to see if it has a newline in it.
6012         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
6013         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
6014         the end of the loop.  Use memmove.  Don't read past the end of
6015         the buffer.  Remove trailing newlines from error messages.
6016
6017 2004-04-16  Neil Booth  <NeilB@earthling.net>
6018
6019         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
6020         * cpplib.c: Add new syntax flags to directive table, and
6021         supporting macros.
6022
6023 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
6024
6025         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
6026         using ret $N.
6027
6028 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
6029
6030         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
6031         * haifa-sched.c: Update -fsched-verbose comments to use "=".
6032
6033 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6034
6035         * Makefile.in (ggc-page.o): Now includes toplev.h.
6036         * ggc-page.c (toplev.h): Now included.
6037         (gc_time): Remove declaration.
6038         (ggc_collect): TIME now long.
6039         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
6040         others static.
6041         * toplev.h (gc_time, parse_time, gc_time): New declarations.
6042
6043         * toplev.c: Make *_time variable long to reduce chance of overflow.
6044         (TIMEVAR): Likewise for `otime'.
6045         (print_time): Arg is now long; compute percentage in FP and round.
6046         * toplev.h (print_time): Arg is long.
6047
6048         * tree.c: Minor whitespace changes.
6049
6050         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
6051         * configure: Rebuilt.
6052         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
6053         (__fixunsxfDI): Renamed from __fixunsxfdi.
6054         (__fixunsdfDI): Renamed from __fixunsdfdi.
6055         (__fixunssfDI): Renamed from __fixunssfdi.
6056         (__floatdisf): Use proper type in REP_BIT macro.
6057         (__fixunsxfSI): Renamed from __fixunsxfsi.
6058         (__fixunsdfSI): Renamed from __fixunsdfsi.
6059         (__fixunssfSI): Renamed from __fixunssfsi.
6060         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
6061         Change location of macros and upper-case some names as above.
6062         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
6063         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
6064
6065         * varasm.c (assemble_variable): Add cast to remove warning.
6066         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
6067
6068         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
6069         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
6070         region number to -1.
6071
6072 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
6073
6074         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
6075         call unshare_all_rtl.
6076
6077         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
6078
6079 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
6080
6081         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
6082         Use .s1 not .s0 for all FP instructions.
6083
6084 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
6085
6086         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
6087         interfaces.
6088         (safe_fwrite, output_line_command): New static functions.
6089         (cpp_expand_to_buffer): Now private to cpplib.
6090         (cpp_scan_buffer): Take a printer.
6091
6092         * cpphash.h: Update prototypes.
6093         * cpplib.h: Update prototypes.
6094         (cpp_printer): New.
6095         (cpp_buffer): Remove last_nominal_fname.
6096         (cpp_reader): Remove lineno.
6097
6098         * cppmain.c: Use a cpp_printer.
6099         * fix-header.c: No need to inhibit line commands.  Call
6100         cpp_start_read with no printer.
6101
6102         * cpperror.c (cpp_notice_from_errno): Provide default name.
6103         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
6104         (find_include_file, cpp_read_file): Use make_IHASH.
6105         (file_cleanup): Set control_macro and clear
6106         input_stack_listing_current here.
6107         (_cpp_execute_include): Don't output entering-file marker.
6108         * cpphash.c (special_symbol): Look for the line number in the
6109         buffer, not the reader.
6110         (_cpp_macroexpand): No need to disable line commands.
6111         (_cpp_dump_definition): No need to generate line commands.
6112         (dump_hash_helper): Remove excess newline from output.
6113         * cppinit.c (dump_special_to_buffer): No need to generate line
6114         commands.
6115         (cpp_printer_init): New.
6116         (cpp_start_read): Take a printer, and start it up if it's not
6117         NULL.  No need to generate line commands.
6118         (cpp_finish): Expect no buffers stacked at all.  Take a
6119         printer argument, and flush the output buffer if it's not
6120         NULL.
6121         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
6122         Don't put two hashes at the beginning of an assertion.
6123         (cpp_get_token): Don't increment pfile->lineno or emit line
6124         commands here.  Return EOF if there's no buffer when we get
6125         EOF.
6126         * cpplib.c (do_define, skip_if_group):
6127         No need to disable line commands.
6128         (_cpp_output_line_command): Delete function.
6129         (do_line): Don't emit line commands here, but set things up so
6130         they will be emitted if necessary.  Use _cpp_fake_ihash to
6131         make unique nominal_fnames if necessary.
6132         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
6133         with 0 for column, not -1.
6134         (_cpp_handle_eof): Don't set the control macro here.  Don't
6135         clear input_stack_listing_current here.  Don't emit line
6136         commands.
6137
6138 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
6139
6140         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
6141         always, use the default SVR4 start address.
6142
6143         * config/rs6000/linux.h (LINK_SPEC): Don't define.
6144         (LINK_SHLIB_SPEC): Define.
6145         (LINK_START_DEFAULT_SPEC): Define.
6146         (LINK_OS_DEFAULT_SPEC): Define.
6147
6148         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
6149
6150         * config/rs6000/eabi.asm (__eabi): Call __init rather than
6151         __do_global_ctors to handle constructors.
6152         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
6153         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
6154         (STARTFILE_MVME_SPEC): Likewise.
6155         (STARTFILE_SIM_SPEC): Likewise.
6156         (ENDFILE_ADS_SPEC): Use crtend.
6157         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
6158         (ENDFILE_MVME_SPEC): Likewise.
6159         (ENDFILE_SIM_SPEC): Likewise.
6160         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
6161         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
6162         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
6163         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
6164         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
6165         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
6166         (CRTSTUFF_T_CFLAGS_S): Define.
6167         * config/rs6000/eabi-ctors.c: Delete.
6168
6169         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
6170         boundary.
6171         (__fini): Likewise.
6172         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
6173         boundary.
6174         (__fini): Likewise.
6175
6176 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
6177
6178         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
6179         plus mask size is smaller or equal to the mode size.
6180
6181 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6182
6183         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
6184         not yet set.
6185
6186         * expr.c (reload.h): Now included.
6187         (emit_block_move): Set volatile_ok when checking for movstr.
6188         (emit_move_1): Check for replacements in addresses in multi-word case.
6189         * Makefile.in (expr.o): Now includes reload.h.
6190
6191         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
6192         Never have a LIBCALL end a basic block.
6193         (find_basic_blocks_1): Likewise.
6194         Reorganize CALL_INSN cases.
6195
6196         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
6197
6198 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
6199
6200         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
6201         completers from mov.ret instruction.
6202
6203 2000-04-14  Richard Henderson  <rth@cygnus.com>
6204
6205         * fold-const.c (extract_muldiv): Don't distribute and widen
6206         multiply across plus for non-sizetype unsigned types.
6207
6208 2000-04-14  Richard Henderson  <rth@cygnus.com>
6209
6210         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
6211         If the original source is dead in the incr insn, it's dead now.
6212
6213 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6214
6215         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
6216         see if DECL_BIT_FIELD needs to still be set.
6217
6218         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
6219
6220         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
6221         print_int_cst_octal with something that's not an INTEGER_CST.
6222
6223         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
6224         and not a SUBREG to a FLOAT rtl.
6225
6226 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
6227
6228         * emit-rtl.c (try_split): Avoid infinite loop if the split
6229         results in a sequence that contains the original insn.
6230
6231 2000-04-13  Andreas Jaeger  <aj@suse.de>
6232
6233         * config/mips/mips.c (expand_block_move): Pass alignment
6234         argument to move_by_pieces in bits, not bytes.
6235
6236         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
6237         __pic__ for little endian.
6238
6239 2000-04-13  Andreas Jaeger  <aj@suse.de>
6240
6241         * config/i386/i386-protos.h: Add prototype for
6242         uno_comparison_operator.
6243
6244 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6245
6246         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
6247         * calls.c (ECF_PURE): New flag.
6248         (emit_call_1): Handle ECF_PURE calls.
6249         (initialize_argument_information): Unset ECF_PURE flag too.
6250         (precompute_arguments): Precompute for ECF_PURE too.
6251         (expand_call): Handle ECF_PURE calls too.
6252         (emit_library_call_value_1): Rename no_queue argument to fn_type,
6253         accept value of 2 as pure function.
6254         (emit_library_call_value, emit_library_call): Rename no_queue argument
6255         to fn_type.
6256         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
6257
6258         * tree.h (DECL_IS_PURE): New macro.
6259         (struct tree_decl): Add pure_flag.
6260         * c-common.c (enum attrs): Add attribute "pure".
6261         (init_attributes): Initialize attribute "pure"
6262         (decl_attributes): Handle attribute "pure".
6263         * extend.texi (Attribute "pure"): Document.
6264         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
6265         in pure function.
6266         (flags_from_decl_or_type): Support attribute "pure".
6267
6268 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
6269
6270         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
6271         the token except for numbers and identifiers.
6272
6273 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
6274
6275         * i386.c (ix86_expand_binary_operator,
6276         ix86_expand_unary_operator): Check no_new_pseudos
6277         instead of reload_in_progress and reload_completed.
6278         (ix86_split_ashldi, ix86_split_ashrdi,
6279         ix86_split_lshrdi): Check no_new_pseudos instead
6280         of reload_completed.
6281
6282 2000-04-12  Jeffrey A Law  (law@cygnus.com)
6283
6284         * function.c (purge_addressof): Unshare any shared rtl created by
6285         purge_addressof and its children.
6286
6287 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
6288
6289         * function.c (aggregate_value_p): VOID_TYPE nodes are never
6290         aggregates.
6291
6292 2000-04-05  Andreas Jaeger  <aj@suse.de>
6293
6294         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
6295         not compiling PIC code, add flags for mabi=64.
6296         (SUBTARGET_CPP_SIZE_SPEC): New.
6297         (SUBTARGET_CPP_SPEC): New.
6298         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
6299         for MIPS/Linux and lots of code needs these defines.
6300
6301 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
6302
6303         * reorg.c (fill_slots_from_thread): Check side_effects_p when
6304         trying the "opposite arithmetic" approach.
6305
6306 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6307
6308         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
6309         (struct sh_args): Add new field force_mem.
6310         (INIT_CUMULATIVE_ARGS): Initialize it.
6311         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
6312
6313 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6314
6315         * calls.c (expand_call): Do not reverse args in "equal from" field.
6316         (emit_library_call_value_1): Emit_libcall_block for const and pure
6317         function.
6318
6319 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6320
6321         * reload1.c (reload_combine): Don't enable optimization for fixed
6322         registers when encountering a BARRIER.
6323
6324 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6325
6326         * builtins.c (expand_builtin_memcmp): Do expansion even with
6327         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
6328
6329         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
6330         stack is propertly aligned; add sanity checking for aligned
6331         stack pointer.
6332         (expand_library_call_value_1): Add sanity checking for aligned
6333         stack pointer.
6334
6335 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
6336
6337         * calls.c (emit_library_call_value_1): Change 3rd arg to
6338         locate_and_pad_parm to disregard the setting of partial.
6339
6340 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6341
6342         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
6343
6344         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
6345         CALL_INSN from the normal case.
6346
6347 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6348
6349         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
6350         New global variables.
6351         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
6352         adjustment.
6353         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
6354         Declare,
6355         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
6356          TARGET_ADD_ESP_8): New macros.
6357         * i386.md: Add peep2s to convert esp adjustments to push and pop
6358         instructions.
6359         (pushsi_prologue, popsi_epilogue): New patterns.
6360
6361 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
6362
6363         * real.c (toe64): Remove stale #endif from the last change.
6364
6365 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
6366
6367         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
6368         * real.c (toe64): Revert previous change.
6369
6370 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
6371
6372         * objc/objc-act.c: Include ggc.h.
6373         (objc_tree_index, objc_global_trees): Convert most of the
6374         static tree variables into a static array with previous names
6375         as defines.
6376         (objc_ellipsis_node): New variable.
6377         (lang_init): Call objc_act_parse_init and c_parse_init.
6378         Create objc_ellipsis_node.
6379         (build_selector_translation_table): Use objc_ellipsis_node instead
6380         of (tree)1.
6381         (hack_method_prototype): Likewise.
6382         (get_arg_type_list): Likewise.
6383         (start_method_def): Likewise.
6384         (continue_method_def): Likewise.
6385         (gen_method_decl): Likewise.
6386         (ggc_mark_imp_list): New function.
6387         (ggc_mark_hash_table): New function.
6388         (objc_act_parse_init): New function.
6389         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
6390         * c-parse.in (c_parse_init): For objc add roots of objc specific
6391         local tree variables.
6392         * objc/objc-parse.y: Rebuilt.
6393         * objc/objc-parse.c: Rebuilt.
6394         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
6395
6396 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
6397
6398         * cse.c (delete_trivially_dead_insns): Also delete insns
6399         that copy a register to itself where the destination is
6400         a strict_low_part.
6401
6402 2000-04-11  Richard Henderson  <rth@cygnus.com>
6403
6404         * flow.c (struct propagate_block_info): Add new_dead, new_live.
6405         (propagate_block): Initialize them.  Use them in parallel instead
6406         of one tmp variable, ie revert much of the 0408 and 0407 functional
6407         changes, but keep the structural changes.
6408         (mark_set_regs): Take new_dead from propagate_block_info instead.
6409         (mark_set_1, mark_set_reg): Likewise.
6410         (mark_used_regs): Likewise with new_live.
6411         (mark_used_reg): Likewise.  Revert 0408 change.
6412
6413 2000-04-11  Nick Clifton  <nickc@cygnus.com>
6414
6415         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
6416         restriction.
6417         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
6418
6419 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6420
6421         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
6422         const section to output a CONSTRUCTOR based on the same conditions
6423         used for VAR_DECLs.
6424
6425 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
6426
6427         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
6428         * pa/pa-protos.h (output_call): Add additional argument indicating
6429         if the call is a sibling/tail call.
6430         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
6431         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
6432         (function_arg, function_arg_partial_nregs): Likewise
6433         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
6434         (emit_move_sequence): Zero extend certain constants as needed
6435         for TARGET_64BIT.
6436         (compute_zdepdi_operands, output_64bit_and): New functions.
6437         (output_64bit_ior, function_arg): Likewise.
6438         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
6439         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
6440         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
6441         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
6442         (output_bvb): Likewise.
6443         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
6444         (output_call): New argument 'sibcall'.  Generate sibcall sequences
6445         as needed.
6446         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
6447         (ouput_arg_descriptor): Do not emit argument descriptors for
6448         TARGET_64BIT.
6449         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
6450         defined.
6451         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
6452         (FUNCTION_OK_FOR_SIBALL): Define.
6453         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
6454         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
6455         (CPP_SPEC): Use new spec infrastructure.
6456         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
6457         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
6458         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
6459         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
6460         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
6461         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
6462         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
6463         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
6464         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
6465         (FUNCTION_ARG); Call out to C code.
6466         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
6467         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
6468         (MIN_UNITS_PER_WORD): Likewise.
6469         * pa/pa.md (cmpdi): New expander.
6470         (scc patterns, movstrsi): Not available for TARGET_64BIT.
6471         (64bit conditional arithmetic): New patterns.
6472         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
6473         (movsicc): Not available if modes on all the operands to not match.
6474         (movdicc): New expander and associated patterns.
6475         (64bit branches): New patterns.
6476         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
6477         (pre_ldd, post_std): New patterns.
6478         (64bit addil, load low part): New patterns.
6479         (special movsf constant): Not available for TARGET_64BIT.
6480         (movsf, movdf expanders): Force constants into memory.
6481         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
6482         (64bit movdf/movdi patterns): New patterns.
6483         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
6484         for TARGET_64BIT.
6485         (extendqidi2, extendhidi2, extendsidi2): Similarly.
6486         (adddi3 expander): Allow "arith_operand" for second input.
6487         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
6488         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
6489         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
6490         (muldi3): New expander for TARGET_64BIT.
6491         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
6492         for TARGET_64BIT.
6493         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
6494         patterns for TARGET_64BIT.
6495         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
6496         patterns for TARGET_64BIT.
6497         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
6498         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
6499         (sibcall_epilogue): New expander.
6500         (casesi): Tweak for TARGET_64BIT.
6501         (call expanders): Set & use the outgoing argument pointer.  Use the
6502         64bit call patterns as needed. Add additional arg to output_call.
6503         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
6504         (sibcall, sibcall_internal_symref): New expanders.
6505         (sibcall_value, sibcall_value_internal_symref
6506         (interspace_jump): Turn into an expander + matching patterns.
6507         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
6508         * pa/pa64-regs.h: Eliminate trigraph sequences.
6509         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
6510
6511 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
6512
6513         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
6514         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
6515         cpp_token with cpp_ttype everywhere.
6516         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
6517         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
6518         CPP_BUF_COL.  Line and column numbers are unsigned int, not
6519         long.
6520         * cpplex.c (cpp_buf_line_and_col): Delete.
6521         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
6522         'long lineno' to 'unsigned int lineno'.
6523         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
6524
6525 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6526
6527         * extend.texi: ISO C99 is not a draft anymore.
6528         * invoke.texi: ISO C++ is not a draft anymore.
6529         * cpp.texi: __cplusplus is required by the ISO standard.
6530
6531         * extend.texi (-fthis-is-variable): Undocument.
6532         * flags.h (warn_template_debugging): Remove declaration.
6533         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
6534         -Wenum-clash, -Wtemplate-debugging): Undocument.
6535
6536 2000-04-10  Nick Clifton  <nickc@cygnus.com>
6537
6538         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
6539         integer.
6540         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
6541         integer.
6542         (ARM_SIGN_EXTEND): Use HOST_UINT.
6543         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
6544         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
6545         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
6546         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
6547
6548         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
6549         (arm_gen_constant): Use HOST_UINT.
6550         (arm_canonicalize_constant): Use HOST_UINT.
6551         (arm_reload_in_hi): Use HOST_UINT.
6552         (arm_reload_out_hi): Use HOST_UINT.
6553         (output_multi_immediate): Use HOST_UINT.
6554         (int_log2): Use HOST_UINT.
6555         (arm_poke_function_name): Use HOST_UINT.
6556         (arm_output_epilogue): Use arm_volatile_func().
6557         (output_thumb_prologue): Use arm_strip_name_encoding().
6558
6559 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6560
6561         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
6562         of sequence point problems.
6563
6564 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
6565
6566         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
6567         Recomment.
6568         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
6569
6570 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6571
6572         * sbitmap.h: Whitespace changes and use upper-case macro args.
6573         (struct simple_bitmap_def): All sizes now unsigned.
6574         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
6575         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
6576         (sbitmap_vector_alloc): Parms and local vars now unsigned.
6577         (sbitmap_zero): Cast bzero arg to PTR.
6578         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
6579         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
6580         loop to make structure clearer.
6581         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
6582         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
6583         (sbitmap_a_and_b_or_c): Likewise.
6584         (sbitmap_intersection_of_succs): Minor cleanups.
6585         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
6586         (sbitmap_union_of_preds): Likewise.
6587         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
6588         (debug_sbitmap): New function.
6589
6590         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
6591         * c-typeck.c (convert_for_assignment): Likewise.
6592
6593         * expmed.c (init_expmed): Don't free objects we make.
6594         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
6595
6596         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
6597         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
6598
6599         * gcse.c (expr_hash_table_size): Now unsigned.
6600         (compute_ae_gen): Local variable `i' now unsigned.
6601         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
6602         (compute_transout, hoist_code): Likewise.
6603         (compute_local_properties): Likewise, also hash_table_size.
6604         (alloc_expr_hash_table): N_INSNS now unsigned.
6605         (delete_null_pointer_checks): Mark arg F as unused.
6606
6607         * regrename.c: Minor cleanups, including chang some variables
6608         to unsigned int.
6609
6610 2000-04-10  Neil Booth  <NeilB@earthling.net>
6611
6612         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
6613         than GETC ().
6614         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
6615
6616 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6617
6618         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
6619         __classof__, and __headof__ from the list of gnu keywords.
6620         (-ansi): Remove -foperator-names from list of implied options.
6621         Do not call it ANSI C++.
6622         (-foperator-names): Document as -fno-operator-names.
6623
6624 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
6625
6626         * cpphash.c (timestamp): Delete.
6627         (del_HASHNODE): If type is T_MCONST, free value.cpval.
6628         (special_symbol): Remove unnecessary braces.  Remove
6629         T_VERSION.  Treat T_STDC like T_CONST unless
6630         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
6631         when one is encountered, then convert them into T_MCONST
6632         nodes.
6633         * cppinit.c (builtin_array): version_string is T_MCONST.
6634         __STDC__ has a "1" in its cpval.  Don't have a terminator
6635         entry.  Clean up which entries are dumped.
6636         (initialize_builtins): Only __STDC__ gets the special
6637         -traditional treatment.  Count the length of builtin_array.
6638         Render version_string here.
6639         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
6640         * cpplib.h (struct cpp_reader): Remove timebuf.
6641
6642 2000-04-09  Richard Henderson  <rth@cygnus.com>
6643
6644         * genrecog.c (pred): Update comparison_operator for the unordered
6645         operators.
6646
6647         * config/i386/i386.c (no_comparison_operator): Disallow unordered
6648         operators.
6649         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
6650         (uno_comparison_operator): New.
6651         (put_condition_code): Handle UNORDERED/ORDERED.
6652         (unsigned_comparison): Likewise.
6653         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
6654         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
6655         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
6656         update all callers.  Handle all 8 unordered operators.
6657         (ix86_expand_setcc): Lose the unordered argument, update all callers.
6658         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
6659         * config/i386/i386.h (PREDICATE_CODES): Update.
6660         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
6661         (ix86_expand_branch, ix86_expand_setcc): Update.
6662         * config/i386/i386.md (sunordered, sordered): New.
6663         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
6664         (bunordered, bordered): New.
6665         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
6666         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
6667         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
6668
6669 2000-04-09  Philip Blundell  <philb@gnu.org>
6670
6671         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
6672
6673 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
6674
6675         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
6676         fix_truncxfhi2): New patterns.
6677         * i386.c (output_fix_trunc): Handle converting to HImode.
6678
6679 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
6680
6681         * ssa.c (convert_to_ssa): Eliminate dead code when calling
6682         life_analysis.
6683         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
6684         (for_each_successor_phi): Change parameter to basic_block.
6685         (coalesce_regs_in_successor_phi_nodes): Likewise.
6686         (coalesce_regs_in_copies): Likewise.
6687         (compute_coalesced_reg_partition): Use basic_block instead of index.
6688         * rtl.h (convert_to_ssa): Delete.
6689         (convert_from_ssa): Likewise.
6690         (successor_phi_fn): Likewise.
6691         (for_each_successor_phi): Likewise.
6692         (in_ssa_form): Likewise.
6693         * basic-block.h (convert_to_ssa): Moved from rtl.h.
6694         (convert_from_ssa): Likewise.
6695         (successor_phi_fn): Likewise.
6696         (in_ssa_form): Likewise.
6697         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
6698         * flow.c (calculate_global_regs_live): Pass a basic_block to
6699         for_each_successor_phi.
6700
6701 2000-04-08  Richard Henderson  <rth@cygnus.com>
6702
6703         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
6704         was modified in the current insn.
6705
6706 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
6707
6708         * arm/thumb.md: Delete.
6709         * arm/thumb-protos.h: Delete.
6710
6711 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
6712
6713         Merge changes from merged-arm-thumb-backend-branch onto trunk.
6714
6715         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
6716
6717         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
6718         into branch.
6719
6720         * arm.md (nop): Use the standard RTL expression.  Don't code as a
6721         define_expand.
6722         (*arm_nop, *thumb_nop): Delete.
6723
6724         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
6725         constants.  Use casts instead.
6726         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
6727         output_multi_immediate, arm_poke_function_name): Likewise.
6728         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
6729         MASK_RETURN_ADDDR): Likewise.
6730
6731         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
6732
6733         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
6734         into branch.
6735
6736         * arm.md (eh_epilogue): New function.
6737         * arm.h (struct machine_function): Move to here ...
6738         * arm.c: ... from here.
6739         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
6740         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
6741         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
6742
6743         2000-03-30  Nick Clifton  <nickc@cygnus.com>
6744
6745         * config/arm/semi.h (ASM_SPEC): Restore definition.
6746         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
6747
6748         * config/arm/elf.h (ASM_SPEC): Restore definition.
6749         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
6750
6751         * config/arm/arm.h (ASM_SPEC): Remove definition.
6752         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
6753
6754         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
6755
6756         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
6757
6758         2000-03-24  Nick Clifton  <nickc@cygnus.com>
6759
6760         Various formating tidyups, elimination of compile time
6761         warnings and synchronisation with internal sources:
6762
6763         * config/arm/arm-protos.h (assemble_align): Add prototype.
6764         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
6765         (gen_comapre_reg): Rename to arm_gen_compare_reg.
6766         (arm_return_addr_rtx): Rename to arm_return_addr.
6767
6768         * config/arm/arm.c: Include except.h.
6769         Define shorter typenames for strict minipool_node and struct
6770         minipool_fix.
6771         (arm_return_in_memory): For WinCE return all structures <= 32 bits
6772         in memory.
6773         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
6774         (gen_comapre_reg): Rename to arm_gen_compare_reg.
6775
6776         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
6777         already defined.
6778         (ASM_SPEC): Define if not already defined.
6779         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
6780
6781         * config/arm/arm.md: Rename references to gen_rotated_half_load to
6782         arm_gen_rotated_half_load, and references to gen_comapre_reg to
6783         arm_gen_compare_reg.
6784         (indirect_jump):  Only accept register operands.
6785         (load_indirect_jump): Keep this pattern since combine can generate
6786         it.
6787
6788         * config/arm/coff.h: Include aout.h.
6789         (MULTILIB_DEFAULTS): Only define if not already defined.
6790
6791         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
6792         into arm.h (so that COFF ports can support thumb based aliases).
6793         (ASM_SPEC): Move definition into arm.h
6794
6795         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
6796         redundant apcs spec.
6797         (ASM_SPEC): Move definition to arm.h
6798
6799         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
6800
6801         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
6802         for entries in the .bss section
6803
6804         2000-03-23  Nick Clifton  <nickc@cygnus.com>
6805
6806         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
6807         to thumb_far_jump_used_p.
6808
6809         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
6810         single integer parameter.
6811
6812         * config/arm/arm.c (struct machine_function): Add two new
6813         fields, 'far_jump_used' and 'arg_pointer_live'.
6814         (thumb_far_jump_used_p): Once the decision has been made that
6815         far jumps might be used, always return true.
6816         If being called from the initial elimination offset macro then
6817         do not bother to perform the test if the arg pointer is not
6818         being used.
6819         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
6820         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
6821
6822         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
6823
6824         * arm.c (output_return_instruction): Handle more cases where we can
6825         return from a function with an ldr instruction.
6826         (arm_output_epilogue): Likewise.
6827
6828         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
6829         if we need to push a large stack frame and there are no callee-saved
6830         registers.
6831
6832         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
6833         in ARM code if the frame pointer has been eliminated.
6834
6835         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
6836         unspec_volatile arguments to avoid duplicates.
6837         (consttable_1, consttable_2): Fixes for big-endian mode.
6838
6839         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
6840         as appropriate.
6841
6842         Re-write constant pool code.
6843         * arm.c (minipool_node, minipool_fix): New types.
6844         (minifix): Delete type.
6845         (arm_add_minipool_constant): Delete.
6846         (arm_compute_minipool_offsets, arm_find_barrier,
6847         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
6848         (get_jump_table_size): Now returns HOST_WIDE_INT.
6849         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
6850         functions.
6851         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
6852         (assign_minipool_offsets, arm_print_value): Likewise.
6853         (dump_minipool): Rewrite.
6854         (arm_barrier_cost): New function.
6855         (create_fix_barrier): New function.
6856         (push_minipool_barrier): New function.
6857         (push_minipool_fix): Record additional information about the fixup
6858         required.
6859         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
6860         check the mode of what needs fixing.
6861         (arm_reorg): Rewrite.
6862
6863         2000-03-08  Nick Clifton  <nickc@cygnus.com>
6864
6865         * config/arm/arm.md (indirect_jump): Force constant addresses into
6866         a register.
6867
6868         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
6869
6870         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
6871
6872         2000-02-24  Nick Clifton  <nickc@cygnus.com>
6873
6874         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
6875         adjust is word aligned.
6876         (thumb_expand_epilogue): Make sure that stack adjust is word
6877         aligned.
6878
6879         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
6880
6881         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
6882
6883         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
6884         pointer relative addresses.
6885
6886         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
6887
6888         * arm.c (find_barrier): Find the last barrier within the allowed
6889         range.
6890
6891         2000-02-09  Nick Clifton  <nickc@cygnus.com>
6892
6893         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
6894
6895         2000-02-09  Nick Clifton  <nickc@cygnus.com>
6896
6897         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
6898         ARM_FUNCTION_PROFILER.
6899
6900         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
6901         ARM_FUNCTION_PROFILER.
6902
6903         * config/arm/linux-oldld.h: Imported from mainline sources.
6904
6905         2000-02-07  Nick Clifton  <nickc@cygnus.com>
6906
6907         * config/arm/lib1funcs.asm: Merge in thumb functions from
6908         lib1thumb.asm.
6909
6910         * config/arm/lib1thumb.asm: Delete.
6911
6912         2000-02-04  Nick Clifton  <nickc@cygnus.com>
6913
6914         * config/arm/arm.c: Sychronised with current Red hat local
6915         sources.
6916         * config/arm/arm.h: Ditto.
6917         * config/arm/arm-protos.h: Ditto.
6918
6919         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
6920
6921         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
6922
6923         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
6924         byte stores.
6925
6926         2000-02-02  Nick Clifton  <nickc@cygnus.com>
6927
6928         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
6929
6930         * config/arm/arm.md (epilogue): Fix rtl checking abort because
6931         (return) was emited using an emit_insn() call.
6932
6933         2000-01-31  Nick Clifton  <nickc@cygnus.com>
6934
6935         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
6936         thumb stack frame.
6937         (thumb_exit): Move frame pointer back into hard frame pointer
6938         register if backtracing is being used.
6939
6940         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
6941
6942         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
6943         into branch.
6944
6945         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
6946
6947         * config/arm/arm.md (neg_pool_offset): Provide default for new
6948         attribute.
6949         (arm_movsi_insn): Add neg_pool_offset attribute.
6950         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
6951         rtx for the insn that starts the scan and an unsigned long for its
6952         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
6953         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
6954         instructions in *PINSERTED.
6955         (struct minipool_fixup): Add MIN_ADDRESS elt.
6956         (sort_fixups): Compute it.
6957         (arm_reorg): Changes to support inserting pools before the insn to be
6958         fixed up.
6959
6960         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
6961
6962         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
6963         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
6964         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
6965
6966         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
6967
6968         * config/arm/semi.h (TARGET_VERSION): Do not define if already
6969         defined.
6970         (TARGET_DEFAULT): Do not define if already defined.
6971
6972         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
6973
6974         * config/arm/arm.md (anddi3): Allow disjoint source operands.
6975         (iordi3): Allow disjoint source operands.
6976         (xordi3): Allow disjoint source operands.
6977         (negdi2): Permit construction for ARM and Thumb.
6978         (arm_negdi2): Renamed version of old negdi2 pattern.
6979         (thumb_negdi2): New pattern: Only permit non-overlapping
6980         source and destination.
6981
6982         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
6983
6984         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
6985         scratch low register so that it will not be deleted.
6986
6987         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
6988
6989         * config/arm/pe.h (ARM_PE): Define.
6990
6991         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
6992         interfacearm attribute if this is a PE toolchain.
6993         (output_return_instruction): Do not emit anything if the function
6994         has the naked attribute set.
6995         (is_called_in_ARM_mode): If the function has the interfacearm
6996         attribute then return true.
6997         (thumb_expand_prologue): Do not generate a prologue for naked
6998         functions.
6999         (thumb_expand_epilogue): Do not generate an epilogie for a naked
7000         function.
7001         (output_thumb_prologue): Do not bother if the function is naked.
7002         Strip PE encoding from function name before emitting.
7003
7004         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
7005
7006         * arm.md (pic_load_addr): Fix constraints.
7007
7008         * arm.md (casesi_insn): Fix mis-applied patch.
7009
7010         * arm.md ("core" function unit): Add rules for single- and
7011         multi-cycle insns.
7012         (All TARGET_THUMB patterns): Add "type" attribute information
7013         where needed.
7014         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
7015         the following insn is a CALL.
7016
7017         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
7018         pointer.
7019         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
7020         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
7021         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
7022
7023         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
7024
7025         * config/arm/linux-gas.h: oops - this file was missed out when the
7026         branch was created...
7027
7028         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
7029
7030         * thumb.c: Deleted.  Move contents to ...
7031         * arm.c: ... here.
7032         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
7033         rule for thumb.o
7034         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
7035         * configure: Regen.
7036
7037         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
7038         declare a prototype for asm_output_align();
7039
7040         * arm.c (thumb_condition_code): Delete.
7041         (arm_print_operand): Always use arm_condition_code array.
7042
7043         * arm.c (thumb_return_addr_rtx): Delete.
7044         (arm_save_machine_status, arm_restore_machine_status): Delete.
7045         (arm_init_machine_status, arm_mark_machine_status): New functions.
7046         (arm_init_expanders): Update accordingly.
7047         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
7048         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
7049         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
7050
7051         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
7052
7053         * configure.in : Fix arm-*-aout target to use new t-arm-aout
7054         script.
7055         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
7056         targets.
7057
7058         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
7059
7060         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
7061         stack backtrace structure.
7062
7063         * config/arm/arm-protos.h: Add prototypes for functions defined in
7064         arm/pe.h.
7065
7066         * config/arm/arm.c (arm_override_options): Fix selection of
7067         attributes of default processor.
7068
7069         * config/arm/coff.h: Delete needless #include.
7070
7071         * config/arm/pe.c: Delete unused code.
7072
7073         * config/arm/pe.h (CPP_DEFINES): Delete
7074         (SUBTARGET_CPP_SPEC): Define.
7075         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
7076
7077         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
7078
7079         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
7080
7081         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
7082         updated.
7083         (CAN_DEBUG_WITHOUT_FP): Define.
7084         (FIXED_REGISTERS): Make r11 call-saved.
7085         (CALL_USED_REGISTERS): Likewise.
7086         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
7087         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
7088         frame-pointer is required.
7089         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
7090         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
7091         if the target normally needs a stack frame in non-leaf functions.
7092         (use_return_insn): Correct logic for determining when a return
7093         instruction can be used.
7094         (output_return_instruction): Handle the frame-pointer register as
7095         a normal register when not TARGET_APCS_FRAME.
7096         (arm_output_prologue): Likewise.
7097         (arm_output_epilogue): Likewise.
7098         (output_func_epilogue): Likewise.
7099         (arm_expand_prologue): Likewise.
7100         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
7101
7102         * arm.c (use_return_insn): No need to check floating point regs if
7103         TARGET_SOFT_FLOAT.
7104         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
7105         the code of value stored in the minipool array.
7106         (arm_add_minipool_constant): Likewise.
7107
7108 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7109
7110         * basic-block.h (conflict_graph_enum_fn): K&R fix.
7111
7112 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7113
7114         * tree.c (tree_expr_nonnegative_p): New function.
7115
7116         * tree.h (tree_expr_nonnegative_p): Declare.
7117
7118         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
7119         elide some sign_compare warnings.
7120         (build_conditional_expr): Likewise.
7121
7122 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
7123
7124         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
7125
7126         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
7127         * i386.c (print_operand): Use the proper suffix for a 387 HImode
7128         operand.  Abort if a 387 operand has an unsupported size.
7129
7130 2000-04-08  Neil Booth  <NeilB@earthling.net>
7131
7132         * cppexp.c (parse_charconst): Null does not end character
7133         constants.
7134         * cppinit.c (ISTABLE): Null character handled as whitespace.
7135         * cpplex.c (null_warning):  new function.
7136         (skip_string): Emit warning if nulls encountered.
7137         (_cpp_skip_hspace): Emit warning if nulls encountered.
7138         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
7139         them.
7140         * cpp.texi: Update.
7141
7142 2000-04-07  Richard Henderson  <rth@cygnus.com>
7143
7144         * flow.c (loop_depth): Remove.
7145         (reg_next_use, cc0_live, mem_set_list): Replace with ...
7146         (struct propagate_block_info): New.
7147         (life_analysis): Don't allocate reg_next_use.
7148         (propagate_block_delete_insn): Break out of propagate_block.
7149         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
7150         (propagate_block_delete_libcall): Likewise.
7151         (propagate_block): Create a propagate_block_info struct to pass
7152         to subroutines.  Allocate one not two temporary regsets.  Don't
7153         clobber memory for const calls.  Look for clobbers in
7154         CALL_INSN_FUNCTION_USAGE.
7155         (mark_set_regs): Recognize COND_EXEC.
7156         (mark_set_reg): Break out of mark_set_1.
7157         (mark_used_reg): Break out of mark_used_regs.
7158         (mark_used_regs): Recognize COND_EXEC.
7159         (insn_dead_p): Use propagate_block_info struct.
7160         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
7161         (find_auto_inc, try_pre_increment_1): Likewise.
7162         (print_rtl_with_bb): Dump regs live at end too.
7163         (count_reg_sets_1): Pass in loop_depth.
7164         (count_reg_sets, count_reg_references): Likewise.
7165         (recompute_reg_usage): Provide it.
7166
7167 2000-04-07  Richard Henderson  <rth@cygnus.com>
7168
7169         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
7170         not the raw files.
7171
7172 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
7173
7174         * cpplib.c (do_elif): Skip the rest of the line if we're
7175         not going to bother evaluating it.
7176         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
7177         to avoid pointless calls to the lexer.
7178
7179 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
7180
7181         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
7182
7183 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
7184
7185         * calls.c (expand_call): emit_queue if we're trying a sibcall.
7186
7187 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
7188
7189         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
7190
7191 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
7192
7193         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
7194         crtend so they can be multilibbed.
7195         (STAGESTUFF): Remove s-crt and s-crtS.
7196
7197 2000-04-07  Richard Henderson  <rth@cygnus.com>
7198
7199         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
7200         if we discover we need a pseudo and no_new_pseudos is true.
7201         * config/alpha/alpha.md (ne:DI insn): New.
7202         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
7203
7204 2000-04-07  Richard Henderson  <rth@cygnus.com>
7205
7206         * rtl.def (COND_EXEC): New.
7207         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
7208         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
7209
7210         * genconfig.c (have_cond_arith_flag): Remove.
7211         (have_cond_exec_flag): New.
7212         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
7213         (main): Print HAVE_conditional_execution.
7214
7215         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
7216         (sched_analyze_insn, print_pattern): Likewise.
7217         * reload.c (find_equiv_reg): Likewise.
7218         * rtlanal.c (reg_referenced_p): Likewise.
7219         (note_stores, dead_or_set_regno_p): Likewise.
7220         (reg_overlap_mentioned_p): Rewrite to use a switch.
7221
7222         * ggc.h (struct rtx_def): Forward declare.
7223
7224         * print-rtl.c (debug_rtx_range): New.
7225         * rtl.h (debug_rtx_range): Declare.
7226
7227         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
7228
7229         * gcse.c (gcse_main): Don't rebuild the CFG here.
7230         (delete_null_pointer_checks): Likewise.
7231         * ssa.c (convert_to_ssa): Likewise.
7232         * toplev.c (rest_of_compilation): Do it here instead.  Combine
7233         sequential calls to TIMEVAR.  Consistently use `insns' instead of
7234         `get_insns()'.  Always split insns after reload when optimizing.
7235
7236         * basic-block.h (merge_blocks_nomove): Declare.
7237         (tidy_fallthru_edge): Declare.
7238         * flow.c (merge_blocks_nomove): Document as merging into previous
7239         blocks.  Remove cruft from between blocks; remove all edges out of A.
7240         (tidy_fallthru_edge): Export.
7241
7242 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
7243
7244         * ssa.c (compute_conservative_reg_partition): Declare with
7245         void arguments.
7246         * toplev.c (clean_dump_file): Remove previously-deleted function
7247         inadvertantly merged back in.
7248         * conflict.c (conflict_graph_add): Use a single call to
7249         htab_find_slot to look up and insert.
7250
7251 2000-04-06  Richard Henderson  <rth@cygnus.com>
7252
7253         * genrecog.c (*): Rename _last_insn to last_insn.
7254         (make_insn_sequence): Set the position of the peephole2 C test
7255         to be at the last insn.
7256
7257 2000-04-06  Richard Henderson  <rth@cygnus.com>
7258
7259         * flow.c (compute_flow_dominators): Free worklist.
7260
7261 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
7262
7263         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
7264
7265 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
7266
7267         * rtl.h (INSN_P): New macro.
7268         (successor_phi_fn): New typedef.
7269         (for_each_successor_phi): New prototype.
7270         (in_ssa_form): New variable.
7271         (PHI_NODE_P): Likewise.
7272         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
7273         phi nodes in successors.
7274         (mark_used_regs): Add PHI case.
7275         (set_phi_alternative_reg): New function.
7276         (life_analysis): Assert that dead code elimination is not selected
7277         when in SSA form.
7278         * toplev.c (to_ssa_time): New variable.
7279         (from_ssa_time): Likewise.
7280         (compile_file): Zero to_ssa_time and from_ssa_time.
7281         Print time to convert to and from SSA.
7282         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
7283         (print_time): Compute percent fraction as integer.
7284         * ssa.c (PHI_NODE_P): Moved to rtl.h.
7285         (convert_to_ssa): Check if we're already in SSA.
7286         Don't eliminate dead code in life_analysis.
7287         Rerun flow and life analysis at bottom.
7288         (eliminate_phi): Use canonical regnos when adding nodes.
7289         (mark_reg_in_phi): New function.
7290         (mark_phi_and_copy_regs): Likewise.
7291         (convert_from_ssa): Rerun life analysis at top.
7292         Use coalesced partition.
7293         Check for removing a phi node at the end of the block.
7294         (compute_coalesced_reg_partition): New function.
7295         (coalesce_regs_in_copies): Likewise.
7296         (coalesce_reg_in_phi): Likewise.
7297         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
7298         (for_each_successor_phi): Likewise.
7299         (rename_context): New struct.
7300         (rename_block): Use a rename_context with rename_insn_1.  When
7301         renaming sets of a subreg, emit a copy of the entire reg first.
7302         (rename_insn_1): Treat data as a rename_context *.  Save current
7303         insn in set_data.
7304         (rename_set_data): Add field set_insn.
7305         * Makefile.in (HASHTAB_H): Move up in file.
7306         (OBSTACK_H): New macro.
7307         (collect2.o): Use OBSTACK_H in dependencies.
7308         (sdbout.o): Likewise.
7309         (emit-rtl.o): Likewise.
7310         (simplify-rtx.o): Likewise.
7311         (fix-header.o): Likewise.
7312         (OBJS): Add conflict.o.
7313         (conflict.o): New rule.
7314         * basic-block.h: Include partition.h.
7315         (conflict_graph): New typedef.
7316         (conflict_graph_enum_fn): Likewise.
7317         (conflict_graph_new): New prototype.
7318         (conflict_graph_delete): Likewise.
7319         (conflict_graph_add): Likewise.
7320         (conflict_graph_conflict_p): Likewise.
7321         (conflict_graph_enum): Likewise.
7322         (conflict_graph_merge_regs): Likewise.
7323         (conflict_graph_print): Likewise.
7324         (conflict_graph_compute): Likewise.
7325         * conflict.c: New file.
7326
7327 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
7328
7329         * tlink.c (read_repo_files): Don't look for .rpo info for
7330         linker flags.
7331
7332 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7333
7334         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
7335
7336 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7337
7338         * config/sh/lib1funcs.asm (___udivsi3_i4):
7339         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
7340         only depends on FMOVD_WORKS.
7341
7342 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7343
7344         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
7345         make double constant 8-byte aligned.
7346
7347 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
7348
7349         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
7350         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
7351         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
7352         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
7353         Accept storing GENERAL_REGS into offsetable memory.
7354         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
7355         building a TFmode constant other than 0.0L into GENERAL_REGS.
7356
7357 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
7358
7359         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
7360
7361 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
7362
7363         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
7364         (macro_cleanup): No need to cast pbuf->macro.
7365         (collect_expansion): Use _cpp_get_define_token.  Goto done if
7366         it returns VSPACE.  Remove check for trailing space after
7367         CPP_COMMENT.
7368         (_cpp_create_definition): Don't diddle flags here.  Return
7369         directly on error.
7370         (unsafe_chars): Handle c1 being EOF.
7371         (push_macro_expansion): Use unsafe_chars for both accidental-paste
7372         checks.  Don't push the buffer till after we're done with
7373         them.
7374         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
7375         (PEEKN, FORWARD, GETC, PEEKC): Use them.
7376         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
7377         appropriately.
7378         (_cpp_parse_assertion): Don't NUL terminate.
7379         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
7380         hspace before calling _cpp_parse_assertion.  Remove all sets
7381         of only_seen_white. Treat '\f' as hspace.  Don't do anything
7382         special with '\n' here.
7383         (maybe_macroexpand): Handle T_EMPTY hash entries without
7384         pushing a buffer at all.
7385         (cpp_get_token): Handle clearing only_seen_white here.  Handle
7386         incrementing the line number here.  Clear
7387         potential_control_macro as well as only_seen_white, if
7388         appropriate.
7389         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
7390         (_cpp_get_define_token): New function, basically like
7391         _cpp_get_directive_token was but doesn't eat horizontal space.
7392         Don't do anything with only_seen_white here.
7393         (_cpp_get_directive_token): Just call _cpp_get_define_token
7394         repeatedly till it returns non-hspace.
7395
7396         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
7397         (conditional_skip, skip_if_group): Return int.
7398         (DIRECTIVE_TABLE): Change origin of all conditional directives
7399         to "COND".
7400         (TRAD_DIRECT_P): New macro.
7401         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
7402         an error for a bogus directive, unless -lang-asm.  Use
7403         TRAD_DIRECT_P. Loop calling handler functions till one returns
7404         zero.
7405         (get_macro_name): Don't diddle flags here.
7406         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
7407         Create T_EMPTY nodes for #define macro /* nothing */.
7408         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
7409         Use hp->name when calling pass_thru_directive.
7410         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
7411         Return the result of conditional_skip and/or skip_if_group.
7412         Don't call _cpp_output_line_command.
7413         (consider_directive_while_skipping): Use _cpp_get_directive_token.
7414         Issue -Wtraditional warnings as appropriate.  Don't complain
7415         about unrecognized directives.  If we are to stop skipping,
7416         return the number of the directive that ended the skip.
7417         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
7418         expansion and line commands while skipping.  Return the result
7419         of consider_directive_while_skipping, if nonzero.
7420         (do_endif): Just set potential_control_macro here.
7421         (validate_else): Use _cpp_get_directive_token.
7422         (do_assert, do_unassert): Don't save pointers into the
7423         token_buffer across calls to the lexer.  Use
7424         _cpp_get_directive_token.
7425
7426         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
7427         pointer, not an offset.  Replace 'data', which was a generic
7428         pointer, with 'macro', which points to a struct hashnode.
7429         (cpp_reader): Add 'potential_control_macro' pointer.
7430         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
7431         (CPP_BUF_GET, CPP_FORWARD): Delete.
7432         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
7433         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
7434         ACTIVE_MARK_P): Update.
7435         (_cpp_get_define_token): New internal function.
7436         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
7437
7438 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
7439
7440         * configure.in: And here.
7441         * configure: Regenerate.
7442         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
7443         --enable-libstdcxx-v3 is passed at configure time.
7444         * config.h.in: Regenerate.
7445
7446 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
7447
7448         * final.c (final): Use xcalloc to allocate line_note_exists.
7449         * function.c (free_after_compilation): Free the temp_slots.
7450         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
7451         (combine_temp_slot): Free temp_slots when they get combined.
7452         (purge_addressof): Fix typo in comment.
7453         * stmt.c (mark_goto_fixup): Mark the fixup itself.
7454         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
7455
7456         * ggc.h: Include varray.h.
7457         (ggc_pending_trees): Declare.
7458         (ggc_mark_tree_children): Remove declaration.
7459         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
7460         * ggc-common.c (ggc_pending_trees): New variable.
7461         (ggc_mark_roots): Call ggc_mark_trees.
7462         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
7463         the ggc_pending_trees.
7464         * Makefile.in (GGC_H): New variable.  Use it throughout in place
7465         of ggc.h.
7466
7467 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7468
7469         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
7470         GET_MODE_SIZE.
7471
7472 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7473
7474         * sh.c (sh_insn_length_adjustment): New function.
7475         * sh-protos.h (sh_insn_length_adjustment): Declare.
7476         * sh.h (ADJUST_INSN_LENGTH): Use it.
7477
7478 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
7479
7480         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
7481         from the insn where REG_RETVAL is added.
7482         (emit_no_conflict_block): Ditto.
7483
7484         * md.texi (Standard Names): Clarify when movX is needed.
7485
7486         * combine.c (simplify_comparison) [MINUS]: Do not replace
7487         all (op (minus A B) 0) with (op A B).
7488
7489 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
7490                           J"orn Rennecke <amylaar@cygnus.co.uk>
7491
7492         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
7493         (block_lump_real): Likewise.
7494
7495 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
7496
7497         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
7498         remaining non-zero debugging masks.
7499
7500 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
7501
7502         * basic-block.h (verify_flow_info): Declare.
7503         (flow_loop_outside_edge_p): Declare.
7504         * flow.c (verify_flow_info): Remove declaration.
7505         (clear_log_links, flow_loop_outside_edge_p): Likewise.
7506
7507 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
7508
7509         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
7510         not C++ comments.
7511
7512 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
7513
7514         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
7515         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
7516         seqdi_zero_trunc+1): Allow splits only if registers are
7517         different.
7518
7519 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
7520
7521         * acconfig.h: Add HAVE_GAS_HIDDEN.
7522         * config.in: Regenerated.
7523         * configure.in: Add test for .hidden pseudo-op in gas.
7524         * configure: Regenerated.
7525         * crtstuff.c: Include auto-host.h.
7526         Emit additional .hidden pseudo-op for __dso_handle if the
7527         assembler knows about it.
7528
7529 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
7530
7531         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
7532         before freeing argnames.
7533         * cpplib.c (do_ifndef): Cast return value of xstrdup.
7534
7535 2000-04-05  Michael Meissner  <meissner@redhat.com>
7536
7537         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
7538         Walton <jonboy@gordian.com> to make memory references with update
7539         work wtih -mregnames.
7540
7541 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7542
7543         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
7544         (regrename_optimize): Rename variables `def_uses' and
7545         `ext_basic_blocks' to avoid conflicts with similarly named
7546         typedefs in traditional C.
7547
7548         * calls.c (initialize_argument_information): Fix typo in previous
7549         change.
7550
7551 2000-04-04  Richard Henderson  <rth@cygnus.com>
7552
7553         * regrename.c (consider_available): Test fixed_regs not
7554         PIC_OFFSET_TABLE_REGNUM.
7555
7556 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
7557
7558         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
7559         crtend.
7560         (CRTSTUFF_T_CFLAGS_S): Delete definition.
7561         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
7562         (ENDFILE_LINUX_SPEC): Always use crtend.
7563         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
7564         (powerpc-*-linux-gnu): Likewise.
7565         * configure: Regenerate.
7566
7567         * config/rs6000/eabi.h: Don't include sysv4.h.
7568         (MULTILIB_DEFAULTS): Don't define.
7569         * config/rs6000/eabiaix.h: Don't include eabi.h.
7570         * config/rs6000/eabile.h: Delete.
7571         * config/rs6000/eabilesim.h: Delete.
7572         * config/rs6000/eabisim.h: Don't include eabi.h.
7573         * config/rs6000/linux.h: Don't include sysv4.h.
7574         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
7575         (MULTILIB_DEFAULTS): Don't redefine.
7576         * config/rs6000/rtems.h: Don't include eabi.h.
7577         * config/rs6000/sol2.h: Don't include sysv4le.h.
7578         * config/rs6000/sysv4le.h: Don't include sysv4.h.
7579         * config/rs6000/t-ppc: Delete.
7580         * config/rs6000/t-ppcgas: Correct comment.
7581         * config/rs6000/t-ppcos: Correct comment.  Don't build
7582         multilibs for -fPIC, rather use -fPIC -mstrict-align
7583         as default.
7584         * config/rs6000/t-ppc: Delete.
7585         * config/rs6000/vxppc.h: Don't include sysv4.h.
7586         * config/rs6000/vxppcle.h: Delete.
7587         * configure.in: Use multiple header files for p2pc ELF targets
7588         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
7589         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
7590         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
7591         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
7592         always available for these platforms.
7593
7594 2000-04-04  Richard Henderson  <rth@cygnus.com>
7595
7596         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
7597
7598 2000-04-04  Stan Cox  <scox@cygnus.com>
7599
7600         * Makefile.in: Add rules for regrename.o
7601         * regrename.c: New file.
7602         * rtl.h (regrename_optimize): Add prototype.
7603         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
7604         (compile_file, decode_d_option): Add support for -frename-registers.
7605         (rest_of_compilation): Call regrename_optimize.
7606         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
7607         New macros.
7608
7609 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7610
7611         * Makefile (gccbug): New target.
7612         (doc): Depend on it.
7613         * gcc.texi (Bugs): Link subnodes.
7614         (gccbug): New node.
7615         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
7616         Document severities, priorities, and classes in bug form.
7617
7618 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
7619
7620         * cpplex.c (trigraph_map, speccase): Combine into single
7621         table, chartab.
7622         (NORMAL, NONTRI): New macros.
7623         (_cpp_read_and_prescan): Change to use unified table.  Use
7624         is_hspace to test for whitespace.
7625
7626         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
7627         definition that doesn't provoke the "empty body in an
7628         if-statement" warning.
7629
7630 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
7631
7632         * builtins.c (expand_builtin_strlen): Force the source to
7633         be a memory address.
7634
7635 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7636
7637         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
7638
7639 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7640
7641         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
7642          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
7643         (ECF_IS_CONST): Rename to ECF_CONST.
7644         (special_function_p): Make static, change interface.
7645         (flags_from_decl_or_type, try_to_integrate): Break out from ...
7646         (expand_call) ... here; convert number of variables to flags.
7647         (emit_library_call_vlue_1): Likewise.
7648         (setjmp_call_p): New function.
7649         (initialize_argument_information): Accepts flags as argument;
7650         return flags.
7651         (precompute_arguments): Likewise.
7652         * tree.h (special_function_p): Remove.
7653         (setjmp_call_p): Add prototype.
7654
7655 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
7656
7657         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
7658         so that addresses are offsetable by up to 16 bytes.
7659         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
7660         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
7661         offsetable.
7662
7663         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
7664         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
7665         (movsf): Don't force any constant to memory if target is integer
7666         hard register.
7667         Move fp_zero_operand check below the const0_rtx check.
7668         (movtf): Likewise. Also allow fp_zero_operand for stores into
7669         memory.
7670         (movdf): Likewise. Also allow fp_zero_operand for stores into
7671         memory and into integer hard registers.
7672         (clear_df, clear_dfp, movdf_const_intreg_sp32,
7673         movdf_const_intreg_sp64): Remove.
7674         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
7675         conditions.
7676         (movdf_no_e_insn_v9_sp32): New pattern.
7677         (movdf_insn_v9only): Remove.
7678         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
7679         (movdf_insn_sp64): Remove.
7680         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
7681         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
7682         (following splits): Rewrite conditions. Add two new splits
7683         for storing 0.0 into memory and registers.
7684         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
7685         (movtf_insn_sp32): Redo constraints and conditions.
7686         (movtf_insn_vis_sp32): New pattern.
7687         (movtf_no_e_insn_sp32): Redo constraints and conditions.
7688         (movtf_insn_hq_sp64): Likewise.
7689         (movtf_insn_hq_vis_sp64): New pattern.
7690         (movtf_insn_sp64): Redo constraints and conditions.
7691         (movtf_insn_vis_sp64): New pattern.
7692         (movtf_no_e_insn_sp64): Redo constraints and conditions.
7693         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
7694         or memory.
7695         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
7696         -mvis or -m64 to take down the number of various reload patterns.
7697
7698 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
7699
7700         * pa/pa-64.h: New file.
7701         * pa/pa64-regs.h: New file.
7702         * pa/pa64-start.h: New file.
7703         * pa/t-pa64: New file.
7704         * pa/xm-pa64hpux.h: New file.
7705
7706 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7707
7708         * sparc.c (output_restore_regs): Prototype.
7709         (sparc_emit_float_lib_cmp): Constification.
7710
7711         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
7712
7713         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
7714         Prototype.
7715
7716         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
7717         (get_value_hash, hash_rtx): Likewise.
7718
7719         * ssa.c (compute_conservative_reg_partition): Prototype.
7720
7721         * tree.c (mark_hash_entry): Prototype.
7722
7723 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
7724
7725         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
7726         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
7727         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
7728
7729         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
7730         * objc/lang-specs.h: Likewise.
7731
7732 2000-04-03  Neil Booth  <NeilB@earthling.net>
7733
7734         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
7735         and SYNTAX_ERROR2. Replace `' in messages with ''.
7736         (op_to_str): Make re-entrant.
7737         (_cpp_parse_expr): Implement new error macros. Use | rather
7738         than || to logically or 2 boolean integers.  Simply expression
7739         checking we have a left operand iff needed.
7740
7741 2000-04-03  Nick Clifton  <nickc@cygnus.com>
7742
7743         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
7744
7745 2000-04-03  Philip Blundell  <philb@gnu.org>
7746
7747         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
7748
7749 2000-04-03  Felix Lee  <flee@cygnus.com>
7750
7751         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
7752         (run_shell): Use it.
7753
7754 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
7755
7756         * Makefile.in (stmp-int-hdrs): Make include subdir here...
7757         (stmp-fixproto): ...rather than here.
7758
7759 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
7760
7761         * pa.c (print_operand): Compute 'base' only inside the code paths
7762         that use it.
7763
7764 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
7765
7766         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
7767         CEIL_DIV_EXPR.
7768
7769 2000-04-03  Philipp Thomas  <pthomas@suse.de>
7770
7771         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
7772
7773 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
7774
7775         * Makefile.in (alias.o): Depend on $(TREE_H).
7776
7777 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
7778
7779         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
7780         processing C++.
7781         * cpplib.c (_cpp_handle_directive): Improve warnings for
7782         traditional C and indented directives.
7783
7784         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
7785         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
7786         fixinc/inclhack.def: Indent the # of #include_next one space.
7787         * cp/rtti.c: Un-indent #if and #endif.
7788
7789         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
7790         syntax error, but an error has already been printed.
7791         * cpplex.c (_cpp_parse_assertion): Give a more specific error
7792         message when called with nothing remaining on the line.
7793         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
7794         OTHER token, not an ASSERTION.
7795         * cpplib.c (do_assert): When we create a 'base' node, clear
7796         its aschain pointer.
7797
7798 2000-04-02  Neil Booth <NeilB@earthling.net>
7799
7800         * cppexp.c:  New typedef op_t.  struct operation and struct
7801         token updated to use it.
7802         (op_to_str): New function.
7803         (_cpp_parse_expr): Error messages modified to use op_to_str.
7804
7805 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7806
7807         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
7808         before checking MUST_PASS_IN_STACK.
7809
7810 2000-04-02  Neil Booth <NeilB@earthling.net>
7811
7812         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
7813         flags and initial priority into a single constant.  New
7814         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
7815         (_parse_cpp_expr): Implement new constants.  Take left operand
7816         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
7817         parse indicated by reducing FINISHED token.  Remove new lines
7818         from cpp_error messages.
7819
7820 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
7821
7822         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
7823         permanent obstack.
7824
7825 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
7826
7827         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
7828         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
7829         the strings and function names on the fly.  Take the #sccs
7830         entry out of the table if SCCS_DIRECTIVE is not defined.
7831         (_cpp_handle_directive): Decide if the # was at the beginning
7832         of the line here.  Issue -pedantic warnings for extended
7833         directives here.  Warn about K+R directives with the #
7834         indented, and C89/extended directives with the # not indented,
7835         here.
7836         (do_import, do_include_next, do_warning, do_ident, do_sccs,
7837         do_assert, do_unassert): Don't issue pedantic warning here.
7838
7839         * cpphash.h: Add CPP_WTRADITIONAL macro.
7840         * cpplib.h (struct cpp_options): Rename warn_stringify to
7841         warn_traditional; update comments.
7842         * cppinit.c (handle_option): Set warn_traditional not
7843         warn_stringify.
7844         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
7845         CPP_WTRADITIONAL (pfile).
7846         * cpplex.c (_cpp_lex_token): Don't decide if directives should
7847         be ignored in -traditional mode here.
7848
7849         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
7850         to initialize speccase[] and trigraph_map[].  Delete all
7851         references to pfile->input_speccase.  Always treat '?' as a
7852         special character.  Remove table-initialization code from
7853         _cpp_init_input_buffer.
7854
7855         * cpplib.h (struct cpp_reader): Remove input_speccase field.
7856         * cppinit.c (cpp_cleanup): Don't free input_speccase.
7857
7858 2000-04-01  Richard Henderson  <rth@cygnus.com>
7859
7860         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
7861         (mostlyclean): Likewise.
7862
7863         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
7864         (struct dump_file_info, enum dump_file_index, dump_file): New.
7865         (open_dump_file): Take a dump_file_index not a suffix, and a decl
7866         not a string.  Clean out file if we havn't yet done so.  Do nothing
7867         if the dump isn't enabled.
7868         (close_dump_file): Do nothing if the dump isn't open.  Dump
7869         graph data if requested.
7870         (dump_rtl, clean_dump_file): Remove.
7871         (compile_file): Don't clean the dump files.  Only finalize .bp dump
7872         if flag_test_coverage or flag_branch_probabilities.  Only finalize
7873         .combine dump if optimizing.  Iterate over dump_file to finalize the
7874         graph dumps.
7875         (rest_of_compilation): Update for open_dump_file/close_dump_file.
7876         Convert all uses of dump_rtl.
7877         (decode_d_option): Iterate over dump_file to implement 'a' and to
7878         locate pass-specific dumps.
7879
7880 2000-04-01  Neil Booth <NeilB@earthling.net>
7881
7882         * cppexp.c: Redefine priority constants.
7883         (_cpp_parse_expr): Replace left and right priority scheme with
7884         single priority logic.  Move LOGICAL to same place as COMPARE.
7885         Remove bogus check for multiple unary +/- operators.
7886
7887 2000-04-01  Neil Booth <NeilB@earthling.net>
7888
7889         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
7890         within the switch statement.  Binary operations break out of
7891         the switch naturally.  '(' tokens handled by forcing
7892         immediate shift.  ')' handled by forcing immediate reduce to
7893         the previous '('.  New error messages.
7894
7895 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
7896
7897         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
7898         part', it's already in use.  Use %K instead.  Add a return at the
7899         end of what is now %K.
7900         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
7901
7902 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7903
7904         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
7905         allocate_dynamic_stack_space.
7906         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
7907         update stack_pointer_delta; do not update arg_size_so_far.
7908         (compute_argument_block_size): Use stack_delta instead of
7909         stack_pointer_pending and arg_size_so_far.
7910         (expand_call): Add sanity checking for stack_pointer_delta;
7911         save and restore stack_pointer_delta for SIB, use
7912         stack_pointer_delta for alignment; do not update arg_space_so_far.
7913         (emit_library_call_value): Use stack_pointer_delta for alignment.
7914         (store_one_arg): Do not update arg_space_so_far.
7915         * explow.c (adjust_stack, anti_adjust_stack): Update
7916         stack_pointer_delta.
7917         (allocate_dynamic_stack_space): Add sanity checking for
7918         stack_pointer_delta.
7919         * expr.c (init_expr, clear_pending_stack_adjust): Clear
7920         stack_pointer_delta.
7921         (emit_push_insn): Update stack_pointer_delta.
7922         * function.h (struct expr_status): Add x_stack_pointer_delta;
7923         remove x_arg_space_so_far.
7924         (arg_space_so_far): Remove.
7925         (stack_pointer_delta): New macro.
7926
7927 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
7928
7929         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
7930         Reorder struct cpp_options and struct cpp_reader for better
7931         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
7932         takes two args.  Change all 'char' flags to 'unsigned char'.
7933         Move show_column flag into struct cpp_options.  Don't
7934         prototype cpp_options_init.
7935         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
7936         cppinit.c, cpplex.c, cpplib.c:
7937         Replace CPP_OPTIONS (pfile)->whatever with
7938         CPP_OPTION (pfile, whatever), and likewise for
7939         opts = CPP_OPTIONS (pfile); ... opts->whatever;
7940
7941         * cppinit.c (merge_include_chains): Take a cpp_reader *.
7942         Extract CPP_OPTION (pfile, pending) and work with that
7943         directly.
7944         (cpp_options_init): Delete.
7945         (cpp_reader_init): Turn on on-by-default options here.
7946         Allocate the pending structure here.
7947         (cl_options, enum opt_code): Define these from the same table,
7948         kept in a large macro.  Add -fshow-column and -fno-show-column
7949         options.
7950
7951         * cpperror.c (v_message): If show_column is off, don't print
7952         the column number.
7953
7954         * cppmain.c: Update for new interface.
7955         * fix-header.c: Likewise.
7956
7957 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
7958
7959         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
7960         definition.
7961         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
7962         are passed to any invocation of AR_FOR_TARGET.
7963         (AR_CREATE_FOR_TARGET): New macro.
7964         (AR_EXTRACT_FOR_TARGET): New macro.
7965         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
7966         AR_EXTRACT_FOR_TARGET.
7967         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
7968         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
7969         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
7970         AR_EXTRACT_FOR_TARGET to sub-makes.
7971
7972 2000-03-31  Neil Booth <NeilB@earthling.net>
7973
7974         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
7975         PAREN_INNER_PRIO.
7976         (_cpp_parse_expr): Check for multiple unary +/- operators.
7977         Correct priorities of ':' and '?'.  Treat ')' as having a
7978         value.  Ensure conditional expression is not void.
7979
7980 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
7981
7982         * alias.c (canon_rtx): Make it global.
7983         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
7984         equality.
7985         * cse.c (struct table_elt): Add canon_exp.
7986         (insert): Clear it.
7987         (invalidate): Canonicalize expressions only once.
7988         * rtl.h (canon_rtx): Declare.
7989
7990 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
7991
7992         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
7993         * alias.c (reg_known_value): Add comments.
7994         (init_alias_analysis): Likewise.
7995         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
7996         address.
7997         (cse_basic_block): Fix typo in comment.
7998         * emit-rtl.c: Include hashtab.h.
7999         (const_int_htab): New variable.
8000         (const_int_htab_hash): New function.
8001         (const_int_htab_eq): Likewise.
8002         (rtx_htab_mark_1): Likewise.
8003         (rtx_htab_mark): Likewise.
8004         (gen_rtx_CONST_INT): Cache all CONST_INTs.
8005         (unshare_all_rtx): Fix formatting.
8006         (init_emit_once): Initialize const_int_htab.
8007         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
8008         address.
8009         * rtl.texi: Document the fact that all CONST_INTs with the same
8010         value are shared.
8011
8012 2000-03-30  Richard Henderson  <rth@cygnus.com>
8013
8014         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
8015
8016 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
8017
8018         * configure.in: Comment out --enable-c-cpplib stanza.
8019         * configure: Regenerate.
8020
8021 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8022
8023         * expr.c (store_constructor): Properly compute displacement and
8024         alignment when offset is variable.
8025
8026         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
8027         cases of alignment in bytes.
8028
8029 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
8030
8031         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
8032         since it is used to generate c-parse.y.
8033         * objc-parse.c, objc-parse.y: Regenerated.
8034
8035         * function.c (expand_function_end): Pass alignment argument to
8036         emit_block_move in bits, not bytes.
8037
8038 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8039
8040         * expr.c (move_by_pieces_ninsns): Fix one more missing align
8041         correction.
8042
8043         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
8044
8045         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
8046         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
8047         * function.c (assign_parms): Likewise.
8048         * integrate.c (expand_inline_function): Likewise.
8049         * stmt.c (expand_decl): Likewise.
8050         (copy_rtx_and_substitute): Likewise.
8051         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
8052         (clear_by_pieces): Fix error in last change.
8053         * emit-rtl.c (init_emit): Set known registers alignment in bits.
8054         * function.h (regno_pointer_align): Now unsigned.
8055         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
8056         is in bits.
8057         * config/i386/i386.c (aligned_operand): Likewise.
8058         * config/sparc/sparc.c (mem_min_alignment): Likewise.
8059         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
8060         (unaligned_memory_operand): Likewise.
8061         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
8062         Also make alignments and sizes unsigned and some whitespace cleanup.
8063         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
8064
8065         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
8066         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
8067         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
8068         (expand_builtin_memset): Likewise, but to clear_storage.
8069         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
8070         (restore_fixed_argument_area): Likewise.
8071         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
8072         (load_register_parameters): Likewise, to emit_group_load.
8073         (expand_call): Likewise, to emit_group_store and emit_block_move.
8074         (emit_library_call_value_1): Likewise, to emit_block_move.
8075         (store_one_arg): Likewise, and to emit_push_insn.
8076         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
8077         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
8078         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
8079         (emit_block_move, emit_group_load, emit_group_store): Likewise.
8080         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
8081         (expand_assigment, store_expr, store_constructor_field): Likewise.
8082         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
8083         (store_constructor, store_field, get_inner_reference): Likewise.
8084         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
8085         (expand_expr, case COMPONENT_REF): Likewise.
8086         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
8087         and positions; reindent code.
8088         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
8089         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
8090         (assign_parms): Likewise to emit_group_store.
8091         * optabs.c (prepare_cmp_insn): Alignment is in bits.
8092         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
8093         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
8094         (expand_return): Likewise to {extract,store}_bit_field.
8095         * stor-layout.c (get_mode_alignment): Minor cleanup.
8096         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
8097         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
8098
8099 2000-03-29  Nick Clifton  <nickc@cygnus.com>
8100
8101         * config/arm/arm.h: Undo effects of previous delta:
8102         (ASM_SPEC): Do not define.
8103         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
8104
8105         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
8106         typo.
8107
8108 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
8109
8110         * cppinit.c (cpp_start_read): Call initialize_dependency_output
8111         only after reading in the primary source file.
8112
8113 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
8114
8115         * c-common.c (c_common_nodes_and_builtins): The first parameter to
8116         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
8117         or a reference to a va_list.
8118         * builtins.c (stabilize_va_list): Simplify now we don't have to
8119         work around C array address decay.
8120         * c-typeck.c (convert_for_assignment): Handle assignment to
8121         a reference parameter by taking the address of the RHS.
8122         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
8123         (va_copy): Likewise.
8124         (__va_copy): Likewise.
8125         * ginclude/varargs.h (va_start): Likewise.
8126         (__va_copy): Likewise.
8127
8128 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
8129
8130         * i386/djgpp.h: Remove extraneous "+".
8131
8132         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
8133
8134         * calls.c (expand_call): Fix typo in last change.
8135
8136 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
8137
8138         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
8139         been expanded.
8140
8141 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8142
8143         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
8144         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
8145         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
8146         * tree.c (bit_position, byte_position): Likewise.
8147         * tree.h: Declare new functions.
8148
8149 2000-03-29  Nick Clifton  <nickc@cygnus.com>
8150
8151         * config/arm/arm.c: Minor formatting changes/
8152         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
8153         already defined.
8154         (ASM_SPEC): Define if not already defined.
8155
8156 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
8157
8158         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
8159         _cpp_calc_hash.
8160
8161 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
8162
8163         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
8164         value, don't output it as unsigned.
8165
8166 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
8167
8168         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
8169
8170 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8171
8172         * c-common.c (c_common_nodes_and_builtins): Don't special case
8173         cplus_mode when declaring builtin bzero/bcmp, always avoid
8174         prototype arguments.
8175
8176 2000-03-29  Bruce Korb  <bkorb@gnu.org>
8177
8178         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
8179         to a non-file
8180
8181 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8182
8183         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
8184         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
8185         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
8186         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
8187         (save_fixed_argument_area, restore_fixed_argument_area):
8188         conditionize by #ifdef REG_PARM_STACK_SPACE only.
8189         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
8190         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
8191         (precompute_register_parameters): Avoid #ifdefs on
8192         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
8193         (stire_one_args): Likewise.
8194         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
8195         (emit_library_call_value_1): Likewise.
8196         (compute_argument_block_size): Align to STACK_BOUNDARY only for
8197         ACCUMULATE_OUTGOING_ARGS.
8198         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
8199         value.
8200         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
8201         (use_crosses_set_p): Likewise.
8202         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
8203         #define ACCUMULATE_OUTGOING_ARGS 1.
8204         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
8205         frames.
8206         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
8207         constants.
8208         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
8209         (TARGET_SWITCHES): Add push-args, no-push-args,
8210         accumulate-outgoing-args and no-accumulate-outgoing-args.
8211         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
8212         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
8213         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
8214         and PUSH_ROUNDING.
8215         (emit_push_insn): Likewise.
8216         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
8217         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
8218         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
8219         (STACK_DYNAMIC_OFFSET): Define correctly for both
8220         ACCUMULATE_OUTGOING_ARGS and normal mode.
8221         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
8222         * tm.texi (PUSH_ARGS): Document.
8223         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
8224
8225 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8226
8227         * flags.h (flag_optimize_sibling_calls): Declare.
8228         * calls.c (expand_call): Fail sibcall when
8229         !flag_optimize_sibling_calls
8230         * invoke.texi (flag_optimize_sibling_calls): Document.
8231         * toplev.c (flag_optimize_sibling_calls): New global variable.
8232         (f_options): Add flag_optimize_sibling_calls.
8233         (rest_of_compilation): Conditionize
8234         optimize_sibling_and_tail_recursive_calls by
8235         flag_optimize_sibling_calls.
8236         (main): Set flag_optimize_sibling_calls for -O2.
8237         * stmt.c (expand_return): Conditionize tail recursion by
8238         flag_optimize_sibling_calls.
8239
8240 2000-03-29  Richard Henderson  <rth@cygnus.com>
8241
8242         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
8243         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
8244
8245 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
8246
8247         * except.c (add_eh_table_entry): Mark type_info's as referenced.
8248
8249 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8250
8251         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
8252         is given.
8253         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
8254         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
8255         * config/rs6000/aix.h: then modified likewise.
8256
8257 2000-03-28  Richard Henderson  <rth@cygnus.com>
8258
8259         * rtl.h: Redistribute enum reg_note documentation.
8260         Kill trailing whitespace.
8261         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
8262         Kill trailing whitespace.
8263
8264 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
8265
8266         * cppfiles.c (hash_IHASH): Just return i->hash.
8267         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
8268         htab_find_with_hash.
8269         (cpp_read_file): Likewise.
8270         (find_include_file): Likewise.  Properly initialize
8271         ih->nshort.  Share ih->name and ih->nshort if possible.
8272         * cpphash.c (_cpp_calc_hash): New function.
8273         (hash_HASHNODE): Just return h->hash.
8274         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
8275         htab_find_with_hash.
8276         * cpphash.h: Prototype _cpp_calc_hash.
8277         * cppinit.c (initialize_builtins): Provide a valid hash
8278         to _cpp_make_hashnode, using _cpp_calc_hash.
8279
8280         * cpphash.c (collect_expansion): # is not a special character
8281         in object-like macros.  In -traditional mode, /**/ is not
8282         token paste at the beginning or end of the line.
8283         * cpplib.c (do_include, do_import, do_include_next): If
8284         parse_include fails, return immediately.
8285
8286 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
8287
8288         * config/arm/arm.md (return peepholes): Update to reflect the new
8289         call insn patterns.
8290         * config/arm/arm.c (arm_volatile_func): Also check
8291         current_function_nothrow.
8292         (output_return_instruction, output_func_prologue): Use it.
8293         (arm_output_epilogue, arm_expand_prologue): Likewise.
8294
8295 2000-03-27  Tom Tromey  <tromey@cygnus.com>
8296
8297         * gcc.c (handle_braces): In {x*...} case, break out of loop if
8298         switch is found.
8299
8300 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8301
8302         * expr.c (store_constructor): SIZE now signed.
8303         For EXPR_SIZE, don't evaluate size; just needed if constant.
8304         * fold-const.c (fold): Fix a number of cases when folded tree is
8305         wrong type.
8306         * function.c (flush_addressof): Reenable.
8307         * tree.h (flush_addressof): Likewise.
8308         * toplev.c (independent_decode_option): Look at strings_processed.
8309         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
8310
8311 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
8312
8313         * sibcall.c (indentify_call_return_value): Find last call in the chain;
8314         Allow stack adjustment after function call.
8315
8316         * regmove.c (struct csa_memlist): Make mem field rtx *.
8317         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
8318         (try_apply_stack_adjustment): Replace whole MEM rtx.
8319         (combine_stack_adjustments_for_block): Update calls
8320         to record_one_stack_ref.
8321
8322 2000-03-28  Neil Booth  <NeilB@earthling.net>
8323
8324         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
8325         '\\' rather than a null character, so nulls are not special.  Fix
8326         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
8327         speed trigraph conversion.
8328         (_cpp_init_input_buffer): Initialize trigraph map.
8329
8330 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
8331
8332         * config/i386/i386.c (output_387_binary_op): Correct intel
8333         mode assembly output, and add spaces after commas in AT&T
8334         output.  Correct Unixware assembler comment.  Document input
8335         constraints.  Comment fp operations.  Reduce profligate buffer
8336         size.  Remove extraneous abort.  Localize temp var.
8337         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
8338         (output_fix_trunc): Add spaces after commas in assembly output.
8339
8340 2000-03-27  Richard Henderson  <rth@cygnus.com>
8341
8342         * i386-protos.h (ix86_match_ccmode): Declare.
8343         * i386.c (ix86_match_ccmode): New.
8344         (ix86_expand_fp_compare): Update for pattern renames.
8345         (ix86_expand_strlensi_unroll_1): Likewise.
8346         * i386.h (EXTRA_CC_MODES): Add CCZ.
8347         (SELECT_CC_MODE): Use it for EQ/NE zero.
8348         * i386.md (cmpsi_ccz_1): New.
8349         (cmpqi_ccz_1): New.
8350         (*testsi_ccz_1): New.
8351         (testqi_ccz_1): New.
8352         (cmpsi_ccno_1): Rename from cmpsi_0.
8353         (testsi_ccno_1): Rename from testsi_1.
8354         (testqi_ccno_1): Rename from testqi_1.
8355         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
8356         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
8357         (*cmphi_0): Use ix86_match_ccmode.
8358         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
8359         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
8360         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
8361         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
8362         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
8363         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
8364         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
8365         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
8366         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
8367         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
8368         (appropriate peepholes): Likewise.
8369         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
8370         (*subsi_3, *subhi_3, *subqi_3): Remove.
8371         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
8372         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
8373         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
8374         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
8375         (x86_shift_adj_1): Use CCZ.
8376         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
8377
8378 2000-03-27  Stan Cox  <scox@cygnus.com>
8379
8380         * resource.h (mark_resource_type): New.
8381         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
8382         find_free_register): Use mark_resource_type.
8383         (mark_set_resources): Change include_delayed_effects
8384         to mark_resource_type.
8385         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
8386         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
8387         Use mark_resource_type.
8388
8389 2000-03-27  Richard Henderson  <rth@cygnus.com>
8390
8391         * i386.md (call_pop_0, call_value_pop_0): New.
8392         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
8393         (call_value_pop_1): Likewise.
8394         (call_0, call_value_0): New.
8395         (call_1, call_value_1): Remove constraint from unused arg.
8396
8397 2000-03-27  Nick Clifton  <nickc@cygnus.com>
8398
8399         * invoke.texi (Spec Files): Document new spec % command created by
8400         Tom Tromey's recent patch.
8401
8402 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
8403
8404         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
8405         if not defined.
8406
8407 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8408
8409         * expr.c (expand_assignment): Fix typo in last change.
8410
8411         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
8412
8413 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8414
8415         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
8416         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
8417         and DECL_INLINE if FUNCTION_DECL.
8418         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
8419         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
8420         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
8421         (combine_parm_decls): Likewise.
8422         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
8423         * print-tree.c (print_node): Likewise.
8424         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
8425         DECL_TRANSPARENT_UNION on proper decl types.
8426         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
8427         * stor-layout.c (layout_decl): Only check DECL_PACKED and
8428         DECL_BIT_FIELD of FIELD_DECL.
8429         * tree.h (DECL_RESULT_FLD): New macro.
8430
8431         * expr.c (expand_assignment): Add code to handle variable-sized
8432         BLKmode case.
8433
8434 2000-03-26  Richard Henderson  <rth@cygnus.com>
8435
8436         * calls.c (expand_call): Pass parms not original exp to
8437         optimize_tail_recursion.  Mind return value instead of looking
8438         for a barrier.
8439         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
8440         call_expr.  Move checks for call_expr and current_function_decl ...
8441         (expand_return): ... here.
8442
8443 2000-03-26  Tom Tromey  <tromey@cygnus.com>
8444
8445         * gcc.c (handle_braces): Recognize `%{<S}' construct.
8446         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
8447         defines.
8448         (process_command): Use them.
8449         (check_live_switch): Likewise.
8450         (give_switch): Skip ignored switches.
8451
8452 2000-03-26  Jan Hubicka  <jh@suse.cz>
8453
8454         * jump.c (jump_optimize_1): Fix typo in elide optimizations
8455         for minimal jump pass test.
8456
8457 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
8458
8459         * integrate.c (function_cannot_inline_p): Do inline functions that
8460         return `void'.
8461
8462 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8463
8464         * stor-layout.c (layout_type, set_sizetype): early_type_list is
8465         now a list of TREE_LIST entries, not types.
8466         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
8467
8468         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
8469         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
8470         int_bit_position.
8471         * config/mips/mips.c (function_arg): Likewise; also remove cast
8472         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
8473         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
8474         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
8475         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
8476         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
8477         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
8478         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
8479         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
8480         num_adjusts now unsigned.
8481         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
8482         * config/sparc/sparc.c (struct function_arg_record_value_parms):
8483         NREGS now unsigned.
8484         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
8485         as is BITPOS variable; use host_integerp and int_bit_position.
8486         (function_arg_record_value_2): Likewise.
8487         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
8488         Variable REGNO now unsigned.
8489         (function_arg_record_value): NREGS now unsigned.
8490
8491 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
8492
8493         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
8494
8495 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8496
8497         * Rework fields used to describe positions of bitfields and
8498         modify sizes to be unsigned and use HOST_WIDE_INT.
8499         * alias.c (reg_known_value_size): Now unsigned.
8500         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
8501         (really_start_incremental_init): Use bitsize_zero_node.
8502         (push_init_level, pop_init_level, output_init_element): Likewise.
8503         Use bitsize_unit_node and bitsize_one_node.
8504         (output_pending_init_elements, process_init_element): Likewise.
8505         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
8506         (make_extraction): Position and length HOST_WIDE_INT and unsigned
8507         HOST_WIDE_INT, respectively.
8508         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
8509         (num_sign_bit_copies): Returns unsigned.
8510         BITWIDTH now unsigned; rework arithmetic.
8511         Remove recursive call from arg to MAX.
8512         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
8513         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
8514         REGNO now unsigned.
8515         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
8516         (find_split_point, expand_compound_operation, make_extraction): LEN
8517         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
8518         (make_field_assignment): Likewise.
8519         (combine_simplify_rtx): Add cast.
8520         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
8521         (force_to_mode): WIDTH now unsigned; add cast.
8522         (if_then_else_cond): SIZE now unsigned.
8523         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
8524         (extended_count): Now returns unsigned.
8525         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
8526         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
8527         (simplify_comparison): MODE_WIDTH now unsigned.
8528         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
8529         (mark_used_regs_combine): Likewise; rework arithmetic.
8530         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
8531         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
8532         (record_promoted_value): REGNO now unsigned.
8533         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
8534         (get_last_value): REGNO now unsigned.
8535         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
8536         (reg_dead_regno, reg_dead_endregno): Now unsigned.
8537         (remove_death): Arg REGNO now unsigned.
8538         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
8539         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
8540         now unsigned.
8541         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
8542         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
8543         (struct cse_reg_info): REGNO now unsigned.
8544         (cached_regno): Now unsigned.
8545         (REGNO_QTY_VALID_P): Add cast.
8546         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
8547         (remove_invalid_regs): Likewise.
8548         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
8549         as are variables END and I.
8550         (get_cse_reg_info, insert): Likewise.
8551         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
8552         (canon_hash): Likewise.
8553         (insert_regs, lookup_for_remove): REGNO now unsigned.
8554         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
8555         New variable RN.
8556         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
8557         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
8558         * emit-rtl.c (subreg_realpart_p): Add cast.
8559         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
8560         (operand_subword_force): Arg I is now unsigned.
8561         * except.c (eh_regs): Variable I is now unsigned.
8562         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
8563         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
8564         length is unsigned HOST_WIDE_INT; likewise for internal variables.
8565         (store_split_bit_field, extract_fixed_bit_field): Likewise.
8566         (extract_split_bit_field, store_bit_field, extract_bit_field):
8567         Likewise.
8568         * expr.c (store_constructor_fields, store_constructor, store_field):
8569         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
8570         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
8571         (do_jump): Likewise.
8572         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
8573         MAX_SIZE is now unsigned.
8574         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
8575         (emit_group_store): Likewise.
8576         (emit_move_insn): I now unsigned.
8577         (store_constructor): Use host_integerp, tree_low_cst, and
8578         bitsize_unit_node.
8579         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
8580         Rework all calculations to use trees and new fields.
8581         * expr.h (promoted_input_arg): Regno now unsigned.
8582         (store_bit_field, extract_bit_field): Adjust types of pos and size.
8583         (mark_seen_cases): Arg is HOST_WIDE_INT.
8584         * flow.c (verify_wide_reg_1): REGNO now unsigned.
8585         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
8586         precisions and alignments are unsigned.
8587         (optimize_bit_field_compare, fold_truthop): Likewise.
8588         (int_const_binop): Adjust threshold for size_int_type_wide call.
8589         (fold_convert): Likewise.
8590         (size_int_type_wide): Make table larger and fix thinko that only
8591         had half of table used.
8592         (all_ones_mask_p, fold): Precisions are unsigned.
8593         * function.c (put_reg_info_stack): REGNO is unsigned.
8594         (instantiate_decl): Size is HOST_WIDE_INT.
8595         (instantiate_virtual_regs): I is unsigned.
8596         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
8597         (promoted_input_arg): REGNO is unsigned.
8598         * function.h (struct function): x_max_parm_reg is now unsigned.
8599         * gcse.c (max_gcse_regno): Now unsigned.
8600         (struct null_pointer_info): min_reg and max_reg now unsigned.
8601         (lookup_set, next_set): REGNO arg now unsigned.
8602         (compute_hash_table): REGNO and I now unsigned.
8603         (handle_avail_expr): regnum_for_replacing now unsigned.
8604         (cprop_insn): REGNO now unsigned.
8605         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
8606         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
8607         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
8608         * hard-reg-set.h (reg_class_size): Now unsigned.
8609         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
8610         * jump.c (mark_modified_reg): I now unsigned; add cast.
8611         (rtx_equal_for_thread_p): Add cast.
8612         * loop.c (max_reg_before_loop): Now unsigned.
8613         (struct_movable): REGNO now unsigned.
8614         (try_copy_prop): REGNO arg unsigned.
8615         (regs_match_p): XN and YN now unsigned.
8616         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
8617         (strength_reduce): Likewise; NREGS also unsigned.
8618         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
8619         * loop.h (struct iv_class): REGNO now unsigned.
8620         (max_reg_before_loop, first_increment_giv, last_increment_giv):
8621         Now unsigned.
8622         * machmode.h (mode_size, mode_unit_size): Now unsigned.
8623         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
8624         * optabs.c (expand_binop): I and NWORDS now unsigned.
8625         (expand_unop): I now unsigned.
8626         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
8627         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
8628         * real.c (significand_size): Now returns unsigned.
8629         * real.h (significand_size): Likewise.
8630         * regclass.c (reg_class_size): Now unsigned.
8631         (choose_hard_reg_mode): Both operands now unsigned.
8632         (record_reg_classes): REGNO and NR now unsigned.
8633         (reg_scan): NREGS now unsigned.
8634         (reg_scan_update): old_max_regno now unsigned.
8635         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
8636         * reload.c (find_valid_class): BEST_SIZE now unsigned.
8637         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
8638         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
8639         Likewise for variable R.
8640         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
8641         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
8642         (find_equiv_reg): Add casts.
8643         (regno_clobbered_p): Arg REGNO now unsigned.
8644         * reload.h (struct reload): NREGS now unsigned.
8645         (refers_to_regno_for_reload_p): Regno args are unsigned.
8646         (regno_clobbered_p): Likewise.
8647         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
8648         (compute_use_by_pseudos): REGNO now unsigned.
8649         (find_reg): I and J now unsigned, new variable K, and change loop
8650         variables accordingly; THIS_NREGS now unsigned.
8651         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
8652         (spill_hard_reg): REGNO arg now unsigned; add casts.
8653         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
8654         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
8655         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
8656         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
8657         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
8658         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
8659         (emit_reload_insns): REGNO now unsigned.
8660         (reload_cse_move2add): Add cast.
8661         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
8662         and rework loop.
8663         * resource.c (mark_referenced_resources, mark_set_resources): New
8664         variable R; REGNO and LAST_REGNO now unsigned.
8665         (mark_target_live_regs): J and REGNO now unsigned.
8666         * rtl.c (mode_size, mode_unit_size): Now unsigned.
8667         * rtl.h (union rtunion_def): New field rtuint.
8668         (XCUINT): New macro.
8669         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
8670         (operand_subword, operand_subword_force): Word number is unsigned.
8671         (choose_hard_reg_mode): Operands are unsigned.
8672         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
8673         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
8674         (regno_use_in, combine_instructions, remove_death): Likewise.
8675         (reg_scan, reg_scan_update): Likewise.
8676         (extended_count): Return is unsigned.
8677         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
8678         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
8679         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
8680         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
8681         (reg_reg_last_1): FIRS and LAST now unsigned.
8682         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
8683         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
8684         now unsigned.
8685         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
8686         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
8687         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
8688         (replace_regs): Arg NREGS now unsigned.
8689         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
8690         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
8691         (simplify_binary_operation): Likewise.
8692         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
8693         THIS_LAST now unsigned.
8694         (cselib_record_set): Add cast.
8695         * ssa.c (ssa_max_reg_num): Now unsigned.
8696         (rename_block): REGNO now unsigned.
8697         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
8698         sizes now unsigned.
8699         (all_cases_count): Just return -1 not -2.
8700         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
8701         Rework tests to use trees whenever possible.
8702         Use host_integerp and tree_low_cst.
8703         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
8704         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
8705         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
8706         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
8707         (smallest_mode_for_size): Likewise.
8708         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
8709         KNOWN_ALIGN is now an alignment, so simplify code.
8710         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
8711         (start_record_layout): Renamed from new_record_layout_info.
8712         Update to new fields.
8713         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
8714         New functions.
8715         (place_union_field): Renamed from layout_union_field.
8716         Update to use new fields in rli.
8717         (place_field): Renamed from layout_field.
8718         Major rewrite to use new fields in rli; pass alignment to layout_decl.
8719         (finalize_record_size): Rework to use new fields in rli and handle
8720         union.
8721         (compute_record_mode): Rework to simplify and to use new DECL fields.
8722         (finalize_type_size): Make rounding more consistent.
8723         (finish_union_layout): Deleted.
8724         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
8725         (layout_type, case RECORD_TYPE): Call new function names.
8726         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
8727         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
8728         (get_best_mode): UNIT is now unsigned; remove casts.
8729         * tree.c (bit_position): Compute from new fields.
8730         (byte_position, int_byte_position): New functions.
8731         (print_type_hash_statistics): Cast to remove warning.
8732         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
8733         (build_index_type): Likewise; make subtype of sizetype.
8734         (build_index_2_type): Pass sizetype to build_range_type.
8735         (build_common_tree_nodes): Use size_int and bitsize_int to
8736         initialize nodes; add bitsize_{zero,one,unit}_node.
8737         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
8738         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
8739         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
8740         (DECL_FIELD_BITPOS): Deleted.
8741         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
8742         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
8743         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
8744         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
8745         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
8746         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
8747         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
8748         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
8749         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
8750         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
8751         (DECL_ALIGN): Adjust to new field in union.
8752         (DECL_OFFSET_ALIGN): New field.
8753         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
8754         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
8755         (union tree_decl): Add struct for both aligns.
8756         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
8757         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
8758         (struct record_layout_info): Rework fields to have offset
8759         alignment and byte and bit position.
8760         (start_record_layout, place_field): Renamed from old names.
8761         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
8762         (byte_position, int_byte_position): Likewise.
8763         (get_inner_reference): Change types of position and length.
8764         * unroll.c (unroll_loop): New variable R; use for some loops.
8765         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
8766         (calculate_giv_inc): Arg REGNO now unsigned.
8767         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
8768         * varasm.c (assemble_variable): Clean up handling of size using
8769         host_integerp and tree_low_cst.
8770         (decode_addr_const): Use byte, not bit, position.
8771         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
8772         use tree_low_cst and int_bit_position.
8773         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
8774
8775 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
8776
8777         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
8778         (reorder_block_def): New members eff_head and eff_end.
8779         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
8780         (verify_insn_chain): New function.
8781         (skip_insns_between_block): Add code to skip deleted insns.
8782         Check for note before using.
8783         (chain_reorder_blocks): Replace calls to skip_insns_between_block
8784         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
8785         Check for note before using.
8786         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
8787         (fixup_reorder_chain): Restructure, clean up, defect removal.
8788         (reorder_basic_blocks): Remove last_insn and references to it.
8789         Moved insn chain verification code into a new function (see above).
8790         Delete defective code that sets last insn.
8791         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
8792         all blocks.
8793
8794 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8795
8796         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
8797
8798 2000-03-24  Richard Henderson  <rth@cygnus.com>
8799
8800         * tree.c (lang_safe_for_unsave): Remove.
8801         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
8802         allowing for two levels of unsafeness.  Remove lang hook.
8803         * tree.h: Update declarations.
8804         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
8805         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
8806         Always fail sibcalls when there are pending cleanups.
8807
8808 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
8809
8810         * flow.c (propagate_block): When we delete an ADDR_VEC,
8811         also delete the BARRIER following it if there is one.
8812
8813 2000-03-24  Richard Henderson  <rth@cygnus.com>
8814
8815         * builtins.c (expand_builtin_bzero): Convert `length' argument
8816         to sizetype.
8817
8818 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
8819
8820         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
8821         comparison if regno's are equal.
8822         * calls.c (initialize_argument_informat): Add ecf_flags argument.
8823         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
8824         (expand_call): Update caller.
8825         Avoid making a sibling call if argument size of the callee is larger
8826         than argument size of the caller.
8827         Call hard_function_value with outgoing set if in sibcall pass.
8828         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
8829
8830         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
8831         Change LEAF_REGISTERS from an array initializer to actual array
8832         identifier. Move static global variable into the function.
8833         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
8834         sequences for leaf functions.
8835         * global.c (global_alloc): Likewise.
8836         * tm.texi (LEAF_REGISTERS): Update documentation.
8837
8838         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
8839         TARGET_FLAT leaf disabling hack.
8840         (LEAF_REGISTERS): Changed from an array initializer to actual array
8841         identifier to avoid duplication and remove the above hack.
8842         (FUNCTION_OK_FOR_SIBCALL): Define.
8843         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
8844         always like call attribute.
8845         (eligible_for_sibcall_delay): New attribute.
8846         (sibcall): New delay type.
8847         (sibcall, sibcall_value, sibcall_epilogue): New expands.
8848         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
8849         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
8850         * config/sparc/sparc.c (sparc_leaf_regs): New array.
8851         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
8852         New functions.
8853         (output_function_epilogue): Move part of the code into
8854         output_restore_regs.
8855         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
8856         TYPE_SIBCALL.
8857         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
8858         prototypes.
8859
8860         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
8861         until infrastructure is finished.
8862
8863 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
8864
8865         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
8866         (save_parm_insns): Not here.
8867
8868 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8869
8870         * builtins.c (expand_builtin_bzero): New function.
8871         (expand_builtin): Handle bzero.
8872
8873         * builtins.def: Add BUILT_IN_BZERO.
8874
8875         * c-common.c (c_common_nodes_and_builtins): Provide builtin
8876         prototype & function for bzero.
8877
8878 2000-03-23  Michael Meissner  <meissner@redhat.com>
8879
8880         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
8881         change adding TARGET_FP to the TF floating point insns, except for
8882         trunctfsf2, which generates direct calls to truncdfsf2.
8883
8884 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
8885
8886         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
8887         try to protect against middle-end changes that break binary
8888         compatibility.
8889         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
8890
8891 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8892
8893         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
8894
8895 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8896
8897         * calls.c (expand_call): If TARGET is passed by reference and
8898         is readonly, write a CLOBBER.
8899
8900 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8901
8902         * builtins.c (expand_builtin): Handle bcmp.
8903
8904         * builtins.def: Add BUILT_IN_BCMP.
8905
8906         * c-common.c (c_common_nodes_and_builtins): Provide builtin
8907         prototype & function for bcmp.
8908
8909 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
8910
8911         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
8912         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
8913         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
8914
8915 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
8916
8917         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
8918         alternative when using -fp64 -gp32.
8919
8920 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
8921
8922         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
8923         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
8924         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
8925
8926         * frame.h (frame_state): Revert last change.
8927         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
8928         * libgcc2.c (throw_helper): Revert last change.
8929
8930 2000-03-22  Richard Henderson  <rth@cygnus.com>
8931
8932         * stmt.c (expand_asm_operands): Don't promote the temporary.
8933
8934 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
8935
8936         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
8937         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
8938           c_get_alias_set): Likewise.
8939         * c-decl.c (duplicate_decls): Likewise.
8940         * c-typeck.c (default_conversion,build_unary_op): Likewise.
8941         * calls.c (initialize_argument_information): Likewise.
8942         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
8943         Likewise.
8944         * dwarfout.c (decl_class_context,output_type): Likewise.
8945         * expr.c (get_inner_reference): Likewise.
8946         * fold-const.c (simple_operand_p,fold): Likewise.
8947         * function.c (aggregate_value_p): Likewise.
8948         * stmt.c (expand_asm_operands): Likewise.
8949         * varasm.c (named_section): Likewise.
8950
8951 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
8952
8953         Implement dwarf2 exception handling for the ARM.
8954         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
8955         (DWARF_FRAME_RETURN_COLUMN): Define.
8956         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
8957         REG_FRAME_RELATED_EXPR note.
8958         (emit_sfm): Likewise.
8959         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
8960         * dwarf2out.c (reg_save): Handle saving a register to itself.
8961         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
8962         * except.c (eh_regs): Don't use the static chain reg if it's
8963         callee-saved.
8964         * frame.h (frame_state): Add cfa_saved field.
8965         * frame.c (execute_cfa_insn): Set it.
8966         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
8967         the epilogue.
8968         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
8969         Now takes a parm.
8970         (instantiate_virtual_regs): Adjust.
8971         * tm.texi: Adjust.
8972         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
8973         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
8974         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
8975
8976         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
8977         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
8978
8979 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8980
8981         * builtins.def: New file.
8982
8983         * Makefile.in (TREE_H): Depend on builtins.def.
8984
8985         * builtins.c (built_in_names): Use builtins.def.
8986
8987         * tree.h (built_in_function): Likewise.
8988
8989 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
8990
8991         * tree.c (size_in_bytes): Return size_zero_node, not
8992         integer_zero_node.
8993
8994 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
8995
8996         * config/fp-bit.c (pack_d): Correct the case when a denormal
8997         is rounded up and stops being denormal.
8998
8999 2000-03-21  Richard Henderson  <rth@cygnus.com>
9000
9001         * config/alpha/alpha.c (function_arg): Check for void_type_node
9002         before using MUST_PASS_IN_STACK.
9003
9004 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
9005
9006         * regmove.c (combine_stack_adjustments_for_block): Check that
9007         the stack pointer is a valid memory address.
9008
9009 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
9010
9011         * calls.c: re-install Mar 16 emit_library_call merge.
9012
9013 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
9014
9015         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
9016         we cannot be sure that if reload_completed base register will
9017         be properly aligned.
9018
9019 2000-03-21  Richard Henderson  <rth@cygnus.com>
9020
9021         * flow.c (delete_block): Fix typo last change.
9022
9023 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
9024
9025         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
9026         not COMPLETE_TYPE_P, to check the type of the expression.
9027
9028 2000-03-21  Michael Meissner  <meissner@redhat.com>
9029
9030         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
9031         all floating point insns that just tested the macro
9032         TARGET_HAS_XFLOATING_LIBS.
9033         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
9034         used to only use the gprs.
9035
9036 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
9037
9038         * tree.h (COMPLETE_TYPE_P): New macro.
9039         (COMPLETE_OR_VOID_TYPE_P): New macro.
9040         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
9041         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
9042         * c-aux-info.c (gen_type): Use them.
9043         * c-common.c (c_expand_expr_stmt): Likewise.
9044         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
9045         grokdeclarator, grokparms, finish_struct, start_function,
9046         store_parm_decls, combine_parm_decls): Likewise.
9047         * c-parse.y (cast_expr): Likewise.
9048         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
9049         c_size_in_bytes, c_alignof, build_component_ref,
9050         build_indirect_ref, build_array_ref, convert_arguments,
9051         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
9052         * calls.c (initialize_argument_information): Likewise.
9053         * convert.c (convert_to_integer): Likewise.
9054         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
9055         * dwarfout.c (location_or_const_value_attribute,
9056         output_enumeration_type_die, output_structure_type_die,
9057         output_union_type_die, output_type): Likewise.
9058         * expr.c (safe_from_p, expand_expr): Likewise.
9059         * function.c (assign_parms): Likewise.
9060         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
9061         * tree.c (build_array_type, build_function_type,
9062         build_method_type, build_offset_type, build_complex_type): Likewise.
9063         * c-parse.c, c-parse.h: Regenerated.
9064
9065 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9066
9067         * config/c4x/rtems.h: Include config/rtems.h.
9068
9069 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
9070
9071         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
9072         decl is a FUNCTION_DECL
9073
9074 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
9075
9076         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
9077         function uses output registers.  Don't save RP for leaf functions.
9078         Do save RP even if no epilogue.
9079         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
9080         (CALL_USED_REGISTERS): Unmark in registers.
9081         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
9082         to near the middle.
9083
9084 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
9085
9086         * config/rs6000/rs6000.md (bunordered): New expander.
9087         (bordered): New expander.
9088         (buneq): New expander.
9089         (bunge): New expander.
9090         (bungt): New expander.
9091         (bunle): New expander.
9092         (bunlt): New expander.
9093         (bltgt): New expander.
9094
9095         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
9096         (ccr_bit_negated_p): New function.
9097         (print_operand): For %C, generate appropriate cror for UNEQ,
9098         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
9099
9100 2000-03-20  Andreas Jaeger  <aj@suse.de>
9101
9102         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
9103         warning.
9104
9105         * tree.h (safe_for_unsave): Prototype.
9106
9107 2000-03-20  Richard Henderson  <rth@cygnus.com>
9108
9109         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
9110         (combine_stack_adjustments_for_block): Don't allow sp references
9111         in the side of a set we're not fixing up.
9112         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
9113         after life_analysis.
9114
9115 2000-03-20  Richard Henderson  <rth@cygnus.com>
9116
9117         * calls.c (expand_call): Don't bother generating tail call
9118         sequences if there are pending cleanups.  Use
9119         expand_start_target_temps/expand_end_target_temps to elide
9120         cleanups created during sibcall expansion.
9121
9122 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
9123
9124         * configure.in: Set $IFS to a value if it doesn't already have one
9125         in the --enable-checking handling.
9126         * configure: Regenerate.
9127
9128 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9129
9130         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
9131         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
9132         Regenerated.
9133
9134 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
9135
9136         * jump.c (delete_noop_moves): Remove code attempting to
9137         combine stack adjustments.
9138
9139 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9140
9141         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
9142         * except.c (emit_cleanup_handler): Use them.
9143         (expand_end_all_catch): Likewise.
9144         * function.c (fixup_var_refs): Likewise.
9145         (expand_function_end): Clear catch_clauses_last.
9146         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
9147         * except.h (struct eh_status): New field x_catch_clauses_last.
9148         (catch_clauses_last): New define.
9149
9150         * Makefile.in (tree.o): Depend on HASHTAB_H.
9151         * tree.c: Include hashtab.h.
9152         (struct type_hash): Remove next field.
9153         (TYPE_HASH_SIZE): Remove.
9154         (TYPE_HASH_INITIAL_SIZE): New define.
9155         (type_hash_table): Change type to htab_t.
9156         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
9157         mark_hash_entry): New functions.
9158         (init_obstacks): Allocate type hash.
9159         (type_hash_lookup): Use htab functions.
9160         (type_hash_add, mark_type_hash): Likewise.
9161         (dump_tree_statistics): Call print_type_hash_statistics.
9162
9163 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9164
9165         * rs6000/t-aix41: New file.
9166
9167         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
9168
9169 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
9170
9171         * tm.texi (Driver): Fix typos and tweak entry for
9172         INCLUDE_DEFAULTS.
9173         Move misplaced STRUCT_FORCE_BLK entry ...
9174         (Storage Layout): ... to here.
9175         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
9176
9177 2000-03-19  Richard Henderson  <rth@cygnus.com>
9178
9179         * flow.c (delete_block): Delete the addr_vec along with the block.
9180         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
9181         reference labels.
9182
9183         * fold-const.c (extract_muldiv): Apply type check for defined
9184         overflow to multiply as well as divide.
9185
9186         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
9187
9188 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
9189
9190         * emit-rtl.c (remove_unncessary_notes): Check that all
9191         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
9192         associated NOTE_BLOCK.
9193         * function.h (identify_blocks): Update comments.
9194         (reorder_blocks): Declare.
9195         * function.c (identify_blocks): Don't take paramters.
9196         (reorder_blocks): Don't take parameters.
9197         * loop.h (find_loop_tree_blocks): Remove.
9198         (unroll_block_trees): Likewise.
9199         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
9200         reorder_blocks instead of unroll_block_trees.h
9201         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
9202         * stmt.c (find_loop_tree_blocks): Remove.
9203         (unroll_block_trees): Likewise.
9204         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
9205         in whole-function mode.
9206         * tree.h (reorder_blocks): Remove declaration.
9207
9208         * expr.c: Include intl.h.
9209         * Makefile.in (expr.o): Depend on intl.h.
9210
9211 2000-03-18  Richard Henderson  <rth@cygnus.com>
9212
9213         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
9214
9215 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
9216
9217         * tree.h (tree_index): Remove enumerals for integer types.
9218         (integer_type_kind): New type.
9219         (integer_types): New variable.
9220         (char_type_node): Adjust.
9221         (signed_char_type_node): Likewise.
9222         (unsigned_char_type_node): Likewise.
9223         (short_integer_type_node): Likewise.
9224         (short_unsigned_type_node): Likewise.
9225         (integer_type_node): Likewise.
9226         (unsigned_type_node): Likewise.
9227         (long_integer_type_node): Likewise.
9228         (long_unsigned_type_node): Likewise.
9229         (long_long_integer_type_node): Likewise.
9230         (long_long_unsigned_type_node): Likewise.
9231         * tree.c (integer_types): New variable.
9232         (init_obstacks): Register it as a root.
9233
9234 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
9235
9236         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
9237         NEXT_INSN. Update last insn in chain.
9238
9239 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
9240
9241         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
9242         with TYPE_DECL_SUPPRESS_DEBUG set.
9243
9244 2000-03-18  Richard Henderson  <rth@cygnus.com>
9245
9246         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
9247
9248 2000-03-18  Richard Henderson  <rth@cygnus.com>
9249
9250         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
9251         care for HALF_PIC_P.
9252         (expander_call_insn_operand): Remove.
9253         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
9254         * i386.h (PREDICATE_CODES): Update.
9255         * i386.md (all call expanders): Remove predicates, remove special
9256         handling for half-pic.
9257         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
9258         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
9259         (sibcall_epilogue): New.
9260
9261 2000-03-17  Richard Henderson  <rth@cygnus.com>
9262
9263         * rtlanal.c (single_set): Reject if the parallel has anything
9264         except SET or USE or CLOBBER.
9265
9266 2000-03-17  Jeff Law  <law@cygnus.com>
9267             Richard Henderson  <rth@cygnus.com>
9268
9269         * Makefile.in (OBJS): Add sibcall.o.
9270         (sibcall.o): New.
9271         * sibcall.c: New file.
9272         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
9273         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
9274         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
9275         Emit sibcall patterns when requested.  Update all callers.
9276         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
9277         elimination seems feasable.
9278         * final.c (leaf_function_p): Sibling calls don't discount being
9279         a leaf function.
9280         * flow.c (HAVE_sibcall_epilogue): Provide default.
9281         (find_basic_blocks_1): Sibling calls don't throw.
9282         (make_edges): Make edge from sibling call to EXIT.
9283         (propagate_block): Don't remove sibcall_epilogue insns.
9284         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
9285         (sibcall_epilogue): New.
9286         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
9287         (identify_blocks_1): Likewise.  Break out from ...
9288         (identify_blocks): ... here.
9289         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
9290         (reorder_blocks): ... here.
9291         (init_function_for_compilation): Zap prologue/epilogue as varrays.
9292         (record_insns): Extend a varray instead of mallocing new memory.
9293         (contains): Read a varray not array of ints.
9294         (sibcall_epilogue_contains): New.
9295         (thread_prologue_and_epilogue_insns): Emit and record
9296         sibcall_epilogue patterns.
9297         (init_function_once): Allocate prologue/epilogue varrays.
9298         * genflags.c (gen_insn): Treat sibcall patterns as calls.
9299         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
9300         Broken out from ...
9301         (save_for_inline_nocopy): ... here.
9302         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
9303         Broken out from ...
9304         (expand_inline_function): ... here.
9305         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
9306         (subst_constants): Handle 'n' formats.
9307         * jump.c (jump_optimize_minimal): New.
9308         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
9309         optimizations if it's set.
9310         * rtl.c (copy_rtx): Do copy jump & call for insns.
9311         * rtl.h (struct rtx_def): Document use of jump and call for insns.
9312         (SIBLING_CALL_P): New.
9313         (sibcall_use_t): New.
9314         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
9315         Invoke optimize_sibling_and_tail_recursive_calls.
9316         * tree.c (lang_safe_for_unsave): New.
9317         (safe_for_unsave): New.
9318         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
9319
9320         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
9321         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
9322         (*sibcall_osf_1, *sibcall_value_osf_1): New.
9323
9324 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
9325
9326         * objc/objc-act.c (encode_method_prototype): Pass types, not
9327         PARM_DECLs, to int_size_in_bytes.
9328
9329 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
9330
9331         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
9332
9333         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9334         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
9335
9336 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9337
9338         * Clean up usages of TREE_INT_CST_LOW.
9339         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
9340         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
9341         Regenerated.
9342         * c-tree.h (min_precision): Move declaration to here.
9343         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
9344         (build_unary_op, add_pending_init): Use bit_position.
9345         (pending_init_member, process_init_element): Likewise.
9346         (really_start_incremental_init, push_init_level, pop_init_level):
9347         Don't make copies of nodes or modify them in place, use consistent
9348         types when tracking positions, and use tree routines computations.
9349         (set_init_index, output_init_element): Likewise.
9350         (output_pending_init_elements, process_init_element): Likewise.
9351         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
9352         tree_low_cst and int_bit_position; also minor cleanup.
9353         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
9354         (print_cst_octal): Precision is unsigned.
9355         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
9356         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
9357         (simple_type_align_in_bits): Result is unsigned int.
9358         Use tree_int_low_cst and host_integerp.
9359         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
9360         (field_byte_offset): Result is HOST_WIDE_INT.
9361         Change types of internal variables so alignments are unsigned int,
9362         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
9363         Use host_integerp, tree_low_cst, and int_bit_position.
9364         (add_bit_offset_attribute): Likewise.
9365         (add_data_member_location_attribute): Use tree_cst_low.
9366         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
9367         (add_bit_size_attribute): Use tree_low_cst.
9368         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
9369         * dwarfout.c: Similar changes to dwarf2out.c.
9370         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
9371         * genoutput.c (n_occurences): Return -1 for null string.
9372         (strip_whitespace): Accept null string and make into function.
9373         (scan_operands): Reflect above changes.
9374         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
9375         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
9376         * ssa.c (rename_registers): Add missing cast of arg to bzero.
9377         * tree.c (int_size_in_bytes): Check for too big to represent.
9378         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
9379         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
9380         New declarations.
9381         (min_precision): Delete from here.
9382         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
9383         and int_bit_position.
9384         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
9385         (encode_method_def): Likewise.
9386         (build_ivar_list_initializer): Use int_bit_position.
9387         (generate_shared_structures): Convert size.
9388         (encode_type, encode_complete_bitfield): Use integer_zerop.
9389         (encode_bitfield): Use tree_low_cst and int_bit_position.
9390
9391 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9392
9393         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
9394
9395 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9396
9397         * call.c (special_function_p): It is only malloc if it returns
9398         Pmode.
9399
9400 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9401
9402         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
9403         (C33_FLAG, TARGET_C3X): Add macros.
9404         (TARGET_SWITCHES): Add -m33 option.
9405         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
9406
9407 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9408
9409         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
9410         (PARALLEL_PACK_FLAG): Delete.
9411         (TARGET_SWITCHES): Update.
9412         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
9413
9414 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9415
9416         * fold-const.c (fold): Fix a few cases when the returned result
9417         is not of the same type as the input.
9418
9419 2000-03-16  Nick Clifton  <nickc@cygnus.com>
9420
9421         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
9422         warning.
9423
9424 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9425
9426         * libgcc2.h: Move prototypes above macros with the same name.
9427         Wrap some function prototypes in the conditional which indicates
9428         whether they are supported, i.e. "BITS_PER_UNIT == 8".
9429
9430 2000-03-16  Richard Henderson  <rth@cygnus.com>
9431
9432         * calls.c: Revert last two changes.
9433
9434 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
9435
9436         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
9437         has exponent 0 is a zero.
9438
9439         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
9440         HASH may already be nonzero.  Add code/mode into hash value
9441         immediately after repeat label.
9442         (cselib_lookup): Don't leave the hash table in an inconsistent
9443         state before a hash lookup operation.
9444
9445 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
9446
9447         * i386.md (all HI and QI mode non-move patterns):  Conditionize
9448         by TARGET_[HQ]IMODE_MATH.
9449         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
9450         x86_promote_qi_regs): Declare.
9451         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
9452         TARGET_PROMOTE_QI_REGS): New macros.
9453         (PROMOTE_MODE): New macro.
9454         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
9455         x86_promote_qi_regs): New global variables.
9456
9457 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
9458
9459         * calls.c (emit_library_call_value_1): Break out from ...; handle
9460         VOIDmode function calls too.
9461         (emit_library_call_value): ... here.
9462         (emit_library_call): Implement by calling emit_library_call_value_1.
9463
9464 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
9465
9466         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
9467         Update arg_space_so_far on stack adjustments.
9468         (emit_library_call, emit_library_call_value): Likewise; take into
9469         account arg_space_so_far and pending_stack_adjust when calculcating
9470         the boundary.
9471
9472 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
9473
9474         * flow.c: Move all basic block reordering code into its own file.
9475         (create_basic_block): Externalize.
9476         * bb-reorder.c: New file. Copy all basic block reordering code from
9477         flow.c to this file.
9478         (reorder_basic_blocks): Fix fencepost error in for-loop.
9479         (reorder_basic_blocks): Remove braces from single statement for-loops.
9480         * basic-block.h: Add declaration for create_basic_block.
9481         * Makefile.in: Add rules for bb-reorder.o.
9482
9483 2000-03-16  Neil Booth  <NeilB@earthling.net>
9484
9485         * cppinit.c (handle_option):  Implement #unassert directive
9486         as -A- command line option.
9487         (print_help):  Update.
9488         * cpptexi.c:  Update.
9489
9490 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9491
9492         * md.texi (Standard Names): Document `jump'.
9493
9494 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
9495
9496         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
9497         gotos.
9498
9499 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
9500
9501         Merge changes from newppc-branch onto trunk.
9502
9503         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
9504
9505         * rs6000.c (toc_hash_table): Update for new hash table functions.
9506         (toc_hash_function): Likewise.
9507         (toc_hash_eq): Likewise.
9508         (toc_hash_mark_entry): Likewise.
9509         (toc_hash_mark_table): Likewise.
9510         (output_toc): Likewise.
9511         (rs6000_add_gc_roots): Likewise.
9512
9513         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9514
9515         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
9516         (AR_FLAGS_FOR_TARGET): here.  New macro.
9517
9518         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
9519
9520         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
9521         fpmem_operand) Delete.
9522         (xer_operand) New.
9523         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
9524         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
9525         (rs6000_save_machine_status, rs6000_restore_machine_status,
9526         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
9527         references to above variables.
9528         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
9529         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
9530         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
9531         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
9532         (XER_REGNO_P, XER_REGNO): New.
9533         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
9534         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
9535         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
9536         XER_REGNO_P.
9537         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
9538         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
9539         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
9540
9541         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9542
9543         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
9544         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
9545         * rs6000.h: from here.
9546
9547         * rs6000-protos.h (rs6000_select_section): Provide prototype.
9548         (rs6000_select_rtx_section): Likewise.
9549         (rs6000_encode_section_info): Likewise.
9550         (sdata_section): Likewise.
9551         (sdata2_section): Likewise.
9552         (sbss_section): Likewise.
9553         * sysv4.h (rs6000_select_section): Delete prototype.
9554         (rs6000_select_rtx_section): Likewise.
9555         (rs6000_encode_section_info): Likewise.
9556         (sdata_section): Likewise.
9557         (sdata2_section): Likewise.
9558         (sbss_section): Likewise.
9559         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
9560
9561         * sysv4.h: Delete various unnecessary #undef's and put a comment
9562         on the remaining ones.
9563         Change various comments according to coding standard.
9564
9565         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
9566
9567         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
9568         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
9569         (CR0_REGNO_P) Remove.
9570         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
9571         setup_incoming_varargs, mtcrf_operation, print_operand,
9572         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
9573         Use the above macros.
9574
9575         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
9576
9577         * config/rs6000/rs6000.md: Added a new alternative for each
9578         pattern that had a 'x' alternative but no 'y' alternative.
9579         Added a new split for each of the above patterns.
9580
9581         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9582
9583         * aix41.h (ASM_CPU_SPEC): Delete.
9584         (CPP_CPU_SPEC): Delete.
9585
9586         * aix.h (RS6000_OUTPUT_BASENAME): Define.
9587         (ASM_OUTPUT_LABEL): Define.
9588         (ASM_GLOBALIZE_LABEL): Define.
9589         (STRIP_NAME_ENCODING): Define.
9590         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
9591         (STRIP_NAME_ENCODING): Don't define.
9592         (ASM_OUTPUT_LABEL): Don't define.
9593         (ASM_GLOBALIZE_LABEL): Don't define.
9594         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
9595         names, and ASM_OUTPUT_LABEL to output labels, rather than
9596         asm_fprintf.
9597         (ASM_OUTPUT_LABEL): Define.
9598         (ASM_OUTPUT_INT): Use assemble_name.
9599         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
9600         (STRIP_NAME_ENCODING): Don't undefine first.
9601         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
9602         ELF.
9603         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
9604         specified with 'asm' even with -fleading-underscore.
9605         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
9606         (output_epilog): Likewise.
9607         (output_toc): Likewise.
9608         * tramp.asm: Handle -fleading-underscore correctly.
9609
9610         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
9611         -mminimal-toc.
9612         (nonlocal_goto_receiver): Delete.
9613         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
9614
9615         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
9616         (SET_ASM_OP): Define.
9617         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
9618
9619         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
9620         (ASM_LONG): Define.
9621
9622         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
9623         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
9624
9625         * rs6000.h: Add 'u' to more constants.
9626
9627         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
9628
9629         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
9630
9631         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
9632
9633         * rs6000.c (reg_or_u_cint_operand): New function.
9634         (logical_operand): Handle 64-bit hosts.
9635         (logical_u_operand): New function.
9636         (non_logical_cint_operand): Handle 64-bit hosts.
9637         (non_logical_u_cint_operand): New function.
9638         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
9639         (PREDICATE_CODES): Define new functions.
9640         * rs6000-protos.h: Declare new functions.
9641         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
9642         (movdi_64): Bracket code intended for 64-bit hosts.  Create
9643         CONST_DOUBLE for 32-bit values.
9644         (scc insns): Generate DImode compares.
9645         (mfcr insns): Create DImode versions.
9646         (sge matchers): New patterns.
9647
9648         2000-02-15  Gabriel Paubert  <paubert@iram.es>
9649
9650         * rs6000.md: Correct instructions length attributes and
9651         constraints on unsigned compare instructions.
9652         (*ne0): Disable for PowerPC64.
9653
9654         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
9655
9656         * rs6000.c (output_function_profiler): Use .long for a 32-bit
9657         quantity, fix profile1.C test failure under -fPIC.
9658
9659         * rs6000.c: Add 'u' to many constants to suppress warnings.
9660         (constant_pool_expr_1): Make static.
9661         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
9662         * rs6000.h: Add 'u' to many constants to suppress warnings.
9663
9664         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
9665         for the start of the TOC, instead of LCTOC..0.
9666         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
9667         of the TOC.
9668         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
9669         (load_toc_aix_di): Use LCTOC..1.
9670
9671         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
9672         * rs6000.c (rs6000_legitimize_address): New function from
9673         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
9674         symbols in the constant pool that really are TOC references.
9675         (print_operand_address): For ELF, write TOC offsets under
9676         -fPIC as subtractions in the insn.
9677         (output_toc): For ELF, define symbols in TOC as normal labels,
9678         to match RTL.
9679         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
9680         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
9681         (create_TOC_reference): Prototype only when RTX_CODE is defined.
9682         * rs6000.md (movsi): Only use create_TOC_reference on
9683         symbols in the constant pool that really are TOC references.
9684
9685         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
9686         * rs6000.c (rs6000_reorg): Delete.
9687         * rs6000-protos.h (rs6000_reorg): Delete.
9688
9689         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
9690
9691         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
9692
9693         * aix.h (SETUP_FRAME_ADDRESSES): Define.
9694         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
9695         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
9696         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
9697         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
9698         rs6000_aix_emit_builtin_unwind_init.
9699         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
9700         rs6000_emit_eh_toc_restore on AIX.
9701         (return_eh_si): Use r2.
9702         (return_eh_di): Use r2.
9703
9704         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
9705         since we're breaking binary compatibility anyway.
9706
9707         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9708
9709         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
9710         constant_pool_expr_p): Declare them.
9711         (constant_pool_expr_p): Declare it.
9712         * config/rs6000/rs6000.c (toc_label_name): Define.
9713         (rs6000_override_options): Set toc_label_name.
9714         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
9715         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
9716         uses_TOC): New functions.
9717         (print_operand): Delete old '*' case.
9718         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
9719         and strip off rtl for TOC before calling output_addr_const.
9720         (rs6000_emit_load_toc_table): Use toc_label_name.
9721         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
9722         the default.
9723         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
9724         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
9725         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
9726         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
9727         into explicit TOC_REGISTER offsets.
9728         (TOC_REGISTER): New macro.
9729         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
9730         TARGET_TOC to reference TOC_REGISTER.
9731         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
9732         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
9733         uses_TOC before emitting label references.
9734
9735         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9736
9737         * rs6000.md (stack_tie): Fix warning.
9738
9739         * eabi-ctors.c: Use 'asm' names for the start/end variables,
9740         to handle -fleading-underscore.
9741         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
9742         (USER_LABEL_PREFIX): New macro.
9743         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
9744         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
9745         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
9746         call-linux can use the same multilibs.
9747         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
9748         and call-linux multilibs.  Do multilib with -fleading-underscore.
9749         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
9750         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
9751         to call-aix.
9752
9753         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
9754         have MASK_SOFT_FLOAT set.
9755         (CPP_FLOAT_DEFAULT_SPEC): New macro.
9756         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
9757         CPP_FLOAT_DEFAULT_SPEC.
9758
9759         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
9760         * rs6000.md: Whitespace change.
9761         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
9762         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
9763
9764         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9765
9766         * rs6000.md (eh_epilogue): New expander.
9767         (eh_reg_restore): New expand/split/insn combination.
9768         (return_eh_si): New insn.
9769         (return_eh_di): New insn.
9770
9771         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
9772         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
9773         * eabi-ctors.c (__do_global_ctors): Register this object's
9774         frame.  Clean up.  Call atexit() after the constructors.
9775         (__do_global_dtors): Deregister this object's frame.  Clean up.
9776         Allow for recursive calls to exit().
9777         * rs6000.c (fixuplabelno): New variable.
9778         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
9779         TARGET_RELOCATABLE, it slows down exec() under linux.
9780         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
9781
9782         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
9783         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
9784         (ASM_OUTPUT_DWARF_DELTA2): New macro.
9785         (ASM_OUTPUT_DWARF_DELTA4): New macro.
9786         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
9787         (ASM_OUTPUT_DWARF_ADDR): New macro.
9788         (ASM_OUTPUT_DWARF_DATA4): New macro.
9789         (ASM_OUTPUT_DWARF_DATA2): New macro.
9790         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
9791         (ASM_OUTPUT_DWARF_OFFSET): New macro.
9792         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
9793
9794         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
9795
9796         * rs6000.c (rs6000_sr_alias_set): New variable.
9797         (rs6000_override_options): Initialise rs6000_sr_alias_set.
9798         (rs6000_emit_stack_tie): New function.
9799         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
9800         in a way that dwarf2out can understand.
9801         (rs6000_frame_related): New function.
9802         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
9803         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
9804         Use rs6000_emit_stack_tie when needed.
9805         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
9806         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
9807         * rs6000.md (stack_tie): New insn.
9808         (return_internal_si): Allow return value to be in the count
9809         register.
9810         (return_internal_di): Likewise.
9811
9812         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
9813
9814         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
9815
9816         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
9817
9818         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
9819
9820         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
9821
9822         * rs6000.md (stmw): Use the right POWER opcode.
9823         (lmw): Likewise.
9824
9825         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9826
9827         * rs6000-protos.h: New file.
9828
9829         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
9830
9831         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
9832         warnings.
9833
9834         * sysv4.h: Likewise.
9835
9836         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
9837
9838         * ../../configure.in: Delete powerpcle-*-winnt*
9839         and powerpcle-*-pe|powerpcle-*-cygwin*.
9840         * ../../configure: Regenerated.
9841         * cygwin.h: Delete.
9842         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
9843         (TARGET_WINDOWS_NT): Delete.
9844         (ABI_NT): Delete.
9845         (CALL_NT_DLLIMPORT): Delete.
9846         Delete NT-specific code.
9847         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
9848         * win-nt.h: Delete.
9849         * t-winnt: Delete.
9850         * nt-ci.asm: Delete.
9851         * nt-cn.asm: Delete.
9852         * ntstack.asm: Delete.
9853
9854         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9855
9856         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
9857         (ASM_FILE_START): Likewise.
9858         (ASM_DECLARE_FUNCTION_NAME): Likewise.
9859         (ASM_OUTPUT_LABELREF): Likewise.
9860         (ASM_OUTPUT_SKIP): Likewise.
9861         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
9862         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
9863         (ASM_OUTPUT_CASE_LABEL): Likewise.
9864         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
9865         (ASM_OUTPUT_ASCII): Likewise.
9866
9867         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
9868
9869         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
9870         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
9871         increment rs6000_pic_labelno here.
9872         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
9873         and increment rs6000_pic_labelno here.
9874
9875         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
9876
9877         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
9878         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
9879         allocation knows (reg) is dead before the insn.
9880
9881         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
9882
9883         * rs6000.md (movsi_to_cr): Correct typo in output template.
9884
9885         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
9886
9887         * rs6000.c (rs6000_pic_labelno): Always define.
9888         (rs6000_pic_func_labelno): Delete.
9889         (lmw_operation): Check for a zero base register,
9890         which doesn't mean what we want.
9891         (stmw_operation): New function.
9892         (print_operand): Define new 'l' modifier.
9893         (rs6000_stack_info): We must save all 64 bits of the registers
9894         if TARGET_POWERPC64.
9895         (rs6000_output_load_toc_table): Delete.
9896         (rs6000_emit_load_toc_table): New function.
9897         (rs6000_allocate_stack_space): Delete.
9898         (rs6000_emit_allocate_stack): New function.
9899         (rs6000_emit_prologue): New function.
9900         (output_prolog): Use rs6000_emit_prologue.
9901         (rs6000_emit_epilogue): Change a few variable names to be
9902         more accurate.  Restore all 64 bits of the registers if
9903         TARGET_POWERPC64.  Only restore the FP registers which were used
9904         if they are being saved/restored one-at-a-time.
9905         (output_mi_thunk): Delete inefficient code generation.
9906         (output_function_profiler): Don't use rs6000_output_load_toc_table.
9907         * rs6000.h: Declare rs6000_emit_load_toc_table,
9908         rs6000_allocate_stack_space, stmw_operation.  Don't declare
9909         rs6000_output_load_toc_table.
9910         * rs6000.md (elf_high): Allow register 0, but discourage it
9911         heavily.
9912         (elf_low): Support loading into register 0.
9913         (load_toc_aix_si): New pattern.
9914         (load_toc_aix_di): New pattern.
9915         (load_toc_v4_pic_si): New pattern.
9916         (load_toc_v4_pic_di): New pattern.
9917         (load_toc_v4_PIC_1): New pattern.
9918         (load_toc_v4_PIC_1b): New pattern.
9919         (load_toc_v4_PIC_2): New pattern.
9920         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
9921         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
9922         (prologue): New expander.
9923         (movesi_from_cr): New pattern.
9924         (stmw): New pattern.
9925         (save_fpregs_si): New pattern.
9926         (save_fpregs_di): New pattern.
9927
9928         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9929
9930         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
9931         (movdi): Likewise.
9932         (movhi): Likewise.
9933         (movqi): Likewise.
9934
9935         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9936
9937         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
9938         at present.
9939         (movsi_got_internal): Likewise.
9940         (movsi_got_internal+1): Likewise.
9941         (set_sp): 'unspec 7' does a SImode clobber.
9942
9943         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9944
9945         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
9946         allocate a stack temporary.
9947         (floatsidf2_internal): Likewise.
9948         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
9949         with unspec.
9950         (floatunssidf2): Don't use the fpmem "register", just
9951         allocate a stack temporary.
9952         (floatunssidf2_internal): Likewise.
9953         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
9954         with unspec.
9955         (floatsidf2_loadaddr): Delete.
9956         (floatsidf2_store1): Delete.
9957         (floatsidf2_store2): Delete.
9958         (floatsidf2_load): Delete.
9959         (fix_truncdfsi2): Don't use the fpmem "register", just
9960         allocate a stack temporary.
9961         (fix_truncdfsi2_internal_si): Delete.
9962         (fix_truncdfsi2_internal_di): Delete.
9963         (fix_truncdfsi2_internal): New insn.
9964         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
9965         (fix_truncdfsi2_store): Delete.
9966         (fix_truncdfsi2_load): Delete.
9967         (fctiwz): Produce gen_fctiwz.
9968
9969         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
9970
9971         * eabi.h (INVOKE__main): Define.
9972         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
9973         specially.
9974         (rs6000_emit_prologue): Likewise.
9975         * rs6000.h (struct rs6000_stack): Don't keep track of whether
9976         this is the main program.
9977
9978         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9979
9980         * rs6000.c (rs6000_va_arg): Delete some unused variables.
9981
9982         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9983
9984         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
9985         goes after the argument.
9986
9987         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
9988
9989         * rs6000.md: Document 'unspec' values used.
9990         (epilogue): New expander.
9991         (movesi_to_cr_one): New expander.
9992         (movesi_to_cr and following): New pattern.
9993         (lmw): New pattern.
9994         (return_internal_si): New pattern.
9995         (return_internal_di): New pattern.
9996         (return_and_restore_fpregs_si): New pattern.
9997         (return_and_restore_fpregs_di): New pattern.
9998         * rs6000.h: Declare new functions.
9999         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
10000         rather than rs6000_calls_p.
10001         (rs6000_makes_calls): Delete.
10002         (lmw_operation): New function.
10003         (mtcrf_operation): New function.
10004         (rs6000_emit_epilogue): New function.
10005         (output_epilog): Call rs6000_emit_epilogue and final if
10006         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
10007
10008         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
10009
10010         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
10011         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
10012         * aix.h (SUBTARGET_SWITCHES): Document switches.
10013         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
10014         sched-prolog and sched-epilog the same.  Document all the
10015         switches.
10016         (TARGET_OPTIONS): No longer allow -mdebug-.
10017
10018         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
10019
10020         * rs6000.h (ASM_FILE_END): Move to aix.h.
10021         (EXTRA_SECTIONS): Move to aix.h.
10022         (READONLY_DATA_SECTION): Move to aix.h.
10023         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
10024         (SELECT_SECTION): Move to aix.h.
10025         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
10026         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
10027         (LINK_REGISTER_REGNUM): New definition.
10028         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
10029         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
10030         AIX and SVR4.
10031         * sysv4.h: Delete the code between the inclusion of rs6000.h
10032         and svr4.h.
10033         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
10034         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
10035         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
10036         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
10037         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
10038         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
10039         (fix_truncdfsi2_internal_di): New pattern.
10040         (fix_truncdfsi2_store): The second arg here is Pmode too.
10041         (fix_truncdfsi2_load): The second arg here is Pmode too.
10042         (tablejumpdi): Now that switch tables hold only SImode values,
10043         gcc needs to know how to add them to the pc which is DImode.
10044         * rs6000.c (rs6000_stack_info): Use symbolic name for
10045         LINK_REGISTER_REGNUM.
10046         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
10047         (output_toc): Delete unused variables s1 and s2.
10048         (output_ascii): Use fputs not fprintf on a variable string.
10049
10050         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
10051
10052         * rs6000.c (processor_target_table): Add power3 as alias for 630.
10053         * aix43.h: Revert Aug 2 change.
10054         (HAS_INIT_SECTION): Define, not visible yet.
10055         (LD_INIT_SWITCH): Define, not visible yet.
10056         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10057
10058         2000-01-04  Joel Sherrill (joel@OARcorp.com>
10059
10060         * config/rs6000/rtems.h: Include config/rtems.h.
10061
10062         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10063
10064         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10065         (SLOW_UNALIGNED_ACCESS): Define.
10066         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10067         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10068         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10069         (toc_section): Likewise and .toc pseudo-op.
10070         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10071         64-bit mode.
10072         (TEXT_SECTION_ASM_OP): Likewise.
10073         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10074         32-bit offsets.
10075
10076         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10077
10078         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
10079         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10080         compiling libgcc2.
10081
10082         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10083
10084         * rs6000.h: Move more stuff from here...
10085         * aix.h: to here.
10086         * sysv4.h: Cleanup accordingly.
10087         * netware.h: Likewise
10088
10089         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10090
10091         * rs6000.h: Continue cleanup.
10092         * aix.h: Likewise.
10093         * lynx.h: Likewise.
10094         * netware.h: Likewise.
10095         * sol2.h: Likewise.
10096         * sysv4.h: Likewise.
10097         * win-nt.h: Likewise.
10098
10099         * rs6000.h (TARGET_SWITCHES): Add descriptions.
10100         (TARGET_OPTIONS): Likewise.
10101
10102         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
10103         (SUBTARGET_OPTIONS): Likewise.
10104
10105         * rs6000.md: Fix compile time warnings.
10106
10107         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10108
10109         vxworks patches from the Cygnus tree originally by
10110         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
10111         <vmakarov@cygnus.com>.
10112         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
10113         (ENDFILE_SPEC): Likewise.
10114         (LIB_VXWORKS_SPEC): New macro.
10115         (STARTFILE_VXWORKS_SPEC): New macro.
10116         (ENDFILE_VXWORKS_SPEC): New macro.
10117         (LINK_START_VXWORKS_SPEC): New macro.
10118         (LINK_OS_VXWORKS_SPEC): New macro.
10119         (CPP_OS_VXWORKS_SPEC): New macro.
10120         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
10121         * vxppc.h: Rewrite to use proper configuration method.
10122         * vxppcle.h: New file.
10123         * ../../configure.in: Add powerpcle-wrs-vxworks*.
10124         * ../../configure: Rebuilt.
10125
10126         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10127
10128         Lots of changes to rs6000.h, sysv4.h, aix.h,
10129         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
10130         with the aim that rs6000.h is the first header
10131         included and the others override it.
10132         * aix.h: New file.
10133
10134         * x-aix41-gld: Remove.
10135         * x-aix43: Remove.
10136         * x-aix41: Remove target-specific switches, and don't specify
10137         -Wl,-bbigtoc as we don't need it any more.
10138         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
10139         Use t-aix43 for AIX 4.3 and above.
10140         * ../../configure: Regenerated.
10141
10142         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
10143         options, that don't do anything yet.
10144         (MASK_SCHED_PROLOG): New macro.
10145         (MASK_SCHED_EPILOG): New macro.
10146         (TARGET_SCHED_PROLOG): New macro.
10147         (TARGET_SCHED_EPILOG): New macro.
10148
10149         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10150
10151         * rs6000.c: Correct comment, the `minimal' TOCs are actually
10152         one per translation unit, not one per function.
10153         (output_toc): Also do duplicate constant elimination
10154         for per-translation-unit TOCs.
10155
10156         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
10157         a comment explaining _exactly_ when this pattern gets used.
10158         (builtin_setjmp_receiver): New pattern for better clarity.
10159         (init_v4_pic): Move it into a section dealing with TOC registers.
10160
10161         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
10162
10163         * rs6000.c (toc_hash_table): New variable.
10164         (rs6000_hash_constant): New function.
10165         (toc_hash_function): New function.
10166         (toc_hash_eq): New function.
10167         (toc_hash_mark_entry): New function.
10168         (toc_hash_mark_table): New function.
10169         (output_toc): Don't output duplicate TOC entries in
10170         a single file.
10171         (rs6000_add_gc_roots): Add the hash table as a GC root.
10172         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
10173         where they clearly shouldn't be.  This may need to be fixed
10174         later when there is a GNU ar for AIX.
10175         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
10176         Don't define BOOT_LDFLAGS as it is now not necessary.
10177
10178         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
10179
10180         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
10181         for va_list on AIX.  Use unsigned_char_type_node rather than
10182         constructing our own version on svr4.
10183
10184         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
10185
10186         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
10187         since patently it's not.
10188
10189         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
10190
10191         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
10192         define_expand/define_insn pair, and handle restore of the
10193         SVR4 -fpic register.
10194
10195 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
10196
10197         * acconfig.h (HAVE_GAS_WEAK): New define.
10198         * configure.in (assembler weak support): Check for .weak support.
10199         * config.in, configure: Rebuilt.
10200         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
10201         HAVE_GAS_WEAK is defined.
10202
10203 2000-03-15  Nick Clifton  <nickc@cygnus.com>
10204
10205         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
10206         asm_fprintf().
10207
10208 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
10209
10210         * cppfiles.c (open_include_file): New function.
10211         (find_include_file, cpp_read_file): Use it.
10212
10213 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
10214
10215         * cpphash.c (dump_hash_helper): Take the slot, not the element.
10216
10217 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
10218
10219         * flow.c (verify_flow_info): Check for unconditional return.
10220
10221 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
10222
10223         * config/ia64/ia64.md (restore_stack_nonlocal): New.
10224         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
10225         (__ia64_restore_stack_nonlocal): New.
10226         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
10227
10228 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10229
10230         * cpphash.c (collect_formal_parameters): Do not complain about
10231         parameter names that just start with `__VA_ARGS__'.
10232
10233 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
10234
10235         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
10236         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
10237         * i386.c (pentiumpro_cost): Set mul cost to 4.
10238         (x86_use_movx): Set for PPro.
10239
10240 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
10241
10242         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
10243         STACK_BOUNDARY for empty frames now.
10244
10245 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
10246
10247         * stor-layout.c (layout_union): Remove.
10248         (layout_union_field): New function, split out from layout_union.
10249         (finish_union_layout): Likewise.
10250         (layout_field): Handle unions by calling layout_union_field.
10251         (finish_record_layout): Handle unions.
10252         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
10253         QUAL_UNION_TYPE handling.
10254
10255 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
10256
10257         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
10258         end of basic block is jump_insn, not barrier; use create_basic_block
10259         instead of creating basic block by hand.
10260
10261 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
10262
10263         * flow.c (reorder_basic_blocks): Account for barriers when writing
10264         over NEXT_INSN (last_bb->end).
10265         (verify_flow_info): Add check for missing barriers.
10266
10267 2000-03-14  Greg McGary  <gkm@gnu.org>
10268
10269         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
10270         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
10271         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
10272         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
10273         __unbounded, __unbounded__): New keywords.
10274         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
10275         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
10276         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
10277
10278 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10279
10280         * cselib.h: New file.
10281         * alias.c: Include "cselib.h".
10282         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
10283         MEMs as two new arguments.
10284         (get_addr): New static function.
10285         (find_base_term): Handle VALUEs.
10286         (memrefs_conflict_p): Likewise.
10287         (true_dependence): Call get_addr on the addresses.
10288         Call fixed_scalar_and_varying_struct_p with addresses that have been
10289         passed through get_addr and canon_rtx.
10290         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
10291         with true_dependence.
10292         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
10293         * loop.c: Include "cselib.h".
10294         (load_mems): Process extended basic block that enters the loop with
10295         cselib.  Use that information to change initialization of the shadow
10296         register so that a constant equivalence is seen by later passes.
10297         * reload1.c: Include "cselib.h".
10298         (reload_cse_invalidate_regno): Delete function.
10299         (reload_cse_mem_conflict_p): Likewise.
10300         (reload_cse_invalidate_mem): Likewise.
10301         (reload_cse_invalidate_rtx): Likewise.
10302         (reload_cse_regno_equal_p): Likewise.
10303         (reload_cse_check_clobber): Likewise.
10304         (reload_cse_record_set): Likewise.
10305         (reg_values): Delete static variable.
10306         (invalidate_regno_rtx): Likewise.
10307         (reload_cse_delete_noop_set): New static function.
10308         (reload_cse_simplify): New static function, broken out of
10309         reload_cse_regs_1.
10310         (reload_cse_noop_set_p): Delete unused argument INSN.
10311         Just call rtx_equal_for_cselib_p on set source and destination.
10312         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
10313         reload_cse_delete_noop_set.  Delete code to keep track of values; use
10314         cselib functions instead.  Delete code to push/pop obstacks.
10315         (reload_cse_simplify_set): Use cselib to find equivalent values.
10316         Delete code to push/pop obstacks.
10317         (reload_cse_simplify_operands): Likewise.
10318         * rtl.def (VALUE): New rtx code.
10319         * rtl.h (union rtunion_def): New elt rt_cselib.
10320         (X0CSELIB, CSELIB_VAL_PTR): New macros.
10321         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
10322         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
10323         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
10324         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
10325         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
10326         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
10327         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
10328         cselib_record_set, cselib_record_sets): New static functions.
10329         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
10330         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
10331         references_value_p): New functions.
10332         (MAX_USELESS_VALUES, REG_VALUES): New macros.
10333         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
10334         n_useless_values, reg_values, callmem, cselib_obstack,
10335         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
10336         New static variables.
10337         * varray.h (union varray_data_tag): New elt te.
10338         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
10339         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
10340         dependencies.
10341
10342 2000-03-14  Nick Clifton  <nickc@cygnus.com>
10343
10344         * gcc.c (do_spec_1): Catch the case where %* is used in a
10345         substitution pattern, but it has not been initialised.
10346         Issue a meaningful error message if an unrecognised operator
10347         is encountered in a spec string.
10348
10349 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
10350
10351         * function.c (prepare_function_start): Correctly initialize
10352         cfun->stack_alignment_needed.
10353
10354 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
10355
10356         * cppfiles.c (find_include_file): Don't assume nshort is a
10357         substring of name.
10358
10359 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
10360
10361         * configure.in (hppa configurations): Add pa32-regs.h to the
10362         list of tm files as appropriate.
10363         * configure: Rebuilt.
10364         * pa.c (compute_frame_size): Remove explicit knowledge about FP
10365         register numbering.
10366         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
10367         (fmpyaddoperands, fmpysuboperands): Likewise.
10368         * pa.h: Remove various definitions which depend on knowing
10369         how registers are numbered.
10370         * pa32-regs.h: New file with PA32 register numbering specific
10371         definitions.
10372
10373 2000-03-14  Richard Henderson  <rth@cygnus.com>
10374
10375         * regmove.c (combine_stack_adjustments): New.
10376         (stack_memref_p, single_set_for_csa): New.
10377         (free_csa_memlist, record_one_stack_memref): New.
10378         (try_apply_stack_adjustment): New.
10379         (combine_stack_adjustments_for_block): New.
10380         * rtl.h (combine_stack_adjustments): Declare.
10381         * toplev.c (rest_of_compilation): Call it.
10382
10383         * i386.md: Revert 2000-01-16 change.
10384
10385 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10386
10387         * gccbug.in: Add web category, gcc specific classes.
10388
10389 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
10390
10391         * stor-layout.c (finalize_record_size): Fix typo.
10392
10393 2000-03-14  Stan Shebs  <shebs@apple.com>
10394
10395         * c-typeck.c (c_alignof): Error on incomplete types.
10396         * extend.texi (Alignment): Document this.
10397
10398 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10399
10400         * cppfiles.c: Include mkdeps.h.
10401         (find_include_file, read_include_file): Remove _cpp_ prefix
10402         from name, make static.
10403         (_cpp_execute_include): New function, broken out of
10404         do_include.
10405
10406         * cpplib.c: Don't include mkdeps.h.
10407         (struct directive): Remove type field. Reorder entries.  The
10408         function takes only one argument.
10409         (struct if_stack): Make type field an int.
10410         (directive_table): Rename to dtable.  Generate it, the
10411         prototypes of the directive handlers, and the enum for the
10412         directive numbers, from a template macro.
10413         (do_ifndef, do_include_next, do_import): New functions.
10414         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
10415         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
10416         do_ident, do_assert, do_unassert, do_sccs): Take only one
10417         argument.
10418         (do_sccs): Define always, but alter behavior based on
10419         SCCS_DIRECTIVE.
10420         (_cpp_handle_directive, consider_directive_while_skipping):
10421         Restructure for new directive table layout.
10422
10423         (pass_thru_directive): Take a directive number, not a pointer
10424         to a struct directive.
10425         (parse_include): New function, broken out of do_include.
10426         (do_include, do_import, do_include_next): Use parse_include
10427         and _cpp_execute_include.
10428         (do_elif, do_else): Test for T_ELSE specifically when checking
10429         for #elif/#else after #else.
10430         (parse_ifdef): New function, broken out of do_ifdef.
10431         (validate_else): Expect a name arg without a leading #.
10432         (if_directive_name): Delete.
10433         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
10434         directive handlers with only one argument.
10435
10436         * cpphash.h: Update prototypes.
10437         (enum node_type): Remove entries for directives.
10438         * Makefile.in: Update dependencies.
10439
10440         * cpphash.c (dump_hash_helper): Only dump nodes of type
10441         T_MACRO.  Emit a newline after each definition.
10442
10443 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10444
10445         * gccbug.in: New file.
10446         * configure.in (all_outputs): Add gccbug.
10447         * Makefile.in (install-common): Install gccbug.
10448         (GCCBUG_INSTALL_NAME): New variable.
10449         * configure: Rebuilt.
10450
10451 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
10452
10453         * function.c (put_var_into_stack): Use type_for_mode to calculate
10454         part_type.  Use MEM_SET_IN_STRUCT_P.
10455         * expr.c (store_field): Handle CONCAT.
10456         (store_constructor): Use fields_length.
10457         * tree.c (fields_length): New fn.
10458         * tree.h: Declare it.
10459
10460 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10461
10462         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
10463         (cpplex.o): New target.
10464         * po/POTFILES.in: Add cpplex.c.
10465
10466         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
10467         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
10468         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
10469         skip_block_comment, skip_line_comment, skip_comment,
10470         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
10471         _cpp_parse_name, skip_string, parse_string,
10472         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
10473         _cpp_get_directive_token, find_position,
10474         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
10475         (maybe_macroexpand, _cpp_lex_token): New functions.
10476
10477         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
10478         parse_goto_mark): Delete.
10479         (_cpp_handle_eof): New function.
10480         (_cpp_handle_directive): Rename from handle_directive.
10481         (_cpp_output_line_command): Rename from output_line_command.
10482         (do_if, do_elif): Call _cpp_parse_expr directly.
10483         * cppfiles.c (_cpp_read_include_file): Don't call
10484         init_input_buffer here.
10485         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
10486         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
10487         here; pop the token_buffer and skip the rest of the line here.
10488         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
10489         here.
10490
10491         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
10492         Define here.
10493         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
10494         CPP_GOTO_MARK): New macros.
10495         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
10496         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
10497         _cpp_read_and_prescan, _cpp_init_input_buffer,
10498         _cpp_grow_token_buffer, _cpp_get_directive_token,
10499         _cpp_handle_directive, _cpp_handle_eof,
10500         _cpp_output_line_command): Prototype them here.
10501         * cpplib.h (enum cpp_token): Add CPP_MACRO.
10502         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
10503         quote_string, output_line_command): Remove.
10504
10505 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
10506
10507         * stmt.c (expand_end_case): RANGE may be signed, and when checking
10508         whether it is too large we must also verify that it isn't negative.
10509
10510 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
10511
10512         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
10513         (movsi_zero_liveg0): Remove.
10514         (movsf_insn_novis_liveg0): Remove.
10515         (negsi2): Remove.
10516         (negsi2_not_liveg0): Rename to negsi2.
10517         (one_cmplsi2): Remove.
10518         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
10519         (one_cmplsi2_liveg0): Remove.
10520         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
10521         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
10522         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
10523         (PREDICATE_CODES): Remove zero_operand.
10524         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
10525         TARGET_BROKEN_SAVERESTORE.
10526         (zero_operand): Remove.
10527         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
10528         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
10529         options.
10530         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
10531         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10532         TARGET_BROKEN_SAVERESTORE): Remove.
10533         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10534         Remove.
10535         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10536         Remove.
10537         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10538         Remove.
10539
10540         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
10541
10542 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10543
10544         * cpplib.c (do_pragma_implementation): Fix off-by-one error
10545         truncating a string.  Don't assume tokens are nul terminated.
10546         Problem noted by Andreas Jaeger <aj@suse.de>
10547
10548 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
10549
10550         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
10551         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
10552         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
10553
10554 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
10555
10556         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
10557         STRUCTURE_SIZE_BOUNDARY.
10558
10559 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
10560
10561         * tree.h (record_layout_info_s): New structure.
10562         (record_layout_info): New type.
10563         (new_record_layout_info): New function.
10564         (layout_field): Likewise.
10565         (finish_record_layout): Likewise.
10566         * stor-layout.c (layout_record): Remove.
10567         (new_record_layout_info): New function.
10568         (layout_field): New function, broken out from layout_record.
10569         (finalize_record_size): Likewise.
10570         (compute_record_mode): Likewise.
10571         (finalize_type_size): New function, broken out from layout_type.
10572         (finish_record_layout): Likewise.
10573         (layout_type): Use them.
10574
10575 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
10576
10577         * cpphash.c: Don't include version.h.
10578         (special_symbol) [case T_VERSION]: Look for the string in
10579         hp->value.cpval; don't use version_string.
10580         * cppinit.c (initialize_builtins): Set hp->value.cpval for
10581         __VERSION__ to version_string.
10582         * Makefile.in (cpphash.o): Update deps.
10583
10584 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
10585
10586         Convert cpplib to use libiberty/hashtab.c.
10587
10588         * cpplib.h (struct cpp_reader): Make hashtab and
10589         all_include_files of type 'struct htab *'.  Delete HASHSIZE
10590         and ALL_INCLUDE_HASHSIZE macros.
10591
10592         * cpphash.h: Update prototypes.
10593         (struct hashnode): Remove next, prev, and bucket_hdr members.
10594         Make length a size_t.  Add hash member.
10595         (struct ihash): Remove next member.  Add hash member.  Make
10596         name a flexible array member.
10597
10598         * cppfiles.c: Include hashtab.h.
10599         (include_hash): Delete.
10600         (IHASHSIZE): New macro.
10601         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
10602         (cpp_included): Do the hash lookup here.
10603         (_cpp_find_include_file): Rewrite.
10604         (cpp_read_file): Put the "fake" hash entry into the hash
10605         table.  Honor the control_macro, if it turns out we've seen
10606         the file before.  Don't push the buffer here.
10607         (_cpp_read_include_file): Push the buffer here.
10608         (OMODES): New macro.  Use it whenever we call open(2).
10609
10610         * cpphash.c: Include hashtab.h.
10611         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
10612         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
10613         _cpp_lookup_slot): New functions.
10614         (HASHSIZE): new macro.
10615         (hashf, _cpp_install, _cpp_delete_macro): Delete.
10616         (_cpp_lookup): Use hashtab.h routines.
10617
10618         * cppinit.c: Include hashtab.h.
10619         (cpp_reader_init): Call _cpp_init_macro_hash and
10620         _cpp_init_include_hash.  Don't allocate hashtab directly.
10621         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
10622         pfile->all_include_files.
10623         (initialize_builtins): Use _cpp_make_hashnode and
10624         htab_find_slot to add hash entries.
10625         (cpp_finish): Just call _cpp_dump_macro_hash.
10626         * cpplib.c: Include hashtab.h.
10627         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
10628         create hash entries.
10629         (do_pragma_poison, do_assert): Likewise.
10630         (do_include): Don't push the buffer here.  Don't increment
10631         system_include_depth unless _cpp_read_include_file succeeds.
10632         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
10633         or htab_remove_elt.
10634         (do_pragma_implementation): Use alloca to create copy.
10635
10636         * Makefile.in: Update dependencies.
10637
10638 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10639
10640         * cppinit.c (cl_directive_handler): More K&R fixing.
10641
10642 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
10643
10644         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
10645         STACK_BOUNDARY.
10646         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
10647
10648 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10649
10650         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
10651         Change from char[] to macros.
10652
10653 2000-03-12  Neil Booth  <NeilB@earthling.net>
10654
10655         * cppinit.c (cpp_start_read): Update indirect function
10656         call to K&R C.
10657
10658 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
10659
10660         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
10661         entry.
10662
10663         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
10664         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
10665
10666 2000-03-11  Neil Booth  <NeilB@earthling.net>
10667
10668         * cppinit.c (struct pending option): Replace undef with a
10669         pointer to a directive handling routine.
10670         (struct cpp_pending): Replace separate assert_ and define_
10671         lists with one directive_ list.
10672         (new_pending_define): Rename new_pending_directive. Extra
10673         argument is the directive's handling routine.
10674         (handle_option): Update to use new_pending_directive.
10675
10676 2000-03-11  Neil Booth  <NeilB@earthling.net>
10677
10678         * cppfiles.c (file_cleanup, _cpp_find_include_file,
10679         remap_filename, _cpp_read_include_file, actual_directory,
10680         hack_vms_include_specification): Replace bcopy(), index() etc
10681         calls.  Add casts to some allocations.  Make some variables
10682         pointers to const [unsigned] char.
10683         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
10684         collect_formal_parameters): Similarly.
10685         * cppinit.c (struct pending_option, append_include_chain,
10686         cpp_options_init, cpp_reader_init, initialize_standard_includes,
10687         cpp_start_read, new_pending_define, handle_option): Similarly.
10688         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
10689         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
10690         do_pragma_implementation, detect_if_not_defined,
10691         do_ifdef, skip_if_group, cpp_get_token, parse_string,
10692         do_assert, do_unassert): Similarly.
10693         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
10694         function prototypes.
10695         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
10696
10697 2000-03-10  Richard Henderson  <rth@cygnus.com>
10698
10699         * builtins.c (expand_builtin_strlen): Revert last change.
10700         Use emit_insn_before if we're at the beginning of a sequence.
10701
10702 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
10703
10704         * builtins.c (expand_builtin_strlen): Make sure that we have something
10705         at the beginning of the sequence.
10706
10707         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
10708         deferred inlines.
10709
10710         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
10711
10712 2000-03-10  Richard Henderson  <rth@cygnus.com>
10713
10714         * except.c (can_throw): Use INTVAL on a CONST_INT.
10715         (reachable_handlers): Likewise.
10716         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
10717
10718 2000-03-10  Andreas Jaeger  <aj@suse.de>
10719
10720         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
10721         MD_STARTFILE_PREFIX since those are not needed on linux.
10722         (ASM_FILE_START): New, from mips/gnu.h.
10723
10724 2000-03-09  Richard Henderson  <rth@cygnus.com>
10725             Alex Samuel  <samuel@codesourcery.com> and others
10726
10727         * Makefile.in (ssa.o): New rule.
10728         (OBJS): Add ssa.o.
10729         (STAGESTUFF): Add *.ssa and *.ussa.
10730         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
10731         * rtl.def (PHI): New RTL expression.
10732         * rtl.h (clear_log_links): New declaration.
10733         (convert_to_ssa): Likewise.
10734         (convert_from_ssa): Likewise.
10735         * flow.c (split_edge): If the entry node falls through to the
10736         split edge's source block, split the entry edge.
10737         (clear_log_links): New function.
10738         * toplev.c (ssa_dump): New variable.
10739         (flag_ssa): Likewise.
10740         (f_options): Add "ssa".
10741         (compile_file): Create SSA dump files.
10742         (rest_of_compilation): Go to and from SSA if enabled.
10743         (decide_d_option): Handle -de for SSA dump files.
10744         * ssa.c: New file.
10745
10746 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
10747
10748         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
10749         same as VAR_DECL.
10750
10751 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
10752
10753         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
10754
10755 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
10756
10757         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
10758         (MD_STARTFILE_PREFIX_1): New macro.
10759
10760 2000-03-09  Robert Lipe  <robertl@sco.com>
10761
10762         * config/ia64/ia64.c: Include system.h.
10763
10764 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
10765
10766         * except.c (nothrow_function_p): If -fno-exceptions, just return.
10767         (init_eh_nesting_info): Likewise.
10768
10769         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
10770         (TREE_NOTHROW): Rename from TREE_RAISES.
10771         * toplev.c (rest_of_compilation): Set it.
10772         * print-tree.c (print_node): Adjust.
10773         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
10774         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
10775         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
10776         REG_EH_REGION note as appropriate.
10777         (libfunc_nothrow): New fn.
10778         (emit_library_call, emit_library_call_value): Use it.
10779         (expand_call): Check TREE_NOTHROW.
10780
10781         * varasm.c (make_decl_rtl): Skip initial '*' when setting
10782         DECL_ASSEMBLER_NAME.
10783
10784 2000-03-09  Andreas Jaeger  <aj@suse.de>
10785
10786         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
10787         (TARGET_MEM_FUNCTIONS): Define.
10788
10789 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
10790
10791         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
10792
10793         * except.c (can_throw): See through a SEQUENCE.
10794         (nothrow_function_p): New fn.
10795         * except.h: Declare it.
10796         * function.c (current_function_nothrow): New var.
10797         (prepare_function_start): Initialize it.
10798         * output.h: Declare it.
10799         * toplev.c (rest_of_compilation): Set it.
10800         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
10801
10802 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
10803
10804         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
10805         match.  (cpp_compare_defs): Count the nul separator when
10806         advancing over argument names.
10807
10808 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
10809
10810         * recog.c (preprocess_constraints): Matching constraints affect
10811         same alternative/different operand, not same operand/different
10812         alternative.
10813
10814         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
10815         register and a constant specially.
10816
10817 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10818
10819         * libgcc2.h: New file.
10820         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
10821
10822 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
10823
10824         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
10825         * configure: Regenerate.
10826         * config/ia64: New.
10827
10828 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
10829
10830         * Makefile.in (LIBCPP_DEPS): New macro.
10831         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
10832         it to declare deps.
10833         * cpperror.c: Include cpphash.h.
10834         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
10835         dingleberry.
10836         (lex): Don't use CPP_WARN_UNDEF.
10837         (_cpp_parse_expr): Return an int, the truth value.
10838         * cppfiles.c: Include cpphash.h.
10839         (_cpp_merge_include_chains): Move to cppinit.c and make static.
10840         * cppinit.c (include_defaults_array): Disentangle.
10841         (cpp_cleanup): Don't free the if stack here.
10842         (cpp_finish): Pop off all buffers, not just one.
10843         * cpplib.c (eval_if_expr): Return int.
10844         (do_xifdef): Rename do_ifdef.
10845         (handle_directive): Don't use CPP_PREPROCESSED.
10846         (cpp_get_token): Don't use CPP_C89.
10847         * fix-header.c: Don't use CPP_OPTIONS.
10848
10849         * cpplib.h: Move U_CHAR, enum node_type, struct
10850         file_name_list, struct ihash, is_idchar, is_idstart,
10851         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
10852         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
10853         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
10854         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
10855         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
10856         of _cpp_simplify_pathname, _cpp_find_include_file,
10857         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
10858         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
10859         cppinit.c.
10860         Change all uses of U_CHAR to be unsigned char instead.
10861         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
10862
10863 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
10864
10865         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
10866         (dwarf2out_begin_prologue): Set it.
10867         (output_call_frame_info): Don't emit EH unwind info for leaves.
10868
10869         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
10870         can occur outside of an EH region.
10871         * except.c: Correct comments about rethrow behavior.
10872         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
10873
10874 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
10875
10876         * flow.c (make_edges): Always call make_eh_edge for calls.
10877
10878 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
10879
10880         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
10881         (struct cpp_buffer): Remove fname and underflow fields.
10882         (struct cpp_reader): Remove get_token field.
10883         (struct include_hash): Rename to struct ihash.  Add typedef to
10884         IHASH.
10885         (struct if_stack): Remove fname field.
10886         (IF_STACK_FRAME): Rename to IF_STACK.
10887
10888         * cpperror.c (print_containing_files): Trust that there are no
10889         macro buffers below the top file buffer.
10890         * cppfiles.c: Replace all references to 'struct include_hash'
10891         with 'IHASH'.  Rename initialize_input_buffer to
10892         init_input_buffer.  Don't set or reference cpp_buffer->fname,
10893         use buffer->ihash->name instead.
10894         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
10895         not CPP_NULL_BUFFER.
10896         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
10897         IF_STACK_FRAME, IHASH not struct include_hash.
10898         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
10899         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
10900         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
10901         references to cpp_buffer->fname (delete entirely, or use
10902         ->ihash->name instead) and IF_STACK->fname.
10903         (cpp_push_buffer): Don't set new->underflow.
10904         (do_include): Use cpp_file_buffer.
10905
10906         * cpphash.c (collect_formal_parameters): Remove duplicate
10907         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
10908         used as a macro argument name.  Don't append "..." to namebuf
10909         for varargs macros.  After we're done scanning, go through
10910         namebuf and make it NUL separated, not comma separated.
10911         (_cpp_compare_defs): Remove register tag from variables.
10912         Expect defn->argnames to be NUL separated.
10913         (_cpp_dump_definition): Expect defn->argnames to be NUL
10914         separated and in forward order.
10915         * cpphash.h: Update documentation of argnames field.
10916
10917 2000-03-08  Richard Henderson  <rth@cygnus.com>
10918
10919         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
10920         to fail.  Don't pre-expand the source operand.
10921
10922         * i386.md (strlensi): Initialize eoschar and align before use.
10923
10924 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
10925
10926         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
10927         CONSTRUCTOR element.
10928
10929 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
10930
10931         * mips.c (mips_expand_prologue): If the last
10932         named argument is the vararg marker "va_list", treat it as
10933         an unnamed argument.
10934
10935 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
10936
10937         * dbxout.c (dbxout_parms): When correcting for promoted
10938         big-endian parameters, use the mode of the DECL_RTL rather
10939         than UNITS_PER_WORD.
10940
10941 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
10942
10943         * c-common.h (make_fname_decl): Declare.
10944         * c-common.c (make_fname_decl): Define.
10945         (declare_hidden_char_array): Remove.
10946         (declare_function_name): Use make_fname_decl.
10947         * c-decl.c (c_make_fname_decl): New function.
10948         (init_decl_processing): Set make_fname_decl.
10949
10950 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
10951
10952         * cccp.c (handle_directive): Initialize backslash_newlines_p.
10953
10954 2000-03-07  Philipp Thomas  <pthomas@suse.de>
10955
10956         * po/POTFILES.in: Remove cppalloc.c from file list.
10957
10958 2000-03-07  Steve Chamberlain  <sac@pobox.com>
10959
10960         * pj.c (pj_expand_prologue): current_function->args_info is
10961         now current_function_args_info.
10962
10963         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
10964         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
10965         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
10966
10967 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10968
10969         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
10970         output as hexadecimal rather than the default octal.
10971
10972 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
10973
10974         * cpphash.c (special_symbol): Fix thinko in previous commit.
10975
10976 2000-03-07  Neil Booth  <NeilB@earthling.net>
10977
10978         * cppexp.c (struct operation, left_shift, right_shift,
10979         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
10980         "int"s to "unsigned int"s.
10981         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
10982         Similarly.
10983         * cpplib.h: Update for above.
10984         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
10985         returned from allocations.
10986
10987         * cppinit.c (opt_comp, parse_options): New functions.
10988         (handle_option): Use parse_option to parse a single command
10989         line option, that possibly takes an argument.
10990         (cpp_handle_options): Sort the array of command line options on
10991         first invocation (non-ASCII hosts only).
10992         (print_help): Update.
10993
10994 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
10995
10996         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
10997         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
10998
10999         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
11000         initialized.
11001         * cppinit.c (cpp_cleanup): Free imp->nshort also.
11002
11003         * cpperror.c (cpp_print_containing_files,
11004         cpp_print_file_and_line, v_cpp_message): Rename to
11005         print_containing_files, print_file_and_line, and v_message.
11006         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
11007         to _cpp_parse_expr, parse_escape, and lex.
11008         (parse_charconst): Remove broken multibyte support.
11009         * cppfiles.c (include_hash): Make static.
11010         (cpp_included): New function.
11011         (merge_include_chains, find_include_file, finclude,
11012         simplify_pathname): Rename to _cpp_merge_include_chains,
11013         _cpp_find_include_file, _cpp_read_include_file, and
11014         _cpp_simplify_pathname.
11015         * cpphash.c (cpp_lookup, free_definition, delete_macro,
11016         cpp_install, create_definition, macroexpand, compare_defs,
11017         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
11018         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
11019         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
11020         * cppinit.c (cpp_handle_option): Rename to handle_option, make
11021         static.
11022         * cpplib.c: Remove extern prototype of cpp_parse_expr.
11023
11024         * cpphash.h: Update prototypes.
11025         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
11026
11027 2000-03-07  Andrew Haley  <aph@cygnus.com>
11028
11029         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
11030         PTRDIFF_TYPE should be based solely on Pmode.
11031         (SIZE_TYPE): ditto.
11032
11033 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11034
11035         * rtl.h (rtunion_def): Constify member `rtstr'.
11036         (emit_line_note_after, emit_line_note, emit_line_note_force,
11037         emit_note, decode_asm_operands): Constify.
11038
11039         * cse.c (canon_hash): Likewise.
11040
11041         * dbxout.c (dbxout_block): Likewise.
11042
11043         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
11044         v_warning_for_asm): Likewise.
11045
11046         * dwarfout.c (function_start_label): Likewise.
11047
11048         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
11049         emit_line_note_force): Likewise.
11050
11051         * final.c (last_filename, asm_insn_count, final_scan_insn,
11052         output_source_line): Likewise.
11053
11054         * function.h (struct emit_status): Likewise.
11055
11056         * gcse.c (hash_expr_1): Likewise.
11057
11058         * genattr.c (gen_attr, main): Likewise.
11059
11060         * genattrtab.c (struct function_unit, current_alternative_string,
11061         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
11062         attr_numeral, check_attr_test, check_attr_value,
11063         convert_set_attr_alternative, convert_set_attr,
11064         compute_alternative_mask, simplify_by_exploding, gen_attr,
11065         gen_unit): Likewise.
11066
11067         * genflags.c (gen_insn): Likewise.
11068
11069         * gengenrtl.c (type_from_format): Likewise.
11070
11071         * genopinit.c (gen_insn): Likewise.
11072
11073         * genoutput.c (n_occurrences, process_template, process_template):
11074         Likewise.
11075
11076         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
11077         Likewise.
11078
11079         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
11080         Likewise.
11081
11082         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
11083         ggc_set_mark, ggc_get_size): Likewise.
11084
11085         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
11086
11087         * optabs.c (init_one_libfunc): Likewise.
11088
11089         * output.h (assemble_start_function): Likewise.
11090
11091         * recog.c (decode_asm_operands): Likewise.
11092
11093         * toplev.c (rest_of_compilation): Likewise.
11094
11095         * tree.h (emit_line_note_after, emit_line_note,
11096         emit_line_note_force): Likewise.
11097
11098         * varasm.c (asm_output_bss, asm_output_aligned_bss,
11099         asm_emit_uninitialised, assemble_start_function,
11100         assemble_variable, const_hash, compare_constant_1,
11101         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
11102
11103         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
11104
11105         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
11106
11107         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
11108
11109         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
11110
11111         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
11112         arm_dllimport_name_p): Likewise.
11113
11114         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
11115         Likewise.
11116
11117         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
11118
11119         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11120
11121         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
11122         arm_mark_dllexport, arm_mark_dllimport,
11123         arm_pe_encode_section_info): Likewise.
11124
11125         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
11126         ASM_FINISH_DECLARE_OBJECT): Likewise.
11127
11128         * arm/thumb.c (thumb_function_prologue): Likewise.
11129
11130         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
11131
11132         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11133
11134         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
11135
11136         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
11137
11138         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
11139
11140         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11141
11142         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
11143         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
11144
11145         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
11146
11147         * i386/i386.c (asm_output_function_prefix): Likewise.
11148
11149         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
11150
11151         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11152
11153         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
11154
11155         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
11156         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
11157         ASM_OUTPUT_SECTION_NAME): Likewise.
11158
11159         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
11160
11161         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
11162
11163         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
11164
11165         * m32r/m32r.c (m32r_encode_section_info): Likewise.
11166
11167         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11168
11169         * mcore/mcore.c (mcore_encode_section_info): Likewise.
11170
11171         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11172
11173         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11174
11175         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11176
11177         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
11178
11179         * mips/mips.md (movdi, movsi): Likewise.
11180
11181         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11182
11183         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11184
11185         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11186
11187         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11188         ASM_OUTPUT_ASCII): Likewise.
11189
11190         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
11191         output_mi_thunk, output_toc): Likewise.
11192
11193         * rs6000/rs6000.md (movsi): Likewise.
11194
11195         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
11196
11197         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
11198
11199         * v850/v850.c (print_operand, print_operand_address,
11200         v850_encode_data_area): Likewise.
11201
11202 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
11203
11204         * config/mips/mips.md (zero_extendsidi2): Always force operand
11205         one to memory for mips16.
11206
11207 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11208
11209         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
11210         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
11211         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
11212         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
11213         (min_precision): Result is unsigned.
11214         (add_double, neg_double, mul_double): Low word is unsigned.
11215         (lshift_double, rshift_double, lrotate_double): Likewise.
11216         (rrotate_double, div_and_round_double): Likewise.
11217         (tree_floor_log2, compare_tree_int): New functions.
11218         (preserve_rtl_expr_temps): New declaration.
11219         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
11220         (decl_attributes): Use tree_log2 to find alignment.
11221         Check for TREE_INT_CST_HIGH for format args.
11222         (min_precision): Now unsigned.
11223         Use tree_floor_log2.
11224         (truthvalue_conversion): Delete long-disabled code.
11225         * c-decl.c (finish_struct): Clean up tests on field width.
11226         (finish_function): Use compare_tree_int.
11227         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
11228         * c-typeck.c (comptypes): Use tree_int_cst_equal.
11229         (default_conversion, digest_init): Use compare_tree_int.
11230         (build_binary_op): Use integer_all_onesp and compare_tree_int.
11231         Fix type errors in forming masks.
11232         * calls.c (initialize_argument_information): Use compare_tree_int.
11233         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
11234         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
11235         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
11236         (store_field): Use compare_tree_int.
11237         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
11238         (expand_expr, case ARRAY_REF): Use compare_tree_int.
11239         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
11240         (do_store_flag): Use compare_tree_int.
11241         * fold-const.c (encode, decode): Low part is always unsigned.
11242         (force_fit_type, add_double, neg_double, mul_double): Likewise.
11243         (lshift_double, rshift_double, lrotate_double): Likewise.
11244         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
11245         (fold_convert): Use compare_tree_int.
11246         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
11247         (invert_truthvalue, case INTEGER_CST): Likewise.
11248         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
11249         * mkdeps.c (deps_dummy_targets): Make I unsigned.
11250         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
11251         (lshift_double, rshift_double, lrotate_double, rrotate_double):
11252         Likewise.
11253         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
11254         (expand_end_case): Use compare_tree_int.
11255         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
11256         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
11257         (layout_decl): Likewise.
11258         (layout_record, layout_union): Make sizes unsigned.
11259         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
11260         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
11261         * tree.c (struct type_hash): hashcode is unsigned.
11262         (build_type_attribute_variant, type_hash_list): Likewise.
11263         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
11264         (attribute_hash_list, build_array_type, build_method_type): Likewise.
11265         (build_complex_type): Likewise.
11266         (real_value_from_int_cst): Remove unneeded casts.
11267         (integer_all_onesp): Add casts.
11268         (tree_floor_log2, compare_tree_int): New functions.
11269         (build_index_type): Use tree_int_cst_sgn.
11270         * varasm.c (assemble_variable): Use compare_tree_int.
11271
11272 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
11273
11274         * cpphash.c (collect_expansion): Also catch ## at start of macro.
11275
11276         * varasm.c (make_decl_rtl): Don't add a number to members of
11277         local classes.
11278         (make_function_rtl): Likewise.
11279
11280 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11281
11282         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
11283         patch from 2000-01-28.
11284
11285 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
11286
11287         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
11288         filled with an insn from the jump target.
11289
11290 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11291
11292         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
11293         (c4x_external_ref): Likewise.
11294         * config/c4x/c4x.c (struct name_list): Likewise.
11295
11296 1999-12-16  Ben Collins  <bcollins@debian.org>
11297
11298         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
11299         argument to genmultilib.
11300         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
11301         the contents into the multilib.h header.
11302         * gcc.c: Declare multilib_exclusions for the specs file.
11303         (set_multilib_dir): Use it.
11304         (print_multilib_info): Likewise.
11305         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
11306         to pass to genmultilib.
11307
11308 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11309
11310         * builtins.c (built_in_class_names, built_in_names): Constify a
11311         char*.
11312
11313         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
11314         int.
11315         (_mcleanup): Ensure value matches format specifier in sprintf.
11316
11317         * cpphash.c (special_symbol): Don't needlessly cast away
11318         const-ness.
11319
11320         * cppinit.c (base_name): Delete unused prototype.
11321
11322         * mkdeps.c (deps_init): Make definition K&R safe.
11323
11324         * tree.h (built_in_class_names, built_in_names): Constify a
11325         char*.
11326
11327 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
11328
11329         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
11330         floating point instructions for epilogue delay.
11331
11332         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
11333         to gas if it supports .register pseudo.
11334
11335         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
11336         LONG_DOUBLE_TYPE_SIZE if not defined.
11337         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
11338         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
11339         * real.c: Likewise.
11340         * gengenrtl.c: Likewise.
11341         * print-rtl.c: Likewise.
11342         * rtl.c: Likewise.
11343         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
11344         MASK_LONG_DOUBLE_128.
11345         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
11346         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
11347         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
11348         (SUBTARGET_SWITCHES): Define.
11349         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
11350         with -mlong-double-128.
11351         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
11352         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
11353         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
11354         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
11355         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
11356         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
11357         with -mlong-double-128.
11358         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
11359         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
11360         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
11361         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
11362         TARGET_LONG_DOUBLE_128): Define.
11363         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
11364         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
11365         long double on TARGET_ARCH64.
11366
11367 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
11368
11369         * function.c (free_temps_for_rtl_expr): Don't free slots
11370         that have been pushed into a higher level.
11371
11372         Revert this patch:
11373         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11374
11375 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11376
11377         * basic-block.h (ALLOCA_REG_SET): Remove.
11378         (INITIALIZE_REG_SET): New macro.
11379         * flow.c (update_life_info): Use it.
11380         (calculate_global_regs_live): Likewise.
11381         (propagate_block): Likewise.
11382         * global.c (build_insn_chain): Likewise.
11383         * haifa-sched.c (schedule_region): Likewise.
11384
11385 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
11386
11387         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
11388         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
11389         (DWARF_ARANGES_PAD_SIZE): New define.
11390         (output_aranges): Use it to pad the address range header.
11391         (DWARF_ROUND): Fix for non power of 2 rounding.
11392
11393 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
11394
11395         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
11396
11397 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11398
11399         * tree.def (RTL_EXPR): Update documentation.
11400         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
11401         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
11402         * function.c (preserve_rtl_expr_temp): New function.
11403         (preserve_rtl_expr_temps): Likewise.
11404         (preserve_rtl_expr_result): Use it.
11405
11406         Revert this patch:
11407         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
11408
11409 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
11410
11411         * regmove.c (copy_src_to_dest)  Do not create src->dest move
11412         for unchanging destination.
11413
11414 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
11415
11416         * function.h (struct sequence_stack): Remove rtl_expr.
11417         (struct emit_staus): Likewise.
11418         (seq_rtl_expr): Remove.
11419         * tree.h (free_temps_for_rtl_expr): Don't declare.
11420         (start_sequence_for_rtl_expr): Likewise.
11421         * rtl.h (preserve_rtl_expr_result): Likewise.
11422         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
11423         (start_sequence_for_rtl_expr): Remove.
11424         (push_topmost_sequence): Don't save sequence_rtl_expr.
11425         (pop_topmost_sequence): Remove comment about not restoring it.
11426         (end_sequence): Don't set seq_rtl_expr.
11427         (init_emit): Don't initialize it.
11428         (mark_sequence_stack): Don't mark it.
11429         (mark_emit_status): Likewise.
11430         * except.c (protect_with_terminate): Use
11431         start_sequence_for_rtl_expr, not start_sequence.
11432         * expr.c (expand_expr, case RTL_EXPR): Don't call
11433         preserve_rtl_expr_result or free_temps_for_rtl_expr.
11434         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
11435         (preserve_rtl_expr_result): Remove.
11436         (free_temps_for_rtl_expr): Likewise.
11437         (pop_temp_slots): Likewise.
11438         (mark_temp_slot): Don't mark the rtl_expr.
11439         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
11440         start_sequence_for_rtl_expr.
11441
11442 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
11443
11444         * mkdeps.c, mkdeps.h: New files.
11445         * po/POTFILES.in: Add them.
11446         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
11447         (cpplib.o, cppinit.o): Depend on mkdeps.h.
11448         (mkdeps.o): New target.
11449
11450         * cppfiles.c: Delete deps_output.
11451         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
11452         OBJECT_SUFFIX, and base_name.
11453         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
11454         the include hash.
11455         (initialize_dependency_output): Use deps_init,
11456         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
11457         all the unnecessary string bashing.
11458         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
11459         level.
11460         * cpplib.c (do_include): Use deps_add_dep.
11461         * cpplib.h (struct cpp_reader): Replace deps_buffer,
11462         deps_allocated_size, deps_size, deps_column members with
11463         single pointer to a struct deps.  Delete prototype of
11464         deps_output.
11465
11466         * cppinit.c: Fix thinko in previous patch.
11467
11468 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11469
11470         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
11471         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
11472         (mode_for_size_tree): New function.
11473         (layout_decl, layout_type): Call it and clean up BLKmode checks.
11474         * tree.h (mode_for_size_tree): New declaration.
11475
11476         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
11477
11478 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
11479
11480         * stmt.c (is_body_block): Move...
11481         * dwarfout.c, dwarf2out.c: ...from here.
11482         * tree.h: Declare it.
11483         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
11484         * final.c (final_start_function): Do call remove_unnecessary_notes
11485         when scheduling.
11486
11487 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
11488
11489         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
11490
11491         * cpplib.h (_dollar_ok): New macro.
11492         (is_idchar, is_idstart): Use it.
11493         (IStable): Rename to _cpp_IStable.  Declare it const if
11494         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
11495         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
11496         is_space): Update for renamed IStable.
11497
11498         * cppinit.c: Delete all references to FAKE_CONST and CAT
11499         macros. Define init_IStable as empty macro if gcc >=2.7 or
11500         C99. Change TABLE() to ISTABLE and hardcode name of table.
11501         (cpp_start_read): Don't change the IStable based on
11502         dollars_in_ident.
11503
11504         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
11505         changed.  Handle '$' for char1 correctly.
11506         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
11507
11508         * cppexp.c (tokentab2): Make const.
11509         (cpp_lex): Make toktab const.
11510         * cppinit.c (include_defaults_array): Make const.
11511         (initialize_standard_includes): Make default_include const.
11512
11513 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
11514
11515         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
11516         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
11517         (gen_decl_die): Likewise.
11518         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
11519         (output_decl): Likewise.
11520
11521         * varasm.c (make_function_rtl): If we change the name used in the
11522         rtl, update DECL_ASSEMBLER_NAME accordingly.
11523         (make_decl_rtl): Likewise.
11524
11525         * toplev.c (rest_of_compilation): Tweak formatting.
11526
11527         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
11528         remove_unnecessary_notes.
11529         (debug_ignore_block): New fn.
11530         * toplev.h: Declare it.
11531         * emit-rtl.c (remove_unncessary_notes): Call it.
11532         * dwarf2out.c (dwarf2out_ignore_block): New fn.
11533         * dwarf2out.h: Declare it.
11534         * final.c (final_start_function): Don't call remove_unnecessary_notes
11535         if we did insn scheduling.
11536
11537 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
11538
11539         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
11540         * cpplib.h: Delete SET_CPP_PEDANTIC.
11541
11542 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11543
11544         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
11545         result is a RECORD_TYPE.
11546
11547 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
11548
11549         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
11550
11551 2000-03-03  Richard Henderson  <rth@cygnus.com>
11552
11553         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
11554         addition over compliments over shifts.
11555
11556 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11557
11558         * reload1.c (reload_combine_note_use): Handle return register USEs.
11559         REG case: Handle multi-hard-register hard regs.
11560
11561 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11562
11563         * md.texi: Document use of '*' in insn pattern name.
11564
11565 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
11566
11567         * calls.c (special_function_p): operator new may not be malloc-like.
11568
11569         * gcse.c (dump_hash_table): Really fix error in last change.
11570
11571 2000-03-02  Denis Chertykov  <denisc@overta.ru>
11572
11573         * avr.c (print_operand): Use print_operand_address instead of
11574         output_addr_const.
11575         * avr/libgcc.S: Cleanup code.
11576
11577 2000-03-02  Richard Henderson  <rth@cygnus.com>
11578
11579         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
11580
11581 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
11582
11583         * tree.h (TYPE_ALIGN_UNIT): New macro.
11584
11585 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
11586
11587         * i386.c: (constant_call_address_operand): Reject CONST_INT.
11588
11589 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
11590
11591         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
11592         for the buffer.
11593         (SET_CPP_PEDANTIC): New macro.
11594         * cpplib.c (do_include): Don't bother checking system_header_p.
11595         (do_warning, do_ident, do_assert, do_unassert): Likewise.
11596         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
11597
11598         * function.h (struct expr_status): Add x_arg_space_so_far.
11599         (arg_space_so_far): New macro.
11600         * expr.c (init_expr): Initialize it.
11601         * calls.c (emit_call_1): Reset it.
11602         (compute_argument_block_size, expand_call): Use it.
11603         (expand_call, store_one_arg): Increment it.
11604
11605 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11606
11607         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
11608         a UNION_TYPE.
11609
11610 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
11611
11612         * cppfiles.c (cpp_read_file): New function.
11613
11614         * cpphash.c (collect_expansion): Make sure to reset last_token
11615         to NORM when we hit a string.  Handle trailing whitespace
11616         properly when the expansion is empty.
11617         (create_definition): Disable line commands while parsing the
11618         directive line.
11619         (dump_definition): If pfile->lineno == 0, output a line
11620         command ahead of the dump, and add a trailing newline.
11621
11622         * cppinit.c (append_include_chain): Add fifth argument, which
11623         indicates whether or not system headers are C++ aware.
11624         (initialize_standard_includes): New function,
11625         broken out of read_and_prescan.  Pass 'cxx_aware' value from
11626         the include_defaults_array on to append_include_chain.
11627         (dump_special_to_buffer): Const-ify char array.
11628         (builtin_array): Don't dump __BASE_FILE__.
11629         (cpp_start_read): Use cpp_read_file.  Reorder code for
11630         clarity.  Don't output line commands here for -D/-A/-U
11631         switches.  Don't call deps_output for files included with
11632         -include or -imacros.
11633
11634         * cpplib.c (do_define): Don't pay any attention to the second
11635         argument.
11636         (cpp_expand_to_buffer): Disable line commands while scanning.
11637         (output_line_command): Work in the file buffer.
11638         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
11639         Fix formatting of comments.  Prototype cpp_read_file.
11640
11641 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11642
11643         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
11644         reference the language-equivalent of sizetype.
11645         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
11646         * fold-const.c (size_binop, size_diffop): Put back checks.
11647         * gcse.c (dump_hash_table): Fix minor error in last change.
11648         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
11649         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
11650         all sizetypes.
11651
11652 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
11653
11654         * calls.c (expand_call)  Do not attempt to combine stack adjustments
11655         with inhibit_defer_pop set.
11656
11657 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
11658
11659         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
11660         the DECL_SIZE for a FIELD_DECL.
11661
11662 2000-03-01  Bruce Korb  <bkorb@gnu.org>
11663
11664         * fixinc/inclhack.tpl: remove unused symlinks
11665         * fixinc/README: GCC Maintainer info
11666         * fixinc/inclhack.sh: regen
11667         * fixinc/fixincl.sh: regen
11668
11669 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
11670
11671         * cpphash.c (collect_expansion): Trim trailing white space
11672         from macro definitions, but don't go past the last insertion
11673         point.
11674
11675 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11676
11677         * i386.md (mulqi3): New pattern.
11678
11679 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
11680
11681         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
11682         token types.
11683         (struct cpp_reader): Add parsing_if_directive and
11684         parsing_define_directive flags.
11685         (struct cpp_options): Remove output_conditionals flag.
11686         (check_macro_name): Delete prototype.
11687
11688         * cpphash.h (struct macrodef): Delete.
11689         (struct reflist): Separate from struct definition.
11690         (struct definition): Remove unused fields.  Add column number.
11691         (create_definition): Returns a DEFINITION *.  Takes a
11692         cpp_reader * and an int.
11693
11694         * cpphash.c (SKIP_WHITE_SPACE): Delete.
11695         (PEEKC): Copy defn from cpplib.c.
11696         (rest_extension, REST_EXTENSION_LENGTH): Delete.
11697         (struct arg): New.
11698         (struct arglist): Simplify.
11699         (collect_expansion): Rewrite.  Get tokens by calling
11700         cpp_get_token.  Add more error checking.
11701         (collect_formal_parameters): New function, broken out of
11702         create_definition and reworked to use get_directive_token.
11703         (create_definition): All real work is now in collect_expansion
11704         and collect_formal_parameters.  do_define handles finding the
11705         macro name.  Return a DEFINITION, not a MACRODEF.
11706         (macroexpand): Replace bcopy with memcpy throughout.  Replace
11707         character-at-a-time copy loop with memcpy and pointer increments.
11708         (compare-defs): d1->argnames / d2->argnames might be null.
11709
11710         * cpplib.c (copy_rest_of_line): Delete function.
11711         (skip_rest_of_line): Do all the work ourselves.
11712         (skip_string): New function.
11713         (parse_string): Use skip_string.
11714         (get_macro_name): New function.
11715         (check_macro_name): Delete.
11716         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
11717         (cpp_skip_hspace): Use CPP_BUMP_LINE.
11718         (handle_directive): ICE if we're called on a macro buffer.
11719         (do_define): Determine macro name and type (funlike/objlike)
11720         here.  Expunge all uses of MACRODEF.
11721         (cpp_push_buffer): Set line_base to NULL.
11722         (do_undef, read_line_number): Don't worry about getting a POP token.
11723         (eval_if_expression): Set/reset parsing_if_directive around
11724         cpp_parse_expr. Don't clear only_seen_white.
11725         (skip_if_group): Remove output_conditionals logic.  Use
11726         skip_rest_of_line.
11727         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
11728         tokens under appropriate conditions.
11729         (cpp_unassert): Call do_unassert not do_assert.  Oops.
11730
11731         * cppexp.c (parse_defined): New function, break out of
11732         cpp_lex.
11733         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
11734         ourselves, with cpp_defined.
11735         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
11736
11737         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
11738         * gcc.dg/strpaste-2.c: New.
11739
11740 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
11741
11742         * fold-const.c (size_binop): Don't asert inputs are the same and
11743         have TYPE_IS_SIZETYPE set.
11744         (size_diffop): Likewise.
11745
11746 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
11747
11748         * dwarfout.c (output_block): Output abstract blocks even if they
11749         don't have TREE_ASM_WRITTEN set.
11750
11751         * calls.c (emit_library_call): Check for null REG.
11752
11753 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
11754
11755         * c-decl.c (current_function_decl): Move to toplev.c.
11756         (init_decl_processing): Don't add current_function_decl as a ggc
11757         root here.
11758         * dbxout.c (dbxout_symbol): Change return type to int.
11759         (dbxout_symbol_location, dbxout_syms): Likewise.
11760         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
11761         any locals. Use current_function_func_begin_label if set.
11762         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
11763         * dwarf2out.c (dwarf2out_begin_prologue): Set
11764         current_function_func_begin_label.
11765         * final.c (final_start_function): Reset it.
11766         * toplev.c (current_function_decl): Define it here.
11767         (current_function_func_begin_label): New variable.
11768         (main): Add both as ggc roots.
11769         * tree.h (current_function_func_begin_label): Declare.
11770
11771 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11772
11773         * gcse.c: Cleanups throughout: mostly white-space, but also
11774         some minor rearrangement of code.
11775
11776 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
11777
11778         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
11779         returns a PARALLEL.  Use emit_group_load and use_group_regs
11780         as needed.
11781         (emit_library_call_value): Similarly.
11782
11783         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
11784         * pa/quadlib.asm: Remove.
11785         * pa/quadlib.c: New file.
11786
11787         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
11788         * configure: Rebuilt.
11789
11790 2000-02-29  Philip Blundell  <pb@futuretv.com>
11791
11792         * config/arm/conix-elf.h: New file.
11793         * configure.in (arm*-*-conix*): New configuration.
11794         * configure: Regenerate.
11795
11796 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
11797
11798         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
11799         don't have TREE_ASM_WRITTEN set.
11800
11801 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11802
11803         * Eliminate DECL_FIELD_SIZE.
11804         * builtins.c (built_in_class_names, built_in_names): New variables.
11805         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
11806         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
11807         DECL_SIZE, not DECL_FIELD_SIZE.
11808         * print-tree.c (print_node): Remove code that prints extra blank
11809         lines in some cases.
11810         Properly handle inline and builtin function cases.
11811         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
11812         * tree.h (built_in_class_named, built_in_names): New declarations.
11813         (union tree_decl): Rename internal unions to u1 and u2 and change
11814         some of their components.
11815         Add new field built_in_class.
11816         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
11817         Reflect above changes.
11818         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
11819         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
11820         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
11821         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
11822
11823 2000-02-28  Dmitri Makarov  <dim@windriver.com>
11824
11825         * extend.texi: Document ARM's support for long/short calls.
11826
11827         * invoke.texi: Document ARM's -mlong-calls command line switch.
11828
11829         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
11830         (arm_encode_call_attribute): Add prototype.
11831         (arm_set_default_type_attribute): Add prototype.
11832         (arm_strip_name_encoding): Add prototype.
11833
11834         * config/arm/arm.c (arm_init_cumulative_args): replace
11835         initialisation og 'long_calls' field with initialisation of
11836         'call_cookie' field.
11837         (enum arm_pragma_enum): New enum.
11838         (arm_pragma_long_calls): New static variable.
11839         (arm_process_pragma): Also process "#pragma long_calls_off".
11840         (arm_valid_type_attribute_p): Accept short_call attribute.
11841         (arm_comp_type_attributes): Check long/short call attributes.
11842         (arm_encode_call_attribute):  New function:  Encode long_call
11843         or short_call attribute in function name.
11844         (arm_set_default_type_attributes): New function: Assign
11845         default attributes to newly defined type.
11846         (current_file_function_operand): New function: Return true if
11847         the symbol is a function which has already been compiled.
11848         (arm_is_longcall_p): New function: Return true if the
11849         indicated function should be called via a long call.
11850         (arm_get_strip_length): New function.  Returns number of
11851         prefix characters to be stripped from a function's name.
11852         (arm_strip_name_encoding): New function.  Strip prefix characters
11853         from a function's name.
11854
11855         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
11856         with 'call_cookie'.
11857         (SHORT_CALL_FAG_CHAR): Define.
11858         (LONG_CALL_FAG_CHAR): Define.
11859         (ENCODED_SHORT_CALL_ATTR_P): Define.
11860         (ENCODED_LONG_CALL_ATTR_P): Define.
11861         (ARM_NAME_ENCODING_LENGTHS): Define.
11862         (STRIP_NAME_ENCODING): Define.
11863         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
11864         (ARM_ENCODE_CALL_TYPE): Define.
11865         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
11866         (ARM_DECLARE_FUNCTION_SIZE): Define.
11867         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
11868
11869         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
11870         if a long call is needed.
11871         (call_value): Ditto.
11872         (call_symbol): Ditto.
11873
11874         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
11875         ARM_DECLARE_FUNCTION_SIZE.
11876
11877         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
11878         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
11879         (ARM_STRIP_NAME_ENCODING): Undefine.
11880         (STRIP_NAME_ENCODING): Undefine.
11881         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
11882         (ASM_DECLARE_FUNCTION_NAME): Ditto.
11883         (ASM_OUTPUT_COMMON): Ditto.
11884         (ASM_DECLARE_OBJECT_NAME): Ditto.
11885
11886         * config/arm/pe.c (arm_dllexport_name_p): Check for
11887         ARM_PE_FLAG_CHAR.
11888         (arm_dllimport_name_p): Ditto.
11889         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
11890         (arm_mark_dllimport): Ditto.
11891
11892 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11893
11894         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
11895
11896 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
11897
11898         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
11899
11900 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
11901
11902         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
11903         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
11904         NO_BUILTIN_WCHAR_TYPE is not defined.
11905         (CPP_WCHAR_TYPE): Delete.
11906         * cccp.c (main): Don't change wchar_type if cplusplus.
11907         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
11908
11909 2000-02-28  Nick Clifton  <nickc@cygnus.com>
11910
11911         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
11912
11913 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
11914
11915         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
11916         (ASM_WEAKEN_LABEL): Define.
11917
11918 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
11919
11920         * expr.c (store_constructor): Do not emit USE.
11921         * rtl.h (stupid_life_analysis): Remove.
11922
11923 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11924
11925         * function.c (number_blocks): Reset next_block_index based on
11926         what debugging format is used, not what is defined.
11927
11928         * lcm.c: Minor reformatting throughout.
11929         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
11930
11931         * toplev.c (rest_of_compilation): Account for time in
11932         optimize_mode_switching.
11933
11934         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
11935         if only marking labels.
11936
11937 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
11938
11939         * calls.c (expand_call): Attempt to combine stack adjustments with
11940         pending stack adjustments.
11941
11942 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11943
11944         * loop.c (reg_in_basic_block_p): Don't abort when falling through
11945         to the end of the function.
11946
11947 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
11948
11949         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
11950         blocks.
11951         * final.c (next_block_index): Remove.
11952         (max_block_depth): Likewise.
11953         (pending_blocks): Likewise.
11954         (init_final): Don't initialize them.
11955         (final_start_function): Don't set next_block_index.  Set up
11956         BLOCK_NUMBER.
11957         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
11958         * function.h (number_blocks): New function.
11959         * function.c (get_block_vector): New function.
11960         (identify_blocks): Use it.
11961         (reorder_blocks): Set NOTE_BLOCK.
11962         (number_blocks): New function.
11963         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
11964         * tree.h (BLOCK_NUMBER): New macro.
11965         (tree_block): Add block_num field.
11966         * dbxout.c (next_block_number): Remove.
11967         (dbxout_init): Don't set it.
11968         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
11969         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
11970         block numbers.
11971         * toplev.c (rest_of_compilation): Always call
11972         find_loop_tree_blocks.  Fix indentation.
11973         * dwarf2out.c (next_block_number): Remove.
11974         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
11975         to determine block numbers.
11976         (gen_inlined_subroutine_die): Likewise.
11977         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
11978         (decls_for_scope): Don't increment next_block_number.
11979         * dwarfout.c (next_block_number): Remove.
11980         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
11981         to determine block numbers.
11982         (output_inlined_subroutine_die): Likewise.
11983         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
11984         (output_decls_for_scope): Don't increment next_block_number.
11985         * sdbout.c (next_block_number): Remove.
11986         (sdbout_block): Use BLOCK_NUMBER.
11987         (sdbout_begin_block): Simplify.
11988         * xcoffout.c (next_block_number): Remove.
11989         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
11990         (xcoffout_begin_block): Don't set next_block_number.
11991         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
11992         next_block_number.
11993
11994 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11995
11996         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
11997         (expand_builtin_strcpy): Pass correct type to size_binop.
11998         (expand_builtin_strcmp): Likewise.
11999         Clean up conditional structure.
12000         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
12001         (complete_array_type): Don't use size_binop for MAXINDEX.
12002         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
12003         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
12004         (c_alignof): Use size_one_node.
12005         (build_unary_op): Pass arg of proper type to size_binop.
12006         (really_start_incremental_init, push_init_level): Use sizetype for
12007         constructor{,_bit,_unfilled}_index.
12008         (pop_init_label, output_init_element): Likewise.
12009         (output_pending_init_elements, process_init_element): Likewise.
12010         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
12011         * expr.c (store_expr): Use size_int.
12012         (store_constructor): Use proper types for size_binop args.
12013         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
12014         (expand_expr_unaligned): Likewise.
12015         (string_contant): Return object of sizetype.
12016         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
12017         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
12018         (ARGS_SIZE_TREE): Pass proper types to size_binop.
12019         * fold-const.c (int_const_binop): Refine when size_int is called.
12020         (fold_convert): Likewise.
12021         (size_int_wide): Rework to take KIND as arg, only take low order
12022         bits, handle new sizetype_tab datatype, and chain entries in
12023         size_table.
12024         (size_int_type_wide): New function.
12025         (size_binop): Validate types of arguments.
12026         (ssize_binop): Deleted.
12027         (size_diffop): New function.
12028         (extract_muldiv): Only fold division into multiplication for sizetypes.
12029         * function.c (assign_parms): Use size_diffop and make sure
12030         VAR field is of ssizetype; also pass proper type to size_binop.
12031         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
12032         (round_down): Deleted from here.
12033         * store-layout.c (sizetype_tab): Now an array.
12034         (sizetype_set, early_root_list): New variables.
12035         (variable_size): Use size_one_node.
12036         (round_up): Pass proper type to size_binop.
12037         (round_down): Moved to here and corrected as above.
12038         (layout_record): Pass proper arg types to size_binop.
12039         (layout_type): Likewise.
12040         If sizetype_set is zero, record the type just laid out.
12041         (make_unsigned_type): Don't call set_sizetype;
12042         (make_signed_type): Likewise; also, call fixup_signed_type.
12043         (initialize_sizetypes): New function.
12044         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
12045         set name of bitsizetype to "bit_size_type".
12046         Fix up type of sizes of all types made before call.
12047         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
12048         * tree.c (fix_sizetype): Deleted.
12049         (build_common_tree_nodes): Call initialize_sizetypes.
12050         (build_common_tree_nodes_2): Don't call fix_sizetype.
12051         * tree.h (TYPE_IS_SIZETYPE): New macro.
12052         (initialize_sizetype): New declaration.
12053         (enum size_type_kind): New type.
12054         (struct sizetype_tab): Deleted.
12055         (sizetype_tab): Now array; adjust sizetype macros.
12056         (size_diffop, size_int_type_wide): New functions.
12057         (size_int_wide): Change number of args and type; access macros changed.
12058         (ssize_int, sbitsize_int): New macros.
12059         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
12060         (ROUND_TYPE_SIZE_UNIT): New macro.
12061
12062 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
12063
12064         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
12065
12066 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12067
12068         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
12069         Mark as possibly unused.
12070
12071         * cse.c (cse_insn): Delete dead code involving tablejump.
12072         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
12073
12074         * Makefile.in (libcpp.a): Start by deleting it.
12075
12076 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12077
12078         * cpplib.h (enum file_change_code): Added rename_file.
12079         * cpplib.c (do_line): If a filename is given, set file_change to
12080         rename_file.
12081         (output_line_command): If file_change is rename_file, always
12082         output a # directive with the file name.
12083
12084         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
12085
12086 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
12087
12088         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
12089         when copying a PARM_DECL or RESULT_DECL.
12090
12091 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12092
12093         * fix-header.c (recognized_function): Also fix prototypes for
12094         functions taking "void".
12095
12096 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
12097
12098         * reload1.c (do_output_reload): Check reg_reloaded_valid before
12099         looking at reg_reloaded_contents.
12100
12101 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
12102
12103         * Makefile.in (STMP_FIXINC): New toggle.
12104         (LIBGCC2_DEPS): Delete all references.
12105         (stmp-headers): Delete target.  All references either deleted
12106         or changed to stmp-int-headers.
12107         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
12108         (LIBCPP_OBJS): Take out cppalloc.o.
12109         (cppalloc.o): Delete target.
12110         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
12111         (gen-protos, fix-header): Link with libiberty.a.
12112         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
12113         to empty.
12114
12115         * configure.in: Remove refs to strerror.
12116         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
12117         * system.h: Take out strerror stanza.
12118
12119         * cpperror.c (my_strerror): Delete function.
12120         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
12121         * cppmain.c (main): Call xmalloc_set_program_name first thing.
12122         * cppalloc.c: Delete file.
12123         * gen-protos.c: Don't provide xrealloc.
12124
12125         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
12126         xstrerror throughout.
12127
12128 2000-02-26  Bruce Korb  <bkorb@gnu.org>
12129
12130         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
12131         match for DOS headers, too.
12132         * fixinc/inclhack.sh,fixincl.x: Regenerate.
12133
12134 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
12135
12136         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
12137         is right for most ELF targets.
12138         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
12139         Let the default file use %U properly.
12140         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
12141         default.
12142
12143         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
12144         numbers.
12145
12146 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12147
12148         * toplev.c (documented_lang_options): Correct spelling error.
12149         (decode_d_option, decode_f_option, main): Likewise.
12150
12151         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
12152
12153         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
12154         to tell assembler it is permitted to expand large constants.
12155
12156 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
12157
12158         * protoize.c: (AUX_INFO_SUFFIX): New macro.
12159         (aux_info_suffix): Use.
12160         (SAVE_SUFFIX): New macro.
12161         (save_suffix): Use.
12162         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
12163         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
12164         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
12165
12166         * invoke.texi (Running Protoize): Update documentation.
12167
12168 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
12169
12170         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
12171
12172 2000-02-25  John Wehle  (john@feith.com)
12173
12174         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
12175
12176 2000-02-25  Anthony Green  <green@cygnus.com>
12177
12178         * toplev.c (rest_of_compilation): Rebuild jump labels if
12179         combine_instructions has created a new direct jump.
12180         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
12181         when appropriate.
12182         (combine_instructions): Call try_combine with new argument.
12183         Return non-null value when new direct jump instruction is created.
12184         * rtl.h: combine_instructions returns an int.
12185
12186 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
12187
12188         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
12189         jump when changing a computed jump into a jump to a known
12190         target.
12191
12192 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
12193
12194         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
12195         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
12196
12197         * i386.md (define_expand "clrstrsi"): Fix typo.
12198
12199 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
12200
12201         * rtl.texi: Fix typo.
12202
12203 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12204
12205         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
12206         UNITS_PER_WORD.  Change caller initial_elimination_offset.
12207         (rounded_frame_size): Take into account that argument pushed has
12208         changed.  Fix TARGET_ALIGN_DOUBLE problem.
12209
12210 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
12211
12212         * haifa-sched.c (schedule_block): Explain the real reason
12213         we delete REG_SAVE_NOTEs on the first insn of a block.
12214         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
12215
12216 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
12217
12218         * input.h (push_srcloc): New function.
12219         (pop_srcloc): Likewise.
12220         * toplev.c (push_srcloc): Define it.
12221         (pop_srcloc): Likewise.
12222
12223 2000-02-24  Richard Henderson  <rth@cygnus.com>
12224
12225         * flow.c (life_analysis): When collecting reg info, clear
12226         regs_ever_live.
12227
12228 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12229
12230         Fix bug exposed by reload.c no longer rounding the frame
12231         size to BIGGEST_ALIGNMENT:
12232         * sh.c (rounded_frame_size): New function.
12233         (sh_expand_prologue, sh_expand_epilogue): Use it.
12234         (initial_elimination_offset): Likewise.
12235
12236 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12237
12238         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
12239         * sh-protos.h (sh_need_epilogue): Declare.
12240         * sh.c (sh_need_epilogue_known): New static variable.
12241         (sh_need_epilogue): New function.
12242         (function_epilogue): Clear need_epilogue_known.
12243         * sh.md (return): Split into expander / insn pattern.
12244         Make the expander conditional on ! sh_need_epilogue ().
12245
12246 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
12247
12248         * machmode.h (get_mode_alignment): Declare.
12249         (GET_MODE_ALIGNMENT): Call it.
12250         * stor-layout.c (get_mode_alignment): New function. Make
12251         sure alignment is always power of 2.
12252
12253 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12254
12255         * i386.h: Remove useless definition of "I386" and misleading
12256         comment above it.
12257
12258 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12259
12260         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
12261         under which TREE_PERMANENT will be set.
12262         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
12263         build1): Use TREE_SET_PERMANENT.
12264         * print-tree.c (print_node): Don't report value of
12265         TREE_PERMANENT if ggc_p is true.
12266
12267         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
12268         decide whether to give a type a new alias set.
12269         * objc/objc-act.c (build_objc_string_object): Never copy the string.
12270         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
12271         of value of 'obstack'.
12272
12273
12274 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12275
12276         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
12277
12278 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12279
12280         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
12281         * cpplib.c (cpp_get_token): Produce them.
12282         * cppexp.c (cpp_lex): Handle them.
12283
12284 2000-02-23  Nick Clifton  <nickc@cygnus.com>
12285
12286         * config/arm/arm.c (arm_comp_type_attributes): Simply and
12287         comment tests on type attributes.
12288
12289 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12290
12291         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
12292         conform to documentation.
12293         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
12294         to check for special cases.
12295         * sh-protos.h (sh_loop_align): Declare.
12296         * sh.c (sh_loop_align): Define.
12297
12298 2000-02-22  Andrew Haley  <aph@cygnus.com>
12299
12300         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
12301         (SIZE_TYPE): Is 32 bits when using -mgp32.
12302         (PTRDIFF_TYPE): Ditto.
12303
12304 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12305
12306         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
12307
12308 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12309
12310         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
12311         BIGGEST_FIELD_ALIGNMENT a constant.
12312
12313 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
12314
12315         * dwarf2out.c (output_line_info): Put the marker for the end of
12316         the line number info at the actual end.
12317         (gen_struct_or_union_type_die): Use decl_function_context
12318         to check for local classes.
12319         * dwarfout.c (output_type): Likewise.
12320
12321 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
12322
12323         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
12324         for arguments with a mode, but no type.
12325         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
12326         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
12327         * pa/long_double.h: New file.
12328         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
12329         both have 128bit wide long doubles.
12330         * configure: Rebuilt.
12331
12332 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12333
12334         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
12335
12336         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
12337         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
12338         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
12339
12340         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
12341
12342         * integrate.c (compare_blocks, find_block): Likewise.
12343
12344         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
12345
12346         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
12347
12348         * stmt.c (stmt_status, set_file_and_line_for_stmt,
12349         expand_asm_operands): Likewise.
12350
12351 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
12352
12353         * predict.c (estimate_probability): Added the pointer heuristic to
12354         the collection of static branch predictors.
12355
12356 2000-02-21  Catherine Moore  <clm@cygnus.com>
12357
12358         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
12359         * invoke.texi (-mfix7000): Document.
12360
12361 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
12362
12363         * diagnostic.c (init_output_buffer): Make it possible to output at
12364         least 32 characters if we're given a too long prefix.
12365
12366 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
12367
12368         * varasm.c (initializer_constant_valid_p): Call
12369         lang_expand_constant to simplify the constant.
12370
12371 2000-02-20  Bruce Korb  <bkorb@gnu.org>
12372
12373         * fixinc/inclhack.def(stdio_va_list):
12374         typedef needs to be disabled.
12375         * fixinc/inclhack.sh: regen
12376         * fixinc/fixincl.x: regen
12377
12378 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
12379
12380         * print-rtl.c (print_rtx): Don't print addresses when
12381         flag_dump_unnumbered.
12382
12383 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12384
12385         * sparc.c (sparc_output_scratch_registers): Mark parameter with
12386         ATTRIBUTE_UNUSED.
12387         (sparc_va_arg, sparc_flat_output_function_prologue,
12388         sparc_flat_output_function_epilogue): Cast value to unsigned in
12389         comparison.
12390         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
12391
12392         * sparc.md: Add default case in switch.
12393
12394 2000-02-19  Richard Henderson  <rth@cygnus.com>
12395
12396         * c-typeck.c (add_pending_init): Don't abort for multiple
12397         fields at the same offset.
12398         (pending_init_member): Test the correct member.
12399
12400 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12401
12402         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
12403         instead of SImode.
12404         (start_catch_handler) : Same.
12405
12406 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
12407
12408         * Makefile.in: Have flow.o depend on $(EXPR_H)
12409
12410 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12411
12412         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
12413         * c-decl.c (duplicate_decls, finish_enum): Likewise.
12414         (finish_decl): Remove -Wlarger-than code from here.
12415         * flags.h (id_clash_len): Now int.
12416         (larger_than_size): Now HOST_WIDE_INT.
12417         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
12418         Clean up checking to see if in table.
12419         (make_bit_field_ref): Remove extra parm to bitsize_int.
12420         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
12421         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
12422         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
12423         and for computing size of decl.
12424         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
12425         Move -Wlarger-than code to here.
12426         (layout_record): Remove extra arg to bitsize_int.
12427         Set TYPE_BINFO_SIZE_UNIT.
12428         (layout_union): Remove extra arg to bitsize_int.
12429         Use proper type for size of QUAL_UNION.
12430         (layout_type): Remove extra arg to bitsize_int.
12431         * toplev.c (id_clash_len): Now int.
12432         (larger_than_size): Now HOST_WIDE_INT.
12433         (decode_W_option): Clean up id-clash and larger-than- cases.
12434         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
12435         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
12436         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
12437         (struct tree_decl): New field size_unit.
12438         (size_int_wide): No HIGH operand; NUMBER is now signed.
12439         (size_int_2): Deleted.
12440         (size_int, bitsize_int): Don't use it and rework args.
12441         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
12442
12443 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
12444
12445         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
12446
12447 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
12448
12449         * invoke.texi (Warning Options): Add an explanation of why
12450         you might want the -Wfloat-equal flag.
12451
12452 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12453
12454         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
12455         * cppinit.c (new_pending_define): Add cast to avoid warning.
12456         * expmed.c (extract_bit_field): Likewise.
12457         * flow.c (enum reorder_skip_type): New type.
12458         (skip_insns_between_blcok): New it.
12459         Rework to avoid warning about possibly undefined variable.
12460         * function.c (assign_parms): Make thisparm_boundary unsigned.
12461         * genrecog.c (write_switch): Cast XWINT result to int.
12462         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
12463         * mips-tfile.c (init_file): Make two versions of FDR intializer:
12464         one for MIPS and one for Alpha.
12465         (get_tag, copy_object): Add casts to avoid warnings.
12466         * optabs.c (init_one_libfunc): Cast NAME to (char *).
12467         * reload.c (find_reloads): Make TYPE enum reload_type.
12468         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
12469         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
12470         * varasm.c (compare_constant_1): Add cast to avoid warning.
12471         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
12472         to (char *).
12473         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
12474         Cast switch operand of size to int.
12475         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
12476         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
12477         in unhandled case.
12478
12479 2000-02-18  Nick Clifton  <nickc@cygnus.com>
12480
12481         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
12482         anything for an alignment of zero.
12483
12484         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
12485         anything for an alignment of zero.
12486
12487 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
12488
12489         * gcc.texi (Bug Reporting): Refer to bugs.html.
12490         (Bug Lists): Likewise.
12491         * system.h (GCCBUGURL): New preprocessor define.
12492         * rtl.c (fancy_abort): Use it.
12493         * gcc.c (main): Likewise.
12494
12495 2000-02-18  Richard Henderson  <rth@cygnus.com>
12496
12497         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
12498         (life_analysis_1): Subsume into ...
12499         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
12500         Use update_life_info for the relaxation.
12501         (update_life_info): Update REG_BASIC_BLOCK for registers live on
12502         entry and regs_live_at_setjmp.
12503         (set_noop_p): Simplify.
12504         (notice_stack_pointer_modification_1): Renamed from s/_1//.
12505         (record_volatile_insns): Split into ...
12506         (delete_noop_moves): ... here,
12507         (notice_stack_pointer_modification): ... here,
12508         (insn_dead_p): ... and here.
12509         (propagate_block): Don't query INSN_VOLATILE.
12510         (mark_used_regs): Mind !PROP_REG_INFO.
12511         * toplev.c (rest_of_compilation): Call mark_constant_function here,
12512         not in life_analysis.
12513
12514 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
12515
12516         * loop.c (canonicalize_condition): New function,
12517         broken out of get_condition.
12518         (get_condition): Use it.
12519         * expr.h (canonicalize_condition): Prototype it.
12520
12521         * tree.h (tree_int_cst_msb): Declare.
12522         * tree.c (tree_int_cst_msb): New function.
12523
12524 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
12525
12526         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
12527         isn't set.
12528
12529         * invoke.texi (-fmessage-length=n): Document.
12530
12531 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
12532
12533         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
12534
12535 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
12536
12537         * function.c (thread_prologue_and_epilogue_insns): Put a line note
12538         after the prologue.
12539
12540 2000-02-17  Nick Clifton  <nickc@cygnus.com>
12541
12542         * config/arm/thumb.c: Replace includes of system headers with
12543         #include "system.h".
12544
12545 2000-02-16  Richard Henderson  <rth@cygnus.com>
12546
12547         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
12548         Add crtbeginS.o and crtendS.o.
12549         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
12550         (ENDFILE_SPEC): Use crtendS.o.
12551         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
12552
12553         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
12554         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
12555         shared and present.
12556         (__dso_handle): New variable.
12557         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
12558         bias to __CTOR_END__.
12559
12560 2000-02-16  Richard Henderson  <rth@cygnus.com>
12561
12562         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
12563
12564 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
12565
12566         * longlong.h (__clz_tab): Declare as static to match definition.
12567
12568 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
12569
12570         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
12571         (XREF_FILE_NAME): Define.
12572
12573         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
12574         (EH_FRAME_SECTION_ASM_OP): Define.
12575         (IDENT_ASM_OP): Define.
12576         (TEXT_SECTION_ASM_OP): Define.
12577         (CPP_SPEC): Define.
12578         (CTORS_SECTION_ASM_OP): Define.
12579         (CTOR_SECTION_FUNCTION): Use it.
12580         (DTORS_SECTION_ASM_OP): Define.
12581         (DTOR_SECTION_FUNCTION): Use it.
12582
12583 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
12584
12585         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
12586         NOTE_BASIC_BLOCK.
12587
12588         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
12589         debug_bb_n): New functions.
12590         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
12591         * basic-block.h: Prototype new functions.
12592
12593 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
12594
12595         * configure.in: Add support for avr target.
12596         * configure: Rebuilt.
12597
12598         * invoke.texi: Add AVR invocation docs.
12599         * install.texi: Add information about AVR.
12600         * md.texi: Add AVR constraint letters description.
12601         * extend.texi: Add description for AVR specific attributes.
12602
12603 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
12604
12605         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
12606
12607 2000-02-16  Nick Clifton  <nickc@cygnus.com>
12608
12609         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
12610         (make_insn_raw): Move RTL check here.
12611
12612 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12613
12614         * version.c: Include gansidecl.h and version.h.
12615
12616         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
12617
12618         * configure.in (gcc_version): When setting, narrow search to
12619         lines containing `version_string'.
12620
12621         * Makefile.in (mainversion): Likewise.
12622         (GCC_H): New variable.
12623         (gcc.h): Delete target.
12624         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
12625         (version.o): Depend on version.h.
12626         (dbxout.o): Don't depend on gcc.h.
12627
12628 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
12629                           Michael Meissner  <meissner@cygnus.com>
12630
12631         * md.texi (Simple Constraints): Add item about whitespace.
12632         * genoutput.c (strip_whitespace): New.
12633         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
12634         strip_whitespace for constraints.
12635         Test pointer using NULL, not 0.
12636
12637 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12638
12639         * cpplib.c (do_line): Pedwarn for #line > 32767.
12640
12641         * c-lex.c (readescape): Warn about '\x', but do not reject it.
12642
12643 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
12644
12645         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
12646         to default cpp spec.
12647         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
12648         * cpp.texi: Document __GNUC_PATCHLEVEL__.
12649         * cpp.1: Likewise.
12650
12651         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
12652         default spec.
12653
12654 2000-02-15  Denis Chertykov  <denisc@overta.ru>
12655
12656         * configure.in: Add support for avr target.
12657
12658 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12659
12660         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
12661         (sh_addr_diff_vec_mode): Don't declare.
12662         * sh.c (sh_addr_diff_vec_mode): Delete.
12663
12664 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12665
12666         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
12667
12668 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12669
12670         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
12671         (smulsi3_highpart_i): Name.
12672         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
12673         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
12674         (smulsi3_highpart, umulsi3_highpart): Likewise.
12675
12676         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
12677         correctly independent of endianness.
12678         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
12679         confuse the optimizers.
12680         (mulsidi3+1, umulsidi3+1): New define_split.
12681
12682 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
12683
12684         * config/sh/sh.md: Guard insn splits against illegal registers.
12685         * config/sh/sh.h: Correct comment about macros.
12686
12687 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12688                           Andrew MacLeod  <amacleod@cygnus.com>
12689
12690         * Makefile.in (lcm.o): Depend on insn-attr.h.
12691         * basic-block.h (optimize_mode_switching): Declare.
12692         * lcm.c (tm_p.h, insn-attr.h): #include.
12693         (seginfo, bb_info): New structs.
12694         (antic, transp, comp, delete, insert) : New file-scope static variables.
12695         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
12696         (reg_becomes_live, optimize_mode_switching): Likewise.
12697         * tm.texi: Add description of mode switching macros.
12698         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
12699
12700         * sh-protos.h (remove_dead_before_cse): Remove prototype.
12701         (fldi_ok, fpscr_set_from_mem): New prototypes.
12702         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
12703         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
12704         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
12705         (sh_flag_remove_dead_before_cse): Remove declaration.
12706         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
12707         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
12708         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
12709         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
12710         (barrier_align): Allow for JUMP_INSNS containing a parallel.
12711         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
12712         (fldi_ok): New function.
12713         (get_fpscr_rtx): Add fpscr_rtx as GC root.
12714         (emit_sf_insn): Only generate fpu switches when optimize < 1.
12715         (emit_df_insn): Likewise.
12716         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
12717         (sh_flag_remove_dead_before_cse): Delete.
12718         (get_free_reg, fpscr_set_from_mem): New functions.
12719         * sh.md (movdf, movsf): Remove no_new_pseudos code.
12720         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
12721
12722 2000-02-15  Loren Rittle  <ljrittle@acm.org>
12723
12724         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
12725
12726 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12727
12728         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
12729         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
12730
12731         * cccp.c: Include version.h and/or don't declare `version_string'.
12732         * collect2.c: Likewise.
12733         * alpha.c: Likewise.
12734         * arm/aof.h: Likewise.
12735         * arm/coff.h: Likewise.
12736         * arm/elf.h: Likewise.
12737         * arm/pe.h: Likewise.
12738         * arm/tcoff.h: Likewise.
12739         * arm/telf.h: Likewise.
12740         * arm/tpe.h: Likewise.
12741         * arm/vxarm.h: Likewise.
12742         * convex/convex.c: Likewise.
12743         * i386/dgux.c: Likewise.
12744         * i386/sun386.h: Likewise.
12745         * m88k/m88k.c: Likewise.
12746         * mcore/mcore-pe.h: Likewise.
12747         * mips/mips.h: Likewise.
12748         * romp/romp.h: Likewise.
12749         * sh/sh.c: Likewise.
12750         * cpphash.c: Likewise.
12751         * cppinit.c: Likewise.
12752         * dwarf2out.c: Likewise.
12753         * dwarfout.c: Likewise.
12754         * gcc.c: Likewise.
12755         * gcc.h: Likewise.
12756         * mips-tfile.c: Likewise.
12757         * protoize.c: Likewise.
12758         * toplev.c: Likewise.
12759         * tree.h: Likewise.
12760
12761         * version.c (version_string): Constify a char*.
12762
12763         * version.h: New file.
12764
12765 2000-02-14  Nick Clifton  <nickc@cygnus.com>
12766
12767         * configure.in: Add mcore-elf and mcore-pe targets.
12768         * configure: Regenerate.
12769
12770         * NEWS: Add note that MCore port has been contributed.
12771
12772         * invoke.texi: Document command line switches for MCore port.
12773         * install.texi: Add MCore to list of supported targets.
12774
12775 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
12776
12777         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
12778         then we will need to import the frame handling functions.
12779         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
12780         to import the frames themselves.
12781
12782 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
12783                           Jason Eckhardt  <jle@cygnus.com>
12784
12785         * basic_block.h: Added prototype for reorder_basic_blocks.
12786         * toplev.c: Changes to add -freorder-blocks and graph dump after
12787         block reordering is done.
12788         * flow.c (reorder_block_def): New structure for use during block
12789         reordering.
12790         (REORDER_BLOCK_*): New macros to access members of above structure.
12791         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
12792         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
12793         functions for block reordering.
12794
12795 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
12796
12797         * gcc.texi (Passes): Fix typo.
12798         * md.texi (Standard Names): Ditto.
12799         * tm.texi (Storage Layout): Ditto.
12800
12801 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
12802
12803         * cpplib.c (do_define): Only free the old definition if it
12804         actually had one.
12805
12806 2000-02-13   Neil Booth  <NeilB@earthling.net>
12807
12808         * cppfiles.c (read_and_prescan): When emitting deferred
12809         newlines, test speccase[] again instead of checking each
12810         possible whitespace character in turn.  When we encounter \r,
12811         look behind for \n first, then ahead.
12812
12813 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
12814
12815         * cse.c (cse_altered): New internal flag.
12816         (cse_insn): Set it if we changed an insn.
12817         (cse_main): Clear cse_altered before each basic block.
12818         Only garbage collect if cse_altered is true afterward.
12819
12820 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12821
12822         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
12823
12824 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
12825
12826         * combine.c (simplify_comparison): Fix typo.
12827
12828 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
12829
12830         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
12831         consistently.
12832
12833 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12834
12835         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
12836         previously inserted node instead of root node.  Caller changed.
12837
12838 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12839
12840         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
12841
12842 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12843
12844         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
12845         __dereg_frame_dtor): Add prototype argument.
12846
12847         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
12848
12849         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
12850
12851         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
12852
12853         * gthr-vxworks.h (__gthread_once): Likewise.
12854
12855         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
12856
12857 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
12858
12859         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
12860         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
12861         stack pointer in functions w/o saved registers, output LEAVE more often
12862         on TARGET_USE_LEAVE machines.
12863
12864 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
12865
12866         * config/arm/arm.c (arm_init_cumulative_args); New function:
12867         Initlaise the CUMULATIE_ARGS strcuture for a function
12868         defintion.
12869         (arm_function_arg): New function: Determine where to place a
12870         function's argument.  Also handles deciding the function's
12871         call cookie.
12872         (current_file_function_operand): New function: Return true if
12873         the symbol is a function which has already been compiled.
12874         (arm_is_long_call_p): New function: Return true if the
12875         indicated function should be called via a long call.
12876         (arm_valid_type_attribute_p): New function: Return true if the
12877         attribute is a valid, arm specific, attribute.
12878         (arm_comp_type_attribute): New function: Return true if the
12879         two types have compatable, arm specific, attributes.
12880
12881         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
12882         structure.
12883         (FUNCTION_ARG): Redefine to call arm_function_arg.
12884         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
12885         structure field.
12886         (INIT_CUMULATIVE_ARGS): Redefine to call
12887         arm_init_cumulative_args.
12888         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
12889         field.
12890         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
12891         field.
12892         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
12893         functions.
12894         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
12895         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
12896         (COMP_TYPE_ATTRIBUTES): Define.
12897
12898         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
12899         if a long call is needed.
12900         (call_value): Call arm_is_long_call_p to decide if a long call
12901         is needed.
12902         (call_symbol): Call arm_is_long_call_p to decide if a long call
12903         is needed.
12904
12905         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
12906
12907 2000-02-11  Denis Chertykov  <denisc@overta.ru>
12908
12909         * README.AVR: New file with information about the avr ports.
12910         * config/avr: New directory with avr port files.
12911
12912 2000-02-11  Andreas Jaeger  <aj@suse.de>
12913
12914         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
12915
12916 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
12917
12918         * cpphash.c: Fix formatting, update commentary.
12919         (dump_definition): Take three separate arguments instead of a
12920         MACRODEF structure argument.
12921         * cpphash.h: Update prototype of dump_definition.
12922         * cppinit.c (cpp_finish): Update call of dump_definition.
12923
12924         * cpplib.c (do_define): Always create new hash entry with
12925         T_MACRO type.  Remove redundant check for redefinition of
12926         poisoned identifier.  Update call of dump_definition.
12927         (do_undef): Don't call check_macro_name.  Rename sym_length to
12928         len.
12929         (do_error, do_warning): Don't use copy_rest_of_line or
12930         SKIP_WHITE_SPACE.
12931         (do_warning): Don't use pedwarn for the actual warning,
12932         only the notice about its not being in the standard.  (Fixes
12933         bug with #warning in system headers.)
12934         (do_ident): Stricter argument checking - accept only a single
12935         string after #ident.  Also, macro-expand the line.
12936         (do_xifdef): Use cpp_defined.  De-obfuscate.
12937
12938         (do_pragma): Split out specific pragma handling to separate
12939         functions.  Use get_directive_token.  Update commentary.  Do
12940         not pass on #pragma once or #pragma poison to the front end.
12941         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
12942         do_pragma_default): New.
12943
12944 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
12945
12946         * jump.c (jump_optimize_1): The first operand in a relational
12947         can be a CONST_INT.
12948         * optabs.c (emit_conditional_move): Handle relationals which
12949         have a known true/false result.
12950
12951 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
12952
12953         * function.c (thread_prologue_and_epilogue_insns): Don't insert
12954         a RETURN insn into a block which already ends with a jump.
12955
12956 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
12957
12958         * haifa-sched.c (BUF_LEN): Increase a lot.
12959
12960 2000-02-11  Nick Clifton  <nickc@cygnus.com>
12961
12962         * configure.in: Add tm_p_file specification for thumb targets.
12963         * configure: Regenerate.
12964
12965         * config/arm/thumb-protos.h: New file: Prototypes for exported
12966         functions defined in thumb.c.
12967
12968 2000-02-11  Robert Lipe  <robertl@sco.com>
12969
12970         * Makefile.in (bootstrap-lean): Remove additional files.
12971         (bootstrap2-lean): Likewise.
12972         (VOL_FILES): List of files for above.
12973
12974 2000-02-11  Nathan Sidwell  <nathan@acm.org>
12975
12976         * cpphash.c (special_symbol): Remove spurious argument to
12977         cpp_lookup.
12978
12979 2000-02-11  Joel Sherrill (joel@OARcorp.com>
12980
12981         * configure.in: (i*86-*-rtems*): Swapped elf and coff
12982         stanzas.
12983         * configure: Rebuilt.
12984
12985 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
12986
12987         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
12988
12989 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
12990
12991         * pa.c, pa.h: Remove trigraph sequences within comments.
12992
12993 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
12994
12995         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
12996
12997 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
12998
12999         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
13000
13001 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13002
13003         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
13004
13005 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13006
13007         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
13008         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
13009         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
13010         (ASM_FILE_END): Use c4x_file_end.
13011         * config/c4x/c4x.c (c4x_global_label): New function.
13012         (c4x_external_ref, c4x_file_end): Likewise.
13013
13014         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
13015         (c4x_external_ref, c4x_end_file): Likewise.
13016
13017 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
13018
13019         * cppexp.c: Don't include cpphash.h.
13020         (parse_charconst, cpp_lex): Use cpp_defined.
13021         (cpp_lex): Use get_directive_token throughout.  Remove
13022         unnecessary cases from switch.  Move assertion-handling code
13023         down to OTHER case.
13024         (cpp_parse_expr): If we see '+' or '-', check the context to
13025         determine if they are unary or binary operators.  Streamline
13026         the jumps a bit.  Do not call skip_rest_of_line.
13027
13028         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
13029         static.  Export get_directive_token.  Update commentary.
13030         (cpp_defined): New function.
13031         (do_define): Remove reference to T_PCSTRING.  Call
13032         free_definition to release memory for old definition, when
13033         redefining a macro.
13034         (eval_if_expression): Set only_seen_white to 0 before calling
13035         cpp_parse_expr.  Call skip_rest_of_line after it returns.
13036         (cpp_read_check_assertion): Don't preserve a pointer into the
13037         token buffer across a call to cpp_get_token.
13038
13039         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
13040         * cppfiles.c (redundant_include_p): Use cpp_defined.
13041         * cpphash.c (free_definition): New function.
13042         (delete_macro): Use it.  Update commentary.
13043         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
13044         free_definition.
13045         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
13046         from enum node_type.  Prototype cpp_defined and get_directive_token.
13047         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
13048
13049         * fix-header.c (check_macro_names): Use cpp_defined.
13050         (read_scan_file): Set inhibit_warnings and inhibit_errors in
13051         the options structure.
13052
13053 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13054
13055         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
13056
13057 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
13058
13059         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
13060         rather than die->die_tag.
13061
13062 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13063
13064         * combine.c (make_extraction, force_to_mode): Avoid warning on
13065         mixed-signedness conditionals.
13066         (make_field_assignment, nonzero_bits): Likewise.
13067         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
13068         (store_split_bit_field, extract_split_bit_field): Likewise.
13069         (extract_fixed_bit_field, store_bit_field,
13070         * expr.c: Change alignment to be unsigned everywhere.
13071         (move_by_pieces, store_constructor_field, store_constructor):
13072         Alignment parm is unsigned.
13073         (emit_block_move, emit_group_load, emit_group_store): Likewise.
13074         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
13075         (do_compare_rtx_and_jump): Likewise.
13076         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
13077         Compare align with GET_MODE_ALIGNMENT.
13078         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
13079         (get_inner_reference): Likewise.
13080         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
13081         (expand_assignment): Local vars for alignment now unsigned.
13082         (store_constructor, store_field, expand_expr, do_jump): Likewise.
13083         (do_compare_and_jump): Likewise.
13084         (store_field): Call new function expr_align.
13085         * expr.h (emit_block_move, emit_group_load, emit_group_store):
13086         Alignment arg now unsigned.
13087         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
13088         (do_compare_rtx_and_jump, store_bit_field): Likewise.
13089         (extract_bit_field): Likewise.
13090         * fold-const.c (add_double): Add cast to eliminate signedness warning.
13091         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
13092         (get_best_mode): Alignment arg is unsigned.
13093         * rtl.h (move_by_pieces): Likewise.
13094         * store-layout.c (maximum_field_alignment, set_alignment):
13095         Now unsigned.
13096         (layout_decl): Alignment arg is now unsigned.
13097         Remove unneeded casts.
13098         (layout_record, layout_union, layout_type): Remove unneeded casts.
13099         Local alignment variables now unsigned.
13100         (get_best_mode): Alignment arg now unsigned.
13101         * tree.c (expr_align): New function.
13102         * tree.h (expr_align): Likewise.
13103         (maximum_field_alignment, set_alignment): Now unsigned.
13104         (get_inner_reference): Alignment argument is now pointer to unsigned.
13105         * varasm.c (assemble_variable): Add cast to eliminate warning.
13106
13107 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
13108
13109         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
13110         then store directly into op0.
13111
13112         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
13113         the CALL_INSN, and emit the note immediately after it.
13114
13115 2000-02-10  Nick Clifton  <nickc@cygnus.com>
13116
13117         * config/arm/thumb.md (epilogue): Include a (return) in the
13118         generated insn, and emit it using emit_jump_insn not
13119         emit_insn.
13120
13121 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
13122
13123         * function.c (assign_temp): Change zero-sized arrays to size 1.
13124         * integrate.c (expand_inline_function): Do not update
13125         stack_alignment_needed
13126         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
13127         add some sanity checking, remove optimization for function with
13128         zero frame size.
13129
13130 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13131
13132         * flow.c (mark_regs_live_at_end): Delete unused variables.
13133
13134         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
13135
13136         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
13137         in macro FRAME_GROWS_DOWNWARD.
13138
13139         * stmt.c (expand_end_bindings): Delete unused variable.
13140
13141         * unroll.c (iteration_info): Mark parameter `loop' with
13142         ATTRIBUTE_UNUSED.
13143
13144 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13145
13146         * fixinc/server.c (load_data): Return NULL if the marker line is
13147         not found.
13148         (run_shell): If load_data returns NULL, retry the command once, in
13149         a new shell.
13150
13151         * configure: Rebuilt.
13152
13153 2000-02-09  Bruce Korb  <bkorb@gnu.org>
13154
13155         * gcc/fixincludes:  ** DELETED **
13156         * gcc/fixcpp:  ** DELETED **
13157         * gcc/fixinc-nt.sed:  ** DELETED **
13158         * gcc/just-fixinc:  ** DELETED **
13159         * gcc/Makefile.in:  Removed out-dated commentary
13160         * gcc/configure.in: Removed fast-fixincludes disablement.
13161         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
13162
13163 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
13164         * function.c (thread_prologue_and_epilogue_insns): Uncomment
13165         last change.
13166
13167 2000-02-09  Richard Henderson  <rth@cygnus.com>
13168
13169         * jump.c (delete_insn): Don't delete user labels at -O0.
13170
13171 2000-02-09  Robert Lipe  <robertl@sco.com>
13172
13173         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
13174         Don't link with HOST_LIBS.
13175
13176 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13177
13178         * configure.in: Correct --help text for --with-dwarf2.
13179         Put tm-dwarf2.h after other tm files, if it's requested.
13180         * configure: Regenerate.
13181         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
13182         defining it.
13183
13184 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13185
13186         * cpplib.h: Provide HASHNODE typedef and forward decl of
13187         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
13188         DEFINITION, struct hashnode, struct macrodef, struct
13189         definition, scan_decls prototype, default defn of
13190         INCLUDE_LEN_FUDGE moved elsewhere.
13191
13192         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
13193         definition, and struct hashnode moved here. Remove the unused
13194         'predefined' field from struct definition.  Replace the 'args'
13195         union with its sole member.  All users updated (cpphash.c).
13196         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
13197         multiple include guard.
13198
13199         * cpphash.c (hashf): Make static; use better algorithm; drop
13200         HASHSIZE parameter; return an unsigned int.
13201         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
13202         used. Calculate HASHSIZE modulus here.
13203         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
13204         here.
13205         (create_definition): Drop PREDEFINITION parameter.
13206         * cpplib.c (do_define): Don't calculate a hash value here.
13207         Don't pass (keyword == NULL) to create_definition.
13208
13209         * scan.h: Prototype scan_decls here.
13210         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
13211         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
13212         callers of cpp_lookup and cpp_install updated.
13213
13214         * cpphash.c (macarg): Hoist all the flag diddling out of the
13215         function...
13216         (macroexpand): ... and out of the loop that calls macarg.
13217         Skip over the initial paren before macro arguments with
13218         cpp_get_non_space_token; point may be some distance before
13219         that paren.  Abort if it's not there.
13220
13221         * cpplib.c (parse_clear_mark): Delete function.
13222         (parse_set_mark, parse_goto_mark): Make static.
13223         (ACTIVE_MARK_P): New macro.
13224         (skip_block_comment, skip_line_comment): Do not bump the line
13225         if ACTIVE_MARK_P is true.
13226         (cpp_pop_buffer): The buffer to be popped may not have an
13227         active mark.
13228         (cpp_get_token): When looking for the initial paren before
13229         macro arguments, only set a mark in a file buffer, Always
13230         return to that mark before proceeding to call macroexpand or
13231         return a NAME token.
13232
13233         * cpplib.h: Remove prototypes of parse_set_mark,
13234         parse_clear_mark, parse_goto_mark.
13235         (struct cpp_options): Rename 'put_out_comments' to
13236         'discard_comments' and invert its sense.
13237         * cppinit.c, cpphash.c, cpplib.c: All users of
13238         put_out_comments changed to use discard_comments, with
13239         opposite sense.
13240
13241 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
13242
13243         * function.c (thread_prologue_and_epilogue_insns): Don't delete
13244         the edge from a block that both jumps and falls through to the
13245         fallthru block.
13246
13247 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
13248
13249         * config/arm/arm.md (movsi): In PIC mode, make sure that a
13250         constant source address is legitimate.
13251
13252 2000-02-09  Philip Blundell  <pb@futuretv.com>
13253
13254         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
13255         correctly.
13256
13257         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
13258         generating PIC.
13259         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
13260
13261 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13262
13263         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
13264         ends with a newline and a NUL.  Don't be so clever manipulating
13265         strings.
13266
13267 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
13268
13269         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
13270         not to BIGGEST_ALIGNMENT.
13271
13272 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
13273
13274         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
13275         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
13276         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
13277         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
13278         * frame.c (execute_cfa_insn): Handle
13279         DW_CFA_GNU_negative_offset_extended.
13280
13281 2000-02-08  Richard Henderson  <rth@cygnus.com>
13282
13283         * flow.c (tidy_fallthru_edges): Split out from ...
13284         (delete_unreachable_blocks): ... here.
13285         (find_basic_blocks): Use it.
13286
13287 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13288
13289         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
13290
13291 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
13292
13293         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
13294         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
13295         (fix-header.o): Don't depend on cpphash.h.
13296
13297         * scan.c (hashstr): New function.
13298         * scan.h: Prototype it.
13299         * fix-header.c: Don't include cpphash.h.  Use hashstr.
13300         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
13301         hashstr.  Report hash table statistics.  Add private
13302         definition of xrealloc.
13303
13304 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13305
13306         * i386.h (TARGET_SWITCHES): Fix typo in option name.
13307
13308 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
13309
13310         * function.c (thread_prologue_and_epilogue_insns): Don't replace
13311         jumps with returns unless they are jumps to the fallthru block.
13312
13313 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
13314
13315         * i386.md (addqi3_cc): Fix contraints.
13316
13317 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13318
13319         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
13320
13321 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
13322
13323         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
13324         carriage return after a macro name.
13325
13326 2000-02-07  Fred Fish  <fnf@be.com>
13327
13328         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
13329         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
13330
13331 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
13332
13333         * cppfiles.c (deps_output): Count spacers in deps_column.
13334
13335 2000-02-07  Neil Booth  <NeilB@earthling.net>
13336
13337         * cppinit.c (initialize_dependency_output): If there is no
13338         suffix, don't try to look for known suffixes.  Use strrchr.
13339         (cpp_start_read): Remove duplicate initialization.
13340
13341 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
13342
13343         * calls.c (compute_argument_block_size): New argument
13344         preferred_stack_boundary.
13345         (expand_call): update cfun->preferred_stack_boundary, update call of
13346         compute_argument_block_size
13347         (emit_library_call): Increate cfun->preferred_stack_boundary
13348         to PREFERRED_STACK_BOUNDARY
13349         (emit_library_call_value): Likewise.
13350         * explow.c (allocate_dynamic_stack_spave): Likewise.
13351         * function.c (prepare_function_start): Set
13352         cfun->preferred_stack_boundary
13353         * function.h (struct function): Add preferred_stack_boundary field.
13354         * integrate.c (expand_inline_function): Update
13355         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
13356         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
13357         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
13358
13359 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
13360
13361         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
13362         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
13363         cpp_pedwarn, cpp_pedwarn_with_line,
13364         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
13365         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
13366         v_cpp_error_with_line, v_cpp_warning_with_line,
13367         cpp_message_from_errno, cpp_perror_with_name): Delete.
13368
13369         * cpperror.c (cpp_print_containing_files): Take starting
13370         buffer as argument.
13371         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
13372         (v_cpp_message): Now called directly by all entry points.
13373         Remove -1 case.
13374         (cpp_pfatal_with_name, cpp_message): Delete.
13375         (cpp_notice_from_errno, cpp_ice): New functions.
13376         (cpp_notice): Is now for reporting error conditions, just
13377         without an associated file.
13378         (cpp_error, cpp_error_with_line): Don't do anything if
13379         opts->inhibit_errors is on.
13380         (cpp_pedwarn_with_file_and_line): Take column argument also.
13381
13382         * cpplib.h: Update prototypes of exported functions.
13383         (struct cpp_options): Add inhibit_errors.
13384
13385         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
13386         non-error messages.  Include intl.h.
13387
13388         * cppinit.c, cppmain.c: Likewise.  Also, use
13389         cpp_notice_from_errno instead of cpp_perror_with_name or
13390         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
13391
13392         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
13393         report internal errors.
13394
13395         * cpplib.c (do_define): Switch bcopy to memcpy.
13396         Give cpp_pedwarn_with_file_and_line a dummy column argument.
13397
13398         * cpplib.c (copy_rest_of_line): Revert previous change: don't
13399         bail out early if we hit a line comment.
13400
13401 2000-02-06  Richard Henderson  <rth@cygnus.com>
13402
13403         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
13404         * basic-block.h: Declare them.
13405         * emit-rtl.h (active_insn_p): New.
13406         (next_active_insn, prev_active_insn): Use it.
13407         * rtl.h: Declare it.
13408         * function.c (emit_return_into_block): New.
13409         (thread_prologue_and_epilogue_insns): Insert return insns instead
13410         of epilogues when possible.
13411         * jump.c (jump_optimize_1): Remove code to insert a return insn
13412         on the fallthru to the exit block.
13413
13414         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
13415         and for non-empty stack frames.
13416         * i386.md (return): Expand to return-pop as needed.
13417
13418 2000-02-06  Richard Henderson  <rth@cygnus.com>
13419
13420         * simplify-rtx.c (simplify_relational_operation): Canonicalize
13421         constant to op1 for testing.
13422
13423 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13424
13425         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
13426         (fixuns_truncqfqi2): Use it.
13427
13428 2000-02-06  Richard Henderson  <rth@cygnus.com>
13429
13430         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
13431         as a TYPE_LEA insn.
13432
13433         * i386.md (widening and peepholes): Mask the constant instead of
13434         using gen_lowpart.
13435
13436 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
13437
13438         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
13439         input pointer before possibly branching off to the backslash
13440         code.
13441         * cpphash.c (macroexpand): Correctly delete \r escapes when
13442         stringifying parameters.
13443         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
13444         if we can; bail out early if we hit a line comment.
13445         (handle_directive): Treat '# 123' in an .S file just like
13446         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
13447         Return 1 for '# not_a_directive'.
13448         (get_directive_token): Pop macro buffers here, so that
13449         cpp_get_token can't sneakily move past a newline.
13450         Add sanity checks.
13451         (cpp_get_token): goto randomchar if handle_directive returns 0.
13452
13453         * cppalloc.c: Update copyright.
13454         * cpplib.c: Merge all the static function prototypes into one
13455         block.
13456         * cpplib.h: Remove #if 0 block.
13457
13458         * cpperror.c: Remove #ifdef EMACS block.
13459         * cppmain.c: Likewise.
13460         * cpphash.c: Remove #if 0 blocks.
13461         * cppinit.c: Remove #if 0 blocks, and the -lint option.
13462         * cpplib.c: Remove #if 0 blocks and code referencing
13463         pcp_inside_if or for_lint.  Remove duplicate error message.
13464         Fix error messages for #else after #else or #elif.  Reformat.
13465         Remove archaic TODO list.
13466         * cpplib.h: Remove pcp_inside_if and for_lint flags.
13467
13468 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
13469
13470         * i386/osf1elf.h: Add missing backslash to multiline string.
13471
13472 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13473
13474         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
13475
13476 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13477
13478         * Makefile.in (c-common.o): Depend on $(EXPR_H).
13479
13480         * c-common.c: Include expr.h.
13481
13482         * c-pragma.c (mark_align_stack): Add prototype.
13483
13484         * caller-save.c (add_stored_regs): Likewise.
13485
13486         * combine.c (record_promoted_value): Likewise.
13487
13488         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
13489         Likewise.
13490
13491         * cppinit.c (new_pending_define): Likewise.
13492
13493         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
13494
13495         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
13496         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
13497         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
13498         class_scope_p): Likewise.
13499
13500         * dwarf2out.h (dwarf2out_set_demangle_name_func,
13501         dwarf2out_add_library_unit_info): Likewise.
13502
13503         * ggc.h (ggc_page_print_statistics): Likewise.
13504
13505         * haifa-sched.c (propagate_deps): Likewise.
13506
13507         * reg-stack.c (next_flags_user, record_label_references): Likewise.
13508
13509         * rtl.h (set_stack_check_libfunc): Likewise.
13510
13511         * toplev.h (set_fatal_function): Likewise.
13512
13513         * toplev.c (set_fatal_function): Delete prototype.
13514
13515         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
13516
13517 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
13518
13519         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
13520         (FUNC_END): Likewise.
13521
13522 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13523
13524         * caller-save.c: Include tm_p.h.
13525
13526 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13527
13528         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
13529
13530 2000-02-04  Neil Booth  <NeilB@earthling.net>
13531
13532         * cccp.c (main): Check 'dir' for a NULL pointer before passing
13533         it to strcmp.
13534
13535 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
13536
13537         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
13538         * genflags.c: Use the max_operand_1 logic from genemit.c to
13539         calculate how many arguments gen_insn prototypes have.  Remove
13540         NO_MD_PROTOTYPES ifdefs from the generated file.
13541         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
13542         file.  Cast gen_insn initializers to insn_gen_fn.
13543         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
13544         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
13545
13546 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13547
13548         * fixinc/Makefile.in (HDR): Add machname.h.
13549         (clean): Likewise.
13550
13551 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13552
13553         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
13554         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
13555         (c4x_cpu_version): Ditto.
13556         * config/c4x/c4x-protos.h: ... here.
13557
13558 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
13559
13560         * dwarf2out.c (add_abstract_origin_attribute): Don't call
13561         gen_abstract_function on our context if we're a nested function.
13562
13563 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13564
13565         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
13566         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
13567
13568 2000-02-04  Bruce Korb  <bkorb@gnu.org>
13569
13570         * fixinc/genfixes(machname.h):
13571         Move the functionality from gen-machine.h into this file.
13572         UNdef MN_NAME_PAT if there are no names to change.
13573         Also, be a little kinder when AutoGen is not present.
13574
13575         * fixinc/Makefile.in(machname.h):
13576         Change the generation rule to use genfixes.
13577
13578         * fixinc/fixfixes.c(machine_name):
13579         machine_name_fix's functionality now dependent upon whether
13580         MN_NAME_PAT is defined.
13581
13582         * fixinc/fixtests.c(machine_name):
13583         ditto.
13584
13585         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
13586         of MN_NAME_PAT.
13587
13588         * fixinc/fixlib.h(mn_get_regexps):
13589         ditto
13590
13591         * fixinc/gen-machine.h: DELETED
13592
13593 2000-02-04  Jan Hubicka  <jh@suse.cz>
13594             Richard Henderson  <rth@cygnus.com>
13595
13596         * i386.c (SAVE_REGS_FIRST): Remove.
13597         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
13598         (ix86_compute_frame_size): Likewise.
13599         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
13600         (ix86_emit_restore_regs): Remove.
13601         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
13602         when a frame pointer is in use.
13603         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
13604         instead of pop to restore a register when profitable; emit leave
13605         when profitable.
13606         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
13607         as a TYPE_LEA insn.
13608         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
13609         * i386.md (prologue_allocate_stack): Remove.
13610         (epilogue_deallocate_stack): Remove.
13611         (pro_epilogue_adjust_stack): New.
13612
13613 2000-02-04  Richard Henderson  <rth@cygnus.com>
13614
13615         * function.c (diddle_return_value): Rework to use a callback function.
13616         Use current_function_return_rtx if it's been set up.
13617         (do_clobber_return_reg, clobber_return_register): New.
13618         (do_use_return_reg, use_return_register): New.
13619         (expand_function_end): Use them.
13620         * stmt.c (expand_null_return): Likewise.
13621         * function.h: Declare them.
13622         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
13623         (mark_reg): Change arguments as appropriate for callback.
13624         * integrate.c (expand_inline_function): Revert 19 Jan change.
13625
13626 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13627
13628         * tm.texi (Values in Registers): Fix typo: "fo" "for".
13629         (Misc): Say the scheduler, not the Haifa scheduler.
13630
13631 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
13632
13633         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
13634         when in_mem is set.  Update all callers.
13635
13636 2000-02-04  Richard Henderson  <rth@cygnus.com>
13637
13638         * i386/openbsd.h (INT_ASM_OP): Define.
13639
13640 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13641
13642         * tm.texi: Fix various typos.
13643
13644 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
13645
13646         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
13647         (MD_STARTFILE_PREFIX_1): New macro.
13648
13649 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
13650
13651         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
13652         destination when needed.
13653         (strmovsi, strsetsi): New expander.
13654         (strmovsi_1, strsetsi_1): New pattern.
13655         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
13656         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
13657         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
13658         * invoke.texi (align-stringops, inline-all-stringops): Document.
13659
13660 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
13661
13662         * i386/netbsd.h (INT_ASM_OP): Define.
13663
13664 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
13665
13666         * cpplib.h (cpp_reader): Add new flag, no_directives.
13667         * cpphash.c (macarg): Set it.
13668         * cpplib.c (handle_directive): If no_directives is on and we
13669         find a directive, issue an error and discard the line.
13670
13671 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
13672
13673         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
13674         FP constants.  Add ! TARGET_FPU check for FP constants.
13675
13676 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
13677
13678         * flow.c (find_basic_blocks): Don't kill label_value_list
13679         here.
13680         (cleanup_cfg): Kill it here.
13681
13682 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13683
13684         * expr.c (store_field): Ensure ALIGN is no stricter than the
13685         alignment of EXP.
13686
13687 2000-02-02  Richard Henderson  <rth@cygnus.com>
13688
13689         * jump.c (delete_insn): Partially revert 19 Jan change;
13690         don't convert unused code labels to notes at -O0.
13691
13692 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13693
13694         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
13695         split_all_insns to recreate REG_LABEL notes for flow2 pass.
13696
13697 2000-02-01  Richard Henderson  <rth@cygnus.com>
13698
13699         * i386.c (general_no_elim_operand): New.
13700         (nonmemory_no_elim_operand): New.
13701         (ix86_expand_move): Copy eliminable operands before a push.
13702         * i386-protos.h: Declare new functions.
13703         * i386.h (CAN_ELIMINATE): Simplify.
13704         (PREDICATE_CODES): Update.
13705         * i386.md (push insns): Don't allow eliminable register operands.
13706
13707 2000-02-01  Richard Henderson  <rth@cygnus.com>
13708
13709         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
13710         replace BLKmode with DECL_RTL's mode.
13711
13712 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
13713
13714         * frame.c (find_fde): Convert for loop to do-while so compiler
13715         sees it's always executed at least once.
13716         * libgcc2.c (BBINBUFSIZE): Kill.
13717         (__bb_init_prg): Use fgets.
13718         (__bb_exit_trace_func): Don't paste strings.
13719         * unroll.c (unroll_loop): Initialize unroll_type, not
13720         unroll_number, and tweak logic to match.
13721
13722         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
13723         all failure paths.
13724         (ix86_flags_dependant): Likewise.  Disentangle control flow.
13725         (ix86_sched_reorder): Break guts out to
13726         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
13727         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
13728         any possible use.
13729
13730         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
13731         use string concatenation.  Don't save and restore esi.
13732
13733         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
13734         (machname.h): Remove script to separate file.  Use two-step
13735         sequence so target is not created if script fails.
13736         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
13737         identifiers are defined.
13738         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
13739         an empty string, machine_name doesn't need to do anything at
13740         all.
13741         (is_cxx_header): Add more cases to regexp.
13742         * fixinc/fixlib.h: Update prototype.
13743         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
13744         mn_get_regexps.
13745         * fixinc/fixincl.c: Define NO_BOGOSITY.
13746
13747         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
13748         (hp_sysfile): Add missing comma.
13749         (math_exception): Put the wrapper ifdefs at the beginning and
13750         the end of the file.
13751         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
13752
13753 2000-02-01  Richard Henderson  <rth@cygnus.com>
13754
13755         * sparc.c (fp_zero_operand): Turn into a normal predicate.
13756         Use CONST0_RTX.  Update all callers.
13757         * sparc.h, sparc-protos.h: Update accordingly.
13758         * sparc.md (fp mov insns): Use fp_zero_operand directly
13759         where applicable.
13760
13761 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13762
13763         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
13764         example.
13765
13766 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13767
13768         * Makefile.in (specs.ready): New target.
13769         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
13770
13771 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13772
13773         * fixinc.irix: Use unique filenames for writing into /tmp,
13774         * fixinc.ptx: Likewise.
13775         * fixinc.sco: Likewise.
13776         * fixinc.svr4: Likewise.
13777         * fixinc.winnt: Likewise.
13778
13779 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13780
13781         * tsystem.h: New file.
13782
13783         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
13784         s-crtS): Depend on tsystem.h.
13785
13786         * crtstuff.c: Include tsystem.h.
13787         * frame.c: Likewise.
13788         * libgcc2.c: Likewise.
13789
13790 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
13791
13792         * builtins.c (expand_builtin_memset): Expand for variable sized
13793         lengths too.
13794
13795 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
13796
13797         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
13798         on ABI.
13799
13800 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13801
13802         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
13803
13804         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
13805
13806 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
13807
13808         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
13809         case 3->2 combining (combining with splitting) in which 2 is CC0
13810         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
13811         checked at the begining of the function with the aid of calling
13812         function 'can_combine_p'.
13813
13814 2000-01-31  Dave Brolley  <brolley@redhat.com>
13815
13816         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
13817
13818 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
13819
13820         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
13821         new label.
13822
13823 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13824
13825         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
13826
13827         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
13828         PROTO -> PARAMS.
13829
13830 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
13831
13832         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
13833         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
13834         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
13835         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
13836         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
13837         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
13838         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
13839         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
13840         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
13841         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
13842
13843         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
13844         Add %(cpp_cpu) to CPP_SPEC.
13845
13846         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
13847         Add %(cc1_cpu) to CC1_SPEC.
13848
13849 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
13850
13851         * c-decl.c (c_decode_option): Accept optional numeric argument to
13852         -Wformat and set warn_format.
13853         * c-common.c: Don't emit warning about non-constant printf format
13854         string unless warn_format > 1.
13855
13856 2000-01-30  Richard Henderson  <rth@cygnus.com>
13857
13858         * alpha.md (return_internal): Allow after reload only.
13859
13860 2000-01-30  Richard Henderson  <rth@cygnus.com>
13861
13862         * i386.c (ix86_compute_frame_size): Omit padding1 if the
13863         local frame size is zero.
13864
13865 2000-01-30  Richard Henderson  <rth@cygnus.com>
13866
13867         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
13868         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
13869         * alpha.md (return): Turn into an expander.
13870         (return_internal): Don't use $26.
13871         (epilogue): Emit the return insn.
13872
13873 2000-01-30  Richard Henderson  <rth@cygnus.com>
13874
13875         * alpha.md (negtf2, abstf2): Fix word order thinko.
13876         (extendsftf2): New.
13877         (trunctfsf2): Avoid intermediate rounding errors.
13878
13879 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
13880
13881         * cppfiles.c (find_position): Drop 'colp' argument, return the
13882         new line base.
13883         (read_and_prescan): Adjust to match.  Don't ever manipulate
13884         line or line_base except via find_position.
13885
13886 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
13887
13888         * c-parse.in: Apply Ulrich's changes from c-parse.y.
13889         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
13890         Regenerate.
13891
13892 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
13893
13894         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
13895         just print "<command line>".  If 'filename' is null or an
13896         empty string, print "<stdin>" for the filename.
13897         * cpplib.c (do_define): Don't print the 'location of the
13898         previous definition' message if we're still parsing the
13899         command line.
13900         (cpp_pedwarn_with_file_and_line): Always call
13901         cpp_file_line_for_message.
13902
13903 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
13904
13905         * flow.c (mark_regs_live_at_end): Fix typo.
13906
13907 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
13908
13909         * c-common.c: Adjust variable names, comments, help strings to c99.
13910         * c-lex.c: Likewise.
13911         * c-parse.y: Likewise.
13912         * c-tree.h: Likewise.
13913         * cccp.c: Likewise.
13914         * cpplib.h: Likewise.
13915         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
13916         * cppinit.c: Likewise.
13917
13918 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13919
13920         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
13921         * c4x.c: Define the optab rtx values.
13922         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
13923         (c4x_emit_libcall): Use new optab rtx values.
13924         (c4x_emit_libcall3): Likewise.
13925         (c4x_emit_libcall_mulhi): Likewise.
13926         * c4x-protos.h: Add prototypes for optab rtx values and change
13927         prototypes for above c4x_emit_libcall functions.
13928
13929 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13930
13931         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
13932         syntax is used.
13933         (c4x_function_prologue): Use regnames intead of float_reg_names when
13934         TI syntax is used.
13935         (c4x_function_epilogue): Likewise.
13936         (c4x_print_operand): Likewise.
13937         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
13938         * c4x.md (set_high): Disable for TARGET_TI.
13939
13940 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13941
13942         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
13943         of framepointer + constant to ADDR_REGS class.
13944         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
13945         * c4x.c (std_or_reg_operand): New function.
13946         * c4x-protos.h (std_or_reg_operand): Prototype it.
13947
13948 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13949
13950         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
13951                 object names as libgcc2.c.
13952         * libgcc.S: Use newly defined names.
13953
13954 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
13955         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
13956         function.
13957         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
13958         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
13959         (FLOW_LOOP_LAST_BLOCK): Likewise.
13960
13961 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13962
13963         * basic-block.h (struct loop): New fields 'first' and 'last'.
13964         * flow.c (flow_loops_find): Compute loop->first and loop->last.
13965         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
13966         and loop->last to check for NOTE_INSN_LOOP_END.
13967
13968 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
13969
13970         * predict.c (estimate_probability): Use the new FIRST and LAST fields
13971         of the loop descriptor rather than HEADER and LATCH. Also added
13972         missing break statements as well making some coding style modifications
13973         as suggested by Michael Hayes.
13974
13975 2000-01-28  Richard Henderson  <rth@cygnus.com>
13976
13977         * flow.c (find_basic_blocks): Remove do_cleanup argument.
13978         Break out that code ...
13979         (cleanup_cfg): ... here.
13980         (commit_one_edge_insertion): Detect a return instruction being
13981         emitted to an edge.  Emit a barrier following; clear fallthru.
13982         (commit_edge_insertions): Verify CFG consistency.
13983         * function.c (expand_function_start): Kill unused variable.
13984         (expand_function_end): Likewise.
13985         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
13986         to insert the epilogue.
13987
13988         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
13989         (delete_null_pointer_checks): Likewise.
13990         * output.h: Likewise.
13991         * reg-stack.c (reg_to_stack): Likewise.
13992         * toplev.c (rest_of_compilation): Likewise.  Run
13993         thread_prologue_and_epilogue_insns after rebuilding the CFG.
13994
13995 2000-01-28  Richard Henderson  <rth@cygnus.com>
13996
13997         * Makefile.in (flow.o): Revert 24 Jan change.
13998         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
13999         FUNCTION_VALUE result to DECL_RESULT's mode.
14000
14001         * haifa-sched.c (schedule_insns): Don't recompute reg info
14002         after reload.
14003
14004 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
14005
14006         * configure.in: Make --enable-cpplib the default.
14007         * configure: Regenerate.
14008         * gcc.dg/990119-1.c: No longer expected to fail.
14009
14010 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
14011
14012         * jump.c (jump_optimize_1): Delete an optimization that is also done
14013         by merge_blocks in flow.
14014
14015 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14016
14017         * diagnostic.c (build_message_string, output_printf,
14018         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
14019         (build_location_prefix): Fix non-literal format string.
14020
14021 2000-01-27  Richard Henderson  <rth@cygnus.com>
14022
14023         * alpha.md (trunctfsf2): New.
14024
14025 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
14026
14027         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
14028
14029 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
14030
14031         * cppinit.c (cpp_handle_option): Recognize C++ comments under
14032         -std=gnu89.
14033         * cpplib.c (skip_block_comment, skip_line_comment): Split code
14034         out of...
14035         (skip_comment) ... here.  Permit C++ comments in system
14036         headers always.  Warn about C++ comments in user code under
14037         -std=gnu89 -pedantic.
14038         (copy_comment): Use skip_comment.
14039         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
14040         return EOF.
14041         (consider_directive_while_skipping, do_else, do_endif): Call
14042         validate_else unconditionally.
14043         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
14044         text after the conditional in a system header.
14045         * cpplib.h (struct cpp_buffer): Add flag
14046         warned_cplusplus_comments.
14047
14048 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
14049
14050         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
14051         Use unshare_all_rtl_1.
14052         (unshare_all_rtl_again): New function.
14053         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
14054
14055         * function.c (purge_addressof_1): Use unshare_all_rtl_again
14056         rather than resetting the 'used' flags ourself.
14057
14058         * toplev.c (rest_of_compilation): Add current_function_decl
14059         to the unshare_all_rtl call.
14060         * tree.h: Prototype unshare_all_rtl.
14061         * rtl.h: Prototype unshare_all_rtl_again here.
14062
14063 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
14064
14065         * genoutput.c (output_prologue): Include ggc.h in generated
14066         files.
14067         * Makefile.in (insn-output.o): Depends on ggc.h.
14068
14069 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
14070             Hans-Peter Nilsson  <hp@bitrange.com>
14071
14072         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
14073         Remove redundant include of xm-ns32k.h.
14074         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
14075         Remove redundant include of xm-ns32k.h.
14076         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
14077         Remove redundant include of xm-ns32k.h.
14078         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
14079
14080         * ns32k/ns32k.h: Update comment on multiply-add instructions.
14081         (TARGET_SWITCHES): Add documentation strings.
14082         (DWARF_FRAME_REGNUM): Override default definition.
14083         (REG_CLASS_CONTENTS): Add comments.
14084         (SUBSET_P): Format to reduce line length.
14085         (SMALL_REGISTER_CLASSES): Make a run time option.
14086         (GO_IF_NONINDEXED_ADDRESS): Reformat.
14087         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
14088         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
14089         (regclass_map): fix typo in comment.
14090         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
14091         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
14092         (trace, reg_or_mem_operand): Delete, unused function.
14093         (calc_address_cost): Small offsets are cheaper than large ones.
14094         (expand_block_move): Generate more efficient code when bytes is a
14095         known at compile time.
14096         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
14097         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
14098         instead of reg_or_mem_operand.
14099
14100         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
14101         not general_operand.  Similarly use "=rm" or stricter, not "=g".
14102         For input operands, use stricter constraints than "g" if not
14103         general_operand.  Similarly use stricter predicate than
14104         "general_operand" when stricter constraints than "g" are present,
14105         except for matching constraints.
14106         (movstrsi): Use "memory_operand" for operands 0 and 1.
14107         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
14108         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
14109         not reg_or_mem_operand.
14110         (udivmoddisi4): Ditto.
14111         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
14112         Use nonimmediate_operand for operand 3, not register_operand.
14113         (udivmoddiqi4_internal): Use register_operand for operand 1, not
14114         reg_or_mem_operand.
14115
14116 2000-01-27  Fred Fish  <fnf@be.com>
14117
14118         * gthr-posix.h: Fix typo; compatibily -> compatibility.
14119         * gthr-single.h: Likewise.
14120         * gthr-solaris.h: Likewise.
14121         * gthr-vxworks.h: Likewise.
14122         * gthr-win32.h: Likewise.
14123         * gthr.h: Likewise.
14124
14125 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
14126
14127         * cppinit.c: Add " (cpplib)" to end of string printed by
14128         -v / --version.
14129
14130 2000-01-27  Richard Henderson  <rth@cygnus.com>
14131
14132         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
14133         testing for a signed comparison.
14134         (alpha_emit_floatuns): New.
14135         * alpha-protos.h: Declare it.
14136         * alpha.md (floatunsdisf2, floatunsdidf2): New.
14137         (extendsfdf2): Tidy.
14138
14139 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
14140
14141         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
14142         no -g option specifying debugging format, default to -gstabs+.
14143
14144 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
14145
14146         * calls.c (special_function_p): New argument fork_or_exec.
14147         (expand_call): When profile_arc_flag is set and the function
14148         is in the fork_or_exec group, call __bb_fork_func first.
14149         * libgcc2.c, _bb module (__bb_fork_func): New function.
14150         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
14151         output file.
14152         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
14153         * tree.h (special_function_p): Update prototype.
14154
14155 2000-01-26  Richard Henderson  <rth@cygnus.com>
14156
14157         * alpha.c (alpha_split_tfmode_pair): New.
14158         * alpha-protos.h: Declare it.
14159         * alpha.md (abstf2, negtf2): New.
14160         (movtf insn): Add input G constraint.
14161         (movtf splitter): Use alpha_split_tfmode_pair.
14162
14163 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14164
14165         * i386/cygwin.h: PROTO -> PARAMS.
14166
14167 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
14168
14169         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
14170         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
14171         using _Qp_cmp/_Q_cmp and testing the return value.
14172         (print_operand): Call reverse_condition_maybe_unordered if
14173         we are handling CCFPmode or CCFPEmode.
14174         Handle ORDERED, UN* and LTGT comparisons.
14175         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
14176         if not TARGET_HARD_QUAD.
14177         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
14178         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
14179         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
14180         Adjust gen_b* calls so that they reflect return comparison of
14181         sparc_emit_float_lib_cmp.
14182
14183 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14184
14185         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
14186         incoming operands array is large enough for one more operand.
14187         (alpha_emit_xfloating_arith): Likewise.
14188
14189 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14190
14191         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
14192         file with one line and no trailing newline.
14193         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
14194         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
14195         checking if the match is on the line.
14196         * fixinc/gnu-regex.c: Provide regerror not __regerror.
14197
14198 2000-01-25  Richard Henderson  <rth@cygnus.com>
14199
14200         * sparc.c (output_cbranch): Fix accidental squashing of the
14201         fp branch pre-delay nop.
14202
14203 2000-01-25  Richard Henderson  <rth@cygnus.com>
14204
14205         * tree.def (UNNE_EXPR): Remove.
14206         * c-typeck.c (build_binary_op): Don't handle it.
14207         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
14208
14209         * rtl.def (UNNE): Remove.
14210         (LTGT): Add.
14211         * jump.c (reverse_condition): Update accordingly.
14212         (swap_condition): Likewise.
14213         (comparison_dominates_p): Handle unordered comparisons.
14214         (reverse_condition_maybe_unordered): New.
14215         * rtl.h (reverse_condition_maybe_unordered): Declare.
14216
14217         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
14218         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
14219         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
14220         * sparc.md (bltgt): New.
14221
14222 2000-01-25  Nick Clifton  <nickc@redhat.com>
14223
14224         * emit-rtl.c (emit_insn): Only check machine class insns for
14225         improper emission of a RETURN.
14226
14227 2000-01-25  Richard Henderson  <rth@cygnus.com>
14228
14229         * Makefile.in (flow.o): Depend on $(EXPR_H).
14230         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
14231         duplicate the structure of diddle_return_value for keeping regs live.
14232
14233 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14234
14235         * loop.c (current_loop_info): Delete.
14236         (consec_sets_invariant_p): Add loop argument, update callers.
14237         (get_condition_for_loop): Likewise.
14238         (count_nonfixed_reads, update_giv_derive): Likewise.
14239         (simplify_giv_expr, general_induction_var): Likewise.
14240         (consec_sets_giv, recombine_givs): Likewise.
14241         (move_movables): Delete loop_start and loop_end arguments,
14242         add loop argument, and update callers.
14243         (find_mem_givs, check_final_value): Likewise.
14244         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
14245         (loop_invariant_p): Rename from invariant_p, add loop argument, and
14246         update callers.
14247         (basic_induction_var): Add loop argument, delete loop_level argument,
14248         and update callers.
14249         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
14250         add loop argument, and update callers.
14251         (find_splittable_regs, find_splittable_givs): Likewise.
14252         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
14253         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
14254         (biv_total_increment): Delete loop_start and loop_end arguments;
14255         update callers.
14256         (precondition_loop_p): Delete loop_start and loop_info arguments;
14257         update callers.
14258         * loop.h (get_condition_for_loop): Add loop argument.
14259         (biv_total_increment): Delete loop_start and loop_end arguments.
14260         (precondition_loop_p): Delete loop_start and loop_info arguments;
14261         add loop argument.
14262         (final_biv_value): Delete loop_start and loop_end arguments;
14263         add loop argument.
14264         (final_giv_value, back_branch_in_range_p): Likewise.
14265
14266 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
14267
14268         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
14269
14270 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
14271
14272         * Makefile.in (c-gperf.h) : Change the "See" pointer to
14273         point to the new "generated_files" doc.
14274
14275 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
14276
14277         * config/fp-bit.c (_unord_f2): Fix typo.
14278
14279 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14280
14281         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
14282         c-typeck.c, objc/objc-act.c: Remove all references to obstack
14283         functions obsoleted by GC, such as push_obstacks_nochange,
14284         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
14285         and code which existed only to decide whether or not to call
14286         them.  Remove now-unused NESTED argument from start_function;
14287         all callers changed.  Do not change behavior based on ggc_p.
14288         The use of the ixp_obstack in c-iterate.c and the util_obstack
14289         in objc/objc-act.c remain; these are not obsoleted by garbage
14290         collection.
14291         * c-tree.h: Update prototype for start_function.
14292
14293         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
14294
14295 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
14296
14297         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
14298         mips16.
14299
14300 2000-01-25  Richard Henderson  <rth@cygnus.com>
14301
14302         * sparc-protos.h (select_cc_mode): Declare.
14303         * sparc.c (select_cc_mode): New.  Handle unordered compares.
14304         (output_cbranch): Always reverse via code change.  Handle
14305         unordered compares.  Factor tests and string updates.
14306         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
14307         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
14308         * sparc.md (bunordered, bordered): New.
14309         (bungt, bunlt, buneq, bunge, bunle): New.
14310
14311 2000-01-25  Richard Henderson  <rth@cygnus.com>
14312
14313         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
14314         * ggc-common.c (ggc_add_rtx_varray_root): New.
14315         (ggc_mark_rtx_varray): New.
14316         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
14317         functions down below ggc_mark_foo.
14318         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
14319
14320 2000-01-25  Richard Henderson  <rth@cygnus.com>
14321
14322         * alpha.c (secondary_reload_class): Don't allocate a secondary
14323         for integral mode memories into FLOAT_REGS.  Rearrange the more
14324         complicated memory expression inward.
14325
14326 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14327
14328         * inclhack.def: Fixes to play nicer with FreeBSD, and
14329         corrections to comments.
14330         (cxx_unready): Add select expression.
14331         (irix_sockaddr): Add bypass expression.
14332         (machine_ansi_h_va_list): New fix.
14333         (stdio_va_list): No need to edit _BSD_VA_LIST_.
14334         Split out addition of "#include <stdarg.h>" to...
14335         (stdio_stdarg_h): ... here.
14336         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
14337         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
14338         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
14339         size_t.
14340         (ultrix_ifdef): Tighten up select expression.
14341
14342         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
14343         re_ct and max_mach to avoid use of shell.  Make printed names
14344         match names in inclhack.def.  Use static copyright date.
14345         Don't count c_test and test expressions as requiring regex_t
14346         slots.  Add some commentary.
14347         * inclhack.tpl: Do not include the 'This script contains N
14348         fixup scripts' line if PROGRAM is defined.  Use static
14349         copyright date.
14350
14351 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
14352
14353         * dwarf2out.c: include "varray.h", not dyn-string.h.
14354         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
14355         (addr_const_to_string, addr_to_string): Lose.
14356         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
14357         (struct dw_val_struct): val_addr is now an rtx.
14358         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
14359         (used_rtx_varray): New varray.
14360         (dwarf2out_init): Initialize it.
14361         (save_rtx): New fn.
14362         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
14363         addr_to_string.
14364         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
14365         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
14366         * Makefile.in (dwarf2out.o): Update dependencies.
14367
14368 2000-01-24  Richard Henderson  <rth@cygnus.com>
14369
14370         * i386.c (i386_dwarf_output_addr_const): New.
14371         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
14372
14373         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
14374         if defined.
14375         * dwarfout.c (output_mem_loc_descriptor): Likewise.
14376         * i386.c (i386_simplify_dwarf_addr): New.
14377         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
14378
14379 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
14380
14381         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
14382         TYPE_STUB_DECL is NULL.
14383
14384 2000-01-24  Richard Henderson  <rth@cygnus.com>
14385
14386         * builtins.c (expand_tree_builtin): Move ...
14387         * c-common.c (expand_tree_builtin): ... here.
14388
14389 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14390
14391         * loop.h (LOOP_INFO): New accessor macro.
14392         * basic-block.h (struct loop): Rename field `info' to `aux'.
14393         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
14394         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
14395         * unroll.c (loop_iterations, unroll_loop): Likewise.
14396
14397 2000-01-24  Christopher Faylor <cgf@cygnus.com>
14398
14399         * config/i386/t-cygwin: Accomodate new winsup directory layout
14400         when searching for include files.
14401
14402 2000-01-24  Richard Henderson  <rth@cygnus.com>
14403
14404         * rtl.def: Add unordered fp comparisions.
14405         * tree.def: Likewise.
14406         * tree.h: Add ISO C 9x unordered fp comparision builtins.
14407
14408         * builtins.c (expand_tree_builtin): New function.
14409         * c-typeck.c (build_function_call): Use it.
14410         (build_binary_op): Support unordered compares.
14411         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
14412
14413         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
14414         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
14415         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
14416         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
14417         * jump.c (reverse_condition): Don't abort for UNLE etc, but
14418         return UNKNOWN.
14419         (swap_condition): Handle unordered compares.
14420         (thread_jumps): Check can_reverse before reversing.
14421         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
14422         reversed for FP.
14423
14424         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
14425         setcc is present before acking for cmp_optab.  Update all callers.
14426         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
14427         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
14428         * expr.c (expand_expr): Likewise.  Support unordered compares.
14429         (do_jump, do_store_flag): Likewise.
14430         * expr.h (enum libfunc_index): Add unordered compares.
14431
14432         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
14433         (DPBIT_FUNCS): Add _unord_df.
14434         * config/fp-bit.c (_unord_f2): New.
14435         * fp-test.c (main): Try unordered compare builtins.
14436
14437         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
14438         * alpha.c (alpha_comparison_operator): Check mode properly.
14439         (alpha_swapped_comparison_operator): Likewise.
14440         (signed_comparison_operator): Likewise.
14441         (alpha_fp_comparison_operator): New.
14442         (alpha_emit_conditional_branch): Handle unordered compares.
14443         * alpha.h (PREDICATE_CODES): Update.
14444         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
14445         (bunordered, bordered): New.
14446
14447 2000-01-24  Richard Henderson  <rth@cygnus.com>
14448
14449         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
14450         * alpha.md (movtf): New expander, insn, and splitter.
14451
14452 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
14453
14454         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
14455         dead registers.
14456
14457 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
14458
14459         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
14460         (FIXED_REGISTERS, CALL_USED_REGISTERS,
14461          REG_ALLOC_ORDER): Add frame pointer
14462         (FRAME_POINTER_REGNUM): Set to 20
14463         (HARD_FRAME_POINTER_REGNUM): New macro.
14464         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
14465         to HARD_FRAME_POINTER.
14466         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
14467         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
14468         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
14469         (HI_REGISTER_NAMES): Add "frame".
14470         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
14471         (debug_reg): Handle FRAME_POINTER_REGNUM.
14472         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
14473         GENERAL_REGS and INDEX_REGS.
14474         * i386.c (SAVED_REGS_FIRST): new macro.
14475         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
14476         (ix86_decompose_address, memory_address_length): Likewise.
14477         (regclass_map): Add frame pointer.
14478         (call_insn_operand): Handle frame_pointer_rtx.
14479         (reg_no_sp_operand): Likewise.
14480         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
14481         (print_operand, legitimize_pic_address): Fix formating.
14482         (ix86_compute_frame_size): Make static, update prototype, new
14483         parameters padding1, padding2, use ix86_nsaved_regs, use
14484         stack_alignment_needed.
14485         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
14486         to HARD_FRAME_POINTER_REGNUM conversions.
14487         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
14488         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
14489         (print_reg): Abort on FRAME_POINTER_REGNUM
14490
14491 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
14492
14493         * i386.h (PREDICATE_CODES): Add aligned_operand.
14494         * i386.c (aligned_operand): New function.
14495         (ix86_aligned_p): Kill.
14496         * i386.md (movhi_1): Emit mov for aligned operands.
14497         (promoting peep2s): Use aligned_operand.
14498
14499 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
14500
14501         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
14502         expression to allow underscores in macro names.
14503         (fix_char_macro_defines): Increment scanning pointer.
14504
14505 2000-01-23  Richard Henderson  <rth@cygnus.com>
14506
14507         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
14508         * alpha/osf5.h: New file.
14509         * configure.in (alpha-*-osf5): Add it to tm_file.
14510
14511         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
14512
14513         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
14514         (alpha_emit_xfloating_cvt, function_arg): Declare.
14515         * alpha.c (alpha_emit_conditional_branch): Call
14516         alpha_emit_xfloating_compare for TFmode compares.
14517         (alpha_lookup_xfloating_lib_func): New.
14518         (alpha_compute_xfloating_mode_arg): New.
14519         (alpha_emit_xfloating_libcall): New.
14520         (alpha_emit_xfloating_arith): New.
14521         (alpha_emit_xfloating_compare): New.
14522         (alpha_emit_xfloating_cvt): New.
14523         (print_operand): Add default abort case.
14524         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
14525         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
14526         (BIGGEST_ALIGNMENT): Increase to 128 bits.
14527         (RETURN_IN_MEMORY): True for TF/TCmode.
14528         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
14529         (FUNCTION_ARG): Move to function_arg.
14530         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
14531         (ASM_OUTPUT_LONG_DOUBLE): New.
14532         (ASM_OUTPUT_DOUBLE): Always output bits.
14533         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
14534         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
14535         (extenddftf2, trunctfdf2): New.
14536
14537 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14538
14539         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
14540         * config/sparc/sol2.h: ... here.
14541
14542 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14543
14544         * basic-block.h (struct loops): New field `levels'.
14545         * flow.c (flow_loops_level_compute): Traverse all outer loops.
14546         (flow_loop_level_compute): Initialise level to 1.
14547         (flow_loops_find): Set loops->levels.
14548         (flow_loops_dump): Print loops->levels.
14549
14550 2000-01-23  Richard Henderson  <rth@cygnus.com>
14551
14552         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
14553         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
14554
14555 2000-01-23  Richard Henderson  <rth@cygnus.com>
14556
14557         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
14558         * i386.h (DBX_REGISTER_NUMBER): Use them.
14559         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
14560         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
14561         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
14562         * i386/sequent.h: Kill incorrect comment.
14563
14564 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
14565
14566         * ggc-page.c (struct page_entry): Make `context_depth' an
14567         `unsigned short'.
14568         (struct globals): Likewise.
14569
14570 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
14571
14572         * loop.c (check_dbra_loop): When checking a loop for
14573         reversability, check the source of any stores to ensure
14574         they don't depend on an initial value.
14575
14576 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14577
14578         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
14579
14580 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
14581
14582         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
14583         'pz_scan' into scope of entire function.  Only affects
14584         compiles with -DDEBUG.
14585
14586 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
14587
14588         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
14589         section naming to that prior to 2000-01-07 patch.
14590         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
14591         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
14592         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
14593         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
14594         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
14595
14596 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
14597
14598         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
14599         constant.
14600
14601 2000-01-21  Jim Wilson  <wilson@cygnus.com>
14602
14603         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
14604         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
14605
14606 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
14607
14608         * cpphash.c (change_newlines): Delete function.
14609         (struct argdata): Delete 'newlines' and 'use_count' fields.
14610         (macroexpand): Remove code referencing those fields.
14611
14612 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14613
14614         * loop.c (loops_info): New variable.
14615         (loop_optimize): Allocate loops->array and free it on exit.
14616         Allocate memory for loops_info and assign to each loop,
14617         replacing alloca.
14618         (find_and_verify_loops): Do not allocate loops->array.
14619
14620 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
14621
14622         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
14623
14624 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
14625
14626         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
14627         pseudos if expanded after first flow.
14628         (movdi_pic_label_ref): Likewise.
14629
14630 2000-01-20  Richard Henderson  <rth@cygnus.com>
14631
14632         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
14633
14634 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
14635
14636         * Makefile.in (fixinc.sh): Depend on specs.
14637         * fixinc/Makefile.in: Add rule to create machname.h.
14638         (fixlib.o): Depend on machname.h.
14639         * fixinc/fixtests.c (machine_name): New test.
14640         * fixinc/fixfixes.c (machine_name): New fix.
14641         * fixinc/fixlib.c (mn_get_regexps): New helper function for
14642         the machine_name test and fix.
14643         * fixinc/fixlib.h: Prototype it.
14644         * fixinc/inclhack.def (machine_name): Use the C test and fix.
14645         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
14646
14647         * gcc.c (do_spec_1) [case P]: Take care not to create
14648         identifiers with three leading or trailing underscores.
14649
14650         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
14651         (fixincl): Don't specify libraries twice on link line.
14652         (gnu-regex.o): Remove special rule.
14653         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
14654         defined by config.h.  Do not define _REGEX_RE_COMP.
14655         (regcomp): Allocate and initialize a fastmap.
14656         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
14657
14658 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
14659
14660         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
14661
14662 2000-01-19  Richard Henderson  <rth@cygnus.com>
14663
14664         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
14665         arguments with BB.  Update all callers.  Tidy line wrapping.
14666
14667 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
14668
14669         * emit-rtl.c (try_split): Return last_insn if we split the
14670         last_insn.
14671
14672 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
14673
14674         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
14675         (ix86_initial_elimination_offset): Declare.
14676         * i386.c (ix86_nsaved_regs): Break out from ...
14677         (ix86_can_use_return_insn_p): ... here.
14678         (ix86_emit_save_regs): Break out from ...
14679         (ix86_expand_prologue): ... here.
14680         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
14681         out from ...
14682         (ix86_expand_epilogue): ... here.
14683         (ix86_compute_frame_size): Make static, add prototype.
14684         (ix86_initial_elimination_offset): Break out from ...
14685         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
14686
14687 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14688
14689         * recog.h (OUT_FCN): Delete.
14690
14691         * vax.md: Call `get_insn_template' instead of OUT_FCN.
14692
14693 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14694
14695         * cppalloc.c: PROTO -> PARAMS.
14696         * cpperror.c: Likewise.
14697         * cppfiles.c: Likewise.
14698         * cpplib.c: Likewise.
14699         * cpplib.h: Likewise.
14700
14701         * config/arm/arm-protos.h: PROTO -> PARAMS.
14702         * config/arm/arm.c: Likewise.
14703         * config/c4x/c4x.c: Likewise.
14704         * config/fr30/fr30-protos.h: Likewise.
14705         * config/nextstep.c: Likewise.
14706         * config/pa/pa.c: Likewise.
14707         * config/pj/pj.c: Likewise.
14708         * config/rs6000/rs6000.c: Likewise.
14709         * config/v850/v850-protos.h: Likewise.
14710         * config/v850/v850.c: Likewise.
14711
14712 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14713
14714         * i370-protos.h: New file.
14715
14716         * i370.c: Include tm_p.h.  Fix compile time warnings.
14717
14718         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
14719         warnings.
14720
14721         * i370.md: Likewise.
14722
14723 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14724
14725         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
14726         (target_isinf, target_isnan, eisnan): Mark parameter with
14727         ATTRIBUTE_UNUSED.
14728         (eiisinf): Wrap in INFINITY.
14729         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
14730         (ibmtoe): Remove unused variable `rndsav'.
14731
14732 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14733
14734         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
14735         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
14736
14737 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
14738
14739         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
14740         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
14741         (fix_char_macro_defines, fix_char_macro_uses): New functions.
14742
14743         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
14744         Recognize Emacs mode markers also.
14745         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
14746         C++ comments in C++ headers.  Call is_cxx_header only if
14747         necessary.
14748
14749         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
14750         bypass for ncurses.
14751         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
14752         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
14753         ... these, which use the new C fixes.
14754         (math_exception): Escape literal '+' in bypass expression.
14755
14756         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
14757         Regenerate.
14758
14759 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
14760
14761         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
14762         inside the MEM.
14763
14764 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14765
14766         * loop.c (loop_optimize): Allocate loop_info structure for each loop
14767         prior to calling scan_loop.
14768
14769 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14770
14771         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
14772         (split_branches, calc_live_regs): Likewise.
14773
14774 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14775
14776         * sh.md (fpu_single, fp_mode): New attributes.
14777
14778 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14779
14780         * loop.c (current_loop_info): Renamed from loop_info_data
14781         and changed to a pointer.
14782         (loop_optimize): Allocate loop_info structure for each loop
14783         and initialise to zero.
14784         (scan_loop): Set current_loop_info.
14785
14786         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
14787         on iteration_var.
14788
14789 2000-01-19  Richard Henderson  <rth@cygnus.com>
14790
14791         * stupid.c: Die die die.
14792         * Makefile.in (OBJS): Remove stupid.o.
14793         (stupid.o): Likewise.
14794
14795         * except.c (emit_eh_context): Don't emit USEs for stupid.
14796         * explow.c (probe_stack_range): Likewise.
14797         * flags.h (obey_regdecls): Remove.
14798         * flow.c (find_basic_blocks): Don't run try_merge_blocks
14799         when not optimizing.
14800         (life_analysis): Limit data collection when not optimizing.
14801         (mark_regs_live_at_end): Always mark the return value registers.
14802         (mark_used_regs): Remove dummy RETURN case.
14803         (print_rtl_with_bb): Don't consult obey_regdecls.
14804         * function.c (use_variable, use_variable_after): Remove.
14805         (assign_parms): Consult optimize not obey_regdecls.
14806         (expand_function_start): Don't emit USEs for stupid.
14807         (expand_function_end): Likewise.
14808         * global.c (build_insn_chain): Export.
14809         * integrate.c (expand_inline_function): Kill return-value USE
14810         handling code.
14811         * jump.c (jump_optimize_1): Do simple jump optimizations and
14812         dead code elimination.
14813         (calculate_can_reach_end): Remove check_deleted argument.
14814         (delete_insn): Patch out insns even when not optimizing.
14815         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
14816         * rtl.h (use_variable, use_variable_after): Remove declarations.
14817         (build_insn_chain): Declare.
14818         * stmt.c (expand_value_return): Don't emit USEs for stupid.
14819         (expand_end_bindings): Likewise.
14820         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
14821         * toplev.c (obey_regdecls): Remove.
14822         (rest_of_compilation): Don't set it.  Kill stupid in favour of
14823         flow1, local-alloc, and reload.
14824         (main): Don't set obey_regdecls.
14825
14826         * config/nextstep.c (handle_pragma): Likewise.
14827
14828         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
14829
14830         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
14831
14832 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14833
14834         * alpha-protos.h: PROTO -> PARAMS.
14835         * alpha.c: Likewise.
14836         * elf.h: Likewise.
14837         * h8300.c: Likewise.
14838         * i386-protos.h: Likewise.
14839         * i386.c: Likewise.
14840         * m32r-protos.h: Likewise.
14841         * m32r.c: Likewise.
14842         * mips.c: Likewise.
14843         * mips.md: Likewise.
14844         * gmon-sol2.c: Likewise.
14845         * sparc.c: Likewise.
14846
14847 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14848
14849         * ns32k-protos.h: New file.
14850
14851         * ns32k.c: Fix compile time warnings.
14852
14853         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
14854         warnings.
14855
14856         * ns32k.md: Likewise.
14857
14858 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14859
14860         * vax-protos.h: New file.
14861
14862         * vax.c: Fix compile time warnings.
14863
14864         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
14865         warnings.
14866
14867         * vax.md: Likewise.
14868
14869         * vaxv.md: Likewise.
14870
14871 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14872
14873         * romp-protos.h: New file.
14874
14875         * romp.c: Fix compile time warnings.
14876
14877         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
14878         warnings.
14879
14880         * romp.md: Likewise.
14881
14882 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14883
14884         * we32k-protos.h: New file.
14885
14886         * we32k.c: Fix compile time warnings.
14887
14888         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
14889         warnings.
14890
14891 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14892
14893         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
14894
14895         * except.c (eh_regs): Likewise.
14896
14897         * final.c (output_operand): Likewise.
14898
14899         * fold-const.c (target_isinf, target_isnan): Likewise.
14900
14901 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
14902
14903         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
14904         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
14905
14906         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
14907         when optimize_size.
14908         (clrstrsi): Rewrite.
14909         (strsethi, strsetqi): New expanders.
14910         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
14911         (cmpstrsi): Emit compare insn before cmpstrsi_1
14912         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
14913         (strlensi_1): Likewise.
14914         (cmpstrsi_1): Likewise; do not output compare.
14915         (strlen expander): Do not unroll when optimizing for size.
14916         (*subsi3_carry): Rename to subsi3_carry
14917         (addqi3_cc): New pattern.
14918         * i386.h (processor_costs): Add move_ratio field.
14919         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
14920         * i386.c (*_cost): Set move_ratio.
14921         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
14922         (x86_expand_strlensi_1): Rewrite the main loop.
14923
14924 2000-01-17  Richard Henderson  <rth@cygnus.com>
14925
14926         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
14927         * cse.c (find_comparison_args, fold_rtx): Likewise.
14928         * integrate.c (subst_constants): Likewise.
14929         * loop.c (get_condition): Likewise.
14930
14931         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
14932
14933         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
14934
14935 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14936
14937         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
14938         (RESTORE_WARN_FLAGS): Unpack it.
14939         Change semantic type of extension to ttype.
14940         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
14941         * c-parse.y, c-parse.c, objc/objc-parse.y,
14942         objc/objc-parse.c: Regenerate.
14943
14944 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
14945
14946         * fixinc/fixlib.c: Add copyright notice.
14947         (compile_re): New function.
14948         * fixinc/fixlib.h: Prototype compile_re.
14949
14950         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
14951         Use compile_re to compile regular expressions.
14952
14953         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
14954         where the pattern matched.
14955
14956         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
14957         use 'replace'.
14958         (ultrix_ansi_compat): Likewise.
14959         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
14960         add egrep test.
14961         (interactv_add2, interactv_add3): Delete.
14962         (x11_sprintf): Don't use filename glob.
14963         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
14964         Regenerate.
14965
14966 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14967
14968         * print-rtl.c: PROTO -> PARAMS.
14969         * real.c: Likewise.
14970         * reg-stack.c: Likewise.
14971         * resource.c: Likewise.
14972         * sdbout.h: Likewise.
14973         * simplify-rtx.c: Likewise.
14974         * stor-layout.c: Likewise.
14975         * stupid.c: Likewise.
14976         * xcoffout.c: Likewise.
14977         * xcoffout.h: Likewise.
14978
14979 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14980
14981         * toplev.c: PROTO -> PARAMS.
14982         * toplev.h: Likewise.
14983         * tree.c: Likewise.
14984         * tree.h: Likewise.
14985         * unroll.c: Likewise.
14986         * varasm.c: Likewise.
14987         * varray.c: Likewise.
14988         * varray.h: Likewise.
14989
14990 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14991
14992         * reload.c: PROTO -> PARAMS.
14993         * reload.h: Likewise.
14994         * reload1.c: Likewise.
14995         * reorg.c: Likewise.
14996         * resource.h: Likewise.
14997         * rtl.c: Likewise.
14998         * rtl.h: Likewise.
14999         * rtlanal.c: Likewise.
15000         * sbitmap.h: Likewise.
15001         * sdbout.c: Likewise.
15002         * stack.h: Likewise.
15003         * stmt.c: Likewise.
15004         * system.h: Likewise.
15005
15006 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15007
15008         * machmode.h: PROTO -> PARAMS.
15009         * mbchar.h: Likewise.
15010         * mips-tdump.c: Likewise.
15011         * mips-tfile.c: Likewise.
15012         * optabs.c: Likewise.
15013         * output.h: Likewise.
15014         * prefix.c: Likewise.
15015         * profile.c: Likewise.
15016         * protoize.c: Likewise.
15017         * real.h: Likewise.
15018         * recog.c: Likewise.
15019         * recog.h: Likewise.
15020         * regclass.c: Likewise.
15021         * regmove.c: Likewise.
15022         * regs.h: Likewise.
15023
15024 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15025
15026         * ggc-common.c: PROTO -> PARAMS.
15027         * ggc-page.c: Likewise.
15028         * ggc-simple.c: Likewise.
15029         * ggc.h: Likewise.
15030         * global.c: Likewise.
15031         * graph.c: Likewise.
15032         * gthr-win32.h: Likewise.
15033         * haifa-sched.c: Likewise.
15034         * halfpic.h: Likewise.
15035         * integrate.c: Likewise.
15036         * integrate.h: Likewise.
15037         * jump.c: Likewise.
15038         * lcm.c: Likewise.
15039         * local-alloc.c: Likewise.
15040         * loop.c: Likewise.
15041         * loop.h: Likewise.
15042
15043 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15044
15045         * genattr.c: PROTO -> PARAMS.
15046         * genattrtab.c: Likewise.
15047         * gencheck.c: Likewise.
15048         * gencodes.c: Likewise.
15049         * genconfig.c: Likewise.
15050         * genemit.c: Likewise.
15051         * genextract.c: Likewise.
15052         * genflags.c: Likewise.
15053         * gengenrtl.c: Likewise.
15054         * genopinit.c: Likewise.
15055         * genoutput.c: Likewise.
15056         * genpeep.c: Likewise.
15057         * genrecog.c: Likewise.
15058
15059 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
15060
15061         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
15062
15063 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15064
15065         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
15066         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
15067         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
15068         * configure, config.in: Rebuilt.
15069
15070 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
15071
15072         * config/i386/i386.md: Add peephole to merge successive stack
15073         adjusts.
15074
15075 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
15076
15077         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
15078         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
15079         when walking backwards to find all the parameter loads when
15080         the basic block ends in a call.
15081
15082 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15083
15084         * loop.c (this_loop_info): Delete.
15085         (uid_loop): Add in place of uid_loop_num.  All uses updated.
15086         (loop_number_exit_count): Delete and replace with entry in loop
15087         structure.  All uses updated.
15088         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
15089         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
15090         (loop_outer_loop): Likewise.
15091         (loop_invalid, loop_number_exit_labels): Likewise.
15092         (loop_used_count_register): Delete and replace with entry in
15093         loop_info structure.
15094         (find_and_verify_loops): Add loops argument.
15095         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
15096         loop_end, etc. arguments with loop structure pointer.  All callers
15097         changed.
15098         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
15099         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
15100         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
15101         (insert_bct): Likewise.
15102         (basic_induction_var): New argument level.
15103         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
15104         vtop, and cont.  Add used_count_register.
15105         (uid_loop): Delete declaration.
15106         (loop_number_exit_count): Likewise.
15107         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
15108         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
15109         (loop_outer_loop, loop_used_count_register): Likewise.
15110         (loop_invalid, loop_number_exit_labels): Likewise.
15111         (unroll_loop): Replace loop_start and loop_end arguments
15112         with loop structure pointer.
15113         (loop_precondition_p, loop_iterations): Likewise.
15114         Include basic-block.h.
15115         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
15116         with loop structure pointer.
15117         (loop_precondition_p, loop_iterations): Likewise.
15118         * basic-block.h (struct loop): New entries vtop, cont,
15119         cont_dominator, start, end, top, scan_start, exit_labels,
15120         exit_count.
15121         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
15122
15123 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15124
15125         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
15126
15127 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
15128
15129         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
15130
15131 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15132
15133         * pdp11-protos.h: New file.
15134
15135         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
15136         time warnings.
15137
15138         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
15139         warnings.
15140
15141         * pdp11.md: Likewise.
15142
15143         * 2bsd.h: Likewise.
15144
15145 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15146
15147         * mn10300-protos.h: New file.
15148
15149         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
15150         time warnings.
15151
15152         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
15153         warnings.
15154
15155         * mn10300.md: Likewise.
15156
15157 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15158
15159         * mn10200-protos.h: New file.
15160
15161         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
15162         time warnings.
15163
15164         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
15165         warnings.
15166
15167         * mn10200.md: Likewise.
15168
15169 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15170
15171         * h8300-protos.h: New file.
15172
15173         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
15174         time warnings.
15175
15176         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
15177         warnings.
15178
15179         * h8300.md: Likewise.
15180
15181 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15182
15183         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
15184         (asm_emit_uninitialised): Likewise.
15185
15186 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
15187
15188         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
15189         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
15190
15191 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15192
15193         * config/mips/mips.c (override_options): Don't turn on extra
15194         alignment for mips16.
15195
15196 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15197
15198         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
15199         eabi, and make sure queued POSTINCREMENT rtl is emitted at
15200         the right point.
15201
15202 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15203
15204         * builtins.c (PAD_VARARGS_DOWN): Define.
15205         (std_expand_builtin_va_arg): Use the above macro.
15206         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
15207         * tm.texi (Register Arguments): Document the above macro.
15208
15209 2000-01-14  Nick Clifton  <nickc@cygnus.com>
15210
15211         * emit-rtl.c (emit_insn): If checking is enabled, make sure
15212         that this function has not been used to emit a jump
15213         instruction.
15214
15215         * jump.c (return_jump_1): Cope with being passed a null rtx.
15216
15217 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15218
15219         * eh-common.h: PROTO -> PARAMS.
15220         * emit-rtl.c: Likewise.
15221         * errors.c: Likewise.
15222         * errors.h: Likewise.
15223         * except.c: Likewise.
15224         * except.h: Likewise.
15225         * explow.c: Likewise.
15226         * expmed.c: Likewise.
15227         * expr.c: Likewise.
15228         * expr.h: Likewise.
15229         * final.c: Likewise.
15230         * fix-header.c: Likewise.
15231         * flow.c: Likewise.
15232         * fold-const.c: Likewise.
15233         * function.c: Likewise.
15234         * function.h: Likewise.
15235         * gcc.c: Likewise.
15236         * gcov-io.h: Likewise.
15237         * gcov.c: Likewise.
15238         * gcse.c: Likewise.
15239
15240 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15241
15242         * sh-protos.h: New file.
15243
15244         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
15245         Add static prototypes.  Fix compile time warnings.
15246
15247         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
15248         * sh.md: Likewise.
15249         * elf.h: Likewise.
15250
15251 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15252
15253         * arc-protos.h: New file.
15254
15255         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
15256         time warnings.
15257
15258         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
15259         warnings.
15260
15261         * arc.md: Likewise.
15262
15263 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15264
15265         * dsp16xx-protos.h: New file.
15266
15267         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
15268         time warnings.
15269
15270         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
15271         warnings.
15272
15273         * dsp16xx.md: Likewise.
15274
15275 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15276
15277         * convex-protos.h: New file.
15278
15279         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
15280         time warnings.
15281
15282         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
15283         warnings.
15284
15285 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15286
15287         * elxsi-protos.h: New file.
15288
15289         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
15290         time warnings.
15291
15292         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
15293         warnings.
15294
15295         * elxsi.md: Likewise.
15296
15297 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15298
15299         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
15300         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
15301         match the comment for MIPS16.
15302
15303 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
15304
15305         * flow.c (split_edge): Do not call set_block_for_insn if we
15306         do not have a basic_block_for_insn structure.
15307
15308         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
15309         and destination functions are 32bit aligned within the trampoline.
15310         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
15311         (TRAMPOLINE_ALIGNMENT): Define.
15312
15313         * cse.c (cse_insn): When changing (set (pc) (reg)) to
15314         (set (pc) (label_ref)), verify the change creates a valid insn.
15315
15316         * fr30.c (call_operand): Tighten and rework to match rules for
15317         call RTL expressions.
15318         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
15319         * fr30.md (call patterns): Improve constraints.
15320
15321 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
15322
15323         * fr30.c (fr30_expand_epilogue): Revert last change.
15324         Use emit_jump_insn for the return insn.
15325
15326 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
15327                           Stan Cox  <scox@cygnus.com>
15328
15329         * predict.c: New file. Preliminary infrastructure work for static
15330         branch prediction and basic block reordering.
15331         * basic-block.h: Add prototype for estimate_probability.
15332         * Makefile.in: Add rules for predict.o.
15333
15334 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
15335
15336         * fixincludes (va_list): Use __not_va_list__ for the dummy.
15337         * fixinc/*: Likewise.
15338
15339 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15340
15341         * cccp.c: PROTO -> PARAMS.
15342         * cexp.y: Likewise.
15343         * collect2.c: Likewise.
15344         * combine.c: Likewise.
15345         * convert.h: Likewise.
15346         * cse.c: Likewise.
15347         * dbxout.c: Likewise.
15348         * dbxout.h: Likewise.
15349         * diagnostic.c: Likewise.
15350         * doprint.c: Likewise.
15351         * dwarf2out.c: Likewise.
15352         * dwarf2out.h: Likewise.
15353         * dwarfout.c: Likewise.
15354         * dwarfout.h: Likewise.
15355         * dyn-string.h: Likewise.
15356
15357 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15358
15359         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
15360         macro conditionals guarding use.
15361
15362         * dwarf2out.c: Include "tm_p.h".
15363
15364         * function.c (locate_and_pad_parm): Mark parameter with
15365         ATTRIBUTE_UNUSED.
15366         (expand_function_end): Likewise for variable `context'.
15367
15368         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
15369
15370 2000-01-13  Nick Clifton  <nickc@cygnus.com>
15371
15372         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
15373         register to prevent compile time warnings.
15374
15375 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
15376
15377         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
15378         to avoid -Wtraditional warning.
15379
15380 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15381
15382         * 1750a-protos.h: New file.
15383
15384         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
15385         time warnings.
15386
15387         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
15388         warnings.
15389
15390         * 1750a.md: Likewise.
15391
15392 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15393
15394         * a29k-protos.h: New file.
15395
15396         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15397         time warnings.
15398
15399         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
15400         warnings.
15401
15402 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15403
15404         * clipper-protos.h: New file.
15405
15406         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
15407         time warnings.
15408
15409         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
15410         warnings.
15411
15412 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
15413
15414         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
15415
15416 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
15417
15418         * configure.in (--enable-new-gxx-abi): New option.
15419         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
15420         * Makefile.in (GXX_ABI_FLAG): New variable.
15421         * configure: Regenerate.
15422
15423 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15424
15425         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
15426         * tm.texi (FORCE_STRUCT_BLK): Document.
15427         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
15428
15429 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
15430
15431         * config/ns32k/ns32k.md: Revert Jan 9 change.
15432
15433         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
15434         to a mode-test, if the predicate is address_operand.
15435
15436 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
15437
15438         * combine.c (if_then_else_cond): Be careful about what kinds
15439         of RTL expressions are passed to operand_subword.
15440
15441         * flow.c (split_edge): If we have to insert a new jump, make
15442         sure to associate it with a basic block.
15443
15444         * flow.c (commit_one_edge_insertion): A block with one successor
15445         can end in a JUMP_INSN that is not a simplejump.
15446
15447 2000-01-12  Robert Lipe  <robertl@sco.com>
15448
15449         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
15450         (BUILD_VA_LIST_TYPE): Define.
15451         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
15452         with crtstuff.c.
15453
15454 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
15455
15456         * cccp.c (do_pragma): Add cast to (char *).
15457
15458 2000-01-12  Richard Henderson  <rth@cygnus.com>
15459             Fred Fish  <fnf@be.com>
15460             Jason Merrill  <jason@cygnus.com>
15461
15462         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
15463         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
15464         * i386/beos-elf.h, i386/beos-pe.h: New files.
15465
15466         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
15467         * cross-make (SYSTEM_HEADER_DIR): Define using
15468         CROSS_SYSTEM_HEADER_DIR.
15469
15470         * gcc.c (LIBRARY_PATH_ENV): Provide default.
15471         (process_command): Use it.
15472         (main): Likewise.  Kill trailing = from env vars.
15473         (build_search_list): Put it back.
15474         * collect2.c (main): Use LIBRARY_PATH_ENV.
15475
15476         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
15477         * toplev.c: Use NEED_DECLARATION_ENVIRON.
15478
15479         * tm.texi (Frame Layout): Document SMALL_STACK.
15480         * c-common.c (c_common_nodes_and_builtins): Check it.
15481
15482         * system.h: Undef alloca after including glibc's <stdlib.h>,
15483         if USE_C_ALLOCA is defined.
15484
15485         * gcc.c (set_input): New fn.
15486         (main): After all input files are compiled, reset the input file
15487         info to the first.
15488
15489         * aclocal.m4 (rindex, index): If already defined, don't attempt
15490         to redefine.
15491
15492         * ginclude/varargs.h: (__va_list__): Define ifndef.
15493         * ginclude/stdarg.h: Likewise.
15494
15495         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
15496         instead of unsigned char.
15497
15498         * hash.h (true, false, boolean): Undef before enum.
15499
15500         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
15501         proper type of "HOST_WIDE_INT *", rather than their natural type of
15502         "unsigned HOST_WIDE_INT *".
15503
15504 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15505
15506         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
15507
15508         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
15509
15510         * regclass.c (choose_hard_reg_mode): Likewise.
15511
15512         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
15513
15514         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
15515
15516 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15517
15518         * c-common.c: PROTO -> PARAMS.
15519         * c-common.h: Likewise.
15520         * c-decl.c: Likewise.
15521         * c-iterate.c: Likewise.
15522         * c-lang.c: Likewise.
15523         * c-lex.c: Likewise.
15524         * c-lex.h: Likewise.
15525         * c-parse.in: Likewise.
15526         * c-pragma.c: Likewise.
15527         * c-pragma.h: Likewise.
15528         * c-tree.h: Likewise.
15529         * c-typeck.c: Likewise.
15530         * objc/objc-act.c: Likewise.
15531         * objc/objc-act.h: Likewise.
15532
15533 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15534
15535         * m88k-protos.h: New file.
15536
15537         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15538         time warnings.
15539
15540         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
15541
15542         * m88k.md: Likewise.
15543
15544         * tekXD88.h: Likewise.
15545
15546 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15547
15548         * m68k-protos.h: New file.
15549
15550         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15551         time warnings.
15552
15553         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
15554
15555         * mot3300.h: Likewise.
15556
15557 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
15558
15559         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
15560         extract_bitlst.
15561         (extract_bitlist): Declare bitlen.
15562
15563 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
15564
15565         * cccp.c: Accept and ignore -lang-fortran.
15566
15567         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
15568         qualifiers don't match at any level of pointerness.
15569
15570 2000-01-12  Robert Lipe  <robertl@sco.com>
15571
15572         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
15573
15574 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
15575
15576         * reload1.c (reload_reg_unavailable): New static variable.
15577         (reload_reg_free_p): Test it.
15578         (reload_reg_free_for_value_p): Test it instead of
15579         reload_reg_used.
15580         (choose_reload_regs_init): Compute it.
15581
15582 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
15583
15584         * reorg.c (fill_slots_from_thread): Check modified_in_p
15585         before replacing.
15586
15587 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
15588
15589         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
15590         these nodes even if INTERNALS is not set.
15591
15592 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
15593
15594         * gcse.c (delete_null_pointer_checks_1): Cope when
15595         get_condition cannot determine the condition.
15596
15597 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
15598
15599         * toplev.h (set_message_length): Declare.
15600
15601         * diagnostic.c (obstack_chunk_alloc): Define macro.
15602         (obstack_chunk_free): Likewise.
15603         (struct output_buffer): New data structure.
15604         (vmessage): Remove.
15605         (output_maximum_width): New variable.
15606         (doing_line_wrapping, set_message_length, init_output_buffer,
15607         get_output_prefix, output_space_left, emit_output_prefix,
15608         output_newline, output_append, output_puts, dump_output,
15609         vbuild_message_string, build_message_string, build_location_prefix,
15610         voutput_notice, output_printf, line_wrapper_printf,
15611         vline_wrapper_message_with_location):  New functions. Implement
15612         automatic line wrapping.
15613         (v_message_with_decl): Make it handle automatic line wrapping.
15614         (v_error_with_file_and_line): Likewise.
15615         (v_warning_with_file_and_line): Likewise.
15616         (announce_function): Likewise.
15617         (default_print_error_function): Likewise.
15618
15619 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
15620
15621         * cpplib.h (struct cpp_options): Change lang_asm to char.
15622         Add lang_fortran.
15623         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
15624         done in cpp_handle_option now.
15625         (initialize_builtins): Take out special case code used only by
15626         __STDC_VERSION__.
15627         (cpp_handle_option): Turn off trigraphs and trigraph warnings
15628         if -traditional.  Recognize -lang-fortran and set
15629         lang_fortran, also turn off cplusplus_comments.
15630         (print_help): Document -lang-fortran.
15631         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
15632         lang_asm. Ignore all directives other than `# 123 "file"' if
15633         CPP_PREPROCESSED.
15634         (cpp_get_token): If -traditional, don't recognize directives
15635         unless the # is in column 1.
15636         (parse_string): If lang_fortran or lang_asm, silently
15637         terminate strings ('' or "") at end of line.
15638         Remove unnecessary braces.
15639
15640 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15641             Richard Henderson  <rth@cygnus.com>
15642
15643         * resource.c (mark_referenced_resources): Mark a set strict_low_part
15644         as used.
15645         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
15646         strict_low_part when possible.
15647
15648 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15649
15650         * alias.c: PROTO -> PARAMS.
15651         * basic-block.h: Likewise.
15652         * bitmap.c: Likewise.
15653         * bitmap.h: Likewise.
15654         * builtins.c: Likewise.
15655         * c-aux-info.c: Likewise.
15656         * caller-save.c: Likewise.
15657         * calls.c: Likewise.
15658
15659 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15660
15661         * Makefile.in (toplev.o): Depend on regs.h.
15662
15663         * output.h (tdesc_section): Prototype.
15664
15665         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
15666
15667         * sdbout.c: Include "tm_p.h".
15668
15669         * toplev.c: Include "regs.h".
15670
15671 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
15672
15673         * unroll.c (unroll_loop): Add EH support.
15674
15675 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15676
15677         * pa-protos.h: New file.
15678
15679         * pa.c: Include recog.h and tm_p.h.
15680         (compute_zdepwi_operands, compute_movstrsi_length,
15681         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
15682         find_addr_reg, import_milli): Add static prototypes.
15683         (pa_cpu_string, pa_arch_string): Constify a char*.
15684         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
15685         (read_only_operand): Add argument `mode'.
15686         (singlemove_string, output_move_double, output_fp_move_double,
15687         output_block_move, output_and, output_ior, output_ascii,
15688         remove_useless_addtr_insns, milli_names, output_mul_insn,
15689         output_div_insn, output_mod_insn, output_arg_descriptor,
15690         output_cbranch, output_bb, output_bvb, output_dbra, ,
15691         output_millicode_call, output_call, hppa_encode_label,
15692         output_parallel_movb, output_parallel_addb): Constify a char*.
15693         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
15694         (output_parallel_addb): Remove extra arg to `constrain_operands'
15695
15696         * pa.h:  Move all prototypes to pa-protos.h.
15697         (pa_cpu_string, pa_arch_string): Constify a char*.
15698         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
15699
15700         * pa.md: Call `function_label_operand' with mode argument.
15701         Likewise for `read_only_operand'.
15702         Fix nesting of parens in call to `symbolic_operand'.
15703
15704 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15705
15706         * i860-protos.h: New file.
15707
15708         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
15709         time warnings.
15710
15711         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
15712
15713         * i860.md: Likewise.
15714
15715 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
15716
15717         * i386.md (movstrsi expander): Rewrite.
15718         (movstrsi_1 insn): Deleted.
15719         (strmovhi, strmovqi expander): New expanders.
15720         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
15721         * i386.c (x86_single_stringop): New global variable.
15722         * i386.h (x86_single_stringop): Declare.
15723         (TARGET_SINGLE_STRINGOP): New macro.
15724
15725 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
15726
15727         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
15728         integer vararg POSTINCREMENT before the destination of the jump
15729         for the hard fp case.
15730         (function_arg_pass_by_reference): Pass a copy of CUM to
15731         FUNCTION_ARG.
15732
15733         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
15734         for CONSTANT_ADDRESS_P above while loop for subreg.
15735
15736 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
15737
15738         * flow.c (propagate_block): When a prologue/epilogue insn
15739         is marked dead, unconditionally clear libcall_is_dead and
15740         insn_is_dead, and only dump rtl if warnings aren't being
15741         suppressed.
15742
15743 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
15744
15745         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
15746         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
15747         (FIXED_REGISTERS): Set dirflag as fixed.
15748         (CALL_USED_REGISTERS): Set dirflag as used.
15749         (REG_ALLOC_ORDER): Set dirflag as last one.
15750         (DIRFLAG_REG): New macro.
15751         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
15752         (HI_REGISTER_NAMES): Add dirflag.
15753         (DEBUF_PRINT_REG): Handle dirflag.
15754         * i386.md (type attribute): New cld and str types.
15755         (length_opcode attribute): Set cld and str to 1.
15756         (memory attribute): Set str to unknown - it is not clear from the
15757         patterns.
15758         (pent_np function unit): Prefixed string operations takes 12 cycles
15759         minimally; cld takes 2 cycles.
15760         (ppro_uops attribute): Str is "many" and cld is "few".
15761         (ppro_p0 unit): Handle cld here.
15762         (k6_alux unit): Handle cld and str types.
15763         (k6_load unit): It is ocupied by str opcodes.
15764         (k6_store unit): It is ocupied by str opcodes.
15765         (athlon_decode): Str is vector decoded.
15766         (athlon_ieu): Handle str and cld.
15767         (cld pattern): New.
15768         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
15769         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
15770         cmpstrsi_nz_1 insn): Do not output cld instruction
15771
15772 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
15773
15774         * gcc.texi (G++ and GCC): Add Java and Chill.
15775         (Bug Critera): Don't list languages.
15776
15777         * gcc.texi (Incompatibilities): No longer claim most C compilers
15778         are K&R.
15779
15780         * gcc.texi (G++ and GCC): Update other front-ends list.
15781
15782 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
15783
15784         * i386.c (ix86_expand_setcc): Fix typo.
15785         (ix86_expand_movcc): Similarly.
15786
15787         * Band-aid until haifa's bitset implementation is nuked.
15788         * haifa-sched.c (extract_bitlst): New parameter for size of the
15789         bitset in bits.  All callers changed.  Avoid looking at undefined
15790         bits in the bitset.
15791         (edgeset_bitsize): New variable.
15792         (schedule_region): Initialize edgeset_bitsize.
15793
15794 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15795
15796         * Makefile.in (optabs.o): Depend on real.h
15797         (resource.o): Depend on insn-attr.h
15798
15799         * builtins.c (result_vector): Wrap prototype in macro conditions
15800         governing definition and use.
15801
15802         * c-common.c: Include tm_p.h.
15803
15804         * c-lex.c: Likewise.
15805
15806         * elfos.h: Constify a char*.
15807
15808         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
15809         (get_attr_length, shorten_branches, profile_after_prologue): Mark
15810         parameter with ATTRIBUTE_UNUSED.
15811
15812         * fold-const.c (exact_real_inverse): Wrap variable `i' in
15813         CHECK_FLOAT_VALUE.
15814
15815         * haifa-sched.c (schedule_insns): Mark parameter with
15816         ATTRIBUTE_UNUSED.
15817
15818         * optabs.c: Include real.h.
15819
15820         * real.h (ereal_atof): Add prototype arguments.
15821
15822         * resource.c: Include insn-attr.h.
15823
15824         * sdbout.c (sdbout_queue_anonymous_type,
15825         sdbout_dequeue_anonymous_types): Wrap in macro
15826         SDB_ALLOW_FORWARD_REFERENCES.
15827         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
15828         ATTRIBUTE_UNUSED.
15829
15830         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
15831
15832         * stupid.c: Include tm_p.h.
15833
15834         * tree.c (real_value_from_int_cst): Mark parameter with
15835         ATTRIBUTE_UNUSED.
15836
15837 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15838
15839         * i960-protos.h: New file.
15840
15841         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
15842         time warnings.
15843
15844         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
15845
15846 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15847
15848         * combine.c (expand_field_assignment): Do not discard SUBREGs
15849         while computing nonzero_bits.
15850
15851 2000-01-09  Nick Clifton  <nickc@cygnus.com>
15852
15853         * config/arm/arm.c: Fix compile time warnings about signed vs
15854         unsigned constants.
15855         * config/arm/arm.h: Fix compile time warnings about signed vs
15856         unsigned constants.
15857
15858 2000-01-09  Philip Blundell  <philb@gnu.org>
15859
15860         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
15861         than `ldm' with only one register.
15862         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
15863         only one register.
15864
15865         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
15866         clobbered.
15867
15868 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
15869
15870         * config/ns32k/ns32k.md (load or push effective address): Operand 1
15871         must have SImode.
15872
15873 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15874
15875         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
15876         assignment used as truth value.
15877
15878         * function.c (assign_temp): Mark parameter `dont_promote' with
15879         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
15880         PROMOTE_FOR_CALL_ONLY.
15881
15882         * genrecog.c (write_subroutine): Mark variable `operands' with
15883         ATTRIBUTE_UNUSED.
15884
15885         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
15886         ATTRIBUTE_UNUSED.
15887
15888         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
15889         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
15890
15891         * toplev.c (note_deferral_of_defined_inline_function): Likewise
15892         for `decl'.
15893
15894 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15895
15896         * config/c4x.h: Tidy up comments.
15897         * config/c4x.c: Likewise.
15898
15899 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
15900
15901         * fold-const.c (lshift_double, rshift_double): Handle
15902         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
15903
15904 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15905
15906         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
15907         in prepare_function_start().
15908
15909 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
15910
15911         * config/v850/v850.c (expand_epilogue): Interrupt functions no
15912         longer allocate extra stack for function calls.
15913
15914 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15915
15916         * config/c4x/c4x.md (*subqf3_set): Fix typo.
15917
15918 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15919
15920         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
15921
15922 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
15923
15924         * rs6000.c (processor_target_table): Add power3 as alias for 630.
15925         * aix43.h: Revert Aug 2 change.
15926         (HAS_INIT_SECTION): Define, not visible yet.
15927         (LD_INIT_SWITCH): Define, not visible yet.
15928         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
15929
15930         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
15931
15932         * collect2.c (main): Expand ld2 size further.
15933         (export_object_lst): Cast assignment to avoid warning.
15934         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
15935         (scan_prog_file, COFF): Do not collect initialization or
15936         finalization functions generated for entire shared object if
15937         init/fini support present.
15938
15939 2000-01-07  Nick Clifton  <nickc@cygnus.com>
15940
15941         * config/elfos.h: Tidy up formatting of marcos.  Make sure
15942         that .section directives are always prefixed by a tab.
15943
15944         * config/svr4.h: Add #include "elfos.h" and remove duplicate
15945         definitions.
15946
15947 2000-01-07  Matt Austern  <austern@sgi.com>
15948
15949         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
15950         expon.
15951
15952 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
15953
15954         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
15955         crtstuff.c.
15956         (crtbegin.o, s-crtS): Likewise.
15957
15958 2000-01-06  Richard Henderson  <rth@cygnus.com>
15959
15960         * alpha.md (adddi_2+1): Limit offset such that it will be
15961         loadable with a single ldah+lda pair.
15962         (adddi_2+2): Explicitly fail split if we can't make it work.
15963
15964 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
15965
15966         * protoize.c: Conditionally include unistd.h.
15967         (IS_SAME_PATH_CHAR): New macro.
15968         (IS_SAME_PATH): New macro.
15969         (CPLUS_FILE_SUFFIX): New macro.
15970         (cplus_suffix): New static variable.
15971         (is_abspath): New static function.
15972         (in_system_include_dir): Handle DOS style pathnames.
15973         (file_could_be_converted): Likewise.
15974         (file_normally_convertible): Likewise.
15975         (directory_specified_p): Likewise.
15976         (file_excluded_p): Likewise.
15977         (abspath): Likewise.
15978         (shortpath): Likewise.
15979         (referenced_file_is_newer): Likewise.
15980         (save_def_or_dec): Likewise.
15981         (do_processing): Likewise.
15982         (main): Likewise.
15983         (edit_file): Likewise. Use rename instead of link.
15984         (rename_c_file): Likewise. Don't rename syscalls file.
15985         (munge_compile_params): Define null device for DOS based systems.
15986         (process_aux_info_file): Use binary mode if appliable.
15987         (edit_file): Likewise.
15988         * invoke.texi (Running Protoize): Document C++ suffixes used.
15989
15990         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
15991         IS_DIR_SEPARATOR macros.
15992         * collect2.c: Likewise.
15993         * cppinit.c: Likewise.
15994         * dwarf2out.c: Likewise.
15995         * gcc.c: Likewise.
15996         * gcov.c: Likewise.
15997         * prefix.c: Likewise.
15998         * rtl.c: Likewise.
15999         * toplev.c: Likewise.
16000         * system.h: And move to here.
16001
16002         * prefix.c (update_path): Fix typo in variable name.
16003
16004 2000-01-06  Richard Henderson  <rth@cygnus.com>
16005
16006         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
16007         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
16008         (count_reg_sets_1, count_reg_references): Likewise.
16009         (flow_loops_level_compute): Start counting actual loop depth at 1.
16010         (flow_loops_find): Likewise.
16011         * local-alloc.c (update_equiv_regs): Likewise.
16012         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
16013
16014 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
16015
16016         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
16017         FIRST_PSEUDO_REGISTER
16018         * dwarf2out.c: Don't include frame.h
16019         * dwarfout.c: Likewise
16020         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
16021         frame.h
16022
16023 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
16024
16025         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
16026         dead registers.
16027
16028         * i386.c (movsf splitter): Fix typo in my last checkin.
16029
16030 2000-01-05  Nick Clifton  <nickc@cygnus.com>
16031
16032         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
16033         own definition of this macro.
16034         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
16035         flag_data_sections or UNIQUE_SECTION_P are true.
16036
16037         * tm.texi (UNIQUE_SECTION): Document that it can be called for
16038         unitialised data decls.
16039
16040         * config/i386/winnt.c (i386_pe_unique_section): Cope with
16041         being called for uninitialised data.
16042
16043         * config/i386/interix.c (i386_pe_unique_section): Cope with
16044         being called for uninitialised data.
16045
16046         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
16047         for uninitialised data.
16048
16049         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
16050         for uninitialised data.
16051
16052         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
16053         for uninitialised data.
16054
16055         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
16056         (UNIQUE_SECTION_P): Always generate a unique section if
16057         flag_data_sections is true.
16058         (UNIQUE_SECTION): Also generate unique sections for
16059         uninitialised data.
16060         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
16061         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
16062         named_section().
16063
16064 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16065
16066         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
16067         SI, or DI.
16068
16069 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16070
16071         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
16072         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
16073         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
16074         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
16075         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
16076
16077         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
16078
16079 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
16080
16081         * c-decl.c (finish_enum): Simplify code to determine minimum and
16082         maximum values of the enum, and calculate the type.  Remove check
16083         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
16084         the DECL_INITIAL of each enumeration constant with a copy converted
16085         to the enumeration type.  When updating variant types, don't bother
16086         updating the type itself.
16087
16088         * c-typeck.c (build_binary_op): Simplify conditional expressions
16089         when weeding out spurious signed-unsigned warnings.  Add new
16090         spurious warning category: if the unsigned quantity is an enum
16091         and its maximum value fits in signed_type(result_type).  Update
16092         commentary.
16093         (build_conditional_expr): Warn here if one alternative is signed
16094         and the other is unsigned.
16095
16096 2000-01-05  Nick Clifton  <nickc@cygnus.com>
16097
16098         * config/fr30/fr30.h: Remove extraneous comments.
16099
16100 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
16101
16102         * reload1.c (choose_reload_regs): When disabling a reload, also
16103         set reload_spill_index to -1.
16104
16105 2000-01-04  Joel Sherrill (joel@OARcorp.com>
16106
16107         * configure.in (m68*-*-rtemscoff*): New target, formal name for
16108         old m68*-*-rtems*.
16109         (m68*-*-rtemself*): New target.
16110         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
16111         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
16112         (sparc*-*-rtemself*): New target.
16113         (sparc*-*-rtems*): Now elf not a.out.
16114         * config/i386/rtems.h: Include config/rtems.h.
16115         * config/i386/rtemself.h: Include config/rtems.h.
16116         * config/i960/rtems.h: Include config/rtems.h.
16117         * config/m68k/rtems.h: Include config/rtems.h.
16118         * config/m68k/rtemself.h: Include config/rtems.h.
16119         * config/mips/rtems64.h: Include config/rtems.h.
16120         * config/pa/rtems.h: Include config/rtems.h.
16121         * config/rs6000/rtems.h: Include config/rtems.h.
16122         * config/sh/rtems.h: Include config/rtems.h.
16123         * config/sh/rtemself.h: Include config/rtems.h.
16124         * config/sparc/rtems.h: Include config/rtems.h.
16125         * config/sparc/rtemself.h: Include config/rtems.h
16126
16127 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
16128
16129         * final.c (shorten_branches): Correctly compute length of
16130         asms without operands.
16131
16132 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
16133
16134         * configure.in: Add pj target.
16135         * configure: Regenerate.
16136         * config/pj: New directory.
16137         * config/pj/lib1funcs.S: New file.
16138         * config/pj/linux.h: New file.
16139         * config/pj/pj.c: New file.
16140         * config/pj/pj.md: New file.
16141         * config/pj/pjl.h: New file.
16142         * config/pj/t-pj: New file.
16143         * config/pj/xm-pj.h: New file
16144
16145 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
16146
16147         * toplev.c (rest_of_compilation): Run shorten-branches before
16148         reg-stack for now.
16149
16150 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16151
16152         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
16153         macros so that they're consistent with their names.
16154         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
16155         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
16156
16157 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16158
16159         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
16160         modified inadvertently.
16161
16162 2000-01-04  Joel Sherrill <joel@OARcorp.com>
16163
16164         * configure.in (v850*-*-rtems*): New target.
16165         * configure: Regenerate.
16166         * config/v850/rtems.h: New file.
16167
16168 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
16169
16170         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
16171         (__gthread_key_create): Likewise.
16172         (__gthread_key_dtor):  Likewise.
16173         (__gthread_once): Fix logic.
16174         (__gthread_key_delete): Cast away constness.
16175
16176         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
16177         * invoke.texi: Document.
16178         * i386/mingw32.h (CPP_SPEC): Use.
16179         (LIBGCC_SPEC): Likewise.
16180         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
16181
16182 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
16183
16184         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
16185         (HANDLE_PRAGMA_PACK): Undefine.
16186         (SLOW_UNALIGNED_ACCESS): Define.
16187
16188 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
16189
16190         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
16191         to default definition.
16192         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
16193         (store_fixed_bit_field): Call macro with word_mode and alignment.
16194         (extract_bit_field): Call macro with relevant mode and alignment.
16195         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
16196         to default definition.
16197         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
16198         and alignment.
16199         (move_by_pieces_ninsns): Likewise.
16200         (clear_by_pieces): Likewise.
16201         (emit_push_insn): Likewise.
16202         (store_field): Call macro with relevant mode and alignment.
16203         (expand_expr): Likewise.
16204         (expand_expr_unaligned): Likewise.
16205
16206         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
16207         (SLOW_UNALIGNED_ACCESS): Define.
16208         (CASE_VECTOR_MODE): Always use 32-bit offsets.
16209         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
16210         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
16211         (toc_section): Likewise and .toc pseudo-op.
16212         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
16213         64-bit mode.
16214         (TEXT_SECTION_ASM_OP): Likewise.
16215         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
16216         32-bit offsets.
16217
16218         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
16219         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
16220         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
16221         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
16222         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
16223
16224 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
16225
16226         * regclass.c: Revert my Jan 4 change to loop cost computation.
16227
16228 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16229
16230         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
16231         compilation.
16232
16233 2000-01-04  Stan Cox  <scox@cygnus.com>
16234
16235         * haifa-sched.c (build_control_flow): Change unreachable simple
16236         loop test to check if current block has only one predecessor.
16237         (find_rgns): Initialize degree.  Use dest as degree index, not src.
16238
16239 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16240
16241         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
16242
16243         * calls.c (expand_call): Likewise for
16244         `old_stack_arg_under_construction'.
16245
16246         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
16247
16248         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
16249         `save_constant'.
16250
16251         * gcc.c (execute): Likewise for `ut' and `st'.
16252
16253         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
16254
16255         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
16256
16257         * jump.c (jump_optimize_1): Likewise for `temp2'.
16258
16259         * local-alloc.c (block_alloc): Likewise for `r1'.
16260
16261         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
16262
16263         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
16264         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
16265
16266         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
16267         and `set2'.
16268
16269         * reload.c (find_reloads): Likewise for `goal_alternative_number'
16270         and `goal_earlyclobber'.
16271
16272         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
16273
16274         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
16275
16276         * stupid.c (stupid_life_analysis): Likewise for `chain'.
16277
16278         * unroll.c (copy_loop_body): Likewise for `copy'.
16279
16280         * varasm.c (output_constructor): Likewise for `byte'.
16281
16282 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16283
16284         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
16285         all FP constants for constant->reg moves.
16286         (ix86_split_to_parts): Try to convert memory address into immediate
16287         when available in the constant pool.
16288         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
16289         moves.
16290         (LEGITIMATE_CONSTANT_P): Return 1.
16291         * i386.md (pushsf): New splitter to convert constant pool memory
16292         reference to immediate.
16293         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
16294         reload.
16295
16296 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
16297
16298         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
16299         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
16300         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
16301         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
16302         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
16303
16304 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
16305
16306         * ginclude/stdbool.h:  Support compilation as C++.
16307
16308 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16309
16310         * fold-const.c (make_range): Don't try to reverse an unbounded range.
16311
16312 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
16313
16314         * regclass.c (regclass): Properly compute loop_cost.  Adjust
16315         comments.
16316
16317         * regclass.c: Fix minor whitespace problems.
16318
16319 2000-01-03  Anthony Green  <green@cygnus.com>
16320
16321         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
16322         Restore the pic register if required.
16323
16324 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
16325
16326         * c-common.c (format_char_info): Update comment.
16327         (check_format_info): Recognize 'z' modifier in the same way 'Z'
16328         was recognized.  Emit warning for formats new in ISO C99 only
16329         if flag_isoc9x is not set.
16330
16331 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
16332
16333         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
16334
16335 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16336
16337         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
16338         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
16339         (make_compound_operation): Choose cheaper alternative between
16340         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
16341
16342         * regclass.c (op_costs): Remove global variable.
16343         (record_reg_classes): New parameter "op_costs" and "reg_pref".
16344         (record_operand_costs): Break out from ...
16345         (scan_one_insn): ... here.
16346         (dump_regclass): Make dumps nicer.
16347         (regclass): Dump preferrences choosed and changes done during passes.
16348
16349 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
16350
16351         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
16352
16353 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
16354
16355         * config/sparc/sparc.c (gen_df_reg): New function.
16356         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
16357         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
16358         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
16359         movtf_cc_reg_sp64+1): Use it.
16360
16361 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
16362
16363         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
16364         copied LABEL_DECLs.
16365
16366 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
16367
16368         * config/i386/i386.c (ix86_expand_unary_operator): Function
16369         definition made void.
16370         (ix86_expand_binary_operator): Update outdated preceding comment.
16371         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
16372         prototype.
16373
16374         * config/i386/i386.c (override_options): Fix option-name typo.
16375
16376 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
16377
16378         * system.h (CEIL): Define.
16379         * builtins.c (CEIL): Remove.
16380         * expmed.c (CEIL): Likewise.
16381         * expr.c (CEIL): Likewise.
16382         * stor-layout.c (CEIL): Likewise.
16383
16384 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16385
16386         * expr.c (store_constructor_field): Fix typo introduced with last
16387         gcc2 merge.
16388
16389 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
16390
16391         * tree.h (BINFO_N_BASETYPES): New macro.
16392
16393 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
16394
16395         * expmed.c (emit_store_flag): Prevent losing a pending stack
16396         adjust the same way we prevent losing queued increments.
16397
16398 See ChangeLog.2 for earlier changes.