OSDN Git Service

Oops, missed ChangeLog in last checkin...
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
4         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
5         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
6                 
7         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
8         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
9         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
10         for these macros.  Clean up spacing and linewraps.
11
12 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
13
14         * calls.c (expand_call): Use get_callee_fndecl.
15
16         * print-tree.c (print_node): Print the chain of an _EXPR.
17
18 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
19                           Jim Wilson  <wilson@cygnus.com>
20                           Andrew Haley  <aph@cygnus.com>
21         
22         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
23         and gp save/restore problems.
24         * config/ia64/crtend.asm: Add IA-64 unwind support.
25         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
26         in fr_pad_size calculation.
27         (save_restore_insns): Move PR save area.  Correct uses of
28         RTX_FRAME_RELATED_P.
29         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
30         (ia64_expand_epilogue): Add eh_epilogue support.
31         (ia64_function_prologue): Emit .prologue directive.
32         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
33         (ia64_override_options): Set init_machine_status and
34         mark_machine_status.
35         (rtx_needs_barrier): Handle bsp reads and writes.
36         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
37         New static variables.
38         (process_set, process_for_unwind_directive): New functions.
39         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
40         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
41         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
42         macros.
43         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
44         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
45         (struct machine_function): Define.
46         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
47         
48 2000-04-25  Bruce Korb  <bkorb@gnu.org>
49
50         * fixinc/Makefile.in: make the removal of old programs more
51         robust
52         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
53         install-bin and install-sh
54
55 2000-04-25  Nick Clifton  <nickc@cygnus.com>
56
57         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
58         defined, define to return zero.
59         (function_cannot_inline_p): If a function has any target
60         specific attributes, then use the macro
61         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
62         whether it can be inlined.  If it cannot, issue a suitable
63         explanation.
64
65         * tm.texi: Add a new node 'Inlining' to document the new macro
66         FUNCTION_ATTRIBUTE_INLINABLE_P. 
67
68 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
69
70         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
71         commentary. 
72
73 2000-04-25  Neil Booth  <NeilB@earthling.net>
74
75         Restore previous patch, plus the following fixes:
76
77         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
78         flags, not CPP_OPEN_PAREN.
79         * cpplex.c (expand_token_space, init_token_list,
80         cpp_free_token_list): Put the dummy token at list->tokens[-1].
81         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
82
83 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
84
85         * config/i386/freebsd.h (INT_ASM_OP): Define.
86
87 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
88
89         * loop.c (strength_reduce): Fix typo in the last checkin.
90
91 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
92
93         * stor-layout.c (finalize_record_size): Simplify to use existing
94         functions.
95         (compute_record_mode): No longer static.
96         * tree.h (compute_record_mode): New declaration.
97
98 2000-04-25  Neil Booth  <NeilB@earthling.net>
99
100         * Revert my patch below until cause of build failures
101         determined.
102
103 2000-04-25  Richard Henderson  <rth@cygnus.com>
104
105         * combine.c (combine_instructions): Add missing argument
106         to try_combine.
107
108         * toplev.c (rest_of_compilation): Delay sibcall optimization
109         until after emit_eh_context.
110
111 2000-04-24  Nick Clifton  <nickc@redhat.com>
112
113         * combine.c (combine_instructions): Do not try to combine a
114         sequence of insns when the second insn has been replaced by a
115         note.
116
117 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
118
119         * gcc.c (load_specs): New static function.
120         (read_specs): Use it.
121
122         * gcc.c (lookup_compiler): Make multiple passes for case
123         insensitive filesystems.
124
125 2000-04-24  Neil Booth  <NeilB@earthling.net>
126
127         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
128         * cpphash.h (_cpp_check_directive): new.
129         * cpplex.c (handle_newline, cpp_free_token_list,
130         init_trigraph_map, trigraph_ok, trigraph_replace,
131         backslash_start, skip_block_comment, skip_line_comment,
132         skip_whitespace, parse_name, parse_number, parse_string,
133         copy_comment, _cpp_lex_line, spell_char, spell_string,
134         spell_comment, spell_name, spell_other, _cpp_lex_file,
135         _cpp_output_list): new.
136         (expand_name_space): take length argument.
137         (init_token_list): add comment list initialisation.
138         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
139         instead of HSPACE_BEFORE.
140
141         * cpplib.c (_cpp_check_directive): new
142         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
143         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
144         (HSPACE_BEFORE): delete.
145         (TTYPE_TABLE): rearrange.
146         (struct cpp_toklist): update.   
147
148 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
149
150         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
151         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
152         argument form of AC_DEFINE.
153
154         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
155         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
156         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
157         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
158         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
159
160         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
161
162 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
163
164         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
165         deduced.h): Use -isystem, not -I, for including system headers.
166
167 2000-04-24  Nick Clifton  <nickc@cygnus.com>
168
169         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
170         the source register is the frame pointer or arg pointer.
171         (addsi3_small_int): Disallow if source register is the frame
172         pointer or arg pointer.
173
174 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
175
176         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
177         call to AC_MSG_RESULT.
178
179 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
180
181         * invoke.texi: Correct grammatical errors, document
182         -fno-gnu-keywords as identical to -fno-asm for C++.
183
184 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
185
186         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
187         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
188         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
189         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
190         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
191
192         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
193         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
194         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
195         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
196         new macros names.
197
198 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
199
200         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro. 
201         (pop_alignment): Likewise.
202         (handle_pragma_token): Likewise.
203
204 2000-04-24  Robert Lipe <robertlipe@usa.net>
205
206         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
207
208 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
209
210         * combine.c (try_combine): Update reg_nonzero_bits of
211         newi2pat before newpat.
212
213 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
214
215         * loop.c (strength_reduce): Simplify test to INSN_P.
216         (record_giv): Attempt to simplify the add value, use CONSTANT_P
217         expressions instead of CONST_INT.
218         (express_from_1): Likewise.
219
220 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
221
222         * regs.h (reg_n_max): Don't declare.
223         * flow.c (reg_n_max): Don't define.
224         * regclass.c (renumber): Don't initialize to zero.
225         (regno_allocated): Likewise.
226         (reg_n_max): Define.
227         (allocate_reg_info): Don't initialize unnecessarily.
228         
229 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
230
231         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
232         and blockage_p in the newly allocated attribute.
233
234 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
235
236         * config/mn10300/mn10300.md (addsi): `inc4' on address
237         registers does not modify cc, but `inc' on an extended
238         register does.
239
240 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
241
242         * reload.c (find_equiv_reg): Checks all valueno regs
243         as a reload_reg_p regs.
244
245 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
246
247         * cpphash.c (collect_objlike_expansion): Add sanity check.
248         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
249         the buffer is the empty string, return.  Mark __DATE__ and
250         __TIME__ as XCONST nodes, not MCONST.
251         (_cpp_macroexpand): Avoid pushing an empty buffer.
252         (funlike_macroexpand): Don't pop token_buffer here.
253
254 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
255
256         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
257         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
258         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
259         (REGNO_OK_FOR_BASE_P): Define in terms of them.
260         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
261         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
262         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
263
264 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
265
266         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
267         constant MULT givs.
268
269 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
270
271         * cpphash.h (struct definition): Move file, line, col members...
272         (struct hashnode): ... here.  Also add 'disabled' flag.
273         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
274         T_IDENTITY.  Remove T_DISABLED.               
275         Update prototypes.
276
277         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.     
278         (collect_expansion): Split into collect_objlike_expansion and
279         collect_funlike_expansion.                                 
280         (_cpp_macroexpand): Split out scan_arguments, stringify, and
281         funlike_macroexpand.
282         (_cpp_compare_defs): Rename compare_defs, make static.
283         (_cpp_make_hashnode): Initialize hp->disabled.  
284         (macro_cleanup): Adjust for new token types.  Clear
285         m->disabled.
286         (_cpp_create_definition): Move code here to determine what     
287         sort of macro it is, and code to check for redefinitions, from
288         do_define.  Implement a few simple cases without creating a   
289         full DEFINITION.
290         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
291         Handle the simple cases.                                 
292         (push_macro_expansion): Set buf->has_escapes and hp->disabled
293         here.
294
295         * cppinit.c (builtin_array): Change MCONST to XCONST
296         everywhere.
297         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
298         fix check for disabled and function-like macros.
299         * cpplib.c (do_define): Move most logic to
300         _cpp_create_definition.
301         (do_undef): Handle new special token types.
302
303 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
304
305         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
306         of CONSTANT_P for mult_val; always use validate_change to update insn.
307
308 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
309
310         * cpphash.c (trad_stringify, add_pat): New functions.
311         (collect_expansion): Restore support for -traditional syntax.
312         Use trad_stringify and add_pat.
313         (_cpp_macroexpand): Restore support for -traditional semantics.
314         * cpplex.c (_cpp_scan_line): Don't change space_before if we
315         get a COMMENT token.
316         (_cpp_lex_token): Provide COMMENT tokens to caller if
317         traditional and parsing_define_directive.
318         (skip_comment): Warn about // comments if -Wtraditional.
319         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
320         proper node type.
321         (do_undef): Don't warn about undefining EMPTY nodes.
322
323 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
324
325         * loop.c (strength_reduce): Fix biv removal code.
326
327 2000-04-22  Richard Henderson  <rth@cygnus.com>
328
329         * predict.c (estimate_probability): Examine both sides of
330         a branch for no exits.  Use 90% not 50% for predict taken.
331         Reorg for one copy of note generation code.
332
333 2000-04-22  Richard Henderson  <rth@cygnus.com>
334
335         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
336
337 2000-04-22  Richard Henderson  <rth@cygnus.com>
338
339         * diagnostic.c (init_output_buffer): Don't initialize format_args.
340         (output_clear): Likewise.
341         (output_printf): Use va_copy.
342         (vline_wrapper_message_with_location): Likewise.
343         (v_message_with_decl): Likewise.
344         (line_wrapper_printf): VA_START infor buffer.format_args directly.
345         * system.h (va_copy): Provide default implementation.
346
347 2000-04-22  Richard Henderson  <rth@cygnus.com>
348
349         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
350         the collected condition is not a constant.
351
352 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
353
354         * diagnostic.h: New file.
355
356         * Makefile.in (diagnostic.o): Depends on diagnostic.h
357
358         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
359         various function prototypes.
360         (diagnostic.h): #include.
361         (struct output_buffer): Move into diagnostic.h.
362         (get_output_prefix): Rename to output_get_prefix.  Export.
363         (init_output_buffer): Export. Break out.  Ajust intialization.
364         (output_space_left, output_append): Export.
365         (output_newline): Rename to output_add_newline.  Export.
366         (output_clear): Nullify additional output_buffer fields.
367         (output_puts): Rename to output_add_string.  Export.
368         (dump_output): Rename to output_flush_on.  Export.
369         (build_location_prefix): Constify return-type.
370         (emit_output_prefix): Rename to output_emit_prefix. Export.
371         (set_real_maximum_length): New function.
372         (output_set_maximum_length): Ditto
373         (output_clear): Ditto.
374         (output_add_character): Ditto.
375         (output_add_integer): Ditto.
376         (output_add_space): Ditto.
377         (output_format): Ditto.
378         (output_printf): Adjust buffer initialization.
379         (vline_wrapper_message_with_location): Ditto.
380         (v_message_with_decl): Ditto.  Adjust call to output_puts
381         and get_output_prefix.
382         (default_print_error_function): Adjust buffer intialization.
383
384 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
385
386         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
387         of VOID_TYPE.
388
389 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
390
391         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
392         of explicit 0.
393
394 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
395
396         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
397         accurate data about SP moves.
398
399 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
400
401         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
402         aliases to AM33 registers.
403
404 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
405
406         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
407         to all EXTENDED bitmaps.
408
409 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
410
411         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
412         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
413         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
414
415 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
416
417         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
418         the operand is not constant.
419
420 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
421
422         * reload.c (find_equiv_reg): Checks all valueno and regno regs
423         as a call-clobbered regs.
424
425 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
426
427         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
428         * rtl.h: Likewise.
429         * rtl.def: Update comment.
430         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
431         * integrate.c (expand_inline_function): Likewise.
432         * profile.c (branch_prob): Likewise.
433         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
434         * print-rtl.c (print_rtx): Likewise.
435         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
436         (reemit_notes): Likewise; also use enum insn_note.
437
438         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
439         (place_field): Properly compute know and actual alignment.
440
441         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
442         in proper format.
443
444         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
445         note for REG1.
446
447 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
448
449         * cpphash.c (struct arg, struct arglist): Const-ify strings.
450         (warn_trad_stringify, duplicate_arg_p): New helper functions.
451         (collect_expansion): Rewrite to scan over a token list.
452         Remove -traditional support.
453         (collect_formal_parameters): Rename to collect_params; rewrite
454         to scan over a token list.
455         (_cpp_create_definition): Adjust to scan a token list.
456         (_cpp_macroexpand): Remove -traditional support.
457         (_cpp_compare_defs): Whitespace is now canonicalized.
458         (comp_def_part): Delete function.
459
460         * cpphash.h: Update prototypes.
461         * cpplex.c (init_token_list): Don't set lineno if there is no
462         buffer.
463         (pedantic_whitespace): New function.
464         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
465         consume a newline.  Use pedantic_whitespace.
466         (_cpp_lex_token): Remove support for -traditional macros.
467         (_cpp_get_define_token): Delete.
468         (_cpp_get_directive_token): Do the real work here.  Use
469         pedantic_whitespace.
470         (_cpp_init_input_buffer): Initialize pfile->directbuf.
471
472         * cpplib.c (get_macro_name): Delete.
473         (do_define): Read the entire line into pfile->directbuf, then
474         feed the token list to _cpp_create_definition.
475         * cpplib.h (HSPACE_BEFORE): new define.
476         (struct cpp_reader): Add a toklist member, "directbuf".
477
478         * predict.c (estimate_probability): New heuristic: if a jump
479         branches around a block with no successors, predict it taken.
480         Disentangle control flow.
481
482 2000-04-20  Richard Henderson  <rth@cygnus.com>
483
484         * loop.c (emit_iv_add_mult): Revert last change.
485
486 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
487
488         * cpplib.h (enum cpp_ttype): Add token types for all
489         punctuators.  Distinguish pp-numbers from valid C numbers.
490         Give some tokens better names.  Initialize from macro.    
491         (struct cpp_name, cpp_token, cpp_toklist): New data   
492         structures.
493         Update prototypes.
494         * cpplex.c (bump_column, expand_name_space,
495         expand_token_space, init_token_list, cpp_output_list,
496         _cpp_scan_line):  New functions.
497         (output_line_command): Add third argument, new line number.
498         * cpphash.h: Update prototypes.
499         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
500         token names.
501
502 2000-04-20  Richard Henderson  <rth@cygnus.com>
503
504         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
505
506 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
507
508         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
509         object pointed to.
510
511 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
512
513         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
514         REG_EQUAL note explaining the calculated value.
515
516         * calls.c (expand_call): Avoid unnecesary precalculation
517         and outgoing parameters space guarding for sibling calls.
518         (store_one_arg): Likewise.
519
520 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
521
522         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
523         (rest_of_compilation): Write sibling dump file and account
524         for time as jump time.
525         * invoke.texi: Update documentation on dump flags.
526
527 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
528
529         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
530
531 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
532
533         * cpphash.c (special_symbol): Represent an empty macro with
534         "\r \r " not just "\r ".
535         (_cpp_macroexpand): Correct condition for the foo ( ) special
536         case.
537         (unsafe_chars): Handle EOF as second argument.
538         (push_macro_expansion): Simplify test for removing escape at
539         end.  Do not trim both escapes if there is no text in between.
540
541 2000-04-19  Jim Blandy  <jimb@redhat.com>
542
543         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
544         of PTR_SIZE, when appropriate.
545
546 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
547
548         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
549         (USE_ENUM_BITFIELDS): Fix typo.
550
551 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
552
553         * stor-layout.c (place_field): Set rli->offset_align properly.
554
555 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
556
557         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
558         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
559         PARM_BOUNDARY): Remove unnecessary casts.
560
561 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
562
563         * calls.c (precompute_arguments): Remove must_preallocate and
564         args_size calls.
565         (expand_call): Update call of precompute_arguments.
566
567         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
568         check_insn_for_givs): Break out from ...
569         (strength_reduce) ... here; use for_every_insn_in_loop to call
570         check_insn_for_givs.
571         * loop.h (for_every_insn_in_loop): Declare.
572         (loop_insn_callback): New type.
573
574 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
575
576         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
577         not nul-terminated.
578
579 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
580
581         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
582         flag_pic and RELOC.
583
584 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
585
586         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
587
588         * configure.in: Delete --disable-cpplib option and all
589         references to cpp_main.
590         * configure: Regenerate.
591         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
592         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
593         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
594         cpp$(exeext).  Add --no-headers to makeinfo command line when
595         generating INSTALL.  Install and uninstall cpp.1 manpage, not
596         cccp.1.
597         * install.texi: Delete all references to cexp.y/cexp.c.
598         Delete ancient instructions for compiling GCC on 3b1.
599         * INSTALL: Regenerate.
600
601         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
602         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
603         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
604         cexp.c/cexp.y.
605         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
606         which is no longer tested anywhere.
607         
608         * cppinit.c (handle_option): Don't run error message through
609         gettext twice.
610
611 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
612
613         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
614         * cpperror.c (hashtab.h): Now include.
615         * cppexp.c (hashtab.h): Likewise.
616         * cpplex.c (hashtab.h): Likewise.
617         * cppfiles.c (hashtab.h): Likewise.
618         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
619         to htab_find_slot_with_hash.
620         * cpphash.c (hashtab.h): Now include.
621         (_cpp_lookup_slot): INSERT is now enum insert_option.
622         * cpphash.h (_cpp_lookup_slot): Likewise.
623         * cppinit.c (hashtab.h): Include earlier.
624         (initialize_builtins): Pass enum to htab_find_slot.
625         * cpplib.c (hashtab.h): Now include.
626         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
627         (do_pragma_poison, do_assert): Likewise.
628         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
629         htab_find_slot_with_hash.
630         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
631         * tree.c (type_hash_add): Likewise.
632         (build1): Minor cleanup.
633
634         * ggc-common.c: Add missing blanks.
635         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
636         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
637
638         * stmt.c (mark_case_node): New function.
639         (mark_case_nesting): Call it.
640
641         * expmed.c (emit_store_flag): If comparing two-word integer
642         with zero, can optimize NE, EQ, GE, and LT.
643
644         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
645         * conflict.c: Minor cleanups.
646         * optabs.c: Add blank line
647         * simplify-rtx.c: Minor cleanups.
648
649 2000-04-18  Stan Cox  <scox@cygnus.com>
650
651         * gengenrtl.c (genlegend): Fix misspelling.
652
653 2000-04-18  Robert Lipe  <robertlipe@usa.net>
654
655         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
656         bitfields of the host compiler are not signed quantities.
657         * config.in: Regenerate.
658         * configure: Regenerate.
659         * system.h (USE_ENUM_BITFIELDS): Added.
660         (ENUM_BITFIELDS): Added.
661         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
662         (SHORT_ENUM_BUG): Deleted.
663         * tree.h (tree_common): Members `code', `mode', `built_in_class', 
664         now ENUM_BITFIELD.
665         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
666         (CODE_FIELD_BUG): Likewise.
667         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
668         (OLD_CC): Likewise.
669         * config/m68k/x-ccur (X_CFLAGS): Likewise.
670
671 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
672
673         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
674         mark is active.
675
676 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
677
678         * cppexp.c (lex): Don't assume tokens are NUL terminated.
679         * cpplib.c (do_include, do_import, do_include_next,
680         read_line_number, detect_if_not_defined): Likewise.
681         * cpphash.c (collect_expansion): Likewise.
682         (special_symbol, _cpp_macroexpand): Check return from
683         cpp_file_buffer.
684         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
685         macros.  Delete all uses.
686
687         * gcc.dg/cpp-mi.c: Add two more test cases.
688         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
689
690 2000-04-17  Richard Henderson  <rth@cygnus.com>
691
692         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
693         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
694
695 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
696
697         * function.c (expand_function_start): Use hard_function_value to
698         compute the RTL to use for DECL_RESULT.
699
700 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
701
702         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
703         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
704          x86_memory_mismatch_stall): New global variables.
705         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
706         alloved; fix load penalties for Athlon.
707         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
708         x86_memory_mismatch_stall): Declare.
709         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
710          TARGET_MEMORY_MISMATCH_STALL): New.
711         * i386.md (athlon scheduling parameters): Fix latencies according to
712         Athlon Optimization Manual.
713         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
714         vector.
715         (fsqrt instruction patterns): Set athlon_decode to direct.
716         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
717         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
718         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
719         and TARGET_PARTIAL_REGISTER_STALL machines.
720         (pushdf_nointeger): New pattern.
721         (pushdf_integer): Rename from pushdf.
722         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
723         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
724
725 2000-04-17  Richard Henderson  <rth@cygnus.com>
726
727         * loop.c (canonicalize_condition): Add WANT_REG argument.
728         Stop the search if we match it.
729         * expr.h (canonicalize_condition): Update decl.
730         * predict.c (expected_value_to_br_prob): Use it.  Track last
731         expected value note.
732         (find_expected_value): Remove.
733
734         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
735
736 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
737
738         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
739         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
740         a plain file.
741         * configure.in: Call AC_FUNC_MMAP_FILE.
742         * configure: Regenerate.
743         * config.in: Regenerate.
744
745         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
746         * fixinc/fixincl.c: Likewise.
747
748 2000-04-17  Richard Henderson  <rth@cygnus.com>
749
750         * builtins.c (expand_builtin_expect): New.
751         (expand_builtin): Call it.
752         * builtins.def (BUILT_IN_EXPECT): New.
753         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
754         * extend.texi: Document it.
755
756         * predict.c (expected_value_to_br_prob): New.
757         (find_expected_value): New.
758         * basic-block.h (expected_value_to_br_prob): Declare.
759         * toplev.c (rest_of_compilation): Invoke it.
760
761         * rtl.h (NOTE_EXPECTED_VALUE): New.
762         (NOTE_INSN_EXPECTED_VALUE): New.
763         * rtl.c (note_insn_name): Update.
764         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
765         cases; handle NOTE_INSN_EXPECTED_VALUE.
766
767 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
768
769         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
770         leaf sibcall delay slot if flag_pic.
771         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
772
773 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
774
775         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
776
777         * fixproto: If fix-header fails, exit with an error.
778
779 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
780
781         * cse.c (struct check_depdendence_data): New.
782         (check_dependence): New function.
783         (invalidate): Use check_depdenence.
784
785 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
786
787         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
788         UNITS_PER_WORD is unsigned.
789
790         * tree.h (struct tree_common): Remove misleading comment.
791
792 2000-04-16  Dave Pitts  <dpitts@cozx.com>
793
794         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
795         message in quotes. Otherwise, IBM's make program treats the '#' as the
796         start of a comment and ignores the remainder of the line.
797
798         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
799         upper case.
800         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
801         * cexp.y (initialize_random_junk): Likewise.
802         * cppfiles.c (find_include_file): Cast alloca return value.
803         * cppinit.c (initialize_standard_includes): Likewise.
804         * cpplib.c (cpp_define, cpp_undef): Likewise.
805         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
806         * final.c (output_asm_insn): Allow for holes in EBCDIC.
807         * fold-const.c (CHARMASK): New.
808         (real_hex_to_f): Use it.
809         * real.c (CHARMASK): New.
810         (etoasc, asctoeg): Use it.
811         (asctoeg): EBCDIC lower case characters preceed upper case.
812
813         * i370.c (mvs_add_label): Change spacing for coding conventions.
814         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
815         outputing case vectors.
816         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
817         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
818         since vector in in the data CSECT.
819         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
820         * i370.md (Many patterns): Put the length in the XL directives.
821         (movdi): Put back STM and MVC in definition.
822         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
823         pattern using the TCA.
824         * oe.h (CPP_SPEC): Added to allow trigraphs.
825         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
826         not support the "long long" type.
827
828 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
829
830         * config/mips/mips-protos.h (mips_legitimate_address_p): New
831         function.
832         (mips_reg_mode_ok_for_base_p): Likewise.
833         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
834         (REG_OK_FOR_INDEX_P): Define unconditionally.
835         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
836         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
837         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
838         that GET_MODE_SIZE is unsigned.
839         (mips_reg_mode_ok_for_base_p): Define.
840         (mips_legitimate_address_p): Likewise.  Adjust now
841         that GET_MODE_SIZE is unsigned.
842         (block_move_loop): Make the number of bytes unsigned.
843         (expand_block_move): Likewise.
844         (function_arg): Make the loop counter unsigned to match the
845         boundary condition.
846
847 2000-04-16  Richard Henderson  <rth@cygnus.com>
848
849         * rtl.h (enum insn_note): New enumeration.  Subsume
850         NOTE_INSN_DELETED and friends.
851         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
852         * rtl.c (note_insn_name): Tweak string order.
853
854 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
855
856         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
857         to offset * 2.
858
859         * cpplex.c (output_line_command): Remove debugging prints.
860         (cpp_output_tokens): Don't write out a zero-length buffer or
861         try to see if it has a newline in it.
862         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
863         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
864         the end of the loop.  Use memmove.  Don't read past the end of
865         the buffer.  Remove trailing newlines from error messages.
866
867 2004-04-16  Neil Booth  <NeilB@earthling.net>
868
869         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
870         * cpplib.c: Add new syntax flags to directive table, and
871         supporting macros.
872
873 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
874
875         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
876         using ret $N.
877
878 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
879
880         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
881         * haifa-sched.c: Update -fsched-verbose comments to use "=".
882
883 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
884
885         * Makefile.in (ggc-page.o): Now includes toplev.h.
886         * ggc-page.c (toplev.h): Now included.
887         (gc_time): Remove declaration.
888         (ggc_collect): TIME now long.
889         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
890         others static.
891         * toplev.h (gc_time, parse_time, gc_time): New declarations.
892
893         * toplev.c: Make *_time variable long to reduce chance of overflow.
894         (TIMEVAR): Likewise for `otime'.
895         (print_time): Arg is now long; compute percentage in FP and round.
896         * toplev.h (print_time): Arg is long.
897
898         * tree.c: Minor whitespace changes.
899
900         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
901         * configure: Rebuilt.
902         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
903         (__fixunsxfDI): Renamed from __fixunsxfdi.
904         (__fixunsdfDI): Renamed from __fixunsdfdi.
905         (__fixunssfDI): Renamed from __fixunssfdi.
906         (__floatdisf): Use proper type in REP_BIT macro.
907         (__fixunsxfSI): Renamed from __fixunsxfsi.
908         (__fixunsdfSI): Renamed from __fixunsdfsi.
909         (__fixunssfSI): Renamed from __fixunssfsi.
910         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
911         Change location of macros and upper-case some names as above.
912         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
913         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
914
915         * varasm.c (assemble_variable): Add cast to remove warning.
916         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
917
918         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
919         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
920         region number to -1.
921
922 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
923
924         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
925         call unshare_all_rtl.
926
927         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
928
929 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
930
931         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
932         Use .s1 not .s0 for all FP instructions.
933
934 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
935
936         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
937         interfaces.
938         (safe_fwrite, output_line_command): New static functions.
939         (cpp_expand_to_buffer): Now private to cpplib.
940         (cpp_scan_buffer): Take a printer.
941
942         * cpphash.h: Update prototypes.
943         * cpplib.h: Update prototypes.
944         (cpp_printer): New.
945         (cpp_buffer): Remove last_nominal_fname.
946         (cpp_reader): Remove lineno.
947
948         * cppmain.c: Use a cpp_printer.
949         * fix-header.c: No need to inhibit line commands.  Call
950         cpp_start_read with no printer.
951
952         * cpperror.c (cpp_notice_from_errno): Provide default name.
953         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
954         (find_include_file, cpp_read_file): Use make_IHASH.
955         (file_cleanup): Set control_macro and clear
956         input_stack_listing_current here.
957         (_cpp_execute_include): Don't output entering-file marker.
958         * cpphash.c (special_symbol): Look for the line number in the
959         buffer, not the reader.
960         (_cpp_macroexpand): No need to disable line commands.
961         (_cpp_dump_definition): No need to generate line commands.
962         (dump_hash_helper): Remove excess newline from output.
963         * cppinit.c (dump_special_to_buffer): No need to generate line
964         commands.
965         (cpp_printer_init): New.
966         (cpp_start_read): Take a printer, and start it up if it's not
967         NULL.  No need to generate line commands.
968         (cpp_finish): Expect no buffers stacked at all.  Take a
969         printer argument, and flush the output buffer if it's not
970         NULL.
971         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
972         Don't put two hashes at the beginning of an assertion.
973         (cpp_get_token): Don't increment pfile->lineno or emit line
974         commands here.  Return EOF if there's no buffer when we get
975         EOF.
976         * cpplib.c (do_define, skip_if_group): 
977         No need to disable line commands.
978         (_cpp_output_line_command): Delete function.
979         (do_line): Don't emit line commands here, but set things up so
980         they will be emitted if necessary.  Use _cpp_fake_ihash to
981         make unique nominal_fnames if necessary.
982         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
983         with 0 for column, not -1.
984         (_cpp_handle_eof): Don't set the control macro here.  Don't
985         clear input_stack_listing_current here.  Don't emit line
986         commands.
987
988 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
989
990         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
991         always, use the default SVR4 start address.
992
993         * config/rs6000/linux.h (LINK_SPEC): Don't define.
994         (LINK_SHLIB_SPEC): Define.
995         (LINK_START_DEFAULT_SPEC): Define.
996         (LINK_OS_DEFAULT_SPEC): Define.
997
998         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
999
1000         * config/rs6000/eabi.asm (__eabi): Call __init rather than 
1001         __do_global_ctors to handle constructors.
1002         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
1003         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
1004         (STARTFILE_MVME_SPEC): Likewise.
1005         (STARTFILE_SIM_SPEC): Likewise.
1006         (ENDFILE_ADS_SPEC): Use crtend.
1007         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
1008         (ENDFILE_MVME_SPEC): Likewise.
1009         (ENDFILE_SIM_SPEC): Likewise.
1010         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
1011         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
1012         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
1013         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
1014         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
1015         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
1016         (CRTSTUFF_T_CFLAGS_S): Define.
1017         * config/rs6000/eabi-ctors.c: Delete.
1018         
1019         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
1020         boundary.
1021         (__fini): Likewise.
1022         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
1023         boundary.
1024         (__fini): Likewise.
1025
1026 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
1027
1028         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
1029         plus mask size is smaller or equal to the mode size.
1030
1031 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1032
1033         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
1034         not yet set.
1035
1036         * expr.c (reload.h): Now included.
1037         (emit_block_move): Set volatile_ok when checking for movstr.
1038         (emit_move_1): Check for replacements in addresses in multi-word case.
1039         * Makefile.in (expr.o): Now includes reload.h.
1040
1041         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
1042         Never have a LIBCALL end a basic block.
1043         (find_basic_blocks_1): Likewise.
1044         Reorganize CALL_INSN cases.
1045
1046         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
1047
1048 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
1049
1050         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
1051         completers from mov.ret instruction.
1052
1053 2000-04-14  Richard Henderson  <rth@cygnus.com>
1054
1055         * fold-const.c (extract_muldiv): Don't distribute and widen
1056         multiply across plus for non-sizetype unsigned types.
1057
1058 2000-04-14  Richard Henderson  <rth@cygnus.com>
1059
1060         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
1061         If the original source is dead in the incr insn, it's dead now.
1062
1063 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1064
1065         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
1066         see if DECL_BIT_FIELD needs to still be set.
1067
1068         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
1069
1070         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
1071         print_int_cst_octal with something that's not an INTEGER_CST.
1072
1073         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
1074         and not a SUBREG to a FLOAT rtl.
1075
1076 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
1077
1078         * emit-rtl.c (try_split): Avoid infinite loop if the split
1079         results in a sequence that contains the original insn.
1080
1081 2000-04-13  Andreas Jaeger  <aj@suse.de>
1082
1083         * config/mips/mips.c (expand_block_move): Pass alignment
1084         argument to move_by_pieces in bits, not bytes.
1085
1086         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
1087         __pic__ for little endian.
1088
1089 2000-04-13  Andreas Jaeger  <aj@suse.de>
1090
1091         * config/i386/i386-protos.h: Add prototype for
1092         uno_comparison_operator.
1093
1094 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1095
1096         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
1097         * calls.c (ECF_PURE): New flag.
1098         (emit_call_1): Handle ECF_PURE calls.
1099         (initialize_argument_information): Unset ECF_PURE flag too.
1100         (precompute_arguments): Precompute for ECF_PURE too.
1101         (expand_call): Handle ECF_PURE calls too.
1102         (emit_library_call_value_1): Rename no_queue argument to fn_type,
1103         accept value of 2 as pure function.
1104         (emit_library_call_value, emit_library_call): Rename no_queue argument
1105         to fn_type.
1106         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
1107
1108         * tree.h (DECL_IS_PURE): New macro.
1109         (struct tree_decl): Add pure_flag.
1110         * c-common.c (enum attrs): Add attribute "pure".
1111         (init_attributes): Initialize attribute "pure"
1112         (decl_attributes): Handle attribute "pure".
1113         * extend.texi (Attribute "pure"): Document.
1114         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
1115         in pure function.
1116         (flags_from_decl_or_type): Support attribute "pure".
1117
1118 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
1119
1120         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
1121         the token except for numbers and identifiers.
1122
1123 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
1124
1125         * i386.c (ix86_expand_binary_operator,
1126         ix86_expand_unary_operator): Check no_new_pseudos
1127         instead of reload_in_progress and reload_completed.
1128         (ix86_split_ashldi, ix86_split_ashrdi,
1129         ix86_split_lshrdi): Check no_new_pseudos instead
1130         of reload_completed.
1131
1132 2000-04-12  Jeffrey A Law  (law@cygnus.com)
1133
1134         * function.c (purge_addressof): Unshare any shared rtl created by
1135         purge_addressof and its children.
1136
1137 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
1138
1139         * function.c (aggregate_value_p): VOID_TYPE nodes are never
1140         aggregates.
1141
1142 2000-04-05  Andreas Jaeger  <aj@suse.de>
1143
1144         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
1145         not compiling PIC code, add flags for mabi=64.
1146         (SUBTARGET_CPP_SIZE_SPEC): New.
1147         (SUBTARGET_CPP_SPEC): New.
1148         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
1149         for MIPS/Linux and lots of code needs these defines.
1150
1151 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
1152
1153         * reorg.c (fill_slots_from_thread): Check side_effects_p when
1154         trying the "opposite arithmetic" approach.
1155
1156 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1157
1158         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
1159         (struct sh_args): Add new field force_mem.
1160         (INIT_CUMULATIVE_ARGS): Initialize it.
1161         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
1162
1163 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1164
1165         * calls.c (expand_call): Do not reverse args in "equal from" field.
1166         (emit_library_call_value_1): Emit_libcall_block for const and pure
1167         function.
1168
1169 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1170
1171         * reload1.c (reload_combine): Don't enable optimization for fixed
1172         registers when encountering a BARRIER.
1173
1174 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1175
1176         * builtins.c (expand_builtin_memcmp): Do expansion even with
1177         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
1178
1179         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
1180         stack is propertly aligned; add sanity checking for aligned
1181         stack pointer.
1182         (expand_library_call_value_1): Add sanity checking for aligned
1183         stack pointer.
1184
1185 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
1186  
1187         * calls.c (emit_library_call_value_1): Change 3rd arg to
1188         locate_and_pad_parm to disregard the setting of partial.
1189
1190 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1191
1192         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
1193
1194         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
1195         CALL_INSN from the normal case.
1196
1197 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1198
1199         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1200         New global variables.
1201         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
1202         adjustment.
1203         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1204         Declare,
1205         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
1206          TARGET_ADD_ESP_8): New macros.
1207         * i386.md: Add peep2s to convert esp adjustments to push and pop
1208         instructions.
1209         (pushsi_prologue, popsi_epilogue): New patterns.
1210
1211 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1212
1213         * real.c (toe64): Remove stale #endif from the last change.
1214
1215 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
1216
1217         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
1218         * real.c (toe64): Revert previous change.
1219
1220 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1221
1222         * objc/objc-act.c: Include ggc.h.
1223         (objc_tree_index, objc_global_trees): Convert most of the
1224         static tree variables into a static array with previous names
1225         as defines.
1226         (objc_ellipsis_node): New variable.
1227         (lang_init): Call objc_act_parse_init and c_parse_init.
1228         Create objc_ellipsis_node.
1229         (build_selector_translation_table): Use objc_ellipsis_node instead
1230         of (tree)1.
1231         (hack_method_prototype): Likewise.
1232         (get_arg_type_list): Likewise.
1233         (start_method_def): Likewise.
1234         (continue_method_def): Likewise.
1235         (gen_method_decl): Likewise.
1236         (ggc_mark_imp_list): New function.
1237         (ggc_mark_hash_table): New function.
1238         (objc_act_parse_init): New function.
1239         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
1240         * c-parse.in (c_parse_init): For objc add roots of objc specific
1241         local tree variables.
1242         * objc/objc-parse.y: Rebuilt.
1243         * objc/objc-parse.c: Rebuilt.
1244         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
1245
1246 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
1247
1248         * cse.c (delete_trivially_dead_insns): Also delete insns
1249         that copy a register to itself where the destination is
1250         a strict_low_part.
1251
1252 2000-04-11  Richard Henderson  <rth@cygnus.com>
1253
1254         * flow.c (struct propagate_block_info): Add new_dead, new_live.
1255         (propagate_block): Initialize them.  Use them in parallel instead
1256         of one tmp variable, ie revert much of the 0408 and 0407 functional
1257         changes, but keep the structural changes.
1258         (mark_set_regs): Take new_dead from propagate_block_info instead.
1259         (mark_set_1, mark_set_reg): Likewise.
1260         (mark_used_regs): Likewise with new_live.
1261         (mark_used_reg): Likewise.  Revert 0408 change.
1262
1263 2000-04-11  Nick Clifton  <nickc@cygnus.com>
1264
1265         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
1266         restriction.
1267         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
1268
1269 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1270
1271         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
1272         const section to output a CONSTRUCTOR based on the same conditions
1273         used for VAR_DECLs.
1274
1275 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
1276
1277         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
1278         * pa/pa-protos.h (output_call): Add additional argument indicating
1279         if the call is a sibling/tail call.
1280         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
1281         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
1282         (function_arg, function_arg_partial_nregs): Likewise
1283         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
1284         (emit_move_sequence): Zero extend certain constants as needed
1285         for TARGET_64BIT.
1286         (compute_zdepdi_operands, output_64bit_and): New functions.
1287         (output_64bit_ior, function_arg): Likewise.
1288         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
1289         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
1290         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
1291         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
1292         (output_bvb): Likewise.
1293         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
1294         (output_call): New argument 'sibcall'.  Generate sibcall sequences
1295         as needed.
1296         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
1297         (ouput_arg_descriptor): Do not emit argument descriptors for
1298         TARGET_64BIT.
1299         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
1300         defined.
1301         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
1302         (FUNCTION_OK_FOR_SIBALL): Define.
1303         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
1304         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
1305         (CPP_SPEC): Use new spec infrastructure.
1306         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
1307         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
1308         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
1309         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
1310         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
1311         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
1312         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1313         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
1314         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
1315         (FUNCTION_ARG); Call out to C code.
1316         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
1317         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
1318         (MIN_UNITS_PER_WORD): Likewise.
1319         * pa/pa.md (cmpdi): New expander.
1320         (scc patterns, movstrsi): Not available for TARGET_64BIT.
1321         (64bit conditional arithmetic): New patterns.
1322         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
1323         (movsicc): Not available if modes on all the operands to not match.     
1324         (movdicc): New expander and associated patterns.
1325         (64bit branches): New patterns.
1326         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
1327         (pre_ldd, post_std): New patterns.
1328         (64bit addil, load low part): New patterns.
1329         (special movsf constant): Not available for TARGET_64BIT.
1330         (movsf, movdf expanders): Force constants into memory.
1331         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
1332         (64bit movdf/movdi patterns): New patterns.
1333         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
1334         for TARGET_64BIT.
1335         (extendqidi2, extendhidi2, extendsidi2): Similarly.
1336         (adddi3 expander): Allow "arith_operand" for second input.
1337         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
1338         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
1339         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
1340         (muldi3): New expander for TARGET_64BIT.
1341         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
1342         for TARGET_64BIT.
1343         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
1344         patterns for TARGET_64BIT.
1345         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
1346         patterns for TARGET_64BIT.
1347         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
1348         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
1349         (sibcall_epilogue): New expander.
1350         (casesi): Tweak for TARGET_64BIT.
1351         (call expanders): Set & use the outgoing argument pointer.  Use the
1352         64bit call patterns as needed. Add additional arg to output_call.
1353         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
1354         (sibcall, sibcall_internal_symref): New expanders.
1355         (sibcall_value, sibcall_value_internal_symref
1356         (interspace_jump): Turn into an expander + matching patterns.
1357         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
1358         * pa/pa64-regs.h: Eliminate trigraph sequences.
1359         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
1360
1361 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
1362
1363         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
1364         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
1365         cpp_token with cpp_ttype everywhere.
1366         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
1367         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
1368         CPP_BUF_COL.  Line and column numbers are unsigned int, not
1369         long.
1370         * cpplex.c (cpp_buf_line_and_col): Delete.
1371         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
1372         'long lineno' to 'unsigned int lineno'.
1373         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
1374
1375 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1376
1377         * extend.texi: ISO C99 is not a draft anymore.
1378         * invoke.texi: ISO C++ is not a draft anymore.
1379         * cpp.texi: __cplusplus is required by the ISO standard.
1380
1381         * extend.texi (-fthis-is-variable): Undocument.
1382         * flags.h (warn_template_debugging): Remove declaration.
1383         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
1384         -Wenum-clash, -Wtemplate-debugging): Undocument.
1385
1386 2000-04-10  Nick Clifton  <nickc@cygnus.com>
1387
1388         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
1389         integer.
1390         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
1391         integer.
1392         (ARM_SIGN_EXTEND): Use HOST_UINT.
1393         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
1394         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
1395         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
1396         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
1397
1398         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
1399         (arm_gen_constant): Use HOST_UINT.
1400         (arm_canonicalize_constant): Use HOST_UINT.
1401         (arm_reload_in_hi): Use HOST_UINT.
1402         (arm_reload_out_hi): Use HOST_UINT.
1403         (output_multi_immediate): Use HOST_UINT.
1404         (int_log2): Use HOST_UINT.
1405         (arm_poke_function_name): Use HOST_UINT.
1406         (arm_output_epilogue): Use arm_volatile_func().
1407         (output_thumb_prologue): Use arm_strip_name_encoding().
1408         
1409 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1410
1411         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
1412         of sequence point problems.
1413
1414 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
1415
1416         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
1417         Recomment.
1418         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
1419
1420 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1421
1422         * sbitmap.h: Whitespace changes and use upper-case macro args.
1423         (struct simple_bitmap_def): All sizes now unsigned.
1424         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
1425         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
1426         (sbitmap_vector_alloc): Parms and local vars now unsigned.
1427         (sbitmap_zero): Cast bzero arg to PTR.
1428         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
1429         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
1430         loop to make structure clearer.
1431         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
1432         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
1433         (sbitmap_a_and_b_or_c): Likewise.
1434         (sbitmap_intersection_of_succs): Minor cleanups.
1435         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
1436         (sbitmap_union_of_preds): Likewise.
1437         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
1438         (debug_sbitmap): New function.
1439         
1440         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
1441         * c-typeck.c (convert_for_assignment): Likewise.
1442
1443         * expmed.c (init_expmed): Don't free objects we make.
1444         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
1445
1446         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
1447         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
1448
1449         * gcse.c (expr_hash_table_size): Now unsigned.
1450         (compute_ae_gen): Local variable `i' now unsigned.
1451         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
1452         (compute_transout, hoist_code): Likewise.
1453         (compute_local_properties): Likewise, also hash_table_size.
1454         (alloc_expr_hash_table): N_INSNS now unsigned.
1455         (delete_null_pointer_checks): Mark arg F as unused.
1456
1457         * regrename.c: Minor cleanups, including chang some variables
1458         to unsigned int.
1459
1460 2000-04-10  Neil Booth  <NeilB@earthling.net>
1461
1462         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
1463         than GETC ().
1464         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
1465
1466 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1467
1468         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
1469         __classof__, and __headof__ from the list of gnu keywords.
1470         (-ansi): Remove -foperator-names from list of implied options. 
1471         Do not call it ANSI C++.
1472         (-foperator-names): Document as -fno-operator-names.
1473
1474 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
1475
1476         * cpphash.c (timestamp): Delete.
1477         (del_HASHNODE): If type is T_MCONST, free value.cpval.
1478         (special_symbol): Remove unnecessary braces.  Remove
1479         T_VERSION.  Treat T_STDC like T_CONST unless
1480         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
1481         when one is encountered, then convert them into T_MCONST
1482         nodes.
1483         * cppinit.c (builtin_array): version_string is T_MCONST.
1484         __STDC__ has a "1" in its cpval.  Don't have a terminator
1485         entry.  Clean up which entries are dumped.
1486         (initialize_builtins): Only __STDC__ gets the special
1487         -traditional treatment.  Count the length of builtin_array.
1488         Render version_string here.
1489         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
1490         * cpplib.h (struct cpp_reader): Remove timebuf. 
1491
1492 2000-04-09  Richard Henderson  <rth@cygnus.com>
1493
1494         * genrecog.c (pred): Update comparison_operator for the unordered
1495         operators.
1496
1497         * config/i386/i386.c (no_comparison_operator): Disallow unordered
1498         operators.
1499         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
1500         (uno_comparison_operator): New.
1501         (put_condition_code): Handle UNORDERED/ORDERED.
1502         (unsigned_comparison): Likewise.
1503         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
1504         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
1505         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
1506         update all callers.  Handle all 8 unordered operators.
1507         (ix86_expand_setcc): Lose the unordered argument, update all callers.
1508         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
1509         * config/i386/i386.h (PREDICATE_CODES): Update.
1510         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
1511         (ix86_expand_branch, ix86_expand_setcc): Update.
1512         * config/i386/i386.md (sunordered, sordered): New.
1513         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
1514         (bunordered, bordered): New.
1515         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
1516         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
1517         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
1518
1519 2000-04-09  Philip Blundell  <philb@gnu.org>
1520
1521         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
1522         
1523 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
1524
1525         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
1526         fix_truncxfhi2): New patterns.
1527         * i386.c (output_fix_trunc): Handle converting to HImode.
1528
1529 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
1530
1531         * ssa.c (convert_to_ssa): Eliminate dead code when calling
1532         life_analysis.  
1533         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
1534         (for_each_successor_phi): Change parameter to basic_block.
1535         (coalesce_regs_in_successor_phi_nodes): Likewise.
1536         (coalesce_regs_in_copies): Likewise.
1537         (compute_coalesced_reg_partition): Use basic_block instead of index.
1538         * rtl.h (convert_to_ssa): Delete.
1539         (convert_from_ssa): Likewise.
1540         (successor_phi_fn): Likewise.
1541         (for_each_successor_phi): Likewise.
1542         (in_ssa_form): Likewise.
1543         * basic-block.h (convert_to_ssa): Moved from rtl.h.
1544         (convert_from_ssa): Likewise.
1545         (successor_phi_fn): Likewise.
1546         (in_ssa_form): Likewise.
1547         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
1548         * flow.c (calculate_global_regs_live): Pass a basic_block to
1549         for_each_successor_phi.
1550
1551 2000-04-08  Richard Henderson  <rth@cygnus.com>
1552
1553         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
1554         was modified in the current insn.
1555
1556 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1557
1558         * arm/thumb.md: Delete.
1559         * arm/thumb-protos.h: Delete.
1560
1561 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1562
1563         Merge changes from merged-arm-thumb-backend-branch onto trunk.
1564
1565         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1566
1567         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
1568         into branch.
1569
1570         * arm.md (nop): Use the standard RTL expression.  Don't code as a
1571         define_expand.
1572         (*arm_nop, *thumb_nop): Delete.
1573
1574         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
1575         constants.  Use casts instead.
1576         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
1577         output_multi_immediate, arm_poke_function_name): Likewise.
1578         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
1579         MASK_RETURN_ADDDR): Likewise.
1580
1581         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
1582
1583         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
1584         into branch.
1585         
1586         * arm.md (eh_epilogue): New function.
1587         * arm.h (struct machine_function): Move to here ...
1588         * arm.c: ... from here.
1589         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
1590         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
1591         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
1592
1593         2000-03-30  Nick Clifton  <nickc@cygnus.com>
1594
1595         * config/arm/semi.h (ASM_SPEC): Restore definition.
1596         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1597
1598         * config/arm/elf.h (ASM_SPEC): Restore definition.
1599         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1600
1601         * config/arm/arm.h (ASM_SPEC): Remove definition.
1602         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
1603
1604         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
1605
1606         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
1607
1608         2000-03-24  Nick Clifton  <nickc@cygnus.com>
1609
1610         Various formating tidyups, elimination of compile time
1611         warnings and synchronisation with internal sources:
1612         
1613         * config/arm/arm-protos.h (assemble_align): Add prototype.
1614         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1615         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1616         (arm_return_addr_rtx): Rename to arm_return_addr.
1617
1618         * config/arm/arm.c: Include except.h.
1619         Define shorter typenames for strict minipool_node and struct
1620         minipool_fix.
1621         (arm_return_in_memory): For WinCE return all structures <= 32 bits
1622         in memory.
1623         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1624         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1625
1626         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1627         already defined.
1628         (ASM_SPEC): Define if not already defined.
1629         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
1630
1631         * config/arm/arm.md: Rename references to gen_rotated_half_load to
1632         arm_gen_rotated_half_load, and references to gen_comapre_reg to
1633         arm_gen_compare_reg.
1634         (indirect_jump):  Only accept register operands.
1635         (load_indirect_jump): Keep this pattern since combine can generate
1636         it.
1637
1638         * config/arm/coff.h: Include aout.h.
1639         (MULTILIB_DEFAULTS): Only define if not already defined.
1640
1641         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
1642         into arm.h (so that COFF ports can support thumb based aliases).
1643         (ASM_SPEC): Move definition into arm.h
1644         
1645         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
1646         redundant apcs spec.
1647         (ASM_SPEC): Move definition to arm.h
1648
1649         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
1650
1651         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
1652         for entries in the .bss section
1653
1654         2000-03-23  Nick Clifton  <nickc@cygnus.com>
1655
1656         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
1657         to thumb_far_jump_used_p.
1658
1659         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
1660         single integer parameter.
1661
1662         * config/arm/arm.c (struct machine_function): Add two new
1663         fields, 'far_jump_used' and 'arg_pointer_live'.
1664         (thumb_far_jump_used_p): Once the decision has been made that
1665         far jumps might be used, always return true.
1666         If being called from the initial elimination offset macro then
1667         do not bother to perform the test if the arg pointer is not
1668         being used.
1669         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
1670         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
1671
1672         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
1673
1674         * arm.c (output_return_instruction): Handle more cases where we can
1675         return from a function with an ldr instruction.
1676         (arm_output_epilogue): Likewise.
1677
1678         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
1679         if we need to push a large stack frame and there are no callee-saved
1680         registers.
1681
1682         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
1683         in ARM code if the frame pointer has been eliminated.
1684
1685         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
1686         unspec_volatile arguments to avoid duplicates.
1687         (consttable_1, consttable_2): Fixes for big-endian mode.
1688
1689         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
1690         as appropriate.
1691
1692         Re-write constant pool code.
1693         * arm.c (minipool_node, minipool_fix): New types.
1694         (minifix): Delete type.
1695         (arm_add_minipool_constant): Delete.
1696         (arm_compute_minipool_offsets, arm_find_barrier, 
1697         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
1698         (get_jump_table_size): Now returns HOST_WIDE_INT.
1699         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
1700         functions.
1701         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
1702         (assign_minipool_offsets, arm_print_value): Likewise.
1703         (dump_minipool): Rewrite.
1704         (arm_barrier_cost): New function.
1705         (create_fix_barrier): New function.
1706         (push_minipool_barrier): New function.
1707         (push_minipool_fix): Record additional information about the fixup 
1708         required.
1709         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
1710         check the mode of what needs fixing.
1711         (arm_reorg): Rewrite.
1712
1713         2000-03-08  Nick Clifton  <nickc@cygnus.com>
1714
1715         * config/arm/arm.md (indirect_jump): Force constant addresses into
1716         a register. 
1717
1718         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
1719
1720         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
1721
1722         2000-02-24  Nick Clifton  <nickc@cygnus.com>
1723
1724         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
1725         adjust is word aligned.
1726         (thumb_expand_epilogue): Make sure that stack adjust is word
1727         aligned.
1728
1729         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
1730         
1731         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
1732
1733         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
1734         pointer relative addresses.
1735
1736         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
1737
1738         * arm.c (find_barrier): Find the last barrier within the allowed 
1739         range.
1740
1741         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1742
1743         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
1744
1745         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1746
1747         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
1748         ARM_FUNCTION_PROFILER. 
1749
1750         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
1751         ARM_FUNCTION_PROFILER. 
1752
1753         * config/arm/linux-oldld.h: Imported from mainline sources.
1754
1755         2000-02-07  Nick Clifton  <nickc@cygnus.com>
1756
1757         * config/arm/lib1funcs.asm: Merge in thumb functions from
1758         lib1thumb.asm.
1759         
1760         * config/arm/lib1thumb.asm: Delete.
1761
1762         2000-02-04  Nick Clifton  <nickc@cygnus.com>
1763
1764         * config/arm/arm.c: Sychronised with current Red hat local
1765         sources. 
1766         * config/arm/arm.h: Ditto.
1767         * config/arm/arm-protos.h: Ditto.
1768
1769         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
1770
1771         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
1772
1773         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
1774         byte stores.
1775
1776         2000-02-02  Nick Clifton  <nickc@cygnus.com>
1777
1778         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
1779
1780         * config/arm/arm.md (epilogue): Fix rtl checking abort because
1781         (return) was emited using an emit_insn() call. 
1782         
1783         2000-01-31  Nick Clifton  <nickc@cygnus.com>
1784
1785         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
1786         thumb stack frame.
1787         (thumb_exit): Move frame pointer back into hard frame pointer
1788         register if backtracing is being used.
1789
1790         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
1791
1792         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
1793         into branch.
1794
1795         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
1796
1797         * config/arm/arm.md (neg_pool_offset): Provide default for new
1798         attribute.
1799         (arm_movsi_insn): Add neg_pool_offset attribute.
1800         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
1801         rtx for the insn that starts the scan and an unsigned long for its
1802         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
1803         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
1804         instructions in *PINSERTED.
1805         (struct minipool_fixup): Add MIN_ADDRESS elt.
1806         (sort_fixups): Compute it.
1807         (arm_reorg): Changes to support inserting pools before the insn to be
1808         fixed up.
1809
1810         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
1811
1812         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
1813         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
1814         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
1815
1816         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
1817
1818         * config/arm/semi.h (TARGET_VERSION): Do not define if already
1819         defined.
1820         (TARGET_DEFAULT): Do not define if already defined.
1821
1822         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
1823
1824         * config/arm/arm.md (anddi3): Allow disjoint source operands.
1825         (iordi3): Allow disjoint source operands.
1826         (xordi3): Allow disjoint source operands.
1827         (negdi2): Permit construction for ARM and Thumb.
1828         (arm_negdi2): Renamed version of old negdi2 pattern.
1829         (thumb_negdi2): New pattern: Only permit non-overlapping
1830         source and destination.
1831
1832         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
1833
1834         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
1835         scratch low register so that it will not be deleted.
1836
1837         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
1838
1839         * config/arm/pe.h (ARM_PE): Define.
1840         
1841         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
1842         interfacearm attribute if this is a PE toolchain.
1843         (output_return_instruction): Do not emit anything if the function
1844         has the naked attribute set.
1845         (is_called_in_ARM_mode): If the function has the interfacearm
1846         attribute then return true.
1847         (thumb_expand_prologue): Do not generate a prologue for naked
1848         functions.
1849         (thumb_expand_epilogue): Do not generate an epilogie for a naked
1850         function.
1851         (output_thumb_prologue): Do not bother if the function is naked.
1852         Strip PE encoding from function name before emitting.
1853
1854         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
1855
1856         * arm.md (pic_load_addr): Fix constraints.
1857
1858         * arm.md (casesi_insn): Fix mis-applied patch.
1859
1860         * arm.md ("core" function unit): Add rules for single- and
1861         multi-cycle insns.
1862         (All TARGET_THUMB patterns): Add "type" attribute information
1863         where needed.
1864         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
1865         the following insn is a CALL.
1866
1867         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
1868         pointer.
1869         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
1870         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
1871         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
1872         
1873         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
1874
1875         * config/arm/linux-gas.h: oops - this file was missed out when the
1876         branch was created...
1877
1878         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
1879
1880         * thumb.c: Deleted.  Move contents to ...
1881         * arm.c: ... here.
1882         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1883         rule for thumb.o
1884         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1885         * configure: Regen.
1886
1887         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
1888         declare a prototype for asm_output_align();
1889
1890         * arm.c (thumb_condition_code): Delete.
1891         (arm_print_operand): Always use arm_condition_code array.
1892
1893         * arm.c (thumb_return_addr_rtx): Delete.
1894         (arm_save_machine_status, arm_restore_machine_status): Delete.
1895         (arm_init_machine_status, arm_mark_machine_status): New functions.
1896         (arm_init_expanders): Update accordingly.
1897         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
1898         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1899         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1900         
1901         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
1902
1903         * configure.in : Fix arm-*-aout target to use new t-arm-aout
1904         script. 
1905         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1906         targets.
1907
1908         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
1909
1910         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1911         stack backtrace structure.
1912
1913         * config/arm/arm-protos.h: Add prototypes for functions defined in
1914         arm/pe.h.
1915         
1916         * config/arm/arm.c (arm_override_options): Fix selection of 
1917         attributes of default processor.
1918         
1919         * config/arm/coff.h: Delete needless #include.
1920         
1921         * config/arm/pe.c: Delete unused code.
1922         
1923         * config/arm/pe.h (CPP_DEFINES): Delete
1924         (SUBTARGET_CPP_SPEC): Define.
1925         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1926         
1927         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1928
1929         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
1930
1931         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1932         updated.
1933         (CAN_DEBUG_WITHOUT_FP): Define.
1934         (FIXED_REGISTERS): Make r11 call-saved.
1935         (CALL_USED_REGISTERS): Likewise.
1936         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1937         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
1938         frame-pointer is required.
1939         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1940         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1941         if the target normally needs a stack frame in non-leaf functions.
1942         (use_return_insn): Correct logic for determining when a return
1943         instruction can be used.
1944         (output_return_instruction): Handle the frame-pointer register as
1945         a normal register when not TARGET_APCS_FRAME.
1946         (arm_output_prologue): Likewise.
1947         (arm_output_epilogue): Likewise.
1948         (output_func_epilogue): Likewise.
1949         (arm_expand_prologue): Likewise.
1950         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1951
1952         * arm.c (use_return_insn): No need to check floating point regs if
1953         TARGET_SOFT_FLOAT.
1954         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1955         the code of value stored in the minipool array.
1956         (arm_add_minipool_constant): Likewise.
1957
1958 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1959
1960         * basic-block.h (conflict_graph_enum_fn): K&R fix.
1961
1962 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1963
1964         * tree.c (tree_expr_nonnegative_p): New function.
1965
1966         * tree.h (tree_expr_nonnegative_p): Declare.
1967
1968         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1969         elide some sign_compare warnings.
1970         (build_conditional_expr): Likewise.
1971
1972 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
1973
1974         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1975
1976         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1977         * i386.c (print_operand): Use the proper suffix for a 387 HImode
1978         operand.  Abort if a 387 operand has an unsupported size.
1979
1980 2000-04-08  Neil Booth  <NeilB@earthling.net>
1981
1982         * cppexp.c (parse_charconst): Null does not end character
1983         constants.
1984         * cppinit.c (ISTABLE): Null character handled as whitespace.
1985         * cpplex.c (null_warning):  new function.
1986         (skip_string): Emit warning if nulls encountered.
1987         (_cpp_skip_hspace): Emit warning if nulls encountered.
1988         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
1989         them.
1990         * cpp.texi: Update.
1991
1992 2000-04-07  Richard Henderson  <rth@cygnus.com>
1993
1994         * flow.c (loop_depth): Remove.
1995         (reg_next_use, cc0_live, mem_set_list): Replace with ...
1996         (struct propagate_block_info): New.
1997         (life_analysis): Don't allocate reg_next_use.
1998         (propagate_block_delete_insn): Break out of propagate_block.
1999         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
2000         (propagate_block_delete_libcall): Likewise.
2001         (propagate_block): Create a propagate_block_info struct to pass
2002         to subroutines.  Allocate one not two temporary regsets.  Don't
2003         clobber memory for const calls.  Look for clobbers in
2004         CALL_INSN_FUNCTION_USAGE.
2005         (mark_set_regs): Recognize COND_EXEC.
2006         (mark_set_reg): Break out of mark_set_1.
2007         (mark_used_reg): Break out of mark_used_regs.
2008         (mark_used_regs): Recognize COND_EXEC.
2009         (insn_dead_p): Use propagate_block_info struct.
2010         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
2011         (find_auto_inc, try_pre_increment_1): Likewise.
2012         (print_rtl_with_bb): Dump regs live at end too.
2013         (count_reg_sets_1): Pass in loop_depth.
2014         (count_reg_sets, count_reg_references): Likewise.
2015         (recompute_reg_usage): Provide it.
2016
2017 2000-04-07  Richard Henderson  <rth@cygnus.com>
2018
2019         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
2020         not the raw files.
2021
2022 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
2023
2024         * cpplib.c (do_elif): Skip the rest of the line if we're
2025         not going to bother evaluating it.
2026         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
2027         to avoid pointless calls to the lexer.
2028
2029 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
2030
2031         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
2032
2033 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
2034
2035         * calls.c (expand_call): emit_queue if we're trying a sibcall.
2036
2037 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
2038
2039         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
2040
2041 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
2042
2043         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
2044         crtend so they can be multilibbed.
2045         (STAGESTUFF): Remove s-crt and s-crtS.
2046
2047 2000-04-07  Richard Henderson  <rth@cygnus.com>
2048
2049         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
2050         if we discover we need a pseudo and no_new_pseudos is true.
2051         * config/alpha/alpha.md (ne:DI insn): New.
2052         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
2053
2054 2000-04-07  Richard Henderson  <rth@cygnus.com>
2055
2056         * rtl.def (COND_EXEC): New.
2057         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
2058         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
2059
2060         * genconfig.c (have_cond_arith_flag): Remove.
2061         (have_cond_exec_flag): New.
2062         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
2063         (main): Print HAVE_conditional_execution.
2064
2065         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
2066         (sched_analyze_insn, print_pattern): Likewise.
2067         * reload.c (find_equiv_reg): Likewise.
2068         * rtlanal.c (reg_referenced_p): Likewise.
2069         (note_stores, dead_or_set_regno_p): Likewise.
2070         (reg_overlap_mentioned_p): Rewrite to use a switch.
2071
2072         * ggc.h (struct rtx_def): Forward declare.
2073
2074         * print-rtl.c (debug_rtx_range): New.
2075         * rtl.h (debug_rtx_range): Declare.
2076
2077         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
2078
2079         * gcse.c (gcse_main): Don't rebuild the CFG here.
2080         (delete_null_pointer_checks): Likewise.
2081         * ssa.c (convert_to_ssa): Likewise.
2082         * toplev.c (rest_of_compilation): Do it here instead.  Combine
2083         sequential calls to TIMEVAR.  Consistently use `insns' instead of
2084         `get_insns()'.  Always split insns after reload when optimizing.
2085
2086         * basic-block.h (merge_blocks_nomove): Declare.
2087         (tidy_fallthru_edge): Declare.
2088         * flow.c (merge_blocks_nomove): Document as merging into previous
2089         blocks.  Remove cruft from between blocks; remove all edges out of A.
2090         (tidy_fallthru_edge): Export.
2091
2092 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2093
2094         * ssa.c (compute_conservative_reg_partition): Declare with
2095         void arguments.
2096         * toplev.c (clean_dump_file): Remove previously-deleted function
2097         inadvertantly merged back in.
2098         * conflict.c (conflict_graph_add): Use a single call to
2099         htab_find_slot to look up and insert.
2100
2101 2000-04-06  Richard Henderson  <rth@cygnus.com>
2102
2103         * genrecog.c (*): Rename _last_insn to last_insn.
2104         (make_insn_sequence): Set the position of the peephole2 C test
2105         to be at the last insn.
2106
2107 2000-04-06  Richard Henderson  <rth@cygnus.com>
2108
2109         * flow.c (compute_flow_dominators): Free worklist.
2110
2111 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
2112
2113         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
2114
2115 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2116
2117         * rtl.h (INSN_P): New macro.
2118         (successor_phi_fn): New typedef.
2119         (for_each_successor_phi): New prototype.
2120         (in_ssa_form): New variable.
2121         (PHI_NODE_P): Likewise.
2122         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
2123         phi nodes in successors.
2124         (mark_used_regs): Add PHI case.
2125         (set_phi_alternative_reg): New function.
2126         (life_analysis): Assert that dead code elimination is not selected
2127         when in SSA form.
2128         * toplev.c (to_ssa_time): New variable.
2129         (from_ssa_time): Likewise.
2130         (compile_file): Zero to_ssa_time and from_ssa_time.
2131         Print time to convert to and from SSA.
2132         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
2133         (print_time): Compute percent fraction as integer.
2134         * ssa.c (PHI_NODE_P): Moved to rtl.h.
2135         (convert_to_ssa): Check if we're already in SSA.  
2136         Don't eliminate dead code in life_analysis.
2137         Rerun flow and life analysis at bottom.
2138         (eliminate_phi): Use canonical regnos when adding nodes.
2139         (mark_reg_in_phi): New function.
2140         (mark_phi_and_copy_regs): Likewise.
2141         (convert_from_ssa): Rerun life analysis at top.  
2142         Use coalesced partition.
2143         Check for removing a phi node at the end of the block.
2144         (compute_coalesced_reg_partition): New function.
2145         (coalesce_regs_in_copies): Likewise.
2146         (coalesce_reg_in_phi): Likewise.
2147         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
2148         (for_each_successor_phi): Likewise.
2149         (rename_context): New struct.
2150         (rename_block): Use a rename_context with rename_insn_1.  When
2151         renaming sets of a subreg, emit a copy of the entire reg first.
2152         (rename_insn_1): Treat data as a rename_context *.  Save current
2153         insn in set_data.
2154         (rename_set_data): Add field set_insn.
2155         * Makefile.in (HASHTAB_H): Move up in file.
2156         (OBSTACK_H): New macro.
2157         (collect2.o): Use OBSTACK_H in dependencies.
2158         (sdbout.o): Likewise.
2159         (emit-rtl.o): Likewise.
2160         (simplify-rtx.o): Likewise.
2161         (fix-header.o): Likewise.
2162         (OBJS): Add conflict.o.
2163         (conflict.o): New rule.
2164         * basic-block.h: Include partition.h.
2165         (conflict_graph): New typedef.
2166         (conflict_graph_enum_fn): Likewise.
2167         (conflict_graph_new): New prototype.
2168         (conflict_graph_delete): Likewise.
2169         (conflict_graph_add): Likewise.
2170         (conflict_graph_conflict_p): Likewise.
2171         (conflict_graph_enum): Likewise.
2172         (conflict_graph_merge_regs): Likewise.
2173         (conflict_graph_print): Likewise.
2174         (conflict_graph_compute): Likewise.
2175         * conflict.c: New file.
2176
2177 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2178
2179         * tlink.c (read_repo_files): Don't look for .rpo info for
2180         linker flags.
2181
2182 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2183
2184         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
2185
2186 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2187
2188         * config/sh/lib1funcs.asm (___udivsi3_i4):
2189         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
2190         only depends on FMOVD_WORKS.
2191
2192 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2193
2194         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
2195         make double constant 8-byte aligned.
2196
2197 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
2198
2199         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
2200         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
2201         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
2202         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
2203         Accept storing GENERAL_REGS into offsetable memory.
2204         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
2205         building a TFmode constant other than 0.0L into GENERAL_REGS.
2206
2207 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
2208
2209         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
2210         
2211 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
2212
2213         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
2214         (macro_cleanup): No need to cast pbuf->macro.
2215         (collect_expansion): Use _cpp_get_define_token.  Goto done if
2216         it returns VSPACE.  Remove check for trailing space after
2217         CPP_COMMENT.
2218         (_cpp_create_definition): Don't diddle flags here.  Return
2219         directly on error.
2220         (unsafe_chars): Handle c1 being EOF.
2221         (push_macro_expansion): Use unsafe_chars for both accidental-paste
2222         checks.  Don't push the buffer till after we're done with
2223         them.
2224         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
2225         (PEEKN, FORWARD, GETC, PEEKC): Use them.
2226         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
2227         appropriately.
2228         (_cpp_parse_assertion): Don't NUL terminate.
2229         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
2230         hspace before calling _cpp_parse_assertion.  Remove all sets
2231         of only_seen_white. Treat '\f' as hspace.  Don't do anything
2232         special with '\n' here.
2233         (maybe_macroexpand): Handle T_EMPTY hash entries without
2234         pushing a buffer at all.
2235         (cpp_get_token): Handle clearing only_seen_white here.  Handle
2236         incrementing the line number here.  Clear
2237         potential_control_macro as well as only_seen_white, if
2238         appropriate.
2239         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
2240         (_cpp_get_define_token): New function, basically like
2241         _cpp_get_directive_token was but doesn't eat horizontal space.
2242         Don't do anything with only_seen_white here.
2243         (_cpp_get_directive_token): Just call _cpp_get_define_token
2244         repeatedly till it returns non-hspace.
2245
2246         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
2247         (conditional_skip, skip_if_group): Return int.
2248         (DIRECTIVE_TABLE): Change origin of all conditional directives
2249         to "COND".
2250         (TRAD_DIRECT_P): New macro.
2251         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
2252         an error for a bogus directive, unless -lang-asm.  Use
2253         TRAD_DIRECT_P. Loop calling handler functions till one returns
2254         zero.
2255         (get_macro_name): Don't diddle flags here.
2256         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
2257         Create T_EMPTY nodes for #define macro /* nothing */.
2258         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
2259         Use hp->name when calling pass_thru_directive.
2260         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
2261         Return the result of conditional_skip and/or skip_if_group.
2262         Don't call _cpp_output_line_command.
2263         (consider_directive_while_skipping): Use _cpp_get_directive_token.
2264         Issue -Wtraditional warnings as appropriate.  Don't complain
2265         about unrecognized directives.  If we are to stop skipping,
2266         return the number of the directive that ended the skip.
2267         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
2268         expansion and line commands while skipping.  Return the result
2269         of consider_directive_while_skipping, if nonzero.
2270         (do_endif): Just set potential_control_macro here.
2271         (validate_else): Use _cpp_get_directive_token.
2272         (do_assert, do_unassert): Don't save pointers into the
2273         token_buffer across calls to the lexer.  Use
2274         _cpp_get_directive_token.  
2275
2276         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
2277         pointer, not an offset.  Replace 'data', which was a generic
2278         pointer, with 'macro', which points to a struct hashnode.
2279         (cpp_reader): Add 'potential_control_macro' pointer.
2280         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
2281         (CPP_BUF_GET, CPP_FORWARD): Delete.
2282         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
2283         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
2284         ACTIVE_MARK_P): Update.
2285         (_cpp_get_define_token): New internal function.
2286         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
2287
2288 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
2289
2290         * configure.in: And here.
2291         * configure: Regenerate.
2292         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
2293         --enable-libstdcxx-v3 is passed at configure time.
2294         * config.h.in: Regenerate.
2295
2296 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
2297
2298         * final.c (final): Use xcalloc to allocate line_note_exists.
2299         * function.c (free_after_compilation): Free the temp_slots.
2300         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
2301         (combine_temp_slot): Free temp_slots when they get combined.
2302         (purge_addressof): Fix typo in comment.
2303         * stmt.c (mark_goto_fixup): Mark the fixup itself.
2304         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
2305
2306         * ggc.h: Include varray.h.
2307         (ggc_pending_trees): Declare.
2308         (ggc_mark_tree_children): Remove declaration.
2309         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
2310         * ggc-common.c (ggc_pending_trees): New variable.
2311         (ggc_mark_roots): Call ggc_mark_trees.
2312         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
2313         the ggc_pending_trees.
2314         * Makefile.in (GGC_H): New variable.  Use it throughout in place
2315         of ggc.h.
2316         
2317 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2318
2319         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
2320         GET_MODE_SIZE.
2321
2322 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2323
2324         * sh.c (sh_insn_length_adjustment): New function.
2325         * sh-protos.h (sh_insn_length_adjustment): Declare.
2326         * sh.h (ADJUST_INSN_LENGTH): Use it.
2327
2328 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
2329
2330         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
2331         from the insn where REG_RETVAL is added.
2332         (emit_no_conflict_block): Ditto.
2333
2334         * md.texi (Standard Names): Clarify when movX is needed.
2335
2336         * combine.c (simplify_comparison) [MINUS]: Do not replace
2337         all (op (minus A B) 0) with (op A B).
2338
2339 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
2340                           J"orn Rennecke <amylaar@cygnus.co.uk>
2341
2342         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
2343         (block_lump_real): Likewise.
2344
2345 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
2346
2347         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
2348         remaining non-zero debugging masks.
2349
2350 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
2351
2352         * basic-block.h (verify_flow_info): Declare.
2353         (flow_loop_outside_edge_p): Declare.
2354         * flow.c (verify_flow_info): Remove declaration.
2355         (clear_log_links, flow_loop_outside_edge_p): Likewise.
2356
2357 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
2358
2359         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
2360         not C++ comments.
2361
2362 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
2363
2364         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
2365         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
2366         seqdi_zero_trunc+1): Allow splits only if registers are
2367         different.
2368
2369 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
2370
2371         * acconfig.h: Add HAVE_GAS_HIDDEN.
2372         * config.in: Regenerated.
2373         * configure.in: Add test for .hidden pseudo-op in gas.
2374         * configure: Regenerated.
2375         * crtstuff.c: Include auto-host.h.
2376         Emit additional .hidden pseudo-op for __dso_handle if the
2377         assembler knows about it.
2378
2379 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
2380
2381         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
2382         before freeing argnames.
2383         * cpplib.c (do_ifndef): Cast return value of xstrdup.
2384
2385 2000-04-05  Michael Meissner  <meissner@redhat.com>
2386
2387         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
2388         Walton <jonboy@gordian.com> to make memory references with update
2389         work wtih -mregnames.
2390
2391 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2392
2393         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
2394         (regrename_optimize): Rename variables `def_uses' and
2395         `ext_basic_blocks' to avoid conflicts with similarly named
2396         typedefs in traditional C.
2397
2398         * calls.c (initialize_argument_information): Fix typo in previous
2399         change.
2400
2401 2000-04-04  Richard Henderson  <rth@cygnus.com>
2402
2403         * regrename.c (consider_available): Test fixed_regs not
2404         PIC_OFFSET_TABLE_REGNUM.
2405
2406 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
2407
2408         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
2409         crtend.
2410         (CRTSTUFF_T_CFLAGS_S): Delete definition.
2411         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
2412         (ENDFILE_LINUX_SPEC): Always use crtend.
2413         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
2414         (powerpc-*-linux-gnu): Likewise.
2415         * configure: Regenerate.
2416
2417         * config/rs6000/eabi.h: Don't include sysv4.h.
2418         (MULTILIB_DEFAULTS): Don't define.
2419         * config/rs6000/eabiaix.h: Don't include eabi.h.
2420         * config/rs6000/eabile.h: Delete.
2421         * config/rs6000/eabilesim.h: Delete.
2422         * config/rs6000/eabisim.h: Don't include eabi.h.
2423         * config/rs6000/linux.h: Don't include sysv4.h.
2424         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
2425         (MULTILIB_DEFAULTS): Don't redefine.
2426         * config/rs6000/rtems.h: Don't include eabi.h.
2427         * config/rs6000/sol2.h: Don't include sysv4le.h.
2428         * config/rs6000/sysv4le.h: Don't include sysv4.h.
2429         * config/rs6000/t-ppc: Delete.
2430         * config/rs6000/t-ppcgas: Correct comment.
2431         * config/rs6000/t-ppcos: Correct comment.  Don't build 
2432         multilibs for -fPIC, rather use -fPIC -mstrict-align 
2433         as default.
2434         * config/rs6000/t-ppc: Delete.
2435         * config/rs6000/vxppc.h: Don't include sysv4.h.
2436         * config/rs6000/vxppcle.h: Delete.
2437         * configure.in: Use multiple header files for p2pc ELF targets
2438         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
2439         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
2440         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
2441         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
2442         always available for these platforms.
2443
2444 2000-04-04  Richard Henderson  <rth@cygnus.com>
2445
2446         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
2447
2448 2000-04-04  Stan Cox  <scox@cygnus.com> 
2449
2450         * Makefile.in: Add rules for regrename.o
2451         * regrename.c: New file.
2452         * rtl.h (regrename_optimize): Add prototype.
2453         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
2454         (compile_file, decode_d_option): Add support for -frename-registers.
2455         (rest_of_compilation): Call regrename_optimize.
2456         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
2457         New macros.     
2458         
2459 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2460
2461         * Makefile (gccbug): New target.
2462         (doc): Depend on it.
2463         * gcc.texi (Bugs): Link subnodes.
2464         (gccbug): New node.
2465         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
2466         Document severities, priorities, and classes in bug form.
2467
2468 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
2469
2470         * cpplex.c (trigraph_map, speccase): Combine into single
2471         table, chartab.
2472         (NORMAL, NONTRI): New macros.
2473         (_cpp_read_and_prescan): Change to use unified table.  Use
2474         is_hspace to test for whitespace.
2475
2476         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
2477         definition that doesn't provoke the "empty body in an
2478         if-statement" warning.
2479
2480 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
2481
2482         * builtins.c (expand_builtin_strlen): Force the source to
2483         be a memory address.
2484
2485 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2486
2487         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
2488
2489 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2490
2491         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
2492          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
2493         (ECF_IS_CONST): Rename to ECF_CONST.
2494         (special_function_p): Make static, change interface.
2495         (flags_from_decl_or_type, try_to_integrate): Break out from ...
2496         (expand_call) ... here; convert number of variables to flags.
2497         (emit_library_call_vlue_1): Likewise.
2498         (setjmp_call_p): New function.
2499         (initialize_argument_information): Accepts flags as argument;
2500         return flags.
2501         (precompute_arguments): Likewise.
2502         * tree.h (special_function_p): Remove.
2503         (setjmp_call_p): Add prototype.
2504
2505 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
2506
2507         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
2508         so that addresses are offsetable by up to 16 bytes.
2509         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
2510         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
2511         offsetable.
2512
2513         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
2514         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
2515         (movsf): Don't force any constant to memory if target is integer
2516         hard register.
2517         Move fp_zero_operand check below the const0_rtx check.
2518         (movtf): Likewise. Also allow fp_zero_operand for stores into
2519         memory.
2520         (movdf): Likewise. Also allow fp_zero_operand for stores into
2521         memory and into integer hard registers.
2522         (clear_df, clear_dfp, movdf_const_intreg_sp32,
2523         movdf_const_intreg_sp64): Remove.
2524         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
2525         conditions.
2526         (movdf_no_e_insn_v9_sp32): New pattern.
2527         (movdf_insn_v9only): Remove.
2528         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
2529         (movdf_insn_sp64): Remove.
2530         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
2531         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
2532         (following splits): Rewrite conditions. Add two new splits
2533         for storing 0.0 into memory and registers.
2534         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
2535         (movtf_insn_sp32): Redo constraints and conditions.
2536         (movtf_insn_vis_sp32): New pattern.
2537         (movtf_no_e_insn_sp32): Redo constraints and conditions.
2538         (movtf_insn_hq_sp64): Likewise.
2539         (movtf_insn_hq_vis_sp64): New pattern.
2540         (movtf_insn_sp64): Redo constraints and conditions.
2541         (movtf_insn_vis_sp64): New pattern.
2542         (movtf_no_e_insn_sp64): Redo constraints and conditions.
2543         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
2544         or memory.
2545         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
2546         -mvis or -m64 to take down the number of various reload patterns.
2547
2548 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
2549
2550         * pa/pa-64.h: New file.
2551         * pa/pa64-regs.h: New file.
2552         * pa/pa64-start.h: New file.
2553         * pa/t-pa64: New file.
2554         * pa/xm-pa64hpux.h: New file.
2555
2556 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2557
2558         * sparc.c (output_restore_regs): Prototype.
2559         (sparc_emit_float_lib_cmp): Constification.
2560
2561         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
2562
2563         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
2564         Prototype.
2565
2566         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
2567         (get_value_hash, hash_rtx): Likewise.
2568
2569         * ssa.c (compute_conservative_reg_partition): Prototype.
2570
2571         * tree.c (mark_hash_entry): Prototype.
2572
2573 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
2574
2575         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
2576         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
2577         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
2578
2579         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
2580         * objc/lang-specs.h: Likewise.
2581
2582 2000-04-03  Neil Booth  <NeilB@earthling.net>
2583
2584         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
2585         and SYNTAX_ERROR2. Replace `' in messages with ''.
2586         (op_to_str): Make re-entrant.
2587         (_cpp_parse_expr): Implement new error macros. Use | rather
2588         than || to logically or 2 boolean integers.  Simply expression
2589         checking we have a left operand iff needed.
2590
2591 2000-04-03  Nick Clifton  <nickc@cygnus.com>
2592
2593         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
2594
2595 2000-04-03  Philip Blundell  <philb@gnu.org>
2596
2597         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
2598
2599 2000-04-03  Felix Lee  <flee@cygnus.com>
2600
2601         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
2602         (run_shell): Use it. 
2603
2604 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
2605
2606         * Makefile.in (stmp-int-hdrs): Make include subdir here...
2607         (stmp-fixproto): ...rather than here.
2608
2609 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
2610
2611         * pa.c (print_operand): Compute 'base' only inside the code paths
2612         that use it.
2613
2614 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
2615
2616         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
2617         CEIL_DIV_EXPR.
2618
2619 2000-04-03  Philipp Thomas  <pthomas@suse.de>
2620
2621         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
2622
2623 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
2624
2625         * Makefile.in (alias.o): Depend on $(TREE_H).
2626
2627 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
2628
2629         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
2630         processing C++.
2631         * cpplib.c (_cpp_handle_directive): Improve warnings for
2632         traditional C and indented directives.
2633
2634         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
2635         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
2636         fixinc/inclhack.def: Indent the # of #include_next one space.
2637         * cp/rtti.c: Un-indent #if and #endif.
2638
2639         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
2640         syntax error, but an error has already been printed.
2641         * cpplex.c (_cpp_parse_assertion): Give a more specific error
2642         message when called with nothing remaining on the line.
2643         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
2644         OTHER token, not an ASSERTION.
2645         * cpplib.c (do_assert): When we create a 'base' node, clear
2646         its aschain pointer.
2647
2648 2000-04-02  Neil Booth <NeilB@earthling.net>
2649
2650         * cppexp.c:  New typedef op_t.  struct operation and struct 
2651         token updated to use it.
2652         (op_to_str): New function.
2653         (_cpp_parse_expr): Error messages modified to use op_to_str.
2654
2655 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2656
2657         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
2658         before checking MUST_PASS_IN_STACK.
2659
2660 2000-04-02  Neil Booth <NeilB@earthling.net>
2661
2662         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
2663         flags and initial priority into a single constant.  New
2664         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
2665         (_parse_cpp_expr): Implement new constants.  Take left operand
2666         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
2667         parse indicated by reducing FINISHED token.  Remove new lines
2668         from cpp_error messages.
2669
2670 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
2671
2672         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
2673         permanent obstack.
2674
2675 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
2676
2677         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
2678         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
2679         the strings and function names on the fly.  Take the #sccs
2680         entry out of the table if SCCS_DIRECTIVE is not defined.
2681         (_cpp_handle_directive): Decide if the # was at the beginning
2682         of the line here.  Issue -pedantic warnings for extended
2683         directives here.  Warn about K+R directives with the #
2684         indented, and C89/extended directives with the # not indented,
2685         here.
2686         (do_import, do_include_next, do_warning, do_ident, do_sccs,
2687         do_assert, do_unassert): Don't issue pedantic warning here.
2688
2689         * cpphash.h: Add CPP_WTRADITIONAL macro.
2690         * cpplib.h (struct cpp_options): Rename warn_stringify to
2691         warn_traditional; update comments.
2692         * cppinit.c (handle_option): Set warn_traditional not
2693         warn_stringify.
2694         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
2695         CPP_WTRADITIONAL (pfile).
2696         * cpplex.c (_cpp_lex_token): Don't decide if directives should
2697         be ignored in -traditional mode here.
2698
2699         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
2700         to initialize speccase[] and trigraph_map[].  Delete all
2701         references to pfile->input_speccase.  Always treat '?' as a
2702         special character.  Remove table-initialization code from
2703         _cpp_init_input_buffer.
2704
2705         * cpplib.h (struct cpp_reader): Remove input_speccase field.
2706         * cppinit.c (cpp_cleanup): Don't free input_speccase.
2707
2708 2000-04-01  Richard Henderson  <rth@cygnus.com>
2709
2710         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
2711         (mostlyclean): Likewise.
2712
2713         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
2714         (struct dump_file_info, enum dump_file_index, dump_file): New.
2715         (open_dump_file): Take a dump_file_index not a suffix, and a decl
2716         not a string.  Clean out file if we havn't yet done so.  Do nothing
2717         if the dump isn't enabled.
2718         (close_dump_file): Do nothing if the dump isn't open.  Dump 
2719         graph data if requested.
2720         (dump_rtl, clean_dump_file): Remove.
2721         (compile_file): Don't clean the dump files.  Only finalize .bp dump
2722         if flag_test_coverage or flag_branch_probabilities.  Only finalize
2723         .combine dump if optimizing.  Iterate over dump_file to finalize the
2724         graph dumps.
2725         (rest_of_compilation): Update for open_dump_file/close_dump_file.
2726         Convert all uses of dump_rtl.
2727         (decode_d_option): Iterate over dump_file to implement 'a' and to
2728         locate pass-specific dumps.
2729
2730 2000-04-01  Neil Booth <NeilB@earthling.net>
2731
2732         * cppexp.c: Redefine priority constants.
2733         (_cpp_parse_expr): Replace left and right priority scheme with
2734         single priority logic.  Move LOGICAL to same place as COMPARE.
2735         Remove bogus check for multiple unary +/- operators.
2736
2737 2000-04-01  Neil Booth <NeilB@earthling.net>
2738
2739         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
2740         within the switch statement.  Binary operations break out of
2741         the switch naturally.  '(' tokens handled by forcing
2742         immediate shift.  ')' handled by forcing immediate reduce to
2743         the previous '('.  New error messages.
2744         
2745 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
2746
2747         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
2748         part', it's already in use.  Use %K instead.  Add a return at the
2749         end of what is now %K.
2750         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
2751
2752 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2753
2754         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
2755         allocate_dynamic_stack_space.
2756         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
2757         update stack_pointer_delta; do not update arg_size_so_far.
2758         (compute_argument_block_size): Use stack_delta instead of
2759         stack_pointer_pending and arg_size_so_far.
2760         (expand_call): Add sanity checking for stack_pointer_delta;
2761         save and restore stack_pointer_delta for SIB, use
2762         stack_pointer_delta for alignment; do not update arg_space_so_far.
2763         (emit_library_call_value): Use stack_pointer_delta for alignment.
2764         (store_one_arg): Do not update arg_space_so_far.
2765         * explow.c (adjust_stack, anti_adjust_stack): Update
2766         stack_pointer_delta.
2767         (allocate_dynamic_stack_space): Add sanity checking for
2768         stack_pointer_delta.
2769         * expr.c (init_expr, clear_pending_stack_adjust): Clear
2770         stack_pointer_delta.
2771         (emit_push_insn): Update stack_pointer_delta.
2772         * function.h (struct expr_status): Add x_stack_pointer_delta;
2773         remove x_arg_space_so_far.
2774         (arg_space_so_far): Remove.
2775         (stack_pointer_delta): New macro.
2776
2777 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
2778
2779         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
2780         Reorder struct cpp_options and struct cpp_reader for better 
2781         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
2782         takes two args.  Change all 'char' flags to 'unsigned char'.
2783         Move show_column flag into struct cpp_options.  Don't
2784         prototype cpp_options_init.
2785         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
2786         cppinit.c, cpplex.c, cpplib.c:
2787         Replace CPP_OPTIONS (pfile)->whatever with
2788         CPP_OPTION (pfile, whatever), and likewise for
2789         opts = CPP_OPTIONS (pfile); ... opts->whatever;
2790
2791         * cppinit.c (merge_include_chains): Take a cpp_reader *.
2792         Extract CPP_OPTION (pfile, pending) and work with that
2793         directly.
2794         (cpp_options_init): Delete.
2795         (cpp_reader_init): Turn on on-by-default options here.
2796         Allocate the pending structure here.              
2797         (cl_options, enum opt_code): Define these from the same table,
2798         kept in a large macro.  Add -fshow-column and -fno-show-column
2799         options.
2800
2801         * cpperror.c (v_message): If show_column is off, don't print
2802         the column number.
2803
2804         * cppmain.c: Update for new interface.
2805         * fix-header.c: Likewise.
2806
2807 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
2808
2809         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
2810         definition.
2811         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
2812         are passed to any invocation of AR_FOR_TARGET.
2813         (AR_CREATE_FOR_TARGET): New macro.
2814         (AR_EXTRACT_FOR_TARGET): New macro.
2815         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
2816         AR_EXTRACT_FOR_TARGET.
2817         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
2818         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
2819         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
2820         AR_EXTRACT_FOR_TARGET to sub-makes.
2821
2822 2000-03-31  Neil Booth <NeilB@earthling.net>
2823
2824         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
2825         PAREN_INNER_PRIO.
2826         (_cpp_parse_expr): Check for multiple unary +/- operators.
2827         Correct priorities of ':' and '?'.  Treat ')' as having a
2828         value.  Ensure conditional expression is not void.
2829         
2830 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
2831
2832         * alias.c (canon_rtx): Make it global.
2833         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
2834         equality.
2835         * cse.c (struct table_elt): Add canon_exp.
2836         (insert): Clear it.
2837         (invalidate): Canonicalize expressions only once.
2838         * rtl.h (canon_rtx): Declare.
2839
2840 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
2841
2842         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
2843         * alias.c (reg_known_value): Add comments.
2844         (init_alias_analysis): Likewise.
2845         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
2846         address.
2847         (cse_basic_block): Fix typo in comment.
2848         * emit-rtl.c: Include hashtab.h.
2849         (const_int_htab): New variable.
2850         (const_int_htab_hash): New function.
2851         (const_int_htab_eq): Likewise.
2852         (rtx_htab_mark_1): Likewise.
2853         (rtx_htab_mark): Likewise.
2854         (gen_rtx_CONST_INT): Cache all CONST_INTs.
2855         (unshare_all_rtx): Fix formatting.
2856         (init_emit_once): Initialize const_int_htab.
2857         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
2858         address.
2859         * rtl.texi: Document the fact that all CONST_INTs with the same
2860         value are shared.
2861
2862 2000-03-30  Richard Henderson  <rth@cygnus.com>
2863
2864         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
2865
2866 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
2867
2868         * configure.in: Comment out --enable-c-cpplib stanza.
2869         * configure: Regenerate.
2870
2871 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2872
2873         * expr.c (store_constructor): Properly compute displacement and
2874         alignment when offset is variable.
2875
2876         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
2877         cases of alignment in bytes.
2878
2879 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
2880
2881         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2882         since it is used to generate c-parse.y.
2883         * objc-parse.c, objc-parse.y: Regenerated.
2884
2885         * function.c (expand_function_end): Pass alignment argument to
2886         emit_block_move in bits, not bytes.
2887
2888 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2889
2890         * expr.c (move_by_pieces_ninsns): Fix one more missing align
2891         correction.
2892
2893         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2894
2895         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2896         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2897         * function.c (assign_parms): Likewise.
2898         * integrate.c (expand_inline_function): Likewise.
2899         * stmt.c (expand_decl): Likewise.
2900         (copy_rtx_and_substitute): Likewise.
2901         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2902         (clear_by_pieces): Fix error in last change.
2903         * emit-rtl.c (init_emit): Set known registers alignment in bits.
2904         * function.h (regno_pointer_align): Now unsigned.
2905         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2906         is in bits.
2907         * config/i386/i386.c (aligned_operand): Likewise.
2908         * config/sparc/sparc.c (mem_min_alignment): Likewise.
2909         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2910         (unaligned_memory_operand): Likewise.
2911         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2912         Also make alignments and sizes unsigned and some whitespace cleanup.
2913         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2914
2915         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2916         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2917         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2918         (expand_builtin_memset): Likewise, but to clear_storage.
2919         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2920         (restore_fixed_argument_area): Likewise.
2921         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2922         (load_register_parameters): Likewise, to emit_group_load.
2923         (expand_call): Likewise, to emit_group_store and emit_block_move.
2924         (emit_library_call_value_1): Likewise, to emit_block_move.
2925         (store_one_arg): Likewise, and to emit_push_insn.
2926         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2927         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2928         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2929         (emit_block_move, emit_group_load, emit_group_store): Likewise.
2930         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2931         (expand_assigment, store_expr, store_constructor_field): Likewise.
2932         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2933         (store_constructor, store_field, get_inner_reference): Likewise.
2934         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2935         (expand_expr, case COMPONENT_REF): Likewise.
2936         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2937         and positions; reindent code.
2938         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2939         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2940         (assign_parms): Likewise to emit_group_store.
2941         * optabs.c (prepare_cmp_insn): Alignment is in bits.
2942         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2943         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2944         (expand_return): Likewise to {extract,store}_bit_field.
2945         * stor-layout.c (get_mode_alignment): Minor cleanup.
2946         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2947         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2948         
2949 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2950
2951         * config/arm/arm.h: Undo effects of previous delta:
2952         (ASM_SPEC): Do not define.
2953         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2954
2955         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2956         typo. 
2957
2958 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2959
2960         * cppinit.c (cpp_start_read): Call initialize_dependency_output
2961         only after reading in the primary source file.
2962
2963 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
2964
2965         * c-common.c (c_common_nodes_and_builtins): The first parameter to
2966         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2967         or a reference to a va_list.
2968         * builtins.c (stabilize_va_list): Simplify now we don't have to
2969         work around C array address decay.
2970         * c-typeck.c (convert_for_assignment): Handle assignment to
2971         a reference parameter by taking the address of the RHS.
2972         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2973         (va_copy): Likewise.
2974         (__va_copy): Likewise.
2975         * ginclude/varargs.h (va_start): Likewise.
2976         (__va_copy): Likewise.
2977
2978 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
2979
2980         * i386/djgpp.h: Remove extraneous "+".
2981
2982         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2983
2984         * calls.c (expand_call): Fix typo in last change.
2985
2986 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
2987
2988         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2989         been expanded.
2990
2991 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2992
2993         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2994         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2995         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2996         * tree.c (bit_position, byte_position): Likewise.
2997         * tree.h: Declare new functions.
2998
2999 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3000
3001         * config/arm/arm.c: Minor formatting changes/
3002         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3003         already defined.
3004         (ASM_SPEC): Define if not already defined.
3005
3006 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3007
3008         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
3009         _cpp_calc_hash.
3010
3011 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
3012
3013         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
3014         value, don't output it as unsigned.
3015
3016 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
3017
3018         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
3019
3020 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3021
3022         * c-common.c (c_common_nodes_and_builtins): Don't special case
3023         cplus_mode when declaring builtin bzero/bcmp, always avoid
3024         prototype arguments.
3025
3026 2000-03-29  Bruce Korb  <bkorb@gnu.org>
3027
3028         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
3029         to a non-file
3030
3031 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3032
3033         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
3034         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
3035         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
3036         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
3037         (save_fixed_argument_area, restore_fixed_argument_area):
3038         conditionize by #ifdef REG_PARM_STACK_SPACE only.
3039         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
3040         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
3041         (precompute_register_parameters): Avoid #ifdefs on
3042         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
3043         (stire_one_args): Likewise.
3044         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
3045         (emit_library_call_value_1): Likewise.
3046         (compute_argument_block_size): Align to STACK_BOUNDARY only for
3047         ACCUMULATE_OUTGOING_ARGS.
3048         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
3049         value.
3050         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
3051         (use_crosses_set_p): Likewise.
3052         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
3053         #define ACCUMULATE_OUTGOING_ARGS 1.
3054         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
3055         frames.
3056         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
3057         constants.
3058         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
3059         (TARGET_SWITCHES): Add push-args, no-push-args,
3060         accumulate-outgoing-args and no-accumulate-outgoing-args.
3061         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
3062         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
3063         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
3064         and PUSH_ROUNDING.
3065         (emit_push_insn): Likewise.
3066         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3067         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
3068         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3069         (STACK_DYNAMIC_OFFSET): Define correctly for both
3070         ACCUMULATE_OUTGOING_ARGS and normal mode.
3071         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
3072         * tm.texi (PUSH_ARGS): Document.
3073         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
3074
3075 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3076
3077         * flags.h (flag_optimize_sibling_calls): Declare.
3078         * calls.c (expand_call): Fail sibcall when
3079         !flag_optimize_sibling_calls
3080         * invoke.texi (flag_optimize_sibling_calls): Document.
3081         * toplev.c (flag_optimize_sibling_calls): New global variable.
3082         (f_options): Add flag_optimize_sibling_calls.
3083         (rest_of_compilation): Conditionize
3084         optimize_sibling_and_tail_recursive_calls by
3085         flag_optimize_sibling_calls.
3086         (main): Set flag_optimize_sibling_calls for -O2.
3087         * stmt.c (expand_return): Conditionize tail recursion by
3088         flag_optimize_sibling_calls.
3089
3090 2000-03-29  Richard Henderson  <rth@cygnus.com>
3091
3092         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
3093         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
3094
3095 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
3096
3097         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
3098
3099 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3100
3101         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
3102         is given.
3103         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
3104         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
3105         * config/rs6000/aix.h: then modified likewise.
3106
3107 2000-03-28  Richard Henderson  <rth@cygnus.com>
3108
3109         * rtl.h: Redistribute enum reg_note documentation. 
3110         Kill trailing whitespace.
3111         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
3112         Kill trailing whitespace.
3113
3114 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
3115
3116         * cppfiles.c (hash_IHASH): Just return i->hash.
3117         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
3118         htab_find_with_hash.
3119         (cpp_read_file): Likewise.
3120         (find_include_file): Likewise.  Properly initialize
3121         ih->nshort.  Share ih->name and ih->nshort if possible.
3122         * cpphash.c (_cpp_calc_hash): New function.
3123         (hash_HASHNODE): Just return h->hash.
3124         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
3125         htab_find_with_hash.
3126         * cpphash.h: Prototype _cpp_calc_hash.
3127         * cppinit.c (initialize_builtins): Provide a valid hash
3128         to _cpp_make_hashnode, using _cpp_calc_hash.
3129
3130         * cpphash.c (collect_expansion): # is not a special character
3131         in object-like macros.  In -traditional mode, /**/ is not
3132         token paste at the beginning or end of the line.
3133         * cpplib.c (do_include, do_import, do_include_next): If
3134         parse_include fails, return immediately.
3135
3136 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
3137
3138         * config/arm/arm.md (return peepholes): Update to reflect the new
3139         call insn patterns.
3140         * config/arm/arm.c (arm_volatile_func): Also check
3141         current_function_nothrow.
3142         (output_return_instruction, output_func_prologue): Use it.
3143         (arm_output_epilogue, arm_expand_prologue): Likewise.
3144
3145 2000-03-27  Tom Tromey  <tromey@cygnus.com>
3146
3147         * gcc.c (handle_braces): In {x*...} case, break out of loop if
3148         switch is found.
3149
3150 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3151
3152         * expr.c (store_constructor): SIZE now signed.
3153         For EXPR_SIZE, don't evaluate size; just needed if constant.
3154         * fold-const.c (fold): Fix a number of cases when folded tree is
3155         wrong type.
3156         * function.c (flush_addressof): Reenable.
3157         * tree.h (flush_addressof): Likewise.
3158         * toplev.c (independent_decode_option): Look at strings_processed.
3159         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
3160
3161 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
3162
3163         * sibcall.c (indentify_call_return_value): Find last call in the chain;
3164         Allow stack adjustment after function call.
3165
3166         * regmove.c (struct csa_memlist): Make mem field rtx *.
3167         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
3168         (try_apply_stack_adjustment): Replace whole MEM rtx.
3169         (combine_stack_adjustments_for_block): Update calls
3170         to record_one_stack_ref.
3171
3172 2000-03-28  Neil Booth  <NeilB@earthling.net>
3173
3174         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
3175         '\\' rather than a null character, so nulls are not special.  Fix
3176         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
3177         speed trigraph conversion.
3178         (_cpp_init_input_buffer): Initialize trigraph map.
3179
3180 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3181
3182         * config/i386/i386.c (output_387_binary_op): Correct intel
3183         mode assembly output, and add spaces after commas in AT&T
3184         output.  Correct Unixware assembler comment.  Document input
3185         constraints.  Comment fp operations.  Reduce profligate buffer
3186         size.  Remove extraneous abort.  Localize temp var.
3187         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
3188         (output_fix_trunc): Add spaces after commas in assembly output.
3189
3190 2000-03-27  Richard Henderson  <rth@cygnus.com>
3191
3192         * i386-protos.h (ix86_match_ccmode): Declare.
3193         * i386.c (ix86_match_ccmode): New.
3194         (ix86_expand_fp_compare): Update for pattern renames.
3195         (ix86_expand_strlensi_unroll_1): Likewise.
3196         * i386.h (EXTRA_CC_MODES): Add CCZ.
3197         (SELECT_CC_MODE): Use it for EQ/NE zero.
3198         * i386.md (cmpsi_ccz_1): New.
3199         (cmpqi_ccz_1): New.
3200         (*testsi_ccz_1): New.
3201         (testqi_ccz_1): New.
3202         (cmpsi_ccno_1): Rename from cmpsi_0.
3203         (testsi_ccno_1): Rename from testsi_1.
3204         (testqi_ccno_1): Rename from testqi_1.
3205         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
3206         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
3207         (*cmphi_0): Use ix86_match_ccmode.
3208         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
3209         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
3210         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
3211         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
3212         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
3213         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
3214         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
3215         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
3216         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
3217         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
3218         (appropriate peepholes): Likewise.
3219         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
3220         (*subsi_3, *subhi_3, *subqi_3): Remove.
3221         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
3222         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
3223         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
3224         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
3225         (x86_shift_adj_1): Use CCZ.
3226         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
3227
3228 2000-03-27  Stan Cox  <scox@cygnus.com> 
3229
3230         * resource.h (mark_resource_type): New.
3231         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
3232         find_free_register): Use mark_resource_type.
3233         (mark_set_resources): Change include_delayed_effects
3234         to mark_resource_type.
3235         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
3236         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
3237         Use mark_resource_type.
3238         
3239 2000-03-27  Richard Henderson  <rth@cygnus.com>
3240
3241         * i386.md (call_pop_0, call_value_pop_0): New.
3242         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
3243         (call_value_pop_1): Likewise.
3244         (call_0, call_value_0): New.
3245         (call_1, call_value_1): Remove constraint from unused arg.
3246
3247 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3248
3249         * invoke.texi (Spec Files): Document new spec % command created by
3250         Tom Tromey's recent patch.
3251
3252 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
3253
3254         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
3255         if not defined.
3256
3257 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3258
3259         * expr.c (expand_assignment): Fix typo in last change.
3260
3261         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
3262
3263 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3264
3265         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
3266         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
3267         and DECL_INLINE if FUNCTION_DECL.
3268         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
3269         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
3270         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
3271         (combine_parm_decls): Likewise.
3272         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
3273         * print-tree.c (print_node): Likewise.
3274         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
3275         DECL_TRANSPARENT_UNION on proper decl types.
3276         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
3277         * stor-layout.c (layout_decl): Only check DECL_PACKED and
3278         DECL_BIT_FIELD of FIELD_DECL.
3279         * tree.h (DECL_RESULT_FLD): New macro.
3280         
3281         * expr.c (expand_assignment): Add code to handle variable-sized
3282         BLKmode case.
3283
3284 2000-03-26  Richard Henderson  <rth@cygnus.com>
3285
3286         * calls.c (expand_call): Pass parms not original exp to
3287         optimize_tail_recursion.  Mind return value instead of looking
3288         for a barrier.
3289         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
3290         call_expr.  Move checks for call_expr and current_function_decl ...
3291         (expand_return): ... here.
3292
3293 2000-03-26  Tom Tromey  <tromey@cygnus.com>
3294
3295         * gcc.c (handle_braces): Recognize `%{<S}' construct.
3296         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
3297         defines.
3298         (process_command): Use them.
3299         (check_live_switch): Likewise.
3300         (give_switch): Skip ignored switches.
3301
3302 2000-03-26  Jan Hubicka  <jh@suse.cz>
3303
3304         * jump.c (jump_optimize_1): Fix typo in elide optimizations
3305         for minimal jump pass test.
3306
3307 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
3308
3309         * integrate.c (function_cannot_inline_p): Do inline functions that
3310         return `void'.
3311
3312 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3313
3314         * stor-layout.c (layout_type, set_sizetype): early_type_list is
3315         now a list of TREE_LIST entries, not types.
3316         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
3317
3318         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
3319         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
3320         int_bit_position.
3321         * config/mips/mips.c (function_arg): Likewise; also remove cast
3322         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
3323         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
3324         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
3325         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
3326         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
3327         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
3328         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
3329         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
3330         num_adjusts now unsigned.
3331         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
3332         * config/sparc/sparc.c (struct function_arg_record_value_parms):
3333         NREGS now unsigned.
3334         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
3335         as is BITPOS variable; use host_integerp and int_bit_position.
3336         (function_arg_record_value_2): Likewise.
3337         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
3338         Variable REGNO now unsigned.
3339         (function_arg_record_value): NREGS now unsigned.
3340
3341 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
3342
3343         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
3344
3345 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3346
3347         * Rework fields used to describe positions of bitfields and
3348         modify sizes to be unsigned and use HOST_WIDE_INT.
3349         * alias.c (reg_known_value_size): Now unsigned.
3350         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
3351         (really_start_incremental_init): Use bitsize_zero_node.
3352         (push_init_level, pop_init_level, output_init_element): Likewise.
3353         Use bitsize_unit_node and bitsize_one_node.
3354         (output_pending_init_elements, process_init_element): Likewise.
3355         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
3356         (make_extraction): Position and length HOST_WIDE_INT and unsigned
3357         HOST_WIDE_INT, respectively.
3358         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
3359         (num_sign_bit_copies): Returns unsigned.
3360         BITWIDTH now unsigned; rework arithmetic.
3361         Remove recursive call from arg to MAX.
3362         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
3363         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
3364         REGNO now unsigned.
3365         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
3366         (find_split_point, expand_compound_operation, make_extraction): LEN
3367         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
3368         (make_field_assignment): Likewise.
3369         (combine_simplify_rtx): Add cast.
3370         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
3371         (force_to_mode): WIDTH now unsigned; add cast.
3372         (if_then_else_cond): SIZE now unsigned.
3373         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
3374         (extended_count): Now returns unsigned.
3375         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
3376         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
3377         (simplify_comparison): MODE_WIDTH now unsigned.
3378         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
3379         (mark_used_regs_combine): Likewise; rework arithmetic.
3380         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
3381         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
3382         (record_promoted_value): REGNO now unsigned.
3383         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
3384         (get_last_value): REGNO now unsigned.
3385         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
3386         (reg_dead_regno, reg_dead_endregno): Now unsigned.
3387         (remove_death): Arg REGNO now unsigned.
3388         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
3389         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
3390         now unsigned.
3391         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
3392         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
3393         (struct cse_reg_info): REGNO now unsigned.
3394         (cached_regno): Now unsigned.
3395         (REGNO_QTY_VALID_P): Add cast.
3396         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
3397         (remove_invalid_regs): Likewise.
3398         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
3399         as are variables END and I.
3400         (get_cse_reg_info, insert): Likewise.
3401         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
3402         (canon_hash): Likewise.
3403         (insert_regs, lookup_for_remove): REGNO now unsigned.
3404         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
3405         New variable RN.
3406         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
3407         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
3408         * emit-rtl.c (subreg_realpart_p): Add cast.
3409         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
3410         (operand_subword_force): Arg I is now unsigned.
3411         * except.c (eh_regs): Variable I is now unsigned.
3412         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
3413         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
3414         length is unsigned HOST_WIDE_INT; likewise for internal variables.
3415         (store_split_bit_field, extract_fixed_bit_field): Likewise.
3416         (extract_split_bit_field, store_bit_field, extract_bit_field):
3417         Likewise.
3418         * expr.c (store_constructor_fields, store_constructor, store_field):
3419         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
3420         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
3421         (do_jump): Likewise.
3422         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
3423         MAX_SIZE is now unsigned.
3424         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
3425         (emit_group_store): Likewise.
3426         (emit_move_insn): I now unsigned.
3427         (store_constructor): Use host_integerp, tree_low_cst, and
3428         bitsize_unit_node.
3429         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
3430         Rework all calculations to use trees and new fields.
3431         * expr.h (promoted_input_arg): Regno now unsigned.
3432         (store_bit_field, extract_bit_field): Adjust types of pos and size.
3433         (mark_seen_cases): Arg is HOST_WIDE_INT.
3434         * flow.c (verify_wide_reg_1): REGNO now unsigned.
3435         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
3436         precisions and alignments are unsigned.
3437         (optimize_bit_field_compare, fold_truthop): Likewise.
3438         (int_const_binop): Adjust threshold for size_int_type_wide call.
3439         (fold_convert): Likewise.
3440         (size_int_type_wide): Make table larger and fix thinko that only
3441         had half of table used.
3442         (all_ones_mask_p, fold): Precisions are unsigned.
3443         * function.c (put_reg_info_stack): REGNO is unsigned.
3444         (instantiate_decl): Size is HOST_WIDE_INT.
3445         (instantiate_virtual_regs): I is unsigned.
3446         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
3447         (promoted_input_arg): REGNO is unsigned.
3448         * function.h (struct function): x_max_parm_reg is now unsigned.
3449         * gcse.c (max_gcse_regno): Now unsigned.
3450         (struct null_pointer_info): min_reg and max_reg now unsigned.
3451         (lookup_set, next_set): REGNO arg now unsigned.
3452         (compute_hash_table): REGNO and I now unsigned.
3453         (handle_avail_expr): regnum_for_replacing now unsigned.
3454         (cprop_insn): REGNO now unsigned.
3455         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
3456         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
3457         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
3458         * hard-reg-set.h (reg_class_size): Now unsigned.
3459         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
3460         * jump.c (mark_modified_reg): I now unsigned; add cast.
3461         (rtx_equal_for_thread_p): Add cast.
3462         * loop.c (max_reg_before_loop): Now unsigned.
3463         (struct_movable): REGNO now unsigned.
3464         (try_copy_prop): REGNO arg unsigned.
3465         (regs_match_p): XN and YN now unsigned.
3466         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
3467         (strength_reduce): Likewise; NREGS also unsigned.
3468         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
3469         * loop.h (struct iv_class): REGNO now unsigned.
3470         (max_reg_before_loop, first_increment_giv, last_increment_giv):
3471         Now unsigned.
3472         * machmode.h (mode_size, mode_unit_size): Now unsigned.
3473         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
3474         * optabs.c (expand_binop): I and NWORDS now unsigned.
3475         (expand_unop): I now unsigned.
3476         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
3477         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
3478         * real.c (significand_size): Now returns unsigned.
3479         * real.h (significand_size): Likewise.
3480         * regclass.c (reg_class_size): Now unsigned.
3481         (choose_hard_reg_mode): Both operands now unsigned.
3482         (record_reg_classes): REGNO and NR now unsigned.
3483         (reg_scan): NREGS now unsigned.
3484         (reg_scan_update): old_max_regno now unsigned.
3485         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
3486         * reload.c (find_valid_class): BEST_SIZE now unsigned.
3487         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
3488         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
3489         Likewise for variable R.
3490         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
3491         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
3492         (find_equiv_reg): Add casts.
3493         (regno_clobbered_p): Arg REGNO now unsigned.
3494         * reload.h (struct reload): NREGS now unsigned.
3495         (refers_to_regno_for_reload_p): Regno args are unsigned.
3496         (regno_clobbered_p): Likewise.
3497         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
3498         (compute_use_by_pseudos): REGNO now unsigned.
3499         (find_reg): I and J now unsigned, new variable K, and change loop
3500         variables accordingly; THIS_NREGS now unsigned.
3501         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
3502         (spill_hard_reg): REGNO arg now unsigned; add casts.
3503         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
3504         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
3505         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
3506         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
3507         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
3508         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
3509         (emit_reload_insns): REGNO now unsigned.
3510         (reload_cse_move2add): Add cast.
3511         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
3512         and rework loop.
3513         * resource.c (mark_referenced_resources, mark_set_resources): New
3514         variable R; REGNO and LAST_REGNO now unsigned.
3515         (mark_target_live_regs): J and REGNO now unsigned.
3516         * rtl.c (mode_size, mode_unit_size): Now unsigned.
3517         * rtl.h (union rtunion_def): New field rtuint.
3518         (XCUINT): New macro.
3519         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
3520         (operand_subword, operand_subword_force): Word number is unsigned.
3521         (choose_hard_reg_mode): Operands are unsigned.
3522         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
3523         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
3524         (regno_use_in, combine_instructions, remove_death): Likewise.
3525         (reg_scan, reg_scan_update): Likewise.
3526         (extended_count): Return is unsigned.
3527         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
3528         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
3529         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
3530         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
3531         (reg_reg_last_1): FIRS and LAST now unsigned.
3532         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
3533         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
3534         now unsigned.
3535         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
3536         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
3537         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
3538         (replace_regs): Arg NREGS now unsigned.
3539         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
3540         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
3541         (simplify_binary_operation): Likewise.
3542         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
3543         THIS_LAST now unsigned.
3544         (cselib_record_set): Add cast.
3545         * ssa.c (ssa_max_reg_num): Now unsigned.
3546         (rename_block): REGNO now unsigned.
3547         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
3548         sizes now unsigned.
3549         (all_cases_count): Just return -1 not -2.
3550         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
3551         Rework tests to use trees whenever possible.
3552         Use host_integerp and tree_low_cst.
3553         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
3554         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
3555         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
3556         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
3557         (smallest_mode_for_size): Likewise.
3558         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
3559         KNOWN_ALIGN is now an alignment, so simplify code.
3560         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
3561         (start_record_layout): Renamed from new_record_layout_info.
3562         Update to new fields.
3563         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
3564         New functions.
3565         (place_union_field): Renamed from layout_union_field.
3566         Update to use new fields in rli.
3567         (place_field): Renamed from layout_field.
3568         Major rewrite to use new fields in rli; pass alignment to layout_decl.
3569         (finalize_record_size): Rework to use new fields in rli and handle
3570         union.
3571         (compute_record_mode): Rework to simplify and to use new DECL fields.
3572         (finalize_type_size): Make rounding more consistent.
3573         (finish_union_layout): Deleted.
3574         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
3575         (layout_type, case RECORD_TYPE): Call new function names.
3576         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
3577         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
3578         (get_best_mode): UNIT is now unsigned; remove casts.
3579         * tree.c (bit_position): Compute from new fields.
3580         (byte_position, int_byte_position): New functions.
3581         (print_type_hash_statistics): Cast to remove warning.
3582         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
3583         (build_index_type): Likewise; make subtype of sizetype.
3584         (build_index_2_type): Pass sizetype to build_range_type.
3585         (build_common_tree_nodes): Use size_int and bitsize_int to
3586         initialize nodes; add bitsize_{zero,one,unit}_node.
3587         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
3588         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
3589         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
3590         (DECL_FIELD_BITPOS): Deleted.
3591         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
3592         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
3593         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
3594         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
3595         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
3596         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
3597         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
3598         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
3599         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
3600         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
3601         (DECL_ALIGN): Adjust to new field in union.
3602         (DECL_OFFSET_ALIGN): New field.
3603         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
3604         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
3605         (union tree_decl): Add struct for both aligns.
3606         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
3607         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
3608         (struct record_layout_info): Rework fields to have offset
3609         alignment and byte and bit position.
3610         (start_record_layout, place_field): Renamed from old names.
3611         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
3612         (byte_position, int_byte_position): Likewise.
3613         (get_inner_reference): Change types of position and length.
3614         * unroll.c (unroll_loop): New variable R; use for some loops.
3615         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
3616         (calculate_giv_inc): Arg REGNO now unsigned.
3617         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
3618         * varasm.c (assemble_variable): Clean up handling of size using
3619         host_integerp and tree_low_cst.
3620         (decode_addr_const): Use byte, not bit, position.
3621         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
3622         use tree_low_cst and int_bit_position.
3623         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
3624         
3625 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
3626
3627         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
3628         (reorder_block_def): New members eff_head and eff_end.
3629         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
3630         (verify_insn_chain): New function.
3631         (skip_insns_between_block): Add code to skip deleted insns.
3632         Check for note before using.
3633         (chain_reorder_blocks): Replace calls to skip_insns_between_block
3634         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
3635         Check for note before using.
3636         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
3637         (fixup_reorder_chain): Restructure, clean up, defect removal.
3638         (reorder_basic_blocks): Remove last_insn and references to it.
3639         Moved insn chain verification code into a new function (see above).
3640         Delete defective code that sets last insn.
3641         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
3642         all blocks.
3643
3644 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3645
3646         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
3647
3648 2000-03-24  Richard Henderson  <rth@cygnus.com>
3649
3650         * tree.c (lang_safe_for_unsave): Remove.
3651         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
3652         allowing for two levels of unsafeness.  Remove lang hook.
3653         * tree.h: Update declarations.
3654         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
3655         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
3656         Always fail sibcalls when there are pending cleanups.
3657
3658 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
3659
3660         * flow.c (propagate_block): When we delete an ADDR_VEC,
3661         also delete the BARRIER following it if there is one.
3662
3663 2000-03-24  Richard Henderson  <rth@cygnus.com>
3664
3665         * builtins.c (expand_builtin_bzero): Convert `length' argument
3666         to sizetype.
3667
3668 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
3669
3670         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
3671         comparison if regno's are equal.
3672         * calls.c (initialize_argument_informat): Add ecf_flags argument.
3673         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3674         (expand_call): Update caller.
3675         Avoid making a sibling call if argument size of the callee is larger
3676         than argument size of the caller.
3677         Call hard_function_value with outgoing set if in sibcall pass.
3678         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3679
3680         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
3681         Change LEAF_REGISTERS from an array initializer to actual array
3682         identifier. Move static global variable into the function.
3683         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
3684         sequences for leaf functions.
3685         * global.c (global_alloc): Likewise.
3686         * tm.texi (LEAF_REGISTERS): Update documentation.
3687
3688         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
3689         TARGET_FLAT leaf disabling hack.
3690         (LEAF_REGISTERS): Changed from an array initializer to actual array
3691         identifier to avoid duplication and remove the above hack.
3692         (FUNCTION_OK_FOR_SIBCALL): Define.
3693         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
3694         always like call attribute.
3695         (eligible_for_sibcall_delay): New attribute.
3696         (sibcall): New delay type.
3697         (sibcall, sibcall_value, sibcall_epilogue): New expands.
3698         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
3699         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
3700         * config/sparc/sparc.c (sparc_leaf_regs): New array.
3701         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
3702         New functions.
3703         (output_function_epilogue): Move part of the code into
3704         output_restore_regs.
3705         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
3706         TYPE_SIBCALL.
3707         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
3708         prototypes.
3709
3710         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
3711         until infrastructure is finished.
3712
3713 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
3714
3715         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
3716         (save_parm_insns): Not here.
3717
3718 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3719
3720         * builtins.c (expand_builtin_bzero): New function.
3721         (expand_builtin): Handle bzero.
3722
3723         * builtins.def: Add BUILT_IN_BZERO.
3724
3725         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3726         prototype & function for bzero.
3727
3728 2000-03-23  Michael Meissner  <meissner@redhat.com>
3729
3730         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
3731         change adding TARGET_FP to the TF floating point insns, except for
3732         trunctfsf2, which generates direct calls to truncdfsf2.
3733
3734 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
3735
3736         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
3737         try to protect against middle-end changes that break binary
3738         compatibility.
3739         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
3740
3741 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3742
3743         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
3744
3745 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3746
3747         * calls.c (expand_call): If TARGET is passed by reference and
3748         is readonly, write a CLOBBER.
3749
3750 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3751
3752         * builtins.c (expand_builtin): Handle bcmp.
3753
3754         * builtins.def: Add BUILT_IN_BCMP.
3755
3756         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3757         prototype & function for bcmp.
3758
3759 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
3760
3761         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
3762         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
3763         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
3764
3765 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
3766
3767         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
3768         alternative when using -fp64 -gp32.
3769
3770 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3771
3772         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
3773         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
3774         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
3775
3776         * frame.h (frame_state): Revert last change.
3777         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
3778         * libgcc2.c (throw_helper): Revert last change.
3779         
3780 2000-03-22  Richard Henderson  <rth@cygnus.com>
3781
3782         * stmt.c (expand_asm_operands): Don't promote the temporary.
3783
3784 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3785
3786         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
3787         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
3788           c_get_alias_set): Likewise.
3789         * c-decl.c (duplicate_decls): Likewise.
3790         * c-typeck.c (default_conversion,build_unary_op): Likewise.
3791         * calls.c (initialize_argument_information): Likewise.
3792         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
3793         Likewise.
3794         * dwarfout.c (decl_class_context,output_type): Likewise.
3795         * expr.c (get_inner_reference): Likewise.
3796         * fold-const.c (simple_operand_p,fold): Likewise.
3797         * function.c (aggregate_value_p): Likewise.
3798         * stmt.c (expand_asm_operands): Likewise.
3799         * varasm.c (named_section): Likewise.
3800
3801 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3802
3803         Implement dwarf2 exception handling for the ARM.
3804         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
3805         (DWARF_FRAME_RETURN_COLUMN): Define.
3806         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
3807         REG_FRAME_RELATED_EXPR note.
3808         (emit_sfm): Likewise.
3809         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
3810         * dwarf2out.c (reg_save): Handle saving a register to itself.
3811         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
3812         * except.c (eh_regs): Don't use the static chain reg if it's
3813         callee-saved.
3814         * frame.h (frame_state): Add cfa_saved field.
3815         * frame.c (execute_cfa_insn): Set it.
3816         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
3817         the epilogue.
3818         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
3819         Now takes a parm.
3820         (instantiate_virtual_regs): Adjust.
3821         * tm.texi: Adjust.
3822         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3823         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3824         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
3825
3826         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
3827         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
3828
3829 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3830
3831         * builtins.def: New file.
3832
3833         * Makefile.in (TREE_H): Depend on builtins.def.
3834
3835         * builtins.c (built_in_names): Use builtins.def.
3836
3837         * tree.h (built_in_function): Likewise.
3838
3839 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
3840
3841         * tree.c (size_in_bytes): Return size_zero_node, not
3842         integer_zero_node.
3843
3844 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
3845
3846         * config/fp-bit.c (pack_d): Correct the case when a denormal
3847         is rounded up and stops being denormal.
3848
3849 2000-03-21  Richard Henderson  <rth@cygnus.com>
3850
3851         * config/alpha/alpha.c (function_arg): Check for void_type_node
3852         before using MUST_PASS_IN_STACK.
3853
3854 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
3855
3856         * regmove.c (combine_stack_adjustments_for_block): Check that
3857         the stack pointer is a valid memory address.
3858
3859 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
3860
3861         * calls.c: re-install Mar 16 emit_library_call merge.
3862
3863 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
3864
3865         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
3866         we cannot be sure that if reload_completed base register will
3867         be properly aligned.
3868
3869 2000-03-21  Richard Henderson  <rth@cygnus.com>
3870
3871         * flow.c (delete_block): Fix typo last change.
3872
3873 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
3874
3875         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
3876         not COMPLETE_TYPE_P, to check the type of the expression.
3877
3878 2000-03-21  Michael Meissner  <meissner@redhat.com>
3879
3880         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
3881         all floating point insns that just tested the macro
3882         TARGET_HAS_XFLOATING_LIBS.
3883         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3884         used to only use the gprs.
3885
3886 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
3887
3888         * tree.h (COMPLETE_TYPE_P): New macro.
3889         (COMPLETE_OR_VOID_TYPE_P): New macro.
3890         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3891         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3892         * c-aux-info.c (gen_type): Use them.
3893         * c-common.c (c_expand_expr_stmt): Likewise.
3894         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3895         grokdeclarator, grokparms, finish_struct, start_function,
3896         store_parm_decls, combine_parm_decls): Likewise.
3897         * c-parse.y (cast_expr): Likewise.
3898         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3899         c_size_in_bytes, c_alignof, build_component_ref,
3900         build_indirect_ref, build_array_ref, convert_arguments,
3901         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3902         * calls.c (initialize_argument_information): Likewise.
3903         * convert.c (convert_to_integer): Likewise.
3904         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3905         * dwarfout.c (location_or_const_value_attribute,
3906         output_enumeration_type_die, output_structure_type_die,
3907         output_union_type_die, output_type): Likewise.
3908         * expr.c (safe_from_p, expand_expr): Likewise.
3909         * function.c (assign_parms): Likewise.
3910         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3911         * tree.c (build_array_type, build_function_type,
3912         build_method_type, build_offset_type, build_complex_type): Likewise.
3913         * c-parse.c, c-parse.h: Regenerated.
3914
3915 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3916
3917         * config/c4x/rtems.h: Include config/rtems.h.
3918
3919 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
3920
3921         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3922         decl is a FUNCTION_DECL
3923
3924 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
3925
3926         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3927         function uses output registers.  Don't save RP for leaf functions.
3928         Do save RP even if no epilogue.
3929         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3930         (CALL_USED_REGISTERS): Unmark in registers.
3931         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
3932         to near the middle.
3933
3934 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3935
3936         * config/rs6000/rs6000.md (bunordered): New expander.
3937         (bordered): New expander.
3938         (buneq): New expander.
3939         (bunge): New expander.
3940         (bungt): New expander.
3941         (bunle): New expander.
3942         (bunlt): New expander.
3943         (bltgt): New expander.
3944  
3945         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3946         (ccr_bit_negated_p): New function.
3947         (print_operand): For %C, generate appropriate cror for UNEQ,
3948         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
3949
3950 2000-03-20  Andreas Jaeger  <aj@suse.de>
3951
3952         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3953         warning.
3954
3955         * tree.h (safe_for_unsave): Prototype.
3956
3957 2000-03-20  Richard Henderson  <rth@cygnus.com>
3958
3959         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3960         (combine_stack_adjustments_for_block): Don't allow sp references
3961         in the side of a set we're not fixing up.
3962         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3963         after life_analysis.
3964
3965 2000-03-20  Richard Henderson  <rth@cygnus.com>
3966
3967         * calls.c (expand_call): Don't bother generating tail call
3968         sequences if there are pending cleanups.  Use
3969         expand_start_target_temps/expand_end_target_temps to elide
3970         cleanups created during sibcall expansion.
3971
3972 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3973
3974         * configure.in: Set $IFS to a value if it doesn't already have one
3975         in the --enable-checking handling.
3976         * configure: Regenerate.
3977
3978 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3979
3980         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3981         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3982         Regenerated.
3983
3984 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
3985
3986         * jump.c (delete_noop_moves): Remove code attempting to
3987         combine stack adjustments.
3988
3989 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3990
3991         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3992         * except.c (emit_cleanup_handler): Use them.
3993         (expand_end_all_catch): Likewise.
3994         * function.c (fixup_var_refs): Likewise.
3995         (expand_function_end): Clear catch_clauses_last.
3996         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3997         * except.h (struct eh_status): New field x_catch_clauses_last.
3998         (catch_clauses_last): New define.
3999
4000         * Makefile.in (tree.o): Depend on HASHTAB_H.
4001         * tree.c: Include hashtab.h.
4002         (struct type_hash): Remove next field.
4003         (TYPE_HASH_SIZE): Remove.
4004         (TYPE_HASH_INITIAL_SIZE): New define.
4005         (type_hash_table): Change type to htab_t.
4006         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
4007         mark_hash_entry): New functions.
4008         (init_obstacks): Allocate type hash.
4009         (type_hash_lookup): Use htab functions.
4010         (type_hash_add, mark_type_hash): Likewise.
4011         (dump_tree_statistics): Call print_type_hash_statistics.
4012
4013 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4014
4015         * rs6000/t-aix41: New file.
4016
4017         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
4018
4019 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
4020
4021         * tm.texi (Driver): Fix typos and tweak entry for
4022         INCLUDE_DEFAULTS.
4023         Move misplaced STRUCT_FORCE_BLK entry ...
4024         (Storage Layout): ... to here.
4025         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
4026
4027 2000-03-19  Richard Henderson  <rth@cygnus.com>
4028
4029         * flow.c (delete_block): Delete the addr_vec along with the block.
4030         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
4031         reference labels.
4032
4033         * fold-const.c (extract_muldiv): Apply type check for defined
4034         overflow to multiply as well as divide.
4035
4036         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
4037
4038 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4039
4040         * emit-rtl.c (remove_unncessary_notes): Check that all
4041         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
4042         associated NOTE_BLOCK.
4043         * function.h (identify_blocks): Update comments.
4044         (reorder_blocks): Declare.
4045         * function.c (identify_blocks): Don't take paramters.
4046         (reorder_blocks): Don't take parameters.
4047         * loop.h (find_loop_tree_blocks): Remove.
4048         (unroll_block_trees): Likewise.
4049         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
4050         reorder_blocks instead of unroll_block_trees.h
4051         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
4052         * stmt.c (find_loop_tree_blocks): Remove.
4053         (unroll_block_trees): Likewise.
4054         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
4055         in whole-function mode.
4056         * tree.h (reorder_blocks): Remove declaration.
4057
4058         * expr.c: Include intl.h.
4059         * Makefile.in (expr.o): Depend on intl.h.
4060         
4061 2000-03-18  Richard Henderson  <rth@cygnus.com>
4062
4063         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
4064
4065 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4066
4067         * tree.h (tree_index): Remove enumerals for integer types.
4068         (integer_type_kind): New type.
4069         (integer_types): New variable.
4070         (char_type_node): Adjust.
4071         (signed_char_type_node): Likewise.
4072         (unsigned_char_type_node): Likewise.
4073         (short_integer_type_node): Likewise.
4074         (short_unsigned_type_node): Likewise.
4075         (integer_type_node): Likewise.
4076         (unsigned_type_node): Likewise.
4077         (long_integer_type_node): Likewise.
4078         (long_unsigned_type_node): Likewise.
4079         (long_long_integer_type_node): Likewise.
4080         (long_long_unsigned_type_node): Likewise.
4081         * tree.c (integer_types): New variable.
4082         (init_obstacks): Register it as a root.
4083
4084 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
4085
4086         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
4087         NEXT_INSN. Update last insn in chain.
4088
4089 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
4090
4091         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
4092         with TYPE_DECL_SUPPRESS_DEBUG set.
4093
4094 2000-03-18  Richard Henderson  <rth@cygnus.com>
4095
4096         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
4097
4098 2000-03-18  Richard Henderson  <rth@cygnus.com>
4099
4100         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
4101         care for HALF_PIC_P.
4102         (expander_call_insn_operand): Remove.
4103         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
4104         * i386.h (PREDICATE_CODES): Update.
4105         * i386.md (all call expanders): Remove predicates, remove special
4106         handling for half-pic.
4107         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
4108         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
4109         (sibcall_epilogue): New.
4110
4111 2000-03-17  Richard Henderson  <rth@cygnus.com>
4112
4113         * rtlanal.c (single_set): Reject if the parallel has anything
4114         except SET or USE or CLOBBER.
4115
4116 2000-03-17  Jeff Law  <law@cygnus.com>
4117             Richard Henderson  <rth@cygnus.com>
4118
4119         * Makefile.in (OBJS): Add sibcall.o.
4120         (sibcall.o): New.
4121         * sibcall.c: New file.
4122         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
4123         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
4124         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
4125         Emit sibcall patterns when requested.  Update all callers.
4126         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
4127         elimination seems feasable.
4128         * final.c (leaf_function_p): Sibling calls don't discount being
4129         a leaf function.
4130         * flow.c (HAVE_sibcall_epilogue): Provide default.
4131         (find_basic_blocks_1): Sibling calls don't throw.
4132         (make_edges): Make edge from sibling call to EXIT.
4133         (propagate_block): Don't remove sibcall_epilogue insns.
4134         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
4135         (sibcall_epilogue): New.
4136         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
4137         (identify_blocks_1): Likewise.  Break out from ...
4138         (identify_blocks): ... here.
4139         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
4140         (reorder_blocks): ... here.
4141         (init_function_for_compilation): Zap prologue/epilogue as varrays.
4142         (record_insns): Extend a varray instead of mallocing new memory.
4143         (contains): Read a varray not array of ints.
4144         (sibcall_epilogue_contains): New.
4145         (thread_prologue_and_epilogue_insns): Emit and record
4146         sibcall_epilogue patterns.
4147         (init_function_once): Allocate prologue/epilogue varrays.
4148         * genflags.c (gen_insn): Treat sibcall patterns as calls.
4149         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
4150         Broken out from ...
4151         (save_for_inline_nocopy): ... here.
4152         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
4153         Broken out from ...
4154         (expand_inline_function): ... here.
4155         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
4156         (subst_constants): Handle 'n' formats.
4157         * jump.c (jump_optimize_minimal): New.
4158         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
4159         optimizations if it's set.
4160         * rtl.c (copy_rtx): Do copy jump & call for insns.
4161         * rtl.h (struct rtx_def): Document use of jump and call for insns.
4162         (SIBLING_CALL_P): New.
4163         (sibcall_use_t): New.
4164         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
4165         Invoke optimize_sibling_and_tail_recursive_calls.
4166         * tree.c (lang_safe_for_unsave): New.
4167         (safe_for_unsave): New.
4168         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
4169
4170         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
4171         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
4172         (*sibcall_osf_1, *sibcall_value_osf_1): New.
4173
4174 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
4175
4176         * objc/objc-act.c (encode_method_prototype): Pass types, not
4177         PARM_DECLs, to int_size_in_bytes.
4178
4179 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
4180
4181         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
4182
4183         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4184         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
4185
4186 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4187
4188         * Clean up usages of TREE_INT_CST_LOW.
4189         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
4190         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4191         Regenerated.
4192         * c-tree.h (min_precision): Move declaration to here.
4193         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
4194         (build_unary_op, add_pending_init): Use bit_position.
4195         (pending_init_member, process_init_element): Likewise.
4196         (really_start_incremental_init, push_init_level, pop_init_level):
4197         Don't make copies of nodes or modify them in place, use consistent
4198         types when tracking positions, and use tree routines computations.
4199         (set_init_index, output_init_element): Likewise.
4200         (output_pending_init_elements, process_init_element): Likewise.
4201         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
4202         tree_low_cst and int_bit_position; also minor cleanup.
4203         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
4204         (print_cst_octal): Precision is unsigned.
4205         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
4206         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
4207         (simple_type_align_in_bits): Result is unsigned int.
4208         Use tree_int_low_cst and host_integerp.
4209         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
4210         (field_byte_offset): Result is HOST_WIDE_INT.
4211         Change types of internal variables so alignments are unsigned int,
4212         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
4213         Use host_integerp, tree_low_cst, and int_bit_position.
4214         (add_bit_offset_attribute): Likewise.
4215         (add_data_member_location_attribute): Use tree_cst_low.
4216         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
4217         (add_bit_size_attribute): Use tree_low_cst.
4218         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
4219         * dwarfout.c: Similar changes to dwarf2out.c.
4220         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
4221         * genoutput.c (n_occurences): Return -1 for null string.
4222         (strip_whitespace): Accept null string and make into function.
4223         (scan_operands): Reflect above changes.
4224         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
4225         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
4226         * ssa.c (rename_registers): Add missing cast of arg to bzero.
4227         * tree.c (int_size_in_bytes): Check for too big to represent.
4228         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
4229         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
4230         New declarations.
4231         (min_precision): Delete from here.
4232         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
4233         and int_bit_position.
4234         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
4235         (encode_method_def): Likewise.
4236         (build_ivar_list_initializer): Use int_bit_position.
4237         (generate_shared_structures): Convert size.
4238         (encode_type, encode_complete_bitfield): Use integer_zerop.
4239         (encode_bitfield): Use tree_low_cst and int_bit_position.
4240         
4241 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4242
4243         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
4244
4245 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4246
4247         * call.c (special_function_p): It is only malloc if it returns
4248         Pmode.
4249
4250 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4251
4252         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
4253         (C33_FLAG, TARGET_C3X): Add macros.
4254         (TARGET_SWITCHES): Add -m33 option.
4255         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
4256         
4257 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4258         
4259         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
4260         (PARALLEL_PACK_FLAG): Delete.
4261         (TARGET_SWITCHES): Update.
4262         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
4263
4264 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4265
4266         * fold-const.c (fold): Fix a few cases when the returned result
4267         is not of the same type as the input.
4268
4269 2000-03-16  Nick Clifton  <nickc@cygnus.com>
4270
4271         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
4272         warning.
4273
4274 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4275
4276         * libgcc2.h: Move prototypes above macros with the same name.
4277         Wrap some function prototypes in the conditional which indicates
4278         whether they are supported, i.e. "BITS_PER_UNIT == 8".
4279
4280 2000-03-16  Richard Henderson  <rth@cygnus.com>
4281
4282         * calls.c: Revert last two changes.
4283
4284 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
4285
4286         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
4287         has exponent 0 is a zero.
4288
4289         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
4290         HASH may already be nonzero.  Add code/mode into hash value
4291         immediately after repeat label.
4292         (cselib_lookup): Don't leave the hash table in an inconsistent
4293         state before a hash lookup operation.
4294
4295 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
4296
4297         * i386.md (all HI and QI mode non-move patterns):  Conditionize
4298         by TARGET_[HQ]IMODE_MATH.
4299         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4300         x86_promote_qi_regs): Declare.
4301         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
4302         TARGET_PROMOTE_QI_REGS): New macros.
4303         (PROMOTE_MODE): New macro.
4304         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4305         x86_promote_qi_regs): New global variables.
4306
4307 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
4308
4309         * calls.c (emit_library_call_value_1): Break out from ...; handle
4310         VOIDmode function calls too.
4311         (emit_library_call_value): ... here.
4312         (emit_library_call): Implement by calling emit_library_call_value_1.
4313
4314 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
4315
4316         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
4317         Update arg_space_so_far on stack adjustments.
4318         (emit_library_call, emit_library_call_value): Likewise; take into
4319         account arg_space_so_far and pending_stack_adjust when calculcating
4320         the boundary.
4321
4322 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
4323
4324         * flow.c: Move all basic block reordering code into its own file.
4325         (create_basic_block): Externalize.
4326         * bb-reorder.c: New file. Copy all basic block reordering code from
4327         flow.c to this file.
4328         (reorder_basic_blocks): Fix fencepost error in for-loop.
4329         (reorder_basic_blocks): Remove braces from single statement for-loops.
4330         * basic-block.h: Add declaration for create_basic_block.
4331         * Makefile.in: Add rules for bb-reorder.o.
4332
4333 2000-03-16  Neil Booth  <NeilB@earthling.net>
4334
4335         * cppinit.c (handle_option):  Implement #unassert directive
4336         as -A- command line option.
4337         (print_help):  Update.
4338         * cpptexi.c:  Update.
4339
4340 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4341
4342         * md.texi (Standard Names): Document `jump'.
4343
4344 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4345
4346         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
4347         gotos.
4348
4349 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4350
4351         Merge changes from newppc-branch onto trunk.
4352
4353         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4354
4355         * rs6000.c (toc_hash_table): Update for new hash table functions.
4356         (toc_hash_function): Likewise.
4357         (toc_hash_eq): Likewise.
4358         (toc_hash_mark_entry): Likewise.
4359         (toc_hash_mark_table): Likewise.
4360         (output_toc): Likewise.
4361         (rs6000_add_gc_roots): Likewise.
4362
4363         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4364
4365         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
4366         (AR_FLAGS_FOR_TARGET): here.  New macro.
4367
4368         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
4369
4370         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
4371         fpmem_operand) Delete.
4372         (xer_operand) New.
4373         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
4374         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
4375         (rs6000_save_machine_status, rs6000_restore_machine_status, 
4376         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
4377         references to above variables.
4378         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
4379         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
4380         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
4381         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
4382         (XER_REGNO_P, XER_REGNO): New.
4383         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
4384         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
4385         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
4386         XER_REGNO_P.
4387         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
4388         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
4389         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
4390         
4391         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4392
4393         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
4394         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
4395         * rs6000.h: from here.
4396
4397         * rs6000-protos.h (rs6000_select_section): Provide prototype.
4398         (rs6000_select_rtx_section): Likewise.
4399         (rs6000_encode_section_info): Likewise.
4400         (sdata_section): Likewise.
4401         (sdata2_section): Likewise.
4402         (sbss_section): Likewise.
4403         * sysv4.h (rs6000_select_section): Delete prototype.
4404         (rs6000_select_rtx_section): Likewise.
4405         (rs6000_encode_section_info): Likewise.
4406         (sdata_section): Likewise.
4407         (sdata2_section): Likewise.
4408         (sbss_section): Likewise.
4409         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
4410
4411         * sysv4.h: Delete various unnecessary #undef's and put a comment
4412         on the remaining ones.
4413         Change various comments according to coding standard.
4414
4415         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
4416
4417         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
4418         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
4419         (CR0_REGNO_P) Remove.
4420         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
4421         setup_incoming_varargs, mtcrf_operation, print_operand, 
4422         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
4423         Use the above macros.
4424
4425         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
4426
4427         * config/rs6000/rs6000.md: Added a new alternative for each
4428         pattern that had a 'x' alternative but no 'y' alternative.
4429         Added a new split for each of the above patterns.
4430
4431         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4432
4433         * aix41.h (ASM_CPU_SPEC): Delete.
4434         (CPP_CPU_SPEC): Delete.
4435
4436         * aix.h (RS6000_OUTPUT_BASENAME): Define.
4437         (ASM_OUTPUT_LABEL): Define.
4438         (ASM_GLOBALIZE_LABEL): Define.
4439         (STRIP_NAME_ENCODING): Define.
4440         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
4441         (STRIP_NAME_ENCODING): Don't define.
4442         (ASM_OUTPUT_LABEL): Don't define.
4443         (ASM_GLOBALIZE_LABEL): Don't define.
4444         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
4445         names, and ASM_OUTPUT_LABEL to output labels, rather than
4446         asm_fprintf.
4447         (ASM_OUTPUT_LABEL): Define.
4448         (ASM_OUTPUT_INT): Use assemble_name.
4449         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
4450         (STRIP_NAME_ENCODING): Don't undefine first.
4451         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
4452         ELF.
4453         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
4454         specified with 'asm' even with -fleading-underscore.
4455         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
4456         (output_epilog): Likewise.
4457         (output_toc): Likewise. 
4458         * tramp.asm: Handle -fleading-underscore correctly.
4459
4460         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
4461         -mminimal-toc.
4462         (nonlocal_goto_receiver): Delete.
4463         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
4464
4465         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
4466         (SET_ASM_OP): Define.
4467         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
4468
4469         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
4470         (ASM_LONG): Define.
4471
4472         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
4473         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
4474
4475         * rs6000.h: Add 'u' to more constants.
4476
4477         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
4478
4479         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
4480
4481         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
4482
4483         * rs6000.c (reg_or_u_cint_operand): New function.
4484         (logical_operand): Handle 64-bit hosts.
4485         (logical_u_operand): New function.
4486         (non_logical_cint_operand): Handle 64-bit hosts.
4487         (non_logical_u_cint_operand): New function.
4488         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
4489         (PREDICATE_CODES): Define new functions.
4490         * rs6000-protos.h: Declare new functions.
4491         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
4492         (movdi_64): Bracket code intended for 64-bit hosts.  Create
4493         CONST_DOUBLE for 32-bit values.
4494         (scc insns): Generate DImode compares.
4495         (mfcr insns): Create DImode versions.
4496         (sge matchers): New patterns.
4497         
4498         2000-02-15  Gabriel Paubert  <paubert@iram.es>
4499
4500         * rs6000.md: Correct instructions length attributes and
4501         constraints on unsigned compare instructions.
4502         (*ne0): Disable for PowerPC64.
4503
4504         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
4505
4506         * rs6000.c (output_function_profiler): Use .long for a 32-bit
4507         quantity, fix profile1.C test failure under -fPIC.
4508
4509         * rs6000.c: Add 'u' to many constants to suppress warnings.
4510         (constant_pool_expr_1): Make static.
4511         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
4512         * rs6000.h: Add 'u' to many constants to suppress warnings.
4513
4514         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
4515         for the start of the TOC, instead of LCTOC..0.
4516         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
4517         of the TOC.
4518         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
4519         (load_toc_aix_di): Use LCTOC..1.
4520
4521         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
4522         * rs6000.c (rs6000_legitimize_address): New function from
4523         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
4524         symbols in the constant pool that really are TOC references.
4525         (print_operand_address): For ELF, write TOC offsets under
4526         -fPIC as subtractions in the insn.
4527         (output_toc): For ELF, define symbols in TOC as normal labels,
4528         to match RTL.
4529         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
4530         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
4531         (create_TOC_reference): Prototype only when RTX_CODE is defined.
4532         * rs6000.md (movsi): Only use create_TOC_reference on
4533         symbols in the constant pool that really are TOC references.
4534
4535         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
4536         * rs6000.c (rs6000_reorg): Delete.
4537         * rs6000-protos.h (rs6000_reorg): Delete.
4538
4539         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
4540
4541         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
4542
4543         * aix.h (SETUP_FRAME_ADDRESSES): Define.
4544         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
4545         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
4546         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
4547         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
4548         rs6000_aix_emit_builtin_unwind_init.
4549         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
4550         rs6000_emit_eh_toc_restore on AIX.
4551         (return_eh_si): Use r2.
4552         (return_eh_di): Use r2.
4553
4554         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
4555         since we're breaking binary compatibility anyway.
4556
4557         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
4558
4559         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
4560         constant_pool_expr_p): Declare them.
4561         (constant_pool_expr_p): Declare it.
4562         * config/rs6000/rs6000.c (toc_label_name): Define.
4563         (rs6000_override_options): Set toc_label_name.
4564         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
4565         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
4566         uses_TOC): New functions.
4567         (print_operand): Delete old '*' case.
4568         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
4569         and strip off rtl for TOC before calling output_addr_const.
4570         (rs6000_emit_load_toc_table): Use toc_label_name.
4571         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
4572         the default.
4573         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
4574         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
4575         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
4576         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
4577         into explicit TOC_REGISTER offsets.
4578         (TOC_REGISTER): New macro.
4579         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
4580         TARGET_TOC to reference TOC_REGISTER.
4581         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
4582         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
4583         uses_TOC before emitting label references.
4584
4585         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4586
4587         * rs6000.md (stack_tie): Fix warning.
4588
4589         * eabi-ctors.c: Use 'asm' names for the start/end variables,
4590         to handle -fleading-underscore.
4591         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
4592         (USER_LABEL_PREFIX): New macro.
4593         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
4594         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
4595         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
4596         call-linux can use the same multilibs.
4597         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
4598         and call-linux multilibs.  Do multilib with -fleading-underscore.
4599         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
4600         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
4601         to call-aix.
4602
4603         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
4604         have MASK_SOFT_FLOAT set.
4605         (CPP_FLOAT_DEFAULT_SPEC): New macro.
4606         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
4607         CPP_FLOAT_DEFAULT_SPEC.
4608
4609         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
4610         * rs6000.md: Whitespace change.
4611         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
4612         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
4613
4614         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4615
4616         * rs6000.md (eh_epilogue): New expander.
4617         (eh_reg_restore): New expand/split/insn combination.
4618         (return_eh_si): New insn.
4619         (return_eh_di): New insn.
4620
4621         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
4622         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
4623         * eabi-ctors.c (__do_global_ctors): Register this object's
4624         frame.  Clean up.  Call atexit() after the constructors.
4625         (__do_global_dtors): Deregister this object's frame.  Clean up.
4626         Allow for recursive calls to exit().
4627         * rs6000.c (fixuplabelno): New variable.
4628         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
4629         TARGET_RELOCATABLE, it slows down exec() under linux.
4630         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
4631
4632         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
4633         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
4634         (ASM_OUTPUT_DWARF_DELTA2): New macro.
4635         (ASM_OUTPUT_DWARF_DELTA4): New macro.
4636         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
4637         (ASM_OUTPUT_DWARF_ADDR): New macro.
4638         (ASM_OUTPUT_DWARF_DATA4): New macro.
4639         (ASM_OUTPUT_DWARF_DATA2): New macro.
4640         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
4641         (ASM_OUTPUT_DWARF_OFFSET): New macro.
4642         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
4643
4644         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4645
4646         * rs6000.c (rs6000_sr_alias_set): New variable.
4647         (rs6000_override_options): Initialise rs6000_sr_alias_set.
4648         (rs6000_emit_stack_tie): New function.
4649         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
4650         in a way that dwarf2out can understand.
4651         (rs6000_frame_related): New function.
4652         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
4653         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
4654         Use rs6000_emit_stack_tie when needed.
4655         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
4656         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
4657         * rs6000.md (stack_tie): New insn.
4658         (return_internal_si): Allow return value to be in the count
4659         register.
4660         (return_internal_di): Likewise.
4661
4662         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
4663
4664         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4665
4666         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
4667
4668         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
4669
4670         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
4671
4672         * rs6000.md (stmw): Use the right POWER opcode.
4673         (lmw): Likewise.
4674
4675         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4676
4677         * rs6000-protos.h: New file.
4678
4679         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
4680         
4681         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
4682         warnings.
4683         
4684         * sysv4.h: Likewise.
4685
4686         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
4687
4688         * ../../configure.in: Delete powerpcle-*-winnt*
4689         and powerpcle-*-pe|powerpcle-*-cygwin*.
4690         * ../../configure: Regenerated.
4691         * cygwin.h: Delete.
4692         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
4693         (TARGET_WINDOWS_NT): Delete.
4694         (ABI_NT): Delete.
4695         (CALL_NT_DLLIMPORT): Delete.
4696         Delete NT-specific code.
4697         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
4698         * win-nt.h: Delete.
4699         * t-winnt: Delete.
4700         * nt-ci.asm: Delete.
4701         * nt-cn.asm: Delete.
4702         * ntstack.asm: Delete.
4703
4704         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4705
4706         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
4707         (ASM_FILE_START): Likewise.
4708         (ASM_DECLARE_FUNCTION_NAME): Likewise.
4709         (ASM_OUTPUT_LABELREF): Likewise.
4710         (ASM_OUTPUT_SKIP): Likewise.
4711         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
4712         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4713         (ASM_OUTPUT_CASE_LABEL): Likewise.
4714         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4715         (ASM_OUTPUT_ASCII): Likewise.
4716
4717         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
4718
4719         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
4720         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
4721         increment rs6000_pic_labelno here.
4722         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
4723         and increment rs6000_pic_labelno here.
4724
4725         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
4726
4727         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
4728         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
4729         allocation knows (reg) is dead before the insn.
4730
4731         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
4732
4733         * rs6000.md (movsi_to_cr): Correct typo in output template.
4734
4735         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4736
4737         * rs6000.c (rs6000_pic_labelno): Always define.
4738         (rs6000_pic_func_labelno): Delete.
4739         (lmw_operation): Check for a zero base register,
4740         which doesn't mean what we want.
4741         (stmw_operation): New function.
4742         (print_operand): Define new 'l' modifier.
4743         (rs6000_stack_info): We must save all 64 bits of the registers
4744         if TARGET_POWERPC64.
4745         (rs6000_output_load_toc_table): Delete.
4746         (rs6000_emit_load_toc_table): New function.
4747         (rs6000_allocate_stack_space): Delete.
4748         (rs6000_emit_allocate_stack): New function.
4749         (rs6000_emit_prologue): New function.
4750         (output_prolog): Use rs6000_emit_prologue.
4751         (rs6000_emit_epilogue): Change a few variable names to be
4752         more accurate.  Restore all 64 bits of the registers if
4753         TARGET_POWERPC64.  Only restore the FP registers which were used
4754         if they are being saved/restored one-at-a-time.
4755         (output_mi_thunk): Delete inefficient code generation.
4756         (output_function_profiler): Don't use rs6000_output_load_toc_table.
4757         * rs6000.h: Declare rs6000_emit_load_toc_table,
4758         rs6000_allocate_stack_space, stmw_operation.  Don't declare
4759         rs6000_output_load_toc_table.
4760         * rs6000.md (elf_high): Allow register 0, but discourage it
4761         heavily.
4762         (elf_low): Support loading into register 0.
4763         (load_toc_aix_si): New pattern.
4764         (load_toc_aix_di): New pattern.
4765         (load_toc_v4_pic_si): New pattern.
4766         (load_toc_v4_pic_di): New pattern.
4767         (load_toc_v4_PIC_1): New pattern.
4768         (load_toc_v4_PIC_1b): New pattern.
4769         (load_toc_v4_PIC_2): New pattern.
4770         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
4771         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
4772         (prologue): New expander.
4773         (movesi_from_cr): New pattern.
4774         (stmw): New pattern.
4775         (save_fpregs_si): New pattern.
4776         (save_fpregs_di): New pattern.
4777
4778         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4779
4780         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
4781         (movdi): Likewise.
4782         (movhi): Likewise.
4783         (movqi): Likewise.
4784
4785         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4786
4787         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
4788         at present.
4789         (movsi_got_internal): Likewise.
4790         (movsi_got_internal+1): Likewise.
4791         (set_sp): 'unspec 7' does a SImode clobber.
4792
4793         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4794
4795         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
4796         allocate a stack temporary.
4797         (floatsidf2_internal): Likewise.
4798         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
4799         with unspec.
4800         (floatunssidf2): Don't use the fpmem "register", just
4801         allocate a stack temporary.
4802         (floatunssidf2_internal): Likewise.
4803         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
4804         with unspec.
4805         (floatsidf2_loadaddr): Delete.
4806         (floatsidf2_store1): Delete.
4807         (floatsidf2_store2): Delete.
4808         (floatsidf2_load): Delete.
4809         (fix_truncdfsi2): Don't use the fpmem "register", just
4810         allocate a stack temporary.
4811         (fix_truncdfsi2_internal_si): Delete.
4812         (fix_truncdfsi2_internal_di): Delete.
4813         (fix_truncdfsi2_internal): New insn.
4814         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
4815         (fix_truncdfsi2_store): Delete.
4816         (fix_truncdfsi2_load): Delete.
4817         (fctiwz): Produce gen_fctiwz.
4818
4819         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4820
4821         * eabi.h (INVOKE__main): Define.
4822         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
4823         specially.
4824         (rs6000_emit_prologue): Likewise.
4825         * rs6000.h (struct rs6000_stack): Don't keep track of whether
4826         this is the main program.
4827
4828         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4829
4830         * rs6000.c (rs6000_va_arg): Delete some unused variables.
4831
4832         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4833
4834         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
4835         goes after the argument.
4836
4837         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4838
4839         * rs6000.md: Document 'unspec' values used.
4840         (epilogue): New expander.
4841         (movesi_to_cr_one): New expander.
4842         (movesi_to_cr and following): New pattern.
4843         (lmw): New pattern.
4844         (return_internal_si): New pattern.
4845         (return_internal_di): New pattern.
4846         (return_and_restore_fpregs_si): New pattern.
4847         (return_and_restore_fpregs_di): New pattern.
4848         * rs6000.h: Declare new functions.
4849         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
4850         rather than rs6000_calls_p.
4851         (rs6000_makes_calls): Delete.
4852         (lmw_operation): New function.
4853         (mtcrf_operation): New function.
4854         (rs6000_emit_epilogue): New function.
4855         (output_epilog): Call rs6000_emit_epilogue and final if
4856         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
4857
4858         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4859
4860         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
4861         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
4862         * aix.h (SUBTARGET_SWITCHES): Document switches.
4863         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
4864         sched-prolog and sched-epilog the same.  Document all the
4865         switches.
4866         (TARGET_OPTIONS): No longer allow -mdebug-.
4867
4868         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4869
4870         * rs6000.h (ASM_FILE_END): Move to aix.h.
4871         (EXTRA_SECTIONS): Move to aix.h.
4872         (READONLY_DATA_SECTION): Move to aix.h.
4873         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
4874         (SELECT_SECTION): Move to aix.h.
4875         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
4876         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
4877         (LINK_REGISTER_REGNUM): New definition.
4878         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
4879         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
4880         AIX and SVR4.
4881         * sysv4.h: Delete the code between the inclusion of rs6000.h
4882         and svr4.h.
4883         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4884         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4885         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4886         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4887         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4888         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4889         (fix_truncdfsi2_internal_di): New pattern.
4890         (fix_truncdfsi2_store): The second arg here is Pmode too.
4891         (fix_truncdfsi2_load): The second arg here is Pmode too.
4892         (tablejumpdi): Now that switch tables hold only SImode values,
4893         gcc needs to know how to add them to the pc which is DImode.
4894         * rs6000.c (rs6000_stack_info): Use symbolic name for 
4895         LINK_REGISTER_REGNUM.
4896         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4897         (output_toc): Delete unused variables s1 and s2.
4898         (output_ascii): Use fputs not fprintf on a variable string.
4899
4900         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
4901
4902         * rs6000.c (processor_target_table): Add power3 as alias for 630.
4903         * aix43.h: Revert Aug 2 change.
4904         (HAS_INIT_SECTION): Define, not visible yet.
4905         (LD_INIT_SWITCH): Define, not visible yet.
4906         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4907
4908         2000-01-04  Joel Sherrill (joel@OARcorp.com>
4909
4910         * config/rs6000/rtems.h: Include config/rtems.h.
4911
4912         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
4913
4914         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4915         (SLOW_UNALIGNED_ACCESS): Define.
4916         (CASE_VECTOR_MODE): Always use 32-bit offsets.
4917         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4918         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4919         (toc_section): Likewise and .toc pseudo-op.
4920         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
4921         64-bit mode.
4922         (TEXT_SECTION_ASM_OP): Likewise.
4923         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4924         32-bit offsets.
4925
4926         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4927
4928         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4929         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4930         compiling libgcc2.
4931         
4932         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4933
4934         * rs6000.h: Move more stuff from here...
4935         * aix.h: to here.
4936         * sysv4.h: Cleanup accordingly.
4937         * netware.h: Likewise
4938
4939         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4940
4941         * rs6000.h: Continue cleanup.
4942         * aix.h: Likewise.
4943         * lynx.h: Likewise.
4944         * netware.h: Likewise.
4945         * sol2.h: Likewise.
4946         * sysv4.h: Likewise.
4947         * win-nt.h: Likewise.
4948
4949         * rs6000.h (TARGET_SWITCHES): Add descriptions.
4950         (TARGET_OPTIONS): Likewise.
4951
4952         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4953         (SUBTARGET_OPTIONS): Likewise.
4954
4955         * rs6000.md: Fix compile time warnings.
4956
4957         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4958
4959         vxworks patches from the Cygnus tree originally by
4960         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4961         <vmakarov@cygnus.com>.
4962         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4963         (ENDFILE_SPEC): Likewise.
4964         (LIB_VXWORKS_SPEC): New macro.
4965         (STARTFILE_VXWORKS_SPEC): New macro.
4966         (ENDFILE_VXWORKS_SPEC): New macro.
4967         (LINK_START_VXWORKS_SPEC): New macro.
4968         (LINK_OS_VXWORKS_SPEC): New macro.
4969         (CPP_OS_VXWORKS_SPEC): New macro.
4970         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4971         * vxppc.h: Rewrite to use proper configuration method.
4972         * vxppcle.h: New file.
4973         * ../../configure.in: Add powerpcle-wrs-vxworks*.
4974         * ../../configure: Rebuilt.
4975
4976         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4977
4978         Lots of changes to rs6000.h, sysv4.h, aix.h,
4979         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4980         with the aim that rs6000.h is the first header
4981         included and the others override it.
4982         * aix.h: New file.
4983
4984         * x-aix41-gld: Remove.  
4985         * x-aix43: Remove.
4986         * x-aix41: Remove target-specific switches, and don't specify
4987         -Wl,-bbigtoc as we don't need it any more.
4988         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4989         Use t-aix43 for AIX 4.3 and above.
4990         * ../../configure: Regenerated.
4991
4992         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4993         options, that don't do anything yet.
4994         (MASK_SCHED_PROLOG): New macro.
4995         (MASK_SCHED_EPILOG): New macro.
4996         (TARGET_SCHED_PROLOG): New macro.
4997         (TARGET_SCHED_EPILOG): New macro.
4998
4999         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5000
5001         * rs6000.c: Correct comment, the `minimal' TOCs are actually
5002         one per translation unit, not one per function.
5003         (output_toc): Also do duplicate constant elimination
5004         for per-translation-unit TOCs.
5005
5006         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
5007         a comment explaining _exactly_ when this pattern gets used.
5008         (builtin_setjmp_receiver): New pattern for better clarity.
5009         (init_v4_pic): Move it into a section dealing with TOC registers.
5010
5011         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
5012
5013         * rs6000.c (toc_hash_table): New variable.
5014         (rs6000_hash_constant): New function.
5015         (toc_hash_function): New function.
5016         (toc_hash_eq): New function.
5017         (toc_hash_mark_entry): New function.
5018         (toc_hash_mark_table): New function.
5019         (output_toc): Don't output duplicate TOC entries in
5020         a single file.
5021         (rs6000_add_gc_roots): Add the hash table as a GC root.
5022         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
5023         where they clearly shouldn't be.  This may need to be fixed
5024         later when there is a GNU ar for AIX.
5025         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
5026         Don't define BOOT_LDFLAGS as it is now not necessary.
5027
5028         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
5029
5030         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
5031         for va_list on AIX.  Use unsigned_char_type_node rather than
5032         constructing our own version on svr4.
5033
5034         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
5035
5036         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
5037         since patently it's not.
5038
5039         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
5040
5041         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
5042         define_expand/define_insn pair, and handle restore of the
5043         SVR4 -fpic register.
5044
5045 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
5046
5047         * acconfig.h (HAVE_GAS_WEAK): New define.
5048         * configure.in (assembler weak support): Check for .weak support.
5049         * config.in, configure: Rebuilt.
5050         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
5051         HAVE_GAS_WEAK is defined.
5052
5053 2000-03-15  Nick Clifton  <nickc@cygnus.com>
5054
5055         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
5056         asm_fprintf().
5057
5058 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
5059
5060         * cppfiles.c (open_include_file): New function.
5061         (find_include_file, cpp_read_file): Use it.
5062
5063 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5064
5065         * cpphash.c (dump_hash_helper): Take the slot, not the element.
5066
5067 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
5068
5069         * flow.c (verify_flow_info): Check for unconditional return.
5070
5071 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
5072
5073         * config/ia64/ia64.md (restore_stack_nonlocal): New.
5074         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
5075         (__ia64_restore_stack_nonlocal): New.
5076         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
5077
5078 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5079
5080         * cpphash.c (collect_formal_parameters): Do not complain about
5081         parameter names that just start with `__VA_ARGS__'.
5082
5083 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
5084
5085         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
5086         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
5087         * i386.c (pentiumpro_cost): Set mul cost to 4.
5088         (x86_use_movx): Set for PPro.
5089
5090 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
5091
5092         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
5093         STACK_BOUNDARY for empty frames now.
5094
5095 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
5096
5097         * stor-layout.c (layout_union): Remove.
5098         (layout_union_field): New function, split out from layout_union.
5099         (finish_union_layout): Likewise.
5100         (layout_field): Handle unions by calling layout_union_field.
5101         (finish_record_layout): Handle unions.
5102         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
5103         QUAL_UNION_TYPE handling.
5104
5105 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
5106
5107         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
5108         end of basic block is jump_insn, not barrier; use create_basic_block
5109         instead of creating basic block by hand.
5110
5111 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
5112
5113         * flow.c (reorder_basic_blocks): Account for barriers when writing
5114         over NEXT_INSN (last_bb->end).
5115         (verify_flow_info): Add check for missing barriers.
5116
5117 2000-03-14  Greg McGary  <gkm@gnu.org>
5118
5119         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
5120         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
5121         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
5122         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
5123         __unbounded, __unbounded__): New keywords.
5124         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
5125         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
5126         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
5127
5128 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
5129
5130         * cselib.h: New file.
5131         * alias.c: Include "cselib.h".
5132         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
5133         MEMs as two new arguments.
5134         (get_addr): New static function.
5135         (find_base_term): Handle VALUEs.
5136         (memrefs_conflict_p): Likewise.
5137         (true_dependence): Call get_addr on the addresses.
5138         Call fixed_scalar_and_varying_struct_p with addresses that have been
5139         passed through get_addr and canon_rtx.
5140         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
5141         with true_dependence.
5142         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
5143         * loop.c: Include "cselib.h".
5144         (load_mems): Process extended basic block that enters the loop with
5145         cselib.  Use that information to change initialization of the shadow
5146         register so that a constant equivalence is seen by later passes.
5147         * reload1.c: Include "cselib.h".
5148         (reload_cse_invalidate_regno): Delete function.
5149         (reload_cse_mem_conflict_p): Likewise.
5150         (reload_cse_invalidate_mem): Likewise.
5151         (reload_cse_invalidate_rtx): Likewise.
5152         (reload_cse_regno_equal_p): Likewise.
5153         (reload_cse_check_clobber): Likewise.
5154         (reload_cse_record_set): Likewise.
5155         (reg_values): Delete static variable.
5156         (invalidate_regno_rtx): Likewise.
5157         (reload_cse_delete_noop_set): New static function.
5158         (reload_cse_simplify): New static function, broken out of
5159         reload_cse_regs_1.
5160         (reload_cse_noop_set_p): Delete unused argument INSN.
5161         Just call rtx_equal_for_cselib_p on set source and destination.
5162         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
5163         reload_cse_delete_noop_set.  Delete code to keep track of values; use
5164         cselib functions instead.  Delete code to push/pop obstacks.
5165         (reload_cse_simplify_set): Use cselib to find equivalent values.
5166         Delete code to push/pop obstacks.
5167         (reload_cse_simplify_operands): Likewise.
5168         * rtl.def (VALUE): New rtx code.
5169         * rtl.h (union rtunion_def): New elt rt_cselib.
5170         (X0CSELIB, CSELIB_VAL_PTR): New macros.
5171         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
5172         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
5173         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
5174         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
5175         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
5176         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
5177         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
5178         cselib_record_set, cselib_record_sets): New static functions.
5179         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
5180         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
5181         references_value_p): New functions.
5182         (MAX_USELESS_VALUES, REG_VALUES): New macros.
5183         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
5184         n_useless_values, reg_values, callmem, cselib_obstack,
5185         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
5186         New static variables.
5187         * varray.h (union varray_data_tag): New elt te.
5188         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
5189         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
5190         dependencies.
5191
5192 2000-03-14  Nick Clifton  <nickc@cygnus.com>
5193
5194         * gcc.c (do_spec_1): Catch the case where %* is used in a
5195         substitution pattern, but it has not been initialised.
5196         Issue a meaningful error message if an unrecognised operator
5197         is encountered in a spec string.
5198
5199 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
5200
5201         * function.c (prepare_function_start): Correctly initialize
5202         cfun->stack_alignment_needed.
5203
5204 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
5205
5206         * cppfiles.c (find_include_file): Don't assume nshort is a
5207         substring of name.
5208
5209 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
5210
5211         * configure.in (hppa configurations): Add pa32-regs.h to the
5212         list of tm files as appropriate.
5213         * configure: Rebuilt.
5214         * pa.c (compute_frame_size): Remove explicit knowledge about FP
5215         register numbering.
5216         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
5217         (fmpyaddoperands, fmpysuboperands): Likewise.
5218         * pa.h: Remove various definitions which depend on knowing
5219         how registers are numbered.
5220         * pa32-regs.h: New file with PA32 register numbering specific
5221         definitions.
5222
5223 2000-03-14  Richard Henderson  <rth@cygnus.com>
5224
5225         * regmove.c (combine_stack_adjustments): New.
5226         (stack_memref_p, single_set_for_csa): New.
5227         (free_csa_memlist, record_one_stack_memref): New.
5228         (try_apply_stack_adjustment): New.
5229         (combine_stack_adjustments_for_block): New.
5230         * rtl.h (combine_stack_adjustments): Declare.
5231         * toplev.c (rest_of_compilation): Call it.
5232
5233         * i386.md: Revert 2000-01-16 change.
5234
5235 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5236
5237         * gccbug.in: Add web category, gcc specific classes.
5238
5239 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
5240
5241         * stor-layout.c (finalize_record_size): Fix typo.
5242
5243 2000-03-14  Stan Shebs  <shebs@apple.com>
5244
5245         * c-typeck.c (c_alignof): Error on incomplete types.
5246         * extend.texi (Alignment): Document this.
5247
5248 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5249
5250         * cppfiles.c: Include mkdeps.h.
5251         (find_include_file, read_include_file): Remove _cpp_ prefix
5252         from name, make static.
5253         (_cpp_execute_include): New function, broken out of
5254         do_include.
5255
5256         * cpplib.c: Don't include mkdeps.h.
5257         (struct directive): Remove type field. Reorder entries.  The
5258         function takes only one argument.
5259         (struct if_stack): Make type field an int.
5260         (directive_table): Rename to dtable.  Generate it, the
5261         prototypes of the directive handlers, and the enum for the
5262         directive numbers, from a template macro.
5263         (do_ifndef, do_include_next, do_import): New functions.
5264         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
5265         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
5266         do_ident, do_assert, do_unassert, do_sccs): Take only one
5267         argument.
5268         (do_sccs): Define always, but alter behavior based on
5269         SCCS_DIRECTIVE.
5270         (_cpp_handle_directive, consider_directive_while_skipping):
5271         Restructure for new directive table layout.
5272
5273         (pass_thru_directive): Take a directive number, not a pointer
5274         to a struct directive.
5275         (parse_include): New function, broken out of do_include.
5276         (do_include, do_import, do_include_next): Use parse_include
5277         and _cpp_execute_include.
5278         (do_elif, do_else): Test for T_ELSE specifically when checking
5279         for #elif/#else after #else.
5280         (parse_ifdef): New function, broken out of do_ifdef.
5281         (validate_else): Expect a name arg without a leading #.
5282         (if_directive_name): Delete.
5283         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
5284         directive handlers with only one argument.
5285
5286         * cpphash.h: Update prototypes.
5287         (enum node_type): Remove entries for directives.
5288         * Makefile.in: Update dependencies.
5289
5290         * cpphash.c (dump_hash_helper): Only dump nodes of type
5291         T_MACRO.  Emit a newline after each definition.
5292
5293 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5294
5295         * gccbug.in: New file.
5296         * configure.in (all_outputs): Add gccbug.
5297         * Makefile.in (install-common): Install gccbug.
5298         (GCCBUG_INSTALL_NAME): New variable.
5299         * configure: Rebuilt.
5300         
5301 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5302
5303         * function.c (put_var_into_stack): Use type_for_mode to calculate
5304         part_type.  Use MEM_SET_IN_STRUCT_P.
5305         * expr.c (store_field): Handle CONCAT.
5306         (store_constructor): Use fields_length.
5307         * tree.c (fields_length): New fn.
5308         * tree.h: Declare it.
5309
5310 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5311
5312         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
5313         (cpplex.o): New target.
5314         * po/POTFILES.in: Add cpplex.c.
5315
5316         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
5317         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
5318         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
5319         skip_block_comment, skip_line_comment, skip_comment,
5320         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
5321         _cpp_parse_name, skip_string, parse_string,
5322         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
5323         _cpp_get_directive_token, find_position,
5324         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
5325         (maybe_macroexpand, _cpp_lex_token): New functions.
5326
5327         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
5328         parse_goto_mark): Delete.
5329         (_cpp_handle_eof): New function.
5330         (_cpp_handle_directive): Rename from handle_directive.
5331         (_cpp_output_line_command): Rename from output_line_command.
5332         (do_if, do_elif): Call _cpp_parse_expr directly.
5333         * cppfiles.c (_cpp_read_include_file): Don't call
5334         init_input_buffer here.
5335         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
5336         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
5337         here; pop the token_buffer and skip the rest of the line here.
5338         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
5339         here.
5340
5341         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
5342         Define here.
5343         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
5344         CPP_GOTO_MARK): New macros.
5345         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
5346         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
5347         _cpp_read_and_prescan, _cpp_init_input_buffer,
5348         _cpp_grow_token_buffer, _cpp_get_directive_token,
5349         _cpp_handle_directive, _cpp_handle_eof,
5350         _cpp_output_line_command): Prototype them here.
5351         * cpplib.h (enum cpp_token): Add CPP_MACRO.
5352         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
5353         quote_string, output_line_command): Remove.
5354
5355 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
5356
5357         * stmt.c (expand_end_case): RANGE may be signed, and when checking
5358         whether it is too large we must also verify that it isn't negative.
5359
5360 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
5361
5362         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
5363         (movsi_zero_liveg0): Remove.
5364         (movsf_insn_novis_liveg0): Remove.
5365         (negsi2): Remove.
5366         (negsi2_not_liveg0): Rename to negsi2.
5367         (one_cmplsi2): Remove.
5368         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
5369         (one_cmplsi2_liveg0): Remove.
5370         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
5371         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
5372         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
5373         (PREDICATE_CODES): Remove zero_operand.
5374         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
5375         TARGET_BROKEN_SAVERESTORE.
5376         (zero_operand): Remove.
5377         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
5378         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
5379         options.
5380         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
5381         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
5382         TARGET_BROKEN_SAVERESTORE): Remove.
5383         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5384         Remove.
5385         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5386         Remove.
5387         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5388         Remove.
5389
5390         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
5391
5392 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5393
5394         * cpplib.c (do_pragma_implementation): Fix off-by-one error
5395         truncating a string.  Don't assume tokens are nul terminated.
5396         Problem noted by Andreas Jaeger <aj@suse.de>
5397
5398 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5399
5400         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
5401         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
5402         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
5403
5404 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
5405
5406         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
5407         STRUCTURE_SIZE_BOUNDARY.
5408
5409 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
5410
5411         * tree.h (record_layout_info_s): New structure.
5412         (record_layout_info): New type.
5413         (new_record_layout_info): New function.
5414         (layout_field): Likewise.
5415         (finish_record_layout): Likewise.
5416         * stor-layout.c (layout_record): Remove.
5417         (new_record_layout_info): New function.
5418         (layout_field): New function, broken out from layout_record.
5419         (finalize_record_size): Likewise.
5420         (compute_record_mode): Likewise.
5421         (finalize_type_size): New function, broken out from layout_type.
5422         (finish_record_layout): Likewise.
5423         (layout_type): Use them.
5424         
5425 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5426
5427         * cpphash.c: Don't include version.h.
5428         (special_symbol) [case T_VERSION]: Look for the string in
5429         hp->value.cpval; don't use version_string.
5430         * cppinit.c (initialize_builtins): Set hp->value.cpval for
5431         __VERSION__ to version_string.
5432         * Makefile.in (cpphash.o): Update deps.
5433
5434 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5435
5436         Convert cpplib to use libiberty/hashtab.c.
5437
5438         * cpplib.h (struct cpp_reader): Make hashtab and
5439         all_include_files of type 'struct htab *'.  Delete HASHSIZE
5440         and ALL_INCLUDE_HASHSIZE macros.
5441
5442         * cpphash.h: Update prototypes.
5443         (struct hashnode): Remove next, prev, and bucket_hdr members.
5444         Make length a size_t.  Add hash member.
5445         (struct ihash): Remove next member.  Add hash member.  Make
5446         name a flexible array member.
5447
5448         * cppfiles.c: Include hashtab.h.
5449         (include_hash): Delete.
5450         (IHASHSIZE): New macro.
5451         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
5452         (cpp_included): Do the hash lookup here.
5453         (_cpp_find_include_file): Rewrite.
5454         (cpp_read_file): Put the "fake" hash entry into the hash
5455         table.  Honor the control_macro, if it turns out we've seen
5456         the file before.  Don't push the buffer here.
5457         (_cpp_read_include_file): Push the buffer here.
5458         (OMODES): New macro.  Use it whenever we call open(2).
5459
5460         * cpphash.c: Include hashtab.h.
5461         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
5462         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
5463         _cpp_lookup_slot): New functions.
5464         (HASHSIZE): new macro.
5465         (hashf, _cpp_install, _cpp_delete_macro): Delete.
5466         (_cpp_lookup): Use hashtab.h routines.
5467
5468         * cppinit.c: Include hashtab.h.
5469         (cpp_reader_init): Call _cpp_init_macro_hash and
5470         _cpp_init_include_hash.  Don't allocate hashtab directly.
5471         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
5472         pfile->all_include_files.
5473         (initialize_builtins): Use _cpp_make_hashnode and
5474         htab_find_slot to add hash entries.
5475         (cpp_finish): Just call _cpp_dump_macro_hash.
5476         * cpplib.c: Include hashtab.h.
5477         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
5478         create hash entries.
5479         (do_pragma_poison, do_assert): Likewise.
5480         (do_include): Don't push the buffer here.  Don't increment
5481         system_include_depth unless _cpp_read_include_file succeeds.
5482         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
5483         or htab_remove_elt.
5484         (do_pragma_implementation): Use alloca to create copy.
5485
5486         * Makefile.in: Update dependencies.
5487
5488 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5489
5490         * cppinit.c (cl_directive_handler): More K&R fixing.
5491
5492 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
5493
5494         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
5495         STACK_BOUNDARY.
5496         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
5497
5498 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5499
5500         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
5501         Change from char[] to macros.
5502
5503 2000-03-12  Neil Booth  <NeilB@earthling.net>
5504
5505         * cppinit.c (cpp_start_read): Update indirect function
5506         call to K&R C.
5507
5508 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
5509
5510         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
5511         entry.
5512
5513         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5514         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
5515
5516 2000-03-11  Neil Booth  <NeilB@earthling.net>
5517
5518         * cppinit.c (struct pending option): Replace undef with a 
5519         pointer to a directive handling routine.
5520         (struct cpp_pending): Replace separate assert_ and define_ 
5521         lists with one directive_ list.
5522         (new_pending_define): Rename new_pending_directive. Extra
5523         argument is the directive's handling routine.
5524         (handle_option): Update to use new_pending_directive.
5525
5526 2000-03-11  Neil Booth  <NeilB@earthling.net>
5527
5528         * cppfiles.c (file_cleanup, _cpp_find_include_file,
5529         remap_filename, _cpp_read_include_file, actual_directory,
5530         hack_vms_include_specification): Replace bcopy(), index() etc
5531         calls.  Add casts to some allocations.  Make some variables
5532         pointers to const [unsigned] char.
5533         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
5534         collect_formal_parameters): Similarly.
5535         * cppinit.c (struct pending_option, append_include_chain,
5536         cpp_options_init, cpp_reader_init, initialize_standard_includes,
5537         cpp_start_read, new_pending_define, handle_option): Similarly.
5538         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
5539         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
5540         do_pragma_implementation, detect_if_not_defined,
5541         do_ifdef, skip_if_group, cpp_get_token, parse_string,
5542         do_assert, do_unassert): Similarly.
5543         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
5544         function prototypes.
5545         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
5546
5547 2000-03-10  Richard Henderson  <rth@cygnus.com>
5548
5549         * builtins.c (expand_builtin_strlen): Revert last change.
5550         Use emit_insn_before if we're at the beginning of a sequence.
5551
5552 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
5553
5554         * builtins.c (expand_builtin_strlen): Make sure that we have something
5555         at the beginning of the sequence.
5556
5557         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
5558         deferred inlines.
5559
5560         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
5561
5562 2000-03-10  Richard Henderson  <rth@cygnus.com>
5563
5564         * except.c (can_throw): Use INTVAL on a CONST_INT.
5565         (reachable_handlers): Likewise.
5566         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
5567
5568 2000-03-10  Andreas Jaeger  <aj@suse.de>
5569
5570         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
5571         MD_STARTFILE_PREFIX since those are not needed on linux.
5572         (ASM_FILE_START): New, from mips/gnu.h.
5573
5574 2000-03-09  Richard Henderson  <rth@cygnus.com>
5575             Alex Samuel  <samuel@codesourcery.com> and others
5576         
5577         * Makefile.in (ssa.o): New rule.
5578         (OBJS): Add ssa.o.
5579         (STAGESTUFF): Add *.ssa and *.ussa.
5580         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
5581         * rtl.def (PHI): New RTL expression.
5582         * rtl.h (clear_log_links): New declaration.
5583         (convert_to_ssa): Likewise.
5584         (convert_from_ssa): Likewise.
5585         * flow.c (split_edge): If the entry node falls through to the
5586         split edge's source block, split the entry edge.
5587         (clear_log_links): New function.
5588         * toplev.c (ssa_dump): New variable.
5589         (flag_ssa): Likewise.
5590         (f_options): Add "ssa".
5591         (compile_file): Create SSA dump files.
5592         (rest_of_compilation): Go to and from SSA if enabled.
5593         (decide_d_option): Handle -de for SSA dump files.
5594         * ssa.c: New file.
5595         
5596 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
5597
5598         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
5599         same as VAR_DECL.
5600
5601 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
5602
5603         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
5604
5605 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
5606
5607         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
5608         (MD_STARTFILE_PREFIX_1): New macro.
5609
5610 2000-03-09  Robert Lipe  <robertl@sco.com>
5611
5612         * config/ia64/ia64.c: Include system.h.
5613
5614 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5615
5616         * except.c (nothrow_function_p): If -fno-exceptions, just return.
5617         (init_eh_nesting_info): Likewise.
5618
5619         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
5620         (TREE_NOTHROW): Rename from TREE_RAISES.
5621         * toplev.c (rest_of_compilation): Set it.
5622         * print-tree.c (print_node): Adjust.
5623         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
5624         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
5625         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
5626         REG_EH_REGION note as appropriate.
5627         (libfunc_nothrow): New fn.
5628         (emit_library_call, emit_library_call_value): Use it.
5629         (expand_call): Check TREE_NOTHROW.
5630
5631         * varasm.c (make_decl_rtl): Skip initial '*' when setting
5632         DECL_ASSEMBLER_NAME.
5633
5634 2000-03-09  Andreas Jaeger  <aj@suse.de>
5635
5636         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
5637         (TARGET_MEM_FUNCTIONS): Define.
5638
5639 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5640
5641         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
5642
5643         * except.c (can_throw): See through a SEQUENCE.
5644         (nothrow_function_p): New fn.
5645         * except.h: Declare it.
5646         * function.c (current_function_nothrow): New var.
5647         (prepare_function_start): Initialize it.
5648         * output.h: Declare it.
5649         * toplev.c (rest_of_compilation): Set it.
5650         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
5651
5652 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
5653
5654         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
5655         match.  (cpp_compare_defs): Count the nul separator when
5656         advancing over argument names.
5657
5658 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
5659
5660         * recog.c (preprocess_constraints): Matching constraints affect
5661         same alternative/different operand, not same operand/different
5662         alternative.
5663         
5664         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
5665         register and a constant specially.
5666
5667 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5668
5669         * libgcc2.h: New file.
5670         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
5671
5672 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
5673
5674         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
5675         * configure: Regenerate.
5676         * config/ia64: New.
5677
5678 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5679
5680         * Makefile.in (LIBCPP_DEPS): New macro.
5681         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
5682         it to declare deps.
5683         * cpperror.c: Include cpphash.h.
5684         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
5685         dingleberry.
5686         (lex): Don't use CPP_WARN_UNDEF.
5687         (_cpp_parse_expr): Return an int, the truth value.
5688         * cppfiles.c: Include cpphash.h.
5689         (_cpp_merge_include_chains): Move to cppinit.c and make static.
5690         * cppinit.c (include_defaults_array): Disentangle.
5691         (cpp_cleanup): Don't free the if stack here.
5692         (cpp_finish): Pop off all buffers, not just one.
5693         * cpplib.c (eval_if_expr): Return int.
5694         (do_xifdef): Rename do_ifdef.
5695         (handle_directive): Don't use CPP_PREPROCESSED. 
5696         (cpp_get_token): Don't use CPP_C89.
5697         * fix-header.c: Don't use CPP_OPTIONS.
5698
5699         * cpplib.h: Move U_CHAR, enum node_type, struct
5700         file_name_list, struct ihash, is_idchar, is_idstart,
5701         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
5702         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
5703         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
5704         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
5705         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
5706         of _cpp_simplify_pathname, _cpp_find_include_file,
5707         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
5708         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
5709         cppinit.c.
5710         Change all uses of U_CHAR to be unsigned char instead.
5711         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
5712
5713 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5714
5715         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
5716         (dwarf2out_begin_prologue): Set it.
5717         (output_call_frame_info): Don't emit EH unwind info for leaves.
5718
5719         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
5720         can occur outside of an EH region.
5721         * except.c: Correct comments about rethrow behavior.
5722         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
5723
5724 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
5725
5726         * flow.c (make_edges): Always call make_eh_edge for calls.
5727
5728 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5729
5730         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
5731         (struct cpp_buffer): Remove fname and underflow fields.
5732         (struct cpp_reader): Remove get_token field.
5733         (struct include_hash): Rename to struct ihash.  Add typedef to
5734         IHASH.
5735         (struct if_stack): Remove fname field.
5736         (IF_STACK_FRAME): Rename to IF_STACK.
5737
5738         * cpperror.c (print_containing_files): Trust that there are no
5739         macro buffers below the top file buffer.
5740         * cppfiles.c: Replace all references to 'struct include_hash'
5741         with 'IHASH'.  Rename initialize_input_buffer to
5742         init_input_buffer.  Don't set or reference cpp_buffer->fname,
5743         use buffer->ihash->name instead.
5744         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
5745         not CPP_NULL_BUFFER.
5746         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
5747         IF_STACK_FRAME, IHASH not struct include_hash.
5748         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
5749         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
5750         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
5751         references to cpp_buffer->fname (delete entirely, or use
5752         ->ihash->name instead) and IF_STACK->fname.
5753         (cpp_push_buffer): Don't set new->underflow.
5754         (do_include): Use cpp_file_buffer.
5755
5756         * cpphash.c (collect_formal_parameters): Remove duplicate
5757         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
5758         used as a macro argument name.  Don't append "..." to namebuf
5759         for varargs macros.  After we're done scanning, go through
5760         namebuf and make it NUL separated, not comma separated.
5761         (_cpp_compare_defs): Remove register tag from variables.
5762         Expect defn->argnames to be NUL separated.
5763         (_cpp_dump_definition): Expect defn->argnames to be NUL
5764         separated and in forward order.
5765         * cpphash.h: Update documentation of argnames field.
5766
5767 2000-03-08  Richard Henderson  <rth@cygnus.com>
5768
5769         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
5770         to fail.  Don't pre-expand the source operand.
5771
5772         * i386.md (strlensi): Initialize eoschar and align before use.
5773
5774 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5775
5776         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
5777         CONSTRUCTOR element.
5778
5779 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
5780
5781         * mips.c (mips_expand_prologue): If the last 
5782         named argument is the vararg marker "va_list", treat it as
5783         an unnamed argument.
5784
5785 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
5786
5787         * dbxout.c (dbxout_parms): When correcting for promoted 
5788         big-endian parameters, use the mode of the DECL_RTL rather 
5789         than UNITS_PER_WORD.
5790
5791 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
5792
5793         * c-common.h (make_fname_decl): Declare.
5794         * c-common.c (make_fname_decl): Define.
5795         (declare_hidden_char_array): Remove.
5796         (declare_function_name): Use make_fname_decl.
5797         * c-decl.c (c_make_fname_decl): New function.
5798         (init_decl_processing): Set make_fname_decl.
5799
5800 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
5801
5802         * cccp.c (handle_directive): Initialize backslash_newlines_p.
5803
5804 2000-03-07  Philipp Thomas  <pthomas@suse.de>
5805
5806         * po/POTFILES.in: Remove cppalloc.c from file list.
5807
5808 2000-03-07  Steve Chamberlain  <sac@pobox.com>
5809
5810         * pj.c (pj_expand_prologue): current_function->args_info is
5811         now current_function_args_info.  
5812
5813         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
5814         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
5815         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
5816
5817 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5818
5819         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
5820         output as hexadecimal rather than the default octal.
5821
5822 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5823
5824         * cpphash.c (special_symbol): Fix thinko in previous commit.
5825
5826 2000-03-07  Neil Booth  <NeilB@earthling.net>
5827
5828         * cppexp.c (struct operation, left_shift, right_shift,
5829         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
5830         "int"s to "unsigned int"s.
5831         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
5832         Similarly.
5833         * cpplib.h: Update for above.
5834         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
5835         returned from allocations.
5836
5837         * cppinit.c (opt_comp, parse_options): New functions.
5838         (handle_option): Use parse_option to parse a single command
5839         line option, that possibly takes an argument.
5840         (cpp_handle_options): Sort the array of command line options on
5841         first invocation (non-ASCII hosts only).
5842         (print_help): Update.
5843
5844 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5845
5846         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
5847         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
5848         
5849         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
5850         initialized.
5851         * cppinit.c (cpp_cleanup): Free imp->nshort also.
5852
5853         * cpperror.c (cpp_print_containing_files,
5854         cpp_print_file_and_line, v_cpp_message): Rename to
5855         print_containing_files, print_file_and_line, and v_message.
5856         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
5857         to _cpp_parse_expr, parse_escape, and lex.
5858         (parse_charconst): Remove broken multibyte support.
5859         * cppfiles.c (include_hash): Make static.
5860         (cpp_included): New function.
5861         (merge_include_chains, find_include_file, finclude,
5862         simplify_pathname): Rename to _cpp_merge_include_chains,
5863         _cpp_find_include_file, _cpp_read_include_file, and
5864         _cpp_simplify_pathname.
5865         * cpphash.c (cpp_lookup, free_definition, delete_macro,
5866         cpp_install, create_definition, macroexpand, compare_defs,
5867         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
5868         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
5869         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
5870         * cppinit.c (cpp_handle_option): Rename to handle_option, make
5871         static.
5872         * cpplib.c: Remove extern prototype of cpp_parse_expr.
5873
5874         * cpphash.h: Update prototypes.
5875         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
5876
5877 2000-03-07  Andrew Haley  <aph@cygnus.com>
5878
5879         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
5880         PTRDIFF_TYPE should be based solely on Pmode.
5881         (SIZE_TYPE): ditto.
5882
5883 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5884
5885         * rtl.h (rtunion_def): Constify member `rtstr'.
5886         (emit_line_note_after, emit_line_note, emit_line_note_force,
5887         emit_note, decode_asm_operands): Constify.
5888         
5889         * cse.c (canon_hash): Likewise.
5890
5891         * dbxout.c (dbxout_block): Likewise.
5892
5893         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5894         v_warning_for_asm): Likewise.
5895
5896         * dwarfout.c (function_start_label): Likewise.
5897
5898         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5899         emit_line_note_force): Likewise.
5900
5901         * final.c (last_filename, asm_insn_count, final_scan_insn,
5902         output_source_line): Likewise.
5903
5904         * function.h (struct emit_status): Likewise.
5905
5906         * gcse.c (hash_expr_1): Likewise.
5907
5908         * genattr.c (gen_attr, main): Likewise.
5909
5910         * genattrtab.c (struct function_unit, current_alternative_string,
5911         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5912         attr_numeral, check_attr_test, check_attr_value,
5913         convert_set_attr_alternative, convert_set_attr,
5914         compute_alternative_mask, simplify_by_exploding, gen_attr,
5915         gen_unit): Likewise.
5916
5917         * genflags.c (gen_insn): Likewise.
5918
5919         * gengenrtl.c (type_from_format): Likewise.
5920
5921         * genopinit.c (gen_insn): Likewise.
5922
5923         * genoutput.c (n_occurrences, process_template, process_template):
5924         Likewise.
5925
5926         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5927         Likewise.
5928
5929         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5930         Likewise.
5931
5932         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5933         ggc_set_mark, ggc_get_size): Likewise.
5934
5935         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5936
5937         * optabs.c (init_one_libfunc): Likewise.
5938
5939         * output.h (assemble_start_function): Likewise.
5940
5941         * recog.c (decode_asm_operands): Likewise.
5942
5943         * toplev.c (rest_of_compilation): Likewise.
5944
5945         * tree.h (emit_line_note_after, emit_line_note,
5946         emit_line_note_force): Likewise.
5947
5948         * varasm.c (asm_output_bss, asm_output_aligned_bss,
5949         asm_emit_uninitialised, assemble_start_function,
5950         assemble_variable, const_hash, compare_constant_1,
5951         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5952
5953         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5954
5955         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5956
5957         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5958
5959         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5960
5961         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5962         arm_dllimport_name_p): Likewise.
5963
5964         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5965         Likewise.
5966
5967         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5968
5969         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5970
5971         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5972         arm_mark_dllexport, arm_mark_dllimport,
5973         arm_pe_encode_section_info): Likewise.
5974
5975         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5976         ASM_FINISH_DECLARE_OBJECT): Likewise.
5977
5978         * arm/thumb.c (thumb_function_prologue): Likewise.
5979
5980         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5981
5982         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5983
5984         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5985
5986         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5987
5988         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5989
5990         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5991
5992         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5993         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5994
5995         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5996
5997         * i386/i386.c (asm_output_function_prefix): Likewise.
5998
5999         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
6000
6001         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6002
6003         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
6004
6005         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
6006         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
6007         ASM_OUTPUT_SECTION_NAME): Likewise.
6008
6009         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
6010
6011         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
6012
6013         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
6014
6015         * m32r/m32r.c (m32r_encode_section_info): Likewise.
6016
6017         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6018
6019         * mcore/mcore.c (mcore_encode_section_info): Likewise.
6020
6021         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6022
6023         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6024
6025         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6026
6027         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
6028
6029         * mips/mips.md (movdi, movsi): Likewise.
6030
6031         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6032
6033         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6034
6035         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6036
6037         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6038         ASM_OUTPUT_ASCII): Likewise.
6039
6040         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
6041         output_mi_thunk, output_toc): Likewise.
6042
6043         * rs6000/rs6000.md (movsi): Likewise.
6044
6045         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
6046
6047         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
6048
6049         * v850/v850.c (print_operand, print_operand_address,
6050         v850_encode_data_area): Likewise.
6051
6052 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
6053         
6054         * config/mips/mips.md (zero_extendsidi2): Always force operand
6055         one to memory for mips16.
6056
6057 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6058
6059         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
6060         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
6061         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
6062         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
6063         (min_precision): Result is unsigned.
6064         (add_double, neg_double, mul_double): Low word is unsigned.
6065         (lshift_double, rshift_double, lrotate_double): Likewise.
6066         (rrotate_double, div_and_round_double): Likewise.
6067         (tree_floor_log2, compare_tree_int): New functions.
6068         (preserve_rtl_expr_temps): New declaration.
6069         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
6070         (decl_attributes): Use tree_log2 to find alignment.
6071         Check for TREE_INT_CST_HIGH for format args.
6072         (min_precision): Now unsigned.
6073         Use tree_floor_log2.
6074         (truthvalue_conversion): Delete long-disabled code.
6075         * c-decl.c (finish_struct): Clean up tests on field width.
6076         (finish_function): Use compare_tree_int.
6077         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
6078         * c-typeck.c (comptypes): Use tree_int_cst_equal.
6079         (default_conversion, digest_init): Use compare_tree_int.
6080         (build_binary_op): Use integer_all_onesp and compare_tree_int.
6081         Fix type errors in forming masks.
6082         * calls.c (initialize_argument_information): Use compare_tree_int.
6083         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6084         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
6085         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
6086         (store_field): Use compare_tree_int.
6087         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
6088         (expand_expr, case ARRAY_REF): Use compare_tree_int.
6089         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
6090         (do_store_flag): Use compare_tree_int.
6091         * fold-const.c (encode, decode): Low part is always unsigned.
6092         (force_fit_type, add_double, neg_double, mul_double): Likewise.
6093         (lshift_double, rshift_double, lrotate_double): Likewise.
6094         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
6095         (fold_convert): Use compare_tree_int.
6096         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
6097         (invert_truthvalue, case INTEGER_CST): Likewise.
6098         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
6099         * mkdeps.c (deps_dummy_targets): Make I unsigned.
6100         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
6101         (lshift_double, rshift_double, lrotate_double, rrotate_double):
6102         Likewise.
6103         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
6104         (expand_end_case): Use compare_tree_int.
6105         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6106         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
6107         (layout_decl): Likewise.
6108         (layout_record, layout_union): Make sizes unsigned.
6109         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
6110         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
6111         * tree.c (struct type_hash): hashcode is unsigned.
6112         (build_type_attribute_variant, type_hash_list): Likewise.
6113         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
6114         (attribute_hash_list, build_array_type, build_method_type): Likewise.
6115         (build_complex_type): Likewise.
6116         (real_value_from_int_cst): Remove unneeded casts.
6117         (integer_all_onesp): Add casts.
6118         (tree_floor_log2, compare_tree_int): New functions.
6119         (build_index_type): Use tree_int_cst_sgn.
6120         * varasm.c (assemble_variable): Use compare_tree_int.
6121
6122 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
6123
6124         * cpphash.c (collect_expansion): Also catch ## at start of macro.
6125
6126         * varasm.c (make_decl_rtl): Don't add a number to members of
6127         local classes.
6128         (make_function_rtl): Likewise.
6129
6130 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6131
6132         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
6133         patch from 2000-01-28.
6134
6135 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
6136
6137         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
6138         filled with an insn from the jump target.
6139
6140 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6141
6142         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
6143         (c4x_external_ref): Likewise.
6144         * config/c4x/c4x.c (struct name_list): Likewise.
6145
6146 1999-12-16  Ben Collins  <bcollins@debian.org>
6147
6148         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
6149         argument to genmultilib.
6150         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
6151         the contents into the multilib.h header.
6152         * gcc.c: Declare multilib_exclusions for the specs file.
6153         (set_multilib_dir): Use it.
6154         (print_multilib_info): Likewise.
6155         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
6156         to pass to genmultilib.
6157
6158 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6159
6160         * builtins.c (built_in_class_names, built_in_names): Constify a
6161         char*.
6162
6163         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
6164         int.
6165         (_mcleanup): Ensure value matches format specifier in sprintf.
6166
6167         * cpphash.c (special_symbol): Don't needlessly cast away
6168         const-ness.
6169
6170         * cppinit.c (base_name): Delete unused prototype.
6171
6172         * mkdeps.c (deps_init): Make definition K&R safe.
6173
6174         * tree.h (built_in_class_names, built_in_names): Constify a
6175         char*.
6176
6177 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
6178
6179         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
6180         floating point instructions for epilogue delay.
6181
6182         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
6183         to gas if it supports .register pseudo.
6184
6185         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
6186         LONG_DOUBLE_TYPE_SIZE if not defined.
6187         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
6188         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
6189         * real.c: Likewise.
6190         * gengenrtl.c: Likewise.
6191         * print-rtl.c: Likewise.
6192         * rtl.c: Likewise.
6193         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
6194         MASK_LONG_DOUBLE_128.
6195         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
6196         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
6197         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
6198         (SUBTARGET_SWITCHES): Define.
6199         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
6200         with -mlong-double-128.
6201         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6202         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6203         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6204         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
6205         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
6206         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
6207         with -mlong-double-128.
6208         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6209         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6210         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6211         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
6212         TARGET_LONG_DOUBLE_128): Define.
6213         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
6214         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
6215         long double on TARGET_ARCH64.
6216
6217 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
6218
6219         * function.c (free_temps_for_rtl_expr): Don't free slots
6220         that have been pushed into a higher level.
6221         
6222         Revert this patch:
6223         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6224
6225 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6226
6227         * basic-block.h (ALLOCA_REG_SET): Remove.
6228         (INITIALIZE_REG_SET): New macro.
6229         * flow.c (update_life_info): Use it.
6230         (calculate_global_regs_live): Likewise.
6231         (propagate_block): Likewise.
6232         * global.c (build_insn_chain): Likewise.
6233         * haifa-sched.c (schedule_region): Likewise.
6234
6235 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
6236
6237         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
6238         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
6239         (DWARF_ARANGES_PAD_SIZE): New define.
6240         (output_aranges): Use it to pad the address range header.
6241         (DWARF_ROUND): Fix for non power of 2 rounding.
6242
6243 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
6244
6245         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
6246
6247 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6248
6249         * tree.def (RTL_EXPR): Update documentation.
6250         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
6251         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
6252         * function.c (preserve_rtl_expr_temp): New function.
6253         (preserve_rtl_expr_temps): Likewise.
6254         (preserve_rtl_expr_result): Use it.
6255
6256         Revert this patch:
6257         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6258
6259 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
6260
6261         * regmove.c (copy_src_to_dest)  Do not create src->dest move
6262         for unchanging destination.
6263
6264 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6265
6266         * function.h (struct sequence_stack): Remove rtl_expr.
6267         (struct emit_staus): Likewise.
6268         (seq_rtl_expr): Remove.
6269         * tree.h (free_temps_for_rtl_expr): Don't declare.
6270         (start_sequence_for_rtl_expr): Likewise.
6271         * rtl.h (preserve_rtl_expr_result): Likewise.
6272         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
6273         (start_sequence_for_rtl_expr): Remove.
6274         (push_topmost_sequence): Don't save sequence_rtl_expr.
6275         (pop_topmost_sequence): Remove comment about not restoring it.
6276         (end_sequence): Don't set seq_rtl_expr.
6277         (init_emit): Don't initialize it.
6278         (mark_sequence_stack): Don't mark it.
6279         (mark_emit_status): Likewise.
6280         * except.c (protect_with_terminate): Use
6281         start_sequence_for_rtl_expr, not start_sequence.
6282         * expr.c (expand_expr, case RTL_EXPR): Don't call
6283         preserve_rtl_expr_result or free_temps_for_rtl_expr.
6284         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
6285         (preserve_rtl_expr_result): Remove.
6286         (free_temps_for_rtl_expr): Likewise.
6287         (pop_temp_slots): Likewise.
6288         (mark_temp_slot): Don't mark the rtl_expr.
6289         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
6290         start_sequence_for_rtl_expr.
6291         
6292 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
6293
6294         * mkdeps.c, mkdeps.h: New files.
6295         * po/POTFILES.in: Add them.
6296         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
6297         (cpplib.o, cppinit.o): Depend on mkdeps.h.
6298         (mkdeps.o): New target.
6299
6300         * cppfiles.c: Delete deps_output.
6301         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
6302         OBJECT_SUFFIX, and base_name.
6303         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
6304         the include hash.
6305         (initialize_dependency_output): Use deps_init,
6306         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
6307         all the unnecessary string bashing.
6308         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
6309         level.
6310         * cpplib.c (do_include): Use deps_add_dep.
6311         * cpplib.h (struct cpp_reader): Replace deps_buffer,
6312         deps_allocated_size, deps_size, deps_column members with
6313         single pointer to a struct deps.  Delete prototype of
6314         deps_output.
6315
6316         * cppinit.c: Fix thinko in previous patch.
6317
6318 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6319
6320         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
6321         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
6322         (mode_for_size_tree): New function.
6323         (layout_decl, layout_type): Call it and clean up BLKmode checks.
6324         * tree.h (mode_for_size_tree): New declaration.
6325         
6326         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
6327
6328 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
6329
6330         * stmt.c (is_body_block): Move...
6331         * dwarfout.c, dwarf2out.c: ...from here.
6332         * tree.h: Declare it.
6333         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
6334         * final.c (final_start_function): Do call remove_unnecessary_notes
6335         when scheduling.
6336
6337 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
6338
6339         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
6340         
6341         * cpplib.h (_dollar_ok): New macro.
6342         (is_idchar, is_idstart): Use it.
6343         (IStable): Rename to _cpp_IStable.  Declare it const if
6344         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
6345         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
6346         is_space): Update for renamed IStable.
6347
6348         * cppinit.c: Delete all references to FAKE_CONST and CAT
6349         macros. Define init_IStable as empty macro if gcc >=2.7 or
6350         C99. Change TABLE() to ISTABLE and hardcode name of table.
6351         (cpp_start_read): Don't change the IStable based on
6352         dollars_in_ident.
6353
6354         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
6355         changed.  Handle '$' for char1 correctly.
6356         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
6357
6358         * cppexp.c (tokentab2): Make const.
6359         (cpp_lex): Make toktab const.
6360         * cppinit.c (include_defaults_array): Make const.
6361         (initialize_standard_includes): Make default_include const.
6362
6363 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6364
6365         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
6366         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
6367         (gen_decl_die): Likewise.
6368         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
6369         (output_decl): Likewise.
6370
6371         * varasm.c (make_function_rtl): If we change the name used in the
6372         rtl, update DECL_ASSEMBLER_NAME accordingly.
6373         (make_decl_rtl): Likewise.
6374
6375         * toplev.c (rest_of_compilation): Tweak formatting.
6376
6377         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
6378         remove_unnecessary_notes.
6379         (debug_ignore_block): New fn.
6380         * toplev.h: Declare it.
6381         * emit-rtl.c (remove_unncessary_notes): Call it.
6382         * dwarf2out.c (dwarf2out_ignore_block): New fn.
6383         * dwarf2out.h: Declare it.
6384         * final.c (final_start_function): Don't call remove_unnecessary_notes
6385         if we did insn scheduling.
6386
6387 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
6388
6389         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
6390         * cpplib.h: Delete SET_CPP_PEDANTIC.
6391
6392 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6393
6394         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
6395         result is a RECORD_TYPE.
6396
6397 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6398
6399         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
6400
6401 2000-03-03  Richard Henderson  <rth@cygnus.com>
6402
6403         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
6404         addition over compliments over shifts.
6405
6406 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6407
6408         * reload1.c (reload_combine_note_use): Handle return register USEs.
6409         REG case: Handle multi-hard-register hard regs.
6410
6411 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6412
6413         * md.texi: Document use of '*' in insn pattern name.
6414
6415 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6416
6417         * calls.c (special_function_p): operator new may not be malloc-like.
6418
6419         * gcse.c (dump_hash_table): Really fix error in last change.
6420
6421 2000-03-02  Denis Chertykov  <denisc@overta.ru>
6422
6423         * avr.c (print_operand): Use print_operand_address instead of
6424         output_addr_const.
6425         * avr/libgcc.S: Cleanup code.
6426
6427 2000-03-02  Richard Henderson  <rth@cygnus.com>
6428
6429         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
6430
6431 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
6432
6433         * tree.h (TYPE_ALIGN_UNIT): New macro.
6434
6435 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
6436
6437         * i386.c: (constant_call_address_operand): Reject CONST_INT.
6438
6439 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
6440
6441         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
6442         for the buffer.
6443         (SET_CPP_PEDANTIC): New macro.
6444         * cpplib.c (do_include): Don't bother checking system_header_p.
6445         (do_warning, do_ident, do_assert, do_unassert): Likewise.
6446         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
6447
6448         * function.h (struct expr_status): Add x_arg_space_so_far.
6449         (arg_space_so_far): New macro.
6450         * expr.c (init_expr): Initialize it.
6451         * calls.c (emit_call_1): Reset it.
6452         (compute_argument_block_size, expand_call): Use it.
6453         (expand_call, store_one_arg): Increment it.
6454
6455 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6456
6457         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
6458         a UNION_TYPE.
6459
6460 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
6461
6462         * cppfiles.c (cpp_read_file): New function.
6463
6464         * cpphash.c (collect_expansion): Make sure to reset last_token
6465         to NORM when we hit a string.  Handle trailing whitespace
6466         properly when the expansion is empty.
6467         (create_definition): Disable line commands while parsing the
6468         directive line.
6469         (dump_definition): If pfile->lineno == 0, output a line
6470         command ahead of the dump, and add a trailing newline.
6471
6472         * cppinit.c (append_include_chain): Add fifth argument, which
6473         indicates whether or not system headers are C++ aware.
6474         (initialize_standard_includes): New function,
6475         broken out of read_and_prescan.  Pass 'cxx_aware' value from
6476         the include_defaults_array on to append_include_chain.
6477         (dump_special_to_buffer): Const-ify char array.
6478         (builtin_array): Don't dump __BASE_FILE__.
6479         (cpp_start_read): Use cpp_read_file.  Reorder code for
6480         clarity.  Don't output line commands here for -D/-A/-U
6481         switches.  Don't call deps_output for files included with
6482         -include or -imacros.
6483
6484         * cpplib.c (do_define): Don't pay any attention to the second
6485         argument.
6486         (cpp_expand_to_buffer): Disable line commands while scanning.
6487         (output_line_command): Work in the file buffer.
6488         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
6489         Fix formatting of comments.  Prototype cpp_read_file.
6490
6491 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6492
6493         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
6494         reference the language-equivalent of sizetype.
6495         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
6496         * fold-const.c (size_binop, size_diffop): Put back checks.
6497         * gcse.c (dump_hash_table): Fix minor error in last change.
6498         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
6499         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
6500         all sizetypes.
6501
6502 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
6503
6504         * calls.c (expand_call)  Do not attempt to combine stack adjustments
6505         with inhibit_defer_pop set.
6506
6507 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
6508
6509         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
6510         the DECL_SIZE for a FIELD_DECL.
6511
6512 2000-03-01  Bruce Korb  <bkorb@gnu.org>
6513
6514         * fixinc/inclhack.tpl: remove unused symlinks
6515         * fixinc/README: GCC Maintainer info
6516         * fixinc/inclhack.sh: regen
6517         * fixinc/fixincl.sh: regen
6518
6519 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
6520
6521         * cpphash.c (collect_expansion): Trim trailing white space
6522         from macro definitions, but don't go past the last insertion
6523         point.
6524
6525 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6526
6527         * i386.md (mulqi3): New pattern.
6528
6529 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
6530
6531         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
6532         token types.
6533         (struct cpp_reader): Add parsing_if_directive and
6534         parsing_define_directive flags.               
6535         (struct cpp_options): Remove output_conditionals flag.
6536         (check_macro_name): Delete prototype.
6537
6538         * cpphash.h (struct macrodef): Delete.
6539         (struct reflist): Separate from struct definition.
6540         (struct definition): Remove unused fields.  Add column number.
6541         (create_definition): Returns a DEFINITION *.  Takes a
6542         cpp_reader * and an int.
6543
6544         * cpphash.c (SKIP_WHITE_SPACE): Delete.
6545         (PEEKC): Copy defn from cpplib.c.
6546         (rest_extension, REST_EXTENSION_LENGTH): Delete.
6547         (struct arg): New.
6548         (struct arglist): Simplify.
6549         (collect_expansion): Rewrite.  Get tokens by calling
6550         cpp_get_token.  Add more error checking.
6551         (collect_formal_parameters): New function, broken out of
6552         create_definition and reworked to use get_directive_token.
6553         (create_definition): All real work is now in collect_expansion
6554         and collect_formal_parameters.  do_define handles finding the
6555         macro name.  Return a DEFINITION, not a MACRODEF.
6556         (macroexpand): Replace bcopy with memcpy throughout.  Replace
6557         character-at-a-time copy loop with memcpy and pointer increments.
6558         (compare-defs): d1->argnames / d2->argnames might be null.
6559
6560         * cpplib.c (copy_rest_of_line): Delete function.
6561         (skip_rest_of_line): Do all the work ourselves.
6562         (skip_string): New function.
6563         (parse_string): Use skip_string.
6564         (get_macro_name): New function.
6565         (check_macro_name): Delete.
6566         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
6567         (cpp_skip_hspace): Use CPP_BUMP_LINE.
6568         (handle_directive): ICE if we're called on a macro buffer.
6569         (do_define): Determine macro name and type (funlike/objlike)
6570         here.  Expunge all uses of MACRODEF.
6571         (cpp_push_buffer): Set line_base to NULL.
6572         (do_undef, read_line_number): Don't worry about getting a POP token.
6573         (eval_if_expression): Set/reset parsing_if_directive around
6574         cpp_parse_expr. Don't clear only_seen_white.
6575         (skip_if_group): Remove output_conditionals logic.  Use
6576         skip_rest_of_line.
6577         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
6578         tokens under appropriate conditions.
6579         (cpp_unassert): Call do_unassert not do_assert.  Oops.
6580
6581         * cppexp.c (parse_defined): New function, break out of
6582         cpp_lex.
6583         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
6584         ourselves, with cpp_defined.
6585         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
6586
6587         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
6588         * gcc.dg/strpaste-2.c: New.
6589
6590 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
6591
6592         * fold-const.c (size_binop): Don't asert inputs are the same and
6593         have TYPE_IS_SIZETYPE set.
6594         (size_diffop): Likewise.
6595
6596 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
6597
6598         * dwarfout.c (output_block): Output abstract blocks even if they
6599         don't have TREE_ASM_WRITTEN set.
6600
6601         * calls.c (emit_library_call): Check for null REG.
6602
6603 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6604
6605         * c-decl.c (current_function_decl): Move to toplev.c.
6606         (init_decl_processing): Don't add current_function_decl as a ggc
6607         root here.
6608         * dbxout.c (dbxout_symbol): Change return type to int.
6609         (dbxout_symbol_location, dbxout_syms): Likewise.
6610         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
6611         any locals. Use current_function_func_begin_label if set.
6612         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
6613         * dwarf2out.c (dwarf2out_begin_prologue): Set
6614         current_function_func_begin_label.
6615         * final.c (final_start_function): Reset it.
6616         * toplev.c (current_function_decl): Define it here.
6617         (current_function_func_begin_label): New variable.
6618         (main): Add both as ggc roots.
6619         * tree.h (current_function_func_begin_label): Declare.
6620
6621 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6622
6623         * gcse.c: Cleanups throughout: mostly white-space, but also
6624         some minor rearrangement of code.
6625
6626 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
6627
6628         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
6629         returns a PARALLEL.  Use emit_group_load and use_group_regs
6630         as needed.  
6631         (emit_library_call_value): Similarly.
6632
6633         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
6634         * pa/quadlib.asm: Remove.
6635         * pa/quadlib.c: New file.
6636
6637         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
6638         * configure: Rebuilt.
6639
6640 2000-02-29  Philip Blundell  <pb@futuretv.com>
6641
6642         * config/arm/conix-elf.h: New file.
6643         * configure.in (arm*-*-conix*): New configuration.
6644         * configure: Regenerate.
6645
6646 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
6647
6648         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
6649         don't have TREE_ASM_WRITTEN set.
6650
6651 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6652
6653         * Eliminate DECL_FIELD_SIZE.
6654         * builtins.c (built_in_class_names, built_in_names): New variables.
6655         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
6656         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
6657         DECL_SIZE, not DECL_FIELD_SIZE.
6658         * print-tree.c (print_node): Remove code that prints extra blank
6659         lines in some cases.
6660         Properly handle inline and builtin function cases.
6661         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
6662         * tree.h (built_in_class_named, built_in_names): New declarations.
6663         (union tree_decl): Rename internal unions to u1 and u2 and change
6664         some of their components.
6665         Add new field built_in_class.
6666         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
6667         Reflect above changes.
6668         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
6669         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
6670         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
6671         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
6672
6673 2000-02-28  Dmitri Makarov  <dim@windriver.com>
6674
6675         * extend.texi: Document ARM's support for long/short calls.
6676
6677         * invoke.texi: Document ARM's -mlong-calls command line switch.
6678         
6679         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
6680         (arm_encode_call_attribute): Add prototype.
6681         (arm_set_default_type_attribute): Add prototype.
6682         (arm_strip_name_encoding): Add prototype.
6683
6684         * config/arm/arm.c (arm_init_cumulative_args): replace
6685         initialisation og 'long_calls' field with initialisation of
6686         'call_cookie' field.
6687         (enum arm_pragma_enum): New enum.
6688         (arm_pragma_long_calls): New static variable.
6689         (arm_process_pragma): Also process "#pragma long_calls_off".
6690         (arm_valid_type_attribute_p): Accept short_call attribute.
6691         (arm_comp_type_attributes): Check long/short call attributes.
6692         (arm_encode_call_attribute):  New function:  Encode long_call
6693         or short_call attribute in function name.
6694         (arm_set_default_type_attributes): New function: Assign
6695         default attributes to newly defined type.
6696         (current_file_function_operand): New function: Return true if
6697         the symbol is a function which has already been compiled.
6698         (arm_is_longcall_p): New function: Return true if the
6699         indicated function should be called via a long call.
6700         (arm_get_strip_length): New function.  Returns number of
6701         prefix characters to be stripped from a function's name.
6702         (arm_strip_name_encoding): New function.  Strip prefix characters
6703         from a function's name.
6704
6705         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
6706         with 'call_cookie'.
6707         (SHORT_CALL_FAG_CHAR): Define.
6708         (LONG_CALL_FAG_CHAR): Define.
6709         (ENCODED_SHORT_CALL_ATTR_P): Define.
6710         (ENCODED_LONG_CALL_ATTR_P): Define.
6711         (ARM_NAME_ENCODING_LENGTHS): Define.
6712         (STRIP_NAME_ENCODING): Define.
6713         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
6714         (ARM_ENCODE_CALL_TYPE): Define.
6715         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
6716         (ARM_DECLARE_FUNCTION_SIZE): Define.
6717         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
6718
6719         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
6720         if a long call is needed.
6721         (call_value): Ditto.
6722         (call_symbol): Ditto.
6723
6724         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
6725         ARM_DECLARE_FUNCTION_SIZE.
6726
6727         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
6728         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
6729         (ARM_STRIP_NAME_ENCODING): Undefine.
6730         (STRIP_NAME_ENCODING): Undefine.
6731         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
6732         (ASM_DECLARE_FUNCTION_NAME): Ditto.
6733         (ASM_OUTPUT_COMMON): Ditto.
6734         (ASM_DECLARE_OBJECT_NAME): Ditto.
6735
6736         * config/arm/pe.c (arm_dllexport_name_p): Check for
6737         ARM_PE_FLAG_CHAR.
6738         (arm_dllimport_name_p): Ditto.
6739         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
6740         (arm_mark_dllimport): Ditto.
6741         
6742 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6743
6744         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
6745
6746 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
6747
6748         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
6749
6750 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
6751
6752         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
6753         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
6754         NO_BUILTIN_WCHAR_TYPE is not defined.
6755         (CPP_WCHAR_TYPE): Delete.
6756         * cccp.c (main): Don't change wchar_type if cplusplus.
6757         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
6758
6759 2000-02-28  Nick Clifton  <nickc@cygnus.com>
6760
6761         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
6762
6763 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
6764
6765         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
6766         (ASM_WEAKEN_LABEL): Define.
6767  
6768 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
6769
6770         * expr.c (store_constructor): Do not emit USE.
6771         * rtl.h (stupid_life_analysis): Remove.
6772
6773 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6774
6775         * function.c (number_blocks): Reset next_block_index based on
6776         what debugging format is used, not what is defined.
6777         
6778         * lcm.c: Minor reformatting throughout.
6779         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
6780         
6781         * toplev.c (rest_of_compilation): Account for time in
6782         optimize_mode_switching.
6783
6784         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
6785         if only marking labels.
6786
6787 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
6788
6789         * calls.c (expand_call): Attempt to combine stack adjustments with
6790         pending stack adjustments.
6791
6792 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6793
6794         * loop.c (reg_in_basic_block_p): Don't abort when falling through
6795         to the end of the function.
6796
6797 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
6798
6799         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
6800         blocks.
6801         * final.c (next_block_index): Remove.
6802         (max_block_depth): Likewise.
6803         (pending_blocks): Likewise.
6804         (init_final): Don't initialize them.
6805         (final_start_function): Don't set next_block_index.  Set up
6806         BLOCK_NUMBER.
6807         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
6808         * function.h (number_blocks): New function.
6809         * function.c (get_block_vector): New function.
6810         (identify_blocks): Use it.
6811         (reorder_blocks): Set NOTE_BLOCK.
6812         (number_blocks): New function.
6813         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
6814         * tree.h (BLOCK_NUMBER): New macro.
6815         (tree_block): Add block_num field.
6816         * dbxout.c (next_block_number): Remove.
6817         (dbxout_init): Don't set it.
6818         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
6819         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
6820         block numbers.
6821         * toplev.c (rest_of_compilation): Always call
6822         find_loop_tree_blocks.  Fix indentation.
6823         * dwarf2out.c (next_block_number): Remove.
6824         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6825         to determine block numbers.
6826         (gen_inlined_subroutine_die): Likewise.
6827         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
6828         (decls_for_scope): Don't increment next_block_number.
6829         * dwarfout.c (next_block_number): Remove.
6830         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6831         to determine block numbers. 
6832         (output_inlined_subroutine_die): Likewise.
6833         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
6834         (output_decls_for_scope): Don't increment next_block_number.
6835         * sdbout.c (next_block_number): Remove.
6836         (sdbout_block): Use BLOCK_NUMBER.
6837         (sdbout_begin_block): Simplify.
6838         * xcoffout.c (next_block_number): Remove.
6839         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
6840         (xcoffout_begin_block): Don't set next_block_number.
6841         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
6842         next_block_number.
6843         
6844 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6845
6846         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
6847         (expand_builtin_strcpy): Pass correct type to size_binop.
6848         (expand_builtin_strcmp): Likewise.
6849         Clean up conditional structure.
6850         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
6851         (complete_array_type): Don't use size_binop for MAXINDEX.
6852         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
6853         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
6854         (c_alignof): Use size_one_node.
6855         (build_unary_op): Pass arg of proper type to size_binop.
6856         (really_start_incremental_init, push_init_level): Use sizetype for
6857         constructor{,_bit,_unfilled}_index.
6858         (pop_init_label, output_init_element): Likewise.
6859         (output_pending_init_elements, process_init_element): Likewise.
6860         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
6861         * expr.c (store_expr): Use size_int.
6862         (store_constructor): Use proper types for size_binop args.
6863         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
6864         (expand_expr_unaligned): Likewise.
6865         (string_contant): Return object of sizetype.
6866         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
6867         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
6868         (ARGS_SIZE_TREE): Pass proper types to size_binop.
6869         * fold-const.c (int_const_binop): Refine when size_int is called.
6870         (fold_convert): Likewise.
6871         (size_int_wide): Rework to take KIND as arg, only take low order
6872         bits, handle new sizetype_tab datatype, and chain entries in
6873         size_table.
6874         (size_int_type_wide): New function.
6875         (size_binop): Validate types of arguments.
6876         (ssize_binop): Deleted.
6877         (size_diffop): New function.
6878         (extract_muldiv): Only fold division into multiplication for sizetypes.
6879         * function.c (assign_parms): Use size_diffop and make sure
6880         VAR field is of ssizetype; also pass proper type to size_binop.
6881         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6882         (round_down): Deleted from here.
6883         * store-layout.c (sizetype_tab): Now an array.
6884         (sizetype_set, early_root_list): New variables.
6885         (variable_size): Use size_one_node.
6886         (round_up): Pass proper type to size_binop.
6887         (round_down): Moved to here and corrected as above.
6888         (layout_record): Pass proper arg types to size_binop.
6889         (layout_type): Likewise.
6890         If sizetype_set is zero, record the type just laid out.
6891         (make_unsigned_type): Don't call set_sizetype;
6892         (make_signed_type): Likewise; also, call fixup_signed_type.
6893         (initialize_sizetypes): New function.
6894         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6895         set name of bitsizetype to "bit_size_type".
6896         Fix up type of sizes of all types made before call.
6897         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6898         * tree.c (fix_sizetype): Deleted.
6899         (build_common_tree_nodes): Call initialize_sizetypes.
6900         (build_common_tree_nodes_2): Don't call fix_sizetype.
6901         * tree.h (TYPE_IS_SIZETYPE): New macro.
6902         (initialize_sizetype): New declaration.
6903         (enum size_type_kind): New type.
6904         (struct sizetype_tab): Deleted.
6905         (sizetype_tab): Now array; adjust sizetype macros.
6906         (size_diffop, size_int_type_wide): New functions.
6907         (size_int_wide): Change number of args and type; access macros changed.
6908         (ssize_int, sbitsize_int): New macros.
6909         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6910         (ROUND_TYPE_SIZE_UNIT): New macro.
6911
6912 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
6913
6914         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6915
6916 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6917
6918         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6919         Mark as possibly unused.
6920
6921         * cse.c (cse_insn): Delete dead code involving tablejump.
6922         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6923
6924         * Makefile.in (libcpp.a): Start by deleting it.
6925
6926 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6927
6928         * cpplib.h (enum file_change_code): Added rename_file.
6929         * cpplib.c (do_line): If a filename is given, set file_change to
6930         rename_file.
6931         (output_line_command): If file_change is rename_file, always
6932         output a # directive with the file name.
6933
6934         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6935
6936 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
6937
6938         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6939         when copying a PARM_DECL or RESULT_DECL.
6940
6941 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6942
6943         * fix-header.c (recognized_function): Also fix prototypes for
6944         functions taking "void".
6945
6946 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6947
6948         * reload1.c (do_output_reload): Check reg_reloaded_valid before
6949         looking at reg_reloaded_contents.
6950
6951 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
6952
6953         * Makefile.in (STMP_FIXINC): New toggle.
6954         (LIBGCC2_DEPS): Delete all references.
6955         (stmp-headers): Delete target.  All references either deleted
6956         or changed to stmp-int-headers.
6957         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6958         (LIBCPP_OBJS): Take out cppalloc.o.
6959         (cppalloc.o): Delete target.
6960         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6961         (gen-protos, fix-header): Link with libiberty.a.
6962         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
6963         to empty.
6964
6965         * configure.in: Remove refs to strerror.
6966         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6967         * system.h: Take out strerror stanza.
6968
6969         * cpperror.c (my_strerror): Delete function.
6970         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6971         * cppmain.c (main): Call xmalloc_set_program_name first thing.
6972         * cppalloc.c: Delete file.
6973         * gen-protos.c: Don't provide xrealloc.
6974
6975         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6976         xstrerror throughout.
6977
6978 2000-02-26  Bruce Korb  <bkorb@gnu.org>
6979
6980         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6981         match for DOS headers, too.
6982         * fixinc/inclhack.sh,fixincl.x: Regenerate.
6983
6984 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6985
6986         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
6987         is right for most ELF targets.
6988         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6989         Let the default file use %U properly.
6990         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
6991         default.
6992
6993         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6994         numbers.
6995
6996 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6997
6998         * toplev.c (documented_lang_options): Correct spelling error.
6999         (decode_d_option, decode_f_option, main): Likewise.
7000
7001         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
7002
7003         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
7004         to tell assembler it is permitted to expand large constants.
7005
7006 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
7007
7008         * protoize.c: (AUX_INFO_SUFFIX): New macro.
7009         (aux_info_suffix): Use.
7010         (SAVE_SUFFIX): New macro.
7011         (save_suffix): Use.
7012         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
7013         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
7014         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
7015
7016         * invoke.texi (Running Protoize): Update documentation.
7017
7018 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
7019
7020         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
7021
7022 2000-02-25  John Wehle  (john@feith.com)
7023
7024         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
7025
7026 2000-02-25  Anthony Green  <green@cygnus.com>
7027
7028         * toplev.c (rest_of_compilation): Rebuild jump labels if
7029         combine_instructions has created a new direct jump.
7030         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
7031         when appropriate.
7032         (combine_instructions): Call try_combine with new argument.
7033         Return non-null value when new direct jump instruction is created.
7034         * rtl.h: combine_instructions returns an int.
7035
7036 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
7037
7038         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
7039         jump when changing a computed jump into a jump to a known
7040         target.
7041
7042 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
7043
7044         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
7045         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
7046
7047         * i386.md (define_expand "clrstrsi"): Fix typo.
7048
7049 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
7050
7051         * rtl.texi: Fix typo.
7052
7053 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7054
7055         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
7056         UNITS_PER_WORD.  Change caller initial_elimination_offset.
7057         (rounded_frame_size): Take into account that argument pushed has
7058         changed.  Fix TARGET_ALIGN_DOUBLE problem.
7059
7060 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
7061
7062         * haifa-sched.c (schedule_block): Explain the real reason
7063         we delete REG_SAVE_NOTEs on the first insn of a block.
7064         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
7065
7066 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
7067
7068         * input.h (push_srcloc): New function.
7069         (pop_srcloc): Likewise.
7070         * toplev.c (push_srcloc): Define it.
7071         (pop_srcloc): Likewise.
7072
7073 2000-02-24  Richard Henderson  <rth@cygnus.com>
7074
7075         * flow.c (life_analysis): When collecting reg info, clear
7076         regs_ever_live.
7077
7078 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7079
7080         Fix bug exposed by reload.c no longer rounding the frame
7081         size to BIGGEST_ALIGNMENT:
7082         * sh.c (rounded_frame_size): New function.
7083         (sh_expand_prologue, sh_expand_epilogue): Use it.
7084         (initial_elimination_offset): Likewise.
7085
7086 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7087
7088         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
7089         * sh-protos.h (sh_need_epilogue): Declare.
7090         * sh.c (sh_need_epilogue_known): New static variable.
7091         (sh_need_epilogue): New function.
7092         (function_epilogue): Clear need_epilogue_known.
7093         * sh.md (return): Split into expander / insn pattern.
7094         Make the expander conditional on ! sh_need_epilogue ().
7095
7096 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
7097
7098         * machmode.h (get_mode_alignment): Declare.
7099         (GET_MODE_ALIGNMENT): Call it.
7100         * stor-layout.c (get_mode_alignment): New function. Make
7101         sure alignment is always power of 2.
7102
7103 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7104
7105         * i386.h: Remove useless definition of "I386" and misleading
7106         comment above it.
7107
7108 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7109
7110         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
7111         under which TREE_PERMANENT will be set.
7112         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
7113         build1): Use TREE_SET_PERMANENT.
7114         * print-tree.c (print_node): Don't report value of
7115         TREE_PERMANENT if ggc_p is true.
7116
7117         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
7118         decide whether to give a type a new alias set.
7119         * objc/objc-act.c (build_objc_string_object): Never copy the string.
7120         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
7121         of value of 'obstack'.
7122
7123
7124 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7125
7126         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
7127
7128 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7129
7130         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
7131         * cpplib.c (cpp_get_token): Produce them.
7132         * cppexp.c (cpp_lex): Handle them.
7133
7134 2000-02-23  Nick Clifton  <nickc@cygnus.com>
7135
7136         * config/arm/arm.c (arm_comp_type_attributes): Simply and
7137         comment tests on type attributes.
7138
7139 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7140
7141         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
7142         conform to documentation.
7143         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
7144         to check for special cases.
7145         * sh-protos.h (sh_loop_align): Declare.
7146         * sh.c (sh_loop_align): Define.
7147
7148 2000-02-22  Andrew Haley  <aph@cygnus.com>
7149
7150         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
7151         (SIZE_TYPE): Is 32 bits when using -mgp32.
7152         (PTRDIFF_TYPE): Ditto.
7153
7154 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7155
7156         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
7157
7158 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7159
7160         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
7161         BIGGEST_FIELD_ALIGNMENT a constant.
7162
7163 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
7164
7165         * dwarf2out.c (output_line_info): Put the marker for the end of
7166         the line number info at the actual end.
7167         (gen_struct_or_union_type_die): Use decl_function_context 
7168         to check for local classes.
7169         * dwarfout.c (output_type): Likewise.
7170
7171 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
7172
7173         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
7174         for arguments with a mode, but no type.
7175         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
7176         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
7177         * pa/long_double.h: New file.
7178         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
7179         both have 128bit wide long doubles.
7180         * configure: Rebuilt.
7181
7182 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7183
7184         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
7185
7186         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
7187         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
7188         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
7189
7190         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
7191
7192         * integrate.c (compare_blocks, find_block): Likewise.
7193
7194         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
7195
7196         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
7197
7198         * stmt.c (stmt_status, set_file_and_line_for_stmt,
7199         expand_asm_operands): Likewise.
7200
7201 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
7202
7203         * predict.c (estimate_probability): Added the pointer heuristic to
7204         the collection of static branch predictors.
7205
7206 2000-02-21  Catherine Moore  <clm@cygnus.com>
7207
7208         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
7209         * invoke.texi (-mfix7000): Document.
7210
7211 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
7212
7213         * diagnostic.c (init_output_buffer): Make it possible to output at
7214         least 32 characters if we're given a too long prefix.
7215
7216 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
7217
7218         * varasm.c (initializer_constant_valid_p): Call
7219         lang_expand_constant to simplify the constant.
7220
7221 2000-02-20  Bruce Korb  <bkorb@gnu.org>
7222
7223         * fixinc/inclhack.def(stdio_va_list):
7224         typedef needs to be disabled.
7225         * fixinc/inclhack.sh: regen
7226         * fixinc/fixincl.x: regen
7227
7228 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
7229
7230         * print-rtl.c (print_rtx): Don't print addresses when
7231         flag_dump_unnumbered.
7232
7233 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7234
7235         * sparc.c (sparc_output_scratch_registers): Mark parameter with
7236         ATTRIBUTE_UNUSED.
7237         (sparc_va_arg, sparc_flat_output_function_prologue,
7238         sparc_flat_output_function_epilogue): Cast value to unsigned in
7239         comparison.
7240         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
7241         
7242         * sparc.md: Add default case in switch.
7243
7244 2000-02-19  Richard Henderson  <rth@cygnus.com>
7245
7246         * c-typeck.c (add_pending_init): Don't abort for multiple
7247         fields at the same offset.
7248         (pending_init_member): Test the correct member.
7249
7250 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7251
7252         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
7253         instead of SImode.
7254         (start_catch_handler) : Same.
7255
7256 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
7257
7258         * Makefile.in: Have flow.o depend on $(EXPR_H)
7259
7260 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7261
7262         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
7263         * c-decl.c (duplicate_decls, finish_enum): Likewise.
7264         (finish_decl): Remove -Wlarger-than code from here.
7265         * flags.h (id_clash_len): Now int.
7266         (larger_than_size): Now HOST_WIDE_INT.
7267         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
7268         Clean up checking to see if in table.
7269         (make_bit_field_ref): Remove extra parm to bitsize_int.
7270         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
7271         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
7272         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
7273         and for computing size of decl.
7274         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
7275         Move -Wlarger-than code to here.
7276         (layout_record): Remove extra arg to bitsize_int.
7277         Set TYPE_BINFO_SIZE_UNIT.
7278         (layout_union): Remove extra arg to bitsize_int.
7279         Use proper type for size of QUAL_UNION.
7280         (layout_type): Remove extra arg to bitsize_int.
7281         * toplev.c (id_clash_len): Now int.
7282         (larger_than_size): Now HOST_WIDE_INT.
7283         (decode_W_option): Clean up id-clash and larger-than- cases.
7284         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
7285         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
7286         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
7287         (struct tree_decl): New field size_unit.
7288         (size_int_wide): No HIGH operand; NUMBER is now signed.
7289         (size_int_2): Deleted.
7290         (size_int, bitsize_int): Don't use it and rework args.
7291         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
7292
7293 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
7294
7295         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
7296
7297 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
7298
7299         * invoke.texi (Warning Options): Add an explanation of why
7300         you might want the -Wfloat-equal flag.
7301
7302 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7303
7304         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
7305         * cppinit.c (new_pending_define): Add cast to avoid warning.
7306         * expmed.c (extract_bit_field): Likewise.
7307         * flow.c (enum reorder_skip_type): New type.
7308         (skip_insns_between_blcok): New it.
7309         Rework to avoid warning about possibly undefined variable.
7310         * function.c (assign_parms): Make thisparm_boundary unsigned.
7311         * genrecog.c (write_switch): Cast XWINT result to int.
7312         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
7313         * mips-tfile.c (init_file): Make two versions of FDR intializer:
7314         one for MIPS and one for Alpha.
7315         (get_tag, copy_object): Add casts to avoid warnings.
7316         * optabs.c (init_one_libfunc): Cast NAME to (char *).
7317         * reload.c (find_reloads): Make TYPE enum reload_type.
7318         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
7319         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
7320         * varasm.c (compare_constant_1): Add cast to avoid warning.
7321         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
7322         to (char *).
7323         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
7324         Cast switch operand of size to int.
7325         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
7326         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
7327         in unhandled case.
7328
7329 2000-02-18  Nick Clifton  <nickc@cygnus.com>
7330
7331         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
7332         anything for an alignment of zero.
7333
7334         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
7335         anything for an alignment of zero.
7336
7337 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7338
7339         * gcc.texi (Bug Reporting): Refer to bugs.html.
7340         (Bug Lists): Likewise.
7341         * system.h (GCCBUGURL): New preprocessor define.
7342         * rtl.c (fancy_abort): Use it.
7343         * gcc.c (main): Likewise.
7344
7345 2000-02-18  Richard Henderson  <rth@cygnus.com>
7346
7347         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
7348         (life_analysis_1): Subsume into ...
7349         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
7350         Use update_life_info for the relaxation.
7351         (update_life_info): Update REG_BASIC_BLOCK for registers live on
7352         entry and regs_live_at_setjmp.
7353         (set_noop_p): Simplify.
7354         (notice_stack_pointer_modification_1): Renamed from s/_1//.
7355         (record_volatile_insns): Split into ...
7356         (delete_noop_moves): ... here,
7357         (notice_stack_pointer_modification): ... here,
7358         (insn_dead_p): ... and here.
7359         (propagate_block): Don't query INSN_VOLATILE.
7360         (mark_used_regs): Mind !PROP_REG_INFO.
7361         * toplev.c (rest_of_compilation): Call mark_constant_function here,
7362         not in life_analysis.
7363
7364 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
7365
7366         * loop.c (canonicalize_condition): New function,
7367         broken out of get_condition.
7368         (get_condition): Use it.
7369         * expr.h (canonicalize_condition): Prototype it.
7370
7371         * tree.h (tree_int_cst_msb): Declare.
7372         * tree.c (tree_int_cst_msb): New function.
7373
7374 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7375
7376         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
7377         isn't set.
7378
7379         * invoke.texi (-fmessage-length=n): Document.
7380
7381 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
7382
7383         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
7384
7385 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7386
7387         * function.c (thread_prologue_and_epilogue_insns): Put a line note
7388         after the prologue.
7389
7390 2000-02-17  Nick Clifton  <nickc@cygnus.com>
7391
7392         * config/arm/thumb.c: Replace includes of system headers with
7393         #include "system.h".
7394
7395 2000-02-16  Richard Henderson  <rth@cygnus.com>
7396
7397         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
7398         Add crtbeginS.o and crtendS.o.
7399         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
7400         (ENDFILE_SPEC): Use crtendS.o.
7401         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
7402
7403         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
7404         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
7405         shared and present.
7406         (__dso_handle): New variable.
7407         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
7408         bias to __CTOR_END__.
7409         
7410 2000-02-16  Richard Henderson  <rth@cygnus.com>
7411
7412         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
7413
7414 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7415
7416         * longlong.h (__clz_tab): Declare as static to match definition.
7417
7418 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
7419         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
7420         (XREF_FILE_NAME): Define.
7421
7422         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
7423         (EH_FRAME_SECTION_ASM_OP): Define.
7424         (IDENT_ASM_OP): Define.
7425         (TEXT_SECTION_ASM_OP): Define.
7426         (CPP_SPEC): Define.
7427         (CTORS_SECTION_ASM_OP): Define.
7428         (CTOR_SECTION_FUNCTION): Use it.
7429         (DTORS_SECTION_ASM_OP): Define.
7430         (DTOR_SECTION_FUNCTION): Use it.
7431
7432 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
7433
7434         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
7435         NOTE_BASIC_BLOCK.
7436
7437         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
7438         debug_bb_n): New functions.
7439         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
7440         * basic-block.h: Prototype new functions.
7441
7442 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
7443
7444         * configure.in: Add support for avr target.
7445         * configure: Rebuilt.
7446
7447         * invoke.texi: Add AVR invocation docs.
7448         * install.texi: Add information about AVR.
7449         * md.texi: Add AVR constraint letters description.
7450         * extend.texi: Add description for AVR specific attributes.
7451
7452 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
7453
7454         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
7455
7456 2000-02-16  Nick Clifton  <nickc@cygnus.com>
7457
7458         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
7459         (make_insn_raw): Move RTL check here.
7460
7461 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7462
7463         * version.c: Include gansidecl.h and version.h.
7464
7465         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
7466         
7467         * configure.in (gcc_version): When setting, narrow search to
7468         lines containing `version_string'.
7469
7470         * Makefile.in (mainversion): Likewise. 
7471         (GCC_H): New variable.
7472         (gcc.h): Delete target.
7473         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
7474         (version.o): Depend on version.h.
7475         (dbxout.o): Don't depend on gcc.h.
7476
7477 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7478                           Michael Meissner  <meissner@cygnus.com>
7479
7480         * md.texi (Simple Constraints): Add item about whitespace.
7481         * genoutput.c (strip_whitespace): New.
7482         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
7483         strip_whitespace for constraints.
7484         Test pointer using NULL, not 0.
7485
7486 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7487
7488         * cpplib.c (do_line): Pedwarn for #line > 32767.
7489
7490         * c-lex.c (readescape): Warn about '\x', but do not reject it.
7491
7492 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
7493
7494         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
7495         to default cpp spec.
7496         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
7497         * cpp.texi: Document __GNUC_PATCHLEVEL__.
7498         * cpp.1: Likewise.
7499
7500         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
7501         default spec.
7502
7503 2000-02-15  Denis Chertykov  <denisc@overta.ru>
7504
7505         * configure.in: Add support for avr target.
7506
7507 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7508
7509         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
7510         (sh_addr_diff_vec_mode): Don't declare.
7511         * sh.c (sh_addr_diff_vec_mode): Delete.
7512
7513 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7514
7515         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
7516
7517 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7518
7519         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
7520         (smulsi3_highpart_i): Name.
7521         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
7522         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
7523         (smulsi3_highpart, umulsi3_highpart): Likewise.
7524
7525         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
7526         correctly independent of endianness.
7527         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
7528         confuse the optimizers.
7529         (mulsidi3+1, umulsidi3+1): New define_split.
7530
7531 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
7532
7533         * config/sh/sh.md: Guard insn splits against illegal registers.
7534         * config/sh/sh.h: Correct comment about macros.
7535
7536 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7537                           Andrew MacLeod  <amacleod@cygnus.com>
7538
7539         * Makefile.in (lcm.o): Depend on insn-attr.h.
7540         * basic-block.h (optimize_mode_switching): Declare.
7541         * lcm.c (tm_p.h, insn-attr.h): #include.
7542         (seginfo, bb_info): New structs.
7543         (antic, transp, comp, delete, insert) : New file-scope static variables.
7544         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
7545         (reg_becomes_live, optimize_mode_switching): Likewise.
7546         * tm.texi: Add description of mode switching macros.
7547         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
7548
7549         * sh-protos.h (remove_dead_before_cse): Remove prototype.
7550         (fldi_ok, fpscr_set_from_mem): New prototypes.
7551         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
7552         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
7553         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7554         (sh_flag_remove_dead_before_cse): Remove declaration.
7555         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
7556         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
7557         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
7558         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7559         (barrier_align): Allow for JUMP_INSNS containing a parallel.
7560         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
7561         (fldi_ok): New function.
7562         (get_fpscr_rtx): Add fpscr_rtx as GC root.
7563         (emit_sf_insn): Only generate fpu switches when optimize < 1.
7564         (emit_df_insn): Likewise.
7565         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
7566         (sh_flag_remove_dead_before_cse): Delete.
7567         (get_free_reg, fpscr_set_from_mem): New functions.
7568         * sh.md (movdf, movsf): Remove no_new_pseudos code.
7569         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
7570
7571 2000-02-15  Loren Rittle  <ljrittle@acm.org>
7572
7573         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
7574
7575 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7576
7577         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
7578         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
7579
7580         * cccp.c: Include version.h and/or don't declare `version_string'.
7581         * collect2.c: Likewise.
7582         * alpha.c: Likewise.
7583         * arm/aof.h: Likewise.
7584         * arm/coff.h: Likewise.
7585         * arm/elf.h: Likewise.
7586         * arm/pe.h: Likewise.
7587         * arm/tcoff.h: Likewise.
7588         * arm/telf.h: Likewise.
7589         * arm/tpe.h: Likewise.
7590         * arm/vxarm.h: Likewise.
7591         * convex/convex.c: Likewise.
7592         * i386/dgux.c: Likewise.
7593         * i386/sun386.h: Likewise.
7594         * m88k/m88k.c: Likewise.
7595         * mcore/mcore-pe.h: Likewise.
7596         * mips/mips.h: Likewise.
7597         * romp/romp.h: Likewise.
7598         * sh/sh.c: Likewise.
7599         * cpphash.c: Likewise.
7600         * cppinit.c: Likewise.
7601         * dwarf2out.c: Likewise.
7602         * dwarfout.c: Likewise.
7603         * gcc.c: Likewise.
7604         * gcc.h: Likewise.
7605         * mips-tfile.c: Likewise.
7606         * protoize.c: Likewise.
7607         * toplev.c: Likewise.
7608         * tree.h: Likewise.
7609         
7610         * version.c (version_string): Constify a char*.
7611
7612         * version.h: New file.
7613
7614 2000-02-14  Nick Clifton  <nickc@cygnus.com>
7615
7616         * configure.in: Add mcore-elf and mcore-pe targets.
7617         * configure: Regenerate.
7618
7619         * NEWS: Add note that MCore port has been contributed.
7620
7621         * invoke.texi: Document command line switches for MCore port.
7622         * install.texi: Add MCore to list of supported targets.
7623
7624 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
7625
7626         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
7627         then we will need to import the frame handling functions.
7628         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
7629         to import the frames themselves.
7630
7631 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
7632                           Jason Eckhardt  <jle@cygnus.com>
7633
7634         * basic_block.h: Added prototype for reorder_basic_blocks.
7635         * toplev.c: Changes to add -freorder-blocks and graph dump after
7636         block reordering is done.
7637         * flow.c (reorder_block_def): New structure for use during block
7638         reordering.
7639         (REORDER_BLOCK_*): New macros to access members of above structure.
7640         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
7641         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
7642         functions for block reordering.
7643
7644 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7645
7646         * gcc.texi (Passes): Fix typo.
7647         * md.texi (Standard Names): Ditto.
7648         * tm.texi (Storage Layout): Ditto.
7649
7650 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7651
7652         * cpplib.c (do_define): Only free the old definition if it
7653         actually had one.
7654
7655 2000-02-13   Neil Booth  <NeilB@earthling.net>
7656
7657         * cppfiles.c (read_and_prescan): When emitting deferred
7658         newlines, test speccase[] again instead of checking each
7659         possible whitespace character in turn.  When we encounter \r,
7660         look behind for \n first, then ahead.
7661
7662 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7663
7664         * cse.c (cse_altered): New internal flag.
7665         (cse_insn): Set it if we changed an insn.
7666         (cse_main): Clear cse_altered before each basic block.
7667         Only garbage collect if cse_altered is true afterward.
7668
7669 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7670
7671         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
7672
7673 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
7674
7675         * combine.c (simplify_comparison): Fix typo.
7676
7677 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
7678
7679         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
7680         consistently.
7681
7682 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7683
7684         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
7685         previously inserted node instead of root node.  Caller changed.
7686
7687 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7688
7689         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
7690
7691 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7692
7693         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
7694         __dereg_frame_dtor): Add prototype argument.
7695
7696         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
7697
7698         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
7699
7700         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
7701
7702         * gthr-vxworks.h (__gthread_once): Likewise.
7703
7704         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
7705
7706 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
7707
7708         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
7709         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
7710         stack pointer in functions w/o saved registers, output LEAVE more often
7711         on TARGET_USE_LEAVE machines.
7712
7713 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
7714
7715         * config/arm/arm.c (arm_init_cumulative_args); New function:
7716         Initlaise the CUMULATIE_ARGS strcuture for a function
7717         defintion. 
7718         (arm_function_arg): New function: Determine where to place a
7719         function's argument.  Also handles deciding the function's
7720         call cookie.
7721         (current_file_function_operand): New function: Return true if
7722         the symbol is a function which has already been compiled.
7723         (arm_is_long_call_p): New function: Return true if the
7724         indicated function should be called via a long call.
7725         (arm_valid_type_attribute_p): New function: Return true if the
7726         attribute is a valid, arm specific, attribute.
7727         (arm_comp_type_attribute): New function: Return true if the
7728         two types have compatable, arm specific, attributes.
7729
7730         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
7731         structure.
7732         (FUNCTION_ARG): Redefine to call arm_function_arg.
7733         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
7734         structure field.
7735         (INIT_CUMULATIVE_ARGS): Redefine to call
7736         arm_init_cumulative_args.
7737         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
7738         field. 
7739         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
7740         field. 
7741         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
7742         functions.
7743         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
7744         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
7745         (COMP_TYPE_ATTRIBUTES): Define.
7746
7747         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
7748         if a long call is needed.
7749         (call_value): Call arm_is_long_call_p to decide if a long call
7750         is needed.
7751         (call_symbol): Call arm_is_long_call_p to decide if a long call
7752         is needed.
7753
7754         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
7755
7756 2000-02-11  Denis Chertykov  <denisc@overta.ru>
7757
7758         * README.AVR: New file with information about the avr ports.
7759         * config/avr: New directory with avr port files.
7760
7761 2000-02-11  Andreas Jaeger  <aj@suse.de>
7762
7763         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
7764
7765 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
7766
7767         * cpphash.c: Fix formatting, update commentary.
7768         (dump_definition): Take three separate arguments instead of a
7769         MACRODEF structure argument.
7770         * cpphash.h: Update prototype of dump_definition.
7771         * cppinit.c (cpp_finish): Update call of dump_definition.
7772
7773         * cpplib.c (do_define): Always create new hash entry with
7774         T_MACRO type.  Remove redundant check for redefinition of
7775         poisoned identifier.  Update call of dump_definition.
7776         (do_undef): Don't call check_macro_name.  Rename sym_length to
7777         len.
7778         (do_error, do_warning): Don't use copy_rest_of_line or
7779         SKIP_WHITE_SPACE.
7780         (do_warning): Don't use pedwarn for the actual warning,
7781         only the notice about its not being in the standard.  (Fixes
7782         bug with #warning in system headers.)
7783         (do_ident): Stricter argument checking - accept only a single
7784         string after #ident.  Also, macro-expand the line.
7785         (do_xifdef): Use cpp_defined.  De-obfuscate.
7786
7787         (do_pragma): Split out specific pragma handling to separate
7788         functions.  Use get_directive_token.  Update commentary.  Do
7789         not pass on #pragma once or #pragma poison to the front end.
7790         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
7791         do_pragma_default): New.
7792
7793 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
7794
7795         * jump.c (jump_optimize_1): The first operand in a relational
7796         can be a CONST_INT.
7797         * optabs.c (emit_conditional_move): Handle relationals which
7798         have a known true/false result.
7799
7800 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7801
7802         * function.c (thread_prologue_and_epilogue_insns): Don't insert
7803         a RETURN insn into a block which already ends with a jump.
7804
7805 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7806
7807         * haifa-sched.c (BUF_LEN): Increase a lot.
7808
7809 2000-02-11  Nick Clifton  <nickc@cygnus.com>
7810
7811         * configure.in: Add tm_p_file specification for thumb targets.
7812         * configure: Regenerate.
7813
7814         * config/arm/thumb-protos.h: New file: Prototypes for exported
7815         functions defined in thumb.c.
7816
7817 2000-02-11  Robert Lipe  <robertl@sco.com>
7818
7819         * Makefile.in (bootstrap-lean): Remove additional files.
7820         (bootstrap2-lean): Likewise.
7821         (VOL_FILES): List of files for above.
7822
7823 2000-02-11  Nathan Sidwell  <nathan@acm.org>
7824
7825         * cpphash.c (special_symbol): Remove spurious argument to
7826         cpp_lookup.
7827
7828 2000-02-11  Joel Sherrill (joel@OARcorp.com>
7829
7830         * configure.in: (i*86-*-rtems*): Swapped elf and coff
7831         stanzas.
7832         * configure: Rebuilt.
7833
7834 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
7835         
7836         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
7837
7838 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
7839
7840         * pa.c, pa.h: Remove trigraph sequences within comments.
7841
7842 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
7843
7844         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
7845
7846 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
7847
7848         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
7849
7850 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7851         
7852         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
7853
7854 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7855
7856         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
7857         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
7858         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7859         (ASM_FILE_END): Use c4x_file_end.
7860         * config/c4x/c4x.c (c4x_global_label): New function.
7861         (c4x_external_ref, c4x_file_end): Likewise.
7862
7863         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
7864         (c4x_external_ref, c4x_end_file): Likewise.
7865
7866 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
7867
7868         * cppexp.c: Don't include cpphash.h.
7869         (parse_charconst, cpp_lex): Use cpp_defined.
7870         (cpp_lex): Use get_directive_token throughout.  Remove
7871         unnecessary cases from switch.  Move assertion-handling code
7872         down to OTHER case.
7873         (cpp_parse_expr): If we see '+' or '-', check the context to
7874         determine if they are unary or binary operators.  Streamline
7875         the jumps a bit.  Do not call skip_rest_of_line.
7876
7877         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
7878         static.  Export get_directive_token.  Update commentary.
7879         (cpp_defined): New function.
7880         (do_define): Remove reference to T_PCSTRING.  Call
7881         free_definition to release memory for old definition, when
7882         redefining a macro.
7883         (eval_if_expression): Set only_seen_white to 0 before calling
7884         cpp_parse_expr.  Call skip_rest_of_line after it returns.
7885         (cpp_read_check_assertion): Don't preserve a pointer into the
7886         token buffer across a call to cpp_get_token.
7887
7888         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7889         * cppfiles.c (redundant_include_p): Use cpp_defined.
7890         * cpphash.c (free_definition): New function.
7891         (delete_macro): Use it.  Update commentary.
7892         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
7893         free_definition.
7894         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7895         from enum node_type.  Prototype cpp_defined and get_directive_token.
7896         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7897
7898         * fix-header.c (check_macro_names): Use cpp_defined.
7899         (read_scan_file): Set inhibit_warnings and inhibit_errors in
7900         the options structure.
7901
7902 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7903
7904         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7905
7906 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
7907
7908         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7909         rather than die->die_tag.
7910
7911 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7912
7913         * combine.c (make_extraction, force_to_mode): Avoid warning on
7914         mixed-signedness conditionals.
7915         (make_field_assignment, nonzero_bits): Likewise.
7916         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7917         (store_split_bit_field, extract_split_bit_field): Likewise.
7918         (extract_fixed_bit_field, store_bit_field, 
7919         * expr.c: Change alignment to be unsigned everywhere.
7920         (move_by_pieces, store_constructor_field, store_constructor): 
7921         Alignment parm is unsigned.
7922         (emit_block_move, emit_group_load, emit_group_store): Likewise.
7923         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7924         (do_compare_rtx_and_jump): Likewise.
7925         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7926         Compare align with GET_MODE_ALIGNMENT.
7927         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7928         (get_inner_reference): Likewise.
7929         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7930         (expand_assignment): Local vars for alignment now unsigned.
7931         (store_constructor, store_field, expand_expr, do_jump): Likewise.
7932         (do_compare_and_jump): Likewise.
7933         (store_field): Call new function expr_align.
7934         * expr.h (emit_block_move, emit_group_load, emit_group_store):
7935         Alignment arg now unsigned.
7936         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7937         (do_compare_rtx_and_jump, store_bit_field): Likewise.
7938         (extract_bit_field): Likewise.
7939         * fold-const.c (add_double): Add cast to eliminate signedness warning.
7940         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7941         (get_best_mode): Alignment arg is unsigned.
7942         * rtl.h (move_by_pieces): Likewise.
7943         * store-layout.c (maximum_field_alignment, set_alignment):
7944         Now unsigned.
7945         (layout_decl): Alignment arg is now unsigned.
7946         Remove unneeded casts.
7947         (layout_record, layout_union, layout_type): Remove unneeded casts.
7948         Local alignment variables now unsigned.
7949         (get_best_mode): Alignment arg now unsigned.
7950         * tree.c (expr_align): New function.
7951         * tree.h (expr_align): Likewise.
7952         (maximum_field_alignment, set_alignment): Now unsigned.
7953         (get_inner_reference): Alignment argument is now pointer to unsigned.
7954         * varasm.c (assemble_variable): Add cast to eliminate warning.
7955
7956 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
7957
7958         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7959         then store directly into op0.
7960
7961         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7962         the CALL_INSN, and emit the note immediately after it.
7963
7964 2000-02-10  Nick Clifton  <nickc@cygnus.com>
7965
7966         * config/arm/thumb.md (epilogue): Include a (return) in the
7967         generated insn, and emit it using emit_jump_insn not
7968         emit_insn. 
7969
7970 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
7971
7972         * function.c (assign_temp): Change zero-sized arrays to size 1.
7973         * integrate.c (expand_inline_function): Do not update
7974         stack_alignment_needed
7975         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7976         add some sanity checking, remove optimization for function with
7977         zero frame size.
7978
7979 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7980
7981         * flow.c (mark_regs_live_at_end): Delete unused variables.
7982
7983         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7984
7985         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7986         in macro FRAME_GROWS_DOWNWARD.
7987
7988         * stmt.c (expand_end_bindings): Delete unused variable.
7989
7990         * unroll.c (iteration_info): Mark parameter `loop' with
7991         ATTRIBUTE_UNUSED.
7992
7993 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7994
7995         * fixinc/server.c (load_data): Return NULL if the marker line is
7996         not found.
7997         (run_shell): If load_data returns NULL, retry the command once, in
7998         a new shell.
7999
8000         * configure: Rebuilt.
8001
8002 2000-02-09  Bruce Korb  <bkorb@gnu.org>
8003
8004         * gcc/fixincludes:  ** DELETED **
8005         * gcc/fixcpp:  ** DELETED **
8006         * gcc/fixinc-nt.sed:  ** DELETED **
8007         * gcc/just-fixinc:  ** DELETED **
8008         * gcc/Makefile.in:  Removed out-dated commentary
8009         * gcc/configure.in: Removed fast-fixincludes disablement.
8010         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
8011
8012 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8013         * function.c (thread_prologue_and_epilogue_insns): Uncomment
8014         last change.
8015
8016 2000-02-09  Richard Henderson  <rth@cygnus.com>
8017
8018         * jump.c (delete_insn): Don't delete user labels at -O0.
8019
8020 2000-02-09  Robert Lipe  <robertl@sco.com>
8021
8022         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
8023         Don't link with HOST_LIBS. 
8024
8025 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8026
8027         * configure.in: Correct --help text for --with-dwarf2.
8028         Put tm-dwarf2.h after other tm files, if it's requested.
8029         * configure: Regenerate.
8030         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
8031         defining it.
8032
8033 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8034
8035         * cpplib.h: Provide HASHNODE typedef and forward decl of
8036         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
8037         DEFINITION, struct hashnode, struct macrodef, struct
8038         definition, scan_decls prototype, default defn of
8039         INCLUDE_LEN_FUDGE moved elsewhere.
8040
8041         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
8042         definition, and struct hashnode moved here. Remove the unused
8043         'predefined' field from struct definition.  Replace the 'args'
8044         union with its sole member.  All users updated (cpphash.c).
8045         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
8046         multiple include guard.
8047
8048         * cpphash.c (hashf): Make static; use better algorithm; drop
8049         HASHSIZE parameter; return an unsigned int.
8050         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
8051         used. Calculate HASHSIZE modulus here.
8052         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
8053         here.
8054         (create_definition): Drop PREDEFINITION parameter.
8055         * cpplib.c (do_define): Don't calculate a hash value here.
8056         Don't pass (keyword == NULL) to create_definition.
8057
8058         * scan.h: Prototype scan_decls here.
8059         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
8060         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
8061         callers of cpp_lookup and cpp_install updated.
8062         
8063         * cpphash.c (macarg): Hoist all the flag diddling out of the
8064         function...
8065         (macroexpand): ... and out of the loop that calls macarg.
8066         Skip over the initial paren before macro arguments with
8067         cpp_get_non_space_token; point may be some distance before
8068         that paren.  Abort if it's not there.
8069
8070         * cpplib.c (parse_clear_mark): Delete function.
8071         (parse_set_mark, parse_goto_mark): Make static.
8072         (ACTIVE_MARK_P): New macro.
8073         (skip_block_comment, skip_line_comment): Do not bump the line
8074         if ACTIVE_MARK_P is true.
8075         (cpp_pop_buffer): The buffer to be popped may not have an
8076         active mark.
8077         (cpp_get_token): When looking for the initial paren before
8078         macro arguments, only set a mark in a file buffer, Always
8079         return to that mark before proceeding to call macroexpand or
8080         return a NAME token.
8081
8082         * cpplib.h: Remove prototypes of parse_set_mark,
8083         parse_clear_mark, parse_goto_mark.
8084         (struct cpp_options): Rename 'put_out_comments' to
8085         'discard_comments' and invert its sense.
8086         * cppinit.c, cpphash.c, cpplib.c: All users of
8087         put_out_comments changed to use discard_comments, with
8088         opposite sense.
8089
8090 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8091
8092         * function.c (thread_prologue_and_epilogue_insns): Don't delete
8093         the edge from a block that both jumps and falls through to the
8094         fallthru block.
8095
8096 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
8097
8098         * config/arm/arm.md (movsi): In PIC mode, make sure that a
8099         constant source address is legitimate.
8100
8101 2000-02-09  Philip Blundell  <pb@futuretv.com>
8102
8103         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
8104         correctly.
8105
8106         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
8107         generating PIC.
8108         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
8109
8110 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8111
8112         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
8113         ends with a newline and a NUL.  Don't be so clever manipulating
8114         strings.
8115
8116 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8117
8118         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
8119         not to BIGGEST_ALIGNMENT.
8120
8121 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
8122
8123         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
8124         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
8125         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
8126         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
8127         * frame.c (execute_cfa_insn): Handle 
8128         DW_CFA_GNU_negative_offset_extended.
8129
8130 2000-02-08  Richard Henderson  <rth@cygnus.com>
8131
8132         * flow.c (tidy_fallthru_edges): Split out from ...
8133         (delete_unreachable_blocks): ... here.
8134         (find_basic_blocks): Use it.
8135
8136 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8137
8138         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
8139
8140 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
8141
8142         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
8143         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
8144         (fix-header.o): Don't depend on cpphash.h.
8145
8146         * scan.c (hashstr): New function. 
8147         * scan.h: Prototype it.
8148         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
8149         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
8150         hashstr.  Report hash table statistics.  Add private     
8151         definition of xrealloc.
8152
8153 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8154
8155         * i386.h (TARGET_SWITCHES): Fix typo in option name.
8156
8157 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
8158
8159         * function.c (thread_prologue_and_epilogue_insns): Don't replace
8160         jumps with returns unless they are jumps to the fallthru block.
8161
8162 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
8163
8164         * i386.md (addqi3_cc): Fix contraints.
8165
8166 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8167
8168         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
8169
8170 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
8171
8172         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
8173         carriage return after a macro name.
8174
8175 2000-02-07  Fred Fish  <fnf@be.com>
8176
8177         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
8178         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
8179
8180 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
8181
8182         * cppfiles.c (deps_output): Count spacers in deps_column.
8183
8184 2000-02-07  Neil Booth  <NeilB@earthling.net>
8185
8186         * cppinit.c (initialize_dependency_output): If there is no
8187         suffix, don't try to look for known suffixes.  Use strrchr.
8188         (cpp_start_read): Remove duplicate initialization.
8189
8190 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
8191
8192         * calls.c (compute_argument_block_size): New argument
8193         preferred_stack_boundary.
8194         (expand_call): update cfun->preferred_stack_boundary, update call of
8195         compute_argument_block_size
8196         (emit_library_call): Increate cfun->preferred_stack_boundary
8197         to PREFERRED_STACK_BOUNDARY
8198         (emit_library_call_value): Likewise.
8199         * explow.c (allocate_dynamic_stack_spave): Likewise.
8200         * function.c (prepare_function_start): Set
8201         cfun->preferred_stack_boundary
8202         * function.h (struct function): Add preferred_stack_boundary field.
8203         * integrate.c (expand_inline_function): Update
8204         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
8205         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
8206         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
8207
8208 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
8209
8210         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
8211         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
8212         cpp_pedwarn, cpp_pedwarn_with_line,
8213         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
8214         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
8215         v_cpp_error_with_line, v_cpp_warning_with_line,
8216         cpp_message_from_errno, cpp_perror_with_name): Delete.
8217
8218         * cpperror.c (cpp_print_containing_files): Take starting
8219         buffer as argument.
8220         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
8221         (v_cpp_message): Now called directly by all entry points.
8222         Remove -1 case.
8223         (cpp_pfatal_with_name, cpp_message): Delete.
8224         (cpp_notice_from_errno, cpp_ice): New functions.
8225         (cpp_notice): Is now for reporting error conditions, just
8226         without an associated file.
8227         (cpp_error, cpp_error_with_line): Don't do anything if
8228         opts->inhibit_errors is on.
8229         (cpp_pedwarn_with_file_and_line): Take column argument also.
8230
8231         * cpplib.h: Update prototypes of exported functions.
8232         (struct cpp_options): Add inhibit_errors.
8233
8234         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
8235         non-error messages.  Include intl.h.
8236
8237         * cppinit.c, cppmain.c: Likewise.  Also, use
8238         cpp_notice_from_errno instead of cpp_perror_with_name or
8239         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
8240
8241         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
8242         report internal errors.
8243
8244         * cpplib.c (do_define): Switch bcopy to memcpy.
8245         Give cpp_pedwarn_with_file_and_line a dummy column argument.
8246
8247         * cpplib.c (copy_rest_of_line): Revert previous change: don't
8248         bail out early if we hit a line comment.
8249
8250 2000-02-06  Richard Henderson  <rth@cygnus.com>
8251
8252         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
8253         * basic-block.h: Declare them.
8254         * emit-rtl.h (active_insn_p): New.
8255         (next_active_insn, prev_active_insn): Use it.
8256         * rtl.h: Declare it.
8257         * function.c (emit_return_into_block): New.
8258         (thread_prologue_and_epilogue_insns): Insert return insns instead
8259         of epilogues when possible.
8260         * jump.c (jump_optimize_1): Remove code to insert a return insn
8261         on the fallthru to the exit block.
8262
8263         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
8264         and for non-empty stack frames.
8265         * i386.md (return): Expand to return-pop as needed.
8266
8267 2000-02-06  Richard Henderson  <rth@cygnus.com>
8268
8269         * simplify-rtx.c (simplify_relational_operation): Canonicalize
8270         constant to op1 for testing.
8271
8272 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8273
8274         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
8275         (fixuns_truncqfqi2): Use it.
8276
8277 2000-02-06  Richard Henderson  <rth@cygnus.com>
8278
8279         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
8280         as a TYPE_LEA insn.
8281
8282         * i386.md (widening and peepholes): Mask the constant instead of
8283         using gen_lowpart.
8284
8285 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
8286
8287         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
8288         input pointer before possibly branching off to the backslash
8289         code.
8290         * cpphash.c (macroexpand): Correctly delete \r escapes when
8291         stringifying parameters.
8292         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
8293         if we can; bail out early if we hit a line comment.
8294         (handle_directive): Treat '# 123' in an .S file just like
8295         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
8296         Return 1 for '# not_a_directive'.
8297         (get_directive_token): Pop macro buffers here, so that
8298         cpp_get_token can't sneakily move past a newline.
8299         Add sanity checks. 
8300         (cpp_get_token): goto randomchar if handle_directive returns 0.
8301
8302         * cppalloc.c: Update copyright.
8303         * cpplib.c: Merge all the static function prototypes into one
8304         block.
8305         * cpplib.h: Remove #if 0 block.
8306
8307         * cpperror.c: Remove #ifdef EMACS block.
8308         * cppmain.c: Likewise.
8309         * cpphash.c: Remove #if 0 blocks.
8310         * cppinit.c: Remove #if 0 blocks, and the -lint option.
8311         * cpplib.c: Remove #if 0 blocks and code referencing
8312         pcp_inside_if or for_lint.  Remove duplicate error message.
8313         Fix error messages for #else after #else or #elif.  Reformat.
8314         Remove archaic TODO list.
8315         * cpplib.h: Remove pcp_inside_if and for_lint flags.
8316
8317 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
8318
8319         * i386/osf1elf.h: Add missing backslash to multiline string.
8320
8321 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8322
8323         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
8324
8325 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8326
8327         * Makefile.in (c-common.o): Depend on $(EXPR_H).
8328
8329         * c-common.c: Include expr.h.
8330
8331         * c-pragma.c (mark_align_stack): Add prototype.
8332
8333         * caller-save.c (add_stored_regs): Likewise.
8334
8335         * combine.c (record_promoted_value): Likewise.
8336
8337         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
8338         Likewise.
8339
8340         * cppinit.c (new_pending_define): Likewise.
8341
8342         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
8343
8344         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
8345         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8346         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
8347         class_scope_p): Likewise.
8348
8349         * dwarf2out.h (dwarf2out_set_demangle_name_func,
8350         dwarf2out_add_library_unit_info): Likewise.
8351
8352         * ggc.h (ggc_page_print_statistics): Likewise.
8353
8354         * haifa-sched.c (propagate_deps): Likewise.
8355
8356         * reg-stack.c (next_flags_user, record_label_references): Likewise.
8357
8358         * rtl.h (set_stack_check_libfunc): Likewise.
8359
8360         * toplev.h (set_fatal_function): Likewise.
8361
8362         * toplev.c (set_fatal_function): Delete prototype.
8363         
8364         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
8365         
8366 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
8367
8368         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
8369         (FUNC_END): Likewise.
8370
8371 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8372
8373         * caller-save.c: Include tm_p.h.
8374
8375 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8376
8377         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
8378
8379 2000-02-04  Neil Booth  <NeilB@earthling.net>
8380
8381         * cccp.c (main): Check 'dir' for a NULL pointer before passing
8382         it to strcmp.
8383
8384 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
8385
8386         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
8387         * genflags.c: Use the max_operand_1 logic from genemit.c to
8388         calculate how many arguments gen_insn prototypes have.  Remove
8389         NO_MD_PROTOTYPES ifdefs from the generated file.
8390         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
8391         file.  Cast gen_insn initializers to insn_gen_fn.
8392         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
8393         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
8394
8395 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8396
8397         * fixinc/Makefile.in (HDR): Add machname.h.
8398         (clean): Likewise.
8399
8400 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8401
8402         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
8403         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
8404         (c4x_cpu_version): Ditto.
8405         * config/c4x/c4x-protos.h: ... here.
8406
8407 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
8408
8409         * dwarf2out.c (add_abstract_origin_attribute): Don't call
8410         gen_abstract_function on our context if we're a nested function.
8411
8412 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8413
8414         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
8415         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
8416
8417 2000-02-04  Bruce Korb  <bkorb@gnu.org>
8418
8419         * fixinc/genfixes(machname.h):
8420         Move the functionality from gen-machine.h into this file.
8421         UNdef MN_NAME_PAT if there are no names to change.
8422         Also, be a little kinder when AutoGen is not present.
8423
8424         * fixinc/Makefile.in(machname.h):
8425         Change the generation rule to use genfixes.
8426
8427         * fixinc/fixfixes.c(machine_name):
8428         machine_name_fix's functionality now dependent upon whether
8429         MN_NAME_PAT is defined.
8430
8431         * fixinc/fixtests.c(machine_name):
8432         ditto.
8433
8434         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
8435         of MN_NAME_PAT.
8436
8437         * fixinc/fixlib.h(mn_get_regexps):
8438         ditto
8439
8440         * fixinc/gen-machine.h: DELETED
8441
8442 2000-02-04  Jan Hubicka  <jh@suse.cz>
8443             Richard Henderson  <rth@cygnus.com>
8444
8445         * i386.c (SAVE_REGS_FIRST): Remove.
8446         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
8447         (ix86_compute_frame_size): Likewise.
8448         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
8449         (ix86_emit_restore_regs): Remove.
8450         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
8451         when a frame pointer is in use.
8452         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
8453         instead of pop to restore a register when profitable; emit leave
8454         when profitable.
8455         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
8456         as a TYPE_LEA insn.
8457         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
8458         * i386.md (prologue_allocate_stack): Remove.
8459         (epilogue_deallocate_stack): Remove.
8460         (pro_epilogue_adjust_stack): New.
8461
8462 2000-02-04  Richard Henderson  <rth@cygnus.com>
8463
8464         * function.c (diddle_return_value): Rework to use a callback function.
8465         Use current_function_return_rtx if it's been set up.
8466         (do_clobber_return_reg, clobber_return_register): New.
8467         (do_use_return_reg, use_return_register): New.
8468         (expand_function_end): Use them.
8469         * stmt.c (expand_null_return): Likewise.
8470         * function.h: Declare them.
8471         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
8472         (mark_reg): Change arguments as appropriate for callback.
8473         * integrate.c (expand_inline_function): Revert 19 Jan change.
8474
8475 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8476
8477         * tm.texi (Values in Registers): Fix typo: "fo" "for".
8478         (Misc): Say the scheduler, not the Haifa scheduler.
8479
8480 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
8481
8482         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
8483         when in_mem is set.  Update all callers.
8484
8485 2000-02-04  Richard Henderson  <rth@cygnus.com>
8486
8487         * i386/openbsd.h (INT_ASM_OP): Define.
8488
8489 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8490
8491         * tm.texi: Fix various typos.
8492
8493 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
8494
8495         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
8496         (MD_STARTFILE_PREFIX_1): New macro.
8497
8498 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
8499
8500         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
8501         destination when needed.
8502         (strmovsi, strsetsi): New expander.
8503         (strmovsi_1, strsetsi_1): New pattern.
8504         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
8505         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
8506         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
8507         * invoke.texi (align-stringops, inline-all-stringops): Document.
8508
8509 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
8510
8511         * i386/netbsd.h (INT_ASM_OP): Define.
8512
8513 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
8514
8515         * cpplib.h (cpp_reader): Add new flag, no_directives.
8516         * cpphash.c (macarg): Set it.
8517         * cpplib.c (handle_directive): If no_directives is on and we
8518         find a directive, issue an error and discard the line.
8519
8520 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
8521
8522         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
8523         FP constants.  Add ! TARGET_FPU check for FP constants.
8524
8525 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
8526         
8527         * flow.c (find_basic_blocks): Don't kill label_value_list
8528         here.
8529         (cleanup_cfg): Kill it here.
8530
8531 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8532
8533         * expr.c (store_field): Ensure ALIGN is no stricter than the
8534         alignment of EXP.
8535
8536 2000-02-02  Richard Henderson  <rth@cygnus.com>
8537
8538         * jump.c (delete_insn): Partially revert 19 Jan change; 
8539         don't convert unused code labels to notes at -O0.
8540
8541 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8542
8543         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
8544         split_all_insns to recreate REG_LABEL notes for flow2 pass.
8545
8546 2000-02-01  Richard Henderson  <rth@cygnus.com>
8547
8548         * i386.c (general_no_elim_operand): New.
8549         (nonmemory_no_elim_operand): New.
8550         (ix86_expand_move): Copy eliminable operands before a push.
8551         * i386-protos.h: Declare new functions.
8552         * i386.h (CAN_ELIMINATE): Simplify.
8553         (PREDICATE_CODES): Update.
8554         * i386.md (push insns): Don't allow eliminable register operands.
8555
8556 2000-02-01  Richard Henderson  <rth@cygnus.com>
8557
8558         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
8559         replace BLKmode with DECL_RTL's mode.
8560
8561 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
8562
8563         * frame.c (find_fde): Convert for loop to do-while so compiler
8564         sees it's always executed at least once.
8565         * libgcc2.c (BBINBUFSIZE): Kill.
8566         (__bb_init_prg): Use fgets.
8567         (__bb_exit_trace_func): Don't paste strings.
8568         * unroll.c (unroll_loop): Initialize unroll_type, not
8569         unroll_number, and tweak logic to match.
8570
8571         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
8572         all failure paths.
8573         (ix86_flags_dependant): Likewise.  Disentangle control flow.
8574         (ix86_sched_reorder): Break guts out to
8575         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
8576         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
8577         any possible use.
8578
8579         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
8580         use string concatenation.  Don't save and restore esi.
8581
8582         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
8583         (machname.h): Remove script to separate file.  Use two-step
8584         sequence so target is not created if script fails.
8585         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
8586         identifiers are defined.
8587         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
8588         an empty string, machine_name doesn't need to do anything at
8589         all.
8590         (is_cxx_header): Add more cases to regexp.
8591         * fixinc/fixlib.h: Update prototype.
8592         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
8593         mn_get_regexps.
8594         * fixinc/fixincl.c: Define NO_BOGOSITY.
8595
8596         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
8597         (hp_sysfile): Add missing comma.
8598         (math_exception): Put the wrapper ifdefs at the beginning and
8599         the end of the file.
8600         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
8601
8602 2000-02-01  Richard Henderson  <rth@cygnus.com>
8603
8604         * sparc.c (fp_zero_operand): Turn into a normal predicate.
8605         Use CONST0_RTX.  Update all callers.
8606         * sparc.h, sparc-protos.h: Update accordingly.
8607         * sparc.md (fp mov insns): Use fp_zero_operand directly
8608         where applicable.
8609
8610 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8611
8612         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
8613         example.
8614
8615 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8616
8617         * Makefile.in (specs.ready): New target.
8618         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
8619
8620 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8621
8622         * fixinc.irix: Use unique filenames for writing into /tmp,
8623         * fixinc.ptx: Likewise.
8624         * fixinc.sco: Likewise.
8625         * fixinc.svr4: Likewise.
8626         * fixinc.winnt: Likewise.
8627
8628 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8629
8630         * tsystem.h: New file.
8631
8632         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
8633         s-crtS): Depend on tsystem.h.
8634
8635         * crtstuff.c: Include tsystem.h.
8636         * frame.c: Likewise.
8637         * libgcc2.c: Likewise.
8638
8639 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
8640
8641         * builtins.c (expand_builtin_memset): Expand for variable sized
8642         lengths too.
8643
8644 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
8645
8646         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
8647         on ABI.
8648
8649 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8650
8651         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
8652
8653         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
8654
8655 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
8656
8657         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
8658         case 3->2 combining (combining with splitting) in which 2 is CC0
8659         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
8660         checked at the begining of the function with the aid of calling 
8661         function 'can_combine_p'. 
8662
8663 2000-01-31  Dave Brolley  <brolley@redhat.com>
8664
8665         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
8666
8667 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
8668
8669         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
8670         new label.
8671
8672 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8673
8674         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
8675         
8676         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
8677         PROTO -> PARAMS.
8678
8679 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8680
8681         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
8682         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
8683         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
8684         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
8685         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
8686         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
8687         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
8688         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
8689         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
8690         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
8691         
8692         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
8693         Add %(cpp_cpu) to CPP_SPEC.
8694
8695         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
8696         Add %(cc1_cpu) to CC1_SPEC.
8697
8698 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8699
8700         * c-decl.c (c_decode_option): Accept optional numeric argument to
8701         -Wformat and set warn_format.
8702         * c-common.c: Don't emit warning about non-constant printf format
8703         string unless warn_format > 1.
8704
8705 2000-01-30  Richard Henderson  <rth@cygnus.com>
8706
8707         * alpha.md (return_internal): Allow after reload only.
8708
8709 2000-01-30  Richard Henderson  <rth@cygnus.com>
8710
8711         * i386.c (ix86_compute_frame_size): Omit padding1 if the
8712         local frame size is zero.
8713
8714 2000-01-30  Richard Henderson  <rth@cygnus.com>
8715
8716         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
8717         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
8718         * alpha.md (return): Turn into an expander.
8719         (return_internal): Don't use $26.
8720         (epilogue): Emit the return insn.
8721
8722 2000-01-30  Richard Henderson  <rth@cygnus.com>
8723
8724         * alpha.md (negtf2, abstf2): Fix word order thinko.
8725         (extendsftf2): New.
8726         (trunctfsf2): Avoid intermediate rounding errors.
8727
8728 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8729
8730         * cppfiles.c (find_position): Drop 'colp' argument, return the
8731         new line base.
8732         (read_and_prescan): Adjust to match.  Don't ever manipulate
8733         line or line_base except via find_position.
8734
8735 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8736
8737         * c-parse.in: Apply Ulrich's changes from c-parse.y.
8738         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
8739         Regenerate.
8740
8741 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8742
8743         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
8744         just print "<command line>".  If 'filename' is null or an
8745         empty string, print "<stdin>" for the filename.
8746         * cpplib.c (do_define): Don't print the 'location of the
8747         previous definition' message if we're still parsing the
8748         command line.
8749         (cpp_pedwarn_with_file_and_line): Always call
8750         cpp_file_line_for_message.
8751
8752 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
8753
8754         * flow.c (mark_regs_live_at_end): Fix typo.
8755
8756 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8757
8758         * c-common.c: Adjust variable names, comments, help strings to c99.
8759         * c-lex.c: Likewise.
8760         * c-parse.y: Likewise.
8761         * c-tree.h: Likewise.
8762         * cccp.c: Likewise.
8763         * cpplib.h: Likewise.
8764         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
8765         * cppinit.c: Likewise.
8766
8767 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8768
8769         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
8770         * c4x.c: Define the optab rtx values.
8771         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
8772         (c4x_emit_libcall): Use new optab rtx values.
8773         (c4x_emit_libcall3): Likewise.
8774         (c4x_emit_libcall_mulhi): Likewise.
8775         * c4x-protos.h: Add prototypes for optab rtx values and change
8776         prototypes for above c4x_emit_libcall functions.
8777
8778 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8779
8780         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
8781         syntax is used.
8782         (c4x_function_prologue): Use regnames intead of float_reg_names when
8783         TI syntax is used.
8784         (c4x_function_epilogue): Likewise.
8785         (c4x_print_operand): Likewise.
8786         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
8787         * c4x.md (set_high): Disable for TARGET_TI.
8788
8789 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8790
8791         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
8792         of framepointer + constant to ADDR_REGS class.
8793         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
8794         * c4x.c (std_or_reg_operand): New function.
8795         * c4x-protos.h (std_or_reg_operand): Prototype it.
8796
8797 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8798
8799         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
8800                 object names as libgcc2.c.
8801         * libgcc.S: Use newly defined names.
8802
8803 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
8804         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
8805         function.
8806         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
8807         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
8808         (FLOW_LOOP_LAST_BLOCK): Likewise.
8809
8810 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8811
8812         * basic-block.h (struct loop): New fields 'first' and 'last'.
8813         * flow.c (flow_loops_find): Compute loop->first and loop->last.
8814         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
8815         and loop->last to check for NOTE_INSN_LOOP_END.
8816
8817 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
8818
8819         * predict.c (estimate_probability): Use the new FIRST and LAST fields
8820         of the loop descriptor rather than HEADER and LATCH. Also added
8821         missing break statements as well making some coding style modifications
8822         as suggested by Michael Hayes.
8823
8824 2000-01-28  Richard Henderson  <rth@cygnus.com>
8825
8826         * flow.c (find_basic_blocks): Remove do_cleanup argument.
8827         Break out that code ...
8828         (cleanup_cfg): ... here.
8829         (commit_one_edge_insertion): Detect a return instruction being
8830         emitted to an edge.  Emit a barrier following; clear fallthru.
8831         (commit_edge_insertions): Verify CFG consistency.
8832         * function.c (expand_function_start): Kill unused variable.
8833         (expand_function_end): Likewise.
8834         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
8835         to insert the epilogue.
8836
8837         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
8838         (delete_null_pointer_checks): Likewise.
8839         * output.h: Likewise.
8840         * reg-stack.c (reg_to_stack): Likewise.
8841         * toplev.c (rest_of_compilation): Likewise.  Run
8842         thread_prologue_and_epilogue_insns after rebuilding the CFG.
8843
8844 2000-01-28  Richard Henderson  <rth@cygnus.com>
8845
8846         * Makefile.in (flow.o): Revert 24 Jan change.
8847         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
8848         FUNCTION_VALUE result to DECL_RESULT's mode.
8849
8850         * haifa-sched.c (schedule_insns): Don't recompute reg info
8851         after reload.
8852
8853 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
8854
8855         * configure.in: Make --enable-cpplib the default.
8856         * configure: Regenerate.
8857         * gcc.dg/990119-1.c: No longer expected to fail.
8858
8859 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
8860
8861         * jump.c (jump_optimize_1): Delete an optimization that is also done
8862         by merge_blocks in flow.
8863
8864 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8865
8866         * diagnostic.c (build_message_string, output_printf,
8867         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
8868         (build_location_prefix): Fix non-literal format string.
8869
8870 2000-01-27  Richard Henderson  <rth@cygnus.com>
8871
8872         * alpha.md (trunctfsf2): New.
8873
8874 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
8875
8876         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
8877
8878 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8879
8880         * cppinit.c (cpp_handle_option): Recognize C++ comments under
8881         -std=gnu89.
8882         * cpplib.c (skip_block_comment, skip_line_comment): Split code
8883         out of...
8884         (skip_comment) ... here.  Permit C++ comments in system
8885         headers always.  Warn about C++ comments in user code under
8886         -std=gnu89 -pedantic.
8887         (copy_comment): Use skip_comment.
8888         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8889         return EOF.
8890         (consider_directive_while_skipping, do_else, do_endif): Call
8891         validate_else unconditionally.
8892         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
8893         text after the conditional in a system header.
8894         * cpplib.h (struct cpp_buffer): Add flag
8895         warned_cplusplus_comments.
8896
8897 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8898
8899         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8900         Use unshare_all_rtl_1.
8901         (unshare_all_rtl_again): New function.
8902         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8903
8904         * function.c (purge_addressof_1): Use unshare_all_rtl_again
8905         rather than resetting the 'used' flags ourself.
8906
8907         * toplev.c (rest_of_compilation): Add current_function_decl
8908         to the unshare_all_rtl call.
8909         * tree.h: Prototype unshare_all_rtl.
8910         * rtl.h: Prototype unshare_all_rtl_again here.
8911
8912 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8913
8914         * genoutput.c (output_prologue): Include ggc.h in generated
8915         files.
8916         * Makefile.in (insn-output.o): Depends on ggc.h.
8917
8918 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8919             Hans-Peter Nilsson  <hp@bitrange.com>
8920
8921         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8922         Remove redundant include of xm-ns32k.h.
8923         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8924         Remove redundant include of xm-ns32k.h.
8925         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8926         Remove redundant include of xm-ns32k.h.
8927         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8928
8929         * ns32k/ns32k.h: Update comment on multiply-add instructions.
8930         (TARGET_SWITCHES): Add documentation strings.
8931         (DWARF_FRAME_REGNUM): Override default definition.
8932         (REG_CLASS_CONTENTS): Add comments.
8933         (SUBSET_P): Format to reduce line length.
8934         (SMALL_REGISTER_CLASSES): Make a run time option.
8935         (GO_IF_NONINDEXED_ADDRESS): Reformat.
8936         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8937         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
8938         (regclass_map): fix typo in comment.
8939         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8940         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8941         (trace, reg_or_mem_operand): Delete, unused function.
8942         (calc_address_cost): Small offsets are cheaper than large ones.
8943         (expand_block_move): Generate more efficient code when bytes is a
8944         known at compile time.
8945         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8946         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8947         instead of reg_or_mem_operand.
8948
8949         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8950         not general_operand.  Similarly use "=rm" or stricter, not "=g".
8951         For input operands, use stricter constraints than "g" if not
8952         general_operand.  Similarly use stricter predicate than
8953         "general_operand" when stricter constraints than "g" are present,
8954         except for matching constraints.
8955         (movstrsi): Use "memory_operand" for operands 0 and 1.
8956         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8957         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8958         not reg_or_mem_operand.
8959         (udivmoddisi4): Ditto.
8960         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8961         Use nonimmediate_operand for operand 3, not register_operand.
8962         (udivmoddiqi4_internal): Use register_operand for operand 1, not
8963         reg_or_mem_operand.
8964
8965 2000-01-27  Fred Fish  <fnf@be.com>
8966
8967         * gthr-posix.h: Fix typo; compatibily -> compatibility.
8968         * gthr-single.h: Likewise.
8969         * gthr-solaris.h: Likewise.
8970         * gthr-vxworks.h: Likewise.
8971         * gthr-win32.h: Likewise.
8972         * gthr.h: Likewise.
8973
8974 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8975
8976         * cppinit.c: Add " (cpplib)" to end of string printed by
8977         -v / --version.
8978
8979 2000-01-27  Richard Henderson  <rth@cygnus.com>
8980
8981         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8982         testing for a signed comparison.
8983         (alpha_emit_floatuns): New.
8984         * alpha-protos.h: Declare it.
8985         * alpha.md (floatunsdisf2, floatunsdidf2): New.
8986         (extendsfdf2): Tidy.
8987
8988 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
8989
8990         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8991         no -g option specifying debugging format, default to -gstabs+.
8992
8993 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
8994
8995         * calls.c (special_function_p): New argument fork_or_exec.
8996         (expand_call): When profile_arc_flag is set and the function
8997         is in the fork_or_exec group, call __bb_fork_func first.
8998         * libgcc2.c, _bb module (__bb_fork_func): New function.
8999         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
9000         output file.
9001         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
9002         * tree.h (special_function_p): Update prototype.
9003
9004 2000-01-26  Richard Henderson  <rth@cygnus.com>
9005
9006         * alpha.c (alpha_split_tfmode_pair): New.
9007         * alpha-protos.h: Declare it.
9008         * alpha.md (abstf2, negtf2): New.
9009         (movtf insn): Add input G constraint.
9010         (movtf splitter): Use alpha_split_tfmode_pair.
9011
9012 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9013
9014         * i386/cygwin.h: PROTO -> PARAMS.
9015
9016 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
9017
9018         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
9019         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
9020         using _Qp_cmp/_Q_cmp and testing the return value.
9021         (print_operand): Call reverse_condition_maybe_unordered if
9022         we are handling CCFPmode or CCFPEmode.
9023         Handle ORDERED, UN* and LTGT comparisons.
9024         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
9025         if not TARGET_HARD_QUAD.
9026         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
9027         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
9028         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
9029         Adjust gen_b* calls so that they reflect return comparison of
9030         sparc_emit_float_lib_cmp.
9031
9032 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9033
9034         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
9035         incoming operands array is large enough for one more operand.
9036         (alpha_emit_xfloating_arith): Likewise.
9037
9038 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9039
9040         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
9041         file with one line and no trailing newline.
9042         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
9043         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
9044         checking if the match is on the line.
9045         * fixinc/gnu-regex.c: Provide regerror not __regerror.
9046
9047 2000-01-25  Richard Henderson  <rth@cygnus.com>
9048
9049         * sparc.c (output_cbranch): Fix accidental squashing of the
9050         fp branch pre-delay nop.
9051
9052 2000-01-25  Richard Henderson  <rth@cygnus.com>
9053
9054         * tree.def (UNNE_EXPR): Remove.
9055         * c-typeck.c (build_binary_op): Don't handle it.
9056         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
9057
9058         * rtl.def (UNNE): Remove.
9059         (LTGT): Add.
9060         * jump.c (reverse_condition): Update accordingly.
9061         (swap_condition): Likewise.
9062         (comparison_dominates_p): Handle unordered comparisons.
9063         (reverse_condition_maybe_unordered): New.
9064         * rtl.h (reverse_condition_maybe_unordered): Declare.
9065
9066         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
9067         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
9068         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
9069         * sparc.md (bltgt): New.
9070
9071 2000-01-25  Nick Clifton  <nickc@redhat.com>
9072
9073         * emit-rtl.c (emit_insn): Only check machine class insns for
9074         improper emission of a RETURN.
9075
9076 2000-01-25  Richard Henderson  <rth@cygnus.com>
9077
9078         * Makefile.in (flow.o): Depend on $(EXPR_H).
9079         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
9080         duplicate the structure of diddle_return_value for keeping regs live.
9081
9082 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9083
9084         * loop.c (current_loop_info): Delete.
9085         (consec_sets_invariant_p): Add loop argument, update callers.
9086         (get_condition_for_loop): Likewise.
9087         (count_nonfixed_reads, update_giv_derive): Likewise.
9088         (simplify_giv_expr, general_induction_var): Likewise.
9089         (consec_sets_giv, recombine_givs): Likewise.
9090         (move_movables): Delete loop_start and loop_end arguments,
9091         add loop argument, and update callers.
9092         (find_mem_givs, check_final_value): Likewise.
9093         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
9094         (loop_invariant_p): Rename from invariant_p, add loop argument, and
9095         update callers.
9096         (basic_induction_var): Add loop argument, delete loop_level argument,
9097         and update callers.
9098         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
9099         add loop argument, and update callers.
9100         (find_splittable_regs, find_splittable_givs): Likewise.
9101         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
9102         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
9103         (biv_total_increment): Delete loop_start and loop_end arguments;
9104         update callers.
9105         (precondition_loop_p): Delete loop_start and loop_info arguments;
9106         update callers.
9107         * loop.h (get_condition_for_loop): Add loop argument.
9108         (biv_total_increment): Delete loop_start and loop_end arguments.
9109         (precondition_loop_p): Delete loop_start and loop_info arguments;
9110         add loop argument.
9111         (final_biv_value): Delete loop_start and loop_end arguments;
9112         add loop argument.
9113         (final_giv_value, back_branch_in_range_p): Likewise.
9114
9115 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9116
9117         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
9118
9119 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9120
9121         * Makefile.in (c-gperf.h) : Change the "See" pointer to
9122         point to the new "generated_files" doc.
9123
9124 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9125
9126         * config/fp-bit.c (_unord_f2): Fix typo.
9127
9128 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9129
9130         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
9131         c-typeck.c, objc/objc-act.c: Remove all references to obstack
9132         functions obsoleted by GC, such as push_obstacks_nochange,
9133         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
9134         and code which existed only to decide whether or not to call
9135         them.  Remove now-unused NESTED argument from start_function;
9136         all callers changed.  Do not change behavior based on ggc_p.
9137         The use of the ixp_obstack in c-iterate.c and the util_obstack
9138         in objc/objc-act.c remain; these are not obsoleted by garbage
9139         collection.
9140         * c-tree.h: Update prototype for start_function.
9141
9142         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
9143
9144 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9145
9146         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
9147         mips16.
9148
9149 2000-01-25  Richard Henderson  <rth@cygnus.com>
9150
9151         * sparc-protos.h (select_cc_mode): Declare.
9152         * sparc.c (select_cc_mode): New.  Handle unordered compares.
9153         (output_cbranch): Always reverse via code change.  Handle
9154         unordered compares.  Factor tests and string updates.
9155         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
9156         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
9157         * sparc.md (bunordered, bordered): New.
9158         (bungt, bunlt, buneq, bunge, bunle): New.
9159
9160 2000-01-25  Richard Henderson  <rth@cygnus.com>
9161
9162         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
9163         * ggc-common.c (ggc_add_rtx_varray_root): New.
9164         (ggc_mark_rtx_varray): New.
9165         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
9166         functions down below ggc_mark_foo.
9167         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
9168
9169 2000-01-25  Richard Henderson  <rth@cygnus.com>
9170
9171         * alpha.c (secondary_reload_class): Don't allocate a secondary
9172         for integral mode memories into FLOAT_REGS.  Rearrange the more
9173         complicated memory expression inward.
9174
9175 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9176
9177         * inclhack.def: Fixes to play nicer with FreeBSD, and
9178         corrections to comments.
9179         (cxx_unready): Add select expression.
9180         (irix_sockaddr): Add bypass expression.
9181         (machine_ansi_h_va_list): New fix.
9182         (stdio_va_list): No need to edit _BSD_VA_LIST_.
9183         Split out addition of "#include <stdarg.h>" to...
9184         (stdio_stdarg_h): ... here.
9185         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
9186         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
9187         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
9188         size_t.
9189         (ultrix_ifdef): Tighten up select expression.
9190
9191         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
9192         re_ct and max_mach to avoid use of shell.  Make printed names
9193         match names in inclhack.def.  Use static copyright date.
9194         Don't count c_test and test expressions as requiring regex_t
9195         slots.  Add some commentary.
9196         * inclhack.tpl: Do not include the 'This script contains N
9197         fixup scripts' line if PROGRAM is defined.  Use static
9198         copyright date.
9199
9200 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
9201
9202         * dwarf2out.c: include "varray.h", not dyn-string.h.
9203         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
9204         (addr_const_to_string, addr_to_string): Lose.
9205         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
9206         (struct dw_val_struct): val_addr is now an rtx.
9207         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
9208         (used_rtx_varray): New varray.
9209         (dwarf2out_init): Initialize it.
9210         (save_rtx): New fn.
9211         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
9212         addr_to_string.
9213         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
9214         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
9215         * Makefile.in (dwarf2out.o): Update dependencies.
9216
9217 2000-01-24  Richard Henderson  <rth@cygnus.com>
9218
9219         * i386.c (i386_dwarf_output_addr_const): New.
9220         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
9221
9222         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
9223         if defined.
9224         * dwarfout.c (output_mem_loc_descriptor): Likewise.
9225         * i386.c (i386_simplify_dwarf_addr): New.
9226         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
9227
9228 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
9229
9230         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
9231         TYPE_STUB_DECL is NULL.
9232
9233 2000-01-24  Richard Henderson  <rth@cygnus.com>
9234
9235         * builtins.c (expand_tree_builtin): Move ...
9236         * c-common.c (expand_tree_builtin): ... here.
9237
9238 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9239
9240         * loop.h (LOOP_INFO): New accessor macro.
9241         * basic-block.h (struct loop): Rename field `info' to `aux'.
9242         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
9243         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
9244         * unroll.c (loop_iterations, unroll_loop): Likewise.
9245
9246 2000-01-24  Christopher Faylor <cgf@cygnus.com>
9247
9248         * config/i386/t-cygwin: Accomodate new winsup directory layout
9249         when searching for include files.
9250
9251 2000-01-24  Richard Henderson  <rth@cygnus.com>
9252
9253         * rtl.def: Add unordered fp comparisions.
9254         * tree.def: Likewise.
9255         * tree.h: Add ISO C 9x unordered fp comparision builtins.
9256
9257         * builtins.c (expand_tree_builtin): New function.
9258         * c-typeck.c (build_function_call): Use it.
9259         (build_binary_op): Support unordered compares.
9260         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
9261
9262         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
9263         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
9264         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
9265         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
9266         * jump.c (reverse_condition): Don't abort for UNLE etc, but
9267         return UNKNOWN.
9268         (swap_condition): Handle unordered compares.
9269         (thread_jumps): Check can_reverse before reversing.
9270         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
9271         reversed for FP.
9272
9273         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
9274         setcc is present before acking for cmp_optab.  Update all callers.
9275         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
9276         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
9277         * expr.c (expand_expr): Likewise.  Support unordered compares.
9278         (do_jump, do_store_flag): Likewise.
9279         * expr.h (enum libfunc_index): Add unordered compares.
9280
9281         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
9282         (DPBIT_FUNCS): Add _unord_df.
9283         * config/fp-bit.c (_unord_f2): New.
9284         * fp-test.c (main): Try unordered compare builtins.
9285
9286         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
9287         * alpha.c (alpha_comparison_operator): Check mode properly.
9288         (alpha_swapped_comparison_operator): Likewise.
9289         (signed_comparison_operator): Likewise.
9290         (alpha_fp_comparison_operator): New.
9291         (alpha_emit_conditional_branch): Handle unordered compares.
9292         * alpha.h (PREDICATE_CODES): Update.
9293         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
9294         (bunordered, bordered): New.
9295
9296 2000-01-24  Richard Henderson  <rth@cygnus.com>
9297
9298         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
9299         * alpha.md (movtf): New expander, insn, and splitter.
9300
9301 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
9302
9303         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9304         dead registers.
9305
9306 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
9307
9308         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
9309         (FIXED_REGISTERS, CALL_USED_REGISTERS,
9310          REG_ALLOC_ORDER): Add frame pointer
9311         (FRAME_POINTER_REGNUM): Set to 20
9312         (HARD_FRAME_POINTER_REGNUM): New macro.
9313         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
9314         to HARD_FRAME_POINTER.
9315         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
9316         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
9317         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
9318         (HI_REGISTER_NAMES): Add "frame".
9319         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
9320         (debug_reg): Handle FRAME_POINTER_REGNUM.
9321         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
9322         GENERAL_REGS and INDEX_REGS.
9323         * i386.c (SAVED_REGS_FIRST): new macro.
9324         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
9325         (ix86_decompose_address, memory_address_length): Likewise.
9326         (regclass_map): Add frame pointer.
9327         (call_insn_operand): Handle frame_pointer_rtx.
9328         (reg_no_sp_operand): Likewise.
9329         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
9330         (print_operand, legitimize_pic_address): Fix formating.
9331         (ix86_compute_frame_size): Make static, update prototype, new
9332         parameters padding1, padding2, use ix86_nsaved_regs, use
9333         stack_alignment_needed.
9334         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
9335         to HARD_FRAME_POINTER_REGNUM conversions.
9336         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
9337         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
9338         (print_reg): Abort on FRAME_POINTER_REGNUM
9339
9340 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
9341
9342         * i386.h (PREDICATE_CODES): Add aligned_operand.
9343         * i386.c (aligned_operand): New function.
9344         (ix86_aligned_p): Kill.
9345         * i386.md (movhi_1): Emit mov for aligned operands.
9346         (promoting peep2s): Use aligned_operand.
9347
9348 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
9349
9350         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
9351         expression to allow underscores in macro names.
9352         (fix_char_macro_defines): Increment scanning pointer.
9353
9354 2000-01-23  Richard Henderson  <rth@cygnus.com>
9355
9356         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
9357         * alpha/osf5.h: New file.
9358         * configure.in (alpha-*-osf5): Add it to tm_file.
9359
9360         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
9361
9362         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
9363         (alpha_emit_xfloating_cvt, function_arg): Declare.
9364         * alpha.c (alpha_emit_conditional_branch): Call
9365         alpha_emit_xfloating_compare for TFmode compares.
9366         (alpha_lookup_xfloating_lib_func): New.
9367         (alpha_compute_xfloating_mode_arg): New.
9368         (alpha_emit_xfloating_libcall): New.
9369         (alpha_emit_xfloating_arith): New.
9370         (alpha_emit_xfloating_compare): New.
9371         (alpha_emit_xfloating_cvt): New.
9372         (print_operand): Add default abort case.
9373         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
9374         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
9375         (BIGGEST_ALIGNMENT): Increase to 128 bits.
9376         (RETURN_IN_MEMORY): True for TF/TCmode.
9377         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
9378         (FUNCTION_ARG): Move to function_arg.
9379         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
9380         (ASM_OUTPUT_LONG_DOUBLE): New.
9381         (ASM_OUTPUT_DOUBLE): Always output bits.
9382         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
9383         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
9384         (extenddftf2, trunctfdf2): New.
9385
9386 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9387
9388         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
9389         * config/sparc/sol2.h: ... here.
9390
9391 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9392
9393         * basic-block.h (struct loops): New field `levels'.
9394         * flow.c (flow_loops_level_compute): Traverse all outer loops.
9395         (flow_loop_level_compute): Initialise level to 1.
9396         (flow_loops_find): Set loops->levels.
9397         (flow_loops_dump): Print loops->levels.
9398
9399 2000-01-23  Richard Henderson  <rth@cygnus.com>
9400
9401         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
9402         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
9403
9404 2000-01-23  Richard Henderson  <rth@cygnus.com>
9405
9406         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
9407         * i386.h (DBX_REGISTER_NUMBER): Use them.
9408         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
9409         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
9410         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
9411         * i386/sequent.h: Kill incorrect comment.
9412
9413 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
9414
9415         * ggc-page.c (struct page_entry): Make `context_depth' an
9416         `unsigned short'.
9417         (struct globals): Likewise.
9418
9419 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
9420
9421         * loop.c (check_dbra_loop): When checking a loop for
9422         reversability, check the source of any stores to ensure
9423         they don't depend on an initial value.
9424
9425 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9426
9427         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
9428
9429 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
9430
9431         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
9432         'pz_scan' into scope of entire function.  Only affects
9433         compiles with -DDEBUG.
9434
9435 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
9436
9437         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
9438         section naming to that prior to 2000-01-07 patch.
9439         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
9440         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
9441         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
9442         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
9443         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
9444
9445 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
9446
9447         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
9448         constant.
9449
9450 2000-01-21  Jim Wilson  <wilson@cygnus.com>
9451
9452         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
9453         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
9454
9455 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9456
9457         * cpphash.c (change_newlines): Delete function.
9458         (struct argdata): Delete 'newlines' and 'use_count' fields.
9459         (macroexpand): Remove code referencing those fields.
9460
9461 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9462
9463         * loop.c (loops_info): New variable.
9464         (loop_optimize): Allocate loops->array and free it on exit.
9465         Allocate memory for loops_info and assign to each loop,
9466         replacing alloca.
9467         (find_and_verify_loops): Do not allocate loops->array.
9468
9469 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9470
9471         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
9472
9473 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
9474
9475         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
9476         pseudos if expanded after first flow.
9477         (movdi_pic_label_ref): Likewise.
9478
9479 2000-01-20  Richard Henderson  <rth@cygnus.com>
9480
9481         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
9482
9483 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
9484
9485         * Makefile.in (fixinc.sh): Depend on specs.
9486         * fixinc/Makefile.in: Add rule to create machname.h.
9487         (fixlib.o): Depend on machname.h.
9488         * fixinc/fixtests.c (machine_name): New test.
9489         * fixinc/fixfixes.c (machine_name): New fix.
9490         * fixinc/fixlib.c (mn_get_regexps): New helper function for
9491         the machine_name test and fix.
9492         * fixinc/fixlib.h: Prototype it.
9493         * fixinc/inclhack.def (machine_name): Use the C test and fix.
9494         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
9495
9496         * gcc.c (do_spec_1) [case P]: Take care not to create
9497         identifiers with three leading or trailing underscores.
9498
9499         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
9500         (fixincl): Don't specify libraries twice on link line.
9501         (gnu-regex.o): Remove special rule.
9502         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
9503         defined by config.h.  Do not define _REGEX_RE_COMP.
9504         (regcomp): Allocate and initialize a fastmap.
9505         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
9506
9507 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
9508
9509         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
9510
9511 2000-01-19  Richard Henderson  <rth@cygnus.com>
9512
9513         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
9514         arguments with BB.  Update all callers.  Tidy line wrapping.
9515
9516 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
9517
9518         * emit-rtl.c (try_split): Return last_insn if we split the
9519         last_insn.
9520
9521 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
9522
9523         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
9524         (ix86_initial_elimination_offset): Declare.
9525         * i386.c (ix86_nsaved_regs): Break out from ...
9526         (ix86_can_use_return_insn_p): ... here.
9527         (ix86_emit_save_regs): Break out from ...
9528         (ix86_expand_prologue): ... here.
9529         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
9530         out from ...
9531         (ix86_expand_epilogue): ... here.
9532         (ix86_compute_frame_size): Make static, add prototype.
9533         (ix86_initial_elimination_offset): Break out from ...
9534         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
9535
9536 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9537
9538         * recog.h (OUT_FCN): Delete.
9539
9540         * vax.md: Call `get_insn_template' instead of OUT_FCN.
9541
9542 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9543
9544         * cppalloc.c: PROTO -> PARAMS.
9545         * cpperror.c: Likewise.
9546         * cppfiles.c: Likewise.
9547         * cpplib.c: Likewise.
9548         * cpplib.h: Likewise.
9549
9550         * config/arm/arm-protos.h: PROTO -> PARAMS.
9551         * config/arm/arm.c: Likewise.
9552         * config/c4x/c4x.c: Likewise.
9553         * config/fr30/fr30-protos.h: Likewise.
9554         * config/nextstep.c: Likewise.
9555         * config/pa/pa.c: Likewise.
9556         * config/pj/pj.c: Likewise.
9557         * config/rs6000/rs6000.c: Likewise.
9558         * config/v850/v850-protos.h: Likewise.
9559         * config/v850/v850.c: Likewise.
9560
9561 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9562
9563         * i370-protos.h: New file.
9564
9565         * i370.c: Include tm_p.h.  Fix compile time warnings.
9566
9567         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
9568         warnings.
9569
9570         * i370.md: Likewise.
9571
9572 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9573
9574         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
9575         (target_isinf, target_isnan, eisnan): Mark parameter with
9576         ATTRIBUTE_UNUSED.
9577         (eiisinf): Wrap in INFINITY.
9578         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
9579         (ibmtoe): Remove unused variable `rndsav'.
9580
9581 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9582
9583         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
9584         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
9585
9586 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
9587
9588         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
9589         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
9590         (fix_char_macro_defines, fix_char_macro_uses): New functions.
9591
9592         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
9593         Recognize Emacs mode markers also.
9594         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
9595         C++ comments in C++ headers.  Call is_cxx_header only if
9596         necessary.
9597
9598         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
9599         bypass for ncurses.
9600         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
9601         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
9602         ... these, which use the new C fixes.
9603         (math_exception): Escape literal '+' in bypass expression.
9604
9605         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
9606         Regenerate.
9607
9608 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9609
9610         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
9611         inside the MEM.
9612
9613 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9614
9615         * loop.c (loop_optimize): Allocate loop_info structure for each loop
9616         prior to calling scan_loop.
9617
9618 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9619
9620         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
9621         (split_branches, calc_live_regs): Likewise.
9622
9623 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9624
9625         * sh.md (fpu_single, fp_mode): New attributes.
9626
9627 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9628
9629         * loop.c (current_loop_info): Renamed from loop_info_data
9630         and changed to a pointer.
9631         (loop_optimize): Allocate loop_info structure for each loop
9632         and initialise to zero.
9633         (scan_loop): Set current_loop_info.
9634
9635         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
9636         on iteration_var.
9637
9638 2000-01-19  Richard Henderson  <rth@cygnus.com>
9639
9640         * stupid.c: Die die die.
9641         * Makefile.in (OBJS): Remove stupid.o.
9642         (stupid.o): Likewise.
9643
9644         * except.c (emit_eh_context): Don't emit USEs for stupid.
9645         * explow.c (probe_stack_range): Likewise.
9646         * flags.h (obey_regdecls): Remove.
9647         * flow.c (find_basic_blocks): Don't run try_merge_blocks
9648         when not optimizing.
9649         (life_analysis): Limit data collection when not optimizing.
9650         (mark_regs_live_at_end): Always mark the return value registers.
9651         (mark_used_regs): Remove dummy RETURN case.
9652         (print_rtl_with_bb): Don't consult obey_regdecls.
9653         * function.c (use_variable, use_variable_after): Remove.
9654         (assign_parms): Consult optimize not obey_regdecls.
9655         (expand_function_start): Don't emit USEs for stupid.
9656         (expand_function_end): Likewise.
9657         * global.c (build_insn_chain): Export.
9658         * integrate.c (expand_inline_function): Kill return-value USE
9659         handling code.
9660         * jump.c (jump_optimize_1): Do simple jump optimizations and
9661         dead code elimination.
9662         (calculate_can_reach_end): Remove check_deleted argument.
9663         (delete_insn): Patch out insns even when not optimizing.
9664         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
9665         * rtl.h (use_variable, use_variable_after): Remove declarations.
9666         (build_insn_chain): Declare.
9667         * stmt.c (expand_value_return): Don't emit USEs for stupid.
9668         (expand_end_bindings): Likewise.
9669         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
9670         * toplev.c (obey_regdecls): Remove.
9671         (rest_of_compilation): Don't set it.  Kill stupid in favour of
9672         flow1, local-alloc, and reload.
9673         (main): Don't set obey_regdecls.
9674
9675         * config/nextstep.c (handle_pragma): Likewise.
9676
9677         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
9678
9679         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
9680
9681 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9682
9683         * alpha-protos.h: PROTO -> PARAMS.
9684         * alpha.c: Likewise.
9685         * elf.h: Likewise.
9686         * h8300.c: Likewise.
9687         * i386-protos.h: Likewise.
9688         * i386.c: Likewise.
9689         * m32r-protos.h: Likewise.
9690         * m32r.c: Likewise.
9691         * mips.c: Likewise.
9692         * mips.md: Likewise.
9693         * gmon-sol2.c: Likewise.
9694         * sparc.c: Likewise.
9695
9696 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9697
9698         * ns32k-protos.h: New file.
9699
9700         * ns32k.c: Fix compile time warnings.
9701
9702         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
9703         warnings.
9704
9705         * ns32k.md: Likewise.
9706
9707 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9708
9709         * vax-protos.h: New file.
9710
9711         * vax.c: Fix compile time warnings.
9712
9713         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
9714         warnings.
9715
9716         * vax.md: Likewise.
9717
9718         * vaxv.md: Likewise.
9719
9720 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9721
9722         * romp-protos.h: New file.
9723
9724         * romp.c: Fix compile time warnings.
9725
9726         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
9727         warnings.
9728
9729         * romp.md: Likewise.
9730
9731 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9732
9733         * we32k-protos.h: New file.
9734
9735         * we32k.c: Fix compile time warnings.
9736
9737         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
9738         warnings.
9739
9740 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9741
9742         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
9743
9744         * except.c (eh_regs): Likewise.
9745
9746         * final.c (output_operand): Likewise.
9747
9748         * fold-const.c (target_isinf, target_isnan): Likewise.
9749
9750 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9751
9752         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
9753         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
9754
9755         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
9756         when optimize_size.
9757         (clrstrsi): Rewrite.
9758         (strsethi, strsetqi): New expanders.
9759         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
9760         (cmpstrsi): Emit compare insn before cmpstrsi_1
9761         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
9762         (strlensi_1): Likewise.
9763         (cmpstrsi_1): Likewise; do not output compare.
9764         (strlen expander): Do not unroll when optimizing for size.
9765         (*subsi3_carry): Rename to subsi3_carry
9766         (addqi3_cc): New pattern.
9767         * i386.h (processor_costs): Add move_ratio field.
9768         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
9769         * i386.c (*_cost): Set move_ratio.
9770         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
9771         (x86_expand_strlensi_1): Rewrite the main loop.
9772
9773 2000-01-17  Richard Henderson  <rth@cygnus.com>
9774
9775         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
9776         * cse.c (find_comparison_args, fold_rtx): Likewise.
9777         * integrate.c (subst_constants): Likewise.
9778         * loop.c (get_condition): Likewise.
9779
9780         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
9781
9782         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
9783
9784 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9785
9786         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
9787         (RESTORE_WARN_FLAGS): Unpack it.
9788         Change semantic type of extension to ttype.
9789         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
9790         * c-parse.y, c-parse.c, objc/objc-parse.y,
9791         objc/objc-parse.c: Regenerate.
9792
9793 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
9794
9795         * fixinc/fixlib.c: Add copyright notice.
9796         (compile_re): New function.
9797         * fixinc/fixlib.h: Prototype compile_re.
9798
9799         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
9800         Use compile_re to compile regular expressions.
9801
9802         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
9803         where the pattern matched.
9804
9805         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
9806         use 'replace'.
9807         (ultrix_ansi_compat): Likewise.
9808         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
9809         add egrep test.
9810         (interactv_add2, interactv_add3): Delete.
9811         (x11_sprintf): Don't use filename glob.
9812         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
9813         Regenerate.
9814
9815 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9816
9817         * print-rtl.c: PROTO -> PARAMS.
9818         * real.c: Likewise.
9819         * reg-stack.c: Likewise.
9820         * resource.c: Likewise.
9821         * sdbout.h: Likewise.
9822         * simplify-rtx.c: Likewise.
9823         * stor-layout.c: Likewise.
9824         * stupid.c: Likewise.
9825         * xcoffout.c: Likewise.
9826         * xcoffout.h: Likewise.
9827
9828 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9829
9830         * toplev.c: PROTO -> PARAMS.
9831         * toplev.h: Likewise.
9832         * tree.c: Likewise.
9833         * tree.h: Likewise.
9834         * unroll.c: Likewise.
9835         * varasm.c: Likewise.
9836         * varray.c: Likewise.
9837         * varray.h: Likewise.
9838
9839 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9840
9841         * reload.c: PROTO -> PARAMS.
9842         * reload.h: Likewise.
9843         * reload1.c: Likewise.
9844         * reorg.c: Likewise.
9845         * resource.h: Likewise.
9846         * rtl.c: Likewise.
9847         * rtl.h: Likewise.
9848         * rtlanal.c: Likewise.
9849         * sbitmap.h: Likewise.
9850         * sdbout.c: Likewise.
9851         * stack.h: Likewise.
9852         * stmt.c: Likewise.
9853         * system.h: Likewise.
9854
9855 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9856
9857         * machmode.h: PROTO -> PARAMS.
9858         * mbchar.h: Likewise.
9859         * mips-tdump.c: Likewise.
9860         * mips-tfile.c: Likewise.
9861         * optabs.c: Likewise.
9862         * output.h: Likewise.
9863         * prefix.c: Likewise.
9864         * profile.c: Likewise.
9865         * protoize.c: Likewise.
9866         * real.h: Likewise.
9867         * recog.c: Likewise.
9868         * recog.h: Likewise.
9869         * regclass.c: Likewise.
9870         * regmove.c: Likewise.
9871         * regs.h: Likewise.
9872
9873 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9874
9875         * ggc-common.c: PROTO -> PARAMS.
9876         * ggc-page.c: Likewise.
9877         * ggc-simple.c: Likewise.
9878         * ggc.h: Likewise.
9879         * global.c: Likewise.
9880         * graph.c: Likewise.
9881         * gthr-win32.h: Likewise.
9882         * haifa-sched.c: Likewise.
9883         * halfpic.h: Likewise.
9884         * integrate.c: Likewise.
9885         * integrate.h: Likewise.
9886         * jump.c: Likewise.
9887         * lcm.c: Likewise.
9888         * local-alloc.c: Likewise.
9889         * loop.c: Likewise.
9890         * loop.h: Likewise.
9891
9892 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9893
9894         * genattr.c: PROTO -> PARAMS.
9895         * genattrtab.c: Likewise.
9896         * gencheck.c: Likewise.
9897         * gencodes.c: Likewise.
9898         * genconfig.c: Likewise.
9899         * genemit.c: Likewise.
9900         * genextract.c: Likewise.
9901         * genflags.c: Likewise.
9902         * gengenrtl.c: Likewise.
9903         * genopinit.c: Likewise.
9904         * genoutput.c: Likewise.
9905         * genpeep.c: Likewise.
9906         * genrecog.c: Likewise.
9907
9908 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
9909
9910         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9911
9912 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9913
9914         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9915         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9916         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9917         * configure, config.in: Rebuilt.
9918
9919 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
9920
9921         * config/i386/i386.md: Add peephole to merge successive stack
9922         adjusts.
9923
9924 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
9925
9926         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9927         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
9928         when walking backwards to find all the parameter loads when
9929         the basic block ends in a call.
9930
9931 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9932
9933         * loop.c (this_loop_info): Delete.
9934         (uid_loop): Add in place of uid_loop_num.  All uses updated.
9935         (loop_number_exit_count): Delete and replace with entry in loop
9936         structure.  All uses updated.
9937         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9938         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9939         (loop_outer_loop): Likewise.
9940         (loop_invalid, loop_number_exit_labels): Likewise.
9941         (loop_used_count_register): Delete and replace with entry in
9942         loop_info structure.
9943         (find_and_verify_loops): Add loops argument.
9944         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9945         loop_end, etc. arguments with loop structure pointer.  All callers
9946         changed.
9947         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9948         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9949         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9950         (insert_bct): Likewise.
9951         (basic_induction_var): New argument level.
9952         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9953         vtop, and cont.  Add used_count_register.
9954         (uid_loop): Delete declaration.
9955         (loop_number_exit_count): Likewise.
9956         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9957         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9958         (loop_outer_loop, loop_used_count_register): Likewise.
9959         (loop_invalid, loop_number_exit_labels): Likewise.
9960         (unroll_loop): Replace loop_start and loop_end arguments
9961         with loop structure pointer.
9962         (loop_precondition_p, loop_iterations): Likewise.
9963         Include basic-block.h.
9964         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9965         with loop structure pointer.
9966         (loop_precondition_p, loop_iterations): Likewise.
9967         * basic-block.h (struct loop): New entries vtop, cont,
9968         cont_dominator, start, end, top, scan_start, exit_labels,
9969         exit_count.
9970         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9971
9972 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9973
9974         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9975
9976 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
9977
9978         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9979
9980 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9981
9982         * pdp11-protos.h: New file.
9983
9984         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
9985         time warnings.
9986
9987         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
9988         warnings.
9989
9990         * pdp11.md: Likewise.
9991
9992         * 2bsd.h: Likewise.
9993
9994 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9995
9996         * mn10300-protos.h: New file.
9997
9998         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9999         time warnings.
10000
10001         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
10002         warnings.
10003
10004         * mn10300.md: Likewise.
10005
10006 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10007
10008         * mn10200-protos.h: New file.
10009
10010         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
10011         time warnings.
10012
10013         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
10014         warnings.
10015
10016         * mn10200.md: Likewise.
10017
10018 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10019
10020         * h8300-protos.h: New file.
10021
10022         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10023         time warnings.
10024
10025         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
10026         warnings.
10027
10028         * h8300.md: Likewise.
10029
10030 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10031
10032         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
10033         (asm_emit_uninitialised): Likewise.
10034
10035 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
10036
10037         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
10038         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
10039
10040 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10041
10042         * config/mips/mips.c (override_options): Don't turn on extra
10043         alignment for mips16.
10044
10045 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10046
10047         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
10048         eabi, and make sure queued POSTINCREMENT rtl is emitted at
10049         the right point.
10050
10051 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10052
10053         * builtins.c (PAD_VARARGS_DOWN): Define.
10054         (std_expand_builtin_va_arg): Use the above macro.
10055         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
10056         * tm.texi (Register Arguments): Document the above macro.
10057
10058 2000-01-14  Nick Clifton  <nickc@cygnus.com>
10059
10060         * emit-rtl.c (emit_insn): If checking is enabled, make sure
10061         that this function has not been used to emit a jump
10062         instruction.
10063
10064         * jump.c (return_jump_1): Cope with being passed a null rtx.
10065
10066 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10067
10068         * eh-common.h: PROTO -> PARAMS.
10069         * emit-rtl.c: Likewise.
10070         * errors.c: Likewise.
10071         * errors.h: Likewise.
10072         * except.c: Likewise.
10073         * except.h: Likewise.
10074         * explow.c: Likewise.
10075         * expmed.c: Likewise.
10076         * expr.c: Likewise.
10077         * expr.h: Likewise.
10078         * final.c: Likewise.
10079         * fix-header.c: Likewise.
10080         * flow.c: Likewise.
10081         * fold-const.c: Likewise.
10082         * function.c: Likewise.
10083         * function.h: Likewise.
10084         * gcc.c: Likewise.
10085         * gcov-io.h: Likewise.
10086         * gcov.c: Likewise.
10087         * gcse.c: Likewise.
10088
10089 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10090
10091         * sh-protos.h: New file.
10092
10093         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
10094         Add static prototypes.  Fix compile time warnings.
10095
10096         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
10097         * sh.md: Likewise.
10098         * elf.h: Likewise.
10099
10100 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10101
10102         * arc-protos.h: New file.
10103
10104         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
10105         time warnings.
10106
10107         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
10108         warnings.
10109
10110         * arc.md: Likewise.
10111
10112 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10113
10114         * dsp16xx-protos.h: New file.
10115
10116         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
10117         time warnings.
10118
10119         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
10120         warnings.
10121
10122         * dsp16xx.md: Likewise.
10123
10124 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10125
10126         * convex-protos.h: New file.
10127
10128         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
10129         time warnings.
10130
10131         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
10132         warnings.
10133
10134 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10135
10136         * elxsi-protos.h: New file.
10137
10138         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
10139         time warnings.
10140
10141         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
10142         warnings.
10143
10144         * elxsi.md: Likewise.
10145
10146 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10147
10148         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
10149         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
10150         match the comment for MIPS16.
10151
10152 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
10153
10154         * flow.c (split_edge): Do not call set_block_for_insn if we
10155         do not have a basic_block_for_insn structure.
10156
10157         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
10158         and destination functions are 32bit aligned within the trampoline.
10159         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
10160         (TRAMPOLINE_ALIGNMENT): Define.
10161
10162         * cse.c (cse_insn): When changing (set (pc) (reg)) to
10163         (set (pc) (label_ref)), verify the change creates a valid insn.
10164
10165         * fr30.c (call_operand): Tighten and rework to match rules for
10166         call RTL expressions.
10167         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
10168         * fr30.md (call patterns): Improve constraints.
10169
10170 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
10171
10172         * fr30.c (fr30_expand_epilogue): Revert last change.
10173         Use emit_jump_insn for the return insn.
10174
10175 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
10176                           Stan Cox  <scox@cygnus.com>
10177
10178         * predict.c: New file. Preliminary infrastructure work for static
10179         branch prediction and basic block reordering.
10180         * basic-block.h: Add prototype for estimate_probability.
10181         * Makefile.in: Add rules for predict.o.
10182
10183 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
10184
10185         * fixincludes (va_list): Use __not_va_list__ for the dummy.
10186         * fixinc/*: Likewise.
10187
10188 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10189
10190         * cccp.c: PROTO -> PARAMS.
10191         * cexp.y: Likewise.
10192         * collect2.c: Likewise.
10193         * combine.c: Likewise.
10194         * convert.h: Likewise.
10195         * cse.c: Likewise.
10196         * dbxout.c: Likewise.
10197         * dbxout.h: Likewise.
10198         * diagnostic.c: Likewise.
10199         * doprint.c: Likewise.
10200         * dwarf2out.c: Likewise.
10201         * dwarf2out.h: Likewise.
10202         * dwarfout.c: Likewise.
10203         * dwarfout.h: Likewise.
10204         * dyn-string.h: Likewise.
10205
10206 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10207
10208         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
10209         macro conditionals guarding use.
10210
10211         * dwarf2out.c: Include "tm_p.h".
10212
10213         * function.c (locate_and_pad_parm): Mark parameter with
10214         ATTRIBUTE_UNUSED.
10215         (expand_function_end): Likewise for variable `context'.
10216
10217         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
10218
10219 2000-01-13  Nick Clifton  <nickc@cygnus.com>
10220
10221         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
10222         register to prevent compile time warnings.
10223
10224 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
10225
10226         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
10227         to avoid -Wtraditional warning.
10228
10229 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10230
10231         * 1750a-protos.h: New file.
10232
10233         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
10234         time warnings.
10235
10236         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
10237         warnings.
10238
10239         * 1750a.md: Likewise.
10240
10241 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10242
10243         * a29k-protos.h: New file.
10244
10245         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10246         time warnings.
10247
10248         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
10249         warnings.
10250
10251 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10252
10253         * clipper-protos.h: New file.
10254
10255         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
10256         time warnings.
10257
10258         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
10259         warnings.
10260
10261 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10262
10263         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
10264
10265 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
10266
10267         * configure.in (--enable-new-gxx-abi): New option.
10268         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
10269         * Makefile.in (GXX_ABI_FLAG): New variable.
10270         * configure: Regenerate.
10271
10272 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10273
10274         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
10275         * tm.texi (FORCE_STRUCT_BLK): Document.
10276         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
10277
10278 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
10279
10280         * config/ns32k/ns32k.md: Revert Jan 9 change.
10281
10282         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
10283         to a mode-test, if the predicate is address_operand.
10284
10285 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
10286
10287         * combine.c (if_then_else_cond): Be careful about what kinds
10288         of RTL expressions are passed to operand_subword.
10289
10290         * flow.c (split_edge): If we have to insert a new jump, make
10291         sure to associate it with a basic block.
10292
10293         * flow.c (commit_one_edge_insertion): A block with one successor
10294         can end in a JUMP_INSN that is not a simplejump.
10295
10296 2000-01-12  Robert Lipe  <robertl@sco.com>
10297
10298         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
10299         (BUILD_VA_LIST_TYPE): Define.
10300         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
10301         with crtstuff.c.
10302
10303 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
10304
10305         * cccp.c (do_pragma): Add cast to (char *).
10306
10307 2000-01-12  Richard Henderson  <rth@cygnus.com>
10308             Fred Fish  <fnf@be.com>
10309             Jason Merrill  <jason@cygnus.com>
10310
10311         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
10312         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
10313         * i386/beos-elf.h, i386/beos-pe.h: New files.
10314
10315         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
10316         * cross-make (SYSTEM_HEADER_DIR): Define using
10317         CROSS_SYSTEM_HEADER_DIR.
10318
10319         * gcc.c (LIBRARY_PATH_ENV): Provide default.
10320         (process_command): Use it.
10321         (main): Likewise.  Kill trailing = from env vars.
10322         (build_search_list): Put it back.
10323         * collect2.c (main): Use LIBRARY_PATH_ENV.
10324
10325         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
10326         * toplev.c: Use NEED_DECLARATION_ENVIRON.
10327
10328         * tm.texi (Frame Layout): Document SMALL_STACK.
10329         * c-common.c (c_common_nodes_and_builtins): Check it.
10330
10331         * system.h: Undef alloca after including glibc's <stdlib.h>,
10332         if USE_C_ALLOCA is defined.
10333
10334         * gcc.c (set_input): New fn.
10335         (main): After all input files are compiled, reset the input file
10336         info to the first.
10337
10338         * aclocal.m4 (rindex, index): If already defined, don't attempt
10339         to redefine.
10340
10341         * ginclude/varargs.h: (__va_list__): Define ifndef.
10342         * ginclude/stdarg.h: Likewise.
10343
10344         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
10345         instead of unsigned char.
10346
10347         * hash.h (true, false, boolean): Undef before enum.
10348
10349         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
10350         proper type of "HOST_WIDE_INT *", rather than their natural type of
10351         "unsigned HOST_WIDE_INT *".
10352
10353 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10354
10355         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
10356
10357         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
10358
10359         * regclass.c (choose_hard_reg_mode): Likewise.
10360
10361         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
10362
10363         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
10364
10365 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10366
10367         * c-common.c: PROTO -> PARAMS.
10368         * c-common.h: Likewise.
10369         * c-decl.c: Likewise.
10370         * c-iterate.c: Likewise.
10371         * c-lang.c: Likewise.
10372         * c-lex.c: Likewise.
10373         * c-lex.h: Likewise.
10374         * c-parse.in: Likewise.
10375         * c-pragma.c: Likewise.
10376         * c-pragma.h: Likewise.
10377         * c-tree.h: Likewise.
10378         * c-typeck.c: Likewise.
10379         * objc/objc-act.c: Likewise.
10380         * objc/objc-act.h: Likewise.
10381
10382 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10383
10384         * m88k-protos.h: New file.
10385
10386         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10387         time warnings.
10388
10389         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
10390
10391         * m88k.md: Likewise.
10392
10393         * tekXD88.h: Likewise.
10394
10395 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10396
10397         * m68k-protos.h: New file.
10398
10399         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10400         time warnings.
10401
10402         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
10403
10404         * mot3300.h: Likewise.
10405
10406 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
10407
10408         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
10409         extract_bitlst.
10410         (extract_bitlist): Declare bitlen.
10411
10412 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
10413
10414         * cccp.c: Accept and ignore -lang-fortran.
10415
10416         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
10417         qualifiers don't match at any level of pointerness.
10418
10419 2000-01-12  Robert Lipe  <robertl@sco.com>
10420
10421         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
10422
10423 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
10424
10425         * reload1.c (reload_reg_unavailable): New static variable.
10426         (reload_reg_free_p): Test it.
10427         (reload_reg_free_for_value_p): Test it instead of
10428         reload_reg_used.
10429         (choose_reload_regs_init): Compute it.
10430
10431 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
10432
10433         * reorg.c (fill_slots_from_thread): Check modified_in_p
10434         before replacing.
10435
10436 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
10437
10438         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
10439         these nodes even if INTERNALS is not set.
10440
10441 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
10442
10443         * gcse.c (delete_null_pointer_checks_1): Cope when
10444         get_condition cannot determine the condition.
10445
10446 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
10447
10448         * toplev.h (set_message_length): Declare.
10449
10450         * diagnostic.c (obstack_chunk_alloc): Define macro.
10451         (obstack_chunk_free): Likewise.
10452         (struct output_buffer): New data structure.
10453         (vmessage): Remove.
10454         (output_maximum_width): New variable.
10455         (doing_line_wrapping, set_message_length, init_output_buffer,
10456         get_output_prefix, output_space_left, emit_output_prefix,
10457         output_newline, output_append, output_puts, dump_output,
10458         vbuild_message_string, build_message_string, build_location_prefix,
10459         voutput_notice, output_printf, line_wrapper_printf,
10460         vline_wrapper_message_with_location):  New functions. Implement
10461         automatic line wrapping.
10462         (v_message_with_decl): Make it handle automatic line wrapping.
10463         (v_error_with_file_and_line): Likewise.
10464         (v_warning_with_file_and_line): Likewise.
10465         (announce_function): Likewise.
10466         (default_print_error_function): Likewise.
10467
10468 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10469
10470         * cpplib.h (struct cpp_options): Change lang_asm to char.
10471         Add lang_fortran.
10472         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
10473         done in cpp_handle_option now.
10474         (initialize_builtins): Take out special case code used only by
10475         __STDC_VERSION__.
10476         (cpp_handle_option): Turn off trigraphs and trigraph warnings
10477         if -traditional.  Recognize -lang-fortran and set
10478         lang_fortran, also turn off cplusplus_comments.
10479         (print_help): Document -lang-fortran.
10480         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
10481         lang_asm. Ignore all directives other than `# 123 "file"' if
10482         CPP_PREPROCESSED.
10483         (cpp_get_token): If -traditional, don't recognize directives
10484         unless the # is in column 1.
10485         (parse_string): If lang_fortran or lang_asm, silently
10486         terminate strings ('' or "") at end of line.
10487         Remove unnecessary braces.
10488
10489 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10490             Richard Henderson  <rth@cygnus.com>
10491
10492         * resource.c (mark_referenced_resources): Mark a set strict_low_part
10493         as used.
10494         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
10495         strict_low_part when possible.
10496
10497 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10498
10499         * alias.c: PROTO -> PARAMS.
10500         * basic-block.h: Likewise.
10501         * bitmap.c: Likewise.
10502         * bitmap.h: Likewise.
10503         * builtins.c: Likewise.
10504         * c-aux-info.c: Likewise.
10505         * caller-save.c: Likewise.
10506         * calls.c: Likewise.
10507
10508 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10509
10510         * Makefile.in (toplev.o): Depend on regs.h.
10511
10512         * output.h (tdesc_section): Prototype.
10513
10514         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
10515
10516         * sdbout.c: Include "tm_p.h".
10517
10518         * toplev.c: Include "regs.h".
10519
10520 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
10521
10522         * unroll.c (unroll_loop): Add EH support.
10523
10524 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10525
10526         * pa-protos.h: New file.
10527
10528         * pa.c: Include recog.h and tm_p.h.
10529         (compute_zdepwi_operands, compute_movstrsi_length,
10530         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
10531         find_addr_reg, import_milli): Add static prototypes.
10532         (pa_cpu_string, pa_arch_string): Constify a char*.
10533         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
10534         (read_only_operand): Add argument `mode'.
10535         (singlemove_string, output_move_double, output_fp_move_double,
10536         output_block_move, output_and, output_ior, output_ascii,
10537         remove_useless_addtr_insns, milli_names, output_mul_insn,
10538         output_div_insn, output_mod_insn, output_arg_descriptor,
10539         output_cbranch, output_bb, output_bvb, output_dbra, ,
10540         output_millicode_call, output_call, hppa_encode_label,
10541         output_parallel_movb, output_parallel_addb): Constify a char*.
10542         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
10543         (output_parallel_addb): Remove extra arg to `constrain_operands'
10544
10545         * pa.h:  Move all prototypes to pa-protos.h.
10546         (pa_cpu_string, pa_arch_string): Constify a char*.
10547         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
10548
10549         * pa.md: Call `function_label_operand' with mode argument.
10550         Likewise for `read_only_operand'.
10551         Fix nesting of parens in call to `symbolic_operand'.
10552
10553 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10554
10555         * i860-protos.h: New file.
10556
10557         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
10558         time warnings.
10559
10560         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
10561
10562         * i860.md: Likewise.
10563
10564 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
10565
10566         * i386.md (movstrsi expander): Rewrite.
10567         (movstrsi_1 insn): Deleted.
10568         (strmovhi, strmovqi expander): New expanders.
10569         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
10570         * i386.c (x86_single_stringop): New global variable.
10571         * i386.h (x86_single_stringop): Declare.
10572         (TARGET_SINGLE_STRINGOP): New macro.
10573
10574 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10575
10576         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
10577         integer vararg POSTINCREMENT before the destination of the jump
10578         for the hard fp case.
10579         (function_arg_pass_by_reference): Pass a copy of CUM to
10580         FUNCTION_ARG.
10581
10582         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
10583         for CONSTANT_ADDRESS_P above while loop for subreg.
10584
10585 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10586
10587         * flow.c (propagate_block): When a prologue/epilogue insn
10588         is marked dead, unconditionally clear libcall_is_dead and
10589         insn_is_dead, and only dump rtl if warnings aren't being
10590         suppressed.
10591
10592 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
10593
10594         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
10595         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
10596         (FIXED_REGISTERS): Set dirflag as fixed.
10597         (CALL_USED_REGISTERS): Set dirflag as used.
10598         (REG_ALLOC_ORDER): Set dirflag as last one.
10599         (DIRFLAG_REG): New macro.
10600         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
10601         (HI_REGISTER_NAMES): Add dirflag.
10602         (DEBUF_PRINT_REG): Handle dirflag.
10603         * i386.md (type attribute): New cld and str types.
10604         (length_opcode attribute): Set cld and str to 1.
10605         (memory attribute): Set str to unknown - it is not clear from the
10606         patterns.
10607         (pent_np function unit): Prefixed string operations takes 12 cycles
10608         minimally; cld takes 2 cycles.
10609         (ppro_uops attribute): Str is "many" and cld is "few".
10610         (ppro_p0 unit): Handle cld here.
10611         (k6_alux unit): Handle cld and str types.
10612         (k6_load unit): It is ocupied by str opcodes.
10613         (k6_store unit): It is ocupied by str opcodes.
10614         (athlon_decode): Str is vector decoded.
10615         (athlon_ieu): Handle str and cld.
10616         (cld pattern): New.
10617         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
10618         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
10619         cmpstrsi_nz_1 insn): Do not output cld instruction
10620
10621 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
10622
10623         * gcc.texi (G++ and GCC): Add Java and Chill.
10624         (Bug Critera): Don't list languages.
10625
10626         * gcc.texi (Incompatibilities): No longer claim most C compilers
10627         are K&R.
10628
10629         * gcc.texi (G++ and GCC): Update other front-ends list.
10630
10631 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
10632
10633         * i386.c (ix86_expand_setcc): Fix typo.
10634         (ix86_expand_movcc): Similarly.
10635
10636         * Band-aid until haifa's bitset implementation is nuked.
10637         * haifa-sched.c (extract_bitlst): New parameter for size of the
10638         bitset in bits.  All callers changed.  Avoid looking at undefined
10639         bits in the bitset.
10640         (edgeset_bitsize): New variable.
10641         (schedule_region): Initialize edgeset_bitsize.
10642
10643 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10644
10645         * Makefile.in (optabs.o): Depend on real.h
10646         (resource.o): Depend on insn-attr.h
10647
10648         * builtins.c (result_vector): Wrap prototype in macro conditions
10649         governing definition and use.
10650
10651         * c-common.c: Include tm_p.h.
10652
10653         * c-lex.c: Likewise.
10654
10655         * elfos.h: Constify a char*.
10656
10657         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
10658         (get_attr_length, shorten_branches, profile_after_prologue): Mark
10659         parameter with ATTRIBUTE_UNUSED.
10660
10661         * fold-const.c (exact_real_inverse): Wrap variable `i' in
10662         CHECK_FLOAT_VALUE.
10663
10664         * haifa-sched.c (schedule_insns): Mark parameter with
10665         ATTRIBUTE_UNUSED.
10666
10667         * optabs.c: Include real.h.
10668
10669         * real.h (ereal_atof): Add prototype arguments.
10670
10671         * resource.c: Include insn-attr.h.
10672
10673         * sdbout.c (sdbout_queue_anonymous_type,
10674         sdbout_dequeue_anonymous_types): Wrap in macro
10675         SDB_ALLOW_FORWARD_REFERENCES.
10676         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
10677         ATTRIBUTE_UNUSED.
10678
10679         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
10680
10681         * stupid.c: Include tm_p.h.
10682
10683         * tree.c (real_value_from_int_cst): Mark parameter with
10684         ATTRIBUTE_UNUSED.
10685
10686 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10687
10688         * i960-protos.h: New file.
10689
10690         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
10691         time warnings.
10692
10693         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
10694
10695 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10696
10697         * combine.c (expand_field_assignment): Do not discard SUBREGs
10698         while computing nonzero_bits.
10699
10700 2000-01-09  Nick Clifton  <nickc@cygnus.com>
10701
10702         * config/arm/arm.c: Fix compile time warnings about signed vs
10703         unsigned constants.
10704         * config/arm/arm.h: Fix compile time warnings about signed vs
10705         unsigned constants.
10706
10707 2000-01-09  Philip Blundell  <philb@gnu.org>
10708
10709         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
10710         than `ldm' with only one register.
10711         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
10712         only one register.
10713
10714         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
10715         clobbered.
10716
10717 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
10718
10719         * config/ns32k/ns32k.md (load or push effective address): Operand 1
10720         must have SImode.
10721
10722 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10723
10724         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
10725         assignment used as truth value.
10726
10727         * function.c (assign_temp): Mark parameter `dont_promote' with
10728         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
10729         PROMOTE_FOR_CALL_ONLY.
10730
10731         * genrecog.c (write_subroutine): Mark variable `operands' with
10732         ATTRIBUTE_UNUSED.
10733
10734         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
10735         ATTRIBUTE_UNUSED.
10736
10737         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
10738         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
10739
10740         * toplev.c (note_deferral_of_defined_inline_function): Likewise
10741         for `decl'.
10742
10743 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10744
10745         * config/c4x.h: Tidy up comments.
10746         * config/c4x.c: Likewise.
10747
10748 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
10749
10750         * fold-const.c (lshift_double, rshift_double): Handle
10751         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
10752
10753 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10754
10755         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
10756         in prepare_function_start().
10757
10758 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
10759
10760         * config/v850/v850.c (expand_epilogue): Interrupt functions no
10761         longer allocate extra stack for function calls.
10762
10763 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10764
10765         * config/c4x/c4x.md (*subqf3_set): Fix typo.
10766
10767 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10768
10769         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
10770
10771 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
10772
10773         * rs6000.c (processor_target_table): Add power3 as alias for 630.
10774         * aix43.h: Revert Aug 2 change.
10775         (HAS_INIT_SECTION): Define, not visible yet.
10776         (LD_INIT_SWITCH): Define, not visible yet.
10777         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10778
10779         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
10780
10781         * collect2.c (main): Expand ld2 size further.
10782         (export_object_lst): Cast assignment to avoid warning.
10783         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
10784         (scan_prog_file, COFF): Do not collect initialization or
10785         finalization functions generated for entire shared object if
10786         init/fini support present.
10787
10788 2000-01-07  Nick Clifton  <nickc@cygnus.com>
10789
10790         * config/elfos.h: Tidy up formatting of marcos.  Make sure
10791         that .section directives are always prefixed by a tab.
10792
10793         * config/svr4.h: Add #include "elfos.h" and remove duplicate
10794         definitions.
10795
10796 2000-01-07  Matt Austern  <austern@sgi.com>
10797
10798         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
10799         expon.
10800
10801 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
10802
10803         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
10804         crtstuff.c.
10805         (crtbegin.o, s-crtS): Likewise.
10806
10807 2000-01-06  Richard Henderson  <rth@cygnus.com>
10808
10809         * alpha.md (adddi_2+1): Limit offset such that it will be
10810         loadable with a single ldah+lda pair.
10811         (adddi_2+2): Explicitly fail split if we can't make it work.
10812
10813 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
10814
10815         * protoize.c: Conditionally include unistd.h.
10816         (IS_SAME_PATH_CHAR): New macro.
10817         (IS_SAME_PATH): New macro.
10818         (CPLUS_FILE_SUFFIX): New macro.
10819         (cplus_suffix): New static variable.
10820         (is_abspath): New static function.
10821         (in_system_include_dir): Handle DOS style pathnames.
10822         (file_could_be_converted): Likewise.
10823         (file_normally_convertible): Likewise.
10824         (directory_specified_p): Likewise.
10825         (file_excluded_p): Likewise.
10826         (abspath): Likewise.
10827         (shortpath): Likewise.
10828         (referenced_file_is_newer): Likewise.
10829         (save_def_or_dec): Likewise.
10830         (do_processing): Likewise.
10831         (main): Likewise.
10832         (edit_file): Likewise. Use rename instead of link.
10833         (rename_c_file): Likewise. Don't rename syscalls file.
10834         (munge_compile_params): Define null device for DOS based systems.
10835         (process_aux_info_file): Use binary mode if appliable.
10836         (edit_file): Likewise.
10837         * invoke.texi (Running Protoize): Document C++ suffixes used.
10838
10839         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
10840         IS_DIR_SEPARATOR macros.
10841         * collect2.c: Likewise.
10842         * cppinit.c: Likewise.
10843         * dwarf2out.c: Likewise.
10844         * gcc.c: Likewise.
10845         * gcov.c: Likewise.
10846         * prefix.c: Likewise.
10847         * rtl.c: Likewise.
10848         * toplev.c: Likewise.
10849         * system.h: And move to here.
10850
10851         * prefix.c (update_path): Fix typo in variable name.
10852
10853 2000-01-06  Richard Henderson  <rth@cygnus.com>
10854
10855         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
10856         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
10857         (count_reg_sets_1, count_reg_references): Likewise.
10858         (flow_loops_level_compute): Start counting actual loop depth at 1.
10859         (flow_loops_find): Likewise.
10860         * local-alloc.c (update_equiv_regs): Likewise.
10861         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
10862
10863 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10864
10865         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
10866         FIRST_PSEUDO_REGISTER
10867         * dwarf2out.c: Don't include frame.h
10868         * dwarfout.c: Likewise
10869         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
10870         frame.h
10871
10872 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
10873
10874         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10875         dead registers.
10876
10877         * i386.c (movsf splitter): Fix typo in my last checkin.
10878
10879 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10880
10881         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10882         own definition of this macro.
10883         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10884         flag_data_sections or UNIQUE_SECTION_P are true.
10885
10886         * tm.texi (UNIQUE_SECTION): Document that it can be called for
10887         unitialised data decls.
10888
10889         * config/i386/winnt.c (i386_pe_unique_section): Cope with
10890         being called for uninitialised data.
10891
10892         * config/i386/interix.c (i386_pe_unique_section): Cope with
10893         being called for uninitialised data.
10894
10895         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10896         for uninitialised data.
10897
10898         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10899         for uninitialised data.
10900
10901         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10902         for uninitialised data.
10903
10904         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10905         (UNIQUE_SECTION_P): Always generate a unique section if
10906         flag_data_sections is true.
10907         (UNIQUE_SECTION): Also generate unique sections for
10908         uninitialised data.
10909         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10910         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10911         named_section().
10912
10913 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10914
10915         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10916         SI, or DI.
10917
10918 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10919
10920         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10921         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10922         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10923         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10924         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10925
10926         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10927
10928 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10929
10930         * c-decl.c (finish_enum): Simplify code to determine minimum and
10931         maximum values of the enum, and calculate the type.  Remove check
10932         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
10933         the DECL_INITIAL of each enumeration constant with a copy converted
10934         to the enumeration type.  When updating variant types, don't bother
10935         updating the type itself.
10936
10937         * c-typeck.c (build_binary_op): Simplify conditional expressions
10938         when weeding out spurious signed-unsigned warnings.  Add new
10939         spurious warning category: if the unsigned quantity is an enum
10940         and its maximum value fits in signed_type(result_type).  Update
10941         commentary.
10942         (build_conditional_expr): Warn here if one alternative is signed
10943         and the other is unsigned.
10944
10945 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10946
10947         * config/fr30/fr30.h: Remove extraneous comments.
10948
10949 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
10950
10951         * reload1.c (choose_reload_regs): When disabling a reload, also
10952         set reload_spill_index to -1.
10953
10954 2000-01-04  Joel Sherrill (joel@OARcorp.com>
10955
10956         * configure.in (m68*-*-rtemscoff*): New target, formal name for
10957         old m68*-*-rtems*.
10958         (m68*-*-rtemself*): New target.
10959         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10960         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10961         (sparc*-*-rtemself*): New target.
10962         (sparc*-*-rtems*): Now elf not a.out.
10963         * config/i386/rtems.h: Include config/rtems.h.
10964         * config/i386/rtemself.h: Include config/rtems.h.
10965         * config/i960/rtems.h: Include config/rtems.h.
10966         * config/m68k/rtems.h: Include config/rtems.h.
10967         * config/m68k/rtemself.h: Include config/rtems.h.
10968         * config/mips/rtems64.h: Include config/rtems.h.
10969         * config/pa/rtems.h: Include config/rtems.h.
10970         * config/rs6000/rtems.h: Include config/rtems.h.
10971         * config/sh/rtems.h: Include config/rtems.h.
10972         * config/sh/rtemself.h: Include config/rtems.h.
10973         * config/sparc/rtems.h: Include config/rtems.h.
10974         * config/sparc/rtemself.h: Include config/rtems.h
10975
10976 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
10977
10978         * final.c (shorten_branches): Correctly compute length of
10979         asms without operands.
10980
10981 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
10982
10983         * configure.in: Add pj target.
10984         * configure: Regenerate.
10985         * config/pj: New directory.
10986         * config/pj/lib1funcs.S: New file.
10987         * config/pj/linux.h: New file.
10988         * config/pj/pj.c: New file.
10989         * config/pj/pj.md: New file.
10990         * config/pj/pjl.h: New file.
10991         * config/pj/t-pj: New file.
10992         * config/pj/xm-pj.h: New file
10993
10994 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
10995
10996         * toplev.c (rest_of_compilation): Run shorten-branches before
10997         reg-stack for now.
10998
10999 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11000
11001         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
11002         macros so that they're consistent with their names.
11003         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11004         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11005
11006 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11007
11008         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
11009         modified inadvertently.
11010
11011 2000-01-04  Joel Sherrill <joel@OARcorp.com>
11012
11013         * configure.in (v850*-*-rtems*): New target.
11014         * configure: Regenerate.
11015         * config/v850/rtems.h: New file.
11016
11017 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
11018
11019         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
11020         (__gthread_key_create): Likewise.
11021         (__gthread_key_dtor):  Likewise.
11022         (__gthread_once): Fix logic.
11023         (__gthread_key_delete): Cast away constness.
11024
11025         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
11026         * invoke.texi: Document.
11027         * i386/mingw32.h (CPP_SPEC): Use.
11028         (LIBGCC_SPEC): Likewise.
11029         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
11030
11031 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11032
11033         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
11034         (HANDLE_PRAGMA_PACK): Undefine.
11035         (SLOW_UNALIGNED_ACCESS): Define.
11036
11037 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11038
11039         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11040         to default definition.
11041         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
11042         (store_fixed_bit_field): Call macro with word_mode and alignment.
11043         (extract_bit_field): Call macro with relevant mode and alignment.
11044         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11045         to default definition.
11046         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
11047         and alignment.
11048         (move_by_pieces_ninsns): Likewise.
11049         (clear_by_pieces): Likewise.
11050         (emit_push_insn): Likewise.
11051         (store_field): Call macro with relevant mode and alignment.
11052         (expand_expr): Likewise.
11053         (expand_expr_unaligned): Likewise.
11054
11055         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11056         (SLOW_UNALIGNED_ACCESS): Define.
11057         (CASE_VECTOR_MODE): Always use 32-bit offsets.
11058         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11059         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
11060         (toc_section): Likewise and .toc pseudo-op.
11061         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
11062         64-bit mode.
11063         (TEXT_SECTION_ASM_OP): Likewise.
11064         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11065         32-bit offsets.
11066
11067         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
11068         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
11069         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
11070         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
11071         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
11072
11073 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
11074
11075         * regclass.c: Revert my Jan 4 change to loop cost computation.
11076
11077 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11078
11079         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
11080         compilation.
11081
11082 2000-01-04  Stan Cox  <scox@cygnus.com>
11083
11084         * haifa-sched.c (build_control_flow): Change unreachable simple
11085         loop test to check if current block has only one predecessor.
11086         (find_rgns): Initialize degree.  Use dest as degree index, not src.
11087
11088 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11089
11090         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
11091
11092         * calls.c (expand_call): Likewise for
11093         `old_stack_arg_under_construction'.
11094
11095         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
11096
11097         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
11098         `save_constant'.
11099
11100         * gcc.c (execute): Likewise for `ut' and `st'.
11101
11102         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
11103
11104         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
11105
11106         * jump.c (jump_optimize_1): Likewise for `temp2'.
11107
11108         * local-alloc.c (block_alloc): Likewise for `r1'.
11109
11110         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
11111
11112         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
11113         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
11114
11115         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
11116         and `set2'.
11117
11118         * reload.c (find_reloads): Likewise for `goal_alternative_number'
11119         and `goal_earlyclobber'.
11120
11121         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
11122
11123         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
11124
11125         * stupid.c (stupid_life_analysis): Likewise for `chain'.
11126
11127         * unroll.c (copy_loop_body): Likewise for `copy'.
11128
11129         * varasm.c (output_constructor): Likewise for `byte'.
11130
11131 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11132
11133         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
11134         all FP constants for constant->reg moves.
11135         (ix86_split_to_parts): Try to convert memory address into immediate
11136         when available in the constant pool.
11137         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
11138         moves.
11139         (LEGITIMATE_CONSTANT_P): Return 1.
11140         * i386.md (pushsf): New splitter to convert constant pool memory
11141         reference to immediate.
11142         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
11143         reload.
11144
11145 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
11146
11147         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
11148         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
11149         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
11150         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
11151         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
11152
11153 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
11154
11155         * ginclude/stdbool.h:  Support compilation as C++.
11156
11157 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11158
11159         * fold-const.c (make_range): Don't try to reverse an unbounded range.
11160
11161 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
11162
11163         * regclass.c (regclass): Properly compute loop_cost.  Adjust
11164         comments.
11165
11166         * regclass.c: Fix minor whitespace problems.
11167
11168 2000-01-03  Anthony Green  <green@cygnus.com>
11169
11170         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
11171         Restore the pic register if required.
11172
11173 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
11174
11175         * c-common.c (format_char_info): Update comment.
11176         (check_format_info): Recognize 'z' modifier in the same way 'Z'
11177         was recognized.  Emit warning for formats new in ISO C99 only
11178         if flag_isoc9x is not set.
11179
11180 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
11181
11182         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
11183
11184 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11185
11186         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
11187         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
11188         (make_compound_operation): Choose cheaper alternative between
11189         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
11190
11191         * regclass.c (op_costs): Remove global variable.
11192         (record_reg_classes): New parameter "op_costs" and "reg_pref".
11193         (record_operand_costs): Break out from ...
11194         (scan_one_insn): ... here.
11195         (dump_regclass): Make dumps nicer.
11196         (regclass): Dump preferrences choosed and changes done during passes.
11197
11198 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11199
11200         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
11201
11202 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11203
11204         * config/sparc/sparc.c (gen_df_reg): New function.
11205         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
11206         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
11207         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
11208         movtf_cc_reg_sp64+1): Use it.
11209
11210 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11211
11212         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
11213         copied LABEL_DECLs.
11214
11215 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11216
11217         * config/i386/i386.c (ix86_expand_unary_operator): Function
11218         definition made void.
11219         (ix86_expand_binary_operator): Update outdated preceding comment.
11220         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
11221         prototype.
11222
11223         * config/i386/i386.c (override_options): Fix option-name typo.
11224
11225 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11226
11227         * system.h (CEIL): Define.
11228         * builtins.c (CEIL): Remove.
11229         * expmed.c (CEIL): Likewise.
11230         * expr.c (CEIL): Likewise.
11231         * stor-layout.c (CEIL): Likewise.
11232
11233 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11234
11235         * expr.c (store_constructor_field): Fix typo introduced with last
11236         gcc2 merge.
11237
11238 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
11239
11240         * tree.h (BINFO_N_BASETYPES): New macro.
11241
11242 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
11243
11244         * expmed.c (emit_store_flag): Prevent losing a pending stack
11245         adjust the same way we prevent losing queued increments.
11246
11247 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11248
11249         * function.c (update_temp_slot_address): Handle case where sum of
11250         temporary address plus offset in register is a valid address.
11251
11252 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
11253
11254         * genrecog.c (change_state) Corrected typo.
11255
11256 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11257
11258         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
11259         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
11260         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
11261
11262 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11263
11264         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
11265         case, expand GT comparisons correctly.  Fix a comment before this
11266         part of the code.
11267
11268 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11269
11270         * dwarfout.c: Include "frame.h"
11271         * dwarf2out.c: Likewise.
11272         * Makefile.in (dwarfout.o): Depend on frame.h
11273         (dwarf2out.o): Likewise.
11274
11275 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
11276
11277         Restore i386 binary compatibility in Dwarf EH info.
11278         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
11279         value of FIRST_PSEUDO_REGISTER.
11280         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
11281         (struct frame_state): Use DWARF_FRAME_REGISTERS.
11282         * dwarfout.c (output_reg_number): Ditto.
11283         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
11284         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
11285
11286 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
11287
11288         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
11289         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
11290         (<hack>_RE_CT): not needed
11291         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
11292         rewritten to scan the file text once only
11293         "template<..." test added
11294         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
11295         (is_cxx_header): declaration added
11296         * fixinc/fixtests.c(is_cxx_header): removed
11297         (apply_fix_p_t): removed
11298         (double_slash_test): is_cxx_header is only called once now
11299         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
11300         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
11301         within the templates.
11302         The borken spelling of "broken" was fixed.
11303         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
11304         The default level depends on FIXINC_DEBUG.
11305
11306 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11307
11308         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
11309         Otherwise provide a declaration for atexit.
11310         (init_dummy): Make sure dummy call to atexit is nevertheless
11311         called with correct number of args.
11312
11313         * frame.c: Update comments referring to other files.
11314
11315         * libgcc2.c: Likewise.
11316
11317 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11318
11319         * cse.c (free_element, get_element): Remove unused prototypes.
11320
11321         * fold-const.c (extract_muldiv): Initialize variables `op0' and
11322         `op1'.
11323
11324         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
11325         `else' clauses.
11326
11327 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
11328
11329         * configure.in,configure: case arm for mn10200-*-* now sets
11330         float_format=i32 so that float.h will correctly claim "double"
11331         to be 32 bits. Ran autoconf to generate configure from .in file.
11332
11333 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
11334
11335         * pa.md (conditional zero): If op1 is a register, force it into
11336         the same register as op0.
11337
11338 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
11339
11340         * tree.h (BINFO_BASETYPES): Improve documentation.
11341
11342 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11343
11344         * configure.in (--enable-checking): Use a more portable `for'
11345         loop syntax.
11346
11347 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11348
11349         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
11350         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
11351
11352         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
11353         Delete files.
11354
11355         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
11356         Delete descriptions.
11357
11358         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
11359         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
11360         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
11361         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
11362         xm-svr4.h: Remove all instances of sys_siglist handling.
11363
11364 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
11365
11366         * config/sparc/sparc.md (cmp_zero_qi,
11367         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
11368         cmp_zero_extendqidi2_andcc_set): New patterns.
11369
11370 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
11371
11372         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
11373         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
11374         (fpgnulib.c, xfgnulib.c): Add rules.
11375         * m68k/t-mot3300-gas: Likewise.
11376
11377 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
11378
11379         * configure.in: Avoid [[ by using test and changequote.  Add
11380         changequote required by 1999-12-14 change.
11381         * configure: Rebuild.
11382
11383 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
11384
11385         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
11386
11387 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
11388
11389         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
11390         * flow.c (find_use_as_address): Likewise.
11391         * function.c (fixup_var_refs_1): Likewise.
11392         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
11393         * jump.c (invert_exp, redirect_exp): Likewise.
11394         * loop.c (replace_call_address): Likewise.
11395         (count_nonfixed_reads): Likewise.
11396         * rtlanal.c (modified_between_p): Likewise.
11397         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
11398         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
11399         * unroll.c (remap_split_bivs): Likewise.
11400
11401 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11402
11403         * diagnostic.c (v_message_with_decl): Use .* format specifier
11404         instead of building the format specifier width manually.
11405
11406         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
11407         determining whether to provide a prototype.  Remove the
11408         sys_siglist clause in the conditional.
11409
11410 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11411
11412         * fold-const.c (operand_equal_p): Use memcmp to compare string
11413         constants.
11414         Suggested by D. J. Bernstein
11415
11416 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
11417
11418         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
11419         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
11420         compiling libgcc2.
11421         * config/mips/mips.h (TARGET_64BIT): Likewise.
11422         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
11423         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
11424         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
11425         dsps.  Give routines proper names if SI/DI modes are not used.
11426         * longlong.h: Use DWunion instead of DIunion.
11427
11428 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
11429
11430         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
11431         GC_CHECKING, GC_ALWAYS_COLLECT.
11432         * configure.in: Allow --enable-checking with an argument
11433         listing check modes to enable.
11434         * config.in, configure: Rebuilt.
11435         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
11436         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
11437         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
11438         ENABLE_GC_ALWAYS_COLLECT.
11439         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
11440         throughout.
11441         * tree.h, tree.c: Change ENABLE_CHECKING to
11442         ENABLE_TREE_CHECKING throughout.
11443
11444 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11445
11446         * fold-const.c (fold_truthop): Properly check for FP RHS.
11447
11448 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
11449
11450         * toplev.h (note_deferall_of_defined_inline_function): Declare.
11451         * toplev.c (note_deferral_of_defined_inline_function): New
11452         function, split out from ...
11453         (rest_of_compilation): ... here.  Use it.
11454
11455 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11456
11457         * expr.c (store_constructor): Don't call clear_storage if size is
11458         variable.
11459
11460 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11461
11462         * Makefile.in (toplev.o): Depend on loop.h.
11463
11464         * dwarfout.c: Include tm_p.h.
11465
11466         * emit-rtl.c (restore_emit_status): Mark parameter with
11467         ATTRIBUTE_UNUSED.
11468
11469         * final.c (final_scan_insn): Likewise.
11470
11471         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
11472         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
11473         flow_depth_first_order_compute, flow_loop_pre_header_find,
11474         flow_loop_tree_node_add, flow_loops_tree_build,
11475         flow_loop_level_compute, flow_loops_level_compute,
11476         flow_loop_outside_edge_p): Add prototypes.
11477         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
11478
11479         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
11480         Mark with ATTRIBUTE_NORETURN.
11481
11482         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
11483
11484         * local-alloc.c (no_conflict_p): Likewise.
11485
11486         * loop.c (insert_bct): Hide definitions of variables with hidden
11487         usage.
11488         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
11489
11490         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
11491         with ATTRIBUTE_UNUSED.
11492         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
11493         (reg_scan): Likewise.
11494
11495         * reload.c (find_reloads): Remove unused variables `changed'.
11496
11497         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
11498         away const-ness.
11499         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
11500         Remove unused variable `insn'.
11501
11502         * toplev.c: Include loop.h.
11503         (report_file_and_line): Remove unnecessary prototype.
11504
11505         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
11506
11507         * unroll.c (biv_total_increment): Likewise.
11508
11509 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11510
11511         * reload1.c (emit_input_reload_insns): Restore old behaviour
11512         wrt. 'special' reloads.
11513
11514 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
11515
11516         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
11517         hash.h.  (cse.c): Don't depend on hashtab.h.
11518
11519         * cse.c: Don't include hashtab.h.
11520         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
11521         of dead functions.
11522         * ggc-simple.c: Don't include hash.h.
11523
11524 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
11525
11526         * dwarf2out.c (add_abstract_origin_attribute): Call
11527         gen_abstract_function on our function context.
11528
11529 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
11530
11531         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
11532
11533 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11534
11535         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
11536         case in switch.
11537
11538 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11539
11540         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
11541         constraints to "a!r".
11542
11543 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
11544
11545         * Makefile.in (calls.o): Depend on function.h.
11546         (alias.o): Likewise.
11547
11548 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
11549
11550         * reload1.c (emit_reload_insns): Break out code and variables into...
11551         (input_reload_insns, other_input_address_reload_insns,
11552         other_input_reload_insns, input_address_reload_insns,
11553         inpaddr_address_reload_insns, output_reload_insns,
11554         output_address_reload_insns, outaddr_address_reload_insns,
11555         operand_reload_insns, other_operand_reload_insns,
11556         other_output_reload_insns): ... new static variables, and...
11557         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
11558         do_output_reload): ... new functions.
11559
11560 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11561
11562         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
11563
11564 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11565
11566         * md.texi: Add c4x constraints documentation.
11567
11568 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11569
11570         * config/i386/dgux.c (struct option): Rename to
11571         lang_independent_option.
11572         (struct m_options): Add description field.
11573         (output_options): Rename option type, add sep declaration, output
11574         ix86_cpu_string and ix86_arch_string only if set.
11575         (output_file_start): Rename option type.
11576
11577 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
11578
11579         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
11580         stmp-int-hdrs.
11581         (libgcc2.a): Similarly.
11582
11583 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
11584
11585         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
11586         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
11587         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
11588
11589 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
11590
11591         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
11592         Remove redundant initialization of "frexpon" and "expon".
11593
11594 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11595
11596         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
11597
11598         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
11599         (store_constructor_field, expand_expr): Pass new arg.
11600
11601 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
11602
11603         * Makefile.in (explow.o): Depend on function.h.
11604
11605         * stor-layout.c (set_sizetype): Fix typo.
11606
11607 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
11608
11609         * function.c (cfun): Renamed from current_function.  All users
11610         changed.
11611         * function.h (cfun): Rename declaration as well.
11612
11613         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
11614         to be of type regset_head, not regset.  All users changed by adding
11615         address operator.
11616         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
11617
11618 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11619
11620         * config/c4x/rtems.h: New file.
11621
11622 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11623
11624         * reload1.c (spill_failure): Take class of failed reload as argument
11625         and print it.  Caller changed.
11626
11627 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11628
11629         * rs6000.h (SUBTARGET_DEFAULT): New macro.
11630         (TARGET_SWITCHES): Allow subtargets to default switches.
11631         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
11632
11633 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
11634
11635         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
11636         in a main program.
11637
11638 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
11639
11640         * cccp.c (main): Define __STDC_VERSION__ as necessary.
11641         * cppinit.c (cpp_handle_option): Likewise.
11642
11643         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
11644         determine when to define.
11645
11646 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
11647
11648         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
11649         cmove with mismatched test and data modes.
11650
11651 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
11652
11653         * c-typeck.c (c_expand_start_case): Don't warn for long switch
11654         in system headers.
11655
11656 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11657
11658         * alias.c: Minor reformatting.
11659         * flow.c: Likewise.
11660         * regs.h: Likewise.
11661         * stor-layout.c: Likewise.
11662         * fold-const.c: Likewise.
11663         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
11664         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
11665         not arg itself.
11666         (size_int_wide): Cache nodes even if garbage collecting.
11667         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
11668         of SAVE_EXPR has no side effects.
11669         * cse.c: Move a comment.
11670         * tree.c: Minor reformatting.
11671         (int_size_in_bytes): Return -1 if constant overflows.
11672
11673 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11674
11675         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
11676
11677 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11678
11679         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
11680         after any change to c-parse.in, even if objc-parse.y didn't
11681         change.  Oops.
11682
11683 1999-12-18  David S. Miller  <davem@redhat.com>
11684
11685         * toplev.c (rest_of_compilation): Restore BLOCK tree
11686         reconstruction and branch shortening changes lost in
11687         December 18th change.
11688
11689 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
11690
11691         * config/arm/linux-elf.h: Change all instances of
11692         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
11693         * config/arm/uclinux-elf.h: Likewise.
11694
11695 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
11696
11697         * toplev.c (notice, vmessage, v_message_with_file_and_line,
11698         v_message_with_decl, file_and_line_for_asm,
11699         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
11700         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
11701         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
11702         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
11703         pfatal_with_name, fatal_io_error, need_error_newline,
11704         last_error_function, last_error_tick, announce_function,
11705         default_print_error_function, print_error_function,
11706         report_error_function, fnotice, error_with_file_and_line,
11707         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
11708         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
11709         warning_with_decl, warning_for_asm, warning, pedwarn,
11710         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
11711         diagnostic.c
11712         (compile_file): Use fnotice instead of notice.  Adjust call.
11713
11714         * diagnostic.c: New file.
11715
11716         * Makefile.in (OBJS): Include diagnostic.o
11717         (diagnostic.o): Define dependence.
11718
11719 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11720
11721         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
11722         Tweak formatting.
11723
11724 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11725
11726         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
11727
11728 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11729
11730         * fixtests.c (is_cxx_header): New fn, split out of
11731         double_slash_test.
11732         (else_endif_label): Allow "#endif // comment" in C++ headers,
11733         as determined by is_cxx_header.
11734         * fixfixes.c (else_endif_label_fix): Update comment.
11735         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
11736         a tty.
11737         * genfixes: Correct double thinko in commandline parsing.
11738         * hackshell.tpl: Generate correct sh syntax for bypass
11739         entries.
11740
11741         * inclhack.def (all): Whenever an inserted preprocessor
11742         conditional is split over multiple lines, use double
11743         backslashes in this file so the fixed header will be readable.
11744
11745         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
11746         and add bypass entry for correct version of this header.
11747         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
11748         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
11749
11750         (hpux8_bogus_inlines): New fix, split from...
11751         (ultrix_atof_param) ... here.
11752         (math_expression): Add bypass entry keyed to glibc comment
11753         indicating the problem has been dealt with; disable
11754         unnecessary sed operations; update commentary.
11755         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
11756         add select and bypass entries, simplify shell operation.
11757         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
11758
11759         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
11760          ultrix_atof_param): Add select entry.
11761         (stdio_va_list, sunos_mather_decl): Add bypass entry.
11762         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
11763         comments with the fixes they describe.
11764
11765         * c-parse.in (string action): Do not warn about ANSI string
11766         concatenation in system headers.  Affects C parser only.
11767         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
11768
11769 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11770
11771         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
11772         compiling libgcc2 the macro depends always on arch cpp defines.
11773
11774 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
11775
11776         * loop.c (insert_loop_mem): Don't record MEMs from inside
11777         EXPR_LISTs.
11778
11779 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
11780
11781         * regclass.c (regclass): Do not use flowgraph when not optimizing.
11782
11783         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
11784         notes too, create one when replacement failed, attempt to simplify
11785         resulting notes.
11786         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
11787         or REG_EQUIV notes.
11788
11789 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11790
11791         * crtstuff.c (__dso_handle): Declare.
11792         (__cxa_finalize): Likewise.
11793         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
11794         non-NULL.
11795
11796         * invoke.texi: Document -fuse-cxa-atexit.
11797
11798         * tree.h (ptr_type_node): Document.
11799         (const_ptr_type_node): Likewise.
11800
11801 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11802
11803         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
11804         (optimize_reg_copy_2): Likewise.
11805         (optimize_reg_copy_3): Likewise.
11806         (fixup_match_2): Likewise.
11807         (regmove_optimize): Likewise.
11808         (fixup_match_1): Liekwise.
11809
11810         * i386.md (HI to SImode promoting splitters): Rewrite.
11811         (pushsf mem peep2): New.
11812         (testhi to andhi peep2): Remove.
11813         * i386.h (x86_promote_QImode): New.
11814         (TARGET_PROMOTE_QImode): New.
11815         (PREDICATE_CODES): Add promotable_binary_operator.
11816         * i386.c (x86_promote_QImode0: New.
11817         (promotable_binary_operator): New.
11818         * i386-protos.h (promotable_binary_operator): New.
11819
11820         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
11821         condition.
11822         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
11823
11824 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11825
11826         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
11827         * function.c (insert_block_after_note): Remove.
11828         (retrofit_block): Likewise.
11829         (identify_blocks): Fix indentation.
11830         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
11831         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
11832         * function.h (insert_block_after_note): Remove prototype.
11833         (retrofit_block): Likewise.
11834         * integrate.c (expand_inline_function): Don't call
11835         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
11836         just expand_start_bindings.  Use the block_map to remap old
11837         NOTE_BLOCKs to new ones.
11838         (integrate_decl_tree): Keep track of remapped blocks.
11839         * integrate.h (struct inline_remap): Add block_map.
11840         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
11841         NOTE_BLOCK on the notes.
11842         (expand_start_bindings): Rename to ...
11843         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
11844         (expand_end_bindings): Set NOTE_BLOCK.
11845         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
11846         reconstruct the BLOCK tree.
11847         * tree.h (expand_start_bindings): Macroize.  Call ...
11848         (expand_start_bindings_and_block): New function.
11849
11850 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11851
11852         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
11853         to match the format.
11854
11855 1999-12-16  David S. Miller  <davem@redhat.com>
11856
11857         * expr.c (emit_move_insn_1): Only emit clobbers if one of
11858         the outputs is a SUBREG.
11859         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
11860         change.
11861
11862         * config/sparc/sparc.c (epilogue_renumber): Add default case
11863         to switch stmt.
11864
11865 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11866
11867         * toplev.c (rest_of_compilation): Run branch shortening after
11868         reg-stack.
11869
11870         * regclass.c (loop_depth): Remove
11871         (scan_one_insn): Do not handle LOOP_NOTE insns.
11872         (regclass): Go through basic blocks and set loop_cost
11873
11874 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
11875
11876         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
11877
11878 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11879
11880         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
11881         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11882         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11883
11884 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
11885
11886         * loop.c (insert_loop_mem): Ignore memory clobbers.
11887
11888         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11889         to (OP A B).
11890
11891 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
11892
11893         * profile.c: Remove redundant #include "output.h".
11894
11895         * h8300.md (HImode preinc peephole): Fix typo.
11896
11897 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11898
11899         * function.c (retrofit_block): Abort if we don't find a suitable insn.
11900         (insert_block_after_note): Abort if we don't have a previous block.
11901         Remove FN parameter.
11902         * function.h: Adjust.
11903
11904 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
11905
11906         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11907         argument more than once.
11908
11909 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11910
11911         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11912
11913 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
11914
11915         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11916
11917 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11918
11919         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11920         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11921         update stack_alignment_needed.
11922         (prepare_function_start): Initialize stack_alignment_needed
11923         * function.h (struct function): Add field stack_alignment_needed.
11924
11925 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11926
11927         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11928         Handle live_throughout / dead_or_set instead of live_before /
11929         live_after.
11930         (save_call_clobbered_regs): Get register livenessinformation from
11931         chain->live_throughout.
11932         (add_stored_regs): New function.
11933         (insert_restore, insert_save): Add restored / saved registers to
11934         dead_or_set.
11935         * global.c (reg_dies): New parameter chain.
11936         (reg_becomes_live): Third parameter is regs_set now.
11937         Changed all callers.
11938         (reg_dies): New parameter chain.  Changed all callers.
11939         (build_insn_chain): Set live_throughout instead of
11940         live_before / live_after.
11941         * reload.h (struct insn_chain): Replace members live_before /
11942         live_after with live_throughout / dead_or_set.
11943         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11944         instead of live_before / live_after.
11945         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11946         (order_regs_for_reload, find_reg, finish_spills): Likewise.
11947         (choose_reload_regs_init): Likewise.
11948         * stupid.c (current_chain, find_clobbered_regs): Delete.
11949         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11950         instead of chain->live_before / chain->live_after.
11951         (mark_hard_ref): New function.
11952         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11953
11954 1999-12-15  David S. Miller  <davem@redhat.com>
11955
11956         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11957
11958 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11959
11960         * flow.c (calculate_loop_depth): Make global, remove prototype,
11961         rewrite to use new loop infrastructure.
11962         (find_basic_block): Remove calculate_loop_depth call.
11963         * toplev.c (rest_of_compilation): Call find_basic_block.
11964         * output.h (calculate_loop_depth): Declare.
11965
11966         * flow.c (dump_flow_info): Dump loop_depth.
11967         (flow_loops_nodes_find): Increase loop_depth for basic block in the
11968         body.
11969         (flow_loops_find): Initialize the loop_depth for each basic block.
11970
11971 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11972
11973         * tree.c (decl_function_context): Handle virtual functions.
11974
11975         * tlink.c (scan_linker_output): Don't look in demangled name when
11976         looking for linker output keywords.
11977
11978         * dwarfout.c (output_type): We can defer namespace-scope classes.
11979
11980 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
11981
11982         * regclass.c (record_reg_classes): Update comment for merging
11983         register class preferences in reg->reg copies.  Tighten conditions
11984         for merging register class preferences in reg->reg copies.
11985
11986 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
11987
11988         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11989
11990 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
11991
11992         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11993         (INIT_SECTION_ASM_OP): Delete.
11994         (FINI_SECTION_ASM_OP): Delete.
11995         (STARTFILE_SPEC): Define to hold just crtbegin.o.
11996
11997 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
11998
11999         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
12000         the abstract origin wasn't emitted.
12001
12002         * dwarf2out.c (class_scope_p): New fn.
12003         (gen_subprogram_die): Use it.
12004         (gen_variable_die): Use it.  Tweak logic.
12005         (gen_struct_or_union_type_die): Check context_die to determine
12006         if we're function-local.
12007         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
12008
12009 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12010
12011         * loop.c (check_dbra_loop): Can't reverse a biv that has
12012         maybe_multiple set.
12013
12014 1999-12-14  Nick Clifton  <nickc@cygnus.com>
12015
12016         * config/arm/arm.c: Add support for -mcpu=arm720 command line
12017         switch.
12018
12019 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12020
12021         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
12022         for givs made from biv increments.
12023
12024 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
12025
12026         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
12027         * alpha.c (override_options): Recognize -mcpu=ev67.
12028         * alpha.h (CPP_CPU_EV67_SPEC): New.
12029         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
12030         (EXTRA_SPECS): Update.
12031
12032 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
12033
12034         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
12035         appropriate for -lang-c89 and -std=*.
12036         * cppinit.c (cpp_handle_option): Likewise.
12037         (new_pending_define): New, split out from cpp_handle_option.
12038         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
12039         or enable trigraphs for -ansi/-std=*.
12040
12041         * ginclude/stdarg.h (__va_copy): New.
12042         (va_copy): Don't define for C89.
12043
12044 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
12045
12046         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
12047         for long long multiply-accumulate.
12048
12049 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12050
12051         * regclass.c (scan_one_insn): Set loop_cost to 1 when
12052         optimizing for size.
12053
12054 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12055
12056         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
12057         if something changed.  Back out that part of yesterday's changes.
12058
12059         * loop.c (loop_max_reg): New static variable.
12060         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
12061         max_reg_num.
12062         (scan_loop): Call reg_scan_update whenever we may have added new
12063         registers, and update loop_max_reg.
12064
12065 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12066
12067         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
12068         when source does not die.
12069
12070         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
12071
12072 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
12073
12074         * config/sparc/linux64.h (TARGET_LIVE_G0,
12075         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
12076         variants on Linux.
12077         * config/sparc/linux.h (TARGET_LIVE_G0,
12078         TARGET_BROKEN_SAVERESTORE): Likewise.
12079         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12080         TARGET_BROKEN_SAVERESTORE): Likewise.
12081
12082         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
12083         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
12084         not %g2.
12085         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
12086         as sparc64 block profiling register.
12087         * config/sparc/sparc.c (sparc_override_options): Allow block
12088         profiling with -m32.
12089         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
12090         profiling register.
12091         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
12092         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
12093         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
12094
12095         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
12096         for sparc64.
12097         * config/sparc/sparc.h: Likewise.
12098         * config/sparc/xm-sysv4-64.h: Likewise.
12099         * config/float-sparc.h: Likewise.
12100         * glimits.h: Likewise.
12101         * longlong.h: Likewise.
12102
12103         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
12104         (ASM_IDENTIFY_GCC): Remove.
12105
12106 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12107
12108         * combine.c (combine_simplify_rtx): Don't make shared rtl.
12109         (simplify_logical): Likewise.
12110
12111 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12112
12113         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
12114         * cppfiles.c (INO_T_EQ): Likewise.
12115
12116 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12117
12118         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
12119         * i386/mingw32.h (LIB_SPEC): Likewise.
12120         (STARTFILE_SPEC): Likewise.
12121         * i386/uwin.h (LIB_SPEC): Likewise.
12122         (STARTFILE_SPEC): Likewise.
12123
12124         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
12125         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
12126
12127 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
12128
12129         * combine.c (combine_simplify_rtx): Fix order of checks for
12130         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
12131
12132 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
12133
12134         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
12135         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
12136
12137 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12138
12139         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
12140         defined.
12141         * regclass.c (inv_reg_alloc_order): New array.
12142         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
12143
12144         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
12145         counted_for_groups, counted_for_nongroups.  Add fields rld and
12146         n_reloads.
12147         * reload.c (push_secondary_reload): Don't set nongroup field of
12148         new reloads.
12149         (push_reload): Likewise.
12150         (find_reloads): Delete code to compute nongroup fields.
12151         * reload1.c (reload_insn_firstobj): New static variable.
12152         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
12153         users changed.
12154         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
12155         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
12156         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
12157         functions.
12158         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
12159         functions.
12160         (struct hard_reg_n_uses): Deleted.
12161         (potential_reload_regs): Deleted.
12162         (init_reload): Initialize spilled_pseudos and pseudos_counted.
12163         (reload): Don't try to allocate reload registers if we already know
12164         we have to make another pass.  Call select_reload_regs.  Free memory
12165         starting with reload_firstobj when starting another pass.
12166         Don't allocate spilled_pseudos.
12167         (calculate_needs_all_insns): Call copy_reloads for an insn that
12168         needs reloads; don't call calculate_needs.
12169         (spill_cost): New static array.
12170         (used_spill_regs_local): New static variable.
12171         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
12172         to compute potential_reload_regs.
12173         (find_reload_regs): Completely rewritten to use find_reg.
12174         (allocate_reload_reg): Don't test counted_for_groups or
12175         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
12176         all cllers changed.
12177         (choose_reload_regs): Add fallback code that uses the existing
12178         register allocation from find_reload_regs.
12179
12180 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
12181
12182         * flow.c (create_edge_list): Cast xmalloc return value.
12183
12184 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
12185
12186         * doprnt.c: Remove incorrect comment closure.
12187
12188         * cse.c: Fix a few minor whitespace goofs.
12189
12190 1999-12-13  Don Bowman  <don@pixstream.com>
12191
12192         * mips/vxworks.h: Fix problem with comment termination.
12193         (EXTRA_SECTIONS): Add in_sbss.
12194         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
12195
12196 1999-12-12  David S. Miller  <davem@redhat.com>
12197
12198         * cse.c (struct cse_reg_info): Add hash_next member,
12199         reorder rest of struct for better packing on 64-bit
12200         hosts.
12201         (cse_reg_info_tree): Kill.
12202         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
12203         REGHASH_FN): New custom pow2 hash mechanism.
12204         (NBUCKETS): Kill.
12205         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
12206         use a pow2 hash table.
12207         (get_cse_reg_info): Rework to use new REGHASH.
12208         (new_basic_block): Likewise, use HASH_SIZE, and inline
12209         free_element call.
12210         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
12211         and inline free_element call.
12212         (lookup_as_function, insert, flush_hash_table, invalidate,
12213         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
12214         invalidate_for_call, use_related_value, find_comparison_args,
12215         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
12216         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
12217         get_element): Kill.
12218
12219 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
12220
12221         * cse.c (cse_basic_block): Free qty_table consistently.
12222
12223 1999-12-12  David S. Miller  <davem@redhat.com>
12224             Jakub Jelinek    <jakub@redhat.com>
12225
12226         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
12227         SUBREGs by hand, gen the appropriate hard reg directly.
12228         (movtf reg/mem split): Likewise and alter_subreg on destination
12229         if necessary.
12230         (movtf mem/reg split): Similarly.
12231         (movdf_cc_sp64): Rename from hidden pattern.
12232         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
12233         (movtf_cc_sp64, following split): New pattern and splitter.
12234         (movdf_cc_reg_sp64): Rename from hidden pattern.
12235         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
12236         TARGET_HARD_QUAD.
12237         (movtf_cc_reg_sp64, following split): New pattern and splitter.
12238
12239 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
12240
12241         * loop.c (load_mems): Don't hoist written floating point mem
12242         if -ffloat-store.
12243
12244 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
12245
12246         * except.h (struct eh_queue): Add `next' pointer.
12247         (struct eh_status): Make x_ehqueue a pointer.
12248         (push_ehqueue):  Declare.
12249         (pop_ehqueue): Likewise.
12250         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
12251         pointer.
12252         (expand_fixup_region_end): Likewise.
12253         (expand_leftover_cleanups): Likewise.
12254         (push_ehqueue): Define.
12255         (pop_ehqueue): Likewise.
12256         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
12257         than doing it inline.
12258         (expand_start_all_catch):  Adjust now that ehqueue is a
12259         pointer.
12260         (mark_eh_queue): Mark all level of the queue.
12261         (mark_eh_status):  Adjust now that ehqueue is a
12262         pointer.
12263         (init_eh_for_function): Allocate ehqueue.
12264         (free_eh_status): Free it.
12265         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
12266         expansion for a fixup.
12267
12268 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12269
12270         * gthr-single.h (__gthread_active_p): Add prototype arguments.
12271
12272         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
12273         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
12274         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
12275         function_ptr, getpagesize, __enable_execute_stack,
12276         __enable_execute_stack, __clear_insn_cache,
12277         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
12278         _cleanup, _exit, __default_terminate, __terminate_func,
12279         __terminate, __empty, __throw, new_eh_context,
12280         eh_context_initialize, eh_context_static, eh_context_specific,
12281         get_eh_context, __get_eh_context, __get_eh_info,
12282         init_reg_size_table, eh_threads_initialize,
12283         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
12284         __unwinding_cleanup, throw_helper, __throw, __rethrow,
12285         __pure_virtual): Add prototype arguments.
12286         (__bb_exit_func): Cast a sizeof to long when comparing against one.
12287         Cast a signed value to unsigned long when comparing against one.
12288         (new_eh_context): Wrap in _GTHREADS macro.
12289         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
12290         declaration.
12291         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
12292         (throw_helper): Initialize variables `handler_p' and `pc_p'.
12293
12294 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12295
12296         * combine.c (record_promoted_value): Remove unused variable
12297         `links2'.
12298
12299         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
12300
12301         * global.c (record_conflicts): Likewise for `j'.
12302
12303         * genoutput.c (output_insn_data): Don't unnecessarily cast away
12304         const-ness.
12305
12306 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12307
12308         * i386-protos.h (output_387_binary_op, output_fix_trunc,
12309         output_fp_compare): Constify a char*.
12310
12311         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
12312         static prototypes.
12313         (override_options, ix86_comp_type_attributes, print_operand,
12314         output_387_binary_op, output_fix_trunc, output_fp_compare):
12315         Constify a char*.
12316         (ix86_sched_reorder): Mark parameter `clock_var' with
12317         ATTRIBUTE_UNUSED.
12318
12319         * i386.h (DEBUG_PRINT_REG): Constify a char*.
12320
12321 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
12322
12323         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
12324         operand, for use in the Java front-end.
12325
12326 1999-12-10  Ben Collins  <bcollins@debian.org>
12327
12328         * configure.in: Fix typo for "-64" in 64bit as check.
12329         * configure: Rebuilt.
12330
12331 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
12332
12333         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
12334         appropriate.
12335
12336 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12337
12338         * c-parse.in (string): With -Wtraditional, warn if ANSI string
12339         concatenation is utilized.
12340
12341         * invoke.texi (-Wtraditional): Document it.
12342
12343 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12344
12345         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
12346         Cast a ptrdiff_t to long and pass it to printf with %ld.
12347
12348 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
12349
12350         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
12351         68881, we have no 68881 registers at all.
12352         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
12353         value in a 68881 register if it is available.
12354
12355 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
12356
12357         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
12358         for long long multiply-accumulate.
12359
12360 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12361
12362         * loop.c (insert_loop_mem): Undo last change.
12363
12364 1999-12-10  David S. Miller  <davem@redhat.com>
12365
12366         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
12367         New functions.
12368         * config/sparc/sparc-protos.h: Add them.
12369         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
12370         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
12371         constraints which use those helpers.
12372         (EXTRA_CONSTRAINT): Use this new macro.
12373         * md.texi: Update sparc target constraints documentation.
12374         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
12375         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
12376         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
12377         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
12378         (movsf high/lo_sum split): Rework for new patterns.
12379         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
12380
12381 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
12382
12383         * c-common.c (c_common_nodes_and_builtins):
12384         Create __builtin_ptrdiff_t and __builtin_size_t.
12385
12386 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
12387
12388         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
12389
12390 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12391
12392         * regclass.c (globalize_reg): Re-instate test that allows
12393         fixed registers to be declared as a variable even after functions
12394         are defined.
12395
12396 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12397
12398         * i386.md (cpu attribute): Add "athlon".
12399         (athlon_decode): New attribute.
12400         (Athlon scheduling units definitions): New.
12401         (fcmp and shld patterns): Set athlon_decode to "vector".
12402         * i386.c (athlon_cost): New.
12403         (m_ATHLON): New.
12404         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
12405         x86_use_sahf): Set for Athlon.
12406         (x86_use_fiop): Unset for Athlon.
12407         (override_options): Define Athlon alignments and "athlon" name.
12408         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
12409         * i386.h (TARGET_ATHLON): New.
12410         (enum processor_type): Add PROCESSOR_ATHLON.
12411         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
12412         for CPU_DEFAULT==5
12413         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
12414
12415 1999-12-09  Andreas Jaeger  <aj@suse.de>
12416
12417         * loop.c (record_biv): Declare parameter as int.
12418
12419         * config/i386/i386-protos.h: Declare long_memory_operand.
12420
12421 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
12422
12423         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
12424         EXPR_WITH_FILE_LOCATION.
12425
12426 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
12427
12428         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
12429         in expander.
12430
12431         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
12432
12433         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
12434         updating code.
12435
12436 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
12437
12438         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
12439         default on linux64 again.
12440         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
12441         models for multilibing.
12442         * genmultilib: Accept | as alternative separator within a set in
12443         MULTILIB_OPTIONS.
12444
12445         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
12446
12447         * calls.c (precompute_arguments): Make sure initial_value contains
12448         value pseudo which CSE expects.
12449         * cse.c (struct set): New entry orig_src.
12450         (cse_insn): Set it early on entry, use it for libcall EQUIV note
12451         replacement.
12452
12453 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
12454
12455         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
12456
12457 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
12458
12459         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
12460
12461 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
12462
12463         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
12464         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
12465
12466         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
12467         if TARGET_ARCH32.
12468
12469         * longlong.h: Merge in changes from glibc.
12470         Also don't clobber %g2 register in 32bit SPARC assembly, so that
12471         -mno-app-regs libgcc can be compiled.
12472         * libgcc2.c: Add defines so that the updated longlong.h
12473         can be used in libgcc2.a. Also, make sure on most architectures
12474         (at least on all which have optimized code in longlong.h defined
12475         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
12476
12477 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12478
12479         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
12480         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
12481         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
12482         is GNU ld.
12483         * configure: Rebuilt.
12484
12485 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
12486
12487         * alpha.c (secondary_reload_class): For !BWX, sub-simode
12488         outputs require a register.
12489
12490 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
12491
12492         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
12493         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
12494         functions like dptoul will be resolved.
12495         (libgcc2.a): Make sure that the object files from DPBIT are named
12496         differently (prefix `_dp') from those that would be coming from
12497         FPBIT.
12498
12499 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
12500
12501         * configure.in: When target is sparc* and tm_file contains 64,
12502         test for 64bit support in assembler.  If not supported, remove
12503         sparc/t-sol2-64 from target-dependent Makefile fragments.
12504         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
12505         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
12506         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
12507         * acconfig.h (AS_SPARC64_FLAG): Added.
12508         * configure, config.in: Rebuilt.
12509         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
12510         support.  Use AS_SPARC64_FLAG.
12511
12512 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
12513
12514         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
12515         suitable for holding OFmode values so that gcc works with complex
12516         quad long doubles.
12517         (hard_64bit_mode_classes): Likewise.
12518
12519         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
12520         so that it is actually matched.
12521         (sethi_di_medlow): Likewise.
12522
12523         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
12524         as legitimate constant if -mvis.
12525         * config/sparc/sparc.md (movtf): Likewise.
12526         (clear_sf): Use const_double_operand.
12527         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
12528
12529         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
12530         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
12531         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
12532         routines, _Qp_* cannot be handled like that now.
12533         (INIT_TARGET_OPTABS): Likewise.
12534         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
12535         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
12536         sparc_emit_float_lib_cmp if ARCH64 and soft float.
12537         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
12538         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
12539         divtf3, sqrttf3): New expanders.
12540         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
12541         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
12542         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
12543         non-_hq patterns.
12544
12545         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
12546         * configure: Rebuilt.
12547         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
12548         -mcpu is given and we're doing 64bit compiles.
12549
12550 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
12551
12552         * loop.h (struct induction): Add multi_insn_incr.
12553         * loop.c (basic_induction_var): New multi_insn_incr argument.
12554         Set it if we search back through previous insns for the biv.
12555         (record_biv): New multi_insn_incr argument; fill in struct induction.
12556         (strength_reduce): Discard an iv with multiple bivs, any of
12557         which require multiple insns to increment.
12558
12559 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12560
12561         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
12562         documentation.
12563
12564 1999-12-06  David S. Miller  <davem@redhat.com>
12565
12566         * combine.c (check_promoted_subreg): Do not conditionalize this upon
12567         PROMOTE_FUNCTION_RETURN.
12568
12569 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
12570
12571         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
12572         and handle REG_UNUSED note on insn.
12573
12574         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
12575         inner_mask instead of mask.
12576
12577 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
12578
12579         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
12580         zero if there was an error.
12581
12582 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12583
12584         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
12585         output string.
12586
12587         * longlong.h: Fix clobbers in SPARC asm statements.
12588
12589         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
12590         valid sethi operations when TARGET_ARCH64.
12591
12592         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
12593         always use move_by_pieces to avoid infinite recursion.
12594         (restore_fixed_argument_area): Likewise.
12595
12596         * combine.c (check_promoted_subreg, record_promoted_value): New
12597         functions.
12598         (combine_instructions): Use them to retain nonzero and sign bit
12599         information after SUBREGs are eliminated by optimizations in
12600         this pass if PROMOTE_FUNCTION_RETURN.
12601
12602         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
12603         .register declaration. Don't use variables with __ prefixes.
12604
12605 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12606
12607         * fold-const.c (optimize_bit_field_compare): Only use one mode
12608         for both RHS and LHS in non-constant case.
12609
12610 1999-12-06  Nathan Sidwell  <nathan@acm.org>
12611
12612         * frame.c (start_fde_sort): Only allocate erratic array, if
12613         linear one was allocated. Return allocated flag.
12614         (fde_insert): Only insert, if there's a valid array.
12615         (fde_end_sort): Split, sort and merge if linear and erratic
12616         arrays exist, else just sort linear one.
12617         (search_fdes): New function. Linear search through original fde
12618         structure.
12619         (frame_init): Permit multiple initializations. Cope with
12620         memory shortages.
12621         (find_fde): Fallback on linear search, if failed to sort array.
12622         (__deregister_frame_info): Only free sorted array, if we
12623         allocated it.
12624
12625 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12626
12627         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
12628
12629 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
12630
12631         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
12632
12633 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
12634
12635         * tree.h (special_function_p): Declare.
12636         * calls.c (special_function_p): Make it global.  Don't take `name'
12637         as a parameter.  Fix typo in 1999-11-28 change.
12638         (expand_cal): Adjust.
12639
12640 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
12641
12642         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
12643         * tree.h (EXPR_WFL_FILENAME): Define in terms of
12644         EXPR_WFL_FILENAME_NODE.
12645         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
12646         the TREE_CHAIN.
12647         * print-tree.c (print_note): Print TREE_PRIVATE and
12648         TREE_PROTECTED.
12649
12650         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
12651         the original die cannot be found.
12652
12653         * varray.h (varray_head_tag): Add elements_used.
12654         (VARRAY_PUSH): New macro.
12655         (VARRAY_POP): Likewise.
12656         (VARRAY_TOP): Likewise.
12657         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
12658         types.
12659         * varray.c (varray_init): Initialize elements_used.
12660         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
12661         (INTEGRATE_H): New variable.
12662         (integrate.o): Depend on INTEGRATE_H.
12663         (unroll.o): Likewise.
12664
12665         * function.h (insert_block_after_note): Declare.
12666         * function.c (insert_block_after_note): Split out from ...
12667         (retrofit_block): ... here.
12668
12669         * stmt.c (expand_fixup): Fix typo in comment.
12670
12671 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12672
12673         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
12674         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
12675         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
12676         (regmove_optimize, fixup_match_1): Likewise.
12677
12678 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12679
12680         * flow.c (flow_loops_dump): Add missing argument when calling
12681         flow_loop_nested_p.
12682
12683 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
12684             Greg McGary  <gkm@gnu.org>
12685
12686         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
12687         (init_attributes): Add A_NO_LIMIT_STACK.
12688         (decl_attributes): Handle A_NO_LIMIT_STACK.
12689         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
12690         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
12691         Handle stack bounds checking.
12692         * flags.h (flag_stack_check): Use the word 'probe' rather than
12693         'check', because the flag doesn't actually cause any checking to
12694         be done.
12695         * function.c (expand_function_start): Set
12696         current_function_limit_stack.
12697         * function.h (struct function): Add limit_stack.
12698         (current_function_limit_stack): Define.
12699         * invoke.texi (Code Gen Options): Document new options.
12700         * rtl.h: Declare stack_limit_rtx.
12701         * toplev.c (stack_limit_rtx): New variable.
12702         (decode_f_option): Handle new options -fstack-limit-register=REG,
12703         -fstack-limit-symbol=IDENT, -fno-stack-limit.
12704         (main): Add stack_limit_rtx as GC root.
12705         * tree.h (DECL_NO_LIMIT_STACK): New macro.
12706         (struct tree_decl): New member no_limit_stack.
12707
12708         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
12709         stack_limit_rtx.
12710         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
12711         (conditional_trap+1): Get new mnemonic correct.
12712         (conditional_trap+2): New pattern for DImode traps.
12713
12714         * config/m68k/m68k.c (output_function_prologue): Handle
12715         stack_limit_rtx.
12716         * config/m68k/m68k.md (trap): New insn.
12717         (conditional_trap): New insn.
12718         * md.texi (Standard Names): Document `trap' and
12719         `conditional_trap'.
12720         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
12721         so a cc0 setter doesn't get emitted at some random place in the
12722         function.
12723
12724         * config/i960/i960.md (trap): New insn.
12725         (conditional_trap): New expander.
12726         (conditional_trap+1, conditional_trap+2): New insns for signed
12727         and unsigned cases.
12728         * config/i960/i960.c (i960_function_prologue): Use
12729         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
12730
12731 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
12732                           Geoffrey Keating  <geoffk@cygnus.com>
12733
12734         * flags.h (warn_padded, warn_packed): Add global var decls.
12735         * toplev.c (warn_padded, warn_packed): Add global var defns.
12736         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
12737         * stor-layout.c (layout_record): Add local variable `type'
12738         to hold often-used TREE_TYPE (field).  Add local variable
12739         `unpacked_align' to hold alignment that would be in force
12740         if no `packed' attribute were present.  Warn if `packed' attribute
12741         is unnecessary, or even harmful.  Warn when gcc inserts padding
12742         to satisfy alignment requirements of members.  Use NULL_TREE
12743         when checking whether var_size is set.
12744         * invoke.texi: Document new flags.
12745
12746 1999-12-03  Nathan Sidwell  <nathan@acm.org>
12747
12748         * frame.c (fde_split): Reimplement to avoid variable sized array.
12749
12750 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12751
12752         * combine.c (try_combine): Before fixing up LOG_LINKS for the
12753         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
12754
12755 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
12756
12757         * invoke.texi: Document the mips option -mno-crt0
12758
12759 1999-12-02  Mike Karr  <mkarr@mathworks.com>
12760
12761         * cccp.c (argdata): Added free_ptr member.
12762         (macroexpand): Initialize free_ptr of each argument. When an
12763         argument's buffers are freed, if the argument's free_ptr corresponds
12764         to a buffer on the input stack, then return the free_ptr to that stack
12765         frame, otherwise, free it.
12766         (macarg): If an argument begins and ends on the same input stack level,
12767         then transfer the free_ptr of that buffer to the argument in case
12768         the stack is popped during the processing of a subsequent argument.
12769
12770 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
12771
12772         * loop.c (note_reg_stored): New function.
12773         (struct note_reg_stored_arg): New structure.
12774         (try_copy_prop): Change to be more conservative; only replace within
12775         one extended basic block and stop replacing if a store to the
12776         replacement reg is seen.
12777
12778 1999-12-02  Nick Clifton  <nickc@cygnus.com>
12779
12780         * config/fp-bit.c: Initialise all fields of the NAN
12781         constants.
12782
12783         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
12784         to HANDLE_PRAGMA.
12785
12786 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12787
12788         * i386.md (extend?f?f2): Force the input into a register, not
12789         the output.
12790
12791 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
12792
12793         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
12794         regclass' sake.
12795         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
12796         alternative because setting up 64bit constant is usually costly,
12797         especially when reload is in progress or completed.
12798         (movdf_const_intreg_sp64): Likewise.
12799         (movdf_const_intreg split): Fix building up constants when
12800         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
12801
12802 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
12803
12804         * combine.c (if_then_else_cond): Use const_true_rtx instead of
12805         const1_rtx for return values in EQ/NE comparison against (const_int 0)
12806         case.
12807
12808         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
12809         (asm_file_start): Emit .am33 into assembly file when compiling for
12810         the AM33.
12811         (print_operand_address): Handle POST_INC addresses.
12812         (can_use_return_insn, initial_offset): Check AM33 registers too.
12813         (expand_prologue): Check & save AM33 registers too.
12814         (expand_epilogue): Similarly.
12815         (secondary_reload_class): Handle AM33 specific secondary reloads.
12816         (output_tst): Emit efficient code for the AM33 too.
12817         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
12818         (TARGET_SWITCHES): Add -mam33 switch.
12819         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
12820         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
12821         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
12822         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
12823         (enum reg_class, REG_CLASS_NAMES): Likewise.
12824         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
12825         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
12826         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
12827         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
12828         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
12829         (HAVE_POST_INCREMENT): Define.
12830         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
12831         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
12832         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
12833         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
12834         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
12835         (zero_extend to SI from QI/HI): Likewise.
12836         (sign_extend to SI from QI/HI): Likewise.
12837         (mulsidi3, umulsidi3): New patterns for the AM33.
12838         (tstsi with zero extension from QI/HI): Add AM33 variants.
12839         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
12840         (return_internal_regs, store_movm): Handle new AM33 registers.
12841         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
12842         (LIBGCC, INSTALL_LIBGCC): Likewise.
12843         * invoke.texi: Document new flags.
12844
12845 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12846
12847         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
12848         (addsi3_carry): Likewise.
12849         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
12850         (sbbsi3_carry): Likewise.
12851         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
12852         (mulhi3): Likewise.
12853         (test?i_1): Ensure that only one operand is memory.
12854         (conditional move patterns): likewise.
12855         (shift and rotate patterns): Rewrite to expander, add
12856         "binary_operator_ok" to the condition.
12857
12858         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
12859         * i386.h (procesor_costs): Add movzbl_load field.
12860         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
12861         non-Q registers, accept DImode registers anywhere.
12862         (Q_CLASS_P): New.
12863         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
12864         * i386.c (*_cost): Set value for movxbl_load field.
12865
12866         * (addsi): New add to lea splitter.
12867         (ashlsi): Likewise.
12868         (lea to add/shift peep2): New.
12869
12870 1999-12-01  Mark Salter <msalter@cygnus.com>
12871
12872         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
12873         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
12874         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
12875
12876 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12877
12878         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
12879         * i386.md (movsi_xor): New.
12880         (movsi_or): New.
12881         (movsi_1, movhi_1, movqi_1): Remove.
12882         (movsi_2): Rename to movsi_1.
12883         (movhi_2): Rename to movhi_1.
12884         (movqi_2): Rename to movqi_1.
12885         (movdi_1): Remove; remove splitter.
12886         (movdi_2): Rename to movdi_1.
12887         (divmodsi4 splitter): Do not emit clobbers for move patterns.
12888         (long move peep2): Do not create QI or HI mode mov0s
12889         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12890
12891         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12892         rewrite splitters.
12893
12894         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12895         (abs?f2_if): Likewise.
12896
12897 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
12898
12899         * ggc.h (ggc_test_and_set_mark): New macro.
12900         (ggc_mark_rtx): Use ggc_test_and_set_mark.
12901         (ggc_mark_tree): Likewise.
12902         (ggc_mark_rtvec): Likewise.
12903         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12904
12905 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
12906
12907         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
12908         containing types.
12909         (decl_scope_table): Just an array of trees now.
12910         (push_decl_scope): Simplify.
12911         (dwarf2out_init): Adjust.
12912         (local_scope_p): New fn.
12913         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12914         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12915         (gen_typedef_die): Likewise.
12916         (gen_lexical_block_die): Don't call push/pop_decl_scope.
12917         (gen_inlined_subroutine_die): Likewise.
12918         (gen_abstract_function): Set current_function_decl temporarily.
12919         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12920         Handle block extern declarations.  Don't call push/pop_decl_scope.
12921         (gen_decl_die): Fix logic for block externs.
12922
12923 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12924
12925         * calls.c (special_function_p): Remove `realloc' and add `strdup'
12926         to the list of functions which have attribute malloc by default.
12927
12928 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12929
12930         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12931         integer constant does not match the traditional type, limit the
12932         warnings to cases where the base of the type is ten.
12933
12934         * invoke.texi (-Wtraditional): Document it.
12935
12936 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12937
12938         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12939         * rs6000.md: Only access a CONST_INT with INTVAL
12940
12941 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
12942
12943         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12944         (compute_nearerout): Likewise.
12945         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12946         size_t to unsigned long for formatting.
12947
12948 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12949
12950         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12951         Allow the user to override call-used/fixed state of %g2-5
12952         registers from the command line (with the exception of %g4 for
12953         embedded model).
12954         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12955         there is a higher chance of having a leaf function.
12956         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12957         for ARCH64 which has %ccr register.
12958         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12959         patterns.
12960         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12961         insn accept into delay slot any insn which does not use %[ol]
12962         registers.  Accept some LO_SUM and shift left by 1 for the normal
12963         restore case.
12964         (output_function_epilogue): Likewise.
12965         (epilogue_renumber): Added argument which inhibits any renumbering
12966         and just tests if the rtx does not use any %[ol] registers.
12967         (output_return): Reflect above change.
12968
12969 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12970
12971         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12972         aggregate passing for sizes <= 16 bytes.
12973
12974 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12975
12976         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12977         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12978         * reload.c (find_dummy_reload): Likewise.
12979         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12980         * reload1.c (reload_as_needed): Likewise.
12981         * stupid.c (stupid_find_reg): Likewise.
12982         * tm.texi (Obsolete Register Macros): Delete section.
12983         * gmicro.h: Remove all traces of the two macros.
12984         * i386.h: Likewise.
12985         * m88k.h: Likewise.
12986         * mips.h: Likewise.
12987
12988 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
12989
12990         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12991         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12992         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12993         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12994         units for the sparclite86x chip.
12995         (flush): Revert October 14th change; add SImode specifically.
12996         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12997         * invoke.texi: Document it.
12998
12999 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
13000
13001         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
13002         psimode_truncation_operand.
13003
13004         * config/mn10200/mn10200.c (psimode_truncation_operand): New
13005         function.  Return true if the operand is either a MEM valid
13006         for a PSImode address or not a MEM at all.
13007
13008         * config/mn10200/mn10200.md (truncsipsi2): Use
13009         psimode_truncation_operand.
13010
13011 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13012
13013         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
13014         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
13015         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
13016         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
13017         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
13018         (flow_loop_level_compute, low_loops_level_compute): Likewise.
13019         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
13020         * basic-block.h: Protect from multiple inclusion.
13021         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
13022         (struct loops, struct loop): Define structures.
13023         * sbitmap.c (sbitmap_a_subset_b_p): New function.
13024         * sbitmap.h: Protect from multiple inclusion.
13025         (sbitmap_a_subset_b_p): Add prototype.
13026         * Makefile.in (LOOP_H): New macro.
13027         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
13028
13029 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
13030
13031         * cppinit.c (CAT): The argument list of this macro may not contain
13032         spaces !
13033
13034 1999-11-29  David S. Miller  <davem@redhat.com>
13035
13036         Move quantity tables and register equivalence chains into
13037         per-qty and per-register structure arrays respectively.
13038         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
13039         qty_const_insn, qty_comparison_code, qty_comparison_const,
13040         qty_comparison_qty): Delete, replace with...
13041         (qty_table): this structure table.
13042         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
13043         (reg_eqv_table): this structure table.
13044         (make_new_qty): Add argument MODE.  Caller updated.
13045         Update to use qty_table and reg_eqv_table.
13046         (make_regs_eqv, delete_reg_equiv, insert_regs,
13047         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
13048         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
13049         cse_process_notes, cse_main, cse_basic_block): Likewise.
13050
13051 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13052
13053         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
13054         operation if C is negative.
13055         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
13056         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
13057         law for some divisions if constant is negative and change other
13058         divisions to the opposite rounding.
13059
13060         * expr.c (store_constructor_field): If bit position is not multiple
13061         of alignment of TARGET's mode, use BLKmode.
13062
13063         * expr.c (expand_expr_unaligned): Add more code from full case
13064         that is needed when OP0 is in a register.
13065
13066 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13067
13068         * dwarfout.c (field_byte_offset): Size can be zero if there was
13069         an error.
13070
13071 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13072
13073         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
13074         (associate_trees): Delete unused var TEM.
13075         (extract_muldiv): Delete unused var CANCEL_P.
13076
13077         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
13078         (target_isinf, target_isnan, target_negative): Add return types to
13079         function definitions.
13080
13081 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
13082
13083         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
13084         * fixinc/hackshell.tpl: ditto
13085         * fixinc/fixtests.c(double_slash_test): more C++ header testing
13086         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
13087
13088 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13089
13090         * reload.c (push_reload): When looking for a register to put into
13091         reg_rtx, make sure all hard regs in a multi-reg register are in the
13092         right class and nonfixed.
13093
13094         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
13095         pending_read_insns, pending_write_insns, pending_read_mems,
13096         pending_write_mems, pending_list_length, last_pending_memory_flush,
13097         last_function_call, sched_before_next_call): Move static variables
13098         into a structure.
13099         (bb_ prefixed versions): Replace with single array bb_deps.
13100         (struct deps): New structure.
13101         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
13102         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
13103         argument of type "struct deps *"; use that instead of global
13104         variables.  All callers changed.
13105         (init_rgn_data_dependencies): Delete function.
13106         (init_rtx_vector): Delete function.
13107         (init_deps): New function.
13108
13109         (free_pending_lists): Simplify, we always use the bb_deps array even
13110         if only one basic block.
13111         (compute_block_backward_dependences): Likewise.
13112         (schedule_region): Likewise.
13113
13114         (propagate_deps): New function, broken out of
13115         compute_block_backward_dependences.
13116         (compute_block_backward_dependences): Use it.
13117
13118         * alpha.md: Delete useless patterns that tried to work around
13119         register elimination problems.
13120
13121         * unroll.c (loop_iterations): Don't abort if iteration variable
13122         was made by loop.
13123
13124         From Joern Rennecke:
13125         * reload1.c (reloads_conflict): Reverse test comparing operand
13126         numbers when testing for conflict between output/outaddr reloads.
13127
13128 1999-11-29  David S. Miller  <davem@redhat.com>
13129
13130         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
13131         arg.
13132         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
13133
13134 1999-11-28  Robert Lipe  <robertl@cygnus.com>
13135
13136         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
13137         table from .fini into .dtor.
13138
13139 1999-11-28  Anthony Green  <green@cygnus.com>
13140
13141         * tree.h (struct tree_decl): Add malloc_flag.
13142         (DECL_IS_MALLOC): Define.
13143         * c-common.c (attrs): Add A_MALLOC attribute.
13144         (init_attributes): Add this attribute to the table.
13145         (decl_attributes): Handle malloc attribute.
13146         * calls.c (special_function_p): Check for the malloc attribute.
13147         * extend.texi (Function Attributes): Document malloc attribute.
13148
13149 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
13150
13151         * pa.md (reload shift-add patterns): Remove.
13152
13153 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13154
13155         * reorg.c (dbr_schedule) Print more statistics. Corrected
13156         problem when printing info when 3 delay slots are filled.
13157
13158 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
13159
13160         * combine.c (setup_incoming_promotions): Pass an outgoing
13161         regno to FUNCTION_ARG_REGNO_P which it expects.
13162
13163 1999-11-28  Andreas Jaeger  <aj@suse.de>
13164
13165         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
13166
13167 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
13168
13169         * cccp.c (do_include): Avoid initialization of automatic variable.
13170
13171         * integrate.c (mark_stores): Function definition made void, to match
13172         previous declaration.
13173         * regclass.c (dump_regclass): Ditto.
13174         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
13175
13176 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13177
13178         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
13179         known to be multiple of divisor.
13180
13181         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
13182
13183         * combine.c (try_combine): Add code to try to merge a set of a
13184         two-word pseudo to a constant with a setting of one of those words
13185         to a constant.
13186
13187         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
13188         (split_tree): Completely rework to make more general.
13189         (make_range, fold): Call negate_expr.
13190         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
13191         (fold, associate): Call new split_tree and associate_trees.
13192         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
13193
13194 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
13195
13196         * loop.c (try_copy_prop): Avoid GNU C extension.
13197
13198 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13199
13200         * except.c (init_eh_for_function): Still zero eh_return_context,
13201         eh_return_stack_adjust, and eh_return_handler.
13202
13203         * except.h (eh_status): Adjust documentation for x_protect_list.
13204         (begin_protect_partials): New function.
13205         * except.c (enqueue_eh_entry): Fix formatting.
13206         (get_first_handler): Add consistency check.
13207         (add_partial_entry): Adjust usage of protect_list.
13208         (emit_cleanup_handler): Save and restore ehqueue.
13209         (expand_start_all_catch): Add comment.
13210         (begin_protect_partials): New function.
13211         (end_protect_partials): Adjust usage of protect_list.
13212         (init_eh_for_function): Use xcalloc.
13213
13214 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13215
13216         * c-common.c (check_format_info): Don't call a variadic function
13217         with a non-literal format string.
13218
13219         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
13220
13221         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
13222         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
13223         Likewise.
13224
13225         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
13226         Likewise.
13227
13228         * collect2.c (collect_wait): Likewise.
13229
13230         * dbxout.c (dbxout_type): Likewise.
13231
13232         * gcc.c (do_spec_1): Likewise.
13233
13234         * genemit.c (gen_insn, gen_expand): Likewise.
13235
13236         * genrecog.c (write_switch, write_subroutine): Likewise.
13237
13238         * mips-tfile.c (catch_signal, botch): Likewise.
13239
13240         * print-rtl.c (print_rtx): Likewise.
13241
13242         * toplev.c (default_print_error_function, report_error_function,
13243         _fatal_insn): Likewise.
13244
13245 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13246
13247         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
13248
13249 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13250
13251         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
13252         operations when needed.
13253         * i386.md (fop_?f_comm): New.
13254         (fop_?f_1): Do not accept commutative operands.
13255
13256 1999-11-25  Andreas Jaeger  <aj@suse.de>
13257
13258         * config/mips/mips.md (casesi_internal): Add missing brace.
13259
13260 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
13261
13262         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
13263         (splice_child_die): Handle moving a child DIE from the declaration
13264         DIE of a class to its specification.
13265         (gen_struct_or_union_type_die): Use 'complete' consistently.
13266         (gen_decl_die): Generate the virtual context DIE first.
13267         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
13268
13269 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
13270
13271         * config/mips/mips.md (call_value_multiple_interanal1): New.
13272
13273 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
13274
13275         * dwarf2out.c (free_AT, free_die): New fns.
13276         (remove_children): Call them.
13277         (output_line_info): Disable removal of duplicate notes.
13278
13279         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
13280         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
13281         means pretend the type isn't defined.
13282         Don't defer emitting types.
13283         (gen_type_die_for_member): New fn.
13284         (gen_decl_die): Call it.
13285         (splice_child_die): New fn.
13286         (gen_member_die): Call it rather than generate duplicate dies.
13287
13288         Defer emitting information for the abstract instance of an inline
13289         until we either inline it or emit an out-of-line copy.
13290         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
13291         from output_inline_function if DECL_ABSTRACT is also set.
13292         (block_ultimate_origin): Likewise.
13293         (gen_abstract_function): New fn.
13294         (gen_decl_die, gen_inlined_subroutine_die): Call it.
13295         (gen_subprogram_die):  An abstract instance is not a declaration
13296         just because it doesn't match current_function_decl.  Don't abort
13297         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
13298         has an abstract origin.
13299         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
13300         abstract instance here.
13301
13302 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
13303
13304         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
13305         where we need to reload fpul from a system register.
13306
13307 1999-11-24  Andreas Jaeger  <aj@suse.de>
13308
13309         * config/mips/linux.h (CPP_PREDEFINES): Added.
13310         (LINK_SPEC): Remove -Y since this is only needed on sparc.
13311
13312 1999-11-24  Andreas Jaeger  <aj@suse.de>
13313
13314         * config/mips/linux.h (TARGET_VERSION): Added.
13315         (HANDLE_SYSV_PRAGMA): Added.
13316         (DEFAULT_VTABLE_THUNKS): Added.
13317
13318 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13319
13320         * local-alloc.c (qty): New structure and static variable.
13321         (qty_phys_reg): Remove, all references changed to qty.
13322         (qty_n_refs): Likewise.
13323         (qty_min_class): Likewise.
13324         (qty_birth): Likewise.
13325         (qty_death): Likewise.
13326         (qty_size): Likewise.
13327         (qty_mode): Likewise.
13328         (qty_n_calls_crossed): Likewise.
13329         (qty_alternate_class): Likewise.
13330         (qty_changes_size): Likewise.
13331         (qty_first_reg): Likewise.
13332         (alloc_qty): Rename variable QTY to QTYNO.
13333         (finf_free_reg): Likewise.
13334         (local_alloc): Allocate qty, do not allocate the removed variables.
13335
13336 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
13337
13338         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
13339         when -membedded-pic is passed.
13340
13341         * config/mips/mips.md (casesi): Handle 64-bit case too.
13342         (casesi_internal_di): New insn.
13343
13344         * config/mips/mips.c (embedded_pic_offset): Always make the
13345         embedded-pic subtractions relative to the name of the current
13346         function by use of the magic string "..CURRENT_FUNCTION".
13347         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
13348
13349 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
13350
13351         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
13352         of (const_int 0), when what we really care about is
13353         whether it's a zero constant anyway.
13354         (div_trap_mips16): Likewise.
13355
13356 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
13357
13358         * loop.c (loop_optimize): Always find_loop_tree_blocks and
13359         unroll_block_trees when generating debuggable code.
13360
13361         * tree.h (unsave_expr_1): New function.
13362         (lang_unsave): New variable.
13363         (get_callee_fndecl): New function.
13364         * tree.c (unsave_expr_now_r): New function.
13365         (lang_unsave): Define.
13366         (unsave_expr_1): Likewise.
13367         (unsave_expr_now_r): Split out from unsave_expr_now.
13368         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
13369         call unsave_expr_now_r.
13370         (get_callee_fndecl): Define.
13371
13372         * Makefile.in (gencheck): Don't depend on lang_tree_files.
13373         (gencheck.o): Do depend on lang_tree_files.
13374
13375         * integrate.h (copy_decl_for_inlining): New declaration.
13376         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
13377         (copy_decl_for_inlining): New function.
13378         (integrate_parm_decls): Use it.
13379         (integrate_decl_tree): Likewise.
13380
13381 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
13382
13383         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
13384         the second two from the first.
13385         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
13386         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
13387         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13388         ISA_HAS_FP4.
13389         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
13390         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13391         ISA_HAS_FP4.
13392
13393 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
13394
13395         * pa.md (call_internal_symref, call_value_internal_symref): No mode
13396         needed on the address operand.
13397         * pa.c (call_operand_address): Check for the correct mode.
13398
13399 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
13400
13401         * loop.c: Include "basic-block.h".
13402         (try_copy_prop, replace_loop_reg): New functions.
13403         (load_mems): Detect registers that just hold copies of the hoisted
13404         mem, and call try_copy_prop to eliminate them.
13405         * Makefile.in (loop.o): Update dependencies.
13406
13407 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
13408
13409         * Makefile.in (gencheck.o): Depend on gencheck.h.
13410         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
13411         (insn-peep.o): Depend on except.h and function.h.
13412         (insn-attrtab.o): Depend on RECOG_H.
13413         (insn-output.o): Depend on toplev.h and flags.h.
13414         (gengenrtl.o): Depend on real.h.
13415         (gen-protos.o): Depend on cpplib.h and cpphash.h.
13416         Unify all dependencies to be on RECOG_H rather than recog.h.
13417
13418 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13419
13420         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
13421         * configure.in: Try building a bi-arch 32/64-bit compiler on
13422         sparc-*-solaris2.7 and higher.
13423         * configure: Rebuild.
13424
13425 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
13426
13427         * config/freebsd.h: New, FreeBSD architecture independent file.
13428         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
13429         independent pieces.
13430         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
13431         directly by i386/freebsd.h.
13432         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
13433         independent configuration file.
13434         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
13435         directly by i386/freebsd.h.
13436         * configure: Rebuilt.
13437
13438         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
13439         which is in the user's namespace.
13440         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
13441         `i386' which is not in our namespace.
13442
13443 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
13444
13445         * invoke.texi (ARM Options): Add in -mno-alignment-traps
13446
13447 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13448
13449         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
13450         (add_dwarf_attr, add_child_die): Just push onto the front.
13451         (reverse_die_lists): New fn.
13452         (add_sibling_attributes): Use it.
13453         (push_decl_scope): Reorganize.
13454         (add_name_and_src_coords_attributes): Don't set file and line for
13455         an artificial decl.
13456         (gen_subprogram_die): An artificial function doesn't need to match
13457         file and line.
13458         (gen_compile_unit_die): Return the generated die.  Only add
13459         AT_comp_dir if the filename is relative.
13460         (remove_AT): Simplify loop.  Also free string values.
13461         (output_die): A DIE ref can't be null.
13462         (output_value_format, value_format): Take a dw_attr_ref.
13463         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
13464         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
13465         AT_addr, AT_lbl): New fns.
13466         (various): Use them.
13467         (various): Constify.
13468
13469 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13470
13471         * combine.c (combine_simplify_rtx): When handling a SUBREG,
13472         take SUBREG_WORD into account.
13473         (if_then_else_cond): Likewise.
13474
13475 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13476
13477         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
13478         clause from BSD license, pursuant with
13479
13480           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
13481
13482 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
13483
13484         * loop.c (load_mems): Reformat slightly.
13485         * basic-block.h (regset_head): New typedef.
13486         (INIT_REG_SET): New macro.
13487
13488 1999-11-22  Bruce Korb  <autogen@linuxbox.com
13489
13490         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
13491         (mips-dec-bsd*): non-functional code
13492         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
13493
13494         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
13495         added three replacement fixes
13496         (no_double_slash): removed comments that are not (any longer) pertinent
13497         (bad_lval): this fix currently runs against many files.
13498         The comment seems to indicate that we should select for files
13499         containing 'pragma extern_prefix'.
13500
13501         * fixinc/fixinc.x86-linux-gnu: deleted
13502         * fixinc/inclhack.sh:  regen
13503         * fixinc/fixincl.x:  regen
13504         * fixinc/fixincl.sh:  regen
13505
13506 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
13507
13508         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
13509         its code is INSN and it has no notes.
13510
13511 1999-11-22  Andrew Haley  <aph@cygnus.com>
13512
13513         * varasm.c (function_defined): Remove.
13514         (make_function_rtl): Don't set function_defined.
13515         (make_decl_rtl): Remove global register warning.
13516         * regclass.c (no_global_reg_vars): New variable.
13517         (globalize_reg): Warn if function has already been defined.
13518         (regclass_init): Set no_global_reg_vars.
13519
13520 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13521
13522         * regclass.c (reg_pref): New structure and static variable
13523         (prefclass): Delete.
13524         (altclass): Delete.
13525         (all uses of prefclass and altclass): Use reg_pref instead.
13526
13527 1999-11-21  Nick Clifton  <nickc@cygnus.com>
13528
13529         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
13530         -malignment-traps.
13531         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
13532         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13533         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13534
13535 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
13536
13537         * varasm.c (output_constructor): Solve problem with long long
13538         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
13539
13540 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13541
13542         * global.c (allocno): New structure and static variable.
13543         (allocno_reg): Remove, all references replaced by allocno.
13544         (allocno_size): Likewise.
13545         (hard_reg_conflicts): Likewise.
13546         (hard_reg_preferences): Likewise.
13547         (hard_reg_copy_preferences): Likewise.
13548         (hard_reg_full_preferences): Likewise.
13549         (regs_someone_prefers): Likewise.
13550         (allocno_calls_crossed): Likewise.
13551         (allocno_n_refs): Likewise.
13552         (allocno_live_length): Likewise.
13553         (find_reg): Rename ALLOCNO to NUM.
13554
13555         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
13556         references updated.
13557         (may_move_out_cost): New variable.
13558         (init_reg_sets_1): Initialize may_move_out_cost.
13559         (record_reg_classes): Use may_move_out_cost.
13560
13561         * regclass.c (dump_regclass): New function.
13562         (regclass): New parameter DUMP, call DUMP_REGCLASS.
13563         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
13564         pass rtl_dump_file to regclass.
13565         * rtl.h (regclass): Update prototype.
13566
13567 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13568
13569         * i386.md (neg, not and abs patterns): Revmap to use
13570         ix86_expand_unary_operator and ix86_unary_operator_ok.
13571         (add?f and sub?f expanders): Force operand 1 to register.
13572         * i386.c (ix86_expand_unary_operator): Rewrite.
13573         (ix86_unary_operator_ok): Ensure that memory operands
13574         match real opcode.
13575         (ix86_binary_operator_ok): Do not allow operand 1 to
13576         come into memory and operand 0 not.
13577         (ix86_expand_binary_operator): Ensure that
13578         src1 is not non-matching memory.
13579
13580         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
13581         to support integer registers and memory.
13582         (abss?2_integer): Likewise.
13583
13584         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
13585         (REG_CLASS_NAMES): Likewise.
13586         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
13587         and GENERAL_REGS.
13588         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
13589         (movsf): Likewise; unify 4th and 5th alternative.
13590         (pushdf): Likewise.
13591         (movdf_1): Likewise; rename to movdf_integer.
13592         (pushxf): Likewise; rename to pushxf_integer; fix output template;
13593         remove redundant splitter.
13594         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
13595         (movdf_nointeger): New.
13596         (movxf_nointeger): New.
13597         (pushxf_nointeger): New.
13598
13599         * i386.md (extend?f?f): Split to expander and pattern, refuse two
13600         memory operands in patterns.
13601         (fop*): Refuse two memory operands.
13602
13603         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
13604         on !TARGET_USE_CLTD CPUs.
13605
13606 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
13607
13608         * extend.texi: Document C++ restricted pointers and references.
13609
13610 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13611
13612         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
13613         (invalidate_skipped_set): Call it unconditionally.
13614         (cse_set_around_loop): Likewise.
13615
13616 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13617
13618         * rtl.texi (mem): Add documentation for alias-set argument
13619         to RTX `mem'.
13620
13621 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13622
13623         * i386.h (struct_processor_costs): New fields int_load, int_store,
13624         fp_move, fp_load and fp_store
13625         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
13626         fp->int moves
13627         (MEMORY_MOVE_COST): New macro.
13628         * i386.c (386_cost): Define new fields.
13629         (i486_cost): Likewise.
13630         (pentium_cost): Likewise.
13631         (pentiumpro_cost): Likewise.
13632         (k6_cost): Likewise.
13633
13634 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
13635                           Geoffrey Keating  <geoffk@cygnus.com>
13636
13637         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
13638
13639         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
13640         MASK_ALIGN_INT.
13641
13642         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
13643         (TARGET_STRICT_ALIGNMENT): New macro.
13644         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
13645         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
13646         * invoke.texi (M680x0 Options): Document -mstrict-align.
13647
13648 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
13649                           Richard Henderson  <rth@cygnus.com>
13650
13651         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
13652         (ix86_split_long_move): Declare.
13653         * i386.c (split_xf, ix86_split_movdi): Remove.
13654         (ix86_split_to_parts, ix86_split_long_move): New.
13655         * i386.md (dimode move splitters): Use ix86_split_long_move.
13656         (dfmode move splitters): Likewise.
13657         (xfmode move splitters): Likewise.
13658         (movsf_1): Allow F->r.
13659         (movdf_1, movxf_1): Allow F->ro.
13660
13661 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13662
13663         * except.h (struct eh_entry): Add goto_entry_p.
13664         (eh_region_from_symbol): Remove prototype.
13665         * except.c (find_func_region_from_symbol): New function.
13666         (emit_cleanup_handler): Likewise.
13667         (eh_region_from_symbol): Make it static.
13668         (add_new_handler): Verify the argument.
13669         (find_func_region): Update comment.
13670         (expand_eh_region_end): Expand handlers here, rater than waiting
13671         until expand_leftover_cleanups or start_all_catch.
13672         (expand_leftover_cleanups): Don't expand here.
13673         (expand_start_all_catch): Or here.
13674         (expand_rethrow): Check the return value from find_func_region.
13675         * function.c (expand_function_end): Emit the catch_clauses.
13676
13677 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
13678
13679         * integrate.c (expand_inline_function): Add necessary check for NULL.
13680
13681 1999-11-18  Nick Clifton  <nickc@cygnus.com>
13682
13683         * toplev.c (main): Correctly detect an unrecognised option.
13684
13685         * cppinit.c (cpp_handle_option): Do not claim to have consumed
13686         a -f option if it has not been recognised.
13687
13688 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
13689
13690         * basic-block.h (update_life_extent): Remove trailing comma on
13691         enumeration type list.
13692
13693 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13694
13695         * varasm.c (output_constructor) Solved problem with long long
13696         bitfields. Corrected calculating this_time and shift. Also
13697         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
13698
13699 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
13700
13701         * flow.c (split_edge): Take looping structure into account when
13702         determining where to put the new block note.
13703
13704 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
13705
13706         * Makefile.in (ggc-none.o): Provide host specific version if
13707         needed.
13708
13709 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
13710
13711         * cse.c (delete_trivially_dead_insns): Identify no-op insns
13712         containing subregs too.
13713
13714 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13715
13716         * invoke.texi: Add documentation for -muninit-const-in-rodata.
13717         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
13718         (TARGET_UNINIT_CONST_IN_RODATA): Define.
13719         (text_section): Add switches -munint-const-in-rodata and
13720         -mno-uninit-const-in-rodata.
13721         (ASM_OUTPUT_COMMON): Remove.
13722         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
13723         const objects should be placed in read-only data. Otherwise declare
13724         them in common.
13725
13726 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
13727
13728         * jump.c (jump_optimize_1): Revert last change.
13729
13730 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
13731
13732         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
13733         test if optimizing for size.
13734
13735 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13736
13737         * Makefile.in (toplev.o): Depend on except.h.
13738         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
13739
13740 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13741
13742         * i386.md (divmodsi4): Rewrite to expander.
13743         (*divmodsi4_nocltd): New.
13744         (*divmodsi4_cltd): New.
13745         (divmodsi4 splitter): Handle the case when input comes in edx.
13746         (udivmodhi4): Do not use constraints in exander.
13747         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
13748
13749 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
13750
13751         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
13752         for the common case.
13753
13754 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
13755
13756         * explow.c (hard_function_value): Add outgoing argument.
13757         * expr.h (hard_function_value): Declare it.
13758         * calls.c (expand_call, emit_library_call_value): Update callers.
13759         * function.c (aggregate_value_p): Ditto.
13760         (diddle_return_value): Must look at the outgoing registers
13761         on archs with register windows.
13762
13763 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
13764
13765         * alpha.c (alpha_build_va_list): Use make_lang_type and
13766         initialize TYPE_NAME for the va_list record.
13767
13768         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
13769
13770         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
13771         for printing.
13772         * ggc.h (struct ggc_statistics): Rearrange elements for better
13773         packing on 64-bit hosts.
13774         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
13775         (compute_nearerout): Likewise.
13776
13777 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
13778
13779         * config/rs6000/rs6000.c (first_reg_to_save): Save
13780         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
13781
13782 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
13783
13784         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
13785         notion of nesting to find the DIE for a type or function.
13786         DIEs can go in limbo even if we got a context_die.
13787         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
13788         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
13789         for local type.
13790         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
13791         (gen_type_die): Writing out the context doesn't cause member class
13792         template instantiations to be written out as well.
13793
13794 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
13795
13796         * rs6000.h (ASM_OUTPUT_DEF): New.
13797         Based on proposed addition from David Edelsohn.
13798
13799 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
13800             Bruce Korb  <autogen@linuxbox.com>
13801
13802         * fixinc/inclhack.def
13803         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
13804         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
13805                 in net/inet.h.
13806         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
13807         (svr4_endian): enabled with SVR5
13808         (svr4_mkdev): simplified syntax and enabled with SVR5
13809
13810 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
13811
13812         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
13813         * configure: Rebuilt.
13814         * config/t-freebsd-thread: New file.
13815
13816 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
13817
13818         * i386.c (ix86_decompose_address): Verify the base is a REG
13819         before trying to examine its register number.
13820
13821         * basic-block.h: Remove all #defines and prototypes related to
13822         integer lists.
13823         (free_bb_mem, compute_preds_succs): Remove prototype.
13824         * rtl.h (free_bb_mem): Remove prototype.
13825         * flow.c (alloc_int_list_node); Remove function.
13826         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
13827         (compute_preds_succs, free_bb_mem): Likewise.
13828         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
13829         * toplev.c (rest_of_compilation): Likewise.
13830         * haifa-sched.c (build_control_flow): Use flow generated edge
13831         list to build the haifa specific edge list.
13832         (find_rgns): Use new CFG data structures instead of pred/succ lists.
13833         (schedule_insns): Do not build pred/succ lists anymore.  Instead
13834         build the edge table.
13835
13836         * basic-block.h (dump_bb_data): Remove declaration.
13837         * flow.c (dump_bb_data): Remove function.
13838         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
13839         (sbitmap_union_of_predsucc): Likewise.
13840
13841         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
13842         argument.  All callers changed.
13843         (delete_null_pointer_checks_1): No longer need to compute the
13844         pred/succ lists.
13845
13846         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
13847         All callers changed.
13848         (pre_expr_reaches_here_p_work): Likewise.
13849         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
13850         * lcm.c (compute_laterin): Fix initialization of LATER.
13851         (compute_nearerout): Similarly for NEARER.
13852
13853 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13854
13855         * cse.c (set_nonvarying_address_components): Delete unused function.
13856         (refers_to_p): Likewise.
13857
13858 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
13859
13860         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
13861         needed.
13862
13863 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13864
13865         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
13866         definition in do while (0).
13867
13868 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
13869
13870         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
13871
13872 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
13873
13874         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
13875
13876 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
13877
13878         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
13879         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
13880         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
13881         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13882
13883         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13884         saved on the stack.  Output more accurate stack frame statistics
13885         into assembler file.
13886
13887 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
13888
13889         * genextract.c (record_insn_name): New function.
13890         (get_insn_name): No longer a stub.
13891         (main): Call record_insn_name for each insn.  After each label
13892         written, print the insn name in a comment.
13893
13894 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13895
13896         * output.h (const_section, init_section, fini_section): Add
13897         prototypes.
13898
13899         * alpha/elf.h (const_section): Delete declaration.
13900
13901         * svr4.h (const_section): Likewise.
13902
13903 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
13904
13905         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13906         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13907         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13908         expressions.
13909         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13910         variable-sized array bounds.
13911
13912 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
13913
13914         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
13915         ASM_OUTPUT_LABEL.
13916
13917 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13918
13919         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13920         addresses the same way GO_IF_LEGITIMATE_INDEX does.
13921
13922 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13923
13924         * cse.c (hash_arg_in_struct): Delete.
13925         (struct table_elt): Delete elt in_struct.
13926         (struct set): Delete elt src_in_struct.
13927         (merge_equiv_classes): Don't set either hash_arg_in_struct or
13928         the corresponding in_struct elts.
13929         (canon_hash): Likewise.
13930         (safe_hash): Likewise.
13931         (find_best_addr): Likewise.
13932         (record_jump_cond): Likewise.
13933         (cse_insn): Likewise.
13934
13935 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
13936
13937         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13938
13939         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13940         unsigned types.
13941
13942 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
13943
13944         * function.c (diddle_return_value): Put back check that the DECL_RTL
13945         for the function is a register.
13946
13947         * function.c (diddle_return_value): Use hard_function_value to
13948         get an rtx suitable for use in the USE/CLOBBER insn.
13949
13950         * global.c (global_conflicts): Update comments.
13951         (record_conflicts): No need to record conflicts between pseudos here.
13952
13953 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
13954
13955         * fixinc/fixincl.c: Added verbose levels for status messages
13956
13957 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13958
13959         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13960         operand as argument to expand_and or expand_binop.
13961
13962 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
13963
13964         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13965         gcc_add_string_root.
13966
13967 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
13968
13969         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13970
13971 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
13972
13973         * flow.c (compute_flow_dominators): Initially put all blocks on
13974         the worklist.
13975         * lcm.c (compute_antinout_edge, compute_available): Similarly.
13976         * gcse.c (compute_cprop_avinout): Remove.
13977         (compute_cprop_data): Use compute_available.
13978         (delete_null_pointer_checks_1): Use compute_available.
13979
13980         * basic-block.h (compute_available): Returns a void now.
13981         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13982         to return a value anymore.
13983         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13984         worklists.  Fix boundary cases. Compute maximal solutions.
13985         (compute_laterin, compute_nearerout): Similarly.
13986
13987         * dwarf2out.c (add_AT_location_description): Allow
13988         (mem (plus (pseudo) (...)) too.
13989
13990 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
13991
13992         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13993
13994 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
13995                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13996
13997         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13998
13999         * gansidecl.h: Likewise.
14000
14001         * rtl.c: Likewise.
14002
14003         * rtl.h: Likewise.
14004
14005         * toplev.h: Likewise.
14006
14007         * tree.c: Likewise.
14008
14009         * tree.h: Likewise.
14010
14011         * varray.c: Likewise.
14012
14013         * varray.h: Likewise.
14014
14015 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
14016
14017         * gcov.c (struct arcdata): Add hits and total, remove prob.
14018         (output_branch_counts): New.
14019         (process_args): Set output_branch_counts if -c.
14020         (calculate_branch_probs): Store hits and total instead of
14021         percentage.
14022         (output_data): Emit counts if output_branch_counts is true.
14023         * gcov.texi (Invoking Gcov): Document -c switch..
14024
14025 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
14026
14027         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
14028         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
14029
14030 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
14031
14032         * invoke.texi (C Dialect Options): Add missing builtins from
14033         c-common.c to list.
14034         * extend.texi (Other Builtins): Copy to this list.
14035
14036 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14037
14038         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
14039         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
14040         redundant bitmap.h.
14041
14042 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
14043
14044         * flow.c (compute_flow_dominators): No longer treat basic block 0
14045         or (n_basic_blocks - 1) specially.  Clear the AUX field before
14046         starting computation of doms/pdoms.  Fix initial state for pdoms.
14047
14048 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14049
14050         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
14051         match rtl.o's: added ggc.h and toplev.h
14052         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
14053         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
14054         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
14055
14056 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
14057
14058         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
14059         from HAVE_DOS_BASED_FILESYSTEM.
14060         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
14061         HAVE_DOS_BASED_FILESYSTEM.
14062         (main): Likewise.
14063         (split_directories): Only special-case DOS file names if
14064         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
14065         instead of explicit tests.  Conditionalize on !VMS.
14066         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
14067         tests.  Conditionalize on !VMS.
14068         (process_command): Only use make_relative_prefix if !VMS.
14069         (free_split_directories): Conditionalize on !VMS.
14070         (DIR_UP): Conditionalize on !VMS.
14071
14072 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14073
14074         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
14075
14076 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14077
14078         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
14079         case.
14080
14081 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
14082
14083         * invoke.texi (Environment Variables): Document relative path
14084         lookup.
14085         * gcc.c (DIR_UP): If not defined, define as "..".
14086         (standard_bindir_prefix): New static, holds target location to
14087         install binaries.
14088         (split_directories): New function to split a filename into
14089         component directories.
14090         (free_split_directories): New function, release memory allocated
14091         by split_directories.
14092         (make_relative_prefix): New function, make a relative pathname if
14093         the compiler is not in the expected location.
14094         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
14095         can figure out an appropriate prefix from argv[0].
14096         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
14097         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
14098         STANDARD_BINDIR_PREFIX.
14099
14100 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14101
14102         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
14103         in c4x.c.
14104         * config/c4x/c4x.h: Moved prototypes to c4x.h.
14105         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
14106         c4x_secondary_memory_needed) Delete.
14107         (fp_zero_operand): Add mode argument.
14108
14109 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
14110
14111         * reload1.c (reload_reg_free_for_value_p): Don't use a register
14112         that is in reload_reg_used.
14113
14114 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
14115
14116         * config/arm/arm-protos.h: New file: Prototypes for functions
14117         defined in arm.c and pe.c.
14118         * config/arm/arm.h: Fix compile time warnings.
14119         * config/arm/arm.c: Fix compile time warnings.
14120         * config/arm/pe.h: Fix compile time warnings.
14121         * config/arm/aout.h: Fix compile time warnings.
14122
14123 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
14124
14125         * config/m32r/m32r-protos.h: New file: Prototypes for functions
14126         defined in m32r.c
14127
14128         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
14129         Add support for subtargets.
14130         Add prototypes for new predicates.
14131         Add scheduling macros.
14132
14133         * config/m32r/m32r.c: Fix compile time warnings.
14134         (int8_operand): New predicate function.
14135         (reg_or_cmp_int16_operand): New predicate function.
14136         (extend_operand): New predicate function.
14137         (m32r_adjust_code): New scheduling function.
14138         (m32r_adjust_priorty): New scheduling function.
14139         (m32r_sched_init): New scheduling function.
14140         (m32r_sched_reorder): New scheduling function.
14141         (m32r_sched_variable_issue): New scheduling function.
14142         (direct_return): New codegen function.
14143         (m32r_not_same_reg): New rtl testsing function.
14144
14145         * config/m32r/m32r.md: Fix compile time warnings.
14146         Add support for pre decrement and post increment memory
14147         references.
14148         Add S<cc> patterns.
14149         Add fabs patterns.
14150
14151 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14152
14153         * global.c (EXECUTE_IF_CONFLICT): Don't define.
14154         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
14155         (find_reg): Likewise.
14156
14157 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
14158
14159         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
14160         to avoid assembler errors.
14161
14162 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
14163
14164         * config/v850/v850-protos.h: New file: Prototypes for functions
14165         defined in v850.c
14166         * config/v850/v850.h: Move prototypes to v850-protos.h
14167         * config/v850/v850.c: Move prototypes to v850-protos.h
14168         * config/v850/v850.md: Fix compile time warnings.
14169
14170         * config/fr30/fr30-protos.h: New file: Prototypes for functions
14171         defined in fr30.c
14172         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
14173         * config/fr30/fr30.c: Fix compile time warnings.
14174         * config/fr30/fr30.md: Fix compile time warnings.
14175
14176 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
14177
14178         * tree.h (get_containing_scope): Declare it.
14179         * tree.c (get_containing_scope): New fucntion.
14180         (decl_function_context): Use it.
14181         * toplev.c (rest_of_compilation): Use get_containing_scope.
14182
14183 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14184
14185         * Makefile.in (rtl.o): Depend on toplev.h.
14186
14187 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
14188
14189         * cse.c (delete_trivially_dead_insns): Replace alloca with
14190         xmalloc/xcalloc.
14191         * except.c (update_rethrow_references): Likewise.
14192         (init_eh_nesting_info): Likewise.
14193         * function.c (identify_blocks): Likewise.
14194         * gcse.c (dump_hash_table): Likewise.
14195         * graph.c (print_rtl_graph_with_bb): Likewise.
14196         * loop.c (combine_movables): Likewise.
14197         (move_movables): Likewise.
14198         (count_loop_regs_set): Likewise.
14199         (strength_reduce): Likewise.
14200         * profile.c (compute_branch_probabilities): New function, split
14201         out from ...
14202         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
14203         * regclass.c (regclass): Likewise.
14204         * regmove.c (regmove_optimize): Likewise.
14205         * toplev.c (compile_file): Likewise.
14206         (main): Don't mess with the stack rlimit.
14207
14208 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
14209
14210         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
14211         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
14212
14213 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
14214
14215         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
14216
14217 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
14218
14219         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
14220         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
14221         macro expansion.
14222
14223 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
14224
14225         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
14226
14227 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
14228
14229         * gcse.c (post_dominators): Kill.
14230         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
14231         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
14232         pass in a pdom array since we do not need pdoms.
14233         * haifa-sched.c (schedule_insns): Similarly.
14234         * flow.c (compute_dominators): Remove dead function.
14235         (compute_flow_dominators): Do not compute doms or pdoms if the
14236         caller does not request them.  Split up loop to build doms and
14237         pdoms.  Use a worklist to compute doms and pdoms.
14238         * basic-block.h (compute_dominators): Remove prototype.
14239
14240 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
14241
14242         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
14243         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
14244         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
14245         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
14246         (cant_move, fed_by_spec_load, is_load_insn): Remove.
14247         (schedule_region): Remove unused variable.
14248         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
14249
14250 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
14251
14252         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
14253         (update_equiv_regs): Likewise.
14254         (block_alloc): Likewise.
14255         * reg-stack.c (reg_to_stack): Likewise.
14256         (convert_regs_2): Likewise.
14257         * reload1.c (reload_as_needed): Likewise.
14258
14259 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
14260
14261         * Makefile.in (dbxout.o): Depend on ggc.h.
14262         (dwarf2out.o): Likewise.
14263         (xcoffout.o): Likewise.
14264         * dbxout.c: Include ggc.h.
14265         (dbxout_init): Register lastfile as a root.
14266         * dwarf2out.c: Include ggc.h.
14267         (dwarf2out_line): Register lastfile as a root.
14268         * xcoffout.c: Include ggc.h.
14269         (xcoffout_source_line): Register xcoff_lastfile as a root.
14270
14271 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
14272
14273         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
14274
14275 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
14276
14277         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
14278         defined.
14279         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14280
14281 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14282
14283         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
14284         (EXECUTE_IF_CONFLICT): Likewise.
14285         (ALLOCNO_LIVE_P): Avoid signed division.
14286         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
14287         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
14288         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
14289
14290 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
14291
14292         * haifa-sched.c (schedule_block): Don't crash if there's no
14293         next insn for an interblock movement.
14294         (add_branch_dependences): Don't allow clobber insns to move either.
14295
14296 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
14297
14298         * i386.c (split_xf): New.
14299         * i386-protos.h: Declare it.
14300         * i386.md (movxf_1): Add general regs alternatives.
14301         (movxf_1+1): New splitter for same.
14302
14303 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
14304
14305         * function.c (purge_addressof_1): Add missing return values.
14306
14307 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
14308
14309         * function.c (is_addressof): New function.  Returns true if
14310         the given piece of RTL is an ADDRESSOF.
14311         (purge_addressof_1): Make boolean.  Return false if the
14312         ADDRESSOFs could not be purged.
14313         (purge_addressof): If ADDRESSOFs could not be purged from the
14314         notes attached to an insn, remove the offending note(s),
14315         unless they are attached to a libcall.
14316
14317 1999-11-05  Andreas Jaeger  <aj@suse.de>
14318
14319         * genoutput.c (null_operand =): Initialize all fields.
14320
14321         * errors.h: Add extern to prototypes.
14322
14323 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
14324
14325         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
14326         * configure: Rebuilt.
14327
14328 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14329
14330         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
14331         (mirror_conflicts): New function.
14332         (global_alloc): Call it.
14333         (expand_preferences): Remove redundant CONFLICTP test.
14334         (find_reg, dump_conflicts): Likewise.
14335         (prune_preferences): Process conflicts one word at a time.
14336
14337 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
14338
14339         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
14340         instead of an explicit loop.
14341
14342 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
14343
14344         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
14345         if REG_RETVAL check succeeds, then put classp in src_elt.
14346
14347 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
14348
14349         * function.c (pad_to_arg_alignment): Only update argument_pad
14350         if the argument's alignment is greater than STACK_BOUNDARY.
14351
14352 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
14353
14354         * bitmap.h (BITMAP_XFREE): New.
14355         * flow.c (life_analysis): Use it.
14356         (life_analysis_1): Free blocks.
14357
14358         * combine.c (undo_commit): New.
14359         (try_combine): Use it.  Don't zap undobuf.undos.
14360         (combine_instructions): Don't zap undobuf.undos; free the
14361         undobuf.frees list.
14362
14363         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
14364
14365         * stmt.c (cost_table_): New.
14366         (estimate_case_costs): Use it instead of xmalloc.
14367
14368         * toplev.c (compile_file): Reuse dumpname memory instead
14369         of strdup'ing it.
14370
14371 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
14372
14373         * reg-stack.c (convert_regs_1): Initialize target_stack->top
14374         after verifying an EH edge.
14375
14376         * haifa-sched.c (init_rgn_data_dependences): Correctly
14377         size bb_pending_lists_length when zeroing.
14378
14379 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
14380
14381         * function.c (diddle_return_value): New.
14382         (expand_function_end): Use it.
14383         * stmt.c (expand_null_return): Likewise.
14384         (expand_value_return): Likewise.
14385
14386         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
14387
14388         * reload1.c (reload): Don't remove return value clobbers.
14389
14390 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
14391
14392         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
14393
14394 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
14395
14396         * cse.c (cse_main): Use xmalloc, not alloca.
14397         (cse_basic_block): Likewise.
14398         * local-alloc.c (local_alloc): Likewise.
14399
14400 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
14401                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14402
14403         * rtl.c: Include toplev.h.
14404         (fatal): Remove declaration.
14405
14406 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
14407
14408         * haifa-sched.c (schedule_block): Fix thinko.
14409
14410 1999-11-03  James McKelvey <mckelvey@fafnir.com>
14411
14412         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
14413         S_IR* defined values
14414
14415 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
14416
14417         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
14418         call `malloc' instead.
14419
14420 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
14421
14422         * flags.h (flag_renumber_insns): Declare.
14423         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
14424         renumbering table.
14425         * rtl.h (renumber_insns): Change prototype.
14426         * toplev.c (flag_renumber_insns): Define.
14427         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
14428
14429 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
14430
14431         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
14432         and fpsqrtd.  Use them and create fdiv function unit to more
14433         accurately represent fpu sqrt pipeline semantics on UltraSparc.
14434         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
14435
14436 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
14437
14438         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
14439         3 on UltraSparc.
14440         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
14441         insn into ready list, do not use just a raw swap.
14442
14443 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
14444
14445         * rtl.h (renumber_insns): New function.
14446         (remove_unnecessary_notes): Likewise.
14447         * emit-rtl.c (renumber_insns): Define.
14448         (remove_unncessary_notes): Likewise.
14449         * toplev.c (rest_of_compilation): Remove dead code.
14450         Use renumber_insns and remove_unncessary_notes.
14451
14452         * gcse.c (struct null_pointer_info): New type.
14453         (get_bitmap_width): New function.
14454         (current_block): Remove.
14455         (nonnull_local): Likewise.
14456         (nonnull_killed): Likewise.
14457         (invalidate_nonnull_info): Take a null_pointer_info as input.
14458         (delete_null_pointer_checks_1): New function.
14459         (delete_null_pointer_checks): Use it.
14460
14461         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
14462         (split_edges): Likewise.
14463         (schedule_block): Likewise.
14464         (compute_block_backward_dependencies): Likewise.
14465         (schedule_region): Likewise.
14466         (schedule_insns): Likewise.
14467
14468 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
14469
14470         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
14471         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
14472         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
14473         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
14474         * jump.c (delete_unreferenced_labels): Don't delete if
14475         LABEL_ALTERNATE_NAME is set.
14476         * print-rtl.c (print_rtx): Dump alternate name.
14477         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
14478         * rtl.h (LABEL_ALTERNATE_NAME): Define.
14479         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
14480         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
14481
14482 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14483
14484         * fix-header.c (recognized_extern, recognized_function): Constify
14485         a char*.
14486
14487         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
14488         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14489         (compute_available): Remove unused variable `last'.
14490         (compute_nearerout): Remove unused variable `temp_bitmap'.
14491         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14492         Remove unused variable `x'.
14493
14494         * scan.h (recognized_function, recognized_extern): Constify a
14495         char*.
14496
14497         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
14498
14499 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14500
14501         * varasm.c (decode_rtx_const): Use XSTR to access the string
14502         of a SYMBOL_REF.
14503
14504 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
14505
14506         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
14507
14508 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14509
14510         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
14511
14512 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
14513
14514         * pa.c (ireg_operand): New function.
14515         * pa.h (PREDICATE_CODES): Handle ireg_operand.
14516         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
14517         Fix out of date comment.
14518
14519         * pa.md (negdi2): Turn into expander + anonymous pattern.
14520
14521         * reload.c (find_reloads): Fix typos in recent change.
14522
14523         * dwarf2out.c: Do not include ctype.h.
14524
14525 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14526
14527         * regclass.c (record_reg_classes): Always use may_move_cost when
14528         seeing how operand fits with various register classes.
14529
14530 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
14531
14532         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
14533         * toplev.c: Revert Nov 1 13:22 change.
14534
14535 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
14536
14537         * config/pa/pa.md (height reduction patterns): Add checks for
14538         overlapping operands to avoid semantic-destroying splits for
14539         height reduction patterns.
14540
14541 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14542
14543         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
14544         have been an hyphen, fixed.
14545         * configure: Rebuilt.
14546
14547 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
14548
14549         * config/arm/tpe.h: Add prototypes for exported functions.
14550         * config/arm/pe.c: Fix compile time warnings.
14551         * config/arm/semi.h: Fix compile time warnings.
14552         * config/arm/arm.c: Fix compile time warnings.
14553         * config/arm/arm.h: Fix compile time warnings.
14554         * config/arm/arm.md: Fix compile time warnings.
14555         * config/arm/thumb.c: Fix compile time warnings.
14556         * config/arm/thumb.h: Fix compile time warnings.
14557         * config/arm/thumb.md: Fix compile time warnings.
14558
14559 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
14560
14561         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
14562         detection code
14563
14564         * unroll.c (unroll_loop): Remove LOOP notes when loop is
14565         completely unrolled.
14566
14567 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14568
14569         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
14570
14571 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
14572
14573         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
14574         * rtl.h (rtx_equal_p): Move prototype.
14575         * rtl.c (rtx_equal_function_value_matters): Move from
14576         rtlanal.c
14577         (rtx_equal_p): Likewise.
14578         * rtlanal.c (rtx_equal_function_value_matters): Delete.
14579         (rtx_equal_p): Likewise.
14580
14581 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
14582
14583         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
14584         ! HAS_INIT_SECTION.
14585
14586 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
14587
14588         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
14589
14590         * pa.h (ADDR_VEC_ALIGN): Define.
14591
14592         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
14593         notes when presented with "if (foo) break; end_of_loop" and
14594         the break sequence gets moved out of the loop.
14595
14596         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
14597         Remove explicit zero initializations of entries within MAP.
14598
14599 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
14600
14601         * reg-stack.c (convert_regs_1): Handle EH edges specially.
14602
14603 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
14604
14605         * bitmap.h (BITMAP_XMALLOC): New macro.
14606         * flow.c (CLEAN_ALLOCA): Remove.
14607         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
14608         (life_analysis): Likewise.
14609         (update_life_info): Don't use CLEAN_ALLOCA.
14610         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
14611         (calculate_global_regs_live): Likewise.
14612         (print_rtl_with_bb): Likewise.
14613         (verify_flow_info): Likewise.
14614         * global.c (global_alloc): Likewise.
14615         (global_conflicts): Likewise.
14616         * integrate.c (save_for_inline_nocopy): Likewise.
14617         (expand_inline_function): Likewise.
14618         * jump.c (jump_optimize_1): Likewise.
14619         (duplicate_loop_exit_test): Likewise.
14620         (thread_jumps): Likewise.
14621         * loop.c (loop_optimize): Likewise.
14622         (combine_givs): Likewise.
14623         (recombine_givs): Likewise.
14624         * reorg.c (dbr_schedule): Likewise.
14625         * unroll.c (unroll_loop): Likewise.
14626
14627         * combine.c (combine_instructions): Use xmalloc instead of alloca.
14628
14629 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
14630
14631         * toplev.c (rest_of_compilation): Don't optimize the CFG
14632         when rebuilding, just before dbr.
14633
14634 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14635
14636         * output.h (assemble_end_function, assemble_destructor,
14637         assemble_constructor, assemble_gc_entry, assemble_global,
14638         assemble_label, output_constant_pool) Constify a char*.
14639
14640         * varasm.c (assemble_destructor, assemble_constructor,
14641         assemble_gc_entry, assemble_end_function, assemble_global,
14642         assemble_label, output_constant_pool): Likewise.
14643
14644 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
14645
14646         * config/arm/thumb.c (thumb_expand_prologue): Add comments
14647         explaining what is goin on in this function.
14648
14649 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14650
14651         * regclass.c (record_reg_classes): In matching case, recompute
14652         costs since the direction of movement is different.
14653
14654 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
14655
14656         * resource.c (mark_target_live_regs): For unconditional branches,
14657         the resources found at the branch target should be added to the
14658         resources found so far, not intersected.
14659
14660 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
14661
14662         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
14663         old cpp's.
14664         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
14665         (sys/mman.h): Include this file only if #HAVE_MMAP.
14666         (run_compiles): Initialize `esac_fmt' with one old KR string, not
14667         with automatically concatenated ANSI strings.
14668
14669 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
14670
14671         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
14672         (DIV_ROUND_UP): Robustify.
14673         (ggc_recalculate_in_use_p): New function.
14674         (release_pages): Don't inline it.
14675         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
14676         outer contexts.
14677         (ggc_pop_context): Use ggc_recalculate_in_use_p.
14678         (clear_marks): Always save in_use_p.
14679         (sweep_pages): Use ggc_recalculate_in_use_p.
14680         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
14681         Release pages before counting statistics.
14682
14683 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
14684
14685         * toplev.c (rest_of_compilation): Fix thinko in this change:
14686
14687         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14688
14689         (rest_of_compilation): If inside an inlined external function,
14690         pretend we are just being declared.
14691
14692 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
14693
14694         * flow.c (calculate_global_regs_live): Fix thinko.
14695
14696         * integrate.c (expand_inline_function): Fix bugs in previous
14697         change from Oct 28, 1999.
14698
14699 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
14700
14701         * stmt.c (expand_value_return): Fix typo in this change:
14702
14703         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14704         (expand_value_return): Correctly convert VAL when promoting function
14705         return; support RETURN_REG being a PARALLEL.
14706
14707 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
14708
14709         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
14710
14711 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14712
14713         * hard-reg-set.h (reg_names): Constify a char*.
14714
14715         * regclass.c  (reg_names): Likewise.
14716
14717         * regs.h (reg_names): Likewise
14718
14719         * a29k/a29k.c (reg_names): Delete declaration.
14720
14721         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
14722
14723         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
14724         arc_output_function_epilogue): Likewise.
14725
14726         * elxsi/elxsi.c (reg_names): Likewise.
14727
14728         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
14729
14730         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
14731         Likewise.
14732
14733         * m88k/m88k.c (output_function_profiler): Likewise.
14734
14735         * sparc/sparc.c (sparc_flat_output_function_prologue,
14736         sparc_flat_output_function_epilogue): Likewise.
14737
14738 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
14739
14740         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
14741         warning from -Wuninitialized and put it under -W.
14742         * function.c (uninitialized_vars_warning): Warn only when the
14743         corresponding flag is set.
14744
14745 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
14746
14747         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
14748         is nonzero and the single set does not have an elt, then assign
14749         it an elt.
14750
14751         * simplify-rtx.c: New file.
14752         * Makefile.in (OBJS): Add simplify-rtx.o
14753         (simplify-rtx.o): Add dependencies.
14754         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
14755         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
14756         (cse_gen_binary, simplify_unary_operation): Delete.
14757         (simplify_binary_operation, simplify_plus_minus): Likewise.
14758         (check_fold_consts, simplify_relation_operation): Likewise.
14759         (simplify_ternary_operation): Likewise.
14760         (delete_trivially_dead_insns): Simplify the contents of the
14761         REG_EQUAL note before trying to substitute it into the source
14762         of the reg-reg copy at the end of a libcall sequence.
14763
14764         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
14765         references/callers changed.
14766
14767         * mn10200.c (mn10200_va_arg): Force the return value into a
14768         register.
14769
14770         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
14771
14772         * cccp.c (macroexpand): Avoid out of range accesses for omitted
14773         arguments.
14774
14775 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
14776
14777         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
14778
14779 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
14780
14781         * fold-const.c (fold): Fix thinko when optimizing comparisons
14782         against -0.0.
14783
14784 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
14785
14786         * gcc.texi (Passes): Update front-end files to their current
14787         location.
14788
14789 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
14790
14791         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
14792         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14793         (PREDICATE_CODES): Add addition_operation.
14794         * alpha-protos.h (addition_operation): Declare.
14795         (secondary_reload_class): Likewise.
14796         * alpha.c (addition_operation): New.
14797         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
14798         * alpha.md (adddi3): Turn into expander.
14799         (*lda, *adddi_2): New.
14800         (movsf, movdf patterns): Don't preference integer regs.
14801         (movsi, movdi patterns): Don't preference fp regs.
14802
14803 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
14804
14805         * genrecog.c (write_switch): Check for duplicate CODE cases.
14806
14807 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
14808
14809         * ggc-common.c: Update pre-function commentary.
14810         * ggc-page.c: Likewise.
14811         (poison): Remove.
14812         (poison_pages): Use memset directly.
14813         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
14814         (ggc_collect): Poison before sweeping.
14815         * ggc-simple.c: Update pre-function commentary.
14816         (ggc_alloc_obj): Poison non-zeroed memory.
14817
14818 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
14819
14820         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
14821         match format string, even on 64-bit hosts.
14822         * gcc-page.c (ggc_page_print_statistics): Likewise.
14823
14824 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
14825
14826         * config/i386/i386.c (ix86_cpu): Revert last patch.
14827         * config/i386/i386.h (ix86_cpu): Ditto.
14828
14829 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
14830
14831         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
14832         TYPE_SIZE, convert type of result to sizetype.
14833
14834 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
14835
14836         * flow.c (count_or_remove_death_notes): Equate NULL with the
14837         universal set.
14838
14839         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
14840         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
14841         dbr_schedule.
14842
14843         * i386.c (pic_label_no): Delete.
14844         (ix86_attr_length_default): Don't use single_set to peek
14845         inside a parallel.
14846
14847         * recog.c (peephole2_optimize): Allow recog_next_insn to index
14848         the first insn after bb->end.
14849         * i386.md (push mem peeps): Scratch is live after evaluation
14850         of the memory.
14851         (cmp mem peep): Similarly.
14852
14853 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
14854
14855         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
14856         * function.c (pad_to_arg_alignment): Add missing braces.
14857
14858 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14859
14860         * alpha/alpha-protos.h (literal_section): Add prototype.
14861         (alpha_need_linkage, alpha_start_function,alpha_end_function):
14862         Constify a char*.
14863
14864         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
14865         prototype.
14866         (alpha_start_function, alpha_end_function, float_strings,
14867         alpha_need_linkage): Constify a char*
14868
14869         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
14870
14871         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
14872
14873         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
14874
14875         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
14876
14877 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14878
14879         * flow.c (debug_flow_info): Add prototype.
14880
14881         * gcc.c (main): Likewise.
14882
14883         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14884         Likewise.
14885
14886         * reload1.c (failed_reload, set_reload_reg): Likewise.
14887
14888         * mips-tfile.c (main): Likewise.
14889         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14890         with ATTRIBUTE_NORETURN.
14891
14892 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
14893
14894         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14895         DECL is not a memory ref.
14896
14897 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
14898
14899         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14900         * config/i386/i386.c (ix86_cpu): Add extern attribute.
14901
14902 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
14903
14904         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14905         * config/mips/elf64.h: ditto.
14906
14907 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
14908
14909         * expr.c (emit_push_insn): New argument alignment_pad.
14910         Update all callers.  Adjust stack pointer based on alignment pad.
14911         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
14912         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
14913         (locate_and_pad_parm): New argument alignment_pad.  Update all
14914         callers.
14915         * expr.h (emit_push_insn): Update prototype.
14916         (locate_and_pad_parm): Update prototype.
14917         * calls.c (arg_data):  Add new field alignment_pad.
14918         (initialize_argument_information): Initialize alignment_pad.
14919
14920 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
14921
14922         * except.c (free_eh_nesting_info): Free the info itself.
14923         * function.c (free_after_compilation): Don't free NULL.
14924         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14925         (pre_edge_insert): Free inserted.
14926         * stmt.c (free_stmt_status): Don't free NULL.
14927
14928 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14929
14930         * gcov.c (DIR_SEPARATOR): Provide default.
14931         (output_data): Add test for MS-DOS format absolute filename.
14932         (fancy_abort): Correct program name.
14933         (open_files): Open all files in binary mode.
14934         * libgcc2.c (__bb_exit_func): Likewise.
14935
14936         * profile.c (init_branch_prob): Specify binary when opening files.
14937
14938         * flags.h (flag_unwind_tables): New decl.
14939         * toplev.c (flag_unwind_table): New definition.
14940         (f_options): Add -funwind-tables.
14941         (decode_g_option): Clarify warning when unknown -g option is given.
14942         (rest_of_compilation): If inside an inlined external function,
14943         pretend we are just being declared.
14944
14945         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14946         (dwarf2out_frame_finish): Likewise.
14947
14948 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
14949
14950         * fold-const.c (merge_ranges): If not in0, but in1, handle
14951         upper bounds equal like subset case.
14952
14953 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
14954
14955         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14956         passed in a register but moved to the stack.
14957
14958 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
14959
14960         * gcc.c (pass_exit_codes, greatest_status): New variables.
14961         (struct option_map): Add entry for "--pass-exit-codes".
14962         (execute): Update greatest_status if error.
14963         (display_help): Add documentation for -pass-exit-codes.
14964         (process_command): Handle -pass-exit-codes.
14965         (main): Look at pass_exit_codes and greatest_status on call to exit.
14966
14967 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14968
14969         * reload.c (find_reloads): Refine test for no input reload
14970         case to not includes reloads emitted after insn.
14971
14972         * function.c (find_temp_slots_from_address): Handle sum involving
14973         a register that points to a temp slot.
14974         (update_temp_slot_address): Make recursive call if both old and
14975         new are PLUS with a common operand.
14976         * calls.c (expand_call): Mark temp slot for result as having
14977         address taken.
14978
14979         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14980
14981         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14982         component as well as "BINUTILS".
14983
14984         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14985         * integrate.c (copy_rtx_and_substitute): Likewise.
14986         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14987         All callers changed.
14988         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14989
14990         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14991         gdb extensions, write size of type; also be more consistent
14992         in using references when this is a subtype.
14993
14994         * pa.md (extv, extzv, insv): Use define_expand to reject constant
14995         that is out of range.
14996
14997         * loop.c (unknown_constant_address_altered): New variable.
14998         (prescan_loop): Initialize it.
14999         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
15000         (invariant_p, case MEM): Remove handling for volatile and readonly;
15001         check new variable if readonly.
15002         (check_dbra_loop): Chdeck unknown_constant_address_altered.
15003
15004         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
15005         (addr_affects_sp_p): Removed from note_mem_written and only
15006         define #ifdef AUTO_INC_DEC.
15007
15008         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
15009
15010         * regclass.c (record_reg_classes): Properly handle register move
15011         directions.
15012
15013         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
15014         Don't think valid if both operands are invalid.
15015         (struct constant_descriptor): New field RTL.
15016         (mark_const_hash_entry): Mark it.
15017         (record_constant{,_rtx}): Initialize it.
15018         (output_constant_def): Allocate RTL in permanent obstack and
15019         save in table.
15020         ({record,compare}_constant_1): Modes must match for
15021         CONSTRUCTOR of ARRAY_TYPE.
15022
15023         * c-common.h (initializer_constant_valid_p): Delete decl from here.
15024         * output.h (initializer_constant_valid_p): Move decl to here.
15025         * c-common.c (initializer_constant_valid_p): Delete function from here.
15026         * varasm.c (initializer_constant_valid_p): Move function to here.
15027
15028         * tree.h (STRIP_SIGN_NOPS): New macro.
15029         * fold-const.c (optimize_minmax_comparison): New function.
15030         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
15031         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
15032         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
15033         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
15034         widening conversions.
15035         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
15036         to look at size of mode, not precision of type; also add missing cases.
15037         (optimize_bit_field_compare, decode_field_reference): Don't try to
15038         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
15039
15040         * dwarf2out.c (ctype.h): Include.
15041         (dwarf2out_set_demangle_name_func): New function.
15042         (size_of_line_info): Deleted.
15043         (output_line_info): Compute size of line info table from difference
15044         of labels.
15045         (base_type_die, add_name_attribute): Call demangle function, if any.
15046         (field_byte_offset): Use bits per word for variable length fields.
15047         (gen_array_type_die): Add array name.
15048         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
15049         (dwarf2out_add_library_unit_info): New function.
15050
15051         * explow.c (set_stack_check_libfunc): New function.
15052         (stack_check_libfunc): New static variable.
15053         (probe_stack_range): Allow front-end to set up a libfunc to call.
15054
15055         * combine.c (simplify_comparison): When making comparison in wider
15056         mode, check for having commuted an AND and a SUBREG.
15057         (contains_muldiv): New function.
15058         (try_combine): Call it when dividing a PARALLEL.
15059         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
15060         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
15061         a PLUS.
15062         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
15063         use one of the CLOBBERs instead.
15064         (if_then_else_cond): If comparing against zero, just return thing
15065         being compared.
15066
15067         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
15068         Don't generate shifts and subtract if have conditional arithmetic.
15069
15070         * rtl.h (delete_barrier): New declaration.
15071         * jump.c (jump_optimize): Set up to handle conditional call.
15072         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
15073         (delete_barrier): New function.
15074
15075         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
15076
15077         * recog.c (nonmemory_operand): Accept ADDRESSOF.
15078
15079         * tree.c (build_type_attribute_variant): Push to obstack of
15080         ttype around type_hash_canon call.
15081
15082         * expr.c (placeholder_list): Move decl to file scope.
15083         (expand_expr): Don't force access to volatile just because its
15084         address is taken.
15085         If ignoring reference operations, just expand the operands.
15086         (expand_expr, case COMPONENT_REF): Propagate
15087         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
15088         Refine test for using bitfield operations vs pointer punning.
15089         (expand_expr, case CONVERT_EXPR): If converting to
15090         BLKmode UNION_TYPE from BLKmode, just return inner object.
15091         Use proper mode in store_field call.
15092         Properly set sizes of object to store and total size in store_field
15093         call for convert to union.
15094         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
15095         memory (like for ADDR_EXPR).  Also, don't put constant in register if
15096         we'll want it in memory.
15097         (readonly_fields_p): New function.
15098         (expand_expr, case INDIRECT_REF): Call it if LHS.
15099         (expand_assignment): Handle a RESULT_DECL where
15100         DECL_RTL is a PARALLEL.
15101         (do_jump, case WITH_RECORD_EXPR): New case.
15102         (get_inner_reference): Always go inside a CONVERT_EXPR
15103         and NOP_EXPR if both modes are the same.
15104         (store_field): Use bitfield operations if size of bitsize is not same
15105         as size of RHS's type.
15106         Check for bitpos not a multiple of alignment in BLKmode case.
15107         Do block move in largest possible alignment.
15108         (store_constructor): Set BITSIZE to -1 for variable size and properly
15109         in case of array of BLKmode.
15110         (expand_expr_unaligned): New function.
15111         (do_compare_and_jump): Call it.
15112
15113         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
15114         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
15115         does not include 'o'.
15116
15117         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
15118         both SET_DEST and SET_SRC reference a virtual register.
15119         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
15120
15121         * integrate.c (expand_inline_function): Handle case of setting
15122         virtual stack vars register (from built in setjmp); when parameter
15123         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
15124         (subst_constant): Add new parm, MEMONLY.
15125         (expand_inline_function, integrate_parm_decls): Pass new parm.
15126         (integrate_decl_tree): Likewise.
15127         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
15128         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
15129         (copy_rtx_and_substitute, case SET): Add explicit calls to
15130         copy_rtx_and_substitute for both sides.
15131
15132         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
15133         constraints.
15134         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
15135         within INDEX_TYPE, instead of before.
15136         (fixup_gotos): Use f->target_rtl, not the next insn,
15137         since latter may be from a later fixup.
15138         (expand_value_return): Correctly convert VAL when promoting function
15139         return; support RETURN_REG being a PARALLEL.
15140         (expand_return): When checking for result in regs and having
15141         cleanup, consider PARALLEL in DECL_RTL as being in regs.
15142
15143 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
15144
15145         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
15146         last_nominal_fname): Mark const.
15147         (struct include_hash: name, nshort, control_macro): Mark
15148         const.
15149         (struct macrodef: symnam): Mark const.
15150         (struct if_stack: fname): Mark const.
15151         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
15152         (IStable): New character-syntax array which encompasses all
15153         the old is_foo arrays.
15154         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
15155         is_space): New macros for interrogating IStable.
15156         (check_macro_name): Kill last argument.  All callers changed.
15157
15158         * cppinit.c (initialize_char_syntax): Delete.
15159         (is_idchar, is_idstart, is_hor_space, is_space,
15160         trigraph_table): Delete.
15161         (IStable): New.  Initialize with clever macros to avoid
15162         information duplication.
15163         (builtin_array): Table of builtins to get rid of explicit list
15164         in initialize_builtins.
15165         (initialize_builtins): Use builtins_array.
15166         (cpp_start_read): Call init_IStable, and set IStable['$'] if
15167         opts->dollars_in_ident.
15168
15169         * cppexp.c: Change all refs to is_xyz[] arrays to use new
15170         is_xyz() macros.
15171         (cpp_parse_expr): Avoid 'format string is not constant'
15172         warning. Use ISGRAPH to identify printable chars.
15173         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
15174         is_xyz() macros.
15175         (read_and_prescan): Map trigraphs to chars with open-coded
15176         if-else-if-... sequence, not a lookup table.
15177         * cpphash.c: Change all refs to is_xyz[] arrays to use new
15178         is_xyz() macros.
15179         * cpplib.c: Change all refs to is_xyz[] arrays to use new
15180         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
15181         (check_macro_name): Remove ability to report an invalid
15182         assertion name, which is never used.
15183         (do_line): Constify a couple of char *'s.
15184         * cppmain.c (main): Call cpp_cleanup before returning.
15185
15186 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
15187
15188         * ggc.h (struct ggc_statistics): New type.
15189         (ggc_get_size): New function.
15190         (ggc_print_statistics): Likewise.
15191         * ggc-common.c (ggc_stats): New variable.
15192         (ggc_mark_rtx_children): Keep statistics.
15193         (ggc_mark_tree_children): Likewise.
15194         (ggc_print_statistics): New function.
15195         * ggc-page.c (struct globals): Add bytes_mapped field.
15196         (alloc_anon): Update it.
15197         (release_pages): Likewise.
15198         (ggc_get_size): New function.
15199         (ggc_page_print_statistics): New function.
15200         * ggc-simple.c (ggc_get_size): New function.
15201
15202 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
15203
15204         * flow.c (propagate_block): When the last reference to a label
15205         before an ADDR_VEC is deleted because the reference is a dead
15206         store, delete the ADDR_VEC.
15207
15208 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
15209
15210         * resource.c (find_free_register): Don't use the frame pointer
15211         if frame_pointer_needed.
15212
15213 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
15214
15215         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
15216         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
15217
15218         * config/i960/i960.c (i960_va_start): New locals base, num.
15219         Use INDIRECT_REF instead of ARRAY_REF on valist.
15220         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
15221
15222 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
15223
15224         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
15225
15226 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
15227
15228         * tree.def (PLACEHOLDER_EXPR): Update comments.
15229
15230 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15231
15232         * c-common.c (check_format_info): Avoid non-literal format string
15233         warnings when `first_arg_num' is zero.
15234
15235 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15236
15237         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
15238
15239 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
15240
15241         * arm.md (casesi_insn): Add a clobber of the condition code
15242         register.
15243
15244 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
15245
15246         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
15247         used by both cc1 and cc1plus.
15248
15249 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
15250
15251         * config/arm/arm.c: Initialise arm_structure_size_boundary to
15252         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
15253         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
15254         to the value 32 if it has not already been defined.
15255         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
15256         Override definition in arm.h with a value of 8.
15257
15258 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
15259
15260         * c-pragma.c (push_alignment): Don't check the return value
15261         of xmalloc.
15262
15263 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
15264
15265         * sparc.h (ADJUST_COST): Fix thinko.
15266
15267 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
15268
15269         * cccp.c (rescan): Fixed obp pointer handling around call to
15270         check_expand subroutine.
15271
15272 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
15273
15274         * gcse.c (delete_null_pointer_checks): Only record non-null info
15275         for pseudos when examining stores.
15276
15277         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
15278         splitters for these patterns.  Use "#" for output templates.
15279         (addsi3_carryin_shift): New pattern.
15280
15281 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
15282
15283         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
15284         of the function return register into a plain REG until
15285         after function inlining is done.
15286
15287 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
15288
15289         * jump.c (jump_optimize_1): If we did cross-jumping, and
15290         the data will matter, rebuild the CFG.
15291         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
15292         not optimizing.  Don't run shorten_branches.
15293         * toplev.c (rest_of_compilation): Run shorten_branches after
15294         reg_to_stack.
15295
15296 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
15297
15298         * rtl.h (note_stores): Add additional paramter.
15299         * rtlanal.c (reg_set_p_1): Take additional paramter.
15300         (reg_set_last_1): Likewise.
15301         (reg_set_p): Adjust call to note_stores.
15302         (reg_set_last): Likewise.
15303         (note_stores): Pass data parameter to worker function.
15304         * alias.c (record_set): Take additional parameter.
15305         (init_alias_analysis): Pass it.
15306         * caller-save.c (mark_set_regs): Take additional parameter.
15307         (save_call_clobbered_regs): Pass NULL to note_stores.
15308         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
15309         parameter.
15310         (record_dead_and_set_regs_1): Likewise.
15311         (reg_dead_at_p_1): Likewise.
15312         (combine_instructions): Adjust calls to note_stores.
15313         (try_combine): Likewise.
15314         (record_dead_insn): Remove.
15315         (record_dead_and_set_regs): Adjust calls to note_stores.
15316         (reg_dead_at_p): Likewise.
15317         * cse.c (invalidate_skipped_set): Take additional parameter.
15318         (cse_check_loop_start): Likewise.
15319         (cse_check_loop_start_value): Remove.
15320         (cse_set_around_loop): Adjust calls to note_stores.
15321         * flow.c (notice_stack_pointer_modification): Take additional
15322         parameter.  Remove duplicate declaration.
15323         (record_volatile_insns): Adjust calls to note_stores.
15324         * gcse.c (record_set_info): Take additional parameter.
15325         (record_last_set_info): Likewise.
15326         (invalidate_nonnull_info): Likewise.
15327         (record_set_insn): Remove.
15328         (compute_sets): Adjust calls to note_stores.
15329         (last_set_insn): Remove.
15330         (compute_hash_table): Adjust calls to note_stores.
15331         (insert_insn_end_bb): Likewise.
15332         (delete_null_pointer_checks): Likewise.
15333         * global.c (mark_reg_store): Take additional parameter.
15334         (mark_reg_clobber): Likewise.
15335         (reg_becomes_live): Likewise.
15336         (global_conflicts): Adjust calls to note_stores.
15337         (build_insn_chain): Likewise.
15338         * integrate.c (note_modified_parmregs): Take additional parameter.
15339         (mark_stores): Likewise.  Make it static.
15340         (save_for_inline_nocopy): Adjust calls to note_stores.
15341         (try_constants): Likewise.
15342         * integrate.h (mark_stores): Remove declaration.
15343         * jump.c (mark_modified_reg): Take additional parameter.
15344         (thread_jumps): Adjust calls to note_stores.
15345         * local-alloc.c (validate_equiv_mem_from_store): Take additional
15346         parameter.
15347         (no_equiv): Likewise.
15348         (reg_is_set): Likewise.
15349         (validate_equiv_mem): Adjust calls to note_stores.
15350         (update_equiv_regs): Likewise.
15351         (block_alloc): Likewise.
15352         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
15353         (note_addr_stored): Take additional parameter.
15354         (note_set_pseudo_multiple_uses): Likewise.
15355         (record_initial): Likewise.
15356         (prescan_loop): Adjust calls to note_stores.
15357         (strength_reduce): Likewise.
15358         (check_dbra_loop): Likewise.
15359         * regmove.c (flags_set_1): Take additional paramter.
15360         (mark_flags_life_zones): Adjust calls to note_stores.
15361         * reload1.c (mark_not_eliminable): Take additional parameter.
15362         (forget_old_reloads_1): Likewise.
15363         (reload_cse_invalidate_rtx): Likewise.
15364         (reload_cse_check_clobber): Likewise.
15365         (reload_combine_note_store): Likewise.
15366         (move2add_note_store): Likewise.
15367         (reload): Adjust calls to note_stores.
15368         (reload_as_needed): Likewise.
15369         (emit_reload_insns): Likewise.
15370         (reload_cse_regs_1): Likewise.
15371         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
15372         (reload_combine): Adjust calls to note_stores.
15373         * resource.c (update_live_status): Take additional paramter.
15374         (mark_target_live_regs): Adjust calls to note_stores.
15375         * stupid.c (find_clobbered_regs): Take additional parameter.
15376         (stupid_life_analysis): Adjust calls to note_stores.
15377
15378 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
15379
15380         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
15381         definition.
15382
15383         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
15384         definition.
15385
15386         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
15387         of the variable arm_structure_size_boundary.
15388
15389 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15390
15391         * alias.c (init_alias_analysis): Allocate reg_known_value and
15392         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
15393         and reg_seen.
15394         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
15395         * cse.c (cse_main): Call end_alias_analysis.
15396         * haifa-sched.c (schedule_insns): Likewise.
15397         * local-alloc. (update_equiv_regs): Likewise.
15398         * reload1.c (reload_cse_regs): Likewise.
15399
15400 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15401
15402         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
15403         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
15404         mapping from MASK_FPU.
15405
15406 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
15407
15408         * sparc.md (call): Don't bound structure return size to 0xfff.
15409
15410 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
15411
15412         * resource.c (mark_target_live_regs): Check that the target
15413         insn wasn't created after compute_bb_for_insn.
15414
15415 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
15416
15417         * ggc-page.c (poison_pages): Don't be overzealous.
15418
15419 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
15420
15421         * alias.c: Update comments for ADDRESS.
15422         (nonlocal_reference_p): Look inside the ADDRESS to determine if
15423         it is a local memory reference.
15424
15425         * c-typeck.c (build_function_call): Check that the built-in
15426         function is of class BUILT_IN_NORMAL before trying to recongize
15427         it as BUILT_IN_ABS.
15428         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
15429         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
15430
15431 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
15432
15433         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
15434         of alloca.
15435         (pre_gcse): Likewise.
15436         (hoist_expr_reaches_here_p): Likewise.
15437         (hoist_code): Likewise.
15438         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15439         code to ...
15440         (pre_expr_reaches_here_p_work): ... here.
15441         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15442         code to ...
15443         (expr_reaches_here_p_work): ... here.
15444
15445 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
15446
15447         * resource.c (find_basic_block): Delete.
15448         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
15449         (init_resource_info): Call compute_bb_for_insn.
15450
15451 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
15452
15453         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
15454         with already adjacent blocks, but no fallthru.
15455         (merge_blocks_move_successor_nojumps): Simplify.
15456         (debug_flow_info): New.
15457
15458         * toplev.c (rest_of_compilation): Open jump1 dump file before
15459         jump and close after, as opposed to just using dump_rtl.
15460
15461 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15462
15463         * reload.h (earlyclobber_operand_p): Declare.
15464         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
15465         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15466         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
15467         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
15468
15469 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15470                           Richard Henderson  <rth@cygnus.com>
15471
15472         * emit-rtl.c (emit_block_insn_before): New.
15473         (emit_block_insn_after): New.
15474         * basic-block.h: Declare them.
15475
15476         * bitmap.h: Protect from multiple inclusion.
15477
15478         * recog.c (scratch_operand): Handle VOIDmode correctly.
15479
15480         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
15481
15482         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
15483         * function.c (assign_parms): Likewise.
15484         * global.c (global_conflicts): Clarify STACK_REGS commentary.
15485
15486         * reg-stack.c (max_uid): Remove.
15487         (blocks, block_begin, block_end, block_drops_in): Remove.
15488         (block_stack_in, block_out_reg_set, block_number): Remove.
15489         (struct block_info_def, BLOCK_INFO): New.
15490         (enum emit_where): New.
15491         (current_block): New.
15492         (BLOCK_NUM): Remove.
15493         (mark_regs_pat, record_label_references): Remove.
15494         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
15495         (nan): New.
15496         (goto_block_pat, print_blocks, dump_stack_info): Remove.
15497         (reg_to_stack): Simplified test for existance of fp code.  Use
15498         flow.c code.  Call shorten_branches after cross-jump opt.
15499         (check_asm_stack_operands): Renamed from record_asm_reg_life.
15500         Return false if the asm doesn't use stack regs.  Don't do life
15501         analysis on the asm.
15502         (emit_pop_insn): Replace function pointer arg `when' with
15503         enum `where'.  Update all callers.
15504         (change_stack): Likewise.  Update basic block end.
15505         (emit_swap_insn): Use current_block->head to limit reverse search
15506         for start of block.  Use emit_block_insn_after.
15507         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
15508         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
15509         structure assignment instead of bcopy.
15510         (print_stack): New.
15511         (convert_regs_entry, convert_regs_exit): New.
15512         (convert_regs_1, convert_regs_2): Split out from convert_regs.
15513         Work on basic blocks and the CFG.
15514         (convert_regs): Use them.
15515
15516         * i386.c (output_fix_trunc): Remove code for DImode input operand
15517         not at top-of-stack.
15518         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
15519         appropriate mode.
15520         (fix_truncdi_1): Allow any mode scratch.
15521
15522 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
15523
15524         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
15525         * linux.h, netbsd.h, vms.h: Not here.
15526
15527 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
15528
15529         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
15530         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
15531         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
15532         CONDITIONAL_REGISTER_USEAGE): Use them.
15533         * config/mips/mips.c (mips_move_1word,mips_move_2words,
15534         gen_conditional_branch,override_options) : Use them.
15535         * config/mips/mips.md : Use them.
15536
15537 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
15538
15539         * i386.md (zero_extendqihi2): Use SImode register name with andl.
15540
15541 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
15542
15543         * integrate.c (function_cannot_inline_p): Don't allow inlining
15544         if setjmp is used.
15545
15546 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15547
15548         * c-parse.in (cast_expr): Constify.
15549
15550         * cccp.c (special_symbol): Likewise.
15551
15552         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
15553
15554         * dwarf2out.c (base_type_die): Likewise.
15555
15556         * global.c (allocno_compare): Likewise.
15557
15558         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
15559
15560         * regclass.c (fix_register): Likewise.
15561
15562         * rtl.h (fix_register): Likewise.
15563
15564         * stupid.c (stupid_reg_compare): Likewise.
15565
15566         * toplev.c (decode_f_option): Likewise.
15567
15568         * tree.c (build_complex_type): Likewise.
15569
15570 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
15571
15572         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
15573
15574 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15575
15576         * reload.c (find_reloads): Compute mode and nregs fields of all
15577         reloads.
15578         * reload1.c (calculate_needs_all_insns): Simplify a bit.
15579         (calculate_needs): Use precomputed mode/nregs values.
15580         (allocate_reload_reg): Likewise.
15581         Break out two...
15582         (failed_reload, set_reload_reg): ... new functions.
15583         (choose_reload_regs_init): New function, mostly broken out from...
15584         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
15585         Also lose one #if 0 block.
15586
15587 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
15588
15589         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
15590         substitution.
15591
15592 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
15593
15594         * tree.h (BLOCK_TYPE_TAGS): Remove.
15595         (BLOCK_END_NOTE): Likewise.
15596         (BLOCK_LIVE_RANGE_FLAG): Likewise.
15597         (BLOCK_LIVE_RANGE_START): Likewise.
15598         (BLOCK_LIVE_RANGE_END): Likewise.
15599         (tree_block): Remove live_range_flag, live_range_var_flag, and
15600         type_tags.  Remove end_note, live_range_start, and live_range_end.
15601         (remember_end_note): Remove prototype.
15602         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
15603         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
15604         remember_end_note.
15605         * ggc-common.c (ggc_mark_tree_children): Don't mark
15606         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
15607         * integrate.c (adjust_copied_decl_tree): Remove.
15608         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
15609         * stmt.c (last_block_end_note): Remove.
15610         (init_stmt): Don't add a GC root for it.
15611         (expand_fixup): Don't set it.
15612         (remember_end_note): Remove.
15613         (expand_end_bindings): Don't set last_block_end_note.
15614
15615 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15616
15617         * reload1.c (reload_reg_free_for_value_p): Show
15618         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
15619         reloads.
15620
15621 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
15622
15623         * expmed.c (extract_bit_field): Allow for the case of non-integer
15624         objects that are smaller than a word (like SFmode on a 64-bit
15625         machine).
15626
15627         * loop.c (basic_induction_var): A non-integer variable which is
15628         being set by a paradoxical subreg is probably not a biv.
15629
15630 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15631
15632         * prefix.c (translate_name) Check for empty prefix string.
15633
15634 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
15635
15636         * Makefile.in (CPP_CROSS_NAME): New variable.
15637         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
15638         xcpp.
15639         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
15640         names of the files to be uninstalled.
15641
15642 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
15643
15644         * collect2.c (IS_DIR_SEPARATOR): Define.
15645         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
15646
15647         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
15648         functions too.
15649
15650         * haifa-sched.c (add_dependence): Update the true dependency
15651         cache the first time we add a true dependence to the LOG_LINKS chain.
15652
15653 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
15654
15655         * fold-const.c (fold): Fix comment.
15656
15657 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15658
15659         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
15660         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
15661         dbxout_start_new_source_file, dbxout_source_file,
15662         dbxout_source_line, dbxout_finish, dbxout_type_fields,
15663         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
15664         Constify a char*.
15665         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
15666         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
15667         (dbxout_block): Initialize variable `blocknum'.
15668
15669         * dbxout.h (dbxout_init, dbxout_finish,
15670         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
15671         dbxout_args, dbxout_source_line): Constify a char*.
15672
15673         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
15674         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
15675         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
15676         low_pc_attribute, high_pc_attribute, body_begin_attribute,
15677         body_end_attribute, comp_dir_attribute, sf_names_attribute,
15678         src_info_attribute, mac_info_attribute, producer_attribute,
15679         lookup_filename, generate_macinfo_entry, fundamental_type_code,
15680         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
15681         dwarfout_undef): Constify a char*.
15682         (add_incomplete_type, retry_incomplete_types): Add prototypes.
15683
15684         * dwarfout.h (dwarfout_define, dwarfout_undef,
15685         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
15686
15687 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
15688
15689         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
15690         (MULTILIB_ISA_DEFAULT): New.
15691         (MULTILIB_DEFAULTS): Use it.
15692         * config/mips/mips.c (): Remove the now unnecessary definition
15693         of MIPS_ISA_DEFAULT.
15694         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
15695         unnecessary definition.
15696
15697 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
15698
15699         * arm.md (pic_load_addr): Add constraints to operand 1.
15700
15701 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
15702
15703         * fixinc/genfixes:  Provide a means for specifying -D options to
15704         AutoGen
15705
15706 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
15707
15708         * arm.c (arm_override_options): Correct initialization of
15709         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
15710         arm_is_strong, and arm_is_6_or_7.
15711
15712         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
15713         (note_set_pseudo_multiple_uses): New function.
15714         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
15715         if a pseudo set in the loop exit is used elsewhere.
15716
15717 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
15718
15719         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
15720
15721 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
15722
15723         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
15724         a single load-address pattern.
15725
15726 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
15727
15728         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
15729         depending on whether or not line-number notes are present.
15730
15731 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15732
15733         * cccp.c (progname, file_buf, default_include, include_file,
15734         macrodef, definition, hashval, wchar_type, user_label_prefix,
15735         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
15736         expand_to_temp_buffer, is_system_include, base_name,
15737         absolute_filename, read_name_map, open_include_file,
15738         record_control_macro, check_precompiled, check_preconditions,
15739         pcfinclude, pass_thru_directive, create_definition,
15740         check_macro_name, comp_def_part, collect_expansion,
15741         check_assertion, read_token_list, assertion_install,
15742         assertion_lookup, eval_if_expression, conditional_skip,
15743         validate_else, skip_quoted_string, quote_string, macarg1,
15744         error_from_errno, install, lookup, hashf, dump_defn_1,
15745         perror_with_name, pfatal_with_name, main, trigraph_pcp,
15746         check_white_space, rescan, handle_directive, monthnames,
15747         special_symbol, do_include, remap_include_file, write_output,
15748         arglist, do_assert, do_unassert, do_line, do_error, do_once,
15749         do_ident, do_sccs, do_xifdef, skip_if_group,
15750         output_line_directive, macroexpand, macarg, change_newlines,
15751         initialize_builtins, make_definition): Constify a char*.
15752
15753         * pcp.h (stringdef): Likewise.
15754
15755 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
15756
15757         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
15758         not of pattern.
15759
15760 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
15761                           Richard Henderson  <rth@cygnus.com>
15762
15763         * alias.c: Include ggc.h.
15764         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
15765         (record_set): Verify enough room in reg_base_value.
15766         (init_alias_analysis): Allocate reg_base_value with xcalloc.
15767         Register it as a GC root.
15768         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
15769         * Makefile.in (alias.o): Depend on ggc.h.
15770
15771         * unroll.c (unroll_loop): Verify the insn before a barrier
15772         is a JUMP_INSN before checking JUMP_LABEL.
15773
15774 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15775
15776         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
15777         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
15778         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
15779         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
15780         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
15781         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
15782
15783 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15784
15785         * output.h (ctors_section, dtors_section, bss_section): Prototype.
15786
15787         * alpha/alpha-interix.h (text_section): Delete prototype.
15788         * alpha/elf.h (text_section): Likewise.
15789         * arm/linux-elf.h (text_section): Likewise.
15790         * arm/linux-telf.h (text_section): Likewise.
15791         * c4x/c4x.h (text_section): Likewise.
15792         * dsp16xx/dsp16xx.h (bss_section): Likewise.
15793         * elfos.h (text_section): Likewise.
15794         * i386/aix386ng.h (text_section): Likewise.
15795         * i386/i386-interix.h (text_section): Likewise.
15796         * i386/sco5.h (text_section): Likewise.
15797         * i386/svr3gas.h (text_section): Likewise.
15798         * nextstep.h (text_section): Likewise.
15799         * psos.h (text_section): Likewise.
15800         * ptx4.h (text_section): Likewise.
15801         * svr3.h (text_section): Likewise.
15802         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
15803
15804 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15805
15806         * final.c (peephole): Delete prototype.
15807
15808         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
15809         (pre_insert_copies): Remove unused variable `bb'.
15810
15811         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
15812         prototypes.
15813
15814         * output.h (peephole): Add prototype.
15815
15816 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
15817
15818         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
15819         -O0.
15820
15821 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
15822
15823         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
15824         for inlined declarations.
15825
15826 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
15827
15828         * arm.c (logical_binary_operator): New fucntion.
15829         * arm.h (logical_binary_operator): Declare it.
15830         (PREDICATE_CODES): Handle logical_binary_operator.
15831         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
15832         output constraints.  Add appropriate splitters.
15833         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
15834         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
15835         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
15836
15837 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15838
15839         * genoutput.c (struct operand_data): New elt eliminable.
15840         (output_operand_data): Write it.
15841         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
15842         (compare_operands): Take it into account.
15843         * recog.h (struct insn_operand_data): New elt eliminable.
15844         * reload1.c (check_eliminable_occurrences, elimination_effects): New
15845         functions.
15846         (old_asm_operands_vec, new_asm_operands_vec): Delete.
15847         (eliminate_regs): Move code that detects changes to elimination
15848         target regs into new function elimination_effects.
15849         Delete one #if 0 block.
15850         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
15851         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
15852         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
15853         Only call eliminate_regs for real operands of the insn, not for parts
15854         of its structure or parts matched by things like match_operator.
15855         Use elimination_effects and check_eliminable_occurrences.  Use
15856         copy_insn to duplicate the pattern when not in the final pass.
15857
15858 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
15859
15860         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
15861         and fld.
15862
15863 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
15864
15865         * fixinc/README: document the "mach" machine matching test
15866         * fixinc/fixfixes.c: Implement the #else/#endif label fix
15867         * fixinc/fixtests.c: Implement the #else/#endif label test
15868         * fixinc/inclhack.def: utilize these tests and fixes
15869         * fixinc/inclhack.sh:  regen
15870         * fixinc/fixincl.x:  regen
15871         * fixinc/fixincl.sh:  regen
15872
15873 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
15874
15875         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
15876         depend on ggc.h.
15877
15878 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
15879
15880         * gcc.1: Document exit codes.
15881
15882 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15883
15884         * calls.c: Include tm_p.h later, so everything we need is defined.
15885         * expr.c: Likewise.
15886         * function.c: Likewise.
15887
15888         * except.c: Include tm_p.h.
15889
15890         * sparc.c: Likewise.
15891         (dwarf2out_cfi_label): Don't prototype.
15892         (check_return_regs, epilogue_renumber,
15893         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15894         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15895         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15896         ultra_schedule_insn): Add static prototype.
15897         (data_segment_operand, text_segment_operand): Call itself with the
15898         proper number of arguments.
15899         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15900
15901         * sparc.h: Move all declarations to sparc-protos.h.
15902         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
15903         symbolic_operand.
15904
15905         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15906
15907         * config/svr4.h (text_section, ctors_section, dtors_section): Add
15908         Prototypes.
15909         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15910         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15911         ASM_OUTPUT_ASCII): Constify a char*.
15912
15913         * sparc-protos.h: New file for sparc prototypes.
15914
15915 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15916
15917         * function.c (record_insns, contains): Always declare and define.
15918         (record_insns): Mark with ATTRIBUTE_UNUSED.
15919
15920 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15921
15922         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15923         to .section when outputting a .bss section to deal with multiple
15924         .bss input sections (as happens with -fdata-sections)
15925         Also output %progbits, not @progbits so the assembler doesn't treat as
15926         a comment.
15927         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15928
15929         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15930         thumb parts even when building with non-thumb CPUs, by forcing
15931         thumb mode.
15932
15933 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
15934
15935         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15936         (movdf_const_intreg_sp64): Similarly.
15937
15938         * local-alloc.c (update_equiv_regs): Check the correct insn
15939         for pre-existing REG_EQUIV notes.
15940
15941 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
15942
15943         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15944         block reached by a branch if we're not going to actually process
15945         this block.
15946
15947 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
15948
15949         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15950         a local extern function declaration.
15951
15952 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
15953
15954         * i386.c (ix86_expand_prologue): Properly wrap USE around
15955         reg for CALL_INSN_FUNCTION_USAGE.
15956
15957 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
15958
15959         * config/mips/mips.md (movdf_internal1a): Allow floating-point
15960         move between GP_REGs.
15961
15962 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
15963
15964         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15965         the mode size when finding out if an offset is legal.
15966
15967 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
15968
15969         * basic-block.h (PROP_*): Move constants from ...
15970         * flow.c: ... here.
15971         (compute_bb_for_insn): Free the array before reallocating.
15972         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15973         (allocate_reg_life_data): Reset all reg variables collected by
15974         propagate_block.
15975         (get_block_head_tail): Don't convert from bb to block.
15976         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
15977         (find_insn_reg_weight): Take block not bb.
15978         (schedule_block): Don't set block num for moved insns.
15979         (schedule_region): Don't update_life_info or find_insn_reg_weight.
15980         (schedule_insns): Do it here instead.
15981         * combine.c (combine_instructions): Invoke compute_bb_for_insn
15982         before update_life_info.
15983         * recog.c (split_all_insns, peephole2_optimize): Update for
15984         new arg to update_life_info.
15985         * rtlanal.c (remove_note): Cope with NULL note.
15986         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15987         if we did sched1.
15988
15989 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
15990
15991         * jump.c (jump_optimize_1): More accurately detect casesi insns.
15992
15993         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15994         block records so that merge_blocks_nomove will clean up correctly.
15995         (split_edge): Handle casesi insns.
15996
15997         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15998
15999 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
16000
16001         * pa.md (call, call_value): Do not emit a blockage after restoring
16002         the PIC register.
16003
16004 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
16005
16006         * c-typeck.c (c_expand_asm_operands): Fix typo.
16007
16008 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16009
16010         * arm.c (fpu_rhs_operand): Verify modes.
16011         (fpu_add_operand): Likewise.
16012         (di_operand): Likewise.
16013         (soft_df_operand): Likewise.
16014
16015 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
16016
16017         * arm.c (arm_return_in_memory): APCS rules state that the elements
16018         of a structure returned in a register must be 'integer-like'.
16019
16020 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
16021
16022         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
16023         in the source tree when the generated targets are out of date
16024         * fixinc/genfixes: Alter it to run individual fixes for make.
16025         * fixinc/README: rewrite
16026         * fixinc/inclhack.def: moved initial comments to README
16027
16028 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
16029
16030         * toplev.c (main): Do not generate an error message if an
16031         unrecognised command line switch is recognisable by another
16032         language.  If extra_warnings are enabled, then generate a
16033         warning message instead.
16034
16035 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16036
16037         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
16038         (insert_pack_attributes): Delete prototype.
16039
16040         * c-pragma.c (default_alignment): New static variable.
16041         (push_alignment): Initialize to current effective alignment.
16042         (pop_alignment): Use to set new alignment.
16043         (insert_pack_attributes): Delete function.
16044         (handle_pragma_token): Set default_alignment as well each time
16045         a #pragma pack(<n>) is encountered.
16046
16047 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
16048
16049         * reg-stack.c (stack_result): Aggregates are not returned in
16050         stack registers.
16051
16052 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
16053
16054         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
16055
16056 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
16057
16058         * basic-block.h (set_block_num): Declare.
16059         * flow.c (update_life_info): Don't call compute_bb_for_insn
16060         or free_basic_block_vars.
16061         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
16062         (insn_orig_block): Remove.
16063         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
16064         (schedule_block): Keep BLOCK_NUM up-to-date.
16065         (schedule_insns): Use compute_bb_for_insn.
16066         * recog.c (split_all_insns): Likewise.
16067         (peephole2_optimize): Likewise.
16068
16069 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
16070
16071         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
16072         if the pic register is used.
16073
16074 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16075
16076         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
16077         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
16078         if that tests TREE_PERMANENT.
16079
16080 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
16081
16082         * cse.c (invalidate_for_call): Do not remove memory references from
16083         the table here.  It's handled elsewhere.
16084
16085         * haifa-sched.c (add_dependence): Protect references to the
16086         true dependency cache with #ifdef INSN_SCHEDULING.
16087         (remove_dependence): Similarly.
16088
16089         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
16090         to the cfg code that this is a return instruction.
16091         * mn10300.md (return_internal): Similarly.
16092
16093         * combine.c (get_last_value): If the last set of a register
16094         is after subst_low_cuid, then we can not use it to determine
16095         the register's last value.
16096
16097 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16098
16099         * Makefile.in: Back out previous change.
16100
16101 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
16102
16103         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
16104
16105         * haifa-sched.c (add_dependence): Only check/update the cache
16106         if it exists.
16107         (remove_dependence): Likewise.
16108         (schedule_insns): Only create the true_dependency_cache if the
16109         average number of instructions in a basic block is very large.
16110
16111 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16112
16113         * Makefile.in (ggc-common.o): Depend on genrtl.h.
16114         (ggc-simple.o): Likewise.
16115         (ggc-page.o): Likewise.
16116
16117 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
16118
16119         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
16120         Prototype for exported functions.
16121         (pre_lcm, pre_rev_lcm): Remove prototypes.
16122         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
16123         (compute_available): Move to lcm.c, and change parameter order.
16124         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
16125         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
16126         (gcse_main): No longer call compute_preds_succs.  Rebuild the
16127         set table after reach pre pass.
16128         (pre_insert_map, pre_delete_map, edge_list): New.
16129         (alloc_pre_mem): Allocate edge vectors.
16130         (free_pre_mem): Delete edge vectors.
16131         (compute_pre_data): Call new edge based lcm routines.
16132         (process_insert_insn): New function.
16133         (insert_insn_end_bb): Use it.
16134         (pre_edge_insert): New function.
16135         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
16136         needed.
16137         (pre_insert_copies): Revamp using new edge based lcm outputs.
16138         (pre_delete): Likewise.
16139         (one_pre_gcse_pass): Insert & remove fake edges to the exit
16140         block.
16141         (compute_code_hoist_vbeinout): New new edge based routines.
16142         * lcm.c: Remove all the old LCM functions.  Replace with new ones
16143         that work with the new cfg datastructures and work with edges
16144         instead of blocks.
16145
16146 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16147
16148         * reload.h (struct reload): Add new fields "mode" and "nregs".
16149         * reload1.c: Change all occurrences of reload_mode and reload_nregs
16150         to reference the "mode" and "nregs" field within struct reload.
16151
16152 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
16153
16154         * haifa-sched.c (true_dependency_cache): New.
16155         (add_dependence): Use the true dependency cache to avoid expensive
16156         walks down the LOG_LINKS dependency list.  Add entries to the
16157         cache as necessary.
16158         (remove_dependence): Remove entries from the true dependency cache
16159         as needed.
16160         (schedule_insns): Allocate and initialize and free the true
16161         dependency cache.
16162
16163         * haifa-sched.c (schedule_insns): Do not remove inter-block
16164         dependencies anymore.
16165
16166 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
16167
16168         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
16169         * i386/t-winnt: Likewise.
16170
16171 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
16172
16173         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
16174
16175 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
16176
16177         * Makefile.in (LANGUAGES): Omit "proto".
16178         (clean): Remove stale comment about removing unprotoize.c.
16179
16180 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16181
16182         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
16183         using arithmetic on void pointers.
16184
16185 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
16186
16187         * haifa-sched.c (compute_block_forward_dependencies): Only check
16188         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
16189
16190 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
16191
16192         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
16193         (expr_equiv_p): Reject memories with different alias sets.
16194
16195 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
16196
16197         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
16198         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
16199         (f_options): Add "bounded-pointers" and "bounds-check" entries.
16200         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
16201         (lang_init): Set default for flag_bounds_check if still "unspecified".
16202
16203 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16204
16205         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
16206
16207 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16208
16209         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
16210         instructions.
16211
16212 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16213
16214         * config/c4x/c4x.md (*db_noclobber,
16215         *decrement_and_branch_until_zero_noclobber): New patterns and
16216         associated splitters.
16217
16218 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16219
16220         * config/c4x/c4x.md (parallel instruction patterns): Rework
16221         constraints to keep reload happy.
16222
16223 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16224
16225         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
16226         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
16227         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
16228         Add new patterns and associated post-reload splitters.
16229
16230 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16231
16232         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
16233
16234 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16235
16236         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
16237         if appropriate.
16238         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
16239
16240 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16241
16242         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
16243         memory mode.
16244
16245 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
16246
16247         * pa.c (move_operand): Rely on memory_address_p to determine the
16248         validity of non-indexed memory addresses.
16249         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
16250         operand in DFmode and SFmode when generating PA2.0 code.
16251
16252 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
16253
16254         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
16255
16256 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
16257
16258         * mips.c (function_prologue): Fix argument types.
16259         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
16260         (casesi_internal): Write to the scratch register.
16261
16262 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
16263
16264         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
16265         to U_CHAR **.
16266         (parse_charconst): Delete unnecessary cast when calling
16267         cpp_parse_escape.
16268         (cpplib.h): Kill prototype of cpp_parse_escape.
16269
16270 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
16271
16272         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
16273         * unroll.c (unroll_loop): Cast return value of alloca.
16274         * i370/i370.c: Include function.h and toplev.h.
16275         (i370_label_scan): Remove c++ commented abort.
16276         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
16277         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
16278         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
16279         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
16280
16281 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
16282
16283         * config/t-freebsd: Do not override USER_H.
16284         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
16285
16286 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
16287                           Mumit Khan  <khan@xraylith.wisc.edu>
16288
16289         * c-parse.in (component_decl): Support anonymous struct/union.
16290         (%expect): Update.
16291         * c-parse.y: Regenerate.
16292         * c-parse.c: Likewise.
16293         * objc/objc-parse.y: Likewise.
16294         * objc/objc-parse.c: Likewise.
16295         * c-decl.c (finish_struct): Don't sort the fields.
16296         (field_decl_cmp): Delete unused function.
16297
16298 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
16299
16300         * sparc.md (movsf_const_intreg): Revert last constraint change.
16301         (movdf_const_intreg_sp32): Likewise.
16302
16303 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
16304
16305         * cse.c: Include hashtab.h instead of splay-tree.h
16306         (struct cse_reg_info): No longer use variant union.  Add new
16307         field "regno".  All references changed to avoid union.
16308         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
16309         (free_cse_reg_info): Remove.
16310         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
16311         (get_cse_reg_info): Revamp to use expandable hash tables instead
16312         of splay trees.  Initialize new fields in cse_reg_info structure.
16313         (new_basic_block): Similarly.
16314
16315 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
16316
16317         * genrecog.c (message_with_line): Prototype.
16318         (validate_pattern): Pass along the set for the dest, not a flag.
16319         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
16320         Check for PC/CC0 as sources.
16321         (nodes_identical): Check for children position match before
16322         allowing the combination.
16323
16324         * rtl.c (read_rtx): Track line number across \\\n.
16325
16326 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
16327
16328         * mips.h (SPECIAL_MODE_PREDICATES): New.
16329         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
16330         (movdi+1, movsi+1): Add output reload constraint.
16331         (casesi_internal): Likewise.  Fix commentary.
16332         (return_internal): Use pmode_register_operand.
16333
16334 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
16335
16336         * 1750a.md (movstrqi): Add missing output reload constraint.
16337         (call_value): Likewise.
16338         * a29k.md (cpxxx patterns): Add missing match_operator mode.
16339         (jmpfdec): Add missing inout reload constraint.
16340         * elxsi.md (addsi patterns): Add missing output reload constraint.
16341         (move from sp): Use @ alternates.
16342         (call_value): No constraint on output.
16343         * fr30.md (movsi_pop): Add missing output reload constraint.
16344         (movsf_constant_store): Likewise.
16345         (splits): Remove constraints.
16346         (subsi3): Add missing mode.
16347         * i370.md (cmpstrsi+1): Add missing output reload constraint.
16348         (call_value): Likewise.
16349         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
16350         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
16351         * m32r.md (movsicc_internal): Add output reload constraint.
16352         (movstrsi_internal): Add inout reload constraints.
16353         * m88k.h (reg_names): Don't declare.
16354         (SPECIAL_MODE_PREDICATES): New.
16355         * m88k.md (*): Use register_operand not reg_or_0_operand
16356         on destinations.
16357         * mn10200.h (PREDICATE_CODES): New.
16358         * ns32k.md (ffs pattern): Add output reload constraint.
16359         * pdp11.md (sob pattern): Add inout reload constraint.
16360         * sh.md (splits): Remove constraints.
16361         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
16362         * v850.md (pattern_is_ok_for_epilogue): Likewise.
16363         * vax.md (jgequ pattern): Add inout reload constraint.
16364
16365 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
16366
16367         * configure.in (djgpp): Revert previous patch.
16368         * configure: Rebuit.
16369         * config/i386/djgpp.h: Revert previous patch.
16370
16371 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
16372
16373         * fixinc/inclhack.def: Restore patch lost during last merge of
16374         "no_bogosity" branch.
16375         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16376
16377 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16378
16379         * fixincludes: Add a HPUX 11 fix for inttypes.h.
16380         * fixinc/inclhack.def: Same.
16381         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
16382
16383 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
16384
16385         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
16386         as the base of a PLUS.
16387
16388 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16389
16390         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
16391         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
16392
16393 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
16394
16395         * pa.md (post_stw+1): Use pmode_register_operand.
16396         (dcacheflush, icacheflush): Likewise.
16397
16398         * i386.md (movstricthi_1): Allow r/r.
16399
16400 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
16401
16402         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
16403         to (not (and (arg0) (arg1))). Similary for and.
16404
16405         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
16406         fallthrough to associate code.
16407         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
16408         bits in common.
16409
16410         * combine.c (simplify_logical): Convert XOR to IOR if operands have
16411         no bits in common; remove XOR to ROTATE conversion.
16412
16413 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16414
16415         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
16416
16417 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16418
16419         * config/c4x/c4x.c (dst_operand): New.
16420         (PREDICATE_CODES): Update.
16421         * config/c4x/c4x.h (dst_operand): Declare it.
16422         * config/c4x/c4x.md:  Define mode for each unspec usage.
16423         (move patterns):  Use dst_operand predicate instead of src_operand.
16424         (movqi_update, movqf_update): Delete.
16425
16426 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
16427
16428         * recog.c (pmode_register_operand): New.
16429         * recog.h: Declare it.
16430         * genrecog.c (pred_codes): Likewise.
16431         (special_mode_pred_table): Likewise.
16432         (validate_pattern): Don't warn no mode for address_operand.
16433
16434         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
16435         if the operand is not insn-like.
16436
16437 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
16438                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
16439
16440         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
16441
16442 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
16443
16444         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
16445         instead of general_operand in a SET_DEST.  Use const_double_operand
16446         instead of an explicit test against CONST_DOUBLE.
16447         (movsf_const_lo): Add missing register mode.
16448         (goto_handler_and_restore): Add auxiliary test for Pmode.
16449         (flush): Adjust to use address_operand.
16450         (return_sf_no_fpu): Add missing output constraint.
16451
16452 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
16453
16454         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
16455         for call return value.
16456         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
16457
16458 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
16459
16460         * toplev.c (main): Only warn about options for other languages.
16461         * collect2.c (main): Pass -w to sub-gcc.
16462
16463 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
16464
16465         * flow.c (propagate_block): Add call-clobbered registers to
16466         significant too.
16467
16468         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
16469         zapping mem_set_list.
16470         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
16471         (mark_set_1, mark_used_regs): Likewise.
16472
16473 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
16474
16475         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
16476
16477 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16478
16479         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
16480         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
16481         options. Also add a new item "C-only Warning Options" to the
16482         option summary.
16483
16484 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
16485
16486         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
16487         from multiple calls.
16488
16489 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
16490
16491         * i386.md (call value patterns): Move to the end of the file.
16492         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
16493
16494 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
16495
16496         * configure.in (djgpp configuration): Define extra_objects..
16497         * configure: Rebuilt.
16498         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
16499         (DTORS_SECTION_ASM_OP): Define.
16500         (INIT_SECTION_ASM_OP): Define.
16501         (FINI_SECTION_ASM_OP): Define.
16502         (DATA_SECTION_ASM_OP): Define.
16503         (TEXT_SECTION_ASM_OP): Define.
16504         (EH_FRAME_SECTION_ASM_OP): Define.
16505         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
16506         (STARTFILE_SPEC): Add crtbegin.o.
16507         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
16508         to here from LINK_COMMAND_SPEC.
16509         (DO_GLOBAL_CTORS_BODY): Define.
16510         (CRTSTUFF_USE_FINI_SECTION): Define
16511         (HAS_INIT_SECTION): Delete.
16512
16513 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
16514
16515         * Makefile.in (all.cross): Depend on xcpp$(exeext).
16516
16517 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
16518
16519         * pa.h (PREDICATE_CODES): New.
16520
16521         * genrecog.c (validate_pattern): Condense the destination
16522         non-lvalue message.
16523
16524 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
16525
16526         * alpha.md (call-1): Supply missing mode for operator.
16527         (*): Add missing output reload constraints.  Remove constraints
16528         from define_splits.
16529
16530         * i386.h (SPECIAL_MODE_PREDICATES): New.
16531         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
16532         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
16533         (addsi_lea_3): Add missing mode for op 3.
16534         (prologue_set_got, prologue_get_pc): Add missing modes.
16535         (*) Add missing output reload constraints.
16536
16537 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
16538
16539         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
16540         check for member bit-size overflow and use var_size if it occurs.
16541         (layout_record): Use bitsize_int() to define the type size in bits.
16542         Likewise for computation and assignment to DECL_FIELD_BITPOS.
16543         (layout_decl): Likewise when assigning to DECL_SIZE.
16544
16545 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
16546
16547         * genrecog.c (validate_pattern): Typo last change.  Verify
16548         that output operands have output reloads.
16549
16550 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
16551
16552         * genrecog.c (special_mode_pred_table): New.
16553         (NUM_SPECIAL_MODE_PREDS): New.
16554         (find_operand): New.
16555         (validate_pattern): New argument `insn'.  Warn for assignment to
16556         any predicate accepting non-lvalues.  Conditionaly warn for
16557         match_operand without a mode.  Try much harder to match source
16558         and destination modes on a set.
16559         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
16560
16561 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
16562
16563         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
16564
16565 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
16566
16567         * combine.c (simplify_logical): Recognize xor pattern that encodes
16568         rotation.
16569
16570 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16571
16572         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
16573         alignment.
16574
16575 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
16576
16577         * ggc-page.c (MAP_FAILED): Provide default.
16578
16579 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
16580
16581         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
16582         * sparc.h (PREDICATE_CODES): Update.
16583
16584 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
16585
16586         * alpha.c (some_ni_operand): New.
16587         * alpha-protos.h: Declare it.
16588         * alpha.h (PREDICATE_CODES): Update.
16589         * alpha.md (sXaddq reload insns): Use some_ni_operand
16590         for SET_DEST instead of some_operand.
16591
16592 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
16593                           Jim Wilson  <wilson@cygnus.com>
16594
16595         * genrecog.c (maybe_both_true_2): Don't compare modes of
16596         two DT_pred tests.
16597         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
16598         after find_afterward.
16599         (debug_decision_1): Dump next and afterward codes.
16600
16601 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
16602
16603         * rtl.c (dump_and_abort): Remove.
16604         (fatal_with_file_and_line): New.
16605         (fatal_expected_char): New.
16606         (read_rtx_lineno, read_rtx_filename): New.
16607         (read_skip_spaces): Track line number.
16608         (read_name): Use fatal_with_file_and_line.
16609         (read_rtx): Use fatal_expected_char.  Track line number.
16610         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
16611
16612         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
16613         if it isn't a CODE_LABEL.
16614
16615         * genattr.c (main): Set read_rtx_filename.
16616         * genattrtab.c (main): Likewise.
16617         * gencodes.c (main): Likewise.
16618         * genconfig.c (main): Likewise.
16619         * genemit.c (main): Likewise.
16620         * genextract.c (main): Likewise.
16621         * genflags.c (main): Likewise.
16622         * genopinit.c (main): Likewise.
16623         * genoutput.c (main): Likewise.
16624         * genpeep.c (main): Likewise.
16625
16626         * genrecog.c (decision_test.u.insn): Add `lineno'.
16627         (pattern_lineno, error_count): New variables.
16628         (message_with_line): New.
16629         (add_to_sequence): Break out checking code to ...
16630         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
16631         (merge_insn): Use message_with_line.
16632         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
16633         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
16634
16635 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16636
16637         * expr.c (store_constructor): Clear union if constructor is empty.
16638
16639 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
16640
16641         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
16642         Add !endian checks.  Change %{...} to %(...).
16643
16644 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
16645
16646         * i386.md (*addsi3_cc): Renamed from addcsi3.
16647         (*addsi3_carry): Renamed from addxsi3.
16648         (*subsi3_cc): Renamed from subcsi3.
16649         (*subsi3_carry): Renamed from subxsi3.
16650         (*xorqi_cc_1): Renamed from xorcqi_1.
16651         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
16652         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
16653
16654 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
16655
16656         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
16657         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
16658
16659 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
16660
16661         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
16662         climb up the chain of insns.
16663
16664 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
16665
16666         * genrecog.c (write_subroutine): Careful for null trees.
16667         (process_tree): Don't elide empty functions.
16668
16669 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
16670
16671         * Makefile.in (genrtl.o): Depend on ggc.h.
16672         * configure.in (valloc): Probe for it.
16673         (with-gc): Use ggc-page if valloc present.
16674         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
16675         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
16676         (ggc_alloc_string): Moved from ggc-page.c.
16677         * ggc-none.c (ggc_alloc_obj): New.
16678         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
16679         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
16680         (struct globals): Likewise for dev_zero_fd.
16681         (init_ggc): Likewise for it's initialization.
16682         (ggc_allocated_p): Move careful dereference from ...
16683         (ggc_lookup_page_table): ... here.  Delete.
16684         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
16685         (alloc_anon): Use valloc if no mmap.
16686         (release_pages): Use free if using valloc.
16687         (ggc_alloc_obj): Renamed from alloc_obj.
16688         (ggc_set_mark): Renamed from mark_obj.
16689         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
16690         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
16691         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
16692         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
16693         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
16694         (ggc_collect): Use fp printing instead of our own rounding.
16695         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
16696         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
16697         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
16698         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
16699         (struct ggc_string, struct ggc_any): Delete.
16700         (offsetof): Provide default definition.
16701         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
16702         (PTR_KEY): New.
16703         (struct ggc_mem): New, from corpse of ggc_any.
16704         (struct ggc_status): Delete.
16705         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
16706         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
16707         (n_strings_collected, n_anys_collected): Delete.
16708         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
16709         (ggc_alloc_string, ggc_alloc): Delete.
16710         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
16711         (ggc_free_string, ggc_free_any): Delete.
16712         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
16713         (ggc_compare_addresses, ggc_mark_string): Delete.
16714         (ggc_mark_string_if_gcable, ggc_mark): Delete.
16715         (search_data): Delete.
16716         (struct globals): New.
16717         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
16718         (tree_insert, tree_lookup): New.
16719         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
16720         (clear_marks, sweep_objs): New.
16721         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
16722         (init_ggc): Set allocated_last_gc.
16723         (ggc_push_context): Gut.  Use G.context.
16724         (ggc_pop_context): Likewise.
16725         (ggc_pop_context_1): New.
16726         (debug_ggc_tree): New.
16727         (debug_ggc_balance, tally_leaves): New.
16728         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
16729         (ggc_mark_string_if_gcable): Remove decl.
16730         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
16731         (ggc_mark_rtvec_children): New.
16732         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
16733         (ggc_mark_if_gcable): New decl.
16734         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
16735         (ggc_alloc_tree, ggc_alloc): Likewise.
16736         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
16737         (ggc_alloc_obj): New decl.
16738         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
16739         (ggc_alloc_tree, ggc_alloc): Likewise.
16740         (ggc_set_mark): New decl.
16741         * rtl.h (struct rtx_def): Remove gc_mark.
16742         (struct rtvec_def): Likewise.
16743         * tree.h (struct tree_common): Likewise.
16744
16745 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
16746
16747         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
16748         float_format and thread_file definitions.
16749         * configure: Rebuilt.
16750
16751 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
16752
16753         * extend.texi (Function Names): Document types of function names.
16754
16755 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16756
16757         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16758         an earlyclobbered output conflict with RELOAD_INPUT reloads.
16759
16760 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16761
16762         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
16763
16764 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16765
16766         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
16767
16768 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
16769
16770         * collect2.c (main): Do prelimnary link on AIX if rflag.
16771
16772 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16773
16774         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
16775         __CTOR_LIST__ in opposite order, which is the correct order for sorted
16776         constructors.
16777         (__do_global_dtors): similarly for __DTOR_LIST__.
16778
16779 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16780                                 Diego Novillo <dnovillo@cygnus.com>
16781
16782         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
16783         FPUL_REGS.
16784
16785 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
16786
16787         * fixincl/*: Merged "no_bogosity" branch
16788         * fixincl/fixlib.h: protect against doubly defining t_bool
16789         * fixincl/server.h: protect against doubly defining t_bool
16790
16791 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
16792
16793         * genoutput.c: Include toplev.h.
16794
16795 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
16796
16797         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
16798         Undef.
16799         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
16800         * configure: Regenerate.
16801
16802 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
16803
16804         * gcse.c (delete_null_pointer_checks): Returns void.
16805
16806 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16807
16808         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
16809         * emit-rtl.c (copy_insn_1): Likewise.
16810
16811 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16812
16813         * config/mips/mips.c (mips_build_va_list): Correct
16814         TREE_CHAIN setting when hard-float.
16815         (mips_va_start): Use corrected setting.
16816         (mips_va_arg): Likewise.  Also pass a tree to build of
16817         POSTINCREMENT_EXPR rather than a naked 'int'.
16818
16819 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
16820
16821         * ggc.h (ggc_push_context): Fix comment.
16822         (ggc_pop_context): Likewise.
16823         (mark_string_if_gcable): Likewise.
16824         * ggc-common.c (ggc_mark_rtx_children): Use
16825         ggc_mark_string_if_gcable.
16826         * ggc-page.c (ggc_lookup_page_table): New function.
16827         (ggc_allocated_p): Likewise.
16828         (mark_obj): Fix formatting.
16829         (ggc_mark_string_if_gcable): New function.
16830         * ggc-simple.c (ggc_allocated_strings): New variable.
16831         (ggc_strings_used): Likewise.
16832         (ggc_compare_addresses): New function.
16833         (ggc_pop_context): Pop the `any' memory too.
16834         (ggc_mark_string_if_gcable): New function.
16835         (ggc_collect): Initialize and tear down ggc_allocated_strings.
16836
16837 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
16838
16839         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
16840         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
16841         * rs6000.c (expand_block_move): Match movstrsi_?reg register
16842         changes.
16843
16844 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
16845
16846         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
16847         (sched_reg_live_length, sched_reg_basic_block): Delete.
16848         (current_block_num, bb_live_regs, old_live_regs): Delete.
16849         (dead_notes, struct sometimes): Delete.
16850         (sched_note_set, birthing_insn_p): Delete.
16851         (adjust_priority): Gut useless reg lifetime code.
16852         (create_reg_dead_note, attach_deaths): Delete.
16853         (attach_deaths_insn, new_sometimes_live): Delete.
16854         (finish_sometimes_live): Delete.
16855         (find_pre_sched_live, find_post_sched_live): Delete.
16856         (update_reg_usage): Delete.
16857         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
16858         (schedule_insns): Delete reg lifetime code.
16859         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
16860         (unlink_other_notes): Adjust REG_NOTE commentary.
16861         (reemit_notes): Use REG_SAVE_NOTE.
16862         (schedule_block): Likewise.
16863         (schedule_region): Allocate bitmap of blocks in region.  Use
16864         count_or_remove_death_notes.  Use update_life_info.
16865
16866         * rtl.h (REG_SAVE_NOTE): New.
16867         * rtl.c (reg_note_name): Update.
16868
16869 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
16870
16871         * combine.c (refresh_blocks, need_refresh): New.
16872         (combine_instructions): Allocate refresh_blocks.  Invoke
16873         update_life_info if needed.
16874         (distribute_notes): Mark refresh_blocks instead of installing
16875         USE insns.
16876         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
16877         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
16878
16879         * Makefile.in (recog.o): Depend on basic-block.h.
16880
16881 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
16882
16883         * genrecog.c (add_to_sequence): Thinko last change: delete
16884         shadowing allow_const_int variable.
16885
16886 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16887
16888         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16889         __GNUC__ and __GNUC_MINOR__.
16890
16891         * gansidecl.h: Likewise.
16892
16893         * rtl.c: Likewise.
16894
16895         * rtl.h: Likewise.
16896
16897         * toplev.h: Likewise.
16898
16899         * tree.c: Likewise.
16900
16901         * tree.h: Likewise.
16902
16903         * varray.c: Likewise.
16904
16905         * varray.h: Likewise.
16906
16907 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16908
16909         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16910         use one before a jump table.
16911
16912         * rtl.def (ADDRESS): Change documentation to match reality.
16913         * md.texi: Don't document it.
16914         * gmicro.md (load address pattern): Use 'p' constraint, delete use
16915         of ADDRESS rtx.
16916
16917         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16918
16919 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
16920
16921         * genrecog.c (add_to_sequence): Move allow_const_int test outside
16922         known predicate block; default allow_const_int true.
16923         (debug_decision_list): New.
16924
16925 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
16926
16927         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16928
16929 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
16930
16931         * gcse.c (gcse_main): Avoid global optimizations if we have a
16932         large number of basic blocks and the ratio of edges to blocks
16933         is high.
16934         (delete_null_pointer_checks): Likewise.
16935
16936 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
16937
16938         * c-common.c (check_format_info): Warn if format string isn't a
16939         string literal.
16940
16941 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16942
16943         * configure.in (arm*-*-*): Don't let autoconf remove brackets
16944         * configure: regenerate
16945
16946 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
16947
16948         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
16949         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
16950         (peepholes): Re-enable.
16951
16952 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
16953
16954         * Makefile.in (flow.o): Depend on TREE_H.
16955         * basic-block.h (REG_SET_EQUAL_P): New.
16956         (XOR_REG_SET): New.
16957         (n_edges): Declare.
16958         (free_regset_vector): Remove declaration.
16959         (flow_delete_insn_chain): Declare.
16960         (enum update_life_extent): New.
16961         (update_life_info, count_or_remove_death_notes): Declare.
16962         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16963         Verify register live at bb->global_live_at_start before adding USE.
16964         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16965         (CLEAN_ALLOCA): New.
16966         (n_edges): New.
16967         (PROP_*): New flags.
16968         (find_basic_blocks_1): Use alloc_EXPR_LIST.
16969         (clear_edges): Zero n_edges.
16970         (make_edge): Increment n_edges.
16971         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
16972         (flow_delete_insn_chain): Export.
16973         (delete_block): Decrement n_edges.
16974         (merge_blocks_nomove): Likewise.
16975         (life_analysis): Give life_analysis_1 PROP flags.
16976         (verify_wide_reg_1, verify_wide_reg): New.
16977         (verify_local_live_at_start): New.
16978         (update_life_info): Rewrite to call into propogate_block.
16979         (mark_reg): New.
16980         (mark_regs_live_at_end): After reload, if epilogue as rtl,
16981         always mark stack pointer.  Conditionally mark PIC register.
16982         After reload, mark call-saved registers, return regsiters.
16983         (life_analysis_1): Accept PROP flags not remove_dead_code.
16984         Call mark_regs_live_at_end before zeroing regs_ever_live.
16985         Use calculate_global_regs_live.  Copy global_live_at_end before
16986         calling final propagate_block.  Zero reg_next_use on exit.
16987         (calculate_global_regs_live): New.
16988         (allocate_bb_life_data): Don't allocate bb->local_set.
16989         (init_regset_vector, free_regset_vector): Remove.
16990         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16991         Test flags before every operation.  Warn if prologue/epilogue insn
16992         would have been deleted.
16993         (mark_set_regs, mark_set_1): Accept and use FLAGS.
16994         Use alloc_EXPR_LIST.
16995         (mark_used_regs): Accept and use FLAGS, not FINAL.
16996         Remove special handling for RETURN.
16997         (try_pre_increment): Use alloc_EXPR_LIST.
16998         (dump_flow_info): Dump n_edges.
16999         (unlink_insn_chain, split_hard_reg_notes): Remove.
17000         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
17001         (find_insn_with_note, new_insn_dead_notes): Remove.
17002         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
17003         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
17004         (replace_insns): Remove.
17005         (count_or_remove_death_notes): New.
17006         (verify_flow_info): Abort on error after all checks.
17007         (remove_edge): Decrement n_edges.
17008         (remove_fake_edges): Tweak format.
17009         * haifa-sched.c (schedule_insns): Use split_all_insns.
17010         * output.h (update_life_info): Remove declaration.
17011         * recog.c (split_all_insns): From the corpse of split_block_insns,
17012         do the whole function block by block.  Use update_life_info.
17013         (recog_last_allowed_insn): New.
17014         (recog_next_insn): Mind it.
17015         (peephole2_optimize): Set it.  Walk backwards through blocks.
17016         Use update_life_info.
17017         * rtl.h (update_flow_info, replace_insns): Remove declarations.
17018         (split_all_insns): Declare.
17019         * toplev.c (rest_of_compilation): Thread prologue before flow2.
17020         Use split_all_insns.
17021
17022         * i386.md (or -1 peep2s): Disable.
17023
17024 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
17025
17026         * config/mips/mips.md (movstrsi+[123]) : Combine these into
17027         a single pattern.  Scrap the 'd' versions as unnecessary.
17028
17029         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
17030         tablejump_mips162,tablejump_internal4): The operands to a
17031         label_ref must be VOIDmode.
17032
17033 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17034
17035         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
17036
17037 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17038
17039         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
17040
17041 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17042
17043         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
17044         cache every function if ggc_p.
17045
17046 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17047
17048         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
17049         instead of copy_rtx.  Accept sequences that contain asm statements.
17050         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
17051         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
17052         orig_asm_operands_vector, copy_asm_operands_vector,
17053         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
17054         variables.
17055         * rtl.h (copy_insn, copy_insn_1): Declare.
17056
17057 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17058
17059         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
17060
17061         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
17062         arguments to `current_file_function_operand'.
17063
17064         * genrecog.c: Include hard-reg-set.h and resource.h in the
17065         generated output file.
17066
17067         * real.c: Include tm_p.h.
17068
17069 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17070
17071         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
17072         output operand.
17073
17074 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
17075
17076         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
17077         before the fctiwz insn.
17078
17079 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17080                           Mark Mitchell  <mark@codesourcery.com>
17081
17082         * tree.c (make_lang_type_fn): New funtion pointer.
17083         (make_lang_type): Call it.
17084         * tree.h (make_lang_type): Declare.
17085         (make_lang_type_fn): Likewise.
17086         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
17087
17088 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
17089
17090         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
17091         make sure that HIGH instructions are copied into BASE_REGS.
17092
17093 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
17094
17095         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
17096
17097 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
17098
17099         * c-decl.c (finish_struct): Use simpler method of
17100         removing elements of a singly-linked list.
17101
17102 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
17103
17104         * alpha.md (peephole2's): Comment out peephole2's that generate
17105         buggy code.
17106
17107 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
17108
17109         * genrecog.c (add_to_sequence): Disable mode check for
17110         wildcard matches.
17111
17112 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17113
17114         * ggc-simple.c (init_ggc): Set empty_string.
17115
17116 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
17117
17118         * configure.in: Detect mmap.  Add --with-gc=foo to select
17119         garbage collector; default to page if mmap available.
17120         * Makefile.in (GGC): Substitute.
17121
17122 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
17123
17124         * c-decl.c (ggc_p): Enable.
17125
17126 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17127
17128         * flow.c (verify_flow_info): Make it extern & unconditionally define.
17129
17130 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
17131
17132         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
17133         string for little-endian-data.
17134
17135 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
17136
17137         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
17138         case somebody tries to compile --enable-checking code with gcc
17139         1.34 or such.
17140
17141 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
17142
17143         * genrecog.c (add_to_sequence): Verify operand to label_ref is
17144         VOIDmode.
17145
17146 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
17147
17148         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
17149         * jump.c (jump_optimize_1): Document why.
17150
17151 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17152
17153         * collect2.c (scan_prog_file, scan_libraries): Prototype function
17154         pointers and casts for `int_handler' and `quit_handler'.
17155
17156         * flow.c (verify_flow_info, split_hard_reg_notes,
17157         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
17158         remove_edge, remove_fake_successors): Add static prototypes.
17159         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
17160         (mark_set_1): Initialize variable `regno'.
17161         (unlink_insn_chain): Likewise for variable `curr'.
17162         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
17163
17164         * loop.c (strength_reduce): Initialize variable
17165         `unrolled_insn_copies'.
17166         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
17167         prototypes.  Change these functions to take const PTR parameters
17168         to avoid prototype conflict when used as the comparson argument
17169         for qsort.
17170         (check_dbra_loop): Initialize variable `comparison_val'.
17171
17172         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
17173         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
17174         (find_valid_class): Initialize variable `best_class'.
17175         (find_reloads): Call memcpy, not bcopy.
17176
17177         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
17178         (hard_reg_use_compare): Don't needlessly cast away const.
17179         (reload_reg_class_lower): Likewise.
17180         (choose_reload_regs): Initialize variable `regno'.
17181
17182 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
17183
17184         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
17185
17186 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
17187
17188         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
17189         ({,d}discard): Add forward declarations.  Declare parameter as
17190         unused.
17191         (main_without_main): Explicitly declare return type to be int.
17192         (memcpy): Properly declare.
17193
17194         * libgcc2.c (toplevel): If inhibit_libc is defined and not
17195         building the trampoline support, declare malloc, free, and
17196         atexit.
17197         (__clear_cache): Mark arguments as potentially unused.
17198
17199         * frame.c (toplevel): If inhibit_libc is defined, declare
17200         malloc and free.
17201
17202 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
17203
17204         * flow.c (make_edge): Accept an optional 2D bitmap in which
17205         to cache edge existence.  Update all callers.
17206         (make_label_edge, make_eh_edge): Pass through the edge cache.
17207         (make_edges): Provide the cache.
17208
17209 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17210
17211         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
17212         a char*.
17213         (local_mbtowc): Change the type of variable `i' from int to size_t.
17214
17215         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
17216         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
17217
17218 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
17219
17220         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
17221         after other includes that define the appropriate types.  Include
17222         tm_p.h for getting user prototypes.
17223         * ggc-callbacks.c (toplevel): Ditto.
17224         * ggc-none.c (toplevel): Ditto.
17225         * gcc-page.c (toplevel): Ditto.
17226         * ggc-simple.c (toplevel): Ditto.
17227
17228 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
17229                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
17230
17231         * config/mips/mips.c (mips_move_2words): Split doubles if
17232         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
17233
17234 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
17235
17236         * genrecog.c (struct decision_test): New.
17237         (struct decision): Remove test-related members, sort the rest by size.
17238         (IS_SPLIT): Simplify.
17239         (new_decision, new_decision_test): New.
17240         (add_to_sequence): Use them.  No special handling for args of
17241         non-MATCH codes.
17242         (maybe_both_true): Renamed from not_both_true; return sense changed.
17243         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
17244         of maybe_both_true and adjusted for decision_test.
17245         (position_merit): Remove.
17246         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
17247         (merge_accept_insn): New, broken out of merge_trees.
17248         (merge_trees): Use them.  No special case for c_test; no node
17249         splitting; use test type instead of position_merit.
17250         (factor_tests): New.
17251         (simplify_tests): New.
17252         (break_out_subroutines): Don't write code now.
17253         (find_afterward): New.
17254         (write_afterward, write_switch, write_cond): New.
17255         (write_action, is_unconditional): New.
17256         (write_node): New.  Use them.
17257         (write_tree_1): Rewrite.  Use the new functions above.
17258         (write_tree): Remove afterward processing.
17259         (write_subroutine): Simplify function variant emission.
17260         (write_subroutines): New.
17261         (same_codes, clear_codes): Remove.
17262         (same_modes, clear_modes): Remove.
17263         (write_header): New, broken out of main.
17264         (make_insn_sequence): Use new_decision and new_decision_test.
17265         (process_tree): New, broken out of main.
17266         (main): Adjust for merge_trees interface change.
17267         Don't #define operands in the output file.
17268         (record_insn_name): New, broken out of make_insn_sequence.
17269         (debug_decision_2, debug_decision_1, debug_decision_0): New.
17270         (debug_decision): New.
17271
17272 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
17273
17274         * resource.c (find_free_register): Mark class_str argument const.
17275         * resource.h: Update prototype to match.
17276
17277         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
17278         * i386.md: Give all anonymous insns names.
17279
17280 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
17281
17282         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
17283         blocks.
17284
17285 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
17286
17287         * toplev.c (dbr_sched_time): Unconditional.
17288         (peephole2_time): New.
17289         (compile_file): Add pass numbers to all of the dump file suffixes.
17290         Dump peephole2_time.  Don't dump times for non-applicable passes.
17291         (rest_of_compilation): Add pass numbers to dump file suffixes.
17292         Conditionalize calls to the scheduler.
17293         * invoke.texi: Update.
17294
17295 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
17296
17297         * flow.c (make_edges): Fix insn iteration.
17298         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
17299         (find_basic_blocks_1): Fix spelling mistake.
17300
17301 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
17302
17303         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
17304         always have side-effects.  Use memset not bzero.
17305         (make_node): Likewise.
17306
17307 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
17308
17309         * stmt.c (expand_anon_union_decl): When any of the elements of the
17310         union is addressable, so is the entire union.
17311
17312 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
17313
17314         * sbitmap.c (sbitmap_ones): Don't set too many bits.
17315
17316         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
17317         * bitmap.c (bitmap_operation): Return true iff TO changed.
17318         (bitmap_equal_p): New.
17319         (bitmap_bit_p): Tidy arithmetic.
17320         (debug_bitmap_file): Likewise.
17321
17322 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
17323
17324         * toplev.c (rest_of_compilation): Turn on cse_not_expected
17325         before cse2 instead of after.
17326
17327 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
17328
17329         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
17330         register offsets.
17331
17332 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17333
17334         * cppinit.c (is_idchar initializer): Loosen tests to accept
17335         gcc 2.>6 and >2.
17336
17337 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
17338
17339         * mips.md: Define conditional move patterns for floating point
17340         operands and DI mode conditions.
17341
17342 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
17343
17344         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
17345         always have side-effects.
17346
17347 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
17348
17349         * mn10200.c (asm_file_start): Fix typo.
17350
17351         * cppinit.c (is_idchar initializer): Tighten tests for when
17352         to put the table into initialized memory.
17353
17354         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
17355         not an array of rtunion.
17356         * gcc-page.c (ggc_alloc_rtvec): Similarly.
17357         * gcc-simple (ggc_free_rtvec): Similarly.
17358
17359         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
17360         of rtunions.
17361
17362         * mbchar.h: Add missing #endif.
17363
17364         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
17365         (FPBIT, DPBIT): Define.
17366
17367 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17368
17369         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
17370
17371         * profile.c (instrument_arcs, output_gcov_string,
17372         tablejump_entry_p): Add static prototypes.
17373         (output_gcov_string): Constify a char*.
17374
17375         * regmove.c (replacement_quality, fixup_match_2): Add static
17376         prototypes.
17377
17378         * resource.h (reg_dead_p): Add extern prototype.
17379
17380         * rtl.c (trim_filename): Add static prototype.
17381
17382         * scan-decls.c (skip_to_closing_brace): Likewise.
17383
17384         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
17385         (expand_end_case): Initialize variable `range'.
17386         (emit_case_nodes): Remove unused prototype `rtx_fn'.
17387
17388         * varasm.c (asm_emit_uninitialised): Add static prototype.
17389         (asm_emit_uninitialised, assemble_variable): Mark parameter with
17390         ATTRIBUTE_UNUSED.
17391
17392 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17393
17394         * cpplib.c (if_directive_nameo): Add static prototype.
17395
17396         * cse.c (cse_insn): Remove unused variable `p'.
17397
17398         * except.c (create_rethrow_ref, push_entry,
17399         receive_exception_label, new_eh_region_entry, find_func_region,
17400         clear_function_eh_region, process_nestinfo): Add static prototypes.
17401         (get_reg_for_handler): Hide definition.
17402         (process_nestinfo): Initialize variable `extra_handlers'.
17403
17404         * expr.h (expand_builtin_longjmp): Add extern prototype.
17405
17406         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
17407
17408         * function.c (prepare_function_start): Likewise.
17409         (pop_function_context_from): Mark parameter `context' with
17410         ATTRIBUTE_UNUSED.
17411         (push_temp_slots_for_block, flush_addressof): Hide definition.
17412
17413         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
17414         solve_program_flow_graph, calculate_branch_probs,
17415         function_summary, main, fancy_abort): Add prototypes.
17416
17417         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
17418         (add_hash): Constify a char*.
17419
17420         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
17421         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
17422         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
17423
17424         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
17425
17426         * lists.c (free_list, zap_lists): Likewise.
17427
17428 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17429
17430         * alias.c (nonlocal_reference_p): Add static prototype.
17431
17432         * bitmap.c (bitmap_element_allocate): Prototype args in function
17433         pointer cast.
17434
17435         * builtins.c (stabilize_va_list): Add static prototype.
17436         (expand_builtin_va_arg): Constify a char*.
17437
17438         * c-lex.c (getch, put_back, extend_token_buffer_to,
17439         read_line_number, token_getch, token_put_back): Add static
17440         prototypes.
17441
17442         * c-parse.gperf (hash, is_reserved_word): Likewise.
17443
17444         * cccp.c (is_dir_separator): Likewise.
17445
17446 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17447
17448         * graph.h: New file to prototype functions exported by graph.c.
17449
17450         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
17451
17452         * graph.c: Include graph.h.
17453
17454         * toplev.c: Likewise.  Remove redundant prototypes.
17455
17456 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
17457
17458         * invoke.texi: Removed duplicated description for -Q.
17459
17460 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
17461
17462         * extend.texi: Grammar fix in __extension__ text.
17463
17464 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
17465
17466         * md.texi (define_peephole2): New section.
17467
17468 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
17469
17470         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
17471         (mov $-1 to or peepholer): Enable for pentium when optimizing for
17472         speed.
17473
17474 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
17475
17476         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
17477
17478 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
17479
17480         * i386.md (ffs expander): Emit Pentium friendly code for
17481         TARGET_PENTIUM.
17482
17483 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
17484
17485         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
17486         for non-trees.
17487         (build1): Likewise.
17488
17489 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17490
17491         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
17492
17493 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
17494
17495         * config/m68k/m68k.c (use_return_insn): Return false if the pic
17496         register is in use.
17497
17498 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17499
17500         * md.texi (No Constraints): Delete section.
17501         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
17502         * final.c (final_scan_insn): We always have register constraints.
17503         * genattrtab.c: Don't include "insn-config.h".
17504         (write_attr_case): We always have register constraints.
17505         * genconfig.c (register_constraint_flag): Delete.
17506         (walk_insn_part): Don't check whether we have register constraints.
17507         (main): Don't write out "#define REGISTER_CONSTRAINTS".
17508         * genoutput.c (have_constraints): Delete.
17509         (main): Don't set it.
17510         (output_operand_data): We always have constraints.
17511         (scan_operands): Likewise.
17512         (compare_operands): Likewise.
17513         * local-alloc.c (block_alloc): We always have constraints.
17514         (requires_inout): Always compile this function.
17515         * recog.c (extract_insn): We always have constraints.
17516         (constrain_operands, reg_fits_class_p): Always compile these
17517         functions.
17518         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
17519         fields.
17520         (struct insn_operand_data): Likewise.
17521         * regclass.c (regclass): We always have constraints.
17522         (record_reg_classes, copy_cost, record_address_regs,
17523         auto_inc_dec_reg_p): Always compile these functions.
17524         * regmove.c (regmove_optimize): We always have constraints.
17525         * reload.c (find_reloads): Likewise.
17526         * reload1.c (reload): Likewise.
17527         (reload_cse_simplify_operands): Likewise.
17528         * i860.c (output_delay_insn): Likewise.
17529
17530 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
17531
17532         * iris6.h (BUILD_VA_LIST_TYPE): Define.
17533
17534 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17535
17536         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
17537         for the va_list record.
17538
17539 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
17540
17541         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
17542         prologues.
17543
17544 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
17545
17546         * alias.c: Include insn-flags.h.
17547         * Makefile.in (alias.o): Update.
17548
17549 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
17550
17551         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
17552         to LTU and GEU.  Handle more cases using sbb.
17553
17554 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
17555
17556         * i386.md (truncatexfdf splitters): Do not use subreg.
17557         (fop XFmode patterns): Fix mode in operand testing.
17558
17559 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
17560
17561         * jump.c (jump_optimize_1): Amend last change to test only the
17562         form of the operand, not the insn.
17563
17564         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
17565         not register_operand to determine when B may need preloading.
17566
17567 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
17568
17569         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
17570         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
17571         (call-value patterns): Move to end of file.
17572         (*): Remove mode from label_ref in (pc) context.
17573         (movstrqi): Use memory not general_operand for BLKmode operands.
17574         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
17575         to register_operand operands.
17576         (peep2 patterns): Convert from commented-out peephole patterns.
17577
17578 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17579
17580         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
17581         to BUILT_IN_INIT_DWARF_REG_SIZES.
17582         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
17583         Renamed from BUILT_IN_DWARF_REG_SIZE; call
17584         expand_builtin_init_dwarf_reg_sizes.
17585         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
17586         with __builtin_init_dwarf_reg_size_table.
17587         * dwarf2out.c (struct reg_size_range): Delete.
17588         (expand_builtin_init_dwarf_reg_sizes): New function.
17589         (expand_builtin_dwarf_reg_size): Delete.
17590         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
17591         (expand_builtin_dwarf_reg_size): Don't declare.
17592         * libgcc2.c (dwarf_reg_size_table_initialized): New.
17593         (dwarf_reg_size_table): New.
17594         (init_reg_size_table): New function.
17595         (copy_reg): Use dwarf_reg_size_table.
17596         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
17597         before use.
17598
17599 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
17600
17601         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
17602         Correctly build argument list to constructor and destructor functions.
17603
17604 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
17605
17606         * c-tree.h (warn_float_equal): Declare.
17607         * c-decl.c (warn_float_equal): Define.
17608         (c_decode_option): Recognize -W[no-]float-equal.
17609         * c-typeck.c (build_binary_op): Conditionally warn
17610         about equality tests of floating point types.
17611         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
17612         * invoke.texi: Add docs for -Wfloat-equal warning.
17613
17614 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
17615
17616         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
17617         generating RTL directly.
17618         * mips.h (INIT_TARGET_OPTABS): Likewise.
17619         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
17620
17621         * expr.h (init_mov_optab): Delete declaration
17622
17623         * h8300.c (WORD_REG_USED): Update to avoid useless register
17624         saves in interrupt functions and functions which never return.
17625
17626         * cse.c (struct set): Delete inner_dest_loc field.
17627         (cse_insn): Remove assignments to inner_dest_loc field.
17628
17629 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
17630
17631         * ggc-page.c: Don't include <unistd.h> etc taken care of
17632         by "system.h".  Include <sys/mman.h> afterward.
17633
17634 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
17635
17636         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
17637         ggc_alloc_string.
17638
17639 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
17640
17641         * xcoffout.c (xcoffout_declare_function): Add documentation.
17642         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
17643         TARGET_64BIT.  Compare constant to -1, not bit pattern.
17644         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
17645         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
17646         gen_movsi typos.
17647
17648 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
17649
17650         * dwarf2out.c (add_abstract_origin_attribute): Abort if
17651         origin_die is NULL.
17652         (gen_inlined_enumeration_type_die): Do not abort if the type has
17653         not been writeen out.
17654         (gen_inlined_structure_type_die): Do not abort if the type has
17655         not been writeen out.
17656         (gen_inlined_union_type_die): Do not abort if the type has
17657         not been writeen out.
17658         (gen_tagged_type_instantiation_die): Do not abort if the type
17659         has not been written out.
17660
17661 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17662
17663         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
17664         call it.
17665         * reg-stack.c (straighten_stack): Copy hard reg set with
17666         COPY_HARD_REG_SET.
17667
17668 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
17669
17670         * builtins.c (stabilize_va_list): Stabilize array type va_list
17671         to a pointer type, not the base record type.
17672         (expand_builtin_va_copy): Dereference the pointers explicitly;
17673         use the correct size for the copy.
17674
17675         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
17676         (rs6000_va_arg): Likewise.
17677
17678 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
17679
17680         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
17681
17682 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
17683
17684         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
17685         field.
17686         (DECL_BUILT_IN_CLASS): Adjust accordingly.
17687
17688 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
17689
17690         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
17691         (init_ggc): Use it instead of a constant.
17692         (ggc_collect): Bound allocated_last_gc by it.
17693
17694 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
17695
17696         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
17697         with va_list.
17698
17699 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
17700
17701         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
17702         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
17703         * configure:  Regen.
17704         * config/mips/openbsd.h:  New, OpenBSD little endian target.
17705         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
17706         * config/mips/xm-openbsd.h:  New, OpenBSD host.
17707
17708 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
17709
17710         * config/m68k/m68k.c (output_function_prologue,
17711         output_function_epilogue): Use
17712         current_function_uses_pic_offset_table instead of regs_ever_live
17713         to decide whether to save/restore pic register.
17714         (legitimize_pic_address): Don't modify regs_ever_live any more.
17715
17716 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
17717
17718         * function.h (struct function): Add x_dont_save_pending_sizes_p.
17719         * stor-layout.c (variable_size): Don't add sizes to the pending
17720         sizes list if x_dont_save_pending_sizes_p is set.
17721
17722 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
17723
17724         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
17725         for symbolic_operand().
17726         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
17727
17728 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17729
17730         * combine.c (gen_rtx_combine): Add missing call to va_end().
17731
17732         * final.c (asm_fprintf): Likewise.
17733
17734         * genattrtab.c (attr_rtx): Likewise.
17735
17736 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
17737
17738         * cse.c: Update comments.
17739         (cse_insn): When converting a conditional/computed jump into
17740         an unconditional jump, always make sure a BARRIER immediately
17741         follows the converted jump.  Do not delete unreachable code.
17742         (cse_basic_block): Do not delete unreachable code.
17743         * toplev.c (rest_of_compilation): Move call to
17744         delete_trivially_dead_insns after the conditional call to
17745         jump_optimize.
17746
17747 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17748
17749         * collect2.c (make_temp_file): Don't prototype.
17750
17751         * gcc.c (make_temp_file): Likewise.
17752
17753         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
17754
17755 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
17756
17757         * varasm.c (asm_emit_uninitialised): New function: Generate
17758         the assembler statements necessary to declare an uninitialised
17759         variable.
17760         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
17761         variable.
17762         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
17763         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
17764         section.
17765         (assemble_variable): Use asm_emit_uninitialised to emit an
17766         uninitialised variable.
17767
17768 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
17769
17770         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
17771         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
17772         <geoffk@cygnus.com>.
17773
17774 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17775
17776         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
17777         * c-common.h (builtin_function): Don't declare.
17778
17779         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
17780         DECL_BUILT_IN.
17781         (pushdecl): Likewise.
17782         (finish_decl): Likewise.
17783         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
17784         int.  All callers changed.
17785         Set the builtin's DECL_BUILT_IN_CLASS.
17786         * tree.h (enum built_in_class): New.
17787         (enum built_in_function): Delete NOT_BUILT_IN.
17788         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
17789         in a union.
17790         (DECL_SET_FUNCTION_CODE): Likewise.
17791         (DECL_BUILT_IN_CLASS): New macro.
17792         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
17793         (struct tree_decl): Split builtin function code field into a
17794         struct.
17795         (builtin_function): Declare.
17796
17797 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
17798
17799         * optabs.c (init_traps): Fix typo in last change.
17800
17801 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
17802
17803         * toplev.c (rest_of_decl_compilation): Update comment.
17804
17805 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17806
17807         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
17808         in .sbss if appropriate.
17809         (EXTRA_SECTION_FUNCTIONS): Add sbss.
17810         (SBSS_SECTION_ASM_OP): New macro.
17811         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
17812         (EXTRA_SECTIONS): Add in_sbss.
17813         * config/mips/mips.h: Prototype sbss_section.
17814
17815 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
17816
17817         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
17818         to disappear.
17819
17820 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
17821
17822         * optabs.c (init_traps): Register trap_rtx as a GC root.
17823
17824 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17825
17826         * config/mips/mips.c (function_arg_pass_by_reference): Define
17827         unconditionally, since it's called unconditionally.
17828
17829 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17830
17831         * toplev.c (documented_lang_options): Add -fshort-wchar.
17832         * c-decl.c (c_decode_option): Likewise.
17833         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
17834         for wchar_t.
17835         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
17836         * gcc.c (default_compilers): If -fshort-wchar,
17837         override __WCHAR_TYPE__.
17838         * tm.texi (C Dialect Options): Add -fshort-wchar.
17839
17840         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
17841         symbol for a variable.
17842
17843         * cpplib.h (CPP_PREPROCESSED): New macro.
17844         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
17845         we're seeing this input for a second time.
17846
17847 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
17848
17849         * emit-rtl.c (init_emit_once): Initialize modes first.
17850
17851 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
17852
17853         * config/i386/i386.c (pic_label_name): Change to char pointer.
17854         (global_offset_table): New variable.
17855         (load_pic_register): Fill global_offset_table if it hasn't
17856         already been done.  Allocate pic_label_name dynamically.
17857         * ggc.h (empty_string): New variable.
17858         * ggc-simple.c (empty_string): Likewise.
17859         (init_ggc): Allocate empty_string and add as root.
17860         * stmt.c (digit_strings): New variable.
17861         (init_stmt): Add last_block_end_note as root.  Allocate and
17862         initialize digit_strings.
17863         (expand_asm_operands): Use empty_string instead of string
17864         constant.  Use digit_strings instead of string constants.
17865         * profile.c (init_arc_profiler): Allocate string with
17866         ggc_alloc_string instead of xmalloc.
17867         (output_func_start_profiler): Likewise.
17868         * c-typeck.c (digest_init): Check if init is error_mark_node.
17869
17870 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
17871                           Richard Henderson  <rth@cygnus.com>
17872
17873         * ggc-page.c: New file.
17874         * Makefile.in (ggc-page.o): New.
17875
17876 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
17877
17878         * invoke.texi: Document -fdelete-null-pointer-checks
17879         * toplev.c (flag_delete_null_pointer_checks): New.
17880         (f_options): Add entry for -fdelete-null-pointer-checks.
17881         (rest_of_compilation): Conditionalize null pointer check
17882         elimination on flag_delete_null_pointer_checks.
17883         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17884
17885 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
17886
17887         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17888         copyright notice and special exception to GPL.
17889
17890 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17891
17892         * abi64.h (mips_function_value): Add prototype arguments.
17893
17894         * mips-protos.h: New file with mips prototypes.
17895
17896         * mips.c: Include "tm_p.h".
17897         (mktemp, lookup_name): Add prototype arguments.
17898         (extern_list, string_constant, mips_fill_delay_slot,
17899         mips_output_external, mips_output_external_libcall,
17900         mips_output_filename, mips_declare_object, function_prologue,
17901         mips_expand_prologue, function_epilogue, mips16_constant,
17902         build_mips16_function_stub, mips_output_conditional_branch):
17903         Constify a char*.
17904         (mips_va_start): Remove unused variable `u'.
17905         (mips_va_arg): Cast value to unsigned when comparing against one.
17906         (trace): Delete.
17907         (save_restore_insns, mips_expand_prologue): Add missing arg in
17908         call to `large_int'.
17909
17910         * mips.h: Move prototypes to mips-protos.h.
17911         (data_section, memory_address_p, rdata_section,
17912         readonly_data_section, simple_epilogue_p, text_section): Delete
17913         prototypes delcared elsewhere.
17914         (mips_epilogue_delay_slots, print_options): Delete unused decls.
17915         (trace): Delete.
17916         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17917
17918         * mips.md: Delete extra args in call to `mips_move_2words'.
17919
17920         * xm-iris6.h (alloca): Add prototype argument.
17921
17922         * genpeep.c: Include "tm_p.h" in generated output file.
17923
17924 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17925
17926         * basic-block.h (find_edge_index): Change parameters.
17927         * flow.c (verify_edge_list): Pass basic_block parameters to
17928         find_edge_index instead of integers.
17929
17930 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
17931
17932         * combine.c (simplify_comparison): Use an unsigned shift to adjust
17933         the constant.
17934
17935 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
17936
17937         * gcc.1: Fix a formatting error.
17938
17939 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17940
17941         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17942         i786, mn10200, mn10300, pdp11, v850.
17943
17944 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
17945
17946         * libgcc2.c (num_digits): Add prototype with
17947         __attribute__((const)).
17948         (__terminate): Add prototype.
17949
17950 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
17951
17952         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17953
17954         * alpha/alpha.c (print_operand): Fix type of `code'.
17955         (alpha_output_filename): Constify.
17956         * alpha/alpha.h: Move all function declarations ...
17957         * alpha/alpha-protos.h: ... here.  New file.
17958         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17959         (SECTION_FUNCTION_TEMPLATE): Likewise.
17960
17961 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17962
17963         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17964         * expr.c (expand_expr): Likewise.
17965         (do_jump): Likewise.
17966         (do_store_flag): Pass ccp_store_flag to can_compare_p.
17967         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17968         accessor macros.
17969         (enum can_compare_purpose): New.
17970         (can_compare_p): Adjust prototype.
17971         (prepare_cmp_insn, prepare_operand): Declare.
17972         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17973         * optabs.c (cmp_available_p): Deleted.
17974         (expand_abs): Pass ccp_jump to can_compare_p.
17975         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
17976         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
17977         Call can_compare_p rather than cmp_available_p.
17978         (prepare_operand): No longer static.
17979         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17980         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17981         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17982         sequence to use emit_cmp_and_jump_insns.
17983         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17984
17985 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
17986
17987         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17988         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17989         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17990         (plus (reg) (const_int 0))
17991         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17992
17993 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
17994
17995         * rs6000.c (expand_block_move): DImode loads and stores require
17996         word-aligned displacements.  Increment address registers with
17997         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
17998
17999 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
18000
18001         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
18002         is no name for the base type, rather than segfault.  If we are
18003         writing out a complex integer type, use DW_ATE_lo_user.
18004
18005         * expr.c (emit_move_insn_1): If we are copying a complex that fits
18006         in one word or less (complex char, complex short, or on 64 bit
18007         systems complex float) to/from a hard register, copy it through
18008         memory instead of dying in gen_{real,imag}part.  If we have a
18009         short complex type, prevent inlining since it allocates stack
18010         memory.
18011
18012         * tree.c (build_complex_type): If we are writing dwarf2 output,
18013         generate a name for complex integer types.
18014
18015 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18016
18017         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
18018         * flow.c (remove_edge): Remove extra whitespace.
18019         (remove_fake_edges): Fix comment.
18020         (add_noreturn_fake_exit_edges): Use the correct name.
18021
18022 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
18023
18024         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
18025         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
18026         (clean): Depend on INTL_CLEAN.
18027         (maintainer-clean): Adjust.
18028
18029 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18030
18031         * configure.in (AC_PREREQ): Bump to 2.13.
18032         (AC_C_STRINGIZE): Call this instead of using a custom macro.
18033
18034         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
18035
18036         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
18037
18038         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
18039
18040         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
18041         (HAVE_STRINGIZE): Define.
18042
18043 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
18044
18045         * c-parse.in: save and restore warn_pointer_arith on __extension__
18046         along with pedantic.
18047         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
18048         Set the type of extension to itype rather than $<itype>1 kludge.
18049         * extend.texi (Alternate Keywords): Adjust documentation.
18050         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
18051
18052 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
18053
18054         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
18055         most assembler templates.
18056
18057         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
18058         FP loads and stores.
18059         (following_call): Always return zero for the PA8000.
18060         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
18061         FP loads and stores.
18062         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
18063
18064         * pa.h (BRANCH_COST): Define.
18065
18066         * pa.md (return, return_internal): Use bve for PA2.0.
18067
18068         * pa.md (fused multiply): Add variants which reduce height for the
18069         fused multiply, but which still generate 2 insns.
18070         (fnegabs): Similarly.
18071
18072         * pa.md (subsi3): Turn into an expander.  Create two anonymous
18073         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
18074         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
18075
18076         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
18077         for TARGET_PA_20.
18078         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
18079         code generation.
18080         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
18081         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
18082
18083         * regclass.c (init_regs): Add "top_of_stack" as a garbage
18084         collection root.
18085
18086         * flow.c (record_active_eh_regions): Terminate loop after finding
18087         the last insn in the last basic block.
18088
18089 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18090
18091         * config/c4x/c4x.md: Delete parallel instruction peepholes.
18092
18093 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18094
18095         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
18096
18097 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18098
18099         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
18100         splitting to not use output template.
18101
18102 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18103
18104         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
18105         * config/c4x/c4x.c (c4x_va_start): New function.
18106
18107 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
18108
18109         * genrecog.c (not_both_true): Handle correctly cases when called for
18110         tests with different positions in the insn.
18111
18112 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18113
18114         * machmode.h (HOST_PTR_PRINTF): Move from here ...
18115
18116         * system.h (HOST_PTR_PRINTF): ... to here.
18117
18118         * mips-tfile.c: Don't include machmode.h.
18119
18120         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
18121         (mips-tfile.o): Don't depend on machmode.h.
18122
18123 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18124
18125         * haifa-sched.c (sched_analyze): Rename local variable `region' to
18126         avoid conflicts with typedef struct `region' at the top level scope.
18127
18128 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
18129
18130         * basic-block.h (basic_block): Add eh_beg, eh_end.
18131         * flow.c (entry_exit_blocks): Update.
18132         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
18133         Call new functions.
18134         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
18135         lists.c functions to allocate insn lists.
18136         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
18137         edge creation ...
18138         (make_eh_edge): ... here.  New.
18139         (move_stray_eh_region_notes): New.
18140         (record_active_eh_regions): New.
18141         (delete_unreachable_blocks): Split out block merging ...
18142         (try_merge_blocks): ... here.  New.
18143         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
18144         Dump debugging data.
18145         (merge_blocks_move_successor_nojumps): Likewise.
18146         (merge_blocks): Use eh_beg+eh_end to validate block movement.
18147
18148 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18149
18150         * extend.texi (Bound member functions): Document unbound pmf
18151         conversion.
18152
18153 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18154
18155         * flow.c (split_edge): Handle insertion on a fallthrough edge which
18156         has the EXIT_BLOCK as a dest.
18157
18158 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18159
18160         * flow.c (remove_edge): New function to remove an edge from the
18161         flow graph.
18162         (remove_fake_successors): New function to remove fake successor edges.
18163         (remove_fake_edges): New function to remove all fake edges from the
18164         flow graph.
18165         (add_fake_exit_edges): New function to add fake edges from all blocks
18166         with no successors to the exit block.
18167         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
18168         prototypes for new functions.
18169
18170 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18171
18172         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
18173         Use Pmode to determine whether to output .dword or .word.
18174
18175 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
18176
18177         * tree.c (built_in_filename): New variable.
18178         (BUILT_IN_FILENAME): New macro.
18179         (init_tree_codes): Allocate built_in_filename.
18180         (make_node): Use built_in_filename instead of string constant.
18181
18182 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
18183
18184         * configure.in: Add fr30 target.
18185         * configure: Regenerate.
18186         * config/fr30: New directory.
18187         * config/fr30/crti.asm: New file.
18188         * config/fr30/fr30.c: New file.
18189         * config/fr30/crtn.asm: New file.
18190         * config/fr30/fr30.h: New file.
18191         * config/fr30/fr30.md: New file.
18192         * config/fr30/lib1funcs.asm: New file.
18193         * config/fr30/t-fr30: New file.
18194         * config/fr30/xm-fr30.h: New file.
18195
18196 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
18197
18198         * flow.c (merge_blocks_move_successor_nojumps): Delete the
18199         BARRIER at the end of the successor, not the BARRIER before
18200         the successor.
18201
18202         * pa.c (pa_add_gc_roots): Fix thinko in last change.
18203
18204 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
18205
18206         * stmt.c (any_pending_cleanups): Don't crash when
18207         current_function->stmt is unset.
18208
18209 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18210
18211         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
18212         other initializations that may use it for relative offsets.
18213
18214 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18215
18216         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
18217         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
18218         * config/i386/sol2dbg.h: Removed.
18219         * config/i386/sol2gas.h: New file, to enable gas work-around.
18220         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
18221         Don't use sol2dbg.h.
18222         * configure: Rebuilt.
18223
18224 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
18225
18226         * invoke.texi (-fthis-is-variable): Remove documentation.
18227
18228 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
18229
18230         * basic-block.h (compute_bb_for_insn): Declare.
18231         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
18232         to use; set size of basic_block_for_insn directly.
18233         (find_basic_blocks): Update.
18234
18235 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18236
18237         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
18238
18239 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18240
18241         * crtstuff.c (ON_EXIT): Delete empty macro definition.
18242         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
18243
18244 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
18245
18246         * c-decl.c (c_decode_option): Extend comment.
18247
18248 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
18249
18250         * toplev.c (progname): Make 'const char *'
18251         (flag_print_mem): Move out of main.
18252         (version_flag): Move out of main.
18253         (filename): Move out of main.
18254         (debug_args): Remove g prefix from options.
18255         (documented_lang_options): Remove cpplib specific options.
18256         (display_help): Add g prefix to debug options.
18257         (check_lang_option): Delete this function.
18258         (decode_d_option): New function: Decode -d... option.
18259         (decode_f_option): New function: Decode -f... option.
18260         (decode_W_option): New function: Decode -W... option.
18261         (decode_g_option): New function: Decode -g... option.
18262         (independent_decode_option): New function: Decode a language
18263         independent command line option.
18264         (main): Invoke lang_decode_option and then
18265         independent_decode_option on each command line option in
18266         turn.
18267
18268 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
18269
18270         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
18271          * fold-const.c (fold_range_test): Do not try to fold the range
18272          test if the rhs or lhs has side effects.
18273
18274         * basic-block.h (compute_flow_dominators): Declare.
18275
18276         * gcse.c (alloc_code_hoist_mem): New function.
18277         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
18278         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
18279         (hoist_code, one_code_hoisting_pass): Likewise.
18280         (gcse_main): If optimizing for size, then hoist expressions
18281         computed in multiple dominated basic blocks.
18282
18283         * gcse.c (invalid_nonnull_info): New function.
18284         (delete_null_pointer_checks): Likewise.
18285         * rtl.h (delete_null_pointer_checks): Declare.
18286         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
18287
18288         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
18289         (merge-blocks_move_successor_nojumps): Likewise.
18290         (merge_blocks): Allow merging of some blocks, even if it requires
18291         physical movement of the blocks, but not if it requires new jumps.
18292
18293         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
18294         Callers and prototype changed.
18295         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
18296
18297 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18298
18299         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
18300         -YP when both -p and -pg are present.  From i386/sol2.h.
18301
18302 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18303
18304         * Makefile.in (distclean): Delete tm_p.h.
18305         * configure.in: Create a new file, "tm_p.h", from a list in
18306         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
18307         "i386/i386-protos.h".
18308
18309         * alias.c: Include "tm_p.h".
18310         * c-typeck.c: Likewise.
18311         * calls.c: Likewise.
18312         * cse.c: Likewise.
18313         * emit-rtl.c: Likewise.
18314         * explow.c: Likewise.
18315         * expmed.c: Likewise.
18316         * expr.c: Likewise.
18317         * final.c: Likewise.
18318         * flow.c: Likewise.
18319         * fold-const.c: Likewise.
18320         * function.c: Likewise.
18321         * gcse.c: Likewise.
18322         * global.c: Likewise.
18323         * haifa-sched.c: Likewise.
18324         * integrate.c: Likewise.
18325         * jump.c: Likewise.
18326         * local-alloc.c: Likewise.
18327         * loop.c: Likewise.
18328         * optabs.c: Likewise.
18329         * recog.c: Likewise.
18330         * reg-stack.c: Likewise.
18331         * regclass.c: Likewise.
18332         * regmove.c: Likewise.
18333         * reload.c: Likewise.
18334         * reload1.c: Likewise.
18335         * reorg.c: Likewise.
18336         * resource.c: Likewise.
18337         * stmt.c: Likewise.
18338         * stor-layout.c: Likewise.
18339         * toplev.c: Likewise.
18340         * tree.c: Likewise.
18341         * unroll.c: Likewise.
18342         * genattrtab.c (main): Make generated file include "tm_p.h".
18343         * genemit.c (main): Likewise.
18344         * genoutput.c (main): Likewise.
18345         * genrecog.c (main): Likewise.
18346
18347         * i386.h: Delete all prototypes.
18348         * i386.c: Include "tm_p.h".
18349         (ix86_attr_length_default): Call constant_call_address_operand
18350         with correct number of arguments.
18351         * i386-protos.h: New file.
18352         * i386.md (unnamed patterns): Call constant_call_address_operand
18353         with correct number of arguments.
18354         (exception_receiver): Call load_pic_register with correct number
18355         of arguments.
18356
18357 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
18358
18359         * c-pragma.c (mark_align_stack): Dereference the void* properly.
18360
18361 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
18362
18363         * rtl.h (insns_safe_to_move_p): New function.
18364         * loop.c (find_and_verify_loops): Use it.
18365         * rtlanal.c (insns_safe_to_move_p): Define it.
18366
18367 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
18368
18369         * c-pragma.c: Include ggc.h.
18370         * Makefile.in (c-pragma.o): Update.
18371
18372 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18373
18374         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
18375         (LIB_SPEC): Likewise.
18376         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
18377         Reindent -YP/-p/-pg.
18378         Copied from config/sparc/sol2.h.
18379
18380 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
18381
18382         * c-pragma.c (mark_align_stack): New.
18383         (init_pragma): New.
18384         * c-pragma.h (init_pragma): Declare it.
18385         * c-lex.c (init_parse): Call it.
18386
18387 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18388
18389         * configure.in: Pick up thread library on Solaris/x86 just
18390         like on Solaris/sparc.
18391         * configure: Rebuilt.
18392
18393 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
18394
18395         * rtl.h (global_rtx_index): New enum.
18396         (global_rtl): Change to array of rtx.
18397         (pc_rtx, cc0_rtx): Redefine accordingly.
18398         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
18399         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
18400         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
18401         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
18402         (const_int_rtx): Change to array of rtx.
18403         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
18404         accordingly.
18405         * emit-rtl.c (global_rtl): Change to array of rtx.
18406         (const_int_rtx): Change to aray of rtx.
18407         (gen_rtx_CONST_INT): Redefine accordingly.
18408         (init_emit_once): Allocate and initialize global_rtl.  Likewise
18409         for const_int_rtx.  Add both as GC roots.
18410         * genattrtab.c (global_rtl): Update declaration.
18411
18412 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
18413
18414         * Makefile (USER_H): Add iso646.h back.
18415
18416 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
18417
18418         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
18419         zapping the LOG_LINKS of sched_before_next_call.
18420
18421         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
18422         * pa.c (insn_refs_are_delayed): Renamed from
18423         insn_sets_and_refs_are_delayed.
18424
18425 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
18426
18427         * functiion.h (struct function): Add x_whole_function_mode_p.
18428         (retrofit_block): Declare.
18429         * function.c (retrofit_block): New function.
18430         (identify_blocks): Add assertions.  Allow an incomplete set of
18431         block notes if we're still generating code for the function.
18432         * integrate.c: Include loop.h.
18433         (expand_inline_function): Call find_loop_tree_blocks to map block
18434         notes to blocks when in whole-function mode.  Use retrofit_block
18435         to insert new BLOCKs for the inlined function, rather than
18436         insert_block.
18437         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
18438         * Makefile.in (integrate.o): Depend on loop.h.
18439
18440 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18441
18442         * tree.h (warn_about_unused_variables): Declare.
18443         * stmt.c (warn_about_unused_variables): New function, split out
18444         from ...
18445         (expand_end_bindings): Here.
18446
18447 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
18448
18449         * stmt.c (preserve_subexpressions_p): Don't crash when
18450         current_function->stmt is unset.
18451
18452 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
18453
18454         * stmt.c (expand_start_bindings): Allow callers to pass a flag
18455         indicating that no NOTE_INSN_BLOCK_BEG note is required.
18456         (expand_start_target_temps): Use it.
18457         * except.c (expand_eh_region_start_for_decl): Likewise.
18458         * expr.c (expand_expr): Likewise.
18459
18460 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18461
18462         * fold-const.c (operand_equal_p): Pay attention to side effects.
18463
18464 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
18465
18466         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
18467         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
18468
18469         * tlink.c (scan_linker_output): Look for keywords before accepting
18470         a mangled name in quotes.
18471
18472 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
18473
18474         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
18475         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
18476
18477 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
18478
18479         * alpha.md: Revert Thu Nov 26 change that came in through the
18480         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
18481         Avoid earlyclobber when possible.
18482
18483 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18484
18485         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
18486
18487         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
18488         Define HAVE_ON_EXIT.
18489
18490 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18491
18492         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
18493         CTYPE_CONV in all ctype macros.
18494
18495         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
18496         from system.h.
18497
18498         * cexp.y (initialize_random_junk): Likewise.
18499
18500         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
18501
18502         * i370.c (handle_pragma): Likewise.
18503
18504         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
18505
18506         * v850.c (override_options): Likewise.
18507
18508         * doprint.c (_doprnt): Likewise.
18509
18510         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
18511         Likewise.
18512
18513         * fixinc/server.c (load_data): Likewise.
18514
18515         * fold-const.c (real_hex_to_f): Likewise.
18516
18517         * genattr.c (write_upcase, gen_attr): Likewise.
18518
18519         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
18520         write_upcase): Likewise.
18521
18522         * genemit.c (print_code): Likewise.
18523
18524         * genopinit.c (gen_insn): Likewise.
18525
18526         * genpeep.c (print_code): Likewise.
18527
18528         * genrecog.c (print_code): Likewise.
18529
18530         * optabs.c (init_libfuncs): Likewise.
18531
18532 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
18533
18534         * haifa-sched.c (sched_analyze): Keep the list of notes organized
18535         in pairs.
18536         (reemit_notes): Likewise.
18537
18538 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
18539
18540         * ggc.h (ggc_root): Move to ggc-common.c.
18541         (roots): Remove.
18542         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
18543         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
18544         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
18545         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
18546         * ggc-common.c (ggc_root): Move from ggc.h.
18547         (roots): Declare, static.
18548         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
18549         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
18550         null or check/set mark bit.
18551         (ggc_mark_roots): New.
18552         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
18553
18554 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
18555
18556         * m32r.c: Include toplev.h.
18557         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
18558         (gen_compare): Rename swap_p to must_swap to match uses.
18559         Add default abort case.
18560         (m32r_output_function_epilogue): Remove unused variables.
18561         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
18562         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
18563         define to empty parameter list.  Update all uses.
18564         (predicate decls): Use enum machine_mode not int.
18565         * m32r.md (movsi): Call abort, not fatal_insn.
18566         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
18567
18568 1999-09-14  Andrew Haley  <aph@cygnus.com>
18569
18570         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
18571         use $0 instead of 0.
18572
18573 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18574
18575         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
18576         computation out of loop over hard regs.
18577
18578 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
18579
18580         * function.c (identify_blocks): Don't shadow a variable in an
18581         outer scope.
18582         * integrate.c (integrate_decl_tree): Don't use pushlevel,
18583         pushdecl, or poplevel to build up the new BLOCK tree.
18584         (expand_inline_function): Likewise.
18585         (integrate_parm_decls): Likewise.
18586
18587 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
18588
18589         * c-typeck.c (qualify_type): Merge qualifiers from both types.
18590
18591 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
18592
18593         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
18594         * invoke.texi: Document this change.
18595
18596 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
18597
18598         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
18599         Free the struct.
18600         (mark_emit_status): Renamed from mark_emit_state.
18601         * except.c (mark_eh_status): Renamed from mark_eh_state.
18602         Check not null before marking.
18603         (free_eh_status): New.
18604         * expr.c (mark_expr_status, free_expr_status): New.
18605         * function.c (free_machine_status): New.
18606         (free_after_parsing): New.
18607         (free_after_compilation): Move bits to free_after_parsing; call
18608         free_eh_status, free_expr_status; zero the marked members of the
18609         function state.
18610         (prepare_function_start): No can_garbage_collect.
18611         Call init_eh_for_function.
18612         (expand_dummy_function_end): Free up current_function state.
18613         (mark_function_status): Renamed from mark_function_state.
18614         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
18615         * function.h (struct function): No can_garbage_collect.
18616         (free_machine_status, free_after_parsing): Declare.
18617         (free_eh_status, free_expr_status): Declare.
18618         * ggc.h (mark_expr_status): Declare.
18619         * stmt.c (free_stmt_status): Free the struct.
18620         (mark_stmt_status): Renamed from mark_stmt_state.
18621         (init_stmt): Don't call init_eh.
18622         (init_stmt_for_function): Don't call init_eh_for_function.
18623         * toplev.c (compile_file): Call init_eh.
18624         (rest_of_compilation): Free basic block info before ggc_collect.
18625         Call free_after_parsing; conditionally call free_after_compilation.
18626         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
18627         Check not null before marking.
18628         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
18629
18630 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
18631
18632         * c-lex.c (yylex): Initialize warn.
18633
18634 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
18635
18636         * pa.c (emit_move_sequence): Properly set the mode of the scratch
18637         register when performing secondary reloads for the SAR register.
18638
18639 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
18640
18641         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
18642         (NOTE_BLOCK): New macro.
18643         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
18644         * function.h (identify_blocks): Change prototype.
18645         * function.c (identify_blocks): Simplify.
18646         (reorder_blocks): Likewise.
18647         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
18648         NOTE_INSN_BLOCK_{BEG,END}.
18649         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
18650         the list of saved notes if the note isn't a
18651         NOTE_INSN_BLOCK_{BEG,END}.
18652         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
18653         NOTE_BLOCK_NUMBER.
18654         (reemit_notes): Adjust recreation of notes to reflect new saved
18655         note structure.
18656         * print-rtl.c (print_rtx): Print the address of the BLOCK when
18657         printing a block note.
18658         * stmt.c (block_vector): Remove.
18659         (find_loop_tree_blocks): Simplify.
18660         (unroll_block_trees): Likewise.
18661         * tree.h (reorder_block): Change prototype.
18662
18663 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
18664
18665         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
18666         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
18667         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
18668         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
18669         (atexit, exit): Simplify.
18670         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
18671         * config/lots: Remove defns of HAVE_ATEXIT.
18672
18673 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
18674
18675         * calls.c (precompute_arguments): Fix typo in comment.
18676         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
18677         TARGET_EXPR.
18678
18679 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
18680
18681         * dsp16xx.c (override_options): Fix typos in GC root registration.
18682
18683 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
18684
18685         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
18686         from config/svr4.h.
18687         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
18688         (FUNCTION_PROFILER): Redefine appropriately for Linux.
18689         (CC1_SPEC): Likewise.
18690
18691 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18692
18693         * genattr.c (main): Add extern prototype.  Call return, not exit.
18694         * genattrtab.c (main): Likewise.
18695         * gencheck.c (main): Likewise.
18696         * gencodes.c (main): Likewise.
18697         * genconfig.c (main): Likewise.
18698         * genemit.c (main): Likewise.
18699         * genextract.c (main): Likewise.
18700         * genflags.c (main): Likewise.
18701         * gengenrtl.c (main): Likewise.
18702         * genopinit.c (main): Likewise.
18703         * genoutput.c (main): Likewise.
18704         * genpeep.c (main): Likewise.
18705         * genrecog.c (main): Likewise.
18706
18707         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
18708         * genattrtab.c (get_insn_name): Likewise.
18709         * gencodes.c (get_insn_name): Likewise.
18710         * genconfig.c (get_insn_name): Likewise.
18711         * genemit.c (get_insn_name): Likewise.
18712         * genextract.c (get_insn_name): Likewise.
18713         * genflags.c (get_insn_name): Likewise.
18714         * genopinit.c (get_insn_name): Likewise.
18715         * genpeep.c (get_insn_name): Likewise.
18716
18717         * gencheck.c (usage): Add static prototype.
18718         * genextract.c (print_path): Constify a char*.
18719         * genopinit.c (optabs): Likewise.
18720         * genoutput.c (operand_data, data, output_predicate_decls,
18721         compare_operands): Likewise.
18722         * genrecog.c (write_tree): Add default case in switch.
18723
18724 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18725
18726         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
18727
18728         * print-rtl.c (get_insn_name): Remove prototype.
18729
18730         * toplev.h (progname): Declare const.
18731
18732         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
18733         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
18734         dump_sched_info, dump_local_alloc, regset_release_memory,
18735         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
18736         error_with_file_and_line, error_with_decl, error_for_asm, error,
18737         fatal, warning_with_file_and_line, warning_with_decl, warning,
18738         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
18739         Remove redundant prototypes.
18740
18741         (notice, check_lang_option, report_file_and_line, vnotice,
18742         mark_file_stack): Add static prototype.
18743         (set_fatal_function): Add prototype.
18744         (vnotice, report_file_and_line, set_fatal_function,
18745         check_lang_option): Constify a char*.
18746         (main): Prototype.  Call return, not exit.
18747
18748 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18749
18750         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
18751
18752         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
18753
18754         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
18755
18756         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
18757
18758 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18759
18760         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
18761         behave as if it's zero in all cases.
18762         (expand_function_start): Adjust call to assign_parms.
18763         * tree.h (assign_parms): Adjust prototype.
18764         * objc/objc-act.c (hack_method_prototype): Adjust call to
18765         assign_parms.
18766
18767 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
18768
18769         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
18770         arg_pointer_rtx fixed if the argument pointer register is
18771         not fixed.
18772         (NONZERO_BASE_PLUS_P): Likewise.
18773
18774 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
18775
18776         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
18777         match_insn2 to match_insn.
18778         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
18779
18780 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
18781
18782         * Makefile.in (USER_H): Remove va-foo.h.
18783
18784         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
18785         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
18786         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
18787         va-spur.h,va-v850.h}: Remove.
18788
18789 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
18790
18791         * sparc/sparc.md (eligible_for_return_delay): New attribute.
18792         (in_return_delay): Use it instead of match_insn.
18793
18794 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18795
18796         * config/alpha/va_list.h (va-alpha.h): Do not include.
18797         (__gnuc_va_list): Typedef as in varargs.h.
18798
18799 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
18800
18801         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
18802         DECL_LIVE_RANGE_RTL.
18803
18804 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
18805
18806         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
18807         not NOTE_BLOCK_NUMBER.
18808         (expand_eh_region_end): Likewise.
18809         (find_exception_handler_labels): Likewise.
18810         (scan_region): Likewise.
18811         (exception_optimize): Likewise.
18812         (update_rethrow_references): Likewise.
18813         (set_insn_eh_region): Likewise.
18814         * final.c (final_scan_insn): Likewise.
18815         * flow.c (make_edges): Likewise.
18816         * integrate.c (expand_inline_function): Likewise.
18817         * print-rtl.c (print_rtx): Likewise.
18818
18819 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
18820
18821         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
18822         terms of builtin functions and types.
18823
18824         * mips.c (mips_build_va_list): New.
18825         (mips_va_start, mips_va_arg): New.
18826         * mips.h (BUILD_VA_LIST_TYPE): New.
18827         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18828
18829         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
18830         (sh_build_va_list, sh_va_start, sh_va_arg): New.
18831         * sh.h (BUILD_VA_LIST_TYPE): New.
18832         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18833
18834 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
18835
18836         * recog.h (struct recog_data): Make dup_num, operand_address_p,
18837         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
18838         (struct insn_data): Likewise with n_operands, n_dups,
18839         n_alternatives, output_format.
18840         * regclass.c (scan_one_insn): Cast n_operands to int before
18841         arithmetic inside comparison.
18842
18843 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
18844
18845         * toplev.c (compile_function): Unconditionally emit nop.
18846
18847 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18848
18849         * haifa-sched.c (actual_hazard): Move declaration of variable
18850         `this_cost' into the scope where it is used.
18851
18852 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18853
18854         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
18855         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
18856         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
18857
18858         * genrecog.c (make_insn_sequence): Call memset, not bzero.
18859
18860         * jump.c (find_insert_position): Don't declare or define unless
18861         !HAVE_conditional_arithmetic.
18862         (returnjump_p_1, delete_prior_computation): Add static prototypes.
18863
18864         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
18865
18866         * recog.c (offsettable_address_p): Prototype function pointer.
18867         (preprocess_constraints): Call memset, not bzero.
18868
18869         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
18870         (gcc_obstack_init): Don't declare.
18871         (fix_sizetype): Add static prototype.
18872         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
18873         (tree_cons): Call memset, not bzero.
18874
18875         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
18876         definition in macro ASM_WEAKEN_LABEL.
18877         (mark_const_hash_entry): Add static prototype.
18878
18879 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18880
18881         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18882
18883         * unroll.c (find_common_reg_term, subtract_reg_term,
18884         loop_find_equiv_value): Add static prototypes.
18885         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18886         (copy_loop_body): Remove unreachable break statement.
18887
18888         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18889
18890         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18891
18892 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18893
18894         Undo some changes from the gcc2 merge:
18895         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18896         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18897         pointers.
18898
18899         Undo this change:
18900         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
18901         * emit-rtl.c (gen_lowpart_common): Disable optimization of
18902         initialized float-int union if the value is a NaN.
18903
18904 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18905
18906         * gthr-win32.h: New file.
18907
18908         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18909         shared as a valid attribute.
18910         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18911         * extend.texi: Document `shared' variable attribute.
18912
18913 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
18914
18915         * configure.in: Handle --enable-threads on FreeBSD.
18916         * configure: Rebuit.
18917
18918 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18919
18920         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18921         thread support.
18922         * configure: Rebuilt.
18923
18924 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
18925                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18926                           Rosimildo DaSilva <rdasilva@connecttel.com>
18927
18928         * configure.in (m68k-*-rtemscoff*): Added.
18929         * configure.in (mips64orion-*-rtems*): Converted to ELF.
18930         * configure.in (sparc-*-rtemsaout*): Added as alias for old
18931         sparc-rtems configuration.
18932         * configure.in (sparc-*-rtemself*): Added.
18933         * configure.in (sparc-*-rtems*): Now ELF not a.out.
18934         * config/i386/rtems.h: Added comment.
18935         * config/sparc/rtemself.h: New file.
18936
18937         * configure.in (m68k-rtemself): Added.
18938         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18939         and DWARF_DEBUGGING_INFO.
18940         * config/m68k/crti.s: New file.
18941         * config/m68k/crtn.s: New file.
18942         * config/m68k/t-crtstuff: New file.
18943         * config/m68k/rtemself.h: New file.
18944
18945         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18946         global ctor/dtor and C++ exception handling.
18947         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18948         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18949         ENDFILE_SPEC.
18950         * config/i386/t-rtems-i386: New File.
18951
18952 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
18953
18954         * stmt.c (expand_end_case): Return right away if the case stack is
18955         empty.
18956
18957 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
18958
18959         * Makefile.in (version.c): Remove rule incorrectly brought in from
18960         the gcc2 merge.
18961
18962 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
18963
18964         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
18965         * msdos/top.sed:  Take into account a prepended $(SHELL) to
18966         move-if-change.
18967         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
18968
18969         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18970
18971 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18972
18973         * regmove.c (fixup_match_1): Don't change an unchanging register.
18974         (stable_but_for_p): Renamed to:
18975         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
18976         Changed all callers.
18977
18978 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
18979
18980         * loop.c (strength_reduce): Don't call reg_used_between_p if the
18981         insn from BL2 is after the insn from BL.
18982
18983 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
18984
18985         * recog.h (INSN_OUTPUT_FORMAT_*): New.
18986         (struct insn_data): Merge `template' and `outfun' into `output'.
18987         Add `output_format'.
18988         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18989         (struct data): Remove `outfun'; add `output_format'.
18990         (name_for_index): Remove declaration.
18991         (output_insn_data): Handle output formats.
18992         (process_template): Emit the bare array for @.
18993         (gen_expand, gen_split): Set output_format to NONE.
18994         * output.h (get_insn_template): Declare.
18995         * final.c (get_insn_template): New.
18996         (final_scan_insn): Use it.
18997         * toplev.c (compile_file): Likewise.
18998
18999         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19000         * i860/i860.c (output_delayed_branch): Likewise.
19001         (output_delay_insn): Likewise.
19002
19003 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19004
19005         * rtl.c (obstack_alloc_rtx): Removed.
19006
19007 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
19008
19009         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
19010
19011 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
19012
19013         * i386.c (call_insn_operand): Reject const_int.
19014         (expander_call_insn_operand): Use call_insn_operand.
19015
19016 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19017
19018         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
19019
19020 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
19021
19022         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
19023         Use DImode operation.
19024
19025 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
19026
19027         * gcc.c: Include sys/resource.h.
19028         (report_times): New flag.
19029         (execute):  If report_times is set, calculate and report the
19030         CPU time consumed by each subprocess.
19031
19032         (rus, prus): New globals.
19033         (option_map): Add --time.
19034         (display_help): Document -time.
19035         (process_command): Set report_times if -time is given.
19036         Turn off -pipe if -time is given.
19037
19038         * invoke.texi: Document new option -time.
19039
19040         * configure.in: Check for getrusage.  Check if we have to
19041         prototype getrusage.
19042         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
19043         * configure: Regenerate.
19044         * config.in: Regenerate.
19045
19046 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
19047
19048         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
19049         fields.
19050
19051 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
19052
19053         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
19054         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
19055         (nan): Return _thenan_sf or _thenan_df as appropriate.
19056         (L_thenan_sf): Define _thenan_sf.
19057         (L_thenan_df): Define _thenan_df.
19058
19059         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
19060         (DPBIT_FUNCS): Add _thenan_df.
19061
19062 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
19063
19064         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
19065         TYPE_SIZE_UNIT.
19066
19067 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19068
19069         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
19070
19071         * gcc.h: New file.
19072         (lang_specific_driver): Don't take a function pointer parameter.
19073         All callers changed.
19074
19075         * gcc.c: Include gcc.h.
19076         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
19077         lang_specific_extra_outfiles, fatal): Don't declare.
19078         (multilib_defaults_raw): Constify.
19079         (read_specs): Call memset, rather than bzero.
19080         (main): Call return, not exit.
19081         (lookup_compiler): Call memcpy, not bcopy.
19082         (fatal): Make extern.
19083
19084         * cppspec.c: Include gcc.h.
19085         (lang_specific_driver): Initialize variable `quote'.  Constify a
19086         char*.  All calls to the function pointer parameter now
19087         explicitly call `fatal'.
19088
19089         * gccspec.c (lang_specific_driver): Include gcc.h.
19090
19091 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
19092
19093         * arm.c (note_invalid_constants): Use recog_data.operand_type
19094         for recog_op_type.
19095
19096 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19097
19098         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
19099         Declare.
19100
19101         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
19102         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19103         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19104         reload_secondary_in_reload, reload_secondary_out_reload,
19105         reload_secondary_in_icode, reload_secondary_out_icode,
19106         reload_reg_rtx, reload_when_needed): Delete declarations.
19107         (struct reload): New structure.
19108         (rld): Declare new array.
19109         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
19110         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19111         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19112         reload_secondary_in_reload, reload_secondary_out_reload,
19113         reload_secondary_in_icode, reload_secondary_out_icode,
19114         reload_reg_rtx, reload_when_needed): Delete definitions.
19115         (rld): New array.
19116         (whole file): Replace uses of the deleted arrays with uses of rld.
19117         * reload1.c (whole file): Replace uses of the deleted arrays with
19118         uses of rld.
19119         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
19120         explicit loops, not with bcopy.
19121
19122 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
19123
19124         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
19125         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
19126         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
19127         insn_name): Delete and consolidate into new structures.
19128         (insn_operand_predicate_fn): New.
19129         (insn_output_fn): New.
19130         (insn_gen_fn): New.
19131         (struct insn_operand_data): New.
19132         (struct insn_data): New.
19133         (insn_data): New.
19134         (OUT_FCN): Update for insn_data change.
19135         * builtins.c (expand_builtin_strlen): Likewise.
19136         (expand_builtin_memcmp): Likewise.
19137         * combine.c (make_extraction, simplify_comparison): Likewise.
19138         * cse.c (canon_reg, cse_insn): Likewise.
19139         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
19140         * expmed.c (store_bit_field, extract_bit_field): Likewise.
19141         (emit_store_flag): Likewise.
19142         * expr.c (convert_move, emit_block_move): Likewise.
19143         (clear_storage, emit_push_insn, expand_increment): Likewise.
19144         (do_store_flag): Likewise.
19145         * expr.h (GEN_FCN): Likewise.
19146         (insn_gen_function): Die.
19147         * final.c (final_scan_insn): Update for insn_data change.
19148         (output_asm_name): Likewise.
19149         * function.c (fixup_var_refs_1): Likewise.
19150         * loop.c (check_dbra_loop): Likewise.
19151         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
19152         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
19153         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
19154         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
19155         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
19156         * regmove.c (gen_add3_insn): Likewise.
19157         * reload.c (push_secondary_reload, combine_reloads): Likewise.
19158         (find_reloads, find_reloads_address_1): Likewise.
19159         (debug_reload_to_stream): Likewise.
19160         * reload1.c (emit_reload_insns, gen_reload): Likewise.
19161         * stmt.c (expand_end_case): Likewise.
19162         * toplev.c (compile_file): Likewise.
19163
19164         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19165         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19166
19167         * print-rtl.c (insn_name_ptr): Remove declaration.
19168         (get_insn_name): Declare.
19169         (print_rtx): Use it.
19170         * genoutput.c (insn_name_ptr): Remove.
19171         (next_operand_number): New.
19172         (struct operand_data): New.
19173         (null_operand, odata, odata_end): New.
19174         (struct data): Use struct operand_data.
19175         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
19176         (get_insn_name): Renamed from name_for_index.
19177         (output_prologue): Define NO_MD_PROTOTYPES.
19178         (output_predicate_decls): Break out from output_epilogue.
19179         Iterate over the operands list.
19180         (output_operand_data): Break out from output_epilogue.  Emit
19181         just the operands list.
19182         (output_insn_data): Break out from output_epilogue.  Emit just
19183         the insn data.
19184         (output_epilogue): Remove.
19185         (output_get_insn_name): New.
19186         (constraints, op_n_alternatives, predicates, address_p): Die.
19187         (modes, strict_low, seen): Die.
19188         (scan_operands): Take new param `d' instead of writing to
19189         seven global variables.
19190         (compare_operands): New.
19191         (place_operands): New.
19192         (validate_insn_alternatives): Update for struct data change.
19193         (gen_insn): Don't zero or copy 7 global arrays.  Update for
19194         scan_operands; call place_operands.
19195         (gen_peephole, gen_expand, gen_split): Likewise.
19196         (main): Update for new output routines.
19197
19198         * genattr.c (insn_name_ptr): Remove.
19199         (get_insn_name): New function.
19200         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
19201         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
19202         * genrecog.c: Likewise.
19203
19204         * alpha.md (adddi3): Make `pattern' array static.
19205
19206 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19207
19208         * config/c4x/c4x.h (c4x_rpts_cycles_string,
19209         c4x_cpu_version_string): Constify char *.
19210         * config/c4x/c4x.c (c4x_rpts_cycles_string,
19211         c4x_cpu_version_string): Likewise.
19212
19213 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
19214
19215         * tree.c (save_tree_status): Revert 10 Sep change.
19216         (restore_tree_status): Likewise.  Call obstack_free with NULL
19217         before freeing the obstack proper.
19218
19219 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
19220
19221         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
19222
19223         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
19224         surrounding context.
19225
19226 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
19227
19228         * tree.c (type_hash_canon): Put all types in the hash-table, when
19229         GC'ing.
19230
19231 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
19232
19233         * recog.h (struct recog_data, recog_data): New.
19234         (recog_foo variables): Kill.
19235         * recog.c (recog_operand, recog_operand_loc): Kill.
19236         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
19237         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
19238         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
19239         (recog_data): Define.
19240         (extract_insn): Update all recog_foo references to use recog_data.
19241         (preprocess_constraints, constrain_operands): Likewise.
19242         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
19243         * genattrtab.c (main): Likewise.
19244         * genextract.c (main): Likewise.
19245         * genoutput.c: Likewise.
19246         * genrecog.c (write_subroutine, main): Likewise.
19247         * local-alloc.c (block_alloc): Likewise.
19248         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
19249         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
19250         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
19251         * reload.c (find_reloads, find_reloads_toplev): Likewise.
19252         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
19253         (reload_cse_simplify_operands): Likewise.
19254
19255         * arc/arc.c (arc_final_prescan_insn): Likewise.
19256         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
19257         * h8300/h8300.c (notice_update_cc): Likewise.
19258         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
19259         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19260         * mn10200/mn10200.c (notice_update_cc): Likewise.
19261         * mn10300/mn10300.c (notice_update_cc): Likewise.
19262         * romp/romp.c (update_cc): Likewise.
19263         * sparc/sparc.c (check_pic): Likewise.
19264         * v850/v850.c (notice_update_cc): Likewise.
19265
19266         * genemit.c (main): Don't declare recog_operand.
19267
19268 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
19269
19270         * ggc.h (rtvec_def): Forward declare.
19271         (tree_node): Likewise.
19272         (ggc_root): Define.
19273         (roots): Declare.
19274         (ggc_set_mark_rtx): Add prototype.
19275         (ggc_set_mark_rtvec): Likewise.
19276         (ggc_set_mark_tree): Likewise.
19277         * ggc-simple.c (ggc_root): Don't define.
19278         (roots): Don't declare.
19279         (ggc_mark_rtx): Remove.
19280         (ggc_mark_rtvec): Likewise.
19281         (ggc_mark_tree): Likewise.
19282         (ggc_mark_varray): Likewise.
19283         (ggc_mark_tree_hash_table_entry): Likewise.
19284         (ggc_mark_tree_hash_table): Likewise.
19285         (ggc_set_mart_rtx): New function.
19286         (ggc_set_mark_rtvec): Likewise.
19287         (ggc_set_mark_tree): Likewise.
19288         (ggc_add_root): Remove.
19289         (ggc_add_rtx_root): Likewise.
19290         (ggc_remove_tree_root): Likewise.
19291         (ggc_add_string_root): Likewise.
19292         (ggc_add_tree_varray_root): Likewise.
19293         (ggc_add_tree_hash_table_root): Likewise.
19294         (ggc_del_root): Likewise.
19295         (ggc_mark_rtx_ptr): Likewise.
19296         (ggc_mark_tree_ptr): Likewise.
19297         (ggc_mark_string_ptr): Likewise.
19298         (ggc_mark_tree_varray_ptr): Likewise.
19299         (ggc_mark_tree_hash_table_ptr): Likewise.
19300         * ggc-common.c: New file.
19301         * Makefile.in (OBJS): Add ggc-common.o.
19302         (ggc-common.o): List dependencies.
19303
19304 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
19305
19306         * cppalloc.c (xstrdup): Use memcpy.
19307         * cpperror.c (cpp_print_containing_files): Don't use
19308         cpp_notice.
19309         * cpplib.c (conditional_skip): Set temp->lineno.
19310         (do_endif): Make error message less obscure.
19311         (if_directive_name): New function.
19312         (cpp_get_token [case EOF]): Unwind the if stack and generate
19313         error messages for each unterminated conditional in this file.
19314         (parse_string):  Do not behave differently if -traditional.
19315
19316 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
19317
19318         * builtins.c (expand_builtin_va_arg): Cope with an array-type
19319         va_list decomposing to pointer-type.
19320         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
19321         (rs6000_va_arg): Likewise.
19322
19323 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
19324
19325         * except.c (start_dynamic_handler): Compute size using
19326         STACK_SAVEAREA_MODE.
19327
19328 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19329
19330         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
19331         include directory headers.  Don't define strrchr.  Don't provide
19332         my_* replacement functions.  Prefer PTR over `pointer_type'.
19333         Don't prototype system functions.  Don't redefine getopt.
19334
19335         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
19336         safe_read, safe_write, save_pointers, restore_pointers,
19337         is_id_char, in_system_include_dir, directory_specified_p,
19338         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
19339         find_corresponding_lparen, referenced_file_is_newer,
19340         save_def_or_dec, munge_compile_params, gen_aux_info_file,
19341         process_aux_info_file, identify_lineno, check_source,
19342         seek_to_line, forward_to_next_token_char, output_bytes,
19343         output_string, output_up_to, other_variable_style_function,
19344         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
19345         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
19346         find_static_definition, connect_defs_and_decs, add_local_decl,
19347         add_global_decls, needs_to_be_converted, visit_each_hash_node,
19348         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
19349         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
19350         scan_for_missed_items, edit_file, string_list_cons): Add static
19351         prototypes.
19352         (standard_exec_prefix, target_machine, target_version,
19353         default_syscalls_dir, string_list, string_list_cons, find_file,
19354         do_cleaning): Constify a char*.
19355         (safe_read, safe_write): Use PTR, not a char*.
19356         (is_id_char): Take an int, not a char.
19357         (main): Add prototype.  Call return, not exit.
19358
19359 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
19360
19361         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
19362         when comparing types.
19363
19364 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
19365
19366         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
19367         (strength_reduce): Release the varrays from the no-bivs early exit.
19368
19369         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
19370         the loop over the registers.
19371
19372         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
19373         for a new obstack.
19374         (restore_tree_status): Check that instead when freeing the obstack.
19375
19376 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
19377
19378         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
19379         as pointers.
19380
19381 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19382
19383         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
19384         operand size modifiers.
19385
19386 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19387
19388         * c-common.c (c_common_nodes_and_builtins): Don't build
19389         va_list_type_node.
19390         * c-common.h (enum c_tree_index and related accesor macros): Remove
19391         everything now declared in tree.h.
19392         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19393         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
19394         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
19395         (error_mark_node, void_type_node, char_type_node, integer_type_node,
19396         unsigned_type_node, ptr_type_node, va_list_type_node,
19397         integer_zero_node, null_pointer_node, integer_one_node): Delete.
19398         (init_decl_processing): Call build_common_tree_nodes and
19399         build_common_tree_nodes_2 instead of building their nodes here.
19400         Don't add roots for these nodes.
19401         * stor-layout.c (size_zero_node, size_one_node): Delete.
19402         (set_sizetype): Make a new node for bitsizetype each time.
19403         * tree.c (global_trees): New variable.
19404         (init_obstacks): Add a gc root for it.
19405         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19406         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
19407         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
19408         (build_common_tree_nodes): New function.
19409         (fix_sizetype): New function.
19410         (build_common_tree_nodes_2): New function.
19411         * tree.h (enum tree_index): New.
19412         (global_trees): Declare.
19413         Add accessor macros for all nodes now moved to global_trees.
19414         Delete their declarations.
19415
19416 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
19417
19418         * c-decl.c (finish_function): When processing a nested function,
19419         push and pop GC context around rest_of_compilation.
19420
19421 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
19422
19423         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
19424         Default ix86_arch to PROCESSOR_I386.
19425         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
19426         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
19427         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
19428         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
19429         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
19430         (EXTRA_SPECS): Remove deleted specs.
19431
19432 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
19433
19434         * function.c (assign_stack_local_1): Allocate from
19435         function->x_frame_offset, not frame_offset.
19436
19437 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
19438
19439         * ggc.h (lang_cleanup_tree): Remove.
19440         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
19441         * ggc-callbacks.c (lang_cleanup_tree): Remove.
19442
19443         * c-decl.c (finish_struct): Use ggc_alloc to allocate
19444         TYPE_LANG_SPECIFIC when garbage collecting.
19445         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
19446         (lang_cleanup_tree): Remove.
19447
19448 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19449
19450         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
19451         * crtstuff.c: Not here.
19452         * dwarf2out.c: Or here.
19453         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
19454         info.
19455
19456 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
19457
19458         * function.h (free_after_compilation): Remove decl parameter.
19459         (free_varasm_status0: Likewise.
19460         (free_emit_status): Likewise.
19461         (free_stmt_status): Likewise.
19462         (free_after_compilation): Likewise.
19463         (init_lang_status): New variable.
19464         (free_lang_status): Likewise.
19465         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
19466         * function.c (init_lang_status): New variable.
19467         (free_lang_status): Likewise.
19468         (push_function_context_to): Don't set function::decl here.
19469         (free_after_copmilation): Make decl parameter implicit.  Call
19470         free_lang_status if defined.
19471         (prepare_function_start): Call init_lang_status if defined.
19472         (init_function_start): Set function::decl here.
19473         * profile.c (output_func_start_profiler): Don't call pushdecl
19474         until we've actually started the function.
19475         * stmt.c (free_stmt_status): Make decl parameter implicit.
19476         * toplev.c (rest_of_compilation): Don't pass decl to
19477         free_after_compilation.
19478         * varasm.c (free_varasm_status): Likewise.
19479
19480 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19481
19482         * except.c (call_get_eh_context): Add root when allocating static
19483         tree variable.
19484
19485 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
19486
19487         * arm.c: Include "ggc.h".
19488         (arm_add_gc_roots): New function.
19489         (arm_override_options): Call it.
19490         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
19491
19492         * arm.md (define_asm_attributes): Add a pool_range attribute.
19493
19494 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
19495
19496         * extend.texi (Volatiles): New node.
19497
19498 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
19499
19500         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
19501         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
19502         (struct ggc_any): Replace `mark' with `magic_mark'.
19503         (ggc_alloc_string): Use memcpy, not bcopy.
19504         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
19505         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
19506         (ggc_free_any): New.
19507         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
19508         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
19509         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
19510         Use IS_MARKED. Use ggc_free_any.
19511
19512 1999-09-09  Scott Bambrough <scottb@netwinder.org>
19513
19514         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
19515
19516 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
19517
19518         * toplev.c (main): Always init_ggc.
19519
19520 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
19521
19522         * except.c (find_all_handler_type_matches): Free the list if
19523         we found no matches.
19524
19525         * combine.c (SUBST): Break out to a real function do_SUBST.
19526         (SUBST_INT): Likewise.
19527         * gcse.c (free_pre_mem): Free `temp_bitmap'.
19528         (pre_insert): Free `inserted'.
19529         * loop.c (basic_induction_var): Always set `location'.
19530
19531         * function.c (expand_function_end): Add initial_trampoline as a root.
19532         * rtl.h (init_varasm_once): Declare.
19533         * toplev.c (compile_file): Call it.
19534         * ggc-simple.c (ggc_mark_string_ptr): New.
19535         (ggc_add_string_root): New.
19536         (ggc_collect): Disable collection avoidance temporarily.
19537         * ggc.h (ggc_add_string_root): Declare.
19538         * except.c (create_rethrow_ref): Use ggc_alloc_string.
19539         * optabs.c (init_libfuncs): Likewise.
19540         * varasm.c (named_section): Use ggc_alloc_string.
19541         (make_function_rtl): Likewise.
19542         (make_decl_rtl): Likewise.
19543         (assemble_static_space): Likewise.
19544         (assemble_trampoline_template): Likewise.
19545         (output_constant_def): Likewise.
19546         (force_const_mem): Likewise.
19547         (mark_const_hash_entry): New.
19548         (mark_pool_sym_hash_table): New.
19549         (mark_varasm_state): Use it.
19550         (init_varasm_once): New.
19551
19552         * expr.h (init_one_libfunc): Declare.
19553         * optabs.c (init_one_libfunc): New.
19554         (init_optabs): Use it.
19555         * config/gofast.h: Likewise.
19556         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
19557         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
19558
19559 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19560
19561         * Makefile.in (cppexp.o): Depend on cpphash.h.
19562         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
19563         Include cpphash.h.
19564         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
19565         * cpplib.c (do_define): Generalise to handle poisoned definitions,
19566         redefining poisoned identifiers, etc.
19567         (do_undef): Don't allow poisoned identifiers to be undefined.
19568         (do_pragma): Add #pragma poison.
19569         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19570
19571         * cccp.c: Add T_POISON node type.
19572         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
19573         poisoned xxx.
19574         (do_define): Generalise to handle poisoned definitions,
19575         redefining poisoned identifiers, etc.
19576         (do_undef): Don't allow poisoned identifiers to be undefined.
19577         (do_pragma): Add #pragma poison.
19578         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19579
19580         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
19581         * c-pragma.h: Add ps_poison state.  We now always have generic
19582         pragmas.
19583
19584 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
19585
19586         * ggc.h (ggc_alloc): New function.
19587         (ggc_mark): Likewise.
19588         * ggc-simple.c (ggc_any): New structure.
19589         (ggc_status): Add anys.
19590         (n_anys_collected): New variable.
19591         (ggc_alloc): Define.
19592         (ggc_mark): Likewise.
19593         (ggc_collect): Collect the anys.
19594
19595 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19596
19597         * c-decl.c (mark_binding_level): Make static to match prototype.
19598
19599 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
19600
19601         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
19602
19603 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
19604
19605         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
19606         will use into account.  Expand the max width to 5.
19607         * rtl.c: Likewise.
19608
19609 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
19610
19611         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
19612         for the rtx length.
19613
19614 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
19615
19616         * alpha.md (call value patterns): Remove the result predicates.
19617
19618 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
19619
19620         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
19621         last change.
19622
19623 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19624
19625         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
19626         changed from extern char *, to extern PTR.  Also fix typo in
19627         NEED_DECLARATION_REALLOC test.
19628
19629         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
19630
19631 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19632
19633         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
19634         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
19635         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
19636         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
19637
19638         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
19639
19640         * cccp.c (pcfinclude): Likewise.
19641
19642         * global.c (allocno_compare): Likewise.
19643
19644         * haifa-sched.c (rank_for_schedule): Likewise.
19645
19646         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
19647
19648         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
19649
19650         * stupid.c (stupid_reg_compare): Likewise.
19651
19652         * tree.c (_obstack_allocated_p): Likewise.
19653
19654         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
19655
19656 1999-09-08  Bruce Korb  autogen@linuxbox.com
19657
19658         * Makefile.in: Give the hapless gperf user a hint about
19659         why "gperf -F" fails.
19660
19661 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
19662
19663         * lists.c: Include ggc.h.
19664         (zap_lists): New.
19665         (init_EXPR_INSN_LIST_cache): Install it.
19666
19667         * ggc-simple.c (init_ggc): Absorb the old init.
19668         (ggc_push_context): Use xcalloc.
19669         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
19670         (ggc_collect): Add [rvts] tags to the collection stats.
19671
19672 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
19673
19674         * cccp.c (main): Fix handling of -include and -imacros options.
19675
19676 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
19677
19678         * cpplib.c (cpp_push_buffer): Fix order of arguments.
19679
19680 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19681
19682         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
19683         genrtl.c.
19684
19685 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19686
19687         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
19688         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
19689         and SET_DEST. Update comment.
19690
19691 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19692
19693         * config/c4x/c4x.c: Include ggc.h.
19694         (c4x_add_gc_roots): New function.
19695         (c4x_override_options): Call c4x_add_gc_roots.
19696
19697 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
19698
19699         * defaults.h (TARGET_ESC): Move ...
19700         * system.h: ... here, where Linas had it in the first place.  Silly me.
19701
19702 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
19703
19704         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
19705         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
19706         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
19707         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
19708         * defaults.h (TARGET_ESC): Add default.
19709
19710 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
19711
19712         * configure.in: add i370-*-openedition, i370-*-mvs and
19713         i370-*-linux targets
19714
19715 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
19716
19717         * dsp16xxx.c: Include ggc.h
19718         (override_options): Mark GC roots.
19719         * mn10200.c: Include ggc.h.
19720         (asm_file_start): Mark GC roots.
19721         * tahoe.c: Include ggc.h.
19722         (extensible_operand): Mark GC roots.
19723
19724 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
19725
19726         * README: Add section discussing status of ELF ABI.
19727         * i370.c: Fix misc spelling mistakes.
19728         (i370_label_scan): Updated notes, exception handling.
19729         (i370_function_prolog): Simplify ELF stack handling.
19730         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
19731         (STACK_GROWS_DOWNWARD): ELF stack grows down.
19732         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
19733         * i370.md: (movdi): Add notes.
19734         (floatsidf2): Use stack not rtca for scratch float area.
19735         (iorsi3): Correct operand constraints.
19736         * x-oe: Restore TAROUTOPTS which are used by pax.
19737
19738 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
19739
19740         * rs6000.c: Include ggc.h.
19741         (rs6000_add_gc_roots): New function.
19742         (override_options): Call it.
19743
19744 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
19745
19746         * alpha.h (alpha_compare): New.
19747         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
19748         * alpha.c: Likewise for the definitions.
19749         (alpha_emit_conditional_branch): Update for alpha_compare.
19750         (alpha_emit_conditional_move): Likewise.
19751         * alpha.md (cmpdf, cmpdi): Likewise.
19752         (setcc patterns): Likewise.  Zero alpha_compare after use.
19753         (sne): Optimize (x != 0) into (0U < x).
19754
19755 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
19756
19757         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
19758         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
19759         (INIT_EXPANDERS): Remove.
19760         * alpha.c: Include ggc.h.
19761         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
19762         (alpha_init_machine_status, alpha_mark_machine_status): New.
19763         (override_options): Install them.
19764         (struct machine_function): Moved to alpha.h.
19765         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
19766         (alpha_init_expanders): Remove.
19767         (alpha_return_addr): Adjust to use current_function->machine.
19768         (alpha_ra_ever_killed): Likewise.
19769         (alpha_expand_epilogue): Likewise.
19770         * alpha.md (eh_epilogue): Likewise.
19771
19772 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
19773                           Melissa O'Neill  <oneill@cs.sfu.ca>
19774                           Geoffrey Keating  <geoffk@cygnus.com>
19775
19776         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
19777         call-used registers (call-saved registers must still be contiguous
19778         and end with r31, of course).
19779
19780 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
19781
19782         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
19783         (self_promoting_type_p): Delete.
19784         (self_promoting_args_p): Move ...
19785         * c-common.c: ... here.
19786         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
19787         (simple_type_promotes_to): New.
19788         * builtins.c (lang_type_promotes_to): New.
19789         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
19790         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
19791         * c-common.h: ... here.
19792         (self_promoting_args_p, simple_type_promotes_to): Declare.
19793         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
19794         (grokdeclarator): Likewise.
19795         * tree.h (lang_type_promotes_to): Declare.
19796
19797 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
19798
19799         Add some machine-dependent GC roots.
19800         * sparc.c: Include ggc.h.
19801         (sparc_add_gc_roots): New function.
19802         (mark_ultrasparc_pipeline_state): Likewise.
19803         (override_options): Call sparc_add_gc_roots.
19804         * pa.c: Include ggc.h.
19805         (pa_add_gc_roots): New function.
19806         (mark_deferred_plabels): Likewise.
19807         (override_options): Call pa_add_gc_roots.
19808         * mips.c: Include ggc.h.
19809         (mips_add_gc_roots): New function.
19810         (override_options): Use it.
19811
19812 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19813
19814         * cpperror.c (cpp_file_line_for_message): Constify a char*.
19815
19816         * cppexp.c (parse_number, parse_charconst, cpp_lex,
19817         cpp_parse_expr): Add static prototypes.
19818         (parse_charconst): Don't cast away const-ness.
19819         (token): Constify a char*.
19820
19821         * cppfiles.c (file_name_list, include_hash, find_include_file,
19822         finclude, initialize_input_buffer): Constify a char*.
19823         (file_cleanup, find_position): Add static prototypes.
19824
19825         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
19826         collect_expansion): Add static prototypes.
19827         (cpp_install, create_definition, monthnames): Constify a char*.
19828
19829         * cpphash.h (cpp_install): Likewise.
19830
19831         * cppinit.c (known_suffixes, default_include,
19832         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
19833         (base_name, dump_special_to_buffer, initialize_dependency_output):
19834         Add static prototypes.
19835
19836         * cpplib.c (my_strerror): Constify a char*.
19837         (null_underflow, null_cleanup, skip_comment, copy_comment,
19838         copy_rest_of_line, handle_directive, pass_thru_directive,
19839         get_directive_token, read_line_number, cpp_print_file_and_line,
19840         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
19841         v_cpp_warning_with_line, detect_if_not_defined,
19842         consider_directive_while_skipping): Add static prototypes.
19843         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
19844         cpp_pedwarn_with_file_and_line): Constify a char*.
19845
19846         * cpplib.h (cpp_options, include_hash, progname, definition,
19847         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
19848         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
19849         find_include_file, deps_output, include_hash): Constify a char*.
19850
19851         * cppmain.c (progname): Constify.
19852         (main): Add prototype.  Use return, not exit.
19853
19854         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
19855         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
19856         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
19857         check_protection): Add static prototype.
19858         (xfree): Remove.
19859         (progname, recognized_macrom, recognized_extern): Constify a char*.
19860         (main): Add prototype.
19861
19862         * gen-protos.c (progname): Constify a char*.
19863
19864 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
19865
19866         * emit-rtl.c (free_emit_status): Take decl as a parameter.
19867         (init_emit_once): Add more GC roots.
19868         * except.c (mark_func_eh_entry): New function.
19869         (mark_eh_node): Mark false_label and rethrow_label.
19870         (init_eh): Add more GC roots.
19871         * function.c (free_after_compilation): Take decl as a paramter.
19872         Call free_stmt_status.
19873         (mark_function_state): Don't assume x_parm_reg_stack_loc is
19874         non-NULL.
19875         * function.h (free_after_compilation): Change prototype.
19876         (free_varasm_status): Likewise.
19877         (free_emit_status): Likewise.
19878         (free_stmt_status): New function.
19879         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
19880         Remove, replacing with ...
19881         (ggc_status): New structure.
19882         (ggc_chain): New variable.
19883         (init_gcc): Define.
19884         (ggc_push_context): New function.
19885         (ggc_pop_context): Likewise.
19886         (ggc_alloc_rtx): Adjust for use of ggc_chain.
19887         (ggc_alloc_rtvec): Likewise.
19888         (ggc_alloc_tree): Likewise.
19889         (ggc_alloc_string): Likewise.
19890         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19891         (ggc_mark_tree): Give language-dependent code a chance to mark
19892         `x' nodes.
19893         (ggc_mark_tree_varray): Handle empty arrays.
19894         (ggc_collect): Adjust for use of ggc_chain.  Clear
19895         bytes_alloced_since_last_gc.
19896         * ggc.h (ggc_pop_context): New function.
19897         (ggc_push_context): Likewise.
19898         * print-tree.c (print_node): Don't print obstacks when GC'ing.
19899         * stmt.c (free_stmt_status): New function.
19900         (init_stmt_for_function): Clear last_expr_value.
19901         * toplev.c (rest_of_compilation): Always call free_after_compilation.
19902         Conditionalize call to ggc_collect.
19903         (main): Call init_ggc.
19904         * tree.c (push_obstacks): Do the push, even when GC'ing.
19905         (push_obstacks_nochange): Likewise.
19906         (pop_obstacks): Liekwise.
19907         * varasm.c (free_varasm_status): Take decl as a parameter.
19908
19909 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19910
19911         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19912         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19913         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19914         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19915
19916 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
19917
19918         * pa/x-pa-mpeix: New file for the MPE port.
19919
19920         * pa/quadlib.asm: New file for long double support.
19921
19922         * configure.in: Add hppa1.0-*-mpeix for MPE port.
19923         * configure: Rebuilt.
19924
19925 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
19926
19927         * final.c (shorten_branches): Fix last change.
19928
19929 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
19930
19931         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19932
19933 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
19934
19935         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
19936         details.
19937
19938 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19939
19940         * c-aux-info.c (concat): Don't define.
19941
19942         * cccp.c (my_strerror): Likewise.  All callers changed to use
19943         xstrerror instead.
19944         (do_include): Call xstrdup, not xmalloc/strcpy.
19945         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19946         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19947
19948         * collect2.c (my_strsignal): Likewise.  All callers changed to use
19949         strsignal instead.
19950         (locatelib): Call xstrdup, not xmalloc/strcpy.
19951
19952         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19953
19954         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19955
19956         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19957
19958         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19959
19960         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19961
19962         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19963
19964         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19965         malloc/realloc.
19966         (find_all_handler_type_matches): Likewise.  Don't check return
19967         value.
19968         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19969         xmalloc, not malloc.
19970         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
19971
19972         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19973         (init_spec): Call xcalloc, not xmalloc/bzero.
19974         (set_spec): Call xstrdup, not save_string.
19975         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19976         (find_a_file): Call xstrdup, not xmalloc/strcpy.
19977         (process_command): Call xstrdup, not save_string.
19978         (main): Call xcalloc, not xmalloc/bzero.
19979
19980         * gcov.c (xmalloc): Don't define.
19981         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19982         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19983         (output_data): Call xcalloc, not xmalloc/bzero.
19984
19985         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19986
19987         * mips-tdump.c (xmalloc): Don't define.
19988         (print_symbol): Call xmalloc, not malloc.
19989         (read_tfile): Call xcalloc, not calloc.
19990
19991         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19992         Don't define.  All callers of xfree/my_strsignal changed to use
19993         free/strsignal instead.
19994         (allocate_cluster): Call xcalloc, not calloc.
19995
19996         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19997         Fix memory leak, free allocated memory.
19998
19999         * prefix.c (translate_name): Call xstrdup, not save_string.
20000         (update_path): Likewise.
20001
20002         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
20003
20004         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
20005         Don't define.  Callers of xfree/savestring2 changed to use
20006         free/concat instead.
20007
20008         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
20009         (init_elim_table): Likewise.
20010
20011         * resource.c (init_resource_info): Likewise.
20012
20013         * stupid.c (stupid_life_analysis): Likewise.
20014
20015         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
20016         (open_dump_file): Call concat, not xmalloc/strcpy/...
20017         (clean_dump_file): Likewise.
20018         (compile_file): Call xstrdup, not xmalloc/strcpy.
20019
20020 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
20021
20022         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
20023         * v850.c (v850_va_arg): New.
20024
20025 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20026
20027         * haifa-sched.c: Tidy comments.
20028
20029 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20030
20031         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
20032         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
20033         $(out_object_file)): Depend on ggc.h.
20034         * c-common.c: Include "ggc.h".
20035         (combine_strings): If doing GC, use ggc_alloc_string.
20036         * c-decl.c: Include "ggc.h".
20037         (ggc_p): Define with value 0.
20038         (mark_binding_level): New function.
20039         (init_decl_processing): Add GC roots.
20040         (mark_c_function_context): New function.
20041         (lang_mark_false_label_stack): New function.
20042         (lang_mark_tree): New function.
20043         (lang_cleanup_tree): New function.
20044         * c-lang.c: Include "ggc.h".
20045         (lang_init): Call c_parse_init.
20046         * c-lex.c: Include "ggc.h".
20047         (check_linenum): If doing GC, don't copy filenames to permanent
20048         obstack.
20049         * c-parse.in: Include "ggc.h".
20050         (c_parse_init): New function.
20051         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
20052         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
20053
20054         * except.c (mark_eh_state): Mark more state.
20055         * function.c (mark_function_state): Likewise.
20056         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
20057         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
20058         * toplev.c (mark_file_stack): New function.
20059         (compile_file): If doing GC, use ggc_alloc_string on input filename.
20060         (main): Add root for input_file_stack.
20061
20062         * i386.c: Include "ggc.h".
20063         (ix86_mark_machine_status): New function.
20064         (override_options): Set mark_machine_status.
20065
20066 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20067
20068         * tree.c (copy_node): Copy node contents also if doing GC.
20069
20070 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20071
20072         * collect2.c (scan_libraries): Fix double-thinko :-).
20073
20074 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
20075
20076         * collect2.c (scan_libraries): Fix thinko.
20077
20078         * cse.c (delete_trivially_dead_insns): Do not skip the last
20079         insn if it is a real insn.
20080
20081 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
20082
20083         * Makefile.in (ggc-simple.o): Depend on hash.h.
20084         * ggc.h (ggc_add_tree_hash_table_root): Declare.
20085         (ggc_mark_tree_varray): Likewise.
20086         (ggc_mark_tree_hash_table): Likewise.
20087         * ggc-simple.c: Include hash.h.
20088         (ggc_mark_tree_hash_table_ptr): New function.
20089         (ggc_mark_tree_hash_table_entry): Likewise.
20090         (ggc_mark_tree_hash_table): Likewise.
20091         (ggc_add_tree_hash_table_root): Likewise.
20092         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
20093         rtx, when defining fields.
20094
20095 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20096
20097         * profile.c (output_func_start_profiler): Remove apparently
20098         nonsensical call to start_sequence.
20099
20100 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
20101
20102         * clipper/clipper.c (clipper_va_start): Fix typos.
20103
20104         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
20105         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
20106         (spur_va_arg): New stub.
20107
20108         * configure.in: Comment out pyramid.
20109
20110 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
20111
20112         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
20113         don't conflict with the bits that win32, cygwin, and dgux
20114         defines.
20115
20116 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
20117                           Bernd Schmidt <bernds@cygnus.co.uk>
20118
20119         * integrate.c (function_cannot_inline_p): Do not inline
20120         functions with forced labels.
20121
20122 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
20123                           Bernd Schmidt <bernds@cygnus.co.uk>
20124                           Mark Mitchell  <mark@codesourcery.com>
20125
20126         * Makefile.in (ggc-simple.o): Depend on varray.h.
20127         (rtl.o): Depend on ggc.h.
20128         (genattrtab.o): Depend on ggc.h.
20129         (print-tree.o): Likewise.
20130         (fold-const.o): Likewise.
20131         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
20132         (make_insn_raw): Don't cache insns when GC'ing.
20133         (emit_insn_before): Likewise.
20134         (emit_insn_after): Likewise.
20135         (emit_insn): Likewise.
20136         (start_sequence): Use xmalloc to allocate the sequence_stack.
20137         (end_sequence): Add free to free it.
20138         (gen_sequence): Don't cache insns when GC'ing.
20139         (clear_emit_caches): Don't use sequence_element_free_list.
20140         (init_emit): Use xcalloc, not xmalloc+bzero.
20141         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
20142         * function.c (pop_function_context_from): Use free to free the
20143         fixup_var_refs_queue.
20144         (put_reg_into_stack): Allocate it with xmalloc.
20145         * genattrtab.c: Include ggc.h.
20146         (operate_exp): Don't use obstack_free when GC'ing.
20147         (simplify_cond): Likewise.
20148         (simplify_text_exp): Likewise.
20149         (optimize_attrs): Likewise.
20150         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
20151         GC'ing.
20152         (gencode): Generate a #include for ggc.h.
20153         * ggc-callbacks.c (ggc_p): Define it to zero.
20154         * ggc-none.c (ggc_p): Likewise.
20155         * ggc-simple.c: Include varray.h.
20156         (ggc_mark_tree_varray): New function.
20157         (ggc_add_tree_varray_root): Likewise.
20158         (ggc_mark_tree_varray_ptr): Likewise.
20159         * ggc.h (ggc_p): Declare.
20160         (varray_head_tag): Likewise.
20161         (ggc_add_tree_varray_root): Declare.
20162         * print-tree.c (print_node): Don't check for TREE_PERMANENT
20163         inconsistencies when GC'ing.
20164         * rtl.c: Include ggc.h.
20165         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
20166         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
20167         (rtx_free): Don't call obstack_free when GC'ing.
20168         * toplev.c (rest_of_compilation): Call ggc_collect after every
20169         pass, if GC'ing.
20170         * tree.c (push_obstacks): Do nothing, if GC'ing.
20171         (pop_obstacks_nochange): Likewise.
20172         (pop_obstacks): Likewise.
20173         (make_node): Use ggc_alloc_tree when GC'ing.
20174         (copy_node): Likewise.
20175         (get_identifier): Use ggc_alloc_string when GC'ing.
20176         (build_string): Likewise.
20177         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
20178         (tree_cons): Likewise.
20179         (build1): Likewise.
20180         (type_hash_canon): Don't call obstack_free when GC'ing.
20181
20182 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
20183
20184         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
20185         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
20186
20187 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
20188                           Bernd Schmidt <bernds@cygnus.co.uk>
20189                           Mark Mitchell  <mark@codesourcery.com>
20190
20191         * Makefile.in (stor-layout.o): Depend on ggc.h.
20192         (expr.o): Depend on ggc.h.
20193         (profile.o): Depend on ggc.h.
20194         (stor-layout.o): Depend on ggc.h.
20195         * emit-rtl.c (init_emit_once): Add gc roots.
20196         * expr.c: Include ggc.h.
20197         (emit_block_move): Add gc roots.
20198         (clear_storage): Likewise.
20199         * expr.h (init_stor_layout_once): New function.
20200         * profile.c: Include ggc.h.
20201         (init_arc_profiler): profiler_label is a root.
20202         * scan.c (make_sstring_space): Trust xrealloc to function
20203         correctly with first parameter NULL.
20204         * stor-layout.c: Include ggc.h.
20205         (set_sizetype): Add gc root.
20206         (init_stor_layout_once): New function.
20207         * toplev.c (compile_file): Call it.
20208
20209 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
20210                           Bernd Schmidt <bernds@cygnus.co.uk>
20211                           Mark Mitchell  <mark@codesourcery.com>
20212
20213         * Makefile.in (tree.o): Depend on ggc.h.
20214         (varasm.o): Likewise.
20215         (function.o): Likewise.
20216         (stmt.o): Likewise.
20217         (except.o): Likewise.
20218         (optabs.o): Likewise.
20219         (emit-rtl.o): Likewise.
20220         * emit-rtl.c: Include ggc.h.
20221         (sequence_element_free_list): Remove, and all references.
20222         (mark_sequence): New functions.
20223         (mark_emit_state): New function.
20224         * except.c: Include ggc.h.
20225         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
20226         (mark_tree_label_node): New functions.
20227         (mark_eh_state): New function.
20228         * function.c: Include ggc.h.
20229         (mark_temp_slot, mark_function_chain): New functions.
20230         (mark_function_state): New function.
20231         (init_function_once): New function.
20232         * function.h (init_function_once): New function.
20233         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
20234         * ggc.h (label_node): Declare.
20235         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
20236         (lang_mark_false_label_stack): New function.
20237         (mark_temp_slot): Remove declaration.
20238         (mark_function_chain): Likewise.
20239         (mark_eh_state): Adjust prototype.
20240         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
20241         Likewise.
20242         * optabs.c: Include ggc.h.
20243         (mark_optab): New function.
20244         (init_optabs): Add gc roots.
20245         * stmt.c: Include ggc.h.
20246         (mark_cond_nesting, mark_loop_nesting): New functions.
20247         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
20248         (mark_stmt_state): New function.
20249         * toplev.c (compile_file): Call init_function_once.
20250         * tree.c: Include ggc.h.
20251         (type_hash): Move declaration earlier in file.
20252         (TYPE_HASH_SIZE, type_hash_table): Likewise.
20253         (init_obstacks): Add gc roots.
20254         (mark_type_hash): New function.
20255         * varasm.c: Include ggc.h.
20256         (mark_pool_constant): New function.
20257         (mark_varasm_state): New function.
20258
20259 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20260
20261         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
20262
20263 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20264
20265         * c-decl.c (struct language_function): Renamed from struct c_function.
20266         Delete elt NEXT.
20267         (c_function_chain): Delete.
20268         (push_c_function_context): New arg F.  Don't warn about nested
20269         functions here.  Fill LANGUAGE elt of F.  Delete code to update
20270         c_function_chain.  Don't call push_function_context.
20271         (pop_c_function_context): New arg F.  Restore from there instead of
20272         from c_function_chain.  Don't call pop_function_context.  Clear out
20273         LANGUAGE field of F when done.
20274         * c-lang.c: Include "function.h"
20275         (lang_init): Initialize save_lang_status and restore_lang_status.
20276         * c-parse.in (nested_function, nested_function_notype): Warn about
20277         nested functions.  Call push_function_context/pop_function_context
20278         instead of the _c_ variants.
20279         * c-tree.h (push_c_function_context, pop_c_function_context): Update
20280         prototype.
20281         * Makefile.in (c-lang.o): Update dependencies.
20282
20283         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
20284         regno_pointer_flag, regno_pointer_align.
20285         (gen_reg_rtx): Use xrealloc to enlarge them.
20286         (free_emit_status): New function.
20287         * function.c (mark_machine_status, mark_lang_status): New variables.
20288         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
20289         in some bits from assign_stack_local.  All callers changed to use new
20290         name.
20291         (assign_stack_local): Just call assign_stack_local_1.
20292         (free_after_compilation): New function.
20293         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
20294         (trampoline_address): Likewise.
20295         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
20296         (prepare_function_start): Explicitly clear some more variables.
20297         * function.h (struct function): New elt can_garbage_collect.
20298         (mark_machine_status, mark_lang_status): Declare variables.
20299         (free_after_compilation, free_emit_status, free_varasm_status,
20300         init_varasm_status): Declare functions.
20301         * toplev.c (rest_of_compilation): Call free_after_compilation when
20302         done with the current function.
20303         * varasm.c (free_varasm_status): New function.
20304
20305 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
20306
20307         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
20308         (EXPAND_BUILTIN_VA_ARG): Define.
20309         * sparc.c (sparc_va_start): New.
20310         (sparc_va_arg): New.
20311
20312 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20313
20314         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
20315
20316 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20317
20318         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
20319
20320 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
20321
20322         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
20323         (OBJS): Add $(GGC).
20324         (ggc-callbacks.o): New target.
20325         * ggc-callbacks.c: New file.
20326
20327 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20328
20329         * expr.h: Collapse individual optab and libfunc vars to arrays.
20330         (optab_index, libfunc_index): New enumerations.
20331         (optab_table, libfunc_table): New arrays.
20332         Add accessor macros for both.
20333
20334         * optabs.c (optab_table, libfunc_table): New.
20335         Delete declarations for individual optab and libfunc vars.
20336
20337 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
20338
20339         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
20340
20341 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
20342
20343         * Makefile.in (GGC, GGC_LIB): New.
20344         (HOST_RTL): Include ggc-none.o.
20345         (ggc-simple.o): New target.
20346         (ggc-none.o): Likewise.
20347         * tree.h (tree_common): Add gc_mark.
20348         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
20349         (struct rtvec_def): Add gc_mark.
20350         * emit-rtl.c (global_rtl): Update static initializers to contain
20351         enough initializers.
20352         * ggc.h, ggc-none.c, ggc-simple.c: New files.
20353         * toplev.c (gc_time): New variable.
20354         (all_time): New variable.
20355         (compile_file): Print gc time.
20356         (print_time): Calculate percentage of the whole.
20357
20358 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20359
20360         Change obstack memory management and varasm constant pool handling so
20361         that nested functions are treated like any other functions.
20362         * function.c (init_machine_status): New variable.
20363         (push_function_context_to): Set contains_functions for the outer
20364         function.  Don't call save_varasm_status.
20365         (pop_function_context_from): Don't call restore_varasm_status.  Don't
20366         set current_function_contains_functions.
20367         (prepare_function_start): Call init_varasm_status rather than
20368         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
20369         is non-null.
20370         * function.h (struct function) Add field varasm.  Delete fields
20371         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
20372         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
20373         (init_machine_status): Declare.
20374         (save_varasm_status, restore_varasm_status): Delete declarations.
20375         (save_tree_status, restore_tree_status): Delete last argument.
20376         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
20377         code.  All callers changed.
20378         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
20379         save_constants_in_decl_trees, restore_constants, save_constants,
20380         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
20381         functions.
20382         (inlining): New variable.
20383         (reg_map, label_map, insn_map, orig_asm_operands_vector,
20384         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
20385         variables.
20386         (save_for_inline_nocopy): Don't save constants.
20387         Don't set inl_emit field in current_function.
20388         (expand_inline_function): Use emit field, not inl_emit, of the inlined
20389         function.  Set new variable inlining before
20390         calling copy_rtx_and_substitute.
20391         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
20392         constant pool references if inlining is nonzero.
20393         Delete ADDRESS and (most of the) CONST cases.
20394         (output_inline_function): Save and restore current_function/
20395         current_function_decl.  Delete restore_constants code.  Don't call
20396         init_const_rtx_hash_table.
20397         * output.h (init_const_rtx_hash_table): Don't declare.
20398         * rtl.h (struct function): Declare.
20399         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
20400         * toplev.c (rest_of_compilation): Don't treat nested functions or
20401         functions containing them specially.  Delete all code to deal with
20402         save_for_inline_copying.
20403         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
20404         inline_obstacks): Delete variables.
20405         (save_tree_status): Lose arg CONTEXT.  All callers changed.
20406         Simply allocate a new function_maybepermanent_obstack for the new
20407         function, delete all the special cases.
20408         Don't save inline_obstacks.
20409         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
20410         Delete special handling for function_maybepermanent_obstack; simply
20411         free it if empty.
20412         Don't restore inline_obstacks.
20413         (permanent_allocation):  Delete code that frees inline_obstacks.
20414         (print_inline_obstack_statistics): Delete function.
20415         (dump_tree_statistics): Don't call it.
20416         * varasm.c (struct varasm_status): New.
20417         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
20418         last_pool, pool_offset, const_double_chain): Delete global
20419         variables, replace with accessor macros.
20420         (immed_double_const): Don't walk const_double_chain outside a
20421         function, but don't treat nested functions specially anymore.
20422         (immed_real_const_1): Likewise.
20423         (clear_const_double_mem): Don't treat nested functions specially.
20424         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
20425         (save_varasm_status, restore_varasm_status): Delete functions.
20426         (init_varasm_status): New function.
20427         (force_const_mem): Don't treat nested functions specially.
20428         (find_pool_constant): Accept new arg F, search for constants in
20429         that function's pool rather than the current one.  All callers
20430         changed.
20431         (get_pool_constant_for_function, get_pool_mode_for_function): New
20432         functions.
20433
20434         * i386.c (init_386_machine_status): New function, mostly from
20435         clear_386_stack_locals.
20436         (struct machine_functions): Rename element names to avoid name
20437         clashes.
20438         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
20439         macros, replacing global variables.
20440         (clear_386_stack_locals, save_386_machine_status,
20441         restore_386_machine_status): Delete functions.
20442         (override_options): Initialize init_machine_status.
20443         * i386.h (INIT_EXPANDERS): Delete macro.
20444         (save_386_machine_status, restore_386_machine_status,
20445         clear_386_stack_locals): Delete declarations.
20446
20447 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20448
20449         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
20450         (doloop_begin):  Simplify pattern and use emit_jump_insn.
20451         (doloop_end): Simplify pattern, switch operand order,
20452         and use emit_jump_insn.
20453
20454 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20455
20456         * function.h (struct function): Add new element LANGUAGE.
20457         (save_lang_status): Declare new variable.
20458         (restore_lang_status): Likewise.
20459         * function.c (save_lang_status): Define.
20460         (restore_lang_status): Likewise.
20461         (push_function_context_to): Call language-specific save function.
20462         (pop_function_context_from): Call language-specific restore function.
20463
20464 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20465
20466         * i386.md (movsf_1): Check REG_P before use of REGNO.
20467         (movdf_1): Likewise.
20468         (movxf_1): Likewise.
20469         (extendsfdf2): Likewise.
20470         (extendsfxf2): Likewise.
20471         (extenddfxf2): Likewise.
20472
20473 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20474
20475         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
20476         constants into memory.
20477         (c4x_shiftable_constant): New function.
20478         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
20479         (c4x_shiftable_constant): Declare.
20480         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
20481         ashlqi3_noclobber): Add new patterns and associated splitters.
20482
20483 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
20484
20485         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
20486         * dwarf2out.c (dwarf2out_frame_init): Likewise.
20487         * final.c (shorten_branches): Likewise.
20488         * global.c (global_alloc): Likewise.
20489         * haifa-sched.c (build_control_flow): Likewise.
20490         * stmt.c (check_for_full_enumeration_handling): Likewise.
20491         (estimate_case_costs): Likewise.
20492
20493 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
20494
20495         * rtl.h (RTL_CHECKC2): Fix typo in last change.
20496
20497 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
20498
20499         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
20500         (recompute_reg_usage): Likewise.
20501         * rtlanal.c (find_regno_fusage): Likewise.
20502
20503         * rtl.c (rtl_check_failed_code1): New function.
20504         (rtl_check_failed_code2): New.
20505         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
20506         (RTL_CHECKC1, RTL_CHECKC2): New.
20507         (XC*): New accessor macros.
20508         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
20509         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
20510         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
20511         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
20512         (TRAP_*, RANGE_INFO_*): Likewise.
20513
20514 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20515
20516         * Makefile.in (tlink.o): Don't depend on toplev.h.
20517
20518         * collect2.c (c_file, o_file, export_file, import_file, ldout,
20519         output_file, nm_file_name, ldd_file_name, strip_file_name,
20520         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
20521         add_prefix, prefix_from_env, prefix_from_string, do_wait,
20522         fork_execute, maybe_unlink, add_to_list,
20523         extract_init_priority, write_list, dump_list,
20524         dump_prefix_list, write_list_with_asm, write_c_file,
20525         write_c_file_stat, write_c_file_glob, scan_prog_file,
20526         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
20527         ignore_library, extract_string, notice, dump_file, target_machine,
20528         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
20529         read_file, print_load_command): Constify a char*.
20530         (fdopen, error, fatal, fatal_perror): Don't prototype.
20531         (my_strerror): Remove.  All callers use xstrerror instead.
20532         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
20533         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
20534         to xcalloc/strcpy/strcat/...  to one call to concat.
20535         (main, scan_prog_file, scan_libraries): Use an intermediate
20536         `const char **' to build an argv array.
20537         (mapfile, libselect, libcompare, locatelib): Add prototypes.
20538
20539         * collect2.h (collect_execute, collect_wait, dump_file,
20540         file_exists): Constify a char*.
20541         (ldout, c_file_name, temporary_obstack, permanent_obstack,
20542         temporary_firstobj, vflag, debug): Add extern declarations.
20543         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
20544
20545         * tlink.c: Don't include toplev.h.
20546         (vflag, debug, ldout, c_file_name, temporary_obstack,
20547         permanent_obstack, temporary_firstobj): Don't declare.
20548         (tlink_execute, frob_extension, symbol_hash_lookup,
20549         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
20550         recompile_files, read_repo_files, demangle_new_symbols,
20551         scan_linker_output): Constify a char*.
20552         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
20553         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
20554
20555 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
20556
20557         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
20558         (relative) rather than jsr (absolute) subroutine call insns.
20559         * config/m68k/m68k-coff.h: Ditto.
20560
20561 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
20562
20563         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
20564         now rework these too.
20565         (arm_reorg): If an insn can't reach the end of the current pool,
20566         ensure that we emit that pool before the insn.
20567
20568 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
20569
20570         * tlink.c (scan_linker_output): Skip the initial underscore in
20571         a mangled name if appropriate.
20572
20573 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20574
20575         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
20576         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
20577         error_with_ivar, gen_declarator, create_builtin_decl,
20578         my_build_string, generate_descriptor_table, generate_ivars_list,
20579         generate_dispatch_table, check_protocols, TAG_GETCLASS,
20580         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
20581         dump_base_name, lang_decode_option, build_encode_expr,
20582         start_class, finish_class, encode_pointer, really_start_method,
20583         gen_declaration, dump_interface, handle_class_ref, handle_impent):
20584         Constify.
20585         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
20586         Add static prototypes.
20587         (build_objc_string_decl, build_selector_reference_decl,
20588         encode_bitfield, build_class_reference_decl): Remove unused
20589         parameter, all callers changed.
20590         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
20591         (objc_printable_name): Likewise.  Change second parameter to type int.
20592         (init_objc): Use memcpy, not bcopy, to avoid casts.
20593
20594 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
20595
20596         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
20597         reg notes on a deleted insn.
20598         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
20599
20600 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
20601
20602         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
20603
20604 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20605
20606         * stmt.c (expand_asm_operands): Fix index into inout_mode when
20607         reading it.
20608
20609 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
20610
20611         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
20612         * tm.texi (MD_ASM_CLOBBERS): Document it.
20613
20614 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
20615
20616         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
20617         * except.c (expand_rethrow): Remove unused variable.
20618         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
20619         * flow.c (replace_insns): Likewise.
20620         (create_edge_list, verify_edge_list): Likewise.
20621         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
20622
20623         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
20624         is special code to run.
20625         (main): Don't define operands to emit_operand.
20626         * genrecog.c (main): Don't emit an empty peephole2_insn function.
20627
20628         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
20629
20630         * alpha/alpha.h (normal_memory_operand): Declare.
20631         (reg_no_subreg_operand): Declare.
20632         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
20633
20634 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
20635
20636         * c-parse.in (compstmt_primary_start): New, broken out of first
20637         part of compstmt handling in primary.
20638         (primary): Use it.  Add an error clause.
20639         (compstmt_nostart): Renamed from compstmt; remove all
20640         initial invocations of compstmt_start.
20641         (compstmt): New.
20642
20643 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
20644
20645         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
20646         needed.
20647
20648 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
20649
20650         * combine.c (simplify_shift_const): Remove extra semicolon.
20651         * dwarf2out.c (remove_AT): Likewise.
20652         * expmed.c (expand_mult): Likewise.
20653         * gcov.c (create_program_flow_graph): Likewise.
20654         * reorg.c (mostly_true_jump): Likewise.
20655
20656 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
20657
20658         * fold-const.c (fold_range_test): Do not try to fold the range
20659         test if the rhs or lhs has side effects.
20660
20661         * combine.c (simplify_rtx): Recognize another case of a synthesized
20662         sign extension.
20663
20664         * varasm.c (mark_constant_pool): When marking indirect references,
20665         only look at SYMBOL_REFs.
20666
20667         * except.c (expand_fixup_region_end): Do not peek at
20668         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
20669
20670 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
20671
20672         * flags.h: New variables align_loops, align_loops_log,
20673         align_jumps, align_jumps_log, align_labels, align_labels_log,
20674         align_functions, align_functions_log.
20675         * toplev.c: Define them.
20676         (f_options): Handle -falign-* when they have no argument.
20677         (main): Add logic to set variables for -falign-functions,
20678         -falign-jumps, -falign-labels, -falign-loops.
20679         Make it -fsched-verbose=<n> and -finline-limit=<n>.
20680         (display_help): Change help to match options.
20681         * final.c (LABEL_ALIGN): Default to align_labels_log.
20682         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
20683         (LOOP_ALIGN): Default to align_loops_log.
20684         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
20685         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
20686         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
20687         * varasm.c (assemble_start_function): Handle align_functions.
20688
20689         * config/sparc/sparc.h: Don't declare sparc_align_*.
20690         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
20691         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
20692         sparc.c.
20693         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
20694         it's a promise.
20695         * config/sparc/sparc.c: Delete sparc_align_loops,
20696         sparc_align_jumps, sparc_align_funcs and the corresponding string
20697         variables.
20698         (sparc_override_options): Default align_functions on ultrasparc.
20699         Delete -malign-* handling.
20700
20701         * config/mips/mips.c (override_options):  On 64-bit targets,
20702         try to align code to 64-bit boundaries.
20703         (print_operand): New substitution, %~,
20704         which aligns labels to align_labels_log.
20705         * config/mips/mips.md (div_trap_normal): Use %~.
20706         (div_trap_mips16): Likewise.
20707         (abssi): Likewise.
20708         (absdi2): Likewise.
20709         (ffssi2): Likewise.
20710         (ffsdi2): Likewise.
20711         (ashldi3_internal): Likewise.
20712         (ashrdi3_internal): Likewise.
20713         (lshrdi3_internal): Likewise.
20714         (casesi_internal): Likewise.
20715
20716 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
20717
20718         Merge new ia32 backend from the branch!
20719
20720         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
20721         See ChangeLog.P2 on new_ia32_branch for details.
20722
20723         * rtl.h (stack_regs_mentioned_p): Delete prototype.
20724         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
20725         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
20726         * i386/gas.h (ASM_FILE_START): Define.
20727         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
20728         for name change of ix86_valid_decl_attribute_p.
20729         (i386_pe_valid_type_attribute_p): Similarly.
20730
20731 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
20732
20733         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
20734         to step through CC modes.
20735
20736 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20737
20738         * regmove.c (fixup_match_1): Don't move INSN in front of P if
20739         it would end up in the shadow of a live flags regsiter.
20740
20741 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20742
20743         * reload1.c: Fix many indentation problems.
20744         * reload.c: Likewise.
20745
20746 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
20747
20748         * alias.c (non_local_reference_p): Constify fmt.
20749
20750 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
20751
20752         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
20753
20754 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
20755
20756         * cse.c (delete_trivially_dead_insns): Do not delete stores to
20757         the internal_arg_pointer.
20758
20759 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
20760
20761         Merge peephole2 from new_ia32_branch:
20762         * Makefile.in (STAGESTUFF): Add *.peephole2.
20763         (mostlyclean): Likewise.
20764         (recog.o): Depend on resource.h.
20765
20766         * final.c (peephole): Conditionalize decl on HAVE_peephole.
20767         (final_scan_insn): Likewise for the invocation of peephole.
20768         * genconfig.c (main): Look for peephole and peephole2 patterns.
20769         Emit HAVE_peephole* accordingly.
20770         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
20771         * flags.h (flag_peephole2): Declare.
20772         * toplev.c: New pass peephole2.  New flag -fpeephole2.
20773
20774         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
20775         * gencodes.c (main): Likewise.
20776         * genextract.c (main): Likewise.
20777         * genoutput.c (main): Likewise.
20778         * genemit.c (max_operand_1): Look for the max scratch operand.
20779         (gen_rtx_scratch): New.
20780         (gen_exp): Use it, and pass on new arg subroutine_type.
20781         (gen_expand): Take max scratch into account.
20782         (gen_split): Emit peephole2 functions.
20783         (output_peephole2_scratch): New.
20784         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
20785         * genrecog.c (routine_type): Add PEEPHOLE2.
20786         (IS_SPLIT): New.
20787         (make_insn_sequence): Match outer parallel for peep2.  Discard
20788         top level scratches and dups.
20789         (add_to_sequence): New args insn_type and top.  Update all callers.
20790         Handle toplevel peep2 matching insns.
20791         (write_subroutine): Handle peep2.
20792         (write_tree_1): Likewise.
20793         (write_tree): Likewise.
20794         (main): Likewise.
20795         (change_state): New arg afterward.  Update all callers.
20796         Handle matching separate insns.
20797         * recog.c (recog_next_insn): New.
20798         (peephole2_optimize): New.
20799         * rtl.def (DEFINE_PEEPHOLE2): New.
20800         * resource.c (find_free_register): New argument last_insn.  Use it
20801         to find a register available through the entire span.
20802         * resource.h (find_free_register): Update prototype.
20803
20804 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
20805
20806         * i386.c (output_strlen_unroll): Don't write xops[7]
20807         label if it wasn't set.
20808
20809 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
20810
20811         * cpplib.c (struct directive): Const-ify name pointer and
20812         function pointer prototype.
20813         (validate_else, do_define, do_line, do_include, do_undef,
20814         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
20815         do_elif, do_endif, do_sccs, do_assert, do_unassert,
20816         do_warning): Const-ify second arg.
20817         (directive_table): Mark const.  Reorder entries by frequency
20818         of usage, record statistics.
20819
20820 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
20821
20822         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
20823         bounds- check RTL accesses if --enable-checking.
20824         (RTVEC_ELT): Bounds check if --enable-checking.
20825         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
20826         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
20827         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
20828         GET_NUM_ELEM.
20829         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
20830         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
20831
20832         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
20833         (NOTE_SOURCE_FILE): Use X0STR.
20834         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
20835         MEM_ALIAS_SET): Use X0INT.
20836         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
20837         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
20838         Use X0EXP.
20839         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
20840         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
20841         (rtl_check_failed_bounds, rtl_check_failed_type1,
20842         rtl_check_failed_type2, rtvec_check_failed_bounds): New
20843         functions.
20844         (fancy_abort): Fix comment.
20845
20846         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
20847         (cse_insn): Decrement LABEL_NUSES for jump target before
20848         deleting jump insn.
20849         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
20850         * final.c (alter_subreg): Compute regno before changing x to
20851         REG; set REGNO(x) after changing it.
20852         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
20853         notes containing CONST_INTs.
20854         (delete_eh_regions): Use NOTE_EH_HANDLER.
20855         * function.c (put_reg_into_stack): Make reg a MEM before
20856         initializing it.
20857         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
20858         delete insn.
20859         (gen_mem_addressof): Make reg a MEM before initializing it.
20860         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
20861         X0WINT.
20862         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
20863         deleting an insn, not after.
20864         (block_alloc): Only look at PATTERN(insn) if we have to, and
20865         only if it's format class 'i'.
20866         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
20867         CONST_INT before using its INTVAL.
20868         * print-rtl.c (print_rtx): Use X0STR.
20869         * regmove.c (fixup_match_1): Don't look at PATTERN of
20870         non-class-'i' insn chain elements.
20871         * reload.c (loc_mentioned_in_p): Take address of
20872         in->fld[1].rtx directly.
20873         * reload1.c (reload): Change reg to a MEM before initializing
20874         it.
20875         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
20876         have no names.
20877         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
20878
20879 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
20880
20881         * config/mips/mips.c (machine_dependent_reorg): Force a
20882         barrier to output the local constant pool if a barrier hasn't
20883         been found at a natural point in the instruction stream.
20884
20885 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20886
20887         * c-parse.in (language_string): Constify.
20888
20889         * dwarf2out.c (language_string): Remove declaration.
20890
20891         * dwarfout.c (language_string): Likewise.
20892
20893         * toplev.c (language_string, init_parse, finish_parse): Likewise.
20894
20895         * tree.h (language_string, init_parse, finish_parse): Declare.
20896
20897         * i386/sun386.h (language_string): Remove declaration.
20898
20899         * mips.h (language_string): Likewise.
20900
20901         * nextstep.h (language_string): Likewise.
20902
20903         * nextstep21.h (language_string): Likewise.
20904
20905         * rs6000.c (language_string): Likewise.
20906
20907 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20908
20909         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20910         (getpwd.o): Remove target.
20911
20912         * getpwd.c: Delete file.  Its in libiberty now.
20913
20914         * dbxout.c (getpwd): Don't prototype.
20915         * dwarf2out.c (getpwd): Likewise
20916         * dwarfout.c (getpwd): Likewise
20917         * final.c (getpwd): Likewise.
20918         * protoize.c (getpwd): Likewise.
20919
20920 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20921
20922         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20923
20924 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
20925
20926         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20927         mark_set_resources.
20928
20929 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
20930
20931         * fixinc/Makefile.in (subdir): New.
20932         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20933         (Makefile): New.
20934
20935 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
20936
20937         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20938         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20939         be shared.
20940
20941         * invoke.texi: Fix typo.
20942
20943         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
20944         changed.  Handle autoincrement addressing modes.
20945
20946         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20947         just like we would the virtual incoming args register when
20948         integrating.
20949
20950 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
20951
20952         * rs6000.h (ASM_FILE_START): Specify complete filename, including
20953         path, in .file directive.
20954
20955 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
20956
20957         * gcc.texi (External Bugs): Remove obsolete note about Perl on
20958         SunOS.
20959
20960 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
20961
20962         * stdbool.h: Make the typedef name _Bool, with bool a #defined
20963         alias.
20964
20965 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20966
20967         * tree.c (tree_code_name): Constify a char*.
20968
20969         * tree.h (tree_code_name, decl_printable_name): Likewise.
20970
20971         * function.h (struct function): Likewise.
20972
20973         * toplev.c (decl_name, decl_printable_name): Likewise.
20974
20975         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20976
20977         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20978         (init_objc): Remove function pointer cast.
20979
20980 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
20981
20982         * pa.md (interspace_jump): New pattern.
20983         (builtin_longjmp): New expander.
20984
20985 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
20986
20987         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20988         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20989         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20990
20991 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
20992
20993         * jump.c (delete_prior_computation): Also check calls
20994         to constant functions.  Don't bother checking for a
20995         REG_UNUSED note before adding it.
20996         (delete_computation): Handle multi-word hard registers
20997         when synthesizing missing REG_DEAD notes for a register
20998         which is both set and used by an insn.
20999
21000 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21001
21002         * loop.c (this_loop_info): New variable.
21003         (loop_has_call, loop_has_volatile, loop_has_tablejump,
21004         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
21005         All uses updated.
21006         (prescan_loop, strength_reduce): New argument loop_info.  All callers
21007         updated.
21008         (scan_loop): New variable loop_info, initialise to address of
21009         this_loop_info.
21010         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
21011         Delete variable loop_has_multiple_exit targets and replace with
21012         field in this_loop_info.
21013         (find_and_verify_loops): Rename this_loop to this_loop_num.
21014         (strength_reduce): Delete loop_iteration_info.  Replace variable
21015         loop_info with function argument of same name.
21016         (insert_bct): Rework test for loop being completely unrolled.
21017
21018         * loop.h (struct loop_info): New fields num, loops_enclosed,
21019         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
21020         has_indirect_jump, and cont.  Redefine use of unroll_number.
21021         (loop_unroll_number): Delete.
21022
21023         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
21024         field of loop_info.
21025         (loop_iterations): Delete variable vtop and instead use
21026         loop_info->vtop computed in prescan_loop.
21027
21028 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
21029
21030         * fix-header.c (main): Do not pass a null pointer to strcmp.
21031
21032 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
21033
21034         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
21035         filenames.
21036         * configure: Rebuilt.
21037
21038 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
21039
21040         * jump.c (jump_optimize_1): Do not delete assignments to
21041         internal_arg_pointer.
21042         * cse.c (delete_trivially_dead_insns): Always consider a set of
21043         the internal_arg_pointer live.
21044
21045 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
21046
21047         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
21048         (update_life_info) [REG_WAS_0]: Search the original insns rather
21049         than the new insns for the note.  Fix typos finding note_dest.
21050         If no dest found, discard the note rather than abort.
21051         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
21052         (replace_insns): Remove the old insn list after update_life_info
21053         not before.
21054
21055 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
21056
21057         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
21058         sched_analyze_insn.
21059         (sched_analyze_1): Let add_dependence care for not adding dups.
21060         (sched_analyze_2): Likewise.
21061         (add_branch_dependences): Likewise.
21062
21063 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21064
21065         * i386/winnt.c (export_list): New type.
21066         (exports_head): Rename to
21067         (export_head):  this.
21068         (i386_pe_record_exported_symbol): Add is_data flag.
21069         (i386_pe_asm_file_end): Emit directive for exported variables.
21070         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
21071         prototype.
21072         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
21073         (ASM_DECLARE_OBJECT_NAME): Likewise.
21074         (ASM_DECLARE_FUNCTION_NAME): Likewise.
21075         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
21076
21077 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
21078
21079         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
21080
21081         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
21082         operand.
21083
21084 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
21085
21086         * config/openbsd.h: Define SET_ASM_OP.
21087         * tm.texi: cross-reference SET_ASM_OP in the index.
21088
21089 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
21090
21091         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
21092         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
21093         and class_narrowest_mode at compile time.  Kill init_rtl.
21094         Mark rtx_length, mode_class, mode_size, mode_unit_size,
21095         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
21096         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
21097         EXTRA_CC_NAMES.
21098         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
21099         format.
21100         * rtl.h: Declare rtx_length and rtx_format as const.
21101         * machmode.def: Define CC().  Use CC() to define CCmode.  If
21102         EXTRA_CC_MODES is defined, expand it here.
21103         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
21104         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
21105         const.  Kill all references to EXTRA_CC_MODES.
21106
21107         * toplev.c: Don't prototype or call init_rtl.
21108         * optabs.c: Don't call init_mov_optab.
21109         * genemit.c: Don't generate init_mov_optab.  Don't call
21110         init_rtl.
21111         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
21112         here.
21113         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
21114         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
21115         genrecog.c: Don't call init_rtl.
21116
21117         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
21118         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
21119         definition of EXTRA_CC_MODES.
21120
21121         * md.texi: Kill ref to EXTRA_CC_NAMES.
21122         * tm.texi: Document new way to define EXTRA_CC_MODES.
21123
21124         * genrecog.c: Do not look up the name of a define_split.
21125         (Unrelated bugfix.)
21126
21127 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
21128
21129         * config/v850/v850.md: Fix typo introduced by previous delta.
21130
21131 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21132
21133         * gcc.c (fatal): Make definition static to match prototype.
21134
21135 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21136
21137         * combine.c (get_last_value): Don't look for earlier sets if the last
21138         known set is somewhere in between the insns being combined.
21139
21140 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
21141
21142         * configure.in: Don't use shell ! to negate exit codes
21143         * configure: Regenerate
21144
21145 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
21146
21147         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
21148         the fact that ALIGN is measured in bits, not bytes.
21149
21150 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
21151
21152         * errors.c: New file; defines functions error, warning, and
21153         fatal, variables have_error and progname.
21154         * errors.h: New file; prototypes and decls for stuff in errors.c.
21155
21156         * Makefile: Add rules to build errors.o and
21157         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
21158         genopinit, genrecog, genextract, genpeep, genattr, and
21159         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
21160         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
21161         genpeep.o, genattr.o, and genoutput.o.
21162
21163         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
21164         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
21165         define or prototype fatal.  Set progname at beginning of main.
21166         * genoutput.c:  Likewise, and don't define or prototype error
21167         either.
21168
21169         * c-typeck.c (c_expand_start_case): Return immediately if exp
21170         is an ERROR_MARK.
21171         * fold-const.c (operand_equal_p): Return immediately if arg1
21172         or arg0 are ERROR_MARKs.
21173         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
21174         fields of type ERROR_MARK when calculating if the record can
21175         go in a register.
21176
21177 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
21178         with much help from Jeffrey A Law and Richard Henderson
21179
21180         * i386.md: In the 6 insns which call output_fix_trunc,
21181         earlyclobber operands[0].
21182
21183 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
21184
21185         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
21186         creating new registers.
21187
21188 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
21189
21190         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
21191         i386_reg_alloc_order, i386_regparm_string,
21192         i386_align_loops_string, i386_align_jumps_string,
21193         i386_align_funcs_string, i386_preferred_stack_boundary_string,
21194         and i386_branch_cost_string as type "const char *".
21195         * i386.c: Define all above strings as type "const char *".
21196
21197 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
21198
21199         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
21200         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
21201
21202 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
21203
21204         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
21205         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
21206
21207 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
21208
21209         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
21210         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
21211         (dwarf2out_line, dwarf2out_finish): Likewise.
21212         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
21213
21214 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21215
21216         * tree.c (lang_unsave_expr_now) : Correct return type.
21217         * tree.h (lang_unsave_expr_now) : Same.
21218
21219 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
21220
21221         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
21222         instead of duplicating code.
21223
21224 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21225
21226         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
21227
21228 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
21229
21230         * tree.h: fancy_abort always takes three args.
21231         * resource.c: Move include of system.h before toplev.h.
21232
21233 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
21234
21235         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
21236         as SYMBOL_REFs.
21237
21238 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
21239
21240         * system.h: Don't redefine abort or trim_filename.
21241         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
21242         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
21243         whether or not __FUNCTION__ is available.
21244         * tree.h: Duplicate rtl.h's definition of abort, for files
21245         that don't include rtl.h.  Delete all code to perform type
21246         checking with a compiler other than GCC.
21247         * varray.h: Delete all code to perform type checking with a
21248         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
21249         its arguments exactly once, using a statement expression.
21250         Adjust the VARRAY_<type> accessor macros to match.
21251         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
21252         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
21253         caller's location.  Define fatal_insn and fatal_insn_not_found
21254         as macros that use _fatal_insn and _fatal_insn_not_found.
21255         (fancy_abort, trim_filename): Kill prototypes.
21256
21257         * rtl.c (trim_filename): Move here from toplev.c.
21258         (fancy_abort): New function.
21259         (DIR_SEPARATOR): Provide default definition.
21260         * tree.c (tree_check_failed, tree_class_check_failed): Go
21261         through fancy_abort.
21262         (tree_check, tree_class_check, cst_or_constructor_check,
21263         expr_check): Delete.
21264         * varray.c (varray_check_failed): New function.
21265         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
21266         _fatal_insn and _fatal_insn_not_found.  Go through
21267         fancy_abort.
21268         (trim_filename, fancy_abort): Delete.
21269
21270         * builtins.c (expand_builtin_args_info): Report ICE with abort.
21271         * except.c (start_catch_handler): Report ICE with error/abort
21272         combo.
21273         * final.c (output_operand_lossage): Likewise.
21274         * flow.c (verify_flow_info): Likewise.
21275
21276         * gcc.c: Prototype fatal.
21277         * gengenrtl.c: Undef abort after including rtl.h not system.h.
21278         * genattr.c, genattrtab.c, genemit.c, genextract.c,
21279         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
21280         Don't define fancy_abort.
21281
21282 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
21283
21284         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
21285         canonization.
21286
21287 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
21288
21289         * m88k.h (VERSION_INFO2): Kill.
21290         (VERSION_STRING): Kill.
21291         (TM_RCS_ID): Kill.
21292         (VERSION_INFO1): Tidy.
21293         (TARGET_VERSION): Update.
21294         * m88k/dgux.h (VERSION_INFO2): Kill.
21295         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
21296         * m88k/luna.h (VERSION_INFO1): Tidy.
21297         * m88k/sysv4.h (VERSION_INFO1): Likewise.
21298         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
21299         (output_file_start): Adjust for death of VERSION_STRING.
21300
21301 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
21302
21303         * cpplib.c (detect_if_not_defined): New function.
21304         (do_if): Use it to detect potential once-only headers.
21305
21306 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
21307
21308         * c-common.c (combine_strings): Always set TREE_CONSTANT.
21309
21310 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21311
21312         * combine.c (nonzero_bits) : Allow single-ly set registers to be
21313         anywere in the function only if they are pseudos and set before
21314         being used (not live at the start of the function).
21315         (num_sign_bit_copies) : Same.
21316         (get_last_value_validate) : Same.
21317         (get_last_value) : Same.
21318
21319 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
21320
21321         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
21322         where N and M are constant and N is an integer multiple of M.
21323
21324 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21325
21326         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
21327         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
21328         sbitmap_union_of_preds): Add prototypes.
21329         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
21330         the intersection of successors with the new flow graph structures.
21331         (sbitmap_intersection_of_preds): New function to compute the
21332         intersection of predecessors with the new flow graph structures.
21333         (sbitmap_union_of_succs): New function to compute the union of
21334         successors with the new flow graph structures.
21335         (sbitmap_union_of_preds): New function to compute the union of
21336         predecessors with the new flow graph structures.
21337         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
21338         (expr_reaches_here_p): Use edge and basic_block structures instead
21339         of s_preds and s_succs.
21340         (compute_cprop_avinout): Use new sbitmap routines.
21341         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
21342         of s_preds and s_succs.
21343         * flow.c (compute_flow_dominators): Compute dominators using
21344         edges and basic blocks instead of s_preds and s_succs.
21345
21346 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21347
21348         * lists.c (unused_insn_list, unused_expr_list): New file for
21349         maintaining various types of lists. New statics for maintaining a
21350         cache of available INSN_LIST and EXPR_LIST nodes.
21351         (free_list): Static function for freeing a list of INSN/EXPR nodes.
21352         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
21353         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
21354         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
21355         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
21356         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
21357         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
21358         (free_INSN_LIST_node): Free an individual INSN_LIST node.
21359         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
21360         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
21361         (remove_dependence, free_pending_lists): Use new global routines.
21362         (flush_pending_lists, sched_analyze_insn): Use new global routines.
21363         (sched_analyze, compute_block_backward_dependences): Use new routines.
21364         (sched_analyze_1, sched_analyze_2): Use new routines.
21365         (schedule_insns): Use new global routines.
21366         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
21367         prototypes.
21368         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
21369         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
21370         prototypes.
21371         * toplev.c (rest_of_compilation): Initialize node cache.
21372         * Makefile.in (OBJS): Add lists.o to list of object files.
21373         (lists.o): Add dependancies.
21374
21375 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
21376
21377         * config/v850/v850.md: Fix compile time warning messages.
21378         * config/v850/v850.c: Fix compile time warning messages.
21379         * config/v850/v850.h: Fix compile time warning messages.
21380
21381 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21382
21383         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
21384         Remove unused prototype for `init_lengths'.
21385
21386 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21387
21388         * calls.c (emit_call_1): Mark parameter `stack_size' with
21389         ATTRIBUTE_UNUSED.
21390         (expand_call): Initialize variable `insn'.
21391         (emit_library_call): Likewise for variable `high_to_save'.
21392         (emit_library_call_value): Likewise.
21393         (store_one_arg): Likewise for variables `lower_bound' and
21394         `upper_bound'.
21395
21396         * combine.c (try_combine): Likewise for variables `i2_code_number'
21397         and `other_code_number'.
21398         (find_split_point): Likewise for variables `pos', `unsignedp' and
21399         `inner'.
21400         (simplify_if_then_else): Likewise for variables `op' and `c1'.
21401         (simplify_and_const_int): Remove unused variable `width'.
21402         (merge_outer_ops): Likewise.
21403
21404         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
21405         HOST_WIDE_INT' when comparing against one.
21406         (simplify_relational_operation): Likewise.
21407         (cse_insn): Initialize variables `src_eqv_volatile',
21408         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
21409
21410         * final.c (init_final): Constify parameter `filename'.
21411         (final_start_function): Mark parameter `optimize' with
21412         ATTRIBUTE_UNUSED.
21413         (profile_function): Likewise for parameters `first' and `optimize'.
21414         (output_source_line): Likewise for parameter `file'.
21415
21416         * integrate.c (subst_constants): Cast a value to `size_t' when
21417         comparing against one.
21418         (mark_stores): Initialize variable `mode'.  Cast a value to
21419         `size_t' when comparing against one.
21420
21421         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
21422
21423         * loop.c (move_movables): Initialize variable `first'.
21424         (strength_reduce): Likewise for variable `increment'.
21425         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
21426         value to `size_t' when comparing against one.
21427         (load_mems): Initialize variable `end_label'.
21428
21429         * output.h (init_final): Constify parameter.
21430
21431         * reload.c (decompose): Initialize variable `base'.
21432
21433         * reload1.c (reload): Likewise for variable `is_scalar'.
21434         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
21435         (choose_reload_regs): Initialize variable `mode'.
21436         (emit_reload_insns): Likewise for variable `store_insn'.
21437         (reload_cse_noop_set_p): Mark parameter `insn' with
21438         ATTRIBUTE_UNUSED.
21439         (reload_combine): Initialize variable `set'.
21440
21441         * unroll.c (unroll_loop): Likewise for variable `local_label'.
21442         (copy_loop_body): Cast a value to `size_t' when comparing against
21443         one.
21444
21445         * varasm.c (assemble_variable): Initialize variable `size_tree'.
21446         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
21447         (remove_from_pending_weak_list): Mark parameter `name' with
21448         ATTRIBUTE_UNUSED.
21449
21450 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21451
21452         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
21453         gcse dump file.
21454
21455 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
21456
21457         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
21458         (ASM_DECLARE_FUNCTION_NAME): Define.
21459         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
21460         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
21461         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
21462         not already defined.
21463
21464 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21465
21466         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
21467         of n_popped when call/call_value are not defined.
21468
21469 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
21470
21471         * tm.texi: GNU CC -> GCC conversion.
21472         (CC1_SPEC): Indicate it is used for all language front ends.
21473
21474 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
21475
21476         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
21477         NOTE_INSN_EH_REGION_END correctly.
21478
21479 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21480                           Jeff Law <law@cygnus.com>
21481
21482         * loop.c (strength_reduce): Automatically unroll loops if the
21483         unrolled loop size is smaller than the rolled loop size.
21484
21485         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
21486         and delete comment that code should be rewritten.
21487
21488 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
21489
21490         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
21491         as reachable.
21492
21493         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
21494
21495 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21496
21497         * fixinc/mkfixinc.sh: Don't fix uwin headers.
21498         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
21499         (LINK_SPEC): Add -u _main when building executables.
21500         (ASM_DECLARE_FUNCTION): Update from Cygwin.
21501         (ASM_FILE_END): Use the default for ix86-pe.
21502         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
21503
21504 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
21505
21506         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
21507         and ASM_CLOSE_PAREN are empty strings.
21508
21509 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
21510                           Geoffrey Keating <geoffk@cygnus.com>
21511
21512         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
21513         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
21514         (unprotoize.o): Ditto.
21515         (test-protoize-simple): Don't define STD_PROTO_DIR.
21516         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
21517         changes to make 'test-protoize-simple' pass.
21518         (STD_PROTO_DIR): Remove define.
21519         (STANDARD_EXEC_PREFIX): Supply default define.
21520         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
21521         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
21522         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
21523         (GET_ENV_PATH_LIST): New macro.
21524         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
21525         (do_processing): Initialize default_syscalls_dir using new
21526         macros.  Use it to initialize syscalls_absolute_filename.
21527
21528 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
21529
21530         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
21531         B into a register before emit_conditional_move.
21532
21533 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
21534
21535         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
21536         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
21537         multiplicand out of (+ (* a b) (* c d)).
21538
21539 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
21540                           Richard Henderson  <rth@cygnus.com>
21541
21542         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
21543         (new_insn_dead_notes): Likewise.
21544         (update_n_sets): Likewise.
21545         (update_flow_info): Move to flow.c, renamed to update_life_info;
21546         extend to handle multiple source insns.
21547         * flow.c: Include resource.h
21548         (unlink_insn_chain): New.
21549         (split_hard_reg_notes): New.
21550         (maybe_add_dead_note): New.
21551         (maybe_add_dead_note_use): New.
21552         (find_insn_with_note): New.
21553         (new_insn_dead_notes): New.
21554         (update_n_sets): New.
21555         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
21556         (maybe_remove_dead_notes): New.
21557         (update_life_info): New.
21558         (prepend_reg_notes): New.
21559         (replace_insns): New.
21560         * output.h (update_life_info): Declare.
21561         * recog.c (split_block_insns): Use update_life_info.
21562         * resource.c (find_free_register): Use reg_alloc_order, don't use
21563         fixed regs, make sure the mode is supported, don't use new regs.
21564         (reg_dead_p): New.
21565         * rtl.h (replace_insns): Declare.
21566
21567 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
21568
21569         * expr.c (expand_expr): Cope with COND_EXPRs with one
21570         non-returning branch.
21571
21572 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
21573
21574         * expr.c (store_expr): Always pass down the target, even when not
21575         doing CSE.
21576
21577 1999-08-24  Nick Clifton  <nickc@cygnus.com>
21578
21579         * configure.in: Define target_cpu_default for v850 targets.
21580         * configure: Regenerate
21581
21582         * config/v850/v850.h (TARGET_CPU_generic): Define.
21583         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
21584         addresses are 4 byte aligned.
21585
21586         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
21587         addresses.
21588
21589 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21590
21591         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
21592         (main): Add prototypes.
21593
21594         * genattrtab.c (substitute_address, write_const_num_delay_slots,
21595         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
21596         (write_attr_get): Emit prototypes along with function definition.
21597         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
21598         (write_complex_function): Emit static prototype along with
21599         function definition.
21600
21601         * genemit.c (gen_split): Emit prototypes along with function
21602         definition.
21603
21604         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
21605         Likewise for predicates and `insn_operand_predicate'.
21606         (process_template): Emit static prototype along with function
21607         definition.
21608
21609         * genrecog.c (make_insn_sequence): Constify a char*.  Add
21610         prototypes for get_split_*().
21611         (write_subroutine): Emit prototypes along with function
21612         definition.
21613
21614 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21615
21616         * gcse.c (find_avail_set): Follow chains of register-register copies.
21617         Use oprs_not_set_p to guarantee that the returned value can be
21618         substituted.
21619         (cprop_insn): Don't verify the return value of find_avail_set with
21620         oprs_not_set_p.
21621
21622         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
21623         (cprop_cc0_jump): New function.
21624         (cprop_insn): Break out new function cprop_jump and use it.
21625         Also use cprop_cc0_jump for machines with CC0.
21626         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
21627
21628         * tree.h (current_function_calls_setjmp,
21629         current_function_calls_longjmp): Delete declarations.
21630         * dsp16xx.c: Include "function.h".
21631         * elxsi.c: Likewise.
21632         * gmicro.c: Likewise.
21633         * h8300.c: Likewise.
21634         * i370.c: Likewise.
21635         * m32r.c: Likewise.
21636         * mn10200.c: Likewise.
21637         * mn10300.c: Likewise.
21638         * ns32k.c: Likewise.
21639         * spur.c: Likewise.
21640         * v850.c: Likewise.
21641
21642         * rtl.h (rtx_equal_function_value_matters): Declare.
21643         * toplev.c (rtx_equal_function_value_matters): Don't declare.
21644         * cse.c: Likewise.
21645         * function.c: Likewise.
21646         * emit-rtl.c: Likewise.
21647
21648 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
21649
21650         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
21651         call.
21652
21653 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21654
21655         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
21656         exactly.
21657
21658 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
21659
21660         * cpp.texi: Add a node documenting macro varargs (copied
21661         from extend.texi).
21662
21663 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
21664
21665         * cppspec.c: Put a null pointer at the end of the new argv.
21666
21667 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
21668
21669         * configure.in: Remove code to select/de-select the haifa
21670         scheduler.  Every scheduled port gets haifa now.
21671         * configure: Rebuilt.
21672         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
21673         * sched.c Deleted.
21674         * Makefile.in: Corresponding changes.
21675
21676 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21677
21678         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
21679         All callers changed.
21680         (prepare_float_lib_cmp): Likewise.
21681         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
21682         * expr.h (emit_float_lib_cmp): Delete declaration.
21683         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
21684         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
21685         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
21686         specially.
21687         (cmptf): Now conditional on TARGET_HARD_QUAD.
21688
21689 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
21690
21691         * resource.c (mark_target_live_regs): Use
21692         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
21693
21694 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21695
21696         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
21697
21698         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
21699
21700         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
21701
21702 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21703
21704         * rtl.h (rtx_format): Constify a char*.
21705
21706         * rtl.c (rtx_format): Likewise.
21707         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
21708         (init_rtl): Use accessor macro, not `rtx_format'.
21709
21710         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
21711         char*.
21712
21713         * caller-save.c (mark_referenced_regs): Likewise.
21714
21715         * combine.c (subst, make_compound_operation, known_cond,
21716         gen_rtx_combine, update_table_tick, get_last_value_validate,
21717         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
21718
21719         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
21720         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
21721         count_reg_usage): Likewise.
21722
21723         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
21724         Likewise.
21725
21726         * final.c (leaf_renumber_regs_insn): Likewise.
21727
21728         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
21729         dump_edge_info, count_reg_references): Likewise.
21730
21731         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
21732         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
21733         Likewise.
21734
21735         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
21736         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
21737         add_label_notes): Likewise.
21738
21739         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
21740         clear_struct_flag, count_sub_rtxs, count_alternatives,
21741         compares_alternatives_p, contained_in_p, walk_attr_value,
21742         write_expr_attr_cache): Likewise.
21743
21744         * genconfig.c (walk_insn_part): Likewise.
21745
21746         * genemit.c (max_operand_1, gen_exp): Likewise.
21747
21748         * genextract.c (walk_rtx): Likewise.
21749
21750         * genflags.c (num_operands): Likewise.
21751
21752         * genoutput.c (scan_operands): Likewise.
21753
21754         * genpeep.c (match_rtx): Likewise.
21755
21756         * genrecog.c (add_to_sequence): Likewise.
21757
21758         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
21759         Likewise.
21760
21761         * integrate.c (save_constants, copy_for_inline,
21762         copy_rtx_and_substitute, subst_constants, restore_constants):
21763         Likewise.
21764
21765         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
21766         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
21767
21768         * local-alloc.c (contains_replace_regs, memref_referenced_p):
21769         Likewise.
21770
21771         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
21772         add_label_notes, replace_call_address, count_nonfixed_reads,
21773         invariant_p, find_single_use_in_loop, find_mem_givs,
21774         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
21775         Likewise.
21776
21777         * print-rtl.c (reg_names, print_rtx): Likewise.
21778
21779         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
21780
21781         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
21782         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
21783         print_blocks): Likewise.
21784
21785         * regclass.c (fix_register, record_address_regs,
21786         reg_scan_mark_refs): Likewise.
21787
21788         * regmove.c (stable_but_for_p): Likewise.
21789
21790         * reload.c (loc_mentioned_in_p, operands_match_p,
21791         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
21792         copy_replacements, refers_to_regno_for_reload_p,
21793         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
21794         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
21795         Likewise.
21796
21797         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
21798         delete_address_reloads_1, count_occurrences,
21799         reload_cse_mem_conflict_p, reload_combine_note_use,
21800         add_auto_inc_notes): Likewise.
21801
21802         * resource.c (mark_referenced_resources, mark_set_resources):
21803         Likewise.
21804
21805         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
21806         reg_mentioned_p, regs_set_between_p, modified_between_p,
21807         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
21808         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
21809         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
21810         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
21811
21812         * sched.c (sched_analyze_2, attach_deaths): Likewise.
21813
21814         * stupid.c (stupid_mark_refs): Likewise.
21815
21816         * unroll.c (remap_split_bivs): Likewise.
21817
21818         * varasm.c (mark_constants): Likewise.
21819
21820         * a29k/a29k.c (uses_local_reg_p): Likewise.
21821
21822         * alpha/alpha.c (summarize_insn): Likewise.
21823
21824         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
21825         eliminate_lr2ip): Likewise.
21826
21827         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
21828
21829         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
21830         reg_mentioned_in_mem): Likewise.
21831
21832         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
21833         symbolic_reference_mentioned_p): Likewise.
21834
21835         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
21836
21837         * sh/sh.c (regs_used, mark_use): Likewise.
21838
21839         * vax/vax.c (vax_rtx_cost): Likewise.
21840
21841 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21842
21843         * machmode.h (mode_name): Constify a char*.
21844
21845         * rtl.c (mode_name): Likewise.
21846
21847         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
21848
21849         * optabs.c (init_libfuncs): Constify a char*.
21850
21851         * print-tree.c (mode_name): Remove redundant declaration.
21852         (print_node): Use accessor macro, not `mode_name'.
21853
21854         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
21855         not `mode_name'.
21856         (new_spill_reg): Constify a char*.
21857
21858         * tree.c (mode_name): Remove redundant declaration.
21859
21860 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21861
21862         * rtl.c (rtx_name): Constify a char*.
21863
21864         * rtl.h (rtx_name, fix_sched_param): Likewise.
21865
21866         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
21867         (mypr): Use accessor macro, not `rtx_name'.
21868
21869         * genemit.c (print_code): Constify a char*.
21870
21871         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
21872
21873         * genpeep.c (print_code): Constify a char*.
21874
21875         * genrecog.c (print_code): Likewise.
21876
21877         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
21878         end_bb): Add static prototype.
21879         (draw_edge): Constify a char*.
21880         (end_bb): Remove unused parameter.
21881
21882         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21883         print_block_visualization): Constify a char*.
21884
21885 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
21886
21887         * c-common.c (c_get_alias_set): Update comment.
21888
21889 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21890
21891         * linux.h (LIB_SPEC): Added.
21892
21893 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21894
21895         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21896
21897 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
21898
21899         * tree.c (expr_check): Fix typo in last change.
21900
21901 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
21902
21903         * rtl.def (NOTE): Change format to "iuu0n".
21904         (ADDR_DIFF_VEC): Change format to "eEee0".
21905         (ADDRESSOF): Change format to "eit".
21906
21907         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21908         (RTVEC_ELT): Change to match.
21909         (XVECEXP): Use XVEC and RTVEC_ELT.
21910         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21911         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21912         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21913         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21914         TRAP_CONDITION, TRAP_CODE): Use XEXP.
21915         (INTVAL): Use XWINT.
21916         (ADDRESSOF_DECL): Use XTREE.
21917         (SET_ADDRESSOF_DECL): Delete.
21918         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21919         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
21920         ifdefed out since 2.6 at least.
21921         (gen_rtvec_vv): Delete prototype.
21922
21923         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21924         not rtunion.
21925         (copy_most_rtx): Handle 't' format letter.
21926         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21927         (gen_rtvec_vv): Delete function.  All callers changed to use
21928         gen_rtvec_v instead.
21929         * print-rtl.c (print_rtx): Move special casing of NOTEs to
21930         the '0' format letter.
21931
21932         * function.c (gen_mem_addressof): Don't use
21933         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21934         instead.
21935         * integrate.c (copy_rtx_and_substitute): Likewise.
21936         Copy 't' slots with XTREE.
21937         (subst_constants): Treat 't' slots like '[swi]' slots.
21938         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21939         * jump.c (rtx_equal_for_thread_p): Likewise.
21940         * rtlanal.c (rtx_equal_p): Likewise.
21941         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21942         only four arguments.
21943         * gengenrtl.c (type_from_format): Provide correct types for
21944         'b' and 't' slots.
21945
21946
21947         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21948         If a recent gcc is in use (always in stage2 and beyond), use
21949         statement expressions, so we don't make a function call unless
21950         the check fails.  Evaluate arguments exactly once.
21951         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21952         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21953         Delete.
21954         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21955         they evaluate their arguments exactly once, irrespective of
21956         the compiler in use.
21957
21958         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21959         is used by the currently-enabled check macros.  This is:
21960         (tree_check_failed, tree_class_check_failed): For gcc.
21961         (tree_check, tree_class_check, cst_or_constructor_check,
21962         expr_check): For other compilers.
21963
21964         * gencheck.c: Do not define any *_CHECK1 macros.
21965
21966 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
21967                           Mark Mitchell <mark@codesourcery.com>
21968
21969         * c-common.c (c_get_alias_set): Fix support for poitners and
21970         references.
21971
21972 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
21973
21974         * alias.c: Include tree.h.
21975         (nonlocal_reference_p, mark_constant_function): New functions.
21976         * flow.c (life_analysis): Call mark_constant_function.
21977         * rtl.h (mark_constant_function): Declare it.
21978
21979 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
21980
21981         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21982         unrecognisable switches.
21983
21984 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21985
21986         * loop.c (recombine_givs): Set ix field after sorting.
21987         (recombine_givs): Remove bogus index / giv lockstep looping.
21988
21989 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21990
21991         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21992         on CODE.
21993         (emit_store_flag_force): Use do_compare_rtx_and_jump.
21994         (do_cmp_and_jump): Formatting fixes.
21995         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21996         do_compare_rtx_and_jump instead of compare_from_rtx.
21997         (do_compare_rtx_and_jump): New function; mostly copied from
21998         compare_from_rtx.
21999         (do_jump_for_compare): Delete.
22000         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
22001         MIN_EXPR.
22002         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
22003         of compare/do_jump_for_compare pairs.
22004         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
22005         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
22006         compare_from_rtx/do_jump_for_compare pairs.
22007         (do_jump_by_parts_equality): Likewise.
22008         (do_jump_by_parts_equality_rtx): Likewise.
22009         * expr.h (do_compare_rtx_and_jump): Declare.
22010         * optabs.c (prepare_cmp_insn): New function, contains most of the code
22011         that used to be in emit_cmp_insn.
22012         (cmp_available_p): New function.
22013         (prepare_operand): New function.
22014         (emit_cmp_and_jump_insn_1): New function, contains some code that used
22015         to be in emit_cmp_insn.
22016         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
22017         parameters to be pointers; don't emit final compare but modify some of
22018         the values pointed to by the args so the caller can perform the
22019         correct comparison.
22020         (expand_binop): Call emit_store_flag_force with signed forms of
22021         comparison code.
22022         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
22023         emit_jump_insn pair.
22024         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
22025         emit_cmp_and_jump_insn_1.  Call emit_queue.
22026         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
22027         arg.
22028         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
22029         jump sets cc0 before deleting it.
22030         * integrate.c (expand_inline_function): Likewise.
22031         * unroll.c (unroll_loop): Similar changes in several places.
22032         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
22033         before deleting it.
22034
22035 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22036
22037         * Makefile.in (insn-recog.o): Update dependencies.
22038         * genrecog.c (main): Make generated file include "function.h".
22039
22040 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
22041
22042         * cse.c (cse_insn): Call never_reached_warning when a jump is
22043         changed to be unconditional.
22044         * flags.h: Declare warn_notreached.
22045         * flow.c (delete_block): Call never_reached_warning when
22046         a block is deleted.
22047         * jump.c (delete_barrier_successors): Call never_reached_warning
22048         when we delete everything after a BARRIER.
22049         (never_reached_warning): New function.
22050         * rtl.h: Declare never_reached_warning.
22051         * toplev.c (warn_notreached): New variable.
22052         (lang_independent_options): Set warn_notreached
22053         when -Wunreachable-code.
22054         (compile_file): We need line numbers for -Wunreachable-code.
22055
22056 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
22057
22058         * haifa-sched.c (insn_unit): Fix typo on out of range test.
22059         * sched.c (insn_unit): Likewise.
22060
22061 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
22062
22063         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
22064
22065 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22066
22067         * flow.c (create_edge_list): Use xmalloc, not malloc.
22068
22069 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
22070
22071         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
22072         C-style comments.  Do not lose the character before double slash.
22073
22074 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22075
22076         * basic-block.h (struct edge_list): Stucture to maintain a vector
22077         of edges.
22078         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
22079          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
22080         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
22081         New function prototypes.
22082         * flow.c (create_edge_list): Function to create an edge list.
22083         (free_edge_list): Discards memory used by an edge list.
22084         (print_edge_list): Debug output showing an edge list.
22085         (verify_edge_list): Internal consistency check for an edge list.
22086         (find_edge_index): Function to find an edge index for a pred and succ.
22087
22088 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
22089
22090         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
22091         hashtable.
22092
22093 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
22094
22095         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
22096
22097 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
22098
22099         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22100
22101 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
22102
22103         * toplev.c (rest_of_compilation): Allow machine dependent
22104         reorganisation pass to place information into the RTL dump
22105         file if it so wishes.
22106
22107 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
22108
22109         * explow.c (hard_function_value): Use VOIDmode instead of
22110         MAX_MACHINE_MODE.
22111         * stmt.c (expand_return): Likewise.
22112         * stor-layout.c (get_best_mode): Likewise.
22113
22114         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
22115         emit call instead of emit_insn call.
22116
22117 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22118
22119         * configure.in: Handle --disable/enable-win32-registry.
22120         * install.texi: Document --disable/enable-win32-registry.
22121         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
22122         (WIN32_REGISTRY_KEY): New macro.
22123         * prefix.c: Use to enable/disable win32-specific code.
22124         (lookup_key): Use versioned key.
22125         * configure: Regenerate.
22126         * config.in: Likewise.
22127
22128 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
22129
22130         * cpplib.c (read_line_number): New fn, split out of...
22131         (do_line): Here.
22132
22133 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22134
22135         tree.c (lang_unsave_expr_now) : New.
22136         (unsave_expr_now): Call lang_unsave_expr_now.
22137         tree.h (lang_unsave_expr_now) : New.
22138
22139 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
22140
22141         * toplev.c (flag_new_exceptions): On by default.
22142
22143 1999-08-13  Michael Meissner  <meissner@cygnus.com>
22144
22145         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
22146
22147 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22148
22149         * dwarfout.c (fundamental_type_code): Return FT_boolean for
22150         INTEGER_TYPE with precision==1, it's __java_boolean.
22151
22152 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22153
22154         * global.c (prune_preferences): Move some invariants out of the
22155         inner loop.
22156
22157 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
22158
22159         * configure.in (alpha*-dec-osf*): Add osf5.
22160
22161 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
22162
22163         * configure.in: Rework handling of ARM GNU/Linux slightly.
22164         (arm*-*-linux-gnuoldld): New target.
22165         * configure: Regenerate.
22166         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
22167         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
22168         * config/arm/linux-oldld.h: New file.
22169         * config/arm/linux-elf26.h: Don't include linux-elf.h.
22170         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
22171         Don't define.
22172         * config/arm/linux-elf.h (ASM_SPEC): Define.
22173         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
22174         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
22175         for 26-bit APCS and old linker.
22176         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
22177         `arm_elf'.
22178         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
22179         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
22180         don't define `arm' or `arm_elf'.
22181         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
22182         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
22183
22184 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
22185
22186         * rtl.texi: Fix typo.
22187
22188 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
22189
22190         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
22191
22192 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
22193
22194         * extend.texi (C++ Signatures): Remove node.
22195         * invoke.texi: Remove discussion of -fhandle-signatures,
22196         signature, sigof, __signature__, and __sigof__.
22197
22198 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
22199
22200         * Makefile.in (JAVAGC): Removed.
22201
22202 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22203
22204         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22205
22206 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
22207
22208         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22209
22210 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
22211
22212         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
22213         a register that is already known to be a pointer.
22214
22215 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
22216
22217         * fixinc/inclhack.tpl: Only install assert.h conditionally.
22218         * fixinc/inclhack.sh: Regenerated.
22219         * fixinc/fixincl.sh: Regenerated.
22220
22221 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
22222
22223         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
22224         Fix documentation of -ansi flag to describe its C++ behavior.
22225         Remove bogus reference to GCC 2.9.
22226
22227 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
22228
22229         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
22230         note if it is non-NULL.
22231
22232 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22233
22234         * except.h (eh_nesting_info): Add new structure defintion.
22235         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
22236         (reachable_handlers, update_rethrow_references): Add function
22237         prototypes.
22238         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
22239         a rethrow symbol instead of an integer exception region number.
22240         * flow.c (Make_edges): Use new exception nesting routines to determine
22241         which handlers are reachable from a CALL or asynchronous insn.
22242         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
22243         goto receivers.
22244         (delete_eh_regions): Update rethrow labels, and don't delete
22245         regions which are the target of a rethrow.
22246         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
22247         avoid overloading the SYMBOL_REF_USED flag.
22248         (rethrow_symbol_map): Use new rethrow_ref field.
22249         (rethrow_used): Use new rethrow_ref field.
22250         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
22251         of an integer.  Fix formatting.
22252         (output_exception_table_entry): Use new rethrow_ref field.
22253         (can_throw): Check for EH_REGION_NOTE before deciding
22254         whether a CALL can throw or not.
22255         (scan_region): Call rethrow_used() instead of accessing data structure.
22256         (update_rethrow_references): New function to make sure only regions
22257         which are still targets of a rethrow are flagged as such.
22258         (process_nestinfo): New static function to initialize a handler
22259         list for a specific region.
22260         (init_eh_nesting_info): New function to allocate and initialize
22261         the list of all EH handlers reachable from all regions.
22262         (reachable_handlers): New function to retrieve the list of handlers
22263         reachable from a specific region and insn.
22264         (free_eh_nesting_info): New function to dispose of a list of
22265         reachable handlers.
22266
22267 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22268
22269         * flow.c (split_edge): Set JUMP_LABEL field.
22270         (commit_one_edge_insertion): Set head correctly for insert_before.
22271         When inserting insns, update insn block numbers if allocated.
22272
22273 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22274
22275         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
22276         retry_incomplete_types): Add static prototype.
22277         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
22278         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
22279         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
22280         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
22281         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
22282         Constify a char*.
22283
22284         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
22285         dwarf2out_start_source_file, dwarf2out_line): Likewise.
22286
22287 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22288
22289         * output.h (assemble_name): Constify a char*.
22290
22291         * varasm.c (UNIQUE_SECTION, assemble_start_function,
22292         assemble_variable, assemble_name): Likewise.
22293
22294         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
22295
22296         * arm/pe.c (arm_pe_unique_section): Likewise.
22297
22298         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
22299
22300         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
22301
22302         * i386/interix.c (i386_pe_unique_section): Likewise.
22303
22304         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
22305
22306         * i386/winnt.c (i386_pe_unique_section): Likewise.
22307
22308         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
22309
22310         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
22311
22312         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
22313
22314         * pa/pa.c (output_call): Likewise.
22315
22316         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
22317
22318         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
22319
22320         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
22321         Likewise.
22322
22323         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
22324         Likewise.
22325
22326         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
22327
22328         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
22329         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
22330
22331         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
22332
22333 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22334
22335         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
22336
22337 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22338
22339         * tree.h (lang_identify): Constify a char*.
22340         (print_error_function): Add extern prototype.  Constify a char*.
22341
22342         * c-lang.c (lang_identify): Constify a char*.
22343
22344         * objc/objc-act.c (lang_identify): Constify a char*.
22345
22346 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22347
22348         * genpeep.c (main): Make generated file include "function.h".
22349         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
22350
22351 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22352
22353         * Makefile.in: Update dependencies.
22354         * alias.c: Include "function.h"
22355         * c-decl.c: Likewise.
22356         * caller-save.c: Likewise.
22357         * calls.c: Likewise.
22358         * combine.c: Likewise.
22359         * cse.c: Likewise.
22360         * explow.c: Likewise.
22361         * final.c: Likewise.
22362         * global.c: Likewise.
22363         * graph.c: Likewise.
22364         * local-alloc.c: Likewise.
22365         * loop.c: Likewise.
22366         * optabs.c: Likewise.
22367         * profile.c: Likewise.
22368         * recog.c: Likewise.
22369         * regclass.c: Likewise.
22370         * regmove.c: Likewise.
22371         * reload.c: Likewise.
22372         * reorg.c: Likewise.
22373         * resource.c: Likewise.
22374         * sched.c: Likewise.
22375         * stupid.c: Likewise.
22376         * config/1750a/1750a.c: Likewise.
22377         * config/a29k/a29k.c: Likewise.
22378         * config/arc/arc.c: Likewise.
22379         * config/arm/arm.c: Likewise.
22380         * config/arm/thumb.c: Likewise.
22381         * config/c4x/c4x.c: Likewise.
22382         * config/clipper/clipper.c: Likewise.
22383         * config/convex/convex.c: Likewise.
22384         * config/fx80/fx80.c: Likewise.
22385         * config/i860/i860.c: Likewise.
22386         * config/m68k/m68k.c: Likewise.
22387         * config/m88k/m88k.c: Likewise.
22388         * config/mips/mips.c: Likewise.
22389         * config/pdp11/pdp11.c: Likewise.
22390         * config/pyr/pyr.c: Likewise.
22391         * config/romp/romp.c: Likewise.
22392         * config/sh/sh.c: Likewise.
22393         * config/tahoe/tahoe.c: Likewise.
22394         * config/vax/vax.c: Likewise.
22395         * config/we32k/we32k.c: Likewise.
22396         * config/sparc/sparc.c: Include "function.h".
22397         (mem_min_alignment): Test current_function rather than
22398         regno_pointer_align.
22399         * config/pa/pa.c: Likewise.
22400         (compute_frame_size): Delete declaration of
22401         current_function_outgoing_args_size.
22402         * config/arc/arc.h (current_function_varargs): Delete declaration.
22403         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
22404         declaration.
22405         * config/i370/i370.h (current_function_outgoing_args_size): Delete
22406         declaration.
22407         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
22408         current_function_uses_pic_offset_table.
22409         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
22410         of current_function_returns_pointer.
22411         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22412         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22413         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22414         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22415         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22416         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22417         * config/m88k/m88k.c: Include "function.h"
22418         (call_used_regs, current_function_pretend_args_size,
22419         current_function_outgoing_args_size, frame_pointer_needed): Delete
22420         declarations.
22421         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
22422         declaration.
22423         * config/mips/mips.h (current_function_calls_alloca): Delete
22424         declaration.
22425         * config/mn10200/mn10200.h (current_function_needs_context,
22426         rtx_equal_function_value_matters): Delete declarations.
22427         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
22428         flag_pic): Delete declarations.
22429         * config/pa/pa.h (current_function_pretend_args_size,
22430         current_function_decl): Delete declarations.
22431         * config/pa/som.h (current_function_varargs): Delete declaration.
22432         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
22433         declaration.
22434         * config/pyr/pyr.h (current_function_pretend_args_size,
22435         current_function_args_size, current_function_calls_alloca): Delete
22436         declarations.
22437         * config/sh/sh.h (current_function_varargs): Delete declaration.
22438         * config/sparc/sparc.h (current_function_outgoing_args_size,
22439         current_function_calls_alloca, current_function_decl): Delete
22440         declarations.
22441         * config/spur/spur.h (current_function_pretend_args_size,
22442         current_function_calls_alloca): Delete declarations.
22443         * config/v850/v850.c (current_function_outgoing_args_size): Delete
22444         declaration.
22445         * config/vax/vms.h (current_function_name): Delete declaration.
22446         * gcse.c: Include "function.h".
22447         (current_function_name, current_function_calls_setjmp): Delete
22448         declarations.
22449         * haifa-sched.c: Include "function.h".
22450         (forced_labels): Delete declaration.
22451         * jump.c: Likewise.
22452         * reg-stack.c: Likewise.
22453         * reload1.c: Likewise.
22454         * genemit.c (main): Make generated file include function.h.
22455         * genoutput.c (output_prologue): Likewise.
22456
22457         * builtins.c (saveregs_value, apply_args_value): Delete variables.
22458         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
22459         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
22460         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
22461         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
22462         macros for some of them.
22463         (emit_filename, emit_lineno): Delete declarations.
22464         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
22465         regno_pointer_* variables through current_function.
22466         (gen_inline_header_rtx): Delete function.
22467         (save_emit_status): Delete function.
22468         (set_new_last_label_num): New function.
22469         (clear_emit_caches): New function.
22470         (restore_emit_status): Just clear last_labelnum and call
22471         clear_emit_caches.
22472         (get_last_insn_anywhere): Variable sequence_stack is now accessed
22473         through macro seq_stack.
22474         (add_insn_after): Likewise.
22475         (add_insn_before): Likewise.
22476         (remove_insn): Likewise.
22477         (pop_topmost_sequence): Likewise.
22478         (in_sequence_p): Likewise.
22479         (start_sequence_for_rtl_expr): Likewise.
22480         (start_sequence): Likewise, and likewise for
22481         sequence_rtl_expr/seq_rtl_expr.
22482         (push_topmost_sequence): Likewise.
22483         (end_sequence): Likewise.
22484         (init_virtual_regs): Now takes a "struct emit_status *" argument.
22485         All callers changed.  Store into that pointer instead of globals.
22486         (init_emit): Allocate emit elt of current_function.
22487         Changes for sequence_rtl_expr/sequence_stack renaming.
22488         Call clear_emit_caches instead of doing it in-line.
22489         Access regno_pointer_* variables through current_function.
22490         (init_emit_once) Don't clear sequence_stack.
22491
22492         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
22493         Delete variables.
22494         (arg_pointer_save_area): Delete declaration.
22495         (finish_expr_for_function): Renamed from init_queue; no longer static.
22496         (init_expr): Don't call init_queue.
22497         (save_expr_status, restore_expr_status): Delete functions.
22498         (expand_expr): Changes to reflect new layout of struct function.
22499         Don't access current_function_check_memory_usage when current_function
22500         is 0.
22501         * expr.h (forced_labels, save_expr_regs, saveregs_value,
22502         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
22503         current_function_outgoing_args_size, current_function_arg_offset_rtx,
22504         current_function_uses_const_pool, function_call_count,
22505         current_function_uses_pic_offset_table, nonlocal_labels,
22506         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
22507         current_function_check_memory_usage, nonlocal_goto_handler_slots,
22508         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
22509         declarations.
22510         (finish_expr_for_function): Declare.
22511         * flags.h (current_function_has_nonlocal_label,
22512         current_function_has_nonlocal_goto, current_function_is_thunk,
22513         current_function_has_computed_jump): Delete declarations.
22514         * flow.c (forced_labels): Delete declaration.
22515         * function.c (current_function_pops_args,
22516         current_function_returns_struct, current_function_returns_pcc_struct,
22517         current_function_needs_context, current_function_calls_setjmp,
22518         current_function_calls_longjmp, current_function_has_nonlocal_label,
22519         current_function_has_nonlocal_goto, current_function_is_thunk,
22520         current_function_has_computed_jump, current_function_calls_alloca,
22521         current_function_contains_functions, current_function_returns_pointer,
22522         current_function_epilogue_delay_list, current_function_args_size,
22523         current_function_pretend_args_size, current_function_arg_offset_rtx,
22524         current_function_outgoing_args_size, current_function_varargs,
22525         current_function_stdarg, current_function_args_info, cleanup_label,
22526         current_function_name, current_function_uses_const_pool,
22527         current_function_instrument_entry_exit, current_function_return_rtx,
22528         current_function_uses_pic_offset_table, nonlocal_labels,
22529         current_function_internal_arg_pointer, current_function_cannot_inline,
22530         current_function_check_memory_usage, function_call_count,
22531         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
22532         nonlocal_goto_stack_level, return_label, save_expr_regs,
22533         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
22534         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
22535         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
22536         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
22537         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
22538         Delete variables.
22539         (push_function_context_to): Don't save them.  Don't call
22540         save_storage_status, save_emit_status or save_expr_status.
22541         (pop_function_context_from): Don't restore them.  Don't call
22542         restore_storage_status or restore_expr_status.
22543         (get_func_frame_size): New function.
22544         (get_frame_size): Use it.
22545         (assign_outer_stack_local): Reflect some member name changes in struct
22546         function.
22547         (put_reg_into_stack): Likewise.
22548         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
22549         seq_rtl_expr.
22550         (fixup_var_refs): Likewise.
22551         (fix_lexical_addr): Likewise.
22552         (trampoline_address): Likewise.
22553         (prepare_function_start): Clear field inlinable of current_function.
22554         (init_function_for_compilation): New function.
22555         (expand_dummy_function_end): New function.
22556         (expand_function_end): Call finish_expr_for_function.
22557         * function.h (struct emit_status): New; fields moved here from struct
22558         function and from global variables.  Add accessor macros for some of
22559         the fields.
22560         (struct expr_status): Likewise.
22561         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
22562         (struct function): Add fields expr and emit, inlinable, inl_emit,
22563         original_arg_vector, original_decl_initial, inl_last_parm_insn,
22564         inl_max_label_num.  Add many comments.
22565         Add accessor macros for all elts of struct function that no longer
22566         have a global variable.
22567         (cleanup_label, return_label, frame_offset, tail_recursion_label,
22568         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
22569         stack_slot_list): Delete declarations.
22570         (get_func_frame_size): Declare.
22571         (save_expr_status, restore_expr_status, save_emit_status,
22572         save_storage_status, restore_storage_status): Delete declarations.
22573         (init_virtual_regs): Declare.
22574         * output.h (current_function_pops_args,
22575         current_function_returns_struct, current_function_returns_pcc_struct,
22576         current_function_needs_context, current_function_calls_setjmp,
22577         current_function_calls_longjmp, current_function_calls_alloca,
22578         current_function_has_nonlocal_label, current_function_varargs,
22579         current_function_has_computed_jump, current_function_returns_pointer,
22580         current_function_contains_functions, current_function_args_size,
22581         current_function_pretend_args_size, current_function_stdarg,
22582         current_function_outgoing_args_size, current_function_args_info,
22583         current_function_name, current_function_return_rtx,
22584         current_function_epilogue_delay_list,
22585         current_function_uses_const_pool, current_function_cannot_inline):
22586         Delete declarations.
22587         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
22588         regno_reg_rtx): Delete declaration.
22589         (REGNO_POINTER_FLAG): Delete macro.
22590         * stmt.c (expand_goto): Changes to reflect that some fields in struct
22591         function were renamed.
22592         * stor-layout.c (save_storage_status, restore_storage_status): Delete
22593         functions.
22594         * toplev.c: Include "function.h".
22595         (current_function_decl): Delete declaration.
22596         (compile_file): Call init_dummy_function_start and
22597         expand_dummy_function_end around some initializations that need to
22598         emit rtl.
22599         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
22600         Call init_function_for_compilation.
22601         * unroll.c: Include "function.h"
22602         (unroll_loop): Access regno_pointer_* variables through
22603         current_function.
22604
22605         * tree.h (struct tree_decl): Add elt f to saved_insns member.
22606         (DECL_SAVED_INSNS): use it.
22607         (expand_dummy_function_end): Declare.
22608         (init_function_for_compilation): Declare.
22609         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
22610         that it's no longer an INLINE_HEADER.
22611         (expand_call): Likewise.
22612         * integrate.c (finish_inline): Delete function.
22613         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
22614         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
22615         args.  Don't generate an INLINE_HEADER rtx, just return the arg
22616         vector.  All callers changed.
22617         (save_for_inline_copying):  Create a duplicate struct emit_status to
22618         hold the emit state for compiling the current function.  Use this and
22619         the other new fields in struct function that are for integration
22620         instead of an INLINE_HEADER.
22621         Use memcpy instead of bcopy.
22622         Store the current struct function in DECL_SAVED_INSNS of fndecl.
22623         (save_for_inline_nocopy): Similar changes, except no new emit_status
22624         is needed here.
22625         (expand_inline_function): Get information from function structure,
22626         not from an inline header rtx.
22627         (output_inline_function): Lose code to extract the necessary
22628         information from an inline header; simply put back the function
22629         structure into current_function.  Clear its inlinable elt.
22630         * rtl.def (INLINE_HEADER): Delete.
22631         * rtl.h: Delete all accessors for an INLINE_HEADER.
22632         (gen_inline_header_rtx): Delete declaration.
22633         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
22634         Delete declarations.
22635         (REGNO_POINTER_ALIGN): Delete.
22636         (clear_emit_caches): Declare.
22637         (set_new_last_label_num): Declare.
22638
22639 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
22640
22641         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
22642
22643         * except.c (expand_eh_region_start_for_decl): Always start a new block.
22644         * stmt.c (is_eh_region): Make sure current_function is present, too.
22645
22646 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
22647
22648         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
22649         for 64bit PA targets.
22650
22651         * pa.h (SELECT_SECTION): Define.
22652         * som.h (SELECT_SECTION): Delete.
22653
22654 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22655
22656         * alias.c (init_alias_analysis): Wrap call to
22657         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
22658
22659 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
22660
22661         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
22662         <sys/asm.h> contains an asm comment with an apostrophe
22663         * fixinc/inclhack.sh:  regen
22664         * fixinc/fixincl.x:  regen
22665
22666 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
22667
22668         * function.c (init_function_start): Clear prologue & epilogue.
22669         (prologue_epilogue_contains): New function.
22670         * alias.c (init_alias_analysis): Use it.
22671         * rtl.h (prologue_epilogue_contains): Declare it.
22672
22673 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
22674
22675         * jump.c (onlyjump_p): New function.
22676         * rtl.h: Declare it.
22677         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
22678         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
22679
22680 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
22681
22682         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
22683         to invert loops.  Simplify block scanning.
22684
22685 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22686
22687         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
22688         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
22689
22690 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
22691
22692         * config/sparc/liteelf.h: New file to support sparclite-elf target
22693         * config/sparc/t-sp86x: New file to support sparc86x targets
22694         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
22695         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
22696         * configure.in: Support above target triplets
22697         * configure: Regenerated
22698
22699 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
22700
22701         * fixinc/server.c (server_setup): Do not prefix function used as
22702         parameter with `&'.
22703
22704 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
22705
22706         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
22707         Remove fp reg alternatives.
22708
22709 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
22710
22711         * Makefiin (TAROUTOPTS): Kill.
22712         (install-headers-tar): Use "xpf" for tar headerfile extraction
22713         * i370/x-oe (TAROUTOPTS): Delete.
22714         * m68k/x-apollo68 (TAROUTOPTS): Delete.
22715         * m68k/x-hp320 (TAROUTOPTS): Delete.
22716         * m68k/x-hp320g (TAROUTOPTS): Delete.
22717         * gcc.texi: Update bug reporting text.
22718
22719 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22720
22721         * reg-stack.c (change_stack) Fixed problem with negative array index.
22722
22723 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22724
22725         * extend.texi, install.texi: Fix spelling mistakes.
22726
22727         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
22728         (s-attrtab); No longer try to use pre-made insn-attrtab file.
22729         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
22730         PREMADE_ATTRTAB_MD.
22731         * mips/t-ecoff: Likewise.
22732         * mips/t-elf: Likewise.
22733         * mips/t-mips: Likewise.
22734         * mips/t-osfrose: Likewise.
22735         * mips/t-r3900: Likewise.
22736         * mips/t-svr3: Likewise.
22737         * mips/t-svr4: Likewise.
22738         * mips/t-ultrix: Likewise.
22739
22740         * gcc.texi: Document recommend means to provide software floating
22741         point libraries in libgcc.a
22742
22743 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
22744
22745         * c-lex.c (yylex): We can have a number with no digits.
22746
22747 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
22748
22749         * jump.c (delete_prior_computation): New function, broken
22750         out of delete_computation.  Check for side effects with
22751         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
22752         multi-word hard registers.
22753         (delete_computation): Use it.  Check for side effects with
22754         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
22755         missing REG_DEAD note for a register which is both set and
22756         used by an insn.
22757
22758 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
22759
22760         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
22761         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
22762         (ASM_FILE_START): Import _mcount with the right type.
22763         (ASM_DECLARE_FUNCTION_NAME): Define.
22764         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
22765         * pa.c (output_function_prologue): Always emit the function's label
22766         here.
22767         * pa.h (TEXT_SPACE_P): Define.
22768         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22769         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
22770         * som.h (TEXT_SPACE_P): Delete.
22771         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22772         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
22773
22774 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
22775
22776         * expr.c (emit_group_load): Allow src to be a CONCAT.
22777
22778 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22779
22780         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
22781         (___mulsi3): Use '!' comment character.
22782
22783 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22784
22785         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
22786
22787 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22788
22789         * gcc.c: Update URLs and mail addresses.
22790         * gcc.texi: Likewise.
22791
22792 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
22793
22794         * rs6000.c (current_file_function_operand): Return zero for
22795         weak functions.
22796         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
22797         weak symbols.
22798         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
22799         for weak symbols.
22800
22801 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
22802
22803         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
22804         allocate space in the stack frame for the PIC register.
22805
22806 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
22807
22808         * m68k.md (xordi3, anddi3): These patterns are not available on
22809         the coldfire.
22810
22811 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
22812
22813         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
22814         (PUT_REAL): Likewise.
22815
22816 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22817
22818         * final.c (shorten_branches): Don't add an alignment for loops
22819         that have no label inside.
22820
22821 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22822
22823         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
22824         prototypes in macro HAVE_cmpstrsi.
22825
22826         * cpplib.c (cpp_get_token): Remove unused label `op3'.
22827
22828         * emit-rtl.c (operand_subword): Remove unused variable
22829         `bits_per_word'.
22830
22831         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
22832
22833         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
22834
22835 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
22836
22837         * cpphash.c (macroexpand): Delete leading whitespace when arg
22838         is concatenated before.
22839         (unsafe_chars): Correct test for whether + and - can extend a
22840         token.
22841
22842         * cppinit.c (cpp_start_read): Do dependencies for
22843         -include/-imacros files also.
22844
22845         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
22846         tokenizing non-directive lines.
22847         (cpp_expand_to_buffer): Temporarily disable no-output mode.
22848         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
22849         the input file.
22850
22851 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22852
22853         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
22854
22855         * c-lex.c: Sync with C++ frontend.
22856         (linemode): New variable.
22857         (parse_float): imag, conversion_errno, and type are output only.
22858         (yylex): Adjust.  Move initial '.' case into main switch.
22859         Use linemode.
22860         (handle_generic_pragma): Just deal with tokens.
22861         (readescape): Use ISXDIGIT and ISGRAPH.
22862         * c-parse.in: Add END_OF_LINE token.
22863
22864         * c-lex.c (lang_init): Generalize.
22865         (nextchar): Remove.  Replace uses with UNGETC.
22866         (skip_white_space): Handle linemode here.  Optimize for cpplib.
22867         (skip_white_space_on_line): Remove.
22868         (extend_token_buffer_to): New fn.
22869         (extend_token_buffer): Use it.
22870         (read_line_number, check_newline): Just deal with tokens.
22871         (token_getch, token_put_back): New fns.
22872         (yylex): Use them.  More cpplib optimizations.  Simplify.
22873
22874 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22875                           Jason Merrill  <jason@yorick.cygnus.com>
22876
22877         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
22878         (consume_string): Make this smart about USE_CPPLIB.
22879         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
22880         (yylex): Rewrite to be intelligent about USE_CPPLIB.
22881         Also, clean up cases where we redundantly set token_buffer[0].
22882         (read_line_number): New fn.
22883         (ignore_escape_flag): New variable.
22884
22885 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
22886
22887         * a29k/t-a29kbare: Fix some comments.
22888         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22889         (FPBIT, DPBIT): Define.
22890         * a29k/t-vx29k: Likewise.
22891         * arc/t-arc: Likewise.
22892         * arm/t-arm-elf: Likewise.
22893         * arm/t-bare: Likewise.
22894         * arm/t-pe: Likewise.
22895         * arm/t-pe-thumb: Likewise.
22896         * arm/t-semi: Likewise.
22897         * arm/t-thumb: Likewise.
22898         * arm/t-thumb-elf: Likewise.
22899         * arm/t-thumb-linux: Likewise.
22900         * h8300/t-h8300: Likewise.
22901         * i960/t-i960: Likewise.
22902         * i960/t-vxworks960: Likewise.
22903         * m32r/t-m32r: Likewise.
22904         * mips/t-ecoff: Likewise.
22905         * mips/t-elf: Likewise.
22906         * mips/t-r3900: Likewise.
22907         * pa/t-pro: Likewise.
22908         * rs6000/t-aix43: Likewise.
22909         * rs6000/t-beos: Likewise.
22910         * rs6000/t-newas: Likewise.
22911         * rs6000/t-ppccomm: Likewise.
22912         * rs6000/t-rs6000: Likewise.
22913         * rs6000/t-winnt: Likewise.
22914         * rs6000/t-xnewas: Likewise.
22915         * rs6000/t-xrs6000: Likewise.
22916         * sh/t-sh: Likewise.
22917         * sparc/t-elf: Likewise.
22918         * sparc/t-sparcbare: Likewise.
22919         * sparc/t-sparclite: Likewise.
22920         * sparc/t-splet: Likewise.
22921         * v850/t-v850: Likewise.
22922         * mn10200/t-mn10200: Fix comments.
22923         * mn10300/t-mn10300: Likewise.
22924
22925         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22926         dummy operand.  Allocate a new pseudo for the dummy operand.
22927         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22928
22929         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22930
22931 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
22932
22933         * configure: Rebuilt.
22934         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22935
22936 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
22937
22938         * recog.c (preproces_constraints): Zero recog_op_alt before
22939         processing the constraints.
22940
22941         * arm.c (typedef minipool_node): Renamed from pool_node.
22942         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22943         (add_minipool_constant): New function.
22944         (dump_minipool): New function.
22945         (find_barrier): Remove special case for getting the insn size of
22946         an insn that references the constant pool.
22947         (minipool_fixup): New structure.
22948         (push_minipool_barrier): New function.
22949         (push_minipool_fix): New function.
22950         (note_invalid_constants): New function.
22951         (add_pool_constant, dump_table, fixit, broken_move): Delete.
22952         (arm_reorg): Rewrite code to fix up the constant pool into a
22953         series of mini-pools embedded in the insn stream.
22954         (arm_output_epilogue): New function, made mainly from the body
22955         of output_func_epilogue.
22956         (output_func_epilogue): Move insn generation part of epilogue code
22957         to arm_output_epilogue.
22958         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22959         * arm.md (pool_range): New attribute.
22960         (zero_extendqidi2): Add attribute pool_range.
22961         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22962         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22963         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22964         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22965         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22966         (epilogue): New expand.
22967         (epilogue_insn): New insn.  Call arm_output_epilogue.
22968
22969         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
22970         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22971
22972 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22973
22974         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22975
22976 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22977
22978         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
22979
22980 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
22981
22982         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22983
22984 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
22985
22986         * global.c: Fix comment.
22987
22988 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
22989
22990         * gcc.c (access_check): New static function.
22991         (find_a_file): Use it when searching a directory list.
22992         * collect2.c (find_a_file): Don't accept directories found when
22993         searching a directory list.
22994
22995 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
22996
22997         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22998         function parameters with `&'.
22999         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
23000
23001 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23002
23003         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
23004         or tidy_fallthru_edge if the last insn in the block is not
23005         an unconditional jump or a simple conditional jump.
23006
23007 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23008
23009         * Makefile.in (c-decl.o): Depends on defaults.h.
23010
23011 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
23012
23013         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
23014         PA1.1 and above.
23015         (CLASS_MAX_NREGS): Likewise.
23016
23017 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
23018
23019         * cse.c (cse_insn): Fix dumb thinko in last change.
23020
23021 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23022
23023         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
23024         "const char *".
23025
23026 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23027
23028         * dwarf2out.c (add_location_or_const_value_attribute): Correct
23029         test for sizes of passed and declared parameter types.
23030
23031 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23032
23033         * fixincludes: Fix the return type of bsearch, char* -> void*.
23034
23035         * fixinc/inclhack.def: Likewise.
23036
23037 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
23038
23039         * invoke.texi (-fdump-translation-unit): New option.
23040
23041 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
23042
23043         * expr.h (PROMOTE_PROTOTYPES): Move ...
23044         * defaults.h: ... to here.
23045         * c-decl.c: Include defaults.h instead of expr.h.
23046         * c-typeck.c: Include defaults.h.
23047
23048 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
23049
23050         * toplev.h (errorcount): Declare.
23051         (warningcount): Likewise.
23052         (sorrycount): Likewise.
23053         * c-lex.c (errorcount): Don't declare.
23054         * dwarf2out.c (errorcount): Don't declare.
23055
23056 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
23057
23058         * config/libgloss.h: Add a note discouraging use with ELF.
23059         * configure.in: Don't use libgloss.h for ELF targets.
23060         Always use_collect2 on a.out targets.
23061
23062 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
23063
23064         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
23065         (force_to_mode, case ASHIFTRT): Add shiftrt label.
23066
23067 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23068
23069         * loop.c (strength_reduce): When doing biv->giv conversion, update
23070         reg note of NEXT->insn.
23071
23072 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23073
23074         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
23075
23076 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23077
23078         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
23079         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
23080         Ensure expr.h is included.
23081         * c-typecheck.c (convert_arguments): Ditto.
23082
23083         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
23084
23085         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
23086         * config/convex/convex.h: Ditto.
23087         * config/dsp16xx/dsp16xx.h: Ditto.
23088         * config/fx80/fx80.h: Ditto.
23089         * config/gmicro/gmicro.h: Ditto.
23090         * config/i370/i370.h: Ditto.
23091         * config/i386/i386.h: Ditto.
23092         * config/m32r/m32r.h: Ditto.
23093         * config/m68k/m68k.h: Ditto.
23094         * config/m88k/m88k.h: Ditto.
23095         * config/mips/mips.h: Ditto.
23096         * config/pa/pa.h: Ditto.
23097         * config/pyr/pyr.h: Ditto.
23098         * config/tahoe/tahoe.h: Ditto.
23099         * config/we32k/we32k.h: Ditto.
23100
23101         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
23102         based on arch size.
23103
23104         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
23105
23106         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
23107         from comment.
23108
23109         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
23110
23111 1999-08-02  Richard Henderson  <rth@cygnus.com>
23112
23113         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
23114         for the register spill block.
23115         (m32r_va_arg): New.
23116         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
23117         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
23118
23119         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
23120         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
23121         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
23122
23123 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23124
23125         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
23126         MAX_WCHAR_TYPE defined in sparc.h.
23127         * config/sparc/linuxaout.h: Likewise.
23128         * config/sparc/linux64.h: Likewise.
23129         Also default to -mvis if CPU is UltraSPARC.
23130
23131 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23132
23133         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
23134         (RTX_OK_FOR_OLO10): Likewise.
23135         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
23136         %lo(), allow it in addresses...
23137         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
23138         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
23139         does not make sense.
23140         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
23141         (sparc_output_scratch_registers): New function.
23142         (output_function_prologue, sparc_flat_output_function_prologue): Use
23143         it.
23144         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
23145         defined.
23146         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
23147         * configure.in: Add check for .register pseudo-op support in as and
23148         check for offsetable %lo().
23149         * acconfig.h: Add templates for the above checks.
23150         * configure: Regenerate.
23151
23152 1999-08-02  Richard Henderson  <rth@cygnus.com>
23153
23154         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
23155         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
23156         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
23157
23158 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23159
23160         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23161         reg_biv_class.
23162
23163 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23164
23165         * config/float-sparc.h: New file.
23166         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
23167         sparc-*-linux-gnu and sparc64-*-linux*.
23168
23169 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23170
23171         * rs6000.c (rs6000_va_list): Type is an array.
23172         (rs6000_va_start): Don't doubly adjust for varargs.
23173         (rs6000_va_arg): Evaluate long long GPR adjustment.
23174
23175 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
23176
23177         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
23178         -maix64 and -maix32.
23179         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
23180         LINK_SPEC): Change appropriately.
23181         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
23182         (u_short_cint_operand): Likewise.
23183         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
23184         for 64-bit hosts.
23185         * rs6000/t-aix43 (MULTILIB): Change to -m64.
23186
23187         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
23188
23189 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
23190
23191         * rs6000/rs6000.c (num_insns_constant_wide): Correct
23192         for type promotion.
23193         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
23194         (non_add_cint_operand): Likewise.
23195         (logical_operand): Likewise.
23196         (non_logical_cint_operand): Likewise.
23197         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
23198         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
23199         (rs6000_select_rtx_section): Suppress warning.
23200         (small_data_operand): Suppress warning.
23201         (rs6000_got_register): Suppress warning.
23202         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
23203         type, so `J' is generally the wrong constraint for a SImode value;
23204         use `L' instead.
23205         (andsi3_internal2): Likewise.
23206         (andsi3_internal3): Likewise.
23207         (iorsi3_internal1): Likewise.
23208         (xorsi3_internal1): Likewise.
23209         (movsi): Likewise.
23210         (movsf_softfloat): Likewise.
23211         (scc insns): Likewise.
23212         (movsi+2): Preserve sign bits of SImode constant.
23213         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
23214         (movdf+1): Sign-extend properly.
23215         (movdi_32+1): Sign-extend properly.
23216         (scc insns): Sign-extend properly.
23217
23218         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
23219         K, L, and T.
23220
23221 1999-08-02  Richard Henderson  <rth@cygnus.com>
23222
23223         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
23224         -mcpu parsing code.
23225         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
23226         * alpha.md (all fp insns): Likewise.
23227
23228 1999-08-02  Nick Clifton  <nickc@cygnus.com>
23229
23230         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
23231         already defined.
23232
23233 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
23234
23235         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
23236         pic_load_label generator directly.
23237         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
23238         No longer a named pattern.
23239
23240 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
23241
23242         * explow.c (force_reg): Call force_operand if X does not
23243         satisfy general_operand.
23244
23245 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
23246
23247         * fix-header.c (main): When testing for CONTINUED, use string
23248         equality, not pointer equality.
23249
23250 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
23251
23252         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
23253
23254 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
23255
23256         * cse.c (cse_insn): Fix loop which deletes insns after a jump
23257         that has become an unconditional jump.
23258
23259         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
23260         (output_function_epilogue): Similarly.
23261
23262 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23263
23264         * tree.h (init_dummy_function_start): Declare.
23265
23266 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23267
23268         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
23269         last_expr_type, last_expr_value, block_start_count, block_stack,
23270         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
23271         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
23272         dynamically in stmt elt of struct function for each function.
23273         (struct nesting): Rename function_call_count elt to n_function_calls,
23274         target_temp_slot_level to block_target_temp_slot_level.  All users
23275         changed.
23276         (struct stmt_status): New structure definition.
23277         Add many accessor macros for stmt_status elements which previously
23278         were global variables.
23279         (init_stmt_for_function): Allocate stmt elt for current_function.
23280         Reflect that block_start_count was renamed to
23281         current_block_start_count.
23282         (save_stmt_status, restore_stmt_status): Delete functions.
23283         (preserve_subexpressions_p): Don't access loop_stack when outside
23284         a function.
23285         (expand_start_bindings): Reflect that block_start_count was renamed to
23286         current_block_start_count.
23287         (expand_fixup): Likewise.
23288         (expand_decl): Don't access block_stack when outside a function.
23289         (expand_decl_cleanup): Likewise.
23290         (expand_dcc_cleanup): Likewise.
23291         (expand_dhc_cleanup): Likewise.
23292         (expand_anon_union_decl): Likewise.
23293         (set_file_and_line_for_stmt): New function.
23294         (in_control_zone_p): New function.
23295
23296         * function.h (struct function): Add new elt stmt.
23297         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
23298         case_stack, nesting_stack, nesting_depth, block_start_count,
23299         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
23300         emit_lineno, goto_fixup_chain.
23301         (save_eh_status, restore_eh_status, save_stmt_status,
23302         restore_stmt_status): Delete declarations.
23303         * function.c (push_function_context_to): Don't call save_stmt_status.
23304         (pop_function_context_to): Don't call restore_stmt_status.
23305         * tree.h (in_control_zone_p): Declare.
23306         * rtl.h (set_file_and_line_for_stmt): Declare.
23307
23308         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
23309         call set_file_and_line_for_stmt.
23310
23311 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
23312
23313         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
23314         Also update copyright.
23315
23316 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23317
23318         * c-pragma.c: Don't include "except.h".
23319         * emit-rtl.c: Likewise.
23320         * stor-layout.c: Likewise.
23321         * tree.c: Likewise.
23322         * varasm.c: Likewise.
23323
23324         * flow.c: Include "function.h".
23325         * tree.h (init_dummy_function_start): Declare new function.
23326
23327         * except.h (struct eh_status): New structure.
23328         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
23329         been included.
23330         (eh_return_stub_label, ehstack, catchstack, ehqueue,
23331         catch_clauses, false_label_stack, caught_return_label_stack,
23332         protect_list, current_function_ehc): Add accessor macros for the
23333         corresponding fields in current_function->eh; delete declarations
23334         for all items that used to be declared here.
23335         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
23336         catch_clauses, false_label_stack, caught_return_label_stack,
23337         protect_list, current_function_ehc): Delete variables.
23338         (init_eh_for_function): Allocate current_function->eh.
23339         (save_eh_status, restore_eh_status): Delete functions.
23340
23341         * function.h (struct function): Add fields next_global and eh.
23342         Delete all exception handling related fields.
23343         * function.c (current_function): New variable.
23344         (all_functions): New variable.
23345         (push_function_context_to): Don't allocate a struct function,
23346         use current_function instead.  Call init_dummy_function_start when
23347         outside a function.  Clear current_function before returning.
23348         (pop_function_context_from): Restore current_function.
23349         Don't free the restored struct function.
23350         (prepare_function_start): New function.
23351         (init_dummy_function_start): New function.
23352         (init_function_start): Break out some code into prepare_function_start
23353         and call it here.
23354
23355         * stmt.c (save_stmt_status): Don't call save_eh_status.
23356         (restore_stmt_status): Don't call restore_eh_status.
23357
23358         * Makefile.in: Update dependencies.
23359
23360 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
23361
23362         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
23363         of depending on a magic constant value.  Update comments.
23364         (hppa_expand_prologue): Similarly.
23365
23366         * pa.md (reload_indi, reload_outdi): Allow any register for the
23367         original reload register.
23368
23369 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
23370
23371         * cccp.c (print_help): Change marcos to macros.
23372
23373 1999-07-30  Richard Henderson  <rth@cygnus.com>
23374
23375         * c-typeck.c (initializer_constant_valid_p): Move ...
23376         * c-common.c (initializer_constant_valid_p): ... here.  Use
23377         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
23378         of label addresses.
23379         * c-common.h (initializer_constant_valid_p): Declare.
23380         * c-tree.h (initializer_constant_valid_p): Remove.
23381
23382 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
23383
23384         * config/i386/sol2-c1.asm: Align the stack.
23385         * config/i386/sol2-gc1.asm: Likewise.
23386
23387 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
23388
23389         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
23390         -Asparclite for sparc86x.
23391         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
23392         sparc86x.
23393         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
23394
23395 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23396
23397         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
23398         the user if using the non-default arch size in BI_ARCH configuration.
23399         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
23400
23401         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
23402         Fix patterns so that they actually match.
23403         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
23404         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
23405         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
23406         TARGET_HARD_MUL32.
23407         (mulsidi3): Reflect this in the expand.
23408         (smulsi3_highpart): Only on TARGET_ARCH32.
23409         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
23410         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
23411         (umulsidi3): Reflect this in the expand.
23412         (umulsi3_highpart): Only on TARGET_ARCH32.
23413         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
23414         don't require g0 to be zero.
23415         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
23416         ({,u}divsi3): New expands.
23417         ({,u}divsi3_sp64): New patterns.
23418         (after lshrdi3_v8plus): Four new patterns to help combiner
23419         optimizing nested mixed mode shifts.
23420
23421         * config/sparc/sparc.c (sparc_override_options): Use deprecated
23422         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
23423         speed things up. Don't use them by default on plain v9 in 64bit
23424         mode, according to what SPAMv9 sais.
23425
23426         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
23427         top 32 bits of %[og][0-7] in signal handlers.
23428         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
23429
23430 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
23431
23432         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
23433         (ashlsi3): Corresponding changes.
23434
23435         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
23436
23437 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
23438
23439         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
23440
23441 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23442
23443         * arm.h (Hint): Delete macro.
23444         Substitute HOST_WIDE_INT for Hint in some prototypes.
23445         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
23446
23447 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
23448
23449         * builtins.c (expand_builtin_setjmp): Use force_operand to
23450         make sure that the buffer address is in a suitable form to be
23451         passed to force_reg.
23452
23453 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
23454
23455         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
23456         them here.
23457
23458 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
23459
23460         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
23461         proper mode in the condition string.
23462         (icacheflush, dcacheflush): Remove modes from match_operands.
23463
23464         * pa.c (emit_move_sequence): Always convert scratch_reg to the
23465         proper mode before using it.
23466
23467         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
23468         pair.
23469
23470         * pa.c (store_reg): Do not call add_high_const generator directly.
23471         (load_reg, set_reg_plus_d): Likewise.
23472         * pa.md (add_high_const): No longer a named pattern.
23473
23474         * pa.c (legitimize_address): Consistently use Pmode rather than
23475         SImode.  Do not call gen_pic2_highpart directly anymore.
23476         * pa.md (pic2_highpart): No longer a named pattern.
23477         (pic2_lo_sum): Similarly.  Reformat to make more readable.
23478
23479         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
23480         needed.
23481
23482         * README: Update.
23483
23484 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23485
23486         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
23487
23488 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
23489
23490         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
23491         and tag the spill mems.
23492         (hppa_va_start): New.
23493         (hppa_va_arg): New.
23494         * pa.h (EXPAND_BUILTIN_VA_START): New.
23495         (EXPAND_BUILTIN_VA_ARG): New.
23496
23497 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
23498
23499         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
23500         and tag the spill mems.
23501         (mn10300_va_start): New.
23502         (mn10300_va_arg): New.
23503         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
23504         (EXPAND_BUILTIN_VA_ARG): New.
23505
23506 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
23507
23508         * mn10200.c (mn10200_va_arg): New.
23509         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
23510
23511 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
23512
23513         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
23514         rather than play with TREE_INT_CST_LOW.
23515
23516 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
23517
23518         * config/arm/telf.h: Include dbxelf.h.
23519         (CPP_PREDEFINES): Only define if not already defined.
23520         (ASM_IDENTIFY_GCC): Likewise.
23521         (SUBTARGET_EXTRA_SECTIONS): Likewise.
23522         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
23523         * config/arm/thumb.h (LINK_SPEC): Only define if not already
23524         defined.
23525         (DBX_DEBUGGING_INFO): Don't define.
23526         * config/arm/linux-telf.h: New file.
23527         * config/arm/linux-tgas.h: New file.
23528         * config/arm/t-thumb-linux: New file.
23529         * config/arm/uclinux-elf.h: New file.
23530         * config/arm/uclinux-telf.h: New file.
23531         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
23532         thumb-*-uclinux): New targets.
23533         * configure: Regenerate.
23534
23535 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
23536
23537         * pa.md (post_store, pre_load): New expanders.
23538         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
23539         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
23540         need to directly generate RTL for them.
23541         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
23542         changes.
23543
23544 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
23545
23546         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
23547         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
23548         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
23549         (secndary_reload_class): Make TARGET_ELF conditional compile.
23550         (print_operand_address): Similar.
23551         (output_toc): Print all values as hex.
23552         (get_issue_rate): Rearrange and add RS64A and PPC630.
23553         * rs6000.h (processor_type): Add RS64A and PPC630.
23554         (PROCESSOR_POWERPC64): New.
23555         (PROMOTE_MODE): Use word_mode.
23556         (RTX_COSTS): Add RS64A and PPC630.
23557         * rs6000.md (scheduling information): Add lmul and ldiv
23558         representing 64-bit integer multiply and divide.  Add rs64a and
23559         PPC630 information.
23560         (ashldi3): Add support for "rldic" instruction.
23561         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
23562
23563 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
23564
23565         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
23566         instead of V8 for sparclite86x in cpu_table.
23567
23568 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23569
23570         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
23571         output_file_directive.
23572
23573 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
23574
23575         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
23576         tree for op1, not the rtl.
23577
23578 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
23579
23580         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
23581         to m88k_va_start, leaving only the register spill.
23582         (m88k_build_va_list): New.
23583         (m88k_va_start): New.
23584         (m88k_va_arg): New.
23585         * m88k.h (BUILD_VA_LIST_TYPE): New.
23586         (EXPAND_BUILTIN_VA_START): New.
23587         (EXPAND_BUILTIN_VA_ARG): New.
23588
23589 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
23590
23591         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
23592         Rename from expand_builtin_saveregs.
23593         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
23594
23595 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
23596
23597         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
23598         for the register spill block.
23599         (i960_build_va_list): New.
23600         (i960_va_start): New.
23601         (i960_va_arg): New.
23602         * i960.h (BUILD_VA_LIST_TYPE): New.
23603         (EXPAND_BUILTIN_VA_START): New.
23604         (EXPAND_BUILTIN_VA_ARG): New.
23605         * i960.md (store_multiple): Use change_address on individul mems.
23606
23607 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
23608
23609         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
23610         an ARRAY_TYPE.
23611         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
23612         (expand_builtin_va_end): Evaluate arg for side effects.
23613         * c-common.c (c_common_nodes_and_builtins): Construct a
23614         va_list_arg_type_node to handle array decomposition to pointer.
23615
23616 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
23617
23618         * except.c (st_dynamic_cleanup): Use force_operand on the
23619         buffer's address.
23620
23621 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
23622
23623         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
23624         * c4x.c (c4x_va_arg): New.
23625
23626 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
23627
23628         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
23629         has manual_pop set.
23630
23631 1999-07-26  Nathan Sidwell  <nathan@acm.org>
23632
23633         * eh-common.h (__eh_matcher): Prototype correctly.
23634
23635 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
23636
23637         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
23638         (TARGET_SINGLE_PIC_BASE): Likewise.
23639         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
23640         definitions.
23641         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
23642         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
23643         (TARGET_OPTIONS): Add -mpic-register=N.
23644         (OUTPUT_INT_ADDR_CONST): New macro.
23645         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
23646         LEGITIMATE_PIC_OPERAND_P): Likewise.
23647         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
23648         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
23649         output_addr_const directly.
23650         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
23651         ARM port.
23652         (thumb_pic_register, thumb_pic_register_string): Declare.
23653
23654         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
23655         from arm.c.
23656         (label_mentioned_p): New function: Imported from arm.c.
23657         (legitimize_pic_address): New function: Imported from arm.c.
23658         (is_pic):New function: Imported from arm.c.
23659         (thumb_finalize_pic):New function: Imported from arm.c.
23660         (add_constant): Cope with PIC constants.
23661         (fixit): Cope with PIC constants.
23662         (output_return): Do not treat the PIC register as live if
23663         TARGET_SINGLE_PIC_BASE is true.
23664         (thumb_function_prologue): Do not treat the PIC register as live if
23665         TARGET_SINGLE_PIC_BASE is true.
23666         (thumb_expand_prologue): Do not treat the PIC register as live if
23667         TARGET_SINGLE_PIC_BASE is true.
23668         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
23669         TARGET_SINGLE_PIC_BASE is true.
23670         (thumb_print_operand): Accept '|'.
23671         (thumb_override_options): Process PIC options.
23672
23673         * config/arm/thumb.md (movsi): Support PIC.
23674         (call_insn): Change "i" constraint to "X".
23675         (call_value_insn): Likewise.
23676         (consttable_4, consttable_8, consttable_end): Set and clear
23677         "making_const_table" as appropriate.
23678         (pic_load_addr, pic_add_dot_plus_four): New insns.
23679
23680         * invoke.texi (Thumb Options): Fix spelling.  Document new
23681         options -msingle-pic-base and -mpic-register=.
23682
23683 1999-07-26  Andrew Haley  <aph@cygnus.com>
23684
23685         * config/m32r/initfini.c (__init): Use a full word immediate for
23686         __fini: this allows it to be placed in any memory region.
23687
23688         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
23689         -mmodel=medium.  This is OK for all memory models.
23690
23691 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
23692
23693         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
23694         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
23695
23696 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
23697
23698         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
23699         defined.
23700
23701         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
23702
23703 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
23704
23705         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
23706         (BUILD_VA_LIST_TYPE): New.
23707         (EXPAND_BUILTIN_VA_START): New.
23708         (EXPAND_BUILTIN_VA_ARG): New.
23709         * i860.c (output_delayed_branch): Disable.
23710         (output_delay_insn): Likewise.
23711         (i860_saveregs): New.
23712         (i860_build_va_list): New.
23713         (i860_va_start): New.
23714         (i860_va_arg): New.
23715         * i860.md: Disable all peepholes using output_delayed_branch.
23716         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
23717
23718 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
23719
23720         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
23721         (BUILD_VA_LIST_TYPE): New.
23722         (EXPAND_BUILTIN_VA_START): New.
23723         (EXPAND_BUILTIN_VA_ARG): New.
23724         * clipper.c (clipper_builtin_saveregs): Only dump registers.
23725         Return the address of the save area.
23726         (clipper_build_va_list): New.
23727         (clipper_va_start): New.
23728         (clipper_va_arg): New.
23729
23730 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
23731
23732         * arc.h (EXPAND_BUILTIN_VA_START): New.
23733         (EXPAND_BUILTIN_VA_ARG): New.
23734         * arc.c (arc_setup_incoming_varargs): Set alias set of
23735         varargs save area.
23736         (arc_va_start): New.
23737         (arc_va_arg): New.
23738
23739 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
23740
23741         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
23742         (BUILD_VA_LIST_TYPE): New.
23743         (EXPAND_BUILTIN_VA_START): New.
23744         (EXPAND_BUILTIN_VA_ARG): New.
23745         * alpha.c (alpha_builtin_saveregs): Delete.
23746         (alpha_build_va_list): New.
23747         (alpha_va_start): New.
23748         (alpha_va_arg): New.
23749
23750 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
23751
23752         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
23753         column zero.
23754         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
23755         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
23756
23757         * gcc.texi: More changes related to list conversion.
23758         * invoke.texi: Likewise.
23759
23760 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
23761
23762         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
23763         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
23764         (expand_builtin_next_arg): Accept ARGLIST not EXP.
23765         (stabilize_va_list): New function.
23766         (std_expand_builtin_va_start): New function.
23767         (expand_builtin_va_start): New function.
23768         (get_varargs_alias_set): New function.
23769         (std_expand_builtin_va_arg): New function.
23770         (expand_builtin_va_arg): New function.
23771         (expand_builtin_va_end): New function.
23772         (expand_builtin_va_copy): New function.
23773         (expand_builtin): Call them.
23774         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
23775         __builtin_{varargs_start,stdarg_start,end,copy}.
23776         (build_va_arg): New function.
23777         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
23778         (build_va_arg): Declare.
23779         * c-decl.c (ptr_type_node, va_list_type_node): New.
23780         * c-parse.gperf (__builtin_va_arg): New.
23781         * c-parse.in (VA_ARG): New token.
23782         (unary_expr): Recognize it.
23783         * expr.c (expand_expr): Expand VA_ARG_EXPR.
23784         * expr.h (std_expand_builtin_va_start): Declare.
23785         (std_expand_builtin_va_arg): Declare.
23786         (expand_builtin_va_arg): Declare.
23787         (get_varargs_alias_set): Declare.
23788         * tree.def (VA_ARG_EXPR): New.
23789         * tree.h (BUILT_IN_VARARGS_START): New.
23790         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
23791         (ptr_type_node, va_list_type_node): Declare.
23792         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
23793         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
23794         * m88k.h, m88k.c: Likewise.
23795         * mn10300.h, mn10300.c: Likewise.
23796         * pa.h, pa.c: Likewise.
23797         * rs6000.h, rs6000.c: Likewise.
23798         * sh.h, sh.c: Likewise.
23799         * sparc.h, sparc.c: Likewise.
23800
23801         * emit-rtl.c (operand_subword): Copy alias set.
23802         (change_address): Likewise.
23803
23804 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
23805
23806         * pa.c (compute_frame_size): Scan all the used callee saved registers,
23807         not just the first one.
23808
23809 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
23810
23811         * config/arm/arm.h (TARGET_SWITCHES): Add
23812         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
23813         (TARGET_OPTIONS): Add -mpic-register=.
23814         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
23815         (arm_pic_register_string): Declare.
23816         (NEED_PLT_GOT): Delete, replace with ...
23817         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
23818         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
23819         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
23820         * config/arm/arm.c (arm_override_options): Add new option
23821         -mpic-register=N.
23822         (arm_pic_register_string): New variable.
23823         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
23824         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
23825         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
23826         (output_return_instruction): Likewise.
23827         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
23828         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
23829         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
23830
23831         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
23832         mention of -msched-prolog.  Document new options -msingle-pic-base
23833         and -mpic-register=.
23834
23835 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
23836
23837         * haifa-sched.c (reemit_notes): Tidy.
23838         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
23839         haifa's routine.
23840
23841 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
23842
23843         * explow.c (trunc_int_for_mode): New function.
23844         (plus_constant_wide): Use it.
23845         * combine.c (simplify_and_const_int): Likewise.
23846         (merge_outer_ops): Likewise.
23847         (simplify_shift_const): Likewise.
23848         * cse.c (simplify_unary_operation): Likewise.
23849         (simplify_binary_operation): Likewise.
23850         * emit-rtl.c (operand_subword): Likewise.
23851         * rtl.h: Declare it.
23852
23853 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23854
23855         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
23856         (use NUM_REGS instead of NUM_INTS).
23857
23858 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23859
23860         * builtins.c: New file.
23861         * expr.c (saveregs_value, apply_args_value):  Delete definition,
23862         moved into builtins.c.
23863         (string_constant): No longer static.
23864         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
23865         apply_args_size, apply_result_size, result_vector,
23866         expand_builtin_apply_args, expand_builtin_apply,
23867         expand_builtin_return): Delete functions, moved into builtins.c.
23868         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
23869         * expr.h (saveregs_value, apply_args_value): Declare variables.
23870         (expand_builtin, string_constant): Declare functions.
23871         * Makefile.in: Update to build builtin.o.
23872
23873 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
23874
23875         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
23876         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
23877         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
23878         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
23879         false.
23880         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
23881         Define to zero.
23882
23883 1999-07-21  Michael Meissner  <meissner@cygnus.com>
23884
23885         * print-rtl.c (print_rtx): Print the names of the virtual
23886         registers.
23887
23888 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
23889
23890         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23891         introduced in previous delta.
23892
23893 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23894
23895         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23896         to avoid name clash.
23897
23898 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23899
23900         * c-lex.c (yylex) : Correct the test for overflow when lexing
23901         integer literals.
23902
23903 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
23904
23905         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23906         (adjust_priority): Always call ADJUST_PRIORITY.
23907         (schedule_insn): Only put insns into the ready at cost 0.
23908         (schedule_block): Remove redundant initial sort.  Give clock_var
23909         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
23910         is not 0.
23911         * tm.texi (MD_SCHED_REORDER): Update docs.
23912
23913         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
23914         * sparc.c (ultra_reorder_called_this_block): Delete.
23915         (ultrasparc_sched_init): Don't set it.
23916         (ultrasparc_sched_reorder): Don't check it.
23917
23918 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
23919
23920         * rs6000.h (struct rs6000_args): Add sysv_gregno.
23921         * rs6000.c (init_cumulative_args): Init sysv_gregno.
23922         (function_arg_boundary): Align DFmode.
23923         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23924         to get fp reg and stack overflow correct.
23925         (function_arg): Likewise.
23926         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23927         (setup_incoming_varargs): Restructure for ABI_V4; use
23928         function_arg_advance to skip final named argument.
23929         (expand_builtin_saveregs): Properly unskip the last integer arg
23930         when doing varargs.  Adjust overflow location calculation.
23931
23932         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23933         explicitly unsigned.
23934         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23935         (__VA_GP_REGSAVE): Similarly.
23936         (__va_longlong_p): Delete.
23937         (__va_arg_type_violation): New declaration.
23938         (va_arg): Restructure.  Flag promotion errors.  Align double.
23939         TFmode passed by reference.
23940
23941         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23942         in the HOST_BITS_PER_WIDE_INT > 32 case.
23943
23944 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23945
23946         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23947
23948 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
23949
23950         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23951         * toplev.c (documented_lang_options): Add -fpreprocessed.
23952         * cpplib.h (struct cpp_buffer): Add preprocessed.
23953         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23954         (cpp_start_read): Don't expand macros or emit an initial #line
23955         directive if -fpreprocessed.
23956
23957 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23958
23959         * cpplib.h (struct cpp_buffer): Added manual_pop for
23960         better C++ tokenization.
23961         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23962         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23963         * c-common.c (cpp_token): Make non-static.
23964
23965 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23966
23967         * c-common.h: New file.
23968         * c-common.c (permanent_obstack): Delete unused declaration.
23969         (c_global_trees): New array.
23970         (c_common_nodes_and_builtins): New function; split off common code
23971         from init_decl_processing in both c-decl.c and cp/decl.c.
23972         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23973         c_global_trees and accessor macros defined in c-common.h.
23974         Include c-common.h.
23975         * c-decl.c: Delete definitions for tree nodes that were replaced by
23976         c_global_trees.
23977         (init_decl_processing): Build void_list_node.
23978         Call c_common_nodes_and_builtins; delete code to generate the common
23979         builtins here.
23980         * objc/objc-act.c (build_module_descriptor): Rename variable
23981         void_list_node to avoid clash with c-common.h.
23982
23983         * Makefile.in: Update dependencies.
23984         * objc/Make-lang.in: Likewise.
23985
23986 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
23987
23988         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23989         (UNIQUE_SECTION_P): Likewise.
23990         (UNIQUE_SECTION): Likewise.
23991
23992 1999-07-19  Linas Vepstas  <linas@linas.org>
23993
23994         * config/i370/README: New file.
23995         * config/i370/linux.h: New file.
23996         * config/i370/mvs.h: New file.
23997         * config/i370/oe.h: New file.
23998         * config/i370/t-linux: New file.
23999         * config/i370/t-mvs: New file.
24000         * config/i370/t-oe: New file.
24001         * config/i370/x-oe: New file.
24002         * config/i370/xm-linux.h: New file.
24003         * config/i370/xm-mvs.h: New file.
24004         * config/i370/xm-oe.h: New file.
24005
24006         * i370.c (label_node_t): Add first_ref_page, label_addr,
24007         label_first_ref, label_last_ref members.
24008         (mvs_need_base_reload): Renamed from mvs_label_emitted.
24009         (MAX_MVS_LABEL_SIZE): Define.
24010         (MAX_LONG_LABEL_SIZE): Define.
24011         (alias_node_t, alias_anchor, alias_number): New.
24012         (mvs_function_table): Reorder for EBCDIC.
24013         (ascebc, ebcasc): Unconditionally define.
24014         (i370_branch_dest, i370_branch_length): New functions.
24015         (i370_short_branch, i370_label_scan): New functions.
24016         (mvs_get_label): Renamed from mvs_add_label.  Search for
24017         an existing label before creating a new one.
24018         (mvs_add_label): New function.
24019         (mvs_get_label_page): New function.
24020         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
24021         over the entire list.
24022         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
24023         (mvs_check_page) [TARGET_ELF_ABI]: New function.
24024         (mvs_add_alias, mvs_need_alias): New functions.
24025         (mvs_get_alias, mvs_check_alias): New functions.
24026         (handle_pragma): New function.
24027         (mvs_function_check): New function.
24028         (unsigned_jump_follows_p): Search harder.
24029         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
24030         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
24031         * i370.h (TARGET_VERSION): Delete.
24032         (CPP_SPEC, CPP_PREDEFINES): Delete.
24033         (mvs_label_emitted): Delete.
24034         (TARGET_EBCDIC): Delete.
24035         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
24036         (HANDLE_PRAGMA): Define.
24037         (HARD_REGNO_NREGS): Handle complex modes.
24038         (HARD_REGNO_MODE_OK): Likewise.
24039         (CLASS_MAX_NREGS): Likewise.
24040         (RET_REG): Likewise.
24041         (EXTRA_CONSTRAINT): Define.
24042         (RETURN_IN_MEMORY): True for DImode.
24043         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
24044         (FUNCTION_PROFILER): Delete.
24045         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
24046         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
24047         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
24048         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
24049         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
24050         (ASM_FILE_START): Add "RMODE ANY".
24051         (ASM_OUTPUT_EXTERNAL): Check for aliases.
24052         (ASM_GLOBALIZE_LABEL): Likewise.
24053         (ASM_OUTPUT_LABELREF): Likewise.
24054         (ASM_OUTPUT_COMMON): Likewise.
24055         (PRINT_OPERAND): Handle 'K', 'W', default.
24056         (PRINT_OPERAND_ADDRESS): New.
24057         (Lots of defines): Add support for TARGET_ELF_ABI.
24058         * i370.md (attr length): New.  Define for all patterns.
24059         (*): Lots of tweeks to assembly output and constraints.
24060
24061 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
24062
24063         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
24064         Disable patterns performing SImode comparisons with SImode values
24065         if TARGET_POWERPC64 and instruction does not sign-extend or does
24066         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
24067         differ for signed quantities.
24068         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
24069         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
24070         (decrement_and_branch_on_count): Add 64-bit variant.
24071
24072 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24073
24074         * final.c (output_asm_insn): When searching for the matching string
24075         for a given dialect, don't run past the end of the list of
24076         alternatives if there are fewer alternatives in the template than
24077         dialects.
24078
24079 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
24080
24081         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
24082         Removed paragraph about compression of files and size limitation,
24083         duplicated in the FAQ.  Use gcc-patches for posting patches.
24084         * gcc.c (main): Updated URL with bug reporting instructions to
24085         gcc.gnu.org.  Removed e-mail address.
24086         * system.h (abort): Likewise.
24087
24088 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24089
24090         * Makefile.in (stmp-multilib-sub): Make the files extracted
24091         from $(LIBGCC1) writable.
24092
24093 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
24094
24095         * config/arm/aout.h: Reformat for improved readability.
24096
24097         * config/arm/arm.h: Reformat for improved readability.
24098         Replace uses of fprintf with asm_fprintf where appropriate.
24099         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
24100         function declaration assembler actions.
24101         (NUM_INTS): New macro: Convert from bytes to words.
24102         (NUM_REGS): New macro: Compute number of registers required to
24103         hold a quanitity of tyep MODE.
24104         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
24105         types.
24106         (NUM_ARG_REGS): New macro: The number of argument registers
24107         available.
24108         (ARG_REGISTER): New macro: Compute the register number of the Nth
24109         argument register.
24110         (LAST_ARG_REGNUM): New macro: The number of the last argument
24111         register.
24112         (SP_REGNUM): New macro: Register number of the stack pointer.
24113         (FP_REGNUM): New macro: Register number of the frame pointer.
24114         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
24115         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
24116         CUMULATIVE_ARGS so that it counts registers not bytes.
24117
24118         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
24119         TARGET_INTERWORK.
24120         Replace uses of fprintf with asm_fprintf where appropriate.
24121         (output_ascii_pseudo_op): Replace with version from thumb.c
24122
24123         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
24124
24125         * config/arm/elf.h (CPP_PREDEFINES): Replace with
24126         SUBTARGET_CPP_SPEC.
24127         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
24128         (ASM_FILE_START): Emit ASM_APP_OFF.
24129
24130 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
24131
24132         * pa.c (compute_frame_size): Round frame according to
24133         STACK_BOUNDARY rather than a hardwired value.
24134
24135         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
24136
24137         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
24138         of "1".
24139         * configure: Rebuilt.
24140
24141         * configure.in (hppa*-*-linux*): New configuration.
24142         * configure: Rebuilt.
24143         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
24144         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
24145         * pa/pa-linux.h: New file.
24146         * pa/t-linux: New file.
24147         * pa/xm-linux.h: New file.
24148
24149         * pa.c (hppa_legitimize_address): Change references from SImode to
24150         either Pmode or word_mode as appropriate.
24151         (emit_move_sequence, store_reg, load_reg): Likewise.
24152         (set_reg_plus_d, hppa_expand_prologue): Likewise.
24153         (output_mul_insn): Likewise.
24154         * pa.h (PROMOTE_MODE): Likewise.
24155         (INITIALZE_TRAMPOLINE): Likewise.
24156         (Pmode): Define to word_mode.
24157
24158         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
24159         value of 4.  Allocate 8 bytes for each FP register save.
24160         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
24161         value of 4.
24162         (hppa_expand_prologue): Likewise.
24163         * pa.h (PROMOTE_MODE): Likewise.
24164         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
24165         (FUNCTION_ARG_BOUNDARY): Likewise.
24166
24167         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
24168
24169         * pa.c (out_of_line_prologue_epilogue): Delete.
24170         (override_options): Remove -mspace related code.
24171         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
24172         (compute_frame_size): Only allocate space for register that
24173         actually need to be saved.
24174         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
24175         (TARGET_SWITCHES): Remove -mspace, -mno-space
24176         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
24177         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
24178         * pa/ee.asm, pa/ee_fp.asm: Delete.
24179
24180         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
24181
24182         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
24183         directive in column zero.
24184
24185 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
24186
24187         * m68k.c (output_function_prologue): Fix computation of save mask
24188         when generating PIC code.
24189
24190 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
24191
24192         * tree.c (build_type_attribute_variant): Move current_obstack restore
24193         after build_qualified_type call.
24194
24195 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
24196
24197         * configure.in: Use t-iris6, even with GNU LD.
24198         * config/mips/iris6gld.h: Fix typo in linker spec.
24199         * config/mips/t-iris6gld: Remove.
24200
24201 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
24202
24203         * rs6000.md (insv, extzv): Remove SImode dependence in named
24204         patterns.  Explicitly generate DImode RTL if PowerPC64 and
24205         operand is DImode.
24206         (insvdi): Reverse start and size in instruction template.
24207
24208 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
24209
24210         * invoke.texi: Typo fixes.
24211
24212 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
24213
24214         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
24215         handle at this time instead of silently generating incorrect code.
24216         (gen_imagpart): Likewise.
24217
24218         * reload.c (find_reloads): Emit a USE for a pseudo register without
24219         a hard register if we could not create an optional reload for the
24220         pseudo.
24221
24222 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24223
24224         * c-typeck.c (output_init_element, process_init_element):
24225         When advancing constructor_unfilled_fields for a RECORD_TYPE,
24226         check for nameless bit fields.
24227
24228 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
24229
24230         * regclass.c (scan_one_insn): Notice subregs that change the
24231         size of their operand.
24232         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
24233
24234 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
24235
24236         * configure.in (alpha*-*-*): Include alpha/t-ieee.
24237         * configure: Rebuilt.
24238         * alpha/t-ieee: New file.
24239
24240 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
24241
24242         * rs6000.c (find_addr_reg): Do not select r0 as an address
24243         register.
24244
24245 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
24246
24247         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
24248
24249 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
24250
24251         * rs6000.md (movsf): Do not force easy FP constants into memory.
24252
24253         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
24254         immed_double_const to ensure they are properly truncated then
24255         sign extended.
24256
24257 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24258
24259         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
24260         always unless NO_DEBUG is used.  Compile this code
24261         unconditionally.
24262         (replace_symbols_in_block): Compile it unconditionally.
24263
24264 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
24265
24266         * configure.in (i?86-*-elf*): New target.
24267         * configure: Rebuilt.
24268         * i386/i386elf.h, i386/t-i386elf: New files.
24269
24270 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24271
24272         * toplev.c (main): Don't complain about saying -gdwarf.
24273         (rest_of_compilation): Remove redundant code.
24274
24275 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
24276
24277         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
24278
24279 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
24280
24281         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
24282         "Li960R:", to avoid name clash.
24283
24284 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24285
24286         * loop.c (check_dbra_loop): When reversing a loop, delete all
24287         REG_EQUAL notes referencing the reversed biv except those which are
24288         for a giv based on it.
24289
24290 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
24291
24292         * version.c: Drop "gcc-" prefix from version #.
24293
24294 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
24295
24296         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
24297         the label if we're being verbose.
24298
24299 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
24300
24301         * m68k.c (output_function_prologue): Add pic register to mask
24302         if live and flag_pic.
24303         (output_function_epilogue): Likewise.
24304
24305 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
24306
24307         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
24308         directives in column zero.
24309
24310         * pa/elf.h (ASM_FILE_START): Define.
24311         * pa/som.h (ASM_FILE_START): Include .level directives.
24312         * pa/hpux10.h (ASM_FILE_START): Delete.
24313         * pa/hpux11.h (ASM_FILE_START): Delete.
24314
24315         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
24316
24317 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24318
24319         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
24320         when reload_out equals reload_in.
24321
24322 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
24323
24324         * invoke.texi (Spec Files): New node: Describe the contents of
24325         spec files.
24326
24327 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
24328
24329         * invoke.texi (DEC Alpha Options): Put @end table at
24330         beginning of line, to avoid confusing texi2html.
24331
24332 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
24333
24334         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
24335         introduced in previous delta.
24336
24337 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24338
24339         * reload1.c (gen_reload): When synthesizing a 3 operand add
24340         sequence, improve test for when to reload OP1 into the reload
24341         register instead of OP0.
24342
24343 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
24344
24345         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
24346
24347 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
24348
24349         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
24350         string literal.
24351
24352 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
24353
24354         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
24355         (va_dcl): Use __builtin_va_alist_t.
24356
24357 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
24358
24359         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
24360         on the permanent_obstack.
24361         * dwarfout.c (output_type): Likewise.
24362
24363 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24364
24365         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24366         Merged from c-typeck.c and cp/typeck.c.
24367         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24368         Merged into c-common.
24369
24370 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
24371
24372         * c-lex.c (errorcount): Declare it.
24373         (finish_parse): Update errorcount when using CPPLIB.
24374
24375 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
24376
24377         * fixinc/inclhack.def(end_else_label): Double the backslash so
24378         sed gets a chance to see it.
24379         * fixinc/inclhack.sh: regen
24380         * fixinc/fixincl.x: regen
24381
24382 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
24383
24384         Add framework to support armv5 architecture when it becomes
24385         available:
24386
24387         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
24388         (arm_arch5): New variable.
24389         (all_architectures): Add armv5 line.
24390         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
24391         -march=armv5 is specified on the command line.
24392         (arm_arch5): Export this variable.
24393         * invoke.texi: Document new string accepted by -march= switch for
24394         ARM ports.
24395
24396         * config/arm/arm.h: Replace use of constant 12 as a register
24397         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24398         * config/arm/arm.c: Replace use of constant 12 as a register
24399         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24400
24401         * config/arm/elf.h: Tidy up.
24402         * config/arm/coff.h: Tidy up.
24403
24404 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
24405
24406         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
24407         * gcc/config/mips/t-iris6gld: New file.
24408         * gcc/config/mips/iris6gld.h: Likewise.
24409
24410 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24411
24412         * c-decl.c (widest_integer_literal_type_node,
24413         widest_unsigned_literal_type) : New.
24414         (init_decl_processing): Handle/use the two new types.
24415         * c-common.c (type_for_size,type_for_mode) : Same.
24416         * c-lex.c (yylex) : Same.
24417         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24418         Same.
24419         * c-tree.h (widest_integer_literal_type_node,
24420         widest_unsigned_literal_type) : New.
24421
24422 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
24423
24424         * dwarfout.c (field_byte_offset): Correctly compute the object's
24425         byte offset for the first bit of a field which crosses an alignment
24426         boundary on a !BYTES_BIG_ENDIAN target.
24427
24428 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
24429
24430         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
24431         ntohs.
24432
24433 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
24434                           Jeff Law <law@cygnus.com>
24435
24436         * ginclude/varargs.h (va_dcl): Use word_mode for type of
24437         __builtin_va_list.
24438
24439         * except.c: Include intl.h.
24440         (expand_eh_return): Set current_function_cannot_inline.
24441         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
24442         * function.h (struct function): Add eh_return_stub_label.
24443         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
24444         * Makefile.in (except.o): Depend on intl.h.
24445
24446 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
24447
24448         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
24449         same as offsettable in cases 1 and 2.
24450
24451 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
24452
24453         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
24454         (extlh, extwh): Likewise.
24455
24456 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24457
24458         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
24459
24460 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
24461
24462         * configure.in: Add arm-pe and thumb-pe targets.
24463         * configure: Regenerate.
24464
24465         * thumb.c (arm_naked_function_p): New function: Determines if
24466         a function is naked (has no gcc generated prologue/epilogue).
24467         (is_called_in_ARM_mode): Return true if the func has the
24468         interfacearm attribute.
24469         (output_return): Do not generate a return for naked functions.
24470         (thumb_function_prologue): Do not generate a prologue for
24471         naked functions.
24472         (thumb_expand_prologue): Do not generate a prologue for naked
24473         functions.
24474         (thumb_expand_epilogue): Do not generate an epilogue for naked
24475         functions.
24476         (arm_valid_machine_decl_attribute): New function, copied from
24477         arm.c:  Permit naked and interfacearm attributes.
24478
24479         * config/arm/pe.c: New file: Support code for arm-pe target.
24480         * config/arm/pe.h: New file: Header file for arm-pe target.
24481         * config/arm/tpe.h: New file: Header file for thumb-pe target.
24482         * config/arm/t-thumb-pe: New file: Makefile fragment for
24483         thumb-pe target.
24484
24485 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
24486
24487         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
24488         -fPIC or -fpic is specified.
24489
24490 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
24491
24492         * expr.c (emit_block_move): Use copy_to_mode_reg for
24493         !TARGET_MEM_FUNCTIONS case too.
24494
24495         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
24496         appropriate.
24497         * configure: Rebuilt.
24498         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
24499         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
24500         definitions made redundant by dbxelf.h inclusion.  Delete
24501         lots of definitions related to assembly output that are
24502         specific to the SOM object format.
24503         * pa.c (output_function_prologue): Do not emit the function's
24504         name for OBJ_ELF.
24505         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
24506         * pa-pro.h: Deleted.
24507         * som.h: New file with SOM specific definitions.
24508         * elf.h: New file with ELF specific definitions.
24509
24510         * elfos.h (const_section): Output a tab before assembler directives.
24511         (ctors_section, dtors_section): Likewise.
24512         (ASM_OUTPUT_SECTION_NAME): Likewise.
24513
24514         * pa/pa1.h: Delete unused file.
24515
24516 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
24517
24518         * configure.in (hppa*-hp-hpux11*): New configuration.
24519         * configure: Rebuilt.
24520         * pa/pa-hpux11.h: New file.
24521         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
24522         command line.
24523
24524         * mips.md (leasi, leadi): New patterns.
24525
24526         * expr.c (emit_block_move): Properly handle case where one of the
24527         block move arguments has a queued increment or decrement.
24528         (clear_storage): Similarly.  Fix formatting goof.
24529
24530 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
24531
24532         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
24533         semicolon from the BSD VA_LIST replacement expression.
24534
24535         * fixinc/inclhack.sh: regen
24536         * fixinc/fixincl.x: regen
24537
24538         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
24539         now use the fixincl program.
24540
24541 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
24542
24543         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
24544         case.  Also make the PIC register call_used.
24545
24546         * m68k.h (FINALIZE_PIC): Delete.
24547         * m68k.c (finalize_pic): Delete.
24548
24549 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
24550
24551         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
24552         to memory.
24553
24554 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
24555
24556         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
24557
24558 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
24559
24560         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
24561
24562 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
24563
24564         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
24565
24566 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
24567
24568         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
24569
24570 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
24571
24572         * rs6000.c (output_toc): Always use hex values for floating-point
24573         constants.  Store single-precision values in upper-half of TOC
24574         entry in 64-bit mode.
24575         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
24576         to final constraints.
24577         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
24578         (fctiwz): Improve accuracy of RTL for pattern.
24579
24580 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24581
24582         * expr.c (expand_expr): Allow RTL_EXPR's through the
24583         MAX_INTEGER_COMPUTATION_MODE checks.
24584
24585 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
24586
24587         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
24588         such that MASK_SUPPORT_ARCH is not negative.
24589
24590 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
24591
24592         * loop.c (verify_dominator): Properly handle ADDR_VEC and
24593         ADDR_DIFF_VEC insns that appear inside loops.
24594
24595 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
24596                           Jeff Law <law@cygnus.com>
24597
24598         * rs6000.md (movdf_hardfloat32): Revert previous patch.
24599         Handle LO_SUM the same as offsettable in cases 1 and 2.
24600         * rs6000.c (find_addr_reg): Revert previous patch.
24601
24602 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
24603
24604         * system.h (strstr): New external function declaration.
24605         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
24606         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
24607         * config.in, configure: Rebuilt.
24608
24609 1999-06-24  Tom Tromey  <tromey@cygnus.com>
24610
24611         * gcc.c (main): Read user-specified specs files after computing
24612         additional startfile_prefixes.
24613
24614 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
24615
24616         Revert these two patches:
24617
24618         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24619         * loop.c (strength_reduce): When doing biv->giv conversion, update
24620         reg note of NEXT->insn.
24621
24622         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24623         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24624         reg_biv_class.
24625         (recombine_givs): Set ix field after sorting.
24626
24627 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24628
24629         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
24630         for the parts of an UNSPEC / UNSPEC_VOLATILE.
24631
24632 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
24633
24634         *fixinc/inclhack.def:  Add fix development commentary
24635         (read_ret_type): reactivate and add selection clause
24636         (zzz_*): tweak output file name to match what is used in hackshell.tpl
24637         *fixinc/{fixincl.x|inclhack.sh}: regen
24638
24639 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
24640
24641         * expr.c (expand_expr): STRIP_NOPS before checking against
24642         MAX_INTEGER_COMPUTATION_MODE
24643         (check_max_integer_computation_mode): Likewise.
24644
24645 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
24646
24647         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
24648
24649 1999-06-22  Jim Wilson  <wilson@cygnus.com>
24650
24651         * expr.c (store_expr): When target is a promoted subreg, return a
24652         promoted subreg as a result.
24653
24654 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
24655
24656         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
24657         coding standards.
24658         (dwarf2out_define): Mark unused parameters appropriately.
24659         (gen_unspecified_parameters_die): Ditto.
24660         (gen_subprogram_die): Fix signed/unsigned warnings.
24661         (gen_variable_die): Ditto.
24662
24663 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
24664
24665         * fixinc/inclhack.def(end_else_label): combined else_label
24666         and endif_label and fixed the sed expression.
24667         *fixinc/{fixincl.x|inclhack.sh}: regen
24668
24669 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
24670
24671         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
24672         'x' when handling non-offsettable addresses
24673
24674 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
24675
24676         * final.c (shorten_branches): Don't try to split an insn that has
24677         been deleted.
24678
24679 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
24680
24681         * config/mips/mips.c (symbolic_expression_p): New function.
24682         (mips_select_rtx_section): Put symbolic expressions in the
24683         data section, not the read-only data section.
24684
24685 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
24686
24687         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
24688
24689 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
24690
24691         * collect2.c (main): Log frame table count.
24692         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
24693         (scan_prog_file) [COFF]: Handle frame tables.
24694
24695         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
24696         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
24697         * alpha/elf.h: Undef them again.
24698         * alpha/vms.h: Remove their definitions.
24699
24700 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24701
24702         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
24703         remove the clobber of r0 and change the REG_UNUSED note to
24704         REG_INC.
24705
24706 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
24707
24708         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
24709         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
24710         fits in HOST_WIDE_INT and one uses union to access a long constant
24711         as double.
24712
24713 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
24714
24715         * sparc.c (sparc_override_options): Don't allow profiling for
24716         code models other than medlow.
24717         (sparc_function_profiler): New function from old FUNCTION_PROFILER
24718         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
24719         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
24720         (sparc_block_profiler): Likewise.
24721         (sparc_function_block_profiler_exit): Likewise.
24722         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
24723         (FUNCTION_BLOCK_PROFILER): Likewise.
24724         (BLOCK_PROFILER): Likewise.
24725         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
24726         (MCOUNT_FUNCTION): New.
24727         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
24728         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
24729         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
24730         (MCOUNT_FUNCTION): New.
24731         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
24732         (BLOCK_PROFILER): Delete.
24733         (MCOUNT_FUNCTION): New.
24734
24735 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
24736
24737         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
24738
24739 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24740
24741         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24742         Add the macros.
24743
24744         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24745         Ditto.
24746
24747         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24748         Ditto.
24749
24750         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24751         Ditto.
24752
24753 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
24754
24755         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
24756         types.
24757
24758 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
24759
24760         * i386/djgpp.h (LIB_SPEC): New.
24761         (STARTFILE_SPEC): New.
24762
24763         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
24764
24765 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
24766
24767         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
24768         compiler flags.
24769
24770         * system.h (WSTOPSIG): New macro.
24771
24772 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24773
24774         * c-pragma.c (push_alignment): Don't ignore alignments greater than
24775         4 bytes.
24776         (insert_pack_attributes): Take into account member natural
24777         alignment.
24778
24779         * i386/winnt.c (exports_head): New static variable.
24780         (i386_pe_record_exported_symbol): New function.
24781         (i386_pe_asm_file_end): Use.
24782         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
24783         symbols to be emitted at end of assembly.
24784         (ASM_DECLARE_OBJECT_NAME): Likewise.
24785         (ASM_DECLARE_FUNCTION_NAME): Likewise.
24786
24787         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
24788         -iwithprefix.
24789
24790 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
24791
24792         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
24793         in last change.
24794
24795 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
24796
24797         * haifa-sched.c (sched_analyze_1): Use free_list instead of
24798         zapping reg_last_uses directly.
24799         (sched_analyze_2, sched_analyze_insn): Likewise.
24800         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
24801
24802 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
24803
24804         * rs6000.md (movdf_hardfloat32): Use worst case insn length
24805         attributes for cases 1 and 2.
24806
24807 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
24808
24809         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
24810         instead of set.
24811
24812 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
24813
24814         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
24815
24816 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
24817
24818         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
24819         PIC_OFFSET_TABLE_REGNUM for general alloaction.
24820         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
24821         must be stacked if it is used for PIC accesses.
24822         * arm.c (use_return_insn): Handle PIC register specially.
24823         (output_return_instruction): Likewise.
24824         (output_func_{prologue,epilogue}): Likewise.
24825         (output_expand_prologue): Likewise.
24826
24827         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
24828         (*strsi_predec): Renamed from *strqi_predec.
24829         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
24830         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
24831
24832         * arm.c (arm_override_options): Remove warning about PIC code
24833         not being supported.
24834
24835 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
24836
24837         * rs6000.c (find_addr_reg): New function.
24838         * rs6000.h (find_addr_reg): Declare.
24839         (offsettable_addr_operand): Delete.
24840         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
24841         from and stores to GPRs.
24842
24843 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
24844
24845         * alpha.c (alpha_expand_block_move): Use get_insns rather than
24846         gen_sequence as argument to emit_no_conflict_block.
24847
24848 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24849
24850         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
24851         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
24852         *fixinc/fixincl.x: regen
24853         *fixinc/inclhack.sh: regen
24854
24855 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
24856
24857         * added support for -mpcrel (PC relative addressing for m68k)
24858         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
24859         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
24860         * m68k.c (print_operand_address): Handle 32-bit PIC case.
24861         (comments for general_src_operand): Add some explanation
24862         about EXTRA_CONSTRAINTS.
24863         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
24864         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
24865         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
24866         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
24867         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
24868         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
24869         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
24870         if not already set.
24871         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
24872         * m68k.h (TARGET_PCREL): New target flag.
24873         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
24874         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
24875         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
24876         contains a SYMBOL_REF.  Relax this constraint during reload, since
24877         we want to use the predicates, not reload's built-in concept of a
24878         valid memory address, to control what insns need reloading.
24879         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
24880         operands (essentially 'g', 'm', and 's' under normal circumstances).
24881         * m68k.c (print_operand): Cause printing of pc-relative addresses
24882         to include pc register.
24883         (print_operand_address): Ditto.
24884         (general_src_operand): Accept operands that are not only
24885         general_operands, but are also valid when used as a pc-relative
24886         source.
24887         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24888         (memory_src_operand): Similar, for memory_operands.
24889         (pcrel_address): New predicate to accept the special case of a
24890         pc-relative address.
24891         * m68k.md (many patterns): Rewrite common SImode, HImode, and
24892         QImode insns to accept *_src_operand instead of *_operand where
24893         pc-relative operands can fit.  For example, a pc-relative operand
24894         can be used as a memory source operand for addsi3, but not as a
24895         memory destination.
24896         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24897
24898 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
24899
24900         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24901         .thumb_set pseudo op to mark aliases of thumb functions.
24902
24903 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
24904
24905         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24906         preference to ASM_OUTPUT_DEF, if it is defined.
24907
24908         * tm.texi: Document new, optional target macro
24909         ASM_OUTPUT_DEF_FROM_DECLS.
24910
24911 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24912
24913         * fixincludes: ISCNTL patch
24914         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24915         (dgux_int_varargs): new for DG/UX
24916         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24917
24918 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
24919
24920         * invoke.texi (ia32 options): Fix typo.
24921
24922 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24923
24924         * loop.c (strength_reduce): When doing biv->giv conversion, update
24925         reg note of NEXT->insn.
24926
24927 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
24928
24929         * loop.c (move_movables): Note issues with replacing REGs with
24930         SUBREGs.
24931         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24932
24933 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
24934
24935         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24936
24937         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24938         the reference to `mcount' was not correct for the ELF on FreeBSD.
24939
24940 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24941
24942         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24943         reg_biv_class.
24944
24945         (recombine_givs): Set ix field after sorting.
24946
24947 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
24948
24949         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24950         to safe to extract a subword out of a REG.
24951
24952 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24953
24954         * sh.md (mulsi3): Don't add a no-op move at the end.
24955
24956 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24957
24958         * cse.c (cse_insn): Don't put hard register source into tables for
24959         the last insn of a libcall.
24960
24961 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24962
24963         * loop.c (strength_reduce): Insert sets of derived givs at every
24964         biv increment, even if it's the only one.
24965
24966 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
24967
24968         * dwarfout.c (add_incomplete_type): New fn.
24969         (output_type): Call it.
24970         (retry_incomplete_types): New fn.
24971         (dwarfout_finish): Call it.
24972
24973         From Eric Raskin <ehr@listworks.com>:
24974         (output_type): Output types for bases.
24975
24976 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24977
24978         * mips.c (mips_output_conditional_branch): Add `break'
24979         between `default' label and `close braces'.
24980
24981 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
24982
24983         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24984         specifications and make it realistic.
24985         (LIB_SPEC): Likewise.
24986
24987 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
24988
24989         * config/mips/mips.c (mips_secondary_reload_class): Check for
24990         (PLUS (SP) (REG)) and return appropriate register class.
24991         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24992         Handle (PLUS (SP) (REG)).
24993         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24994         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24995         of emit_insn for tablejump.
24996
24997 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
24998
24999         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
25000         asm_fprintf format string by itself.
25001         (output_function_profiler): Likewise.
25002
25003 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
25004
25005         * combine.c (simplify_logical, case AND): Only call
25006         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
25007         or the constant is positive.
25008
25009 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
25010
25011         * configure.in: Fix typo in rs6000-ibm-aix4 case.
25012         * configure: Regenerate.
25013
25014 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
25015
25016         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
25017         require a sub-version #.
25018         * configure: Rebuilt.
25019
25020 1999-06-14  Robert Lipe  (robertlipe@usa.net)
25021
25022         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
25023
25024 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
25025
25026         * c-typeck.c (process_init_element): Detect excess elements in
25027         char array initializer.
25028
25029 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
25030
25031         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
25032
25033 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25034
25035         * invoke.texi (Option Summary): Add -fpermissive flag.
25036
25037 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25038
25039         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
25040         that require PIC code sequences.
25041
25042 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
25043
25044         * configure.in: Add new target: thumb-elf.
25045         * configure: Regenerate.
25046         * config/arm/t-thumb-elf: New file: Makefile fragment for
25047         thumb-elf build.
25048         * config/arm/telf.h: New file: Header file for thumb-elf
25049         build.
25050
25051 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
25052
25053         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
25054         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
25055         initializers is some circumstances.
25056
25057         * fixinc/inclhack.def (endif_label): Add additional selector for
25058         more bogus stuff after #endif statements.
25059         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
25060
25061 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25062
25063         * i386/cygwin.h (SET_ASM_OP): Define.
25064
25065 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25066
25067         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
25068
25069 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25070
25071         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
25072         latter.
25073
25074         * sh.md (ic_invalidate_line_i): Remove second alternative.
25075
25076 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25077
25078         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
25079         test for the presence of valid prototypes.  Delete bypass expr.
25080         (ioctl_fix_ctrl): Correct the selection expression.
25081         (no_double_slash): Correct quoting rules
25082         *fixinc/fixincl.x: regen
25083         *fixinc/inclhack.sh: regen
25084
25085 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
25086
25087         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
25088
25089 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25090
25091         * rs6000.md (movsi_got_internal_mem): Delete.
25092         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
25093         (GOT_TOC_REGNUM): Delete.
25094         (PIC_OFFSET_TABLE_REGNUM): Define.
25095         (FINALIZE_PIC): Disable.
25096         * rs6000.c (rs6000_got_register): New code for fixed pic register.
25097         (rs6000_replace_regno): Delete.
25098         (rs6000_finalize_pic): Likewise.
25099         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
25100
25101 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25102
25103         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
25104         is a note; use <= for the compare; advance P while it is
25105         a NOTE.
25106
25107 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
25108
25109         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
25110         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
25111
25112         * varasm.c (remove_from_pending_weak_list): Verify t->name
25113         is non-NULL before passing it to strcmp.
25114
25115 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25116
25117         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
25118         the typed arguments are not part of a comment
25119         (ioctl_fix_ctrl): Added a purpose comment
25120         *fixinc/fixincl.x: regenerate
25121         *fixinc/inclhack.sh: regenerate
25122
25123 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25124
25125         * invoke.texi: Add C4x invocation docs.
25126
25127 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25128
25129         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
25130         Define new macros.
25131         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
25132         TARGET_EXPOSE_LDP.
25133         (c4x_legitimize_reload_address): New function.
25134         * config/c4x/c4x.md: Update docs.
25135
25136 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
25137
25138         * fixincludes: Avoid removing '.'.
25139         * fixinc/fixinc.svr4: Likewise.
25140         * fixinc/fixinc.winnt: Likewise.
25141         * fixinc/inclhack.tpl: Likewise.
25142         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
25143
25144 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25145
25146         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
25147         pattern.
25148         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
25149
25150 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25151
25152         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
25153         correctly.
25154
25155 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
25156
25157         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
25158         * configure: Regenerate.
25159
25160 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
25161
25162         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
25163         values.
25164
25165 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
25166
25167         * fixinc/inclhack.def (avoid_bool): Also catch
25168         "typedef [unsigned] int bool".
25169         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25170
25171         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
25172         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
25173         * configure: Rebuilt.
25174
25175 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
25176
25177         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
25178         such that we can override its definitions if necessary.
25179         (CPP_SPEC): New define.  Support processor specific predefines via
25180         %(cpp_cpu).
25181         (CC1_SPEC): New define.  Support processor specific compiler
25182         options via %(cc1_cpu).
25183         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
25184         -static.
25185
25186 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25187
25188         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
25189         between sed's -e flag, and the open-quote following it.
25190         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25191
25192 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
25193                           Jeffrey A Law  (law@cygnus.com)
25194
25195         * varasm.c (assemble_start_function): Remove the function
25196         from the pending weak decls list when we define a function.
25197         (assemble_variable): Similarly for variables.
25198         (weak_finish): Ignore items on the list with a NULL name.
25199         (remove_from_ending_weak_list); New function to "remove" an item
25200         from the pending weak declarations list.
25201
25202 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25203
25204         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
25205
25206 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
25207
25208         * c-lex.c (GETC): Redefine to call getch.
25209         (UNGETC): Redefine to call put_back.
25210         (putback_buffer): New structure type.
25211         (putback): New static structure.
25212         (getch): New function.
25213         (put_back): New function.
25214         (yylex): Replace unused bytes from bad multibyte character.
25215
25216 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
25217
25218         * cpplib.c (do_define): Cast `alloca' return value.
25219         (do_include, do_undef, do_pragma): Likewise.
25220         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
25221         values.
25222         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
25223         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
25224
25225 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25226
25227         * sparc.md (abstf2): This should be an expand.
25228         (split after abstf2_notv9): Fix mode.
25229         (abstf2_hq_v9): New pattern.
25230         (abstf2_v9): Only use when no hard quad.
25231         (absdf2_v9): Fix if target is not the same as source.
25232         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
25233         Add correct output constraints.
25234
25235 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
25236
25237         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
25238         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
25239
25240 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
25241
25242         * mips.h (mips_output_conditional_branch): New function.
25243         (mips_adjust_insn_length): Likewise.
25244         (ASSEMBLER_SCRATCH_REGNUM): New macro.
25245         (ADJUST_INSN_LENGTH): Likewise.
25246         * mips.c (print_operand): Add `F' and `W' for floating-point
25247         comparison opcodes.
25248         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
25249         are now in bytes.
25250         (mips_adjust_insn_length): New function.
25251         (mips_output_conditional_branch): New function.
25252         * mips.md (length): Adjust attribute definition to handle
25253         conditional branches.  Change lengths to bytes, rather than
25254         instructions throughout.  Remove length attribute from
25255         instructions whose length is four bytes, and rely on the default
25256         instead.
25257         (dslot): Fix typo in comment.
25258         Reword conditional branch patterns to use
25259         mips_output_conditional_branch.
25260
25261 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
25262
25263         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
25264         (LIB_SPEC): Likewise.
25265         Link with -lprof1_r for -g/-pg.
25266
25267 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25268
25269         * loop.c (check_dbra_loop): Fix change of Jan 19.
25270
25271 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
25272
25273         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
25274         (STARTFILE_SPEC):  Define, override the svr4.h version.
25275         (ENDFILE_SPEC):  Likewise.
25276
25277 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
25278
25279         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
25280         * fixinc/fixincl.x: Regenerated.
25281         * fixinc/inclhack.sh: Regenerated.
25282
25283 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25284
25285         * sh.c (barrier_align): Don't return early for normal branch/barrier
25286         when optimizing for SH2.
25287
25288 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
25289
25290         * i386/udk.h (LINK_SPEC): Correct linker search path for
25291         system libraries.
25292
25293 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25294
25295         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
25296         (braf_label_ref_operand): Delete.
25297         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
25298         * sh.md (casesi_jump_2): Operand1 is now the inside of a
25299         label_ref, and has no predicate.
25300         The patten has a predicate to guard against invalid substitutions.
25301         (dummy_jump): Delete.
25302         (casesi): Update use of casesi_jump_2.
25303
25304 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25305
25306         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
25307         *fixinc/fixincl.x: regenerate
25308         *fixinc/inclhack.sh: regenerate
25309
25310 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
25311
25312         * dwarf2out.c (add_incomplete_type): New fn.
25313         (gen_struct_or_union_type_die): Call it.
25314         (retry_incomplete_types): New fn.
25315         (dwarf2out_finish): Call it.
25316
25317 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
25318
25319         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
25320         current block starts with a CODE_LABEL and ends with a CALL and
25321         we can not find all the argument setup instructions for the CALL.
25322
25323 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
25324
25325         Revert this change:
25326         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25327         something is a candidate for optimize_bit_field_compare.
25328
25329 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25330
25331         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
25332
25333 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
25334
25335         * alpha.c (override_options): Thinko in last patch.
25336
25337         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
25338         (LIB_SPEC): Recognize -pthread.
25339
25340 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
25341
25342         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
25343         definition in config/arm/coff.h
25344         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
25345
25346 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25347
25348         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
25349         fixes that need "file=xxx\n" prepended before invocation
25350         (start_fixer - new): starting the fixer process is complex enough
25351         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
25352         (process): uses the new routine; omit usage of putenv()
25353         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
25354         * fixinc/fixincl.x: regenerate
25355
25356 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
25357
25358         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
25359         and version #s (1.1 -> 2.96) as needed.
25360         * README.g77: Kill way out of date file in the toplevel directory.
25361
25362 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
25363
25364         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
25365         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
25366         * configure: Rebuilt.
25367         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
25368         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
25369         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
25370         (SWITCH_TAKES_ARG): Likewise.
25371         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
25372         * config/t-freebsd: Moved from config/i386/ so it can used for all
25373         FreeBSD targets.
25374
25375 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
25376
25377         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
25378
25379 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
25380
25381         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
25382         * configure: Rebuilt.
25383
25384 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
25385
25386         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
25387         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
25388         * rs6000/rs6000.c (rs6000_file_start): Use putc.
25389         (rs6000_output_load_toc_table): Same.
25390         (output_prolog, output_mi_thunk): Same.
25391         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
25392         (ASM_GLOBALIZE_LABEL): Use putc.
25393
25394 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
25395
25396         * alpha.md (reload_*_help): New patterns and splitters.
25397         (reload_*): Use them.
25398         (mov[qh]i): Likewise.
25399
25400 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
25401
25402         * cccp.c (handle_directive): Handle backslash-newlines in quoted
25403         strings correctly.
25404
25405 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
25406
25407         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
25408
25409 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
25410
25411         * flow.c (mark_regs_live_at_end, insn_dead_p,
25412         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
25413         and HARD_FRAME_POINTER_REGNUM special treatment if reload
25414         hasn't run or the frame pointer is needed.
25415         * haifa-sched.c (attach_deaths): Likewise.
25416         * sched.c (attach_deaths): Likewise.
25417
25418 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
25419
25420         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
25421         calculate_can_reach_end returns nonzero.
25422
25423         * configure.in (native gas tests): Search for an assembler in the
25424         same manner that the installed compiler will.
25425         * configure: Rebuilt.
25426         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
25427
25428         * alias.c (find_base_term): Improve handling of addresses
25429         constructed from binary operations.
25430
25431 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
25432
25433         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
25434
25435 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
25436
25437         * function.h (cleanup_label, frame_offset): Declare.
25438         (tail_recursion_label, tail_recursion_reentry): Likewise.
25439         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25440         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
25441         (tail_recursion_label, tail_recursion_reentry): Likewise.
25442         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25443
25444 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
25445
25446         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
25447         defined.
25448         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
25449         (MAX_OFILE_ALIGNMENT): Define.
25450
25451 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
25452
25453         * fixincl.c: Replace local include scheme with #includes of
25454         gansidecl.h and system.h.
25455         * procopen.c:  Likewise.
25456         * server.c:  Likewise.
25457
25458 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
25459
25460         * i386/t-dgux (EXTRA_PARTS): Add crti.o
25461         (crti.o): Add build rule and dependencies.
25462         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
25463
25464 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25465
25466         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
25467         (LIB_LINUX_SPEC): Likewise.
25468         (LIB_LINUX_SPEC): Add support for -pthread
25469         (CPP_OS_LINUX_SPEC): Likewise.
25470         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
25471         specified.
25472
25473 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
25474
25475         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
25476         conditional move.
25477         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
25478         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
25479         for IEEE math and CC_FCOMI.
25480         (put_jump_code): No IEEE if CC_FCOMI is set.
25481
25482 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25483
25484         * fold-const.c (fold_truthop): Make the field reference unsigned
25485         when converting a single bit compare.
25486
25487 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25488
25489         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
25490
25491 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
25492
25493         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
25494         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
25495         version did.
25496
25497         * reload.c (push_reload): Do not call remove_address_replacements
25498         when presented with identical optional reloads.
25499
25500 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
25501
25502         * alpha.h (MASK_FIX, TARGET_FIX): New.
25503         (MASK_*): Reorganize constants.
25504         (CPP_AM_FIX_SPEC): New.
25505         (TARGET_SWITCHES): Add FIX.
25506         (EXTRA_SPECS): Likewise.
25507         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
25508         (SECONDARY_MEMORY_NEEDED): Likewise.
25509         (REGISTER_MOVE_COST): Likewise.
25510         * alpha.c (override_options): Add FIX support.  Always use
25511         ALPHA_TP_PROG for ev6.
25512         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
25513         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
25514         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
25515
25516 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
25517
25518         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25519         something is a candidate for optimize_bit_field_compare.
25520
25521 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
25522
25523         * gcc.texi (Passes): Document branch-shortening.
25524         * invoke.texi (Debugging Options): Document the fact that `-dp'
25525         outputs length information for instructions.
25526
25527 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
25528
25529         * flow.c: Revert previous delta.
25530
25531 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
25532
25533         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
25534         FRAME_POINTER_REGNUM.
25535         (mark_set_1): Ditto.
25536         (mark_used_regs): Ditto.
25537
25538 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
25539
25540         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
25541         (GOT_PCREL): New macro.  Define to 1 if not already defined.
25542         * arm/elf.h (GOT_PCREL): Define to 0.
25543         * arm.c (arm_finalize_pic): Take into account the setting of
25544         GOT_PCREL.
25545
25546 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
25547
25548         * output.h (STRIP_NAME_ENCODING): Provide default definition.
25549         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
25550
25551         * flow.c (mark_set_1): Do not record BLKmode stores as dead
25552         store elimination candidates.
25553
25554 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25555
25556         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
25557         TARGET_GAS.
25558
25559 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
25560
25561         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
25562         Add use of x-aix41-gld.
25563
25564 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25565
25566         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
25567         (ASM_OUTPUT_DESTRUCTOR): Define.
25568
25569 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
25570
25571         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
25572         last CODE_LABEL in a loop if we have previously passed a jump
25573         to the top of the loop.
25574
25575 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
25576
25577         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
25578         applying Philip's patch.
25579
25580 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
25581
25582         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
25583         are not VAR_DECLs.
25584
25585 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
25586
25587         * loop.c (strength_reduce): Grow reg_single_usage as needed.
25588
25589 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
25590
25591         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
25592         Also remove a useless comment.
25593
25594 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25595
25596         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
25597
25598 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
25599
25600         * collect2.c (main): Only generate import or export file and add
25601         to link arguments if non-empty.  Use xmalloc not alloca.
25602         (write_{export,import}_file): Delete.
25603         (write_aix_file): New function.
25604         (locatelib): Use xmalloc not malloc.
25605         (GCC_OK_SYMBOL): Do not check type if aix64.
25606
25607 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
25608
25609         Based on patch by Scott Bambrough and Pat Beirne:
25610         * config/arm/arm.c (making_const_table): New variable.
25611         * config/arm/arm.h (making_const_table): Declare.
25612         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
25613         appropriate.
25614         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
25615         Keep track of when we are building the constant table.
25616
25617 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
25618
25619         * config/arm/arm.c (arm_override_options): Fix erroneous warning
25620         message.
25621
25622 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
25623
25624         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
25625         defined.
25626
25627 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
25628
25629         * tm.texi (FUNCTION_ARG): Correct description of a stack element
25630         in a PARALLEL.
25631
25632 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
25633
25634         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
25635
25636 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25637
25638         * rs6000.c (output_mi_thunk): Enable full support again.
25639
25640 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25641
25642         * sh.h (BRANCH_COST): Define.
25643
25644 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
25645
25646         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
25647
25648 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
25649
25650         * function.c (assign_stack_local): Align stack slot propertly.
25651         (assign_outer_stack_local): Likewise.
25652
25653 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
25654
25655         * expr.h (lang_expand_constant): Declare.
25656         * toplev.c (lang_expand_constant): Define it.
25657         * varasm.c (output_constant): Use it.
25658
25659 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25660
25661         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
25662         Change function definitions to K&R style.
25663
25664 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25665
25666         * fixinc/fixincl.c: We must not ignore SIGCLD now.
25667
25668 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
25669
25670         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
25671         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
25672         (several places): omit static initialization
25673         (process): use single fd, since only the read fd is used
25674         * fixinc/gnu-regex.c: define 'const' away, if not supported
25675         * fixinc/procopen.c(several places): omit static initialization
25676         * fixinc/server.c: define 'volitile' away, if not supported
25677
25678 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25679
25680         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
25681         asm_fprintf and %L to generate the label name.
25682         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
25683         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
25684
25685 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
25686
25687         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
25688         insn for a conditional jump can not be found.
25689
25690 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
25691
25692         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
25693         on variables in specific sections other than .sbss and .sdata.
25694
25695 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
25696
25697         * stmt.c (expand_return): Call start_cleanup_deferral and
25698         end_cleanup_deferral around conditional code.
25699
25700 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25701
25702         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
25703         filename lists.  Utilizes new "krstr" AutoGen function.
25704         * fixinc/fixincl.x: Rebuilt.
25705
25706 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
25707
25708         * i386.c (output_float_compare): Avoid GNU-C extensions.
25709
25710 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
25711
25712         * version.c: Bump to distinguish mainline tree from the
25713         gcc-2.95 branch.
25714
25715 See ChangeLog.1 for earlier changes.
25716
25717