OSDN Git Service

* cpplex.c (output_line_command): Remove debugging prints.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
2
3         * cpplex.c (output_line_command): Remove debugging prints.
4         (cpp_output_tokens): Don't write out a zero-length buffer or
5         try to see if it has a newline in it.
6         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
7         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
8         the end of the loop.  Use memmove.  Don't read past the end of
9         the buffer.  Remove trailing newlines from error messages.
10
11 2004-04-16  Neil Booth  <NeilB@earthling.net>
12
13         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
14         * cpplib.c: Add new syntax flags to directive table, and
15         supporting macros.
16
17 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
18
19         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
20         using ret $N.
21
22 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
23
24         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
25         * haifa-sched.c: Update -fsched-verbose comments to use "=".
26
27 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
28
29         * Makefile.in (ggc-page.o): Now includes toplev.h.
30         * ggc-page.c (toplev.h): Now included.
31         (gc_time): Remove declaration.
32         (ggc_collect): TIME now long.
33         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
34         others static.
35         * toplev.h (gc_time, parse_time, gc_time): New declarations.
36
37         * toplev.c: Make *_time variable long to reduce chance of overflow.
38         (TIMEVAR): Likewise for `otime'.
39         (print_time): Arg is now long; compute percentage in FP and round.
40         * toplev.h (print_time): Arg is long.
41
42         * tree.c: Minor whitespace changes.
43
44         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
45         * configure: Rebuilt.
46         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
47         (__fixunsxfDI): Renamed from __fixunsxfdi.
48         (__fixunsdfDI): Renamed from __fixunsdfdi.
49         (__fixunssfDI): Renamed from __fixunssfdi.
50         (__floatdisf): Use proper type in REP_BIT macro.
51         (__fixunsxfSI): Renamed from __fixunsxfsi.
52         (__fixunsdfSI): Renamed from __fixunsdfsi.
53         (__fixunssfSI): Renamed from __fixunssfsi.
54         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
55         Change location of macros and upper-case some names as above.
56         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
57         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
58
59         * varasm.c (assemble_variable): Add cast to remove warning.
60         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
61
62         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
63         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
64         region number to -1.
65
66 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
67
68         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
69         call unshare_all_rtl.
70
71         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
72
73 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
74
75         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
76         Use .s1 not .s0 for all FP instructions.
77
78 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
79
80         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
81         interfaces.
82         (safe_fwrite, output_line_command): New static functions.
83         (cpp_expand_to_buffer): Now private to cpplib.
84         (cpp_scan_buffer): Take a printer.
85
86         * cpphash.h: Update prototypes.
87         * cpplib.h: Update prototypes.
88         (cpp_printer): New.
89         (cpp_buffer): Remove last_nominal_fname.
90         (cpp_reader): Remove lineno.
91
92         * cppmain.c: Use a cpp_printer.
93         * fix-header.c: No need to inhibit line commands.  Call
94         cpp_start_read with no printer.
95
96         * cpperror.c (cpp_notice_from_errno): Provide default name.
97         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
98         (find_include_file, cpp_read_file): Use make_IHASH.
99         (file_cleanup): Set control_macro and clear
100         input_stack_listing_current here.
101         (_cpp_execute_include): Don't output entering-file marker.
102         * cpphash.c (special_symbol): Look for the line number in the
103         buffer, not the reader.
104         (_cpp_macroexpand): No need to disable line commands.
105         (_cpp_dump_definition): No need to generate line commands.
106         (dump_hash_helper): Remove excess newline from output.
107         * cppinit.c (dump_special_to_buffer): No need to generate line
108         commands.
109         (cpp_printer_init): New.
110         (cpp_start_read): Take a printer, and start it up if it's not
111         NULL.  No need to generate line commands.
112         (cpp_finish): Expect no buffers stacked at all.  Take a
113         printer argument, and flush the output buffer if it's not
114         NULL.
115         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
116         Don't put two hashes at the beginning of an assertion.
117         (cpp_get_token): Don't increment pfile->lineno or emit line
118         commands here.  Return EOF if there's no buffer when we get
119         EOF.
120         * cpplib.c (do_define, skip_if_group): 
121         No need to disable line commands.
122         (_cpp_output_line_command): Delete function.
123         (do_line): Don't emit line commands here, but set things up so
124         they will be emitted if necessary.  Use _cpp_fake_ihash to
125         make unique nominal_fnames if necessary.
126         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
127         with 0 for column, not -1.
128         (_cpp_handle_eof): Don't set the control macro here.  Don't
129         clear input_stack_listing_current here.  Don't emit line
130         commands.
131
132 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
133
134         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
135         always, use the default SVR4 start address.
136
137         * config/rs6000/linux.h (LINK_SPEC): Don't define.
138         (LINK_SHLIB_SPEC): Define.
139         (LINK_START_DEFAULT_SPEC): Define.
140         (LINK_OS_DEFAULT_SPEC): Define.
141
142         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
143
144         * config/rs6000/eabi.asm (__eabi): Call __init rather than 
145         __do_global_ctors to handle constructors.
146         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
147         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
148         (STARTFILE_MVME_SPEC): Likewise.
149         (STARTFILE_SIM_SPEC): Likewise.
150         (ENDFILE_ADS_SPEC): Use crtend.
151         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
152         (ENDFILE_MVME_SPEC): Likewise.
153         (ENDFILE_SIM_SPEC): Likewise.
154         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
155         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
156         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
157         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
158         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
159         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
160         (CRTSTUFF_T_CFLAGS_S): Define.
161         * config/rs6000/eabi-ctors.c: Delete.
162         
163         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
164         boundary.
165         (__fini): Likewise.
166         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
167         boundary.
168         (__fini): Likewise.
169
170 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
171
172         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
173         plus mask size is smaller or equal to the mode size.
174
175 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
176
177         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
178         not yet set.
179
180         * expr.c (reload.h): Now included.
181         (emit_block_move): Set volatile_ok when checking for movstr.
182         (emit_move_1): Check for replacements in addresses in multi-word case.
183         * Makefile.in (expr.o): Now includes reload.h.
184
185         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
186         Never have a LIBCALL end a basic block.
187         (find_basic_blocks_1): Likewise.
188         Reorganize CALL_INSN cases.
189
190         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
191
192 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
193
194         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
195         completers from mov.ret instruction.
196
197 2000-04-14  Richard Henderson  <rth@cygnus.com>
198
199         * fold-const.c (extract_muldiv): Don't distribute and widen
200         multiply across plus for non-sizetype unsigned types.
201
202 2000-04-14  Richard Henderson  <rth@cygnus.com>
203
204         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
205         If the original source is dead in the incr insn, it's dead now.
206
207 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
208
209         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
210         see if DECL_BIT_FIELD needs to still be set.
211
212         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
213
214         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
215         print_int_cst_octal with something that's not an INTEGER_CST.
216
217         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
218         and not a SUBREG to a FLOAT rtl.
219
220 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
221
222         * emit-rtl.c (try_split): Avoid infinite loop if the split
223         results in a sequence that contains the original insn.
224
225 2000-04-13  Andreas Jaeger  <aj@suse.de>
226
227         * config/mips/mips.c (expand_block_move): Pass alignment
228         argument to move_by_pieces in bits, not bytes.
229
230         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
231         __pic__ for little endian.
232
233 2000-04-13  Andreas Jaeger  <aj@suse.de>
234
235         * config/i386/i386-protos.h: Add prototype for
236         uno_comparison_operator.
237
238 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
239
240         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
241         * calls.c (ECF_PURE): New flag.
242         (emit_call_1): Handle ECF_PURE calls.
243         (initialize_argument_information): Unset ECF_PURE flag too.
244         (precompute_arguments): Precompute for ECF_PURE too.
245         (expand_call): Handle ECF_PURE calls too.
246         (emit_library_call_value_1): Rename no_queue argument to fn_type,
247         accept value of 2 as pure function.
248         (emit_library_call_value, emit_library_call): Rename no_queue argument
249         to fn_type.
250         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
251
252         * tree.h (DECL_IS_PURE): New macro.
253         (struct tree_decl): Add pure_flag.
254         * c-common.c (enum attrs): Add attribute "pure".
255         (init_attributes): Initialize attribute "pure"
256         (decl_attributes): Handle attribute "pure".
257         * extend.texi (Attribute "pure"): Document.
258         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
259         in pure function.
260         (flags_from_decl_or_type): Support attribute "pure".
261
262 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
263
264         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
265         the token except for numbers and identifiers.
266
267 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
268
269         * i386.c (ix86_expand_binary_operator,
270         ix86_expand_unary_operator): Check no_new_pseudos
271         instead of reload_in_progress and reload_completed.
272         (ix86_split_ashldi, ix86_split_ashrdi,
273         ix86_split_lshrdi): Check no_new_pseudos instead
274         of reload_completed.
275
276 2000-04-12  Jeffrey A Law  (law@cygnus.com)
277
278         * function.c (purge_addressof): Unshare any shared rtl created by
279         purge_addressof and its children.
280
281 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
282
283         * function.c (aggregate_value_p): VOID_TYPE nodes are never
284         aggregates.
285
286 2000-04-05  Andreas Jaeger  <aj@suse.de>
287
288         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
289         not compiling PIC code, add flags for mabi=64.
290         (SUBTARGET_CPP_SIZE_SPEC): New.
291         (SUBTARGET_CPP_SPEC): New.
292         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
293         for MIPS/Linux and lots of code needs these defines.
294
295 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
296
297         * reorg.c (fill_slots_from_thread): Check side_effects_p when
298         trying the "opposite arithmetic" approach.
299
300 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
301
302         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
303         (struct sh_args): Add new field force_mem.
304         (INIT_CUMULATIVE_ARGS): Initialize it.
305         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
306
307 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
308
309         * calls.c (expand_call): Do not reverse args in "equal from" field.
310         (emit_library_call_value_1): Emit_libcall_block for const and pure
311         function.
312
313 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
314
315         * reload1.c (reload_combine): Don't enable optimization for fixed
316         registers when encountering a BARRIER.
317
318 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
319
320         * builtins.c (expand_builtin_memcmp): Do expansion even with
321         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
322
323         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
324         stack is propertly aligned; add sanity checking for aligned
325         stack pointer.
326         (expand_library_call_value_1): Add sanity checking for aligned
327         stack pointer.
328
329 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
330  
331         * calls.c (emit_library_call_value_1): Change 3rd arg to
332         locate_and_pad_parm to disregard the setting of partial.
333
334 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
335
336         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
337
338         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
339         CALL_INSN from the normal case.
340
341 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
342
343         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
344         New global variables.
345         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
346         adjustment.
347         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
348         Declare,
349         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
350          TARGET_ADD_ESP_8): New macros.
351         * i386.md: Add peep2s to convert esp adjustments to push and pop
352         instructions.
353         (pushsi_prologue, popsi_epilogue): New patterns.
354
355 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
356
357         * real.c (toe64): Remove stale #endif from the last change.
358
359 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
360
361         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
362         * real.c (toe64): Revert previous change.
363
364 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
365
366         * objc/objc-act.c: Include ggc.h.
367         (objc_tree_index, objc_global_trees): Convert most of the
368         static tree variables into a static array with previous names
369         as defines.
370         (objc_ellipsis_node): New variable.
371         (lang_init): Call objc_act_parse_init and c_parse_init.
372         Create objc_ellipsis_node.
373         (build_selector_translation_table): Use objc_ellipsis_node instead
374         of (tree)1.
375         (hack_method_prototype): Likewise.
376         (get_arg_type_list): Likewise.
377         (start_method_def): Likewise.
378         (continue_method_def): Likewise.
379         (gen_method_decl): Likewise.
380         (ggc_mark_imp_list): New function.
381         (ggc_mark_hash_table): New function.
382         (objc_act_parse_init): New function.
383         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
384         * c-parse.in (c_parse_init): For objc add roots of objc specific
385         local tree variables.
386         * objc/objc-parse.y: Rebuilt.
387         * objc/objc-parse.c: Rebuilt.
388         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
389
390 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
391
392         * cse.c (delete_trivially_dead_insns): Also delete insns
393         that copy a register to itself where the destination is
394         a strict_low_part.
395
396 2000-04-11  Richard Henderson  <rth@cygnus.com>
397
398         * flow.c (struct propagate_block_info): Add new_dead, new_live.
399         (propagate_block): Initialize them.  Use them in parallel instead
400         of one tmp variable, ie revert much of the 0408 and 0407 functional
401         changes, but keep the structural changes.
402         (mark_set_regs): Take new_dead from propagate_block_info instead.
403         (mark_set_1, mark_set_reg): Likewise.
404         (mark_used_regs): Likewise with new_live.
405         (mark_used_reg): Likewise.  Revert 0408 change.
406
407 2000-04-11  Nick Clifton  <nickc@cygnus.com>
408
409         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
410         restriction.
411         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
412
413 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
414
415         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
416         const section to output a CONSTRUCTOR based on the same conditions
417         used for VAR_DECLs.
418
419 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
420
421         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
422         * pa/pa-protos.h (output_call): Add additional argument indicating
423         if the call is a sibling/tail call.
424         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
425         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
426         (function_arg, function_arg_partial_nregs): Likewise
427         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
428         (emit_move_sequence): Zero extend certain constants as needed
429         for TARGET_64BIT.
430         (compute_zdepdi_operands, output_64bit_and): New functions.
431         (output_64bit_ior, function_arg): Likewise.
432         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
433         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
434         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
435         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
436         (output_bvb): Likewise.
437         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
438         (output_call): New argument 'sibcall'.  Generate sibcall sequences
439         as needed.
440         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
441         (ouput_arg_descriptor): Do not emit argument descriptors for
442         TARGET_64BIT.
443         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
444         defined.
445         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
446         (FUNCTION_OK_FOR_SIBALL): Define.
447         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
448         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
449         (CPP_SPEC): Use new spec infrastructure.
450         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
451         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
452         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
453         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
454         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
455         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
456         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
457         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
458         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
459         (FUNCTION_ARG); Call out to C code.
460         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
461         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
462         (MIN_UNITS_PER_WORD): Likewise.
463         * pa/pa.md (cmpdi): New expander.
464         (scc patterns, movstrsi): Not available for TARGET_64BIT.
465         (64bit conditional arithmetic): New patterns.
466         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
467         (movsicc): Not available if modes on all the operands to not match.     
468         (movdicc): New expander and associated patterns.
469         (64bit branches): New patterns.
470         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
471         (pre_ldd, post_std): New patterns.
472         (64bit addil, load low part): New patterns.
473         (special movsf constant): Not available for TARGET_64BIT.
474         (movsf, movdf expanders): Force constants into memory.
475         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
476         (64bit movdf/movdi patterns): New patterns.
477         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
478         for TARGET_64BIT.
479         (extendqidi2, extendhidi2, extendsidi2): Similarly.
480         (adddi3 expander): Allow "arith_operand" for second input.
481         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
482         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
483         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
484         (muldi3): New expander for TARGET_64BIT.
485         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
486         for TARGET_64BIT.
487         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
488         patterns for TARGET_64BIT.
489         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
490         patterns for TARGET_64BIT.
491         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
492         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
493         (sibcall_epilogue): New expander.
494         (casesi): Tweak for TARGET_64BIT.
495         (call expanders): Set & use the outgoing argument pointer.  Use the
496         64bit call patterns as needed. Add additional arg to output_call.
497         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
498         (sibcall, sibcall_internal_symref): New expanders.
499         (sibcall_value, sibcall_value_internal_symref
500         (interspace_jump): Turn into an expander + matching patterns.
501         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
502         * pa/pa64-regs.h: Eliminate trigraph sequences.
503         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
504
505 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
506
507         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
508         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
509         cpp_token with cpp_ttype everywhere.
510         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
511         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
512         CPP_BUF_COL.  Line and column numbers are unsigned int, not
513         long.
514         * cpplex.c (cpp_buf_line_and_col): Delete.
515         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
516         'long lineno' to 'unsigned int lineno'.
517         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
518
519 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
520
521         * extend.texi: ISO C99 is not a draft anymore.
522         * invoke.texi: ISO C++ is not a draft anymore.
523         * cpp.texi: __cplusplus is required by the ISO standard.
524
525         * extend.texi (-fthis-is-variable): Undocument.
526         * flags.h (warn_template_debugging): Remove declaration.
527         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
528         -Wenum-clash, -Wtemplate-debugging): Undocument.
529
530 2000-04-10  Nick Clifton  <nickc@cygnus.com>
531
532         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
533         integer.
534         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
535         integer.
536         (ARM_SIGN_EXTEND): Use HOST_UINT.
537         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
538         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
539         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
540         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
541
542         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
543         (arm_gen_constant): Use HOST_UINT.
544         (arm_canonicalize_constant): Use HOST_UINT.
545         (arm_reload_in_hi): Use HOST_UINT.
546         (arm_reload_out_hi): Use HOST_UINT.
547         (output_multi_immediate): Use HOST_UINT.
548         (int_log2): Use HOST_UINT.
549         (arm_poke_function_name): Use HOST_UINT.
550         (arm_output_epilogue): Use arm_volatile_func().
551         (output_thumb_prologue): Use arm_strip_name_encoding().
552         
553 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
554
555         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
556         of sequence point problems.
557
558 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
559
560         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
561         Recomment.
562         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
563
564 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
565
566         * sbitmap.h: Whitespace changes and use upper-case macro args.
567         (struct simple_bitmap_def): All sizes now unsigned.
568         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
569         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
570         (sbitmap_vector_alloc): Parms and local vars now unsigned.
571         (sbitmap_zero): Cast bzero arg to PTR.
572         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
573         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
574         loop to make structure clearer.
575         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
576         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
577         (sbitmap_a_and_b_or_c): Likewise.
578         (sbitmap_intersection_of_succs): Minor cleanups.
579         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
580         (sbitmap_union_of_preds): Likewise.
581         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
582         (debug_sbitmap): New function.
583         
584         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
585         * c-typeck.c (convert_for_assignment): Likewise.
586
587         * expmed.c (init_expmed): Don't free objects we make.
588         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
589
590         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
591         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
592
593         * gcse.c (expr_hash_table_size): Now unsigned.
594         (compute_ae_gen): Local variable `i' now unsigned.
595         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
596         (compute_transout, hoist_code): Likewise.
597         (compute_local_properties): Likewise, also hash_table_size.
598         (alloc_expr_hash_table): N_INSNS now unsigned.
599         (delete_null_pointer_checks): Mark arg F as unused.
600
601         * regrename.c: Minor cleanups, including chang some variables
602         to unsigned int.
603
604 2000-04-10  Neil Booth  <NeilB@earthling.net>
605
606         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
607         than GETC ().
608         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
609
610 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
611
612         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
613         __classof__, and __headof__ from the list of gnu keywords.
614         (-ansi): Remove -foperator-names from list of implied options. 
615         Do not call it ANSI C++.
616         (-foperator-names): Document as -fno-operator-names.
617
618 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
619
620         * cpphash.c (timestamp): Delete.
621         (del_HASHNODE): If type is T_MCONST, free value.cpval.
622         (special_symbol): Remove unnecessary braces.  Remove
623         T_VERSION.  Treat T_STDC like T_CONST unless
624         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
625         when one is encountered, then convert them into T_MCONST
626         nodes.
627         * cppinit.c (builtin_array): version_string is T_MCONST.
628         __STDC__ has a "1" in its cpval.  Don't have a terminator
629         entry.  Clean up which entries are dumped.
630         (initialize_builtins): Only __STDC__ gets the special
631         -traditional treatment.  Count the length of builtin_array.
632         Render version_string here.
633         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
634         * cpplib.h (struct cpp_reader): Remove timebuf. 
635
636 2000-04-09  Richard Henderson  <rth@cygnus.com>
637
638         * genrecog.c (pred): Update comparison_operator for the unordered
639         operators.
640
641         * config/i386/i386.c (no_comparison_operator): Disallow unordered
642         operators.
643         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
644         (uno_comparison_operator): New.
645         (put_condition_code): Handle UNORDERED/ORDERED.
646         (unsigned_comparison): Likewise.
647         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
648         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
649         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
650         update all callers.  Handle all 8 unordered operators.
651         (ix86_expand_setcc): Lose the unordered argument, update all callers.
652         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
653         * config/i386/i386.h (PREDICATE_CODES): Update.
654         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
655         (ix86_expand_branch, ix86_expand_setcc): Update.
656         * config/i386/i386.md (sunordered, sordered): New.
657         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
658         (bunordered, bordered): New.
659         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
660         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
661         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
662
663 2000-04-09  Philip Blundell  <philb@gnu.org>
664
665         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
666         
667 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
668
669         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
670         fix_truncxfhi2): New patterns.
671         * i386.c (output_fix_trunc): Handle converting to HImode.
672
673 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
674
675         * ssa.c (convert_to_ssa): Eliminate dead code when calling
676         life_analysis.  
677         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
678         (for_each_successor_phi): Change parameter to basic_block.
679         (coalesce_regs_in_successor_phi_nodes): Likewise.
680         (coalesce_regs_in_copies): Likewise.
681         (compute_coalesced_reg_partition): Use basic_block instead of index.
682         * rtl.h (convert_to_ssa): Delete.
683         (convert_from_ssa): Likewise.
684         (successor_phi_fn): Likewise.
685         (for_each_successor_phi): Likewise.
686         (in_ssa_form): Likewise.
687         * basic-block.h (convert_to_ssa): Moved from rtl.h.
688         (convert_from_ssa): Likewise.
689         (successor_phi_fn): Likewise.
690         (in_ssa_form): Likewise.
691         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
692         * flow.c (calculate_global_regs_live): Pass a basic_block to
693         for_each_successor_phi.
694
695 2000-04-08  Richard Henderson  <rth@cygnus.com>
696
697         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
698         was modified in the current insn.
699
700 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
701
702         * arm/thumb.md: Delete.
703         * arm/thumb-protos.h: Delete.
704
705 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
706
707         Merge changes from merged-arm-thumb-backend-branch onto trunk.
708
709         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
710
711         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
712         into branch.
713
714         * arm.md (nop): Use the standard RTL expression.  Don't code as a
715         define_expand.
716         (*arm_nop, *thumb_nop): Delete.
717
718         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
719         constants.  Use casts instead.
720         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
721         output_multi_immediate, arm_poke_function_name): Likewise.
722         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
723         MASK_RETURN_ADDDR): Likewise.
724
725         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
726
727         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
728         into branch.
729         
730         * arm.md (eh_epilogue): New function.
731         * arm.h (struct machine_function): Move to here ...
732         * arm.c: ... from here.
733         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
734         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
735         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
736
737         2000-03-30  Nick Clifton  <nickc@cygnus.com>
738
739         * config/arm/semi.h (ASM_SPEC): Restore definition.
740         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
741
742         * config/arm/elf.h (ASM_SPEC): Restore definition.
743         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
744
745         * config/arm/arm.h (ASM_SPEC): Remove definition.
746         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
747
748         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
749
750         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
751
752         2000-03-24  Nick Clifton  <nickc@cygnus.com>
753
754         Various formating tidyups, elimination of compile time
755         warnings and synchronisation with internal sources:
756         
757         * config/arm/arm-protos.h (assemble_align): Add prototype.
758         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
759         (gen_comapre_reg): Rename to arm_gen_compare_reg.
760         (arm_return_addr_rtx): Rename to arm_return_addr.
761
762         * config/arm/arm.c: Include except.h.
763         Define shorter typenames for strict minipool_node and struct
764         minipool_fix.
765         (arm_return_in_memory): For WinCE return all structures <= 32 bits
766         in memory.
767         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
768         (gen_comapre_reg): Rename to arm_gen_compare_reg.
769
770         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
771         already defined.
772         (ASM_SPEC): Define if not already defined.
773         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
774
775         * config/arm/arm.md: Rename references to gen_rotated_half_load to
776         arm_gen_rotated_half_load, and references to gen_comapre_reg to
777         arm_gen_compare_reg.
778         (indirect_jump):  Only accept register operands.
779         (load_indirect_jump): Keep this pattern since combine can generate
780         it.
781
782         * config/arm/coff.h: Include aout.h.
783         (MULTILIB_DEFAULTS): Only define if not already defined.
784
785         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
786         into arm.h (so that COFF ports can support thumb based aliases).
787         (ASM_SPEC): Move definition into arm.h
788         
789         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
790         redundant apcs spec.
791         (ASM_SPEC): Move definition to arm.h
792
793         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
794
795         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
796         for entries in the .bss section
797
798         2000-03-23  Nick Clifton  <nickc@cygnus.com>
799
800         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
801         to thumb_far_jump_used_p.
802
803         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
804         single integer parameter.
805
806         * config/arm/arm.c (struct machine_function): Add two new
807         fields, 'far_jump_used' and 'arg_pointer_live'.
808         (thumb_far_jump_used_p): Once the decision has been made that
809         far jumps might be used, always return true.
810         If being called from the initial elimination offset macro then
811         do not bother to perform the test if the arg pointer is not
812         being used.
813         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
814         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
815
816         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
817
818         * arm.c (output_return_instruction): Handle more cases where we can
819         return from a function with an ldr instruction.
820         (arm_output_epilogue): Likewise.
821
822         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
823         if we need to push a large stack frame and there are no callee-saved
824         registers.
825
826         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
827         in ARM code if the frame pointer has been eliminated.
828
829         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
830         unspec_volatile arguments to avoid duplicates.
831         (consttable_1, consttable_2): Fixes for big-endian mode.
832
833         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
834         as appropriate.
835
836         Re-write constant pool code.
837         * arm.c (minipool_node, minipool_fix): New types.
838         (minifix): Delete type.
839         (arm_add_minipool_constant): Delete.
840         (arm_compute_minipool_offsets, arm_find_barrier, 
841         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
842         (get_jump_table_size): Now returns HOST_WIDE_INT.
843         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
844         functions.
845         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
846         (assign_minipool_offsets, arm_print_value): Likewise.
847         (dump_minipool): Rewrite.
848         (arm_barrier_cost): New function.
849         (create_fix_barrier): New function.
850         (push_minipool_barrier): New function.
851         (push_minipool_fix): Record additional information about the fixup 
852         required.
853         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
854         check the mode of what needs fixing.
855         (arm_reorg): Rewrite.
856
857         2000-03-08  Nick Clifton  <nickc@cygnus.com>
858
859         * config/arm/arm.md (indirect_jump): Force constant addresses into
860         a register. 
861
862         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
863
864         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
865
866         2000-02-24  Nick Clifton  <nickc@cygnus.com>
867
868         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
869         adjust is word aligned.
870         (thumb_expand_epilogue): Make sure that stack adjust is word
871         aligned.
872
873         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
874         
875         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
876
877         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
878         pointer relative addresses.
879
880         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
881
882         * arm.c (find_barrier): Find the last barrier within the allowed 
883         range.
884
885         2000-02-09  Nick Clifton  <nickc@cygnus.com>
886
887         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
888
889         2000-02-09  Nick Clifton  <nickc@cygnus.com>
890
891         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
892         ARM_FUNCTION_PROFILER. 
893
894         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
895         ARM_FUNCTION_PROFILER. 
896
897         * config/arm/linux-oldld.h: Imported from mainline sources.
898
899         2000-02-07  Nick Clifton  <nickc@cygnus.com>
900
901         * config/arm/lib1funcs.asm: Merge in thumb functions from
902         lib1thumb.asm.
903         
904         * config/arm/lib1thumb.asm: Delete.
905
906         2000-02-04  Nick Clifton  <nickc@cygnus.com>
907
908         * config/arm/arm.c: Sychronised with current Red hat local
909         sources. 
910         * config/arm/arm.h: Ditto.
911         * config/arm/arm-protos.h: Ditto.
912
913         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
914
915         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
916
917         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
918         byte stores.
919
920         2000-02-02  Nick Clifton  <nickc@cygnus.com>
921
922         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
923
924         * config/arm/arm.md (epilogue): Fix rtl checking abort because
925         (return) was emited using an emit_insn() call. 
926         
927         2000-01-31  Nick Clifton  <nickc@cygnus.com>
928
929         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
930         thumb stack frame.
931         (thumb_exit): Move frame pointer back into hard frame pointer
932         register if backtracing is being used.
933
934         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
935
936         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
937         into branch.
938
939         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
940
941         * config/arm/arm.md (neg_pool_offset): Provide default for new
942         attribute.
943         (arm_movsi_insn): Add neg_pool_offset attribute.
944         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
945         rtx for the insn that starts the scan and an unsigned long for its
946         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
947         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
948         instructions in *PINSERTED.
949         (struct minipool_fixup): Add MIN_ADDRESS elt.
950         (sort_fixups): Compute it.
951         (arm_reorg): Changes to support inserting pools before the insn to be
952         fixed up.
953
954         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
955
956         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
957         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
958         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
959
960         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
961
962         * config/arm/semi.h (TARGET_VERSION): Do not define if already
963         defined.
964         (TARGET_DEFAULT): Do not define if already defined.
965
966         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
967
968         * config/arm/arm.md (anddi3): Allow disjoint source operands.
969         (iordi3): Allow disjoint source operands.
970         (xordi3): Allow disjoint source operands.
971         (negdi2): Permit construction for ARM and Thumb.
972         (arm_negdi2): Renamed version of old negdi2 pattern.
973         (thumb_negdi2): New pattern: Only permit non-overlapping
974         source and destination.
975
976         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
977
978         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
979         scratch low register so that it will not be deleted.
980
981         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
982
983         * config/arm/pe.h (ARM_PE): Define.
984         
985         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
986         interfacearm attribute if this is a PE toolchain.
987         (output_return_instruction): Do not emit anything if the function
988         has the naked attribute set.
989         (is_called_in_ARM_mode): If the function has the interfacearm
990         attribute then return true.
991         (thumb_expand_prologue): Do not generate a prologue for naked
992         functions.
993         (thumb_expand_epilogue): Do not generate an epilogie for a naked
994         function.
995         (output_thumb_prologue): Do not bother if the function is naked.
996         Strip PE encoding from function name before emitting.
997
998         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
999
1000         * arm.md (pic_load_addr): Fix constraints.
1001
1002         * arm.md (casesi_insn): Fix mis-applied patch.
1003
1004         * arm.md ("core" function unit): Add rules for single- and
1005         multi-cycle insns.
1006         (All TARGET_THUMB patterns): Add "type" attribute information
1007         where needed.
1008         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
1009         the following insn is a CALL.
1010
1011         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
1012         pointer.
1013         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
1014         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
1015         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
1016         
1017         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
1018
1019         * config/arm/linux-gas.h: oops - this file was missed out when the
1020         branch was created...
1021
1022         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
1023
1024         * thumb.c: Deleted.  Move contents to ...
1025         * arm.c: ... here.
1026         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1027         rule for thumb.o
1028         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1029         * configure: Regen.
1030
1031         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
1032         declare a prototype for asm_output_align();
1033
1034         * arm.c (thumb_condition_code): Delete.
1035         (arm_print_operand): Always use arm_condition_code array.
1036
1037         * arm.c (thumb_return_addr_rtx): Delete.
1038         (arm_save_machine_status, arm_restore_machine_status): Delete.
1039         (arm_init_machine_status, arm_mark_machine_status): New functions.
1040         (arm_init_expanders): Update accordingly.
1041         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
1042         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1043         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1044         
1045         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
1046
1047         * configure.in : Fix arm-*-aout target to use new t-arm-aout
1048         script. 
1049         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1050         targets.
1051
1052         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
1053
1054         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1055         stack backtrace structure.
1056
1057         * config/arm/arm-protos.h: Add prototypes for functions defined in
1058         arm/pe.h.
1059         
1060         * config/arm/arm.c (arm_override_options): Fix selection of 
1061         attributes of default processor.
1062         
1063         * config/arm/coff.h: Delete needless #include.
1064         
1065         * config/arm/pe.c: Delete unused code.
1066         
1067         * config/arm/pe.h (CPP_DEFINES): Delete
1068         (SUBTARGET_CPP_SPEC): Define.
1069         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1070         
1071         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1072
1073         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
1074
1075         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1076         updated.
1077         (CAN_DEBUG_WITHOUT_FP): Define.
1078         (FIXED_REGISTERS): Make r11 call-saved.
1079         (CALL_USED_REGISTERS): Likewise.
1080         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1081         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
1082         frame-pointer is required.
1083         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1084         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1085         if the target normally needs a stack frame in non-leaf functions.
1086         (use_return_insn): Correct logic for determining when a return
1087         instruction can be used.
1088         (output_return_instruction): Handle the frame-pointer register as
1089         a normal register when not TARGET_APCS_FRAME.
1090         (arm_output_prologue): Likewise.
1091         (arm_output_epilogue): Likewise.
1092         (output_func_epilogue): Likewise.
1093         (arm_expand_prologue): Likewise.
1094         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1095
1096         * arm.c (use_return_insn): No need to check floating point regs if
1097         TARGET_SOFT_FLOAT.
1098         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1099         the code of value stored in the minipool array.
1100         (arm_add_minipool_constant): Likewise.
1101
1102 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1103
1104         * basic-block.h (conflict_graph_enum_fn): K&R fix.
1105
1106 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1107
1108         * tree.c (tree_expr_nonnegative_p): New function.
1109
1110         * tree.h (tree_expr_nonnegative_p): Declare.
1111
1112         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1113         elide some sign_compare warnings.
1114         (build_conditional_expr): Likewise.
1115
1116 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
1117
1118         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1119
1120         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1121         * i386.c (print_operand): Use the proper suffix for a 387 HImode
1122         operand.  Abort if a 387 operand has an unsupported size.
1123
1124 2000-04-08  Neil Booth  <NeilB@earthling.net>
1125
1126         * cppexp.c (parse_charconst): Null does not end character
1127         constants.
1128         * cppinit.c (ISTABLE): Null character handled as whitespace.
1129         * cpplex.c (null_warning):  new function.
1130         (skip_string): Emit warning if nulls encountered.
1131         (_cpp_skip_hspace): Emit warning if nulls encountered.
1132         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
1133         them.
1134         * cpp.texi: Update.
1135
1136 2000-04-07  Richard Henderson  <rth@cygnus.com>
1137
1138         * flow.c (loop_depth): Remove.
1139         (reg_next_use, cc0_live, mem_set_list): Replace with ...
1140         (struct propagate_block_info): New.
1141         (life_analysis): Don't allocate reg_next_use.
1142         (propagate_block_delete_insn): Break out of propagate_block.
1143         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
1144         (propagate_block_delete_libcall): Likewise.
1145         (propagate_block): Create a propagate_block_info struct to pass
1146         to subroutines.  Allocate one not two temporary regsets.  Don't
1147         clobber memory for const calls.  Look for clobbers in
1148         CALL_INSN_FUNCTION_USAGE.
1149         (mark_set_regs): Recognize COND_EXEC.
1150         (mark_set_reg): Break out of mark_set_1.
1151         (mark_used_reg): Break out of mark_used_regs.
1152         (mark_used_regs): Recognize COND_EXEC.
1153         (insn_dead_p): Use propagate_block_info struct.
1154         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
1155         (find_auto_inc, try_pre_increment_1): Likewise.
1156         (print_rtl_with_bb): Dump regs live at end too.
1157         (count_reg_sets_1): Pass in loop_depth.
1158         (count_reg_sets, count_reg_references): Likewise.
1159         (recompute_reg_usage): Provide it.
1160
1161 2000-04-07  Richard Henderson  <rth@cygnus.com>
1162
1163         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
1164         not the raw files.
1165
1166 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
1167
1168         * cpplib.c (do_elif): Skip the rest of the line if we're
1169         not going to bother evaluating it.
1170         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
1171         to avoid pointless calls to the lexer.
1172
1173 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
1174
1175         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1176
1177 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
1178
1179         * calls.c (expand_call): emit_queue if we're trying a sibcall.
1180
1181 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
1182
1183         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1184
1185 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
1186
1187         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1188         crtend so they can be multilibbed.
1189         (STAGESTUFF): Remove s-crt and s-crtS.
1190
1191 2000-04-07  Richard Henderson  <rth@cygnus.com>
1192
1193         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1194         if we discover we need a pseudo and no_new_pseudos is true.
1195         * config/alpha/alpha.md (ne:DI insn): New.
1196         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1197
1198 2000-04-07  Richard Henderson  <rth@cygnus.com>
1199
1200         * rtl.def (COND_EXEC): New.
1201         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1202         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1203
1204         * genconfig.c (have_cond_arith_flag): Remove.
1205         (have_cond_exec_flag): New.
1206         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1207         (main): Print HAVE_conditional_execution.
1208
1209         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1210         (sched_analyze_insn, print_pattern): Likewise.
1211         * reload.c (find_equiv_reg): Likewise.
1212         * rtlanal.c (reg_referenced_p): Likewise.
1213         (note_stores, dead_or_set_regno_p): Likewise.
1214         (reg_overlap_mentioned_p): Rewrite to use a switch.
1215
1216         * ggc.h (struct rtx_def): Forward declare.
1217
1218         * print-rtl.c (debug_rtx_range): New.
1219         * rtl.h (debug_rtx_range): Declare.
1220
1221         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1222
1223         * gcse.c (gcse_main): Don't rebuild the CFG here.
1224         (delete_null_pointer_checks): Likewise.
1225         * ssa.c (convert_to_ssa): Likewise.
1226         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1227         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1228         `get_insns()'.  Always split insns after reload when optimizing.
1229
1230         * basic-block.h (merge_blocks_nomove): Declare.
1231         (tidy_fallthru_edge): Declare.
1232         * flow.c (merge_blocks_nomove): Document as merging into previous
1233         blocks.  Remove cruft from between blocks; remove all edges out of A.
1234         (tidy_fallthru_edge): Export.
1235
1236 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1237
1238         * ssa.c (compute_conservative_reg_partition): Declare with
1239         void arguments.
1240         * toplev.c (clean_dump_file): Remove previously-deleted function
1241         inadvertantly merged back in.
1242         * conflict.c (conflict_graph_add): Use a single call to
1243         htab_find_slot to look up and insert.
1244
1245 2000-04-06  Richard Henderson  <rth@cygnus.com>
1246
1247         * genrecog.c (*): Rename _last_insn to last_insn.
1248         (make_insn_sequence): Set the position of the peephole2 C test
1249         to be at the last insn.
1250
1251 2000-04-06  Richard Henderson  <rth@cygnus.com>
1252
1253         * flow.c (compute_flow_dominators): Free worklist.
1254
1255 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1256
1257         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1258
1259 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1260
1261         * rtl.h (INSN_P): New macro.
1262         (successor_phi_fn): New typedef.
1263         (for_each_successor_phi): New prototype.
1264         (in_ssa_form): New variable.
1265         (PHI_NODE_P): Likewise.
1266         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1267         phi nodes in successors.
1268         (mark_used_regs): Add PHI case.
1269         (set_phi_alternative_reg): New function.
1270         (life_analysis): Assert that dead code elimination is not selected
1271         when in SSA form.
1272         * toplev.c (to_ssa_time): New variable.
1273         (from_ssa_time): Likewise.
1274         (compile_file): Zero to_ssa_time and from_ssa_time.
1275         Print time to convert to and from SSA.
1276         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1277         (print_time): Compute percent fraction as integer.
1278         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1279         (convert_to_ssa): Check if we're already in SSA.  
1280         Don't eliminate dead code in life_analysis.
1281         Rerun flow and life analysis at bottom.
1282         (eliminate_phi): Use canonical regnos when adding nodes.
1283         (mark_reg_in_phi): New function.
1284         (mark_phi_and_copy_regs): Likewise.
1285         (convert_from_ssa): Rerun life analysis at top.  
1286         Use coalesced partition.
1287         Check for removing a phi node at the end of the block.
1288         (compute_coalesced_reg_partition): New function.
1289         (coalesce_regs_in_copies): Likewise.
1290         (coalesce_reg_in_phi): Likewise.
1291         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1292         (for_each_successor_phi): Likewise.
1293         (rename_context): New struct.
1294         (rename_block): Use a rename_context with rename_insn_1.  When
1295         renaming sets of a subreg, emit a copy of the entire reg first.
1296         (rename_insn_1): Treat data as a rename_context *.  Save current
1297         insn in set_data.
1298         (rename_set_data): Add field set_insn.
1299         * Makefile.in (HASHTAB_H): Move up in file.
1300         (OBSTACK_H): New macro.
1301         (collect2.o): Use OBSTACK_H in dependencies.
1302         (sdbout.o): Likewise.
1303         (emit-rtl.o): Likewise.
1304         (simplify-rtx.o): Likewise.
1305         (fix-header.o): Likewise.
1306         (OBJS): Add conflict.o.
1307         (conflict.o): New rule.
1308         * basic-block.h: Include partition.h.
1309         (conflict_graph): New typedef.
1310         (conflict_graph_enum_fn): Likewise.
1311         (conflict_graph_new): New prototype.
1312         (conflict_graph_delete): Likewise.
1313         (conflict_graph_add): Likewise.
1314         (conflict_graph_conflict_p): Likewise.
1315         (conflict_graph_enum): Likewise.
1316         (conflict_graph_merge_regs): Likewise.
1317         (conflict_graph_print): Likewise.
1318         (conflict_graph_compute): Likewise.
1319         * conflict.c: New file.
1320
1321 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1322
1323         * tlink.c (read_repo_files): Don't look for .rpo info for
1324         linker flags.
1325
1326 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1327
1328         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1329
1330 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1331
1332         * config/sh/lib1funcs.asm (___udivsi3_i4):
1333         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1334         only depends on FMOVD_WORKS.
1335
1336 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1337
1338         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1339         make double constant 8-byte aligned.
1340
1341 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1342
1343         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1344         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1345         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1346         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1347         Accept storing GENERAL_REGS into offsetable memory.
1348         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1349         building a TFmode constant other than 0.0L into GENERAL_REGS.
1350
1351 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1352
1353         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1354         
1355 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1356
1357         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1358         (macro_cleanup): No need to cast pbuf->macro.
1359         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1360         it returns VSPACE.  Remove check for trailing space after
1361         CPP_COMMENT.
1362         (_cpp_create_definition): Don't diddle flags here.  Return
1363         directly on error.
1364         (unsafe_chars): Handle c1 being EOF.
1365         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1366         checks.  Don't push the buffer till after we're done with
1367         them.
1368         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1369         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1370         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1371         appropriately.
1372         (_cpp_parse_assertion): Don't NUL terminate.
1373         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1374         hspace before calling _cpp_parse_assertion.  Remove all sets
1375         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1376         special with '\n' here.
1377         (maybe_macroexpand): Handle T_EMPTY hash entries without
1378         pushing a buffer at all.
1379         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1380         incrementing the line number here.  Clear
1381         potential_control_macro as well as only_seen_white, if
1382         appropriate.
1383         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1384         (_cpp_get_define_token): New function, basically like
1385         _cpp_get_directive_token was but doesn't eat horizontal space.
1386         Don't do anything with only_seen_white here.
1387         (_cpp_get_directive_token): Just call _cpp_get_define_token
1388         repeatedly till it returns non-hspace.
1389
1390         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1391         (conditional_skip, skip_if_group): Return int.
1392         (DIRECTIVE_TABLE): Change origin of all conditional directives
1393         to "COND".
1394         (TRAD_DIRECT_P): New macro.
1395         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1396         an error for a bogus directive, unless -lang-asm.  Use
1397         TRAD_DIRECT_P. Loop calling handler functions till one returns
1398         zero.
1399         (get_macro_name): Don't diddle flags here.
1400         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1401         Create T_EMPTY nodes for #define macro /* nothing */.
1402         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1403         Use hp->name when calling pass_thru_directive.
1404         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1405         Return the result of conditional_skip and/or skip_if_group.
1406         Don't call _cpp_output_line_command.
1407         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1408         Issue -Wtraditional warnings as appropriate.  Don't complain
1409         about unrecognized directives.  If we are to stop skipping,
1410         return the number of the directive that ended the skip.
1411         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1412         expansion and line commands while skipping.  Return the result
1413         of consider_directive_while_skipping, if nonzero.
1414         (do_endif): Just set potential_control_macro here.
1415         (validate_else): Use _cpp_get_directive_token.
1416         (do_assert, do_unassert): Don't save pointers into the
1417         token_buffer across calls to the lexer.  Use
1418         _cpp_get_directive_token.  
1419
1420         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1421         pointer, not an offset.  Replace 'data', which was a generic
1422         pointer, with 'macro', which points to a struct hashnode.
1423         (cpp_reader): Add 'potential_control_macro' pointer.
1424         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1425         (CPP_BUF_GET, CPP_FORWARD): Delete.
1426         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1427         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1428         ACTIVE_MARK_P): Update.
1429         (_cpp_get_define_token): New internal function.
1430         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1431
1432 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1433
1434         * configure.in: And here.
1435         * configure: Regenerate.
1436         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1437         --enable-libstdcxx-v3 is passed at configure time.
1438         * config.h.in: Regenerate.
1439
1440 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1441
1442         * final.c (final): Use xcalloc to allocate line_note_exists.
1443         * function.c (free_after_compilation): Free the temp_slots.
1444         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1445         (combine_temp_slot): Free temp_slots when they get combined.
1446         (purge_addressof): Fix typo in comment.
1447         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1448         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1449
1450         * ggc.h: Include varray.h.
1451         (ggc_pending_trees): Declare.
1452         (ggc_mark_tree_children): Remove declaration.
1453         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1454         * ggc-common.c (ggc_pending_trees): New variable.
1455         (ggc_mark_roots): Call ggc_mark_trees.
1456         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1457         the ggc_pending_trees.
1458         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1459         of ggc.h.
1460         
1461 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1462
1463         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1464         GET_MODE_SIZE.
1465
1466 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1467
1468         * sh.c (sh_insn_length_adjustment): New function.
1469         * sh-protos.h (sh_insn_length_adjustment): Declare.
1470         * sh.h (ADJUST_INSN_LENGTH): Use it.
1471
1472 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1473
1474         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1475         from the insn where REG_RETVAL is added.
1476         (emit_no_conflict_block): Ditto.
1477
1478         * md.texi (Standard Names): Clarify when movX is needed.
1479
1480         * combine.c (simplify_comparison) [MINUS]: Do not replace
1481         all (op (minus A B) 0) with (op A B).
1482
1483 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1484                           J"orn Rennecke <amylaar@cygnus.co.uk>
1485
1486         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1487         (block_lump_real): Likewise.
1488
1489 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1490
1491         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1492         remaining non-zero debugging masks.
1493
1494 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1495
1496         * basic-block.h (verify_flow_info): Declare.
1497         (flow_loop_outside_edge_p): Declare.
1498         * flow.c (verify_flow_info): Remove declaration.
1499         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1500
1501 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1502
1503         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1504         not C++ comments.
1505
1506 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1507
1508         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1509         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1510         seqdi_zero_trunc+1): Allow splits only if registers are
1511         different.
1512
1513 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1514
1515         * acconfig.h: Add HAVE_GAS_HIDDEN.
1516         * config.in: Regenerated.
1517         * configure.in: Add test for .hidden pseudo-op in gas.
1518         * configure: Regenerated.
1519         * crtstuff.c: Include auto-host.h.
1520         Emit additional .hidden pseudo-op for __dso_handle if the
1521         assembler knows about it.
1522
1523 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1524
1525         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1526         before freeing argnames.
1527         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1528
1529 2000-04-05  Michael Meissner  <meissner@redhat.com>
1530
1531         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1532         Walton <jonboy@gordian.com> to make memory references with update
1533         work wtih -mregnames.
1534
1535 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1536
1537         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1538         (regrename_optimize): Rename variables `def_uses' and
1539         `ext_basic_blocks' to avoid conflicts with similarly named
1540         typedefs in traditional C.
1541
1542         * calls.c (initialize_argument_information): Fix typo in previous
1543         change.
1544
1545 2000-04-04  Richard Henderson  <rth@cygnus.com>
1546
1547         * regrename.c (consider_available): Test fixed_regs not
1548         PIC_OFFSET_TABLE_REGNUM.
1549
1550 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1551
1552         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1553         crtend.
1554         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1555         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1556         (ENDFILE_LINUX_SPEC): Always use crtend.
1557         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1558         (powerpc-*-linux-gnu): Likewise.
1559         * configure: Regenerate.
1560
1561         * config/rs6000/eabi.h: Don't include sysv4.h.
1562         (MULTILIB_DEFAULTS): Don't define.
1563         * config/rs6000/eabiaix.h: Don't include eabi.h.
1564         * config/rs6000/eabile.h: Delete.
1565         * config/rs6000/eabilesim.h: Delete.
1566         * config/rs6000/eabisim.h: Don't include eabi.h.
1567         * config/rs6000/linux.h: Don't include sysv4.h.
1568         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1569         (MULTILIB_DEFAULTS): Don't redefine.
1570         * config/rs6000/rtems.h: Don't include eabi.h.
1571         * config/rs6000/sol2.h: Don't include sysv4le.h.
1572         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1573         * config/rs6000/t-ppc: Delete.
1574         * config/rs6000/t-ppcgas: Correct comment.
1575         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1576         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1577         as default.
1578         * config/rs6000/t-ppc: Delete.
1579         * config/rs6000/vxppc.h: Don't include sysv4.h.
1580         * config/rs6000/vxppcle.h: Delete.
1581         * configure.in: Use multiple header files for p2pc ELF targets
1582         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1583         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1584         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1585         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1586         always available for these platforms.
1587
1588 2000-04-04  Richard Henderson  <rth@cygnus.com>
1589
1590         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1591
1592 2000-04-04  Stan Cox  <scox@cygnus.com> 
1593
1594         * Makefile.in: Add rules for regrename.o
1595         * regrename.c: New file.
1596         * rtl.h (regrename_optimize): Add prototype.
1597         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1598         (compile_file, decode_d_option): Add support for -frename-registers.
1599         (rest_of_compilation): Call regrename_optimize.
1600         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1601         New macros.     
1602         
1603 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1604
1605         * Makefile (gccbug): New target.
1606         (doc): Depend on it.
1607         * gcc.texi (Bugs): Link subnodes.
1608         (gccbug): New node.
1609         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1610         Document severities, priorities, and classes in bug form.
1611
1612 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1613
1614         * cpplex.c (trigraph_map, speccase): Combine into single
1615         table, chartab.
1616         (NORMAL, NONTRI): New macros.
1617         (_cpp_read_and_prescan): Change to use unified table.  Use
1618         is_hspace to test for whitespace.
1619
1620         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1621         definition that doesn't provoke the "empty body in an
1622         if-statement" warning.
1623
1624 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1625
1626         * builtins.c (expand_builtin_strlen): Force the source to
1627         be a memory address.
1628
1629 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1630
1631         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1632
1633 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1634
1635         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1636          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1637         (ECF_IS_CONST): Rename to ECF_CONST.
1638         (special_function_p): Make static, change interface.
1639         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1640         (expand_call) ... here; convert number of variables to flags.
1641         (emit_library_call_vlue_1): Likewise.
1642         (setjmp_call_p): New function.
1643         (initialize_argument_information): Accepts flags as argument;
1644         return flags.
1645         (precompute_arguments): Likewise.
1646         * tree.h (special_function_p): Remove.
1647         (setjmp_call_p): Add prototype.
1648
1649 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1650
1651         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1652         so that addresses are offsetable by up to 16 bytes.
1653         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1654         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1655         offsetable.
1656
1657         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1658         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1659         (movsf): Don't force any constant to memory if target is integer
1660         hard register.
1661         Move fp_zero_operand check below the const0_rtx check.
1662         (movtf): Likewise. Also allow fp_zero_operand for stores into
1663         memory.
1664         (movdf): Likewise. Also allow fp_zero_operand for stores into
1665         memory and into integer hard registers.
1666         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1667         movdf_const_intreg_sp64): Remove.
1668         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1669         conditions.
1670         (movdf_no_e_insn_v9_sp32): New pattern.
1671         (movdf_insn_v9only): Remove.
1672         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1673         (movdf_insn_sp64): Remove.
1674         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1675         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1676         (following splits): Rewrite conditions. Add two new splits
1677         for storing 0.0 into memory and registers.
1678         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1679         (movtf_insn_sp32): Redo constraints and conditions.
1680         (movtf_insn_vis_sp32): New pattern.
1681         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1682         (movtf_insn_hq_sp64): Likewise.
1683         (movtf_insn_hq_vis_sp64): New pattern.
1684         (movtf_insn_sp64): Redo constraints and conditions.
1685         (movtf_insn_vis_sp64): New pattern.
1686         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1687         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1688         or memory.
1689         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1690         -mvis or -m64 to take down the number of various reload patterns.
1691
1692 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1693
1694         * pa/pa-64.h: New file.
1695         * pa/pa64-regs.h: New file.
1696         * pa/pa64-start.h: New file.
1697         * pa/t-pa64: New file.
1698         * pa/xm-pa64hpux.h: New file.
1699
1700 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1701
1702         * sparc.c (output_restore_regs): Prototype.
1703         (sparc_emit_float_lib_cmp): Constification.
1704
1705         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1706
1707         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1708         Prototype.
1709
1710         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1711         (get_value_hash, hash_rtx): Likewise.
1712
1713         * ssa.c (compute_conservative_reg_partition): Prototype.
1714
1715         * tree.c (mark_hash_entry): Prototype.
1716
1717 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1718
1719         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1720         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1721         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1722
1723         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1724         * objc/lang-specs.h: Likewise.
1725
1726 2000-04-03  Neil Booth  <NeilB@earthling.net>
1727
1728         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1729         and SYNTAX_ERROR2. Replace `' in messages with ''.
1730         (op_to_str): Make re-entrant.
1731         (_cpp_parse_expr): Implement new error macros. Use | rather
1732         than || to logically or 2 boolean integers.  Simply expression
1733         checking we have a left operand iff needed.
1734
1735 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1736
1737         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1738
1739 2000-04-03  Philip Blundell  <philb@gnu.org>
1740
1741         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1742
1743 2000-04-03  Felix Lee  <flee@cygnus.com>
1744
1745         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1746         (run_shell): Use it. 
1747
1748 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1749
1750         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1751         (stmp-fixproto): ...rather than here.
1752
1753 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1754
1755         * pa.c (print_operand): Compute 'base' only inside the code paths
1756         that use it.
1757
1758 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1759
1760         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1761         CEIL_DIV_EXPR.
1762
1763 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1764
1765         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1766
1767 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1768
1769         * Makefile.in (alias.o): Depend on $(TREE_H).
1770
1771 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1772
1773         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1774         processing C++.
1775         * cpplib.c (_cpp_handle_directive): Improve warnings for
1776         traditional C and indented directives.
1777
1778         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1779         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1780         fixinc/inclhack.def: Indent the # of #include_next one space.
1781         * cp/rtti.c: Un-indent #if and #endif.
1782
1783         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1784         syntax error, but an error has already been printed.
1785         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1786         message when called with nothing remaining on the line.
1787         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1788         OTHER token, not an ASSERTION.
1789         * cpplib.c (do_assert): When we create a 'base' node, clear
1790         its aschain pointer.
1791
1792 2000-04-02  Neil Booth <NeilB@earthling.net>
1793
1794         * cppexp.c:  New typedef op_t.  struct operation and struct 
1795         token updated to use it.
1796         (op_to_str): New function.
1797         (_cpp_parse_expr): Error messages modified to use op_to_str.
1798
1799 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1800
1801         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1802         before checking MUST_PASS_IN_STACK.
1803
1804 2000-04-02  Neil Booth <NeilB@earthling.net>
1805
1806         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1807         flags and initial priority into a single constant.  New
1808         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1809         (_parse_cpp_expr): Implement new constants.  Take left operand
1810         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1811         parse indicated by reducing FINISHED token.  Remove new lines
1812         from cpp_error messages.
1813
1814 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1815
1816         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1817         permanent obstack.
1818
1819 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1820
1821         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1822         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1823         the strings and function names on the fly.  Take the #sccs
1824         entry out of the table if SCCS_DIRECTIVE is not defined.
1825         (_cpp_handle_directive): Decide if the # was at the beginning
1826         of the line here.  Issue -pedantic warnings for extended
1827         directives here.  Warn about K+R directives with the #
1828         indented, and C89/extended directives with the # not indented,
1829         here.
1830         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1831         do_assert, do_unassert): Don't issue pedantic warning here.
1832
1833         * cpphash.h: Add CPP_WTRADITIONAL macro.
1834         * cpplib.h (struct cpp_options): Rename warn_stringify to
1835         warn_traditional; update comments.
1836         * cppinit.c (handle_option): Set warn_traditional not
1837         warn_stringify.
1838         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1839         CPP_WTRADITIONAL (pfile).
1840         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1841         be ignored in -traditional mode here.
1842
1843         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1844         to initialize speccase[] and trigraph_map[].  Delete all
1845         references to pfile->input_speccase.  Always treat '?' as a
1846         special character.  Remove table-initialization code from
1847         _cpp_init_input_buffer.
1848
1849         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1850         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1851
1852 2000-04-01  Richard Henderson  <rth@cygnus.com>
1853
1854         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1855         (mostlyclean): Likewise.
1856
1857         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1858         (struct dump_file_info, enum dump_file_index, dump_file): New.
1859         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1860         not a string.  Clean out file if we havn't yet done so.  Do nothing
1861         if the dump isn't enabled.
1862         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1863         graph data if requested.
1864         (dump_rtl, clean_dump_file): Remove.
1865         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1866         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1867         .combine dump if optimizing.  Iterate over dump_file to finalize the
1868         graph dumps.
1869         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1870         Convert all uses of dump_rtl.
1871         (decode_d_option): Iterate over dump_file to implement 'a' and to
1872         locate pass-specific dumps.
1873
1874 2000-04-01  Neil Booth <NeilB@earthling.net>
1875
1876         * cppexp.c: Redefine priority constants.
1877         (_cpp_parse_expr): Replace left and right priority scheme with
1878         single priority logic.  Move LOGICAL to same place as COMPARE.
1879         Remove bogus check for multiple unary +/- operators.
1880
1881 2000-04-01  Neil Booth <NeilB@earthling.net>
1882
1883         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1884         within the switch statement.  Binary operations break out of
1885         the switch naturally.  '(' tokens handled by forcing
1886         immediate shift.  ')' handled by forcing immediate reduce to
1887         the previous '('.  New error messages.
1888         
1889 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1890
1891         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1892         part', it's already in use.  Use %K instead.  Add a return at the
1893         end of what is now %K.
1894         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1895
1896 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1897
1898         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1899         allocate_dynamic_stack_space.
1900         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1901         update stack_pointer_delta; do not update arg_size_so_far.
1902         (compute_argument_block_size): Use stack_delta instead of
1903         stack_pointer_pending and arg_size_so_far.
1904         (expand_call): Add sanity checking for stack_pointer_delta;
1905         save and restore stack_pointer_delta for SIB, use
1906         stack_pointer_delta for alignment; do not update arg_space_so_far.
1907         (emit_library_call_value): Use stack_pointer_delta for alignment.
1908         (store_one_arg): Do not update arg_space_so_far.
1909         * explow.c (adjust_stack, anti_adjust_stack): Update
1910         stack_pointer_delta.
1911         (allocate_dynamic_stack_space): Add sanity checking for
1912         stack_pointer_delta.
1913         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1914         stack_pointer_delta.
1915         (emit_push_insn): Update stack_pointer_delta.
1916         * function.h (struct expr_status): Add x_stack_pointer_delta;
1917         remove x_arg_space_so_far.
1918         (arg_space_so_far): Remove.
1919         (stack_pointer_delta): New macro.
1920
1921 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1922
1923         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1924         Reorder struct cpp_options and struct cpp_reader for better 
1925         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1926         takes two args.  Change all 'char' flags to 'unsigned char'.
1927         Move show_column flag into struct cpp_options.  Don't
1928         prototype cpp_options_init.
1929         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1930         cppinit.c, cpplex.c, cpplib.c:
1931         Replace CPP_OPTIONS (pfile)->whatever with
1932         CPP_OPTION (pfile, whatever), and likewise for
1933         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1934
1935         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1936         Extract CPP_OPTION (pfile, pending) and work with that
1937         directly.
1938         (cpp_options_init): Delete.
1939         (cpp_reader_init): Turn on on-by-default options here.
1940         Allocate the pending structure here.              
1941         (cl_options, enum opt_code): Define these from the same table,
1942         kept in a large macro.  Add -fshow-column and -fno-show-column
1943         options.
1944
1945         * cpperror.c (v_message): If show_column is off, don't print
1946         the column number.
1947
1948         * cppmain.c: Update for new interface.
1949         * fix-header.c: Likewise.
1950
1951 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1952
1953         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1954         definition.
1955         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1956         are passed to any invocation of AR_FOR_TARGET.
1957         (AR_CREATE_FOR_TARGET): New macro.
1958         (AR_EXTRACT_FOR_TARGET): New macro.
1959         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1960         AR_EXTRACT_FOR_TARGET.
1961         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1962         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1963         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1964         AR_EXTRACT_FOR_TARGET to sub-makes.
1965
1966 2000-03-31  Neil Booth <NeilB@earthling.net>
1967
1968         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1969         PAREN_INNER_PRIO.
1970         (_cpp_parse_expr): Check for multiple unary +/- operators.
1971         Correct priorities of ':' and '?'.  Treat ')' as having a
1972         value.  Ensure conditional expression is not void.
1973         
1974 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1975
1976         * alias.c (canon_rtx): Make it global.
1977         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1978         equality.
1979         * cse.c (struct table_elt): Add canon_exp.
1980         (insert): Clear it.
1981         (invalidate): Canonicalize expressions only once.
1982         * rtl.h (canon_rtx): Declare.
1983
1984 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1985
1986         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1987         * alias.c (reg_known_value): Add comments.
1988         (init_alias_analysis): Likewise.
1989         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1990         address.
1991         (cse_basic_block): Fix typo in comment.
1992         * emit-rtl.c: Include hashtab.h.
1993         (const_int_htab): New variable.
1994         (const_int_htab_hash): New function.
1995         (const_int_htab_eq): Likewise.
1996         (rtx_htab_mark_1): Likewise.
1997         (rtx_htab_mark): Likewise.
1998         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1999         (unshare_all_rtx): Fix formatting.
2000         (init_emit_once): Initialize const_int_htab.
2001         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
2002         address.
2003         * rtl.texi: Document the fact that all CONST_INTs with the same
2004         value are shared.
2005
2006 2000-03-30  Richard Henderson  <rth@cygnus.com>
2007
2008         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
2009
2010 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
2011
2012         * configure.in: Comment out --enable-c-cpplib stanza.
2013         * configure: Regenerate.
2014
2015 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2016
2017         * expr.c (store_constructor): Properly compute displacement and
2018         alignment when offset is variable.
2019
2020         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
2021         cases of alignment in bytes.
2022
2023 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
2024
2025         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2026         since it is used to generate c-parse.y.
2027         * objc-parse.c, objc-parse.y: Regenerated.
2028
2029         * function.c (expand_function_end): Pass alignment argument to
2030         emit_block_move in bits, not bytes.
2031
2032 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2033
2034         * expr.c (move_by_pieces_ninsns): Fix one more missing align
2035         correction.
2036
2037         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2038
2039         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2040         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2041         * function.c (assign_parms): Likewise.
2042         * integrate.c (expand_inline_function): Likewise.
2043         * stmt.c (expand_decl): Likewise.
2044         (copy_rtx_and_substitute): Likewise.
2045         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2046         (clear_by_pieces): Fix error in last change.
2047         * emit-rtl.c (init_emit): Set known registers alignment in bits.
2048         * function.h (regno_pointer_align): Now unsigned.
2049         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2050         is in bits.
2051         * config/i386/i386.c (aligned_operand): Likewise.
2052         * config/sparc/sparc.c (mem_min_alignment): Likewise.
2053         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2054         (unaligned_memory_operand): Likewise.
2055         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2056         Also make alignments and sizes unsigned and some whitespace cleanup.
2057         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2058
2059         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2060         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2061         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2062         (expand_builtin_memset): Likewise, but to clear_storage.
2063         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2064         (restore_fixed_argument_area): Likewise.
2065         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2066         (load_register_parameters): Likewise, to emit_group_load.
2067         (expand_call): Likewise, to emit_group_store and emit_block_move.
2068         (emit_library_call_value_1): Likewise, to emit_block_move.
2069         (store_one_arg): Likewise, and to emit_push_insn.
2070         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2071         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2072         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2073         (emit_block_move, emit_group_load, emit_group_store): Likewise.
2074         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2075         (expand_assigment, store_expr, store_constructor_field): Likewise.
2076         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2077         (store_constructor, store_field, get_inner_reference): Likewise.
2078         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2079         (expand_expr, case COMPONENT_REF): Likewise.
2080         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2081         and positions; reindent code.
2082         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2083         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2084         (assign_parms): Likewise to emit_group_store.
2085         * optabs.c (prepare_cmp_insn): Alignment is in bits.
2086         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2087         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2088         (expand_return): Likewise to {extract,store}_bit_field.
2089         * stor-layout.c (get_mode_alignment): Minor cleanup.
2090         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2091         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2092         
2093 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2094
2095         * config/arm/arm.h: Undo effects of previous delta:
2096         (ASM_SPEC): Do not define.
2097         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2098
2099         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2100         typo. 
2101
2102 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2103
2104         * cppinit.c (cpp_start_read): Call initialize_dependency_output
2105         only after reading in the primary source file.
2106
2107 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
2108
2109         * c-common.c (c_common_nodes_and_builtins): The first parameter to
2110         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2111         or a reference to a va_list.
2112         * builtins.c (stabilize_va_list): Simplify now we don't have to
2113         work around C array address decay.
2114         * c-typeck.c (convert_for_assignment): Handle assignment to
2115         a reference parameter by taking the address of the RHS.
2116         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2117         (va_copy): Likewise.
2118         (__va_copy): Likewise.
2119         * ginclude/varargs.h (va_start): Likewise.
2120         (__va_copy): Likewise.
2121
2122 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
2123
2124         * i386/djgpp.h: Remove extraneous "+".
2125
2126         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2127
2128         * calls.c (expand_call): Fix typo in last change.
2129
2130 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
2131
2132         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2133         been expanded.
2134
2135 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2136
2137         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2138         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2139         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2140         * tree.c (bit_position, byte_position): Likewise.
2141         * tree.h: Declare new functions.
2142
2143 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2144
2145         * config/arm/arm.c: Minor formatting changes/
2146         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2147         already defined.
2148         (ASM_SPEC): Define if not already defined.
2149
2150 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2151
2152         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
2153         _cpp_calc_hash.
2154
2155 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
2156
2157         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
2158         value, don't output it as unsigned.
2159
2160 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
2161
2162         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
2163
2164 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2165
2166         * c-common.c (c_common_nodes_and_builtins): Don't special case
2167         cplus_mode when declaring builtin bzero/bcmp, always avoid
2168         prototype arguments.
2169
2170 2000-03-29  Bruce Korb  <bkorb@gnu.org>
2171
2172         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
2173         to a non-file
2174
2175 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2176
2177         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2178         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2179         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2180         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2181         (save_fixed_argument_area, restore_fixed_argument_area):
2182         conditionize by #ifdef REG_PARM_STACK_SPACE only.
2183         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2184         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2185         (precompute_register_parameters): Avoid #ifdefs on
2186         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2187         (stire_one_args): Likewise.
2188         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2189         (emit_library_call_value_1): Likewise.
2190         (compute_argument_block_size): Align to STACK_BOUNDARY only for
2191         ACCUMULATE_OUTGOING_ARGS.
2192         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2193         value.
2194         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2195         (use_crosses_set_p): Likewise.
2196         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2197         #define ACCUMULATE_OUTGOING_ARGS 1.
2198         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2199         frames.
2200         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2201         constants.
2202         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2203         (TARGET_SWITCHES): Add push-args, no-push-args,
2204         accumulate-outgoing-args and no-accumulate-outgoing-args.
2205         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2206         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2207         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2208         and PUSH_ROUNDING.
2209         (emit_push_insn): Likewise.
2210         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2211         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2212         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2213         (STACK_DYNAMIC_OFFSET): Define correctly for both
2214         ACCUMULATE_OUTGOING_ARGS and normal mode.
2215         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2216         * tm.texi (PUSH_ARGS): Document.
2217         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2218
2219 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2220
2221         * flags.h (flag_optimize_sibling_calls): Declare.
2222         * calls.c (expand_call): Fail sibcall when
2223         !flag_optimize_sibling_calls
2224         * invoke.texi (flag_optimize_sibling_calls): Document.
2225         * toplev.c (flag_optimize_sibling_calls): New global variable.
2226         (f_options): Add flag_optimize_sibling_calls.
2227         (rest_of_compilation): Conditionize
2228         optimize_sibling_and_tail_recursive_calls by
2229         flag_optimize_sibling_calls.
2230         (main): Set flag_optimize_sibling_calls for -O2.
2231         * stmt.c (expand_return): Conditionize tail recursion by
2232         flag_optimize_sibling_calls.
2233
2234 2000-03-29  Richard Henderson  <rth@cygnus.com>
2235
2236         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2237         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2238
2239 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2240
2241         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2242
2243 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2244
2245         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2246         is given.
2247         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2248         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2249         * config/rs6000/aix.h: then modified likewise.
2250
2251 2000-03-28  Richard Henderson  <rth@cygnus.com>
2252
2253         * rtl.h: Redistribute enum reg_note documentation. 
2254         Kill trailing whitespace.
2255         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2256         Kill trailing whitespace.
2257
2258 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2259
2260         * cppfiles.c (hash_IHASH): Just return i->hash.
2261         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2262         htab_find_with_hash.
2263         (cpp_read_file): Likewise.
2264         (find_include_file): Likewise.  Properly initialize
2265         ih->nshort.  Share ih->name and ih->nshort if possible.
2266         * cpphash.c (_cpp_calc_hash): New function.
2267         (hash_HASHNODE): Just return h->hash.
2268         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2269         htab_find_with_hash.
2270         * cpphash.h: Prototype _cpp_calc_hash.
2271         * cppinit.c (initialize_builtins): Provide a valid hash
2272         to _cpp_make_hashnode, using _cpp_calc_hash.
2273
2274         * cpphash.c (collect_expansion): # is not a special character
2275         in object-like macros.  In -traditional mode, /**/ is not
2276         token paste at the beginning or end of the line.
2277         * cpplib.c (do_include, do_import, do_include_next): If
2278         parse_include fails, return immediately.
2279
2280 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2281
2282         * config/arm/arm.md (return peepholes): Update to reflect the new
2283         call insn patterns.
2284         * config/arm/arm.c (arm_volatile_func): Also check
2285         current_function_nothrow.
2286         (output_return_instruction, output_func_prologue): Use it.
2287         (arm_output_epilogue, arm_expand_prologue): Likewise.
2288
2289 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2290
2291         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2292         switch is found.
2293
2294 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2295
2296         * expr.c (store_constructor): SIZE now signed.
2297         For EXPR_SIZE, don't evaluate size; just needed if constant.
2298         * fold-const.c (fold): Fix a number of cases when folded tree is
2299         wrong type.
2300         * function.c (flush_addressof): Reenable.
2301         * tree.h (flush_addressof): Likewise.
2302         * toplev.c (independent_decode_option): Look at strings_processed.
2303         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2304
2305 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2306
2307         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2308         Allow stack adjustment after function call.
2309
2310         * regmove.c (struct csa_memlist): Make mem field rtx *.
2311         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2312         (try_apply_stack_adjustment): Replace whole MEM rtx.
2313         (combine_stack_adjustments_for_block): Update calls
2314         to record_one_stack_ref.
2315
2316 2000-03-28  Neil Booth  <NeilB@earthling.net>
2317
2318         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2319         '\\' rather than a null character, so nulls are not special.  Fix
2320         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2321         speed trigraph conversion.
2322         (_cpp_init_input_buffer): Initialize trigraph map.
2323
2324 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2325
2326         * config/i386/i386.c (output_387_binary_op): Correct intel
2327         mode assembly output, and add spaces after commas in AT&T
2328         output.  Correct Unixware assembler comment.  Document input
2329         constraints.  Comment fp operations.  Reduce profligate buffer
2330         size.  Remove extraneous abort.  Localize temp var.
2331         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2332         (output_fix_trunc): Add spaces after commas in assembly output.
2333
2334 2000-03-27  Richard Henderson  <rth@cygnus.com>
2335
2336         * i386-protos.h (ix86_match_ccmode): Declare.
2337         * i386.c (ix86_match_ccmode): New.
2338         (ix86_expand_fp_compare): Update for pattern renames.
2339         (ix86_expand_strlensi_unroll_1): Likewise.
2340         * i386.h (EXTRA_CC_MODES): Add CCZ.
2341         (SELECT_CC_MODE): Use it for EQ/NE zero.
2342         * i386.md (cmpsi_ccz_1): New.
2343         (cmpqi_ccz_1): New.
2344         (*testsi_ccz_1): New.
2345         (testqi_ccz_1): New.
2346         (cmpsi_ccno_1): Rename from cmpsi_0.
2347         (testsi_ccno_1): Rename from testsi_1.
2348         (testqi_ccno_1): Rename from testqi_1.
2349         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2350         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2351         (*cmphi_0): Use ix86_match_ccmode.
2352         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2353         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2354         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2355         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2356         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2357         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2358         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2359         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2360         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2361         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2362         (appropriate peepholes): Likewise.
2363         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2364         (*subsi_3, *subhi_3, *subqi_3): Remove.
2365         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2366         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2367         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2368         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2369         (x86_shift_adj_1): Use CCZ.
2370         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2371
2372 2000-03-27  Stan Cox  <scox@cygnus.com> 
2373
2374         * resource.h (mark_resource_type): New.
2375         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2376         find_free_register): Use mark_resource_type.
2377         (mark_set_resources): Change include_delayed_effects
2378         to mark_resource_type.
2379         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2380         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2381         Use mark_resource_type.
2382         
2383 2000-03-27  Richard Henderson  <rth@cygnus.com>
2384
2385         * i386.md (call_pop_0, call_value_pop_0): New.
2386         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2387         (call_value_pop_1): Likewise.
2388         (call_0, call_value_0): New.
2389         (call_1, call_value_1): Remove constraint from unused arg.
2390
2391 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2392
2393         * invoke.texi (Spec Files): Document new spec % command created by
2394         Tom Tromey's recent patch.
2395
2396 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2397
2398         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2399         if not defined.
2400
2401 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2402
2403         * expr.c (expand_assignment): Fix typo in last change.
2404
2405         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2406
2407 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2408
2409         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2410         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2411         and DECL_INLINE if FUNCTION_DECL.
2412         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2413         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2414         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2415         (combine_parm_decls): Likewise.
2416         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2417         * print-tree.c (print_node): Likewise.
2418         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2419         DECL_TRANSPARENT_UNION on proper decl types.
2420         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2421         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2422         DECL_BIT_FIELD of FIELD_DECL.
2423         * tree.h (DECL_RESULT_FLD): New macro.
2424         
2425         * expr.c (expand_assignment): Add code to handle variable-sized
2426         BLKmode case.
2427
2428 2000-03-26  Richard Henderson  <rth@cygnus.com>
2429
2430         * calls.c (expand_call): Pass parms not original exp to
2431         optimize_tail_recursion.  Mind return value instead of looking
2432         for a barrier.
2433         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2434         call_expr.  Move checks for call_expr and current_function_decl ...
2435         (expand_return): ... here.
2436
2437 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2438
2439         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2440         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2441         defines.
2442         (process_command): Use them.
2443         (check_live_switch): Likewise.
2444         (give_switch): Skip ignored switches.
2445
2446 2000-03-26  Jan Hubicka  <jh@suse.cz>
2447
2448         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2449         for minimal jump pass test.
2450
2451 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2452
2453         * integrate.c (function_cannot_inline_p): Do inline functions that
2454         return `void'.
2455
2456 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2457
2458         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2459         now a list of TREE_LIST entries, not types.
2460         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2461
2462         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2463         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2464         int_bit_position.
2465         * config/mips/mips.c (function_arg): Likewise; also remove cast
2466         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2467         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2468         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2469         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2470         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2471         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2472         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2473         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2474         num_adjusts now unsigned.
2475         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2476         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2477         NREGS now unsigned.
2478         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2479         as is BITPOS variable; use host_integerp and int_bit_position.
2480         (function_arg_record_value_2): Likewise.
2481         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2482         Variable REGNO now unsigned.
2483         (function_arg_record_value): NREGS now unsigned.
2484
2485 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2486
2487         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2488
2489 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2490
2491         * Rework fields used to describe positions of bitfields and
2492         modify sizes to be unsigned and use HOST_WIDE_INT.
2493         * alias.c (reg_known_value_size): Now unsigned.
2494         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2495         (really_start_incremental_init): Use bitsize_zero_node.
2496         (push_init_level, pop_init_level, output_init_element): Likewise.
2497         Use bitsize_unit_node and bitsize_one_node.
2498         (output_pending_init_elements, process_init_element): Likewise.
2499         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2500         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2501         HOST_WIDE_INT, respectively.
2502         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2503         (num_sign_bit_copies): Returns unsigned.
2504         BITWIDTH now unsigned; rework arithmetic.
2505         Remove recursive call from arg to MAX.
2506         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2507         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2508         REGNO now unsigned.
2509         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2510         (find_split_point, expand_compound_operation, make_extraction): LEN
2511         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2512         (make_field_assignment): Likewise.
2513         (combine_simplify_rtx): Add cast.
2514         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2515         (force_to_mode): WIDTH now unsigned; add cast.
2516         (if_then_else_cond): SIZE now unsigned.
2517         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2518         (extended_count): Now returns unsigned.
2519         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2520         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2521         (simplify_comparison): MODE_WIDTH now unsigned.
2522         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2523         (mark_used_regs_combine): Likewise; rework arithmetic.
2524         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2525         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2526         (record_promoted_value): REGNO now unsigned.
2527         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2528         (get_last_value): REGNO now unsigned.
2529         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2530         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2531         (remove_death): Arg REGNO now unsigned.
2532         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2533         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2534         now unsigned.
2535         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2536         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2537         (struct cse_reg_info): REGNO now unsigned.
2538         (cached_regno): Now unsigned.
2539         (REGNO_QTY_VALID_P): Add cast.
2540         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2541         (remove_invalid_regs): Likewise.
2542         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2543         as are variables END and I.
2544         (get_cse_reg_info, insert): Likewise.
2545         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2546         (canon_hash): Likewise.
2547         (insert_regs, lookup_for_remove): REGNO now unsigned.
2548         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2549         New variable RN.
2550         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2551         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2552         * emit-rtl.c (subreg_realpart_p): Add cast.
2553         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2554         (operand_subword_force): Arg I is now unsigned.
2555         * except.c (eh_regs): Variable I is now unsigned.
2556         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2557         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2558         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2559         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2560         (extract_split_bit_field, store_bit_field, extract_bit_field):
2561         Likewise.
2562         * expr.c (store_constructor_fields, store_constructor, store_field):
2563         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2564         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2565         (do_jump): Likewise.
2566         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2567         MAX_SIZE is now unsigned.
2568         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2569         (emit_group_store): Likewise.
2570         (emit_move_insn): I now unsigned.
2571         (store_constructor): Use host_integerp, tree_low_cst, and
2572         bitsize_unit_node.
2573         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2574         Rework all calculations to use trees and new fields.
2575         * expr.h (promoted_input_arg): Regno now unsigned.
2576         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2577         (mark_seen_cases): Arg is HOST_WIDE_INT.
2578         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2579         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2580         precisions and alignments are unsigned.
2581         (optimize_bit_field_compare, fold_truthop): Likewise.
2582         (int_const_binop): Adjust threshold for size_int_type_wide call.
2583         (fold_convert): Likewise.
2584         (size_int_type_wide): Make table larger and fix thinko that only
2585         had half of table used.
2586         (all_ones_mask_p, fold): Precisions are unsigned.
2587         * function.c (put_reg_info_stack): REGNO is unsigned.
2588         (instantiate_decl): Size is HOST_WIDE_INT.
2589         (instantiate_virtual_regs): I is unsigned.
2590         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2591         (promoted_input_arg): REGNO is unsigned.
2592         * function.h (struct function): x_max_parm_reg is now unsigned.
2593         * gcse.c (max_gcse_regno): Now unsigned.
2594         (struct null_pointer_info): min_reg and max_reg now unsigned.
2595         (lookup_set, next_set): REGNO arg now unsigned.
2596         (compute_hash_table): REGNO and I now unsigned.
2597         (handle_avail_expr): regnum_for_replacing now unsigned.
2598         (cprop_insn): REGNO now unsigned.
2599         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2600         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2601         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2602         * hard-reg-set.h (reg_class_size): Now unsigned.
2603         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2604         * jump.c (mark_modified_reg): I now unsigned; add cast.
2605         (rtx_equal_for_thread_p): Add cast.
2606         * loop.c (max_reg_before_loop): Now unsigned.
2607         (struct_movable): REGNO now unsigned.
2608         (try_copy_prop): REGNO arg unsigned.
2609         (regs_match_p): XN and YN now unsigned.
2610         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2611         (strength_reduce): Likewise; NREGS also unsigned.
2612         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2613         * loop.h (struct iv_class): REGNO now unsigned.
2614         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2615         Now unsigned.
2616         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2617         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2618         * optabs.c (expand_binop): I and NWORDS now unsigned.
2619         (expand_unop): I now unsigned.
2620         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2621         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2622         * real.c (significand_size): Now returns unsigned.
2623         * real.h (significand_size): Likewise.
2624         * regclass.c (reg_class_size): Now unsigned.
2625         (choose_hard_reg_mode): Both operands now unsigned.
2626         (record_reg_classes): REGNO and NR now unsigned.
2627         (reg_scan): NREGS now unsigned.
2628         (reg_scan_update): old_max_regno now unsigned.
2629         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2630         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2631         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2632         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2633         Likewise for variable R.
2634         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2635         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2636         (find_equiv_reg): Add casts.
2637         (regno_clobbered_p): Arg REGNO now unsigned.
2638         * reload.h (struct reload): NREGS now unsigned.
2639         (refers_to_regno_for_reload_p): Regno args are unsigned.
2640         (regno_clobbered_p): Likewise.
2641         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2642         (compute_use_by_pseudos): REGNO now unsigned.
2643         (find_reg): I and J now unsigned, new variable K, and change loop
2644         variables accordingly; THIS_NREGS now unsigned.
2645         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2646         (spill_hard_reg): REGNO arg now unsigned; add casts.
2647         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2648         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2649         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2650         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2651         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2652         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2653         (emit_reload_insns): REGNO now unsigned.
2654         (reload_cse_move2add): Add cast.
2655         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2656         and rework loop.
2657         * resource.c (mark_referenced_resources, mark_set_resources): New
2658         variable R; REGNO and LAST_REGNO now unsigned.
2659         (mark_target_live_regs): J and REGNO now unsigned.
2660         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2661         * rtl.h (union rtunion_def): New field rtuint.
2662         (XCUINT): New macro.
2663         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2664         (operand_subword, operand_subword_force): Word number is unsigned.
2665         (choose_hard_reg_mode): Operands are unsigned.
2666         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2667         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2668         (regno_use_in, combine_instructions, remove_death): Likewise.
2669         (reg_scan, reg_scan_update): Likewise.
2670         (extended_count): Return is unsigned.
2671         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2672         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2673         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2674         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2675         (reg_reg_last_1): FIRS and LAST now unsigned.
2676         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2677         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2678         now unsigned.
2679         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2680         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2681         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2682         (replace_regs): Arg NREGS now unsigned.
2683         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2684         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2685         (simplify_binary_operation): Likewise.
2686         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2687         THIS_LAST now unsigned.
2688         (cselib_record_set): Add cast.
2689         * ssa.c (ssa_max_reg_num): Now unsigned.
2690         (rename_block): REGNO now unsigned.
2691         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2692         sizes now unsigned.
2693         (all_cases_count): Just return -1 not -2.
2694         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2695         Rework tests to use trees whenever possible.
2696         Use host_integerp and tree_low_cst.
2697         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2698         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2699         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2700         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2701         (smallest_mode_for_size): Likewise.
2702         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2703         KNOWN_ALIGN is now an alignment, so simplify code.
2704         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2705         (start_record_layout): Renamed from new_record_layout_info.
2706         Update to new fields.
2707         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2708         New functions.
2709         (place_union_field): Renamed from layout_union_field.
2710         Update to use new fields in rli.
2711         (place_field): Renamed from layout_field.
2712         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2713         (finalize_record_size): Rework to use new fields in rli and handle
2714         union.
2715         (compute_record_mode): Rework to simplify and to use new DECL fields.
2716         (finalize_type_size): Make rounding more consistent.
2717         (finish_union_layout): Deleted.
2718         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2719         (layout_type, case RECORD_TYPE): Call new function names.
2720         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2721         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2722         (get_best_mode): UNIT is now unsigned; remove casts.
2723         * tree.c (bit_position): Compute from new fields.
2724         (byte_position, int_byte_position): New functions.
2725         (print_type_hash_statistics): Cast to remove warning.
2726         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2727         (build_index_type): Likewise; make subtype of sizetype.
2728         (build_index_2_type): Pass sizetype to build_range_type.
2729         (build_common_tree_nodes): Use size_int and bitsize_int to
2730         initialize nodes; add bitsize_{zero,one,unit}_node.
2731         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2732         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2733         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2734         (DECL_FIELD_BITPOS): Deleted.
2735         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2736         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2737         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2738         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2739         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2740         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2741         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2742         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2743         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2744         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2745         (DECL_ALIGN): Adjust to new field in union.
2746         (DECL_OFFSET_ALIGN): New field.
2747         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2748         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2749         (union tree_decl): Add struct for both aligns.
2750         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2751         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2752         (struct record_layout_info): Rework fields to have offset
2753         alignment and byte and bit position.
2754         (start_record_layout, place_field): Renamed from old names.
2755         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2756         (byte_position, int_byte_position): Likewise.
2757         (get_inner_reference): Change types of position and length.
2758         * unroll.c (unroll_loop): New variable R; use for some loops.
2759         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2760         (calculate_giv_inc): Arg REGNO now unsigned.
2761         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2762         * varasm.c (assemble_variable): Clean up handling of size using
2763         host_integerp and tree_low_cst.
2764         (decode_addr_const): Use byte, not bit, position.
2765         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2766         use tree_low_cst and int_bit_position.
2767         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2768         
2769 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2770
2771         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2772         (reorder_block_def): New members eff_head and eff_end.
2773         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2774         (verify_insn_chain): New function.
2775         (skip_insns_between_block): Add code to skip deleted insns.
2776         Check for note before using.
2777         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2778         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2779         Check for note before using.
2780         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2781         (fixup_reorder_chain): Restructure, clean up, defect removal.
2782         (reorder_basic_blocks): Remove last_insn and references to it.
2783         Moved insn chain verification code into a new function (see above).
2784         Delete defective code that sets last insn.
2785         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2786         all blocks.
2787
2788 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2789
2790         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2791
2792 2000-03-24  Richard Henderson  <rth@cygnus.com>
2793
2794         * tree.c (lang_safe_for_unsave): Remove.
2795         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2796         allowing for two levels of unsafeness.  Remove lang hook.
2797         * tree.h: Update declarations.
2798         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2799         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2800         Always fail sibcalls when there are pending cleanups.
2801
2802 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2803
2804         * flow.c (propagate_block): When we delete an ADDR_VEC,
2805         also delete the BARRIER following it if there is one.
2806
2807 2000-03-24  Richard Henderson  <rth@cygnus.com>
2808
2809         * builtins.c (expand_builtin_bzero): Convert `length' argument
2810         to sizetype.
2811
2812 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2813
2814         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2815         comparison if regno's are equal.
2816         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2817         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2818         (expand_call): Update caller.
2819         Avoid making a sibling call if argument size of the callee is larger
2820         than argument size of the caller.
2821         Call hard_function_value with outgoing set if in sibcall pass.
2822         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2823
2824         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2825         Change LEAF_REGISTERS from an array initializer to actual array
2826         identifier. Move static global variable into the function.
2827         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2828         sequences for leaf functions.
2829         * global.c (global_alloc): Likewise.
2830         * tm.texi (LEAF_REGISTERS): Update documentation.
2831
2832         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2833         TARGET_FLAT leaf disabling hack.
2834         (LEAF_REGISTERS): Changed from an array initializer to actual array
2835         identifier to avoid duplication and remove the above hack.
2836         (FUNCTION_OK_FOR_SIBCALL): Define.
2837         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2838         always like call attribute.
2839         (eligible_for_sibcall_delay): New attribute.
2840         (sibcall): New delay type.
2841         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2842         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2843         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2844         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2845         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2846         New functions.
2847         (output_function_epilogue): Move part of the code into
2848         output_restore_regs.
2849         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2850         TYPE_SIBCALL.
2851         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2852         prototypes.
2853
2854         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2855         until infrastructure is finished.
2856
2857 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2858
2859         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2860         (save_parm_insns): Not here.
2861
2862 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2863
2864         * builtins.c (expand_builtin_bzero): New function.
2865         (expand_builtin): Handle bzero.
2866
2867         * builtins.def: Add BUILT_IN_BZERO.
2868
2869         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2870         prototype & function for bzero.
2871
2872 2000-03-23  Michael Meissner  <meissner@redhat.com>
2873
2874         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2875         change adding TARGET_FP to the TF floating point insns, except for
2876         trunctfsf2, which generates direct calls to truncdfsf2.
2877
2878 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2879
2880         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2881         try to protect against middle-end changes that break binary
2882         compatibility.
2883         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2884
2885 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2886
2887         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2888
2889 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2890
2891         * calls.c (expand_call): If TARGET is passed by reference and
2892         is readonly, write a CLOBBER.
2893
2894 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2895
2896         * builtins.c (expand_builtin): Handle bcmp.
2897
2898         * builtins.def: Add BUILT_IN_BCMP.
2899
2900         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2901         prototype & function for bcmp.
2902
2903 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2904
2905         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2906         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2907         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2908
2909 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2910
2911         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2912         alternative when using -fp64 -gp32.
2913
2914 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2915
2916         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2917         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2918         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2919
2920         * frame.h (frame_state): Revert last change.
2921         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2922         * libgcc2.c (throw_helper): Revert last change.
2923         
2924 2000-03-22  Richard Henderson  <rth@cygnus.com>
2925
2926         * stmt.c (expand_asm_operands): Don't promote the temporary.
2927
2928 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2929
2930         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2931         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2932           c_get_alias_set): Likewise.
2933         * c-decl.c (duplicate_decls): Likewise.
2934         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2935         * calls.c (initialize_argument_information): Likewise.
2936         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2937         Likewise.
2938         * dwarfout.c (decl_class_context,output_type): Likewise.
2939         * expr.c (get_inner_reference): Likewise.
2940         * fold-const.c (simple_operand_p,fold): Likewise.
2941         * function.c (aggregate_value_p): Likewise.
2942         * stmt.c (expand_asm_operands): Likewise.
2943         * varasm.c (named_section): Likewise.
2944
2945 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2946
2947         Implement dwarf2 exception handling for the ARM.
2948         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2949         (DWARF_FRAME_RETURN_COLUMN): Define.
2950         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2951         REG_FRAME_RELATED_EXPR note.
2952         (emit_sfm): Likewise.
2953         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2954         * dwarf2out.c (reg_save): Handle saving a register to itself.
2955         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2956         * except.c (eh_regs): Don't use the static chain reg if it's
2957         callee-saved.
2958         * frame.h (frame_state): Add cfa_saved field.
2959         * frame.c (execute_cfa_insn): Set it.
2960         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2961         the epilogue.
2962         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2963         Now takes a parm.
2964         (instantiate_virtual_regs): Adjust.
2965         * tm.texi: Adjust.
2966         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2967         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2968         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2969
2970         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2971         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2972
2973 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2974
2975         * builtins.def: New file.
2976
2977         * Makefile.in (TREE_H): Depend on builtins.def.
2978
2979         * builtins.c (built_in_names): Use builtins.def.
2980
2981         * tree.h (built_in_function): Likewise.
2982
2983 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2984
2985         * tree.c (size_in_bytes): Return size_zero_node, not
2986         integer_zero_node.
2987
2988 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2989
2990         * config/fp-bit.c (pack_d): Correct the case when a denormal
2991         is rounded up and stops being denormal.
2992
2993 2000-03-21  Richard Henderson  <rth@cygnus.com>
2994
2995         * config/alpha/alpha.c (function_arg): Check for void_type_node
2996         before using MUST_PASS_IN_STACK.
2997
2998 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2999
3000         * regmove.c (combine_stack_adjustments_for_block): Check that
3001         the stack pointer is a valid memory address.
3002
3003 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
3004
3005         * calls.c: re-install Mar 16 emit_library_call merge.
3006
3007 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
3008
3009         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
3010         we cannot be sure that if reload_completed base register will
3011         be properly aligned.
3012
3013 2000-03-21  Richard Henderson  <rth@cygnus.com>
3014
3015         * flow.c (delete_block): Fix typo last change.
3016
3017 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
3018
3019         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
3020         not COMPLETE_TYPE_P, to check the type of the expression.
3021
3022 2000-03-21  Michael Meissner  <meissner@redhat.com>
3023
3024         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
3025         all floating point insns that just tested the macro
3026         TARGET_HAS_XFLOATING_LIBS.
3027         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3028         used to only use the gprs.
3029
3030 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
3031
3032         * tree.h (COMPLETE_TYPE_P): New macro.
3033         (COMPLETE_OR_VOID_TYPE_P): New macro.
3034         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3035         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3036         * c-aux-info.c (gen_type): Use them.
3037         * c-common.c (c_expand_expr_stmt): Likewise.
3038         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3039         grokdeclarator, grokparms, finish_struct, start_function,
3040         store_parm_decls, combine_parm_decls): Likewise.
3041         * c-parse.y (cast_expr): Likewise.
3042         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3043         c_size_in_bytes, c_alignof, build_component_ref,
3044         build_indirect_ref, build_array_ref, convert_arguments,
3045         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3046         * calls.c (initialize_argument_information): Likewise.
3047         * convert.c (convert_to_integer): Likewise.
3048         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3049         * dwarfout.c (location_or_const_value_attribute,
3050         output_enumeration_type_die, output_structure_type_die,
3051         output_union_type_die, output_type): Likewise.
3052         * expr.c (safe_from_p, expand_expr): Likewise.
3053         * function.c (assign_parms): Likewise.
3054         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3055         * tree.c (build_array_type, build_function_type,
3056         build_method_type, build_offset_type, build_complex_type): Likewise.
3057         * c-parse.c, c-parse.h: Regenerated.
3058
3059 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3060
3061         * config/c4x/rtems.h: Include config/rtems.h.
3062
3063 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
3064
3065         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3066         decl is a FUNCTION_DECL
3067
3068 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
3069
3070         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3071         function uses output registers.  Don't save RP for leaf functions.
3072         Do save RP even if no epilogue.
3073         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3074         (CALL_USED_REGISTERS): Unmark in registers.
3075         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
3076         to near the middle.
3077
3078 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3079
3080         * config/rs6000/rs6000.md (bunordered): New expander.
3081         (bordered): New expander.
3082         (buneq): New expander.
3083         (bunge): New expander.
3084         (bungt): New expander.
3085         (bunle): New expander.
3086         (bunlt): New expander.
3087         (bltgt): New expander.
3088  
3089         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3090         (ccr_bit_negated_p): New function.
3091         (print_operand): For %C, generate appropriate cror for UNEQ,
3092         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
3093
3094 2000-03-20  Andreas Jaeger  <aj@suse.de>
3095
3096         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3097         warning.
3098
3099         * tree.h (safe_for_unsave): Prototype.
3100
3101 2000-03-20  Richard Henderson  <rth@cygnus.com>
3102
3103         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3104         (combine_stack_adjustments_for_block): Don't allow sp references
3105         in the side of a set we're not fixing up.
3106         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3107         after life_analysis.
3108
3109 2000-03-20  Richard Henderson  <rth@cygnus.com>
3110
3111         * calls.c (expand_call): Don't bother generating tail call
3112         sequences if there are pending cleanups.  Use
3113         expand_start_target_temps/expand_end_target_temps to elide
3114         cleanups created during sibcall expansion.
3115
3116 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3117
3118         * configure.in: Set $IFS to a value if it doesn't already have one
3119         in the --enable-checking handling.
3120         * configure: Regenerate.
3121
3122 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3123
3124         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3125         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3126         Regenerated.
3127
3128 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
3129
3130         * jump.c (delete_noop_moves): Remove code attempting to
3131         combine stack adjustments.
3132
3133 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3134
3135         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3136         * except.c (emit_cleanup_handler): Use them.
3137         (expand_end_all_catch): Likewise.
3138         * function.c (fixup_var_refs): Likewise.
3139         (expand_function_end): Clear catch_clauses_last.
3140         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3141         * except.h (struct eh_status): New field x_catch_clauses_last.
3142         (catch_clauses_last): New define.
3143
3144         * Makefile.in (tree.o): Depend on HASHTAB_H.
3145         * tree.c: Include hashtab.h.
3146         (struct type_hash): Remove next field.
3147         (TYPE_HASH_SIZE): Remove.
3148         (TYPE_HASH_INITIAL_SIZE): New define.
3149         (type_hash_table): Change type to htab_t.
3150         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
3151         mark_hash_entry): New functions.
3152         (init_obstacks): Allocate type hash.
3153         (type_hash_lookup): Use htab functions.
3154         (type_hash_add, mark_type_hash): Likewise.
3155         (dump_tree_statistics): Call print_type_hash_statistics.
3156
3157 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3158
3159         * rs6000/t-aix41: New file.
3160
3161         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
3162
3163 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
3164
3165         * tm.texi (Driver): Fix typos and tweak entry for
3166         INCLUDE_DEFAULTS.
3167         Move misplaced STRUCT_FORCE_BLK entry ...
3168         (Storage Layout): ... to here.
3169         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
3170
3171 2000-03-19  Richard Henderson  <rth@cygnus.com>
3172
3173         * flow.c (delete_block): Delete the addr_vec along with the block.
3174         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3175         reference labels.
3176
3177         * fold-const.c (extract_muldiv): Apply type check for defined
3178         overflow to multiply as well as divide.
3179
3180         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3181
3182 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3183
3184         * emit-rtl.c (remove_unncessary_notes): Check that all
3185         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3186         associated NOTE_BLOCK.
3187         * function.h (identify_blocks): Update comments.
3188         (reorder_blocks): Declare.
3189         * function.c (identify_blocks): Don't take paramters.
3190         (reorder_blocks): Don't take parameters.
3191         * loop.h (find_loop_tree_blocks): Remove.
3192         (unroll_block_trees): Likewise.
3193         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
3194         reorder_blocks instead of unroll_block_trees.h
3195         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3196         * stmt.c (find_loop_tree_blocks): Remove.
3197         (unroll_block_trees): Likewise.
3198         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3199         in whole-function mode.
3200         * tree.h (reorder_blocks): Remove declaration.
3201
3202         * expr.c: Include intl.h.
3203         * Makefile.in (expr.o): Depend on intl.h.
3204         
3205 2000-03-18  Richard Henderson  <rth@cygnus.com>
3206
3207         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3208
3209 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3210
3211         * tree.h (tree_index): Remove enumerals for integer types.
3212         (integer_type_kind): New type.
3213         (integer_types): New variable.
3214         (char_type_node): Adjust.
3215         (signed_char_type_node): Likewise.
3216         (unsigned_char_type_node): Likewise.
3217         (short_integer_type_node): Likewise.
3218         (short_unsigned_type_node): Likewise.
3219         (integer_type_node): Likewise.
3220         (unsigned_type_node): Likewise.
3221         (long_integer_type_node): Likewise.
3222         (long_unsigned_type_node): Likewise.
3223         (long_long_integer_type_node): Likewise.
3224         (long_long_unsigned_type_node): Likewise.
3225         * tree.c (integer_types): New variable.
3226         (init_obstacks): Register it as a root.
3227
3228 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3229
3230         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3231         NEXT_INSN. Update last insn in chain.
3232
3233 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3234
3235         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3236         with TYPE_DECL_SUPPRESS_DEBUG set.
3237
3238 2000-03-18  Richard Henderson  <rth@cygnus.com>
3239
3240         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3241
3242 2000-03-18  Richard Henderson  <rth@cygnus.com>
3243
3244         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3245         care for HALF_PIC_P.
3246         (expander_call_insn_operand): Remove.
3247         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3248         * i386.h (PREDICATE_CODES): Update.
3249         * i386.md (all call expanders): Remove predicates, remove special
3250         handling for half-pic.
3251         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3252         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3253         (sibcall_epilogue): New.
3254
3255 2000-03-17  Richard Henderson  <rth@cygnus.com>
3256
3257         * rtlanal.c (single_set): Reject if the parallel has anything
3258         except SET or USE or CLOBBER.
3259
3260 2000-03-17  Jeff Law  <law@cygnus.com>
3261             Richard Henderson  <rth@cygnus.com>
3262
3263         * Makefile.in (OBJS): Add sibcall.o.
3264         (sibcall.o): New.
3265         * sibcall.c: New file.
3266         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3267         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3268         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3269         Emit sibcall patterns when requested.  Update all callers.
3270         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3271         elimination seems feasable.
3272         * final.c (leaf_function_p): Sibling calls don't discount being
3273         a leaf function.
3274         * flow.c (HAVE_sibcall_epilogue): Provide default.
3275         (find_basic_blocks_1): Sibling calls don't throw.
3276         (make_edges): Make edge from sibling call to EXIT.
3277         (propagate_block): Don't remove sibcall_epilogue insns.
3278         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3279         (sibcall_epilogue): New.
3280         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3281         (identify_blocks_1): Likewise.  Break out from ...
3282         (identify_blocks): ... here.
3283         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3284         (reorder_blocks): ... here.
3285         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3286         (record_insns): Extend a varray instead of mallocing new memory.
3287         (contains): Read a varray not array of ints.
3288         (sibcall_epilogue_contains): New.
3289         (thread_prologue_and_epilogue_insns): Emit and record
3290         sibcall_epilogue patterns.
3291         (init_function_once): Allocate prologue/epilogue varrays.
3292         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3293         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3294         Broken out from ...
3295         (save_for_inline_nocopy): ... here.
3296         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3297         Broken out from ...
3298         (expand_inline_function): ... here.
3299         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3300         (subst_constants): Handle 'n' formats.
3301         * jump.c (jump_optimize_minimal): New.
3302         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3303         optimizations if it's set.
3304         * rtl.c (copy_rtx): Do copy jump & call for insns.
3305         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3306         (SIBLING_CALL_P): New.
3307         (sibcall_use_t): New.
3308         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3309         Invoke optimize_sibling_and_tail_recursive_calls.
3310         * tree.c (lang_safe_for_unsave): New.
3311         (safe_for_unsave): New.
3312         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3313
3314         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3315         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3316         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3317
3318 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3319
3320         * objc/objc-act.c (encode_method_prototype): Pass types, not
3321         PARM_DECLs, to int_size_in_bytes.
3322
3323 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3324
3325         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3326
3327         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3328         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3329
3330 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3331
3332         * Clean up usages of TREE_INT_CST_LOW.
3333         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3334         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3335         Regenerated.
3336         * c-tree.h (min_precision): Move declaration to here.
3337         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3338         (build_unary_op, add_pending_init): Use bit_position.
3339         (pending_init_member, process_init_element): Likewise.
3340         (really_start_incremental_init, push_init_level, pop_init_level):
3341         Don't make copies of nodes or modify them in place, use consistent
3342         types when tracking positions, and use tree routines computations.
3343         (set_init_index, output_init_element): Likewise.
3344         (output_pending_init_elements, process_init_element): Likewise.
3345         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3346         tree_low_cst and int_bit_position; also minor cleanup.
3347         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3348         (print_cst_octal): Precision is unsigned.
3349         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3350         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3351         (simple_type_align_in_bits): Result is unsigned int.
3352         Use tree_int_low_cst and host_integerp.
3353         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3354         (field_byte_offset): Result is HOST_WIDE_INT.
3355         Change types of internal variables so alignments are unsigned int,
3356         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3357         Use host_integerp, tree_low_cst, and int_bit_position.
3358         (add_bit_offset_attribute): Likewise.
3359         (add_data_member_location_attribute): Use tree_cst_low.
3360         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3361         (add_bit_size_attribute): Use tree_low_cst.
3362         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3363         * dwarfout.c: Similar changes to dwarf2out.c.
3364         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3365         * genoutput.c (n_occurences): Return -1 for null string.
3366         (strip_whitespace): Accept null string and make into function.
3367         (scan_operands): Reflect above changes.
3368         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3369         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3370         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3371         * tree.c (int_size_in_bytes): Check for too big to represent.
3372         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3373         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3374         New declarations.
3375         (min_precision): Delete from here.
3376         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3377         and int_bit_position.
3378         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3379         (encode_method_def): Likewise.
3380         (build_ivar_list_initializer): Use int_bit_position.
3381         (generate_shared_structures): Convert size.
3382         (encode_type, encode_complete_bitfield): Use integer_zerop.
3383         (encode_bitfield): Use tree_low_cst and int_bit_position.
3384         
3385 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3386
3387         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3388
3389 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3390
3391         * call.c (special_function_p): It is only malloc if it returns
3392         Pmode.
3393
3394 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3395
3396         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3397         (C33_FLAG, TARGET_C3X): Add macros.
3398         (TARGET_SWITCHES): Add -m33 option.
3399         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3400         
3401 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3402         
3403         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3404         (PARALLEL_PACK_FLAG): Delete.
3405         (TARGET_SWITCHES): Update.
3406         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3407
3408 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3409
3410         * fold-const.c (fold): Fix a few cases when the returned result
3411         is not of the same type as the input.
3412
3413 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3414
3415         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3416         warning.
3417
3418 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3419
3420         * libgcc2.h: Move prototypes above macros with the same name.
3421         Wrap some function prototypes in the conditional which indicates
3422         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3423
3424 2000-03-16  Richard Henderson  <rth@cygnus.com>
3425
3426         * calls.c: Revert last two changes.
3427
3428 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3429
3430         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3431         has exponent 0 is a zero.
3432
3433         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3434         HASH may already be nonzero.  Add code/mode into hash value
3435         immediately after repeat label.
3436         (cselib_lookup): Don't leave the hash table in an inconsistent
3437         state before a hash lookup operation.
3438
3439 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3440
3441         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3442         by TARGET_[HQ]IMODE_MATH.
3443         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3444         x86_promote_qi_regs): Declare.
3445         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3446         TARGET_PROMOTE_QI_REGS): New macros.
3447         (PROMOTE_MODE): New macro.
3448         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3449         x86_promote_qi_regs): New global variables.
3450
3451 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3452
3453         * calls.c (emit_library_call_value_1): Break out from ...; handle
3454         VOIDmode function calls too.
3455         (emit_library_call_value): ... here.
3456         (emit_library_call): Implement by calling emit_library_call_value_1.
3457
3458 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3459
3460         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3461         Update arg_space_so_far on stack adjustments.
3462         (emit_library_call, emit_library_call_value): Likewise; take into
3463         account arg_space_so_far and pending_stack_adjust when calculcating
3464         the boundary.
3465
3466 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3467
3468         * flow.c: Move all basic block reordering code into its own file.
3469         (create_basic_block): Externalize.
3470         * bb-reorder.c: New file. Copy all basic block reordering code from
3471         flow.c to this file.
3472         (reorder_basic_blocks): Fix fencepost error in for-loop.
3473         (reorder_basic_blocks): Remove braces from single statement for-loops.
3474         * basic-block.h: Add declaration for create_basic_block.
3475         * Makefile.in: Add rules for bb-reorder.o.
3476
3477 2000-03-16  Neil Booth  <NeilB@earthling.net>
3478
3479         * cppinit.c (handle_option):  Implement #unassert directive
3480         as -A- command line option.
3481         (print_help):  Update.
3482         * cpptexi.c:  Update.
3483
3484 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3485
3486         * md.texi (Standard Names): Document `jump'.
3487
3488 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3489
3490         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3491         gotos.
3492
3493 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3494
3495         Merge changes from newppc-branch onto trunk.
3496
3497         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3498
3499         * rs6000.c (toc_hash_table): Update for new hash table functions.
3500         (toc_hash_function): Likewise.
3501         (toc_hash_eq): Likewise.
3502         (toc_hash_mark_entry): Likewise.
3503         (toc_hash_mark_table): Likewise.
3504         (output_toc): Likewise.
3505         (rs6000_add_gc_roots): Likewise.
3506
3507         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3508
3509         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3510         (AR_FLAGS_FOR_TARGET): here.  New macro.
3511
3512         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3513
3514         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3515         fpmem_operand) Delete.
3516         (xer_operand) New.
3517         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3518         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3519         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3520         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3521         references to above variables.
3522         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3523         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3524         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3525         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3526         (XER_REGNO_P, XER_REGNO): New.
3527         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3528         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3529         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3530         XER_REGNO_P.
3531         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3532         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3533         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3534         
3535         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3536
3537         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3538         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3539         * rs6000.h: from here.
3540
3541         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3542         (rs6000_select_rtx_section): Likewise.
3543         (rs6000_encode_section_info): Likewise.
3544         (sdata_section): Likewise.
3545         (sdata2_section): Likewise.
3546         (sbss_section): Likewise.
3547         * sysv4.h (rs6000_select_section): Delete prototype.
3548         (rs6000_select_rtx_section): Likewise.
3549         (rs6000_encode_section_info): Likewise.
3550         (sdata_section): Likewise.
3551         (sdata2_section): Likewise.
3552         (sbss_section): Likewise.
3553         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3554
3555         * sysv4.h: Delete various unnecessary #undef's and put a comment
3556         on the remaining ones.
3557         Change various comments according to coding standard.
3558
3559         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3560
3561         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3562         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3563         (CR0_REGNO_P) Remove.
3564         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3565         setup_incoming_varargs, mtcrf_operation, print_operand, 
3566         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3567         Use the above macros.
3568
3569         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3570
3571         * config/rs6000/rs6000.md: Added a new alternative for each
3572         pattern that had a 'x' alternative but no 'y' alternative.
3573         Added a new split for each of the above patterns.
3574
3575         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3576
3577         * aix41.h (ASM_CPU_SPEC): Delete.
3578         (CPP_CPU_SPEC): Delete.
3579
3580         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3581         (ASM_OUTPUT_LABEL): Define.
3582         (ASM_GLOBALIZE_LABEL): Define.
3583         (STRIP_NAME_ENCODING): Define.
3584         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3585         (STRIP_NAME_ENCODING): Don't define.
3586         (ASM_OUTPUT_LABEL): Don't define.
3587         (ASM_GLOBALIZE_LABEL): Don't define.
3588         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3589         names, and ASM_OUTPUT_LABEL to output labels, rather than
3590         asm_fprintf.
3591         (ASM_OUTPUT_LABEL): Define.
3592         (ASM_OUTPUT_INT): Use assemble_name.
3593         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3594         (STRIP_NAME_ENCODING): Don't undefine first.
3595         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3596         ELF.
3597         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3598         specified with 'asm' even with -fleading-underscore.
3599         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3600         (output_epilog): Likewise.
3601         (output_toc): Likewise. 
3602         * tramp.asm: Handle -fleading-underscore correctly.
3603
3604         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3605         -mminimal-toc.
3606         (nonlocal_goto_receiver): Delete.
3607         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3608
3609         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3610         (SET_ASM_OP): Define.
3611         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3612
3613         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3614         (ASM_LONG): Define.
3615
3616         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3617         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3618
3619         * rs6000.h: Add 'u' to more constants.
3620
3621         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3622
3623         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3624
3625         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3626
3627         * rs6000.c (reg_or_u_cint_operand): New function.
3628         (logical_operand): Handle 64-bit hosts.
3629         (logical_u_operand): New function.
3630         (non_logical_cint_operand): Handle 64-bit hosts.
3631         (non_logical_u_cint_operand): New function.
3632         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3633         (PREDICATE_CODES): Define new functions.
3634         * rs6000-protos.h: Declare new functions.
3635         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3636         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3637         CONST_DOUBLE for 32-bit values.
3638         (scc insns): Generate DImode compares.
3639         (mfcr insns): Create DImode versions.
3640         (sge matchers): New patterns.
3641         
3642         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3643
3644         * rs6000.md: Correct instructions length attributes and
3645         constraints on unsigned compare instructions.
3646         (*ne0): Disable for PowerPC64.
3647
3648         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3649
3650         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3651         quantity, fix profile1.C test failure under -fPIC.
3652
3653         * rs6000.c: Add 'u' to many constants to suppress warnings.
3654         (constant_pool_expr_1): Make static.
3655         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3656         * rs6000.h: Add 'u' to many constants to suppress warnings.
3657
3658         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3659         for the start of the TOC, instead of LCTOC..0.
3660         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3661         of the TOC.
3662         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3663         (load_toc_aix_di): Use LCTOC..1.
3664
3665         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3666         * rs6000.c (rs6000_legitimize_address): New function from
3667         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3668         symbols in the constant pool that really are TOC references.
3669         (print_operand_address): For ELF, write TOC offsets under
3670         -fPIC as subtractions in the insn.
3671         (output_toc): For ELF, define symbols in TOC as normal labels,
3672         to match RTL.
3673         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3674         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3675         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3676         * rs6000.md (movsi): Only use create_TOC_reference on
3677         symbols in the constant pool that really are TOC references.
3678
3679         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3680         * rs6000.c (rs6000_reorg): Delete.
3681         * rs6000-protos.h (rs6000_reorg): Delete.
3682
3683         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3684
3685         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3686
3687         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3688         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3689         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3690         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3691         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3692         rs6000_aix_emit_builtin_unwind_init.
3693         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3694         rs6000_emit_eh_toc_restore on AIX.
3695         (return_eh_si): Use r2.
3696         (return_eh_di): Use r2.
3697
3698         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3699         since we're breaking binary compatibility anyway.
3700
3701         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3702
3703         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3704         constant_pool_expr_p): Declare them.
3705         (constant_pool_expr_p): Declare it.
3706         * config/rs6000/rs6000.c (toc_label_name): Define.
3707         (rs6000_override_options): Set toc_label_name.
3708         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3709         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3710         uses_TOC): New functions.
3711         (print_operand): Delete old '*' case.
3712         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3713         and strip off rtl for TOC before calling output_addr_const.
3714         (rs6000_emit_load_toc_table): Use toc_label_name.
3715         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3716         the default.
3717         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3718         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3719         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3720         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3721         into explicit TOC_REGISTER offsets.
3722         (TOC_REGISTER): New macro.
3723         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3724         TARGET_TOC to reference TOC_REGISTER.
3725         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3726         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3727         uses_TOC before emitting label references.
3728
3729         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3730
3731         * rs6000.md (stack_tie): Fix warning.
3732
3733         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3734         to handle -fleading-underscore.
3735         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3736         (USER_LABEL_PREFIX): New macro.
3737         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3738         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3739         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3740         call-linux can use the same multilibs.
3741         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3742         and call-linux multilibs.  Do multilib with -fleading-underscore.
3743         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3744         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3745         to call-aix.
3746
3747         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3748         have MASK_SOFT_FLOAT set.
3749         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3750         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3751         CPP_FLOAT_DEFAULT_SPEC.
3752
3753         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3754         * rs6000.md: Whitespace change.
3755         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3756         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3757
3758         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3759
3760         * rs6000.md (eh_epilogue): New expander.
3761         (eh_reg_restore): New expand/split/insn combination.
3762         (return_eh_si): New insn.
3763         (return_eh_di): New insn.
3764
3765         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3766         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3767         * eabi-ctors.c (__do_global_ctors): Register this object's
3768         frame.  Clean up.  Call atexit() after the constructors.
3769         (__do_global_dtors): Deregister this object's frame.  Clean up.
3770         Allow for recursive calls to exit().
3771         * rs6000.c (fixuplabelno): New variable.
3772         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3773         TARGET_RELOCATABLE, it slows down exec() under linux.
3774         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3775
3776         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3777         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3778         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3779         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3780         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3781         (ASM_OUTPUT_DWARF_ADDR): New macro.
3782         (ASM_OUTPUT_DWARF_DATA4): New macro.
3783         (ASM_OUTPUT_DWARF_DATA2): New macro.
3784         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3785         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3786         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3787
3788         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3789
3790         * rs6000.c (rs6000_sr_alias_set): New variable.
3791         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3792         (rs6000_emit_stack_tie): New function.
3793         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3794         in a way that dwarf2out can understand.
3795         (rs6000_frame_related): New function.
3796         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3797         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3798         Use rs6000_emit_stack_tie when needed.
3799         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3800         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3801         * rs6000.md (stack_tie): New insn.
3802         (return_internal_si): Allow return value to be in the count
3803         register.
3804         (return_internal_di): Likewise.
3805
3806         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3807
3808         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3809
3810         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3811
3812         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3813
3814         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3815
3816         * rs6000.md (stmw): Use the right POWER opcode.
3817         (lmw): Likewise.
3818
3819         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3820
3821         * rs6000-protos.h: New file.
3822
3823         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3824         
3825         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3826         warnings.
3827         
3828         * sysv4.h: Likewise.
3829
3830         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3831
3832         * ../../configure.in: Delete powerpcle-*-winnt*
3833         and powerpcle-*-pe|powerpcle-*-cygwin*.
3834         * ../../configure: Regenerated.
3835         * cygwin.h: Delete.
3836         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3837         (TARGET_WINDOWS_NT): Delete.
3838         (ABI_NT): Delete.
3839         (CALL_NT_DLLIMPORT): Delete.
3840         Delete NT-specific code.
3841         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3842         * win-nt.h: Delete.
3843         * t-winnt: Delete.
3844         * nt-ci.asm: Delete.
3845         * nt-cn.asm: Delete.
3846         * ntstack.asm: Delete.
3847
3848         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3849
3850         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3851         (ASM_FILE_START): Likewise.
3852         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3853         (ASM_OUTPUT_LABELREF): Likewise.
3854         (ASM_OUTPUT_SKIP): Likewise.
3855         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3856         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3857         (ASM_OUTPUT_CASE_LABEL): Likewise.
3858         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3859         (ASM_OUTPUT_ASCII): Likewise.
3860
3861         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3862
3863         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3864         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3865         increment rs6000_pic_labelno here.
3866         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3867         and increment rs6000_pic_labelno here.
3868
3869         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3870
3871         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3872         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3873         allocation knows (reg) is dead before the insn.
3874
3875         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3876
3877         * rs6000.md (movsi_to_cr): Correct typo in output template.
3878
3879         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3880
3881         * rs6000.c (rs6000_pic_labelno): Always define.
3882         (rs6000_pic_func_labelno): Delete.
3883         (lmw_operation): Check for a zero base register,
3884         which doesn't mean what we want.
3885         (stmw_operation): New function.
3886         (print_operand): Define new 'l' modifier.
3887         (rs6000_stack_info): We must save all 64 bits of the registers
3888         if TARGET_POWERPC64.
3889         (rs6000_output_load_toc_table): Delete.
3890         (rs6000_emit_load_toc_table): New function.
3891         (rs6000_allocate_stack_space): Delete.
3892         (rs6000_emit_allocate_stack): New function.
3893         (rs6000_emit_prologue): New function.
3894         (output_prolog): Use rs6000_emit_prologue.
3895         (rs6000_emit_epilogue): Change a few variable names to be
3896         more accurate.  Restore all 64 bits of the registers if
3897         TARGET_POWERPC64.  Only restore the FP registers which were used
3898         if they are being saved/restored one-at-a-time.
3899         (output_mi_thunk): Delete inefficient code generation.
3900         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3901         * rs6000.h: Declare rs6000_emit_load_toc_table,
3902         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3903         rs6000_output_load_toc_table.
3904         * rs6000.md (elf_high): Allow register 0, but discourage it
3905         heavily.
3906         (elf_low): Support loading into register 0.
3907         (load_toc_aix_si): New pattern.
3908         (load_toc_aix_di): New pattern.
3909         (load_toc_v4_pic_si): New pattern.
3910         (load_toc_v4_pic_di): New pattern.
3911         (load_toc_v4_PIC_1): New pattern.
3912         (load_toc_v4_PIC_1b): New pattern.
3913         (load_toc_v4_PIC_2): New pattern.
3914         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3915         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3916         (prologue): New expander.
3917         (movesi_from_cr): New pattern.
3918         (stmw): New pattern.
3919         (save_fpregs_si): New pattern.
3920         (save_fpregs_di): New pattern.
3921
3922         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3923
3924         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3925         (movdi): Likewise.
3926         (movhi): Likewise.
3927         (movqi): Likewise.
3928
3929         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3930
3931         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3932         at present.
3933         (movsi_got_internal): Likewise.
3934         (movsi_got_internal+1): Likewise.
3935         (set_sp): 'unspec 7' does a SImode clobber.
3936
3937         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3938
3939         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3940         allocate a stack temporary.
3941         (floatsidf2_internal): Likewise.
3942         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3943         with unspec.
3944         (floatunssidf2): Don't use the fpmem "register", just
3945         allocate a stack temporary.
3946         (floatunssidf2_internal): Likewise.
3947         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3948         with unspec.
3949         (floatsidf2_loadaddr): Delete.
3950         (floatsidf2_store1): Delete.
3951         (floatsidf2_store2): Delete.
3952         (floatsidf2_load): Delete.
3953         (fix_truncdfsi2): Don't use the fpmem "register", just
3954         allocate a stack temporary.
3955         (fix_truncdfsi2_internal_si): Delete.
3956         (fix_truncdfsi2_internal_di): Delete.
3957         (fix_truncdfsi2_internal): New insn.
3958         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3959         (fix_truncdfsi2_store): Delete.
3960         (fix_truncdfsi2_load): Delete.
3961         (fctiwz): Produce gen_fctiwz.
3962
3963         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3964
3965         * eabi.h (INVOKE__main): Define.
3966         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3967         specially.
3968         (rs6000_emit_prologue): Likewise.
3969         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3970         this is the main program.
3971
3972         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3973
3974         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3975
3976         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3977
3978         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3979         goes after the argument.
3980
3981         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3982
3983         * rs6000.md: Document 'unspec' values used.
3984         (epilogue): New expander.
3985         (movesi_to_cr_one): New expander.
3986         (movesi_to_cr and following): New pattern.
3987         (lmw): New pattern.
3988         (return_internal_si): New pattern.
3989         (return_internal_di): New pattern.
3990         (return_and_restore_fpregs_si): New pattern.
3991         (return_and_restore_fpregs_di): New pattern.
3992         * rs6000.h: Declare new functions.
3993         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3994         rather than rs6000_calls_p.
3995         (rs6000_makes_calls): Delete.
3996         (lmw_operation): New function.
3997         (mtcrf_operation): New function.
3998         (rs6000_emit_epilogue): New function.
3999         (output_epilog): Call rs6000_emit_epilogue and final if
4000         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
4001
4002         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4003
4004         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
4005         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
4006         * aix.h (SUBTARGET_SWITCHES): Document switches.
4007         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
4008         sched-prolog and sched-epilog the same.  Document all the
4009         switches.
4010         (TARGET_OPTIONS): No longer allow -mdebug-.
4011
4012         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4013
4014         * rs6000.h (ASM_FILE_END): Move to aix.h.
4015         (EXTRA_SECTIONS): Move to aix.h.
4016         (READONLY_DATA_SECTION): Move to aix.h.
4017         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
4018         (SELECT_SECTION): Move to aix.h.
4019         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
4020         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
4021         (LINK_REGISTER_REGNUM): New definition.
4022         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
4023         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
4024         AIX and SVR4.
4025         * sysv4.h: Delete the code between the inclusion of rs6000.h
4026         and svr4.h.
4027         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4028         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4029         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4030         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4031         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4032         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4033         (fix_truncdfsi2_internal_di): New pattern.
4034         (fix_truncdfsi2_store): The second arg here is Pmode too.
4035         (fix_truncdfsi2_load): The second arg here is Pmode too.
4036         (tablejumpdi): Now that switch tables hold only SImode values,
4037         gcc needs to know how to add them to the pc which is DImode.
4038         * rs6000.c (rs6000_stack_info): Use symbolic name for 
4039         LINK_REGISTER_REGNUM.
4040         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4041         (output_toc): Delete unused variables s1 and s2.
4042         (output_ascii): Use fputs not fprintf on a variable string.
4043
4044         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
4045
4046         * rs6000.c (processor_target_table): Add power3 as alias for 630.
4047         * aix43.h: Revert Aug 2 change.
4048         (HAS_INIT_SECTION): Define, not visible yet.
4049         (LD_INIT_SWITCH): Define, not visible yet.
4050         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4051
4052         2000-01-04  Joel Sherrill (joel@OARcorp.com>
4053
4054         * config/rs6000/rtems.h: Include config/rtems.h.
4055
4056         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
4057
4058         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4059         (SLOW_UNALIGNED_ACCESS): Define.
4060         (CASE_VECTOR_MODE): Always use 32-bit offsets.
4061         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4062         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4063         (toc_section): Likewise and .toc pseudo-op.
4064         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
4065         64-bit mode.
4066         (TEXT_SECTION_ASM_OP): Likewise.
4067         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4068         32-bit offsets.
4069
4070         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4071
4072         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4073         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4074         compiling libgcc2.
4075         
4076         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4077
4078         * rs6000.h: Move more stuff from here...
4079         * aix.h: to here.
4080         * sysv4.h: Cleanup accordingly.
4081         * netware.h: Likewise
4082
4083         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4084
4085         * rs6000.h: Continue cleanup.
4086         * aix.h: Likewise.
4087         * lynx.h: Likewise.
4088         * netware.h: Likewise.
4089         * sol2.h: Likewise.
4090         * sysv4.h: Likewise.
4091         * win-nt.h: Likewise.
4092
4093         * rs6000.h (TARGET_SWITCHES): Add descriptions.
4094         (TARGET_OPTIONS): Likewise.
4095
4096         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4097         (SUBTARGET_OPTIONS): Likewise.
4098
4099         * rs6000.md: Fix compile time warnings.
4100
4101         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4102
4103         vxworks patches from the Cygnus tree originally by
4104         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4105         <vmakarov@cygnus.com>.
4106         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4107         (ENDFILE_SPEC): Likewise.
4108         (LIB_VXWORKS_SPEC): New macro.
4109         (STARTFILE_VXWORKS_SPEC): New macro.
4110         (ENDFILE_VXWORKS_SPEC): New macro.
4111         (LINK_START_VXWORKS_SPEC): New macro.
4112         (LINK_OS_VXWORKS_SPEC): New macro.
4113         (CPP_OS_VXWORKS_SPEC): New macro.
4114         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4115         * vxppc.h: Rewrite to use proper configuration method.
4116         * vxppcle.h: New file.
4117         * ../../configure.in: Add powerpcle-wrs-vxworks*.
4118         * ../../configure: Rebuilt.
4119
4120         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4121
4122         Lots of changes to rs6000.h, sysv4.h, aix.h,
4123         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4124         with the aim that rs6000.h is the first header
4125         included and the others override it.
4126         * aix.h: New file.
4127
4128         * x-aix41-gld: Remove.  
4129         * x-aix43: Remove.
4130         * x-aix41: Remove target-specific switches, and don't specify
4131         -Wl,-bbigtoc as we don't need it any more.
4132         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4133         Use t-aix43 for AIX 4.3 and above.
4134         * ../../configure: Regenerated.
4135
4136         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4137         options, that don't do anything yet.
4138         (MASK_SCHED_PROLOG): New macro.
4139         (MASK_SCHED_EPILOG): New macro.
4140         (TARGET_SCHED_PROLOG): New macro.
4141         (TARGET_SCHED_EPILOG): New macro.
4142
4143         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4144
4145         * rs6000.c: Correct comment, the `minimal' TOCs are actually
4146         one per translation unit, not one per function.
4147         (output_toc): Also do duplicate constant elimination
4148         for per-translation-unit TOCs.
4149
4150         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
4151         a comment explaining _exactly_ when this pattern gets used.
4152         (builtin_setjmp_receiver): New pattern for better clarity.
4153         (init_v4_pic): Move it into a section dealing with TOC registers.
4154
4155         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
4156
4157         * rs6000.c (toc_hash_table): New variable.
4158         (rs6000_hash_constant): New function.
4159         (toc_hash_function): New function.
4160         (toc_hash_eq): New function.
4161         (toc_hash_mark_entry): New function.
4162         (toc_hash_mark_table): New function.
4163         (output_toc): Don't output duplicate TOC entries in
4164         a single file.
4165         (rs6000_add_gc_roots): Add the hash table as a GC root.
4166         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
4167         where they clearly shouldn't be.  This may need to be fixed
4168         later when there is a GNU ar for AIX.
4169         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
4170         Don't define BOOT_LDFLAGS as it is now not necessary.
4171
4172         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
4173
4174         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4175         for va_list on AIX.  Use unsigned_char_type_node rather than
4176         constructing our own version on svr4.
4177
4178         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
4179
4180         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4181         since patently it's not.
4182
4183         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
4184
4185         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4186         define_expand/define_insn pair, and handle restore of the
4187         SVR4 -fpic register.
4188
4189 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
4190
4191         * acconfig.h (HAVE_GAS_WEAK): New define.
4192         * configure.in (assembler weak support): Check for .weak support.
4193         * config.in, configure: Rebuilt.
4194         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4195         HAVE_GAS_WEAK is defined.
4196
4197 2000-03-15  Nick Clifton  <nickc@cygnus.com>
4198
4199         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4200         asm_fprintf().
4201
4202 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
4203
4204         * cppfiles.c (open_include_file): New function.
4205         (find_include_file, cpp_read_file): Use it.
4206
4207 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4208
4209         * cpphash.c (dump_hash_helper): Take the slot, not the element.
4210
4211 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
4212
4213         * flow.c (verify_flow_info): Check for unconditional return.
4214
4215 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
4216
4217         * config/ia64/ia64.md (restore_stack_nonlocal): New.
4218         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4219         (__ia64_restore_stack_nonlocal): New.
4220         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4221
4222 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4223
4224         * cpphash.c (collect_formal_parameters): Do not complain about
4225         parameter names that just start with `__VA_ARGS__'.
4226
4227 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4228
4229         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4230         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4231         * i386.c (pentiumpro_cost): Set mul cost to 4.
4232         (x86_use_movx): Set for PPro.
4233
4234 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4235
4236         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4237         STACK_BOUNDARY for empty frames now.
4238
4239 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4240
4241         * stor-layout.c (layout_union): Remove.
4242         (layout_union_field): New function, split out from layout_union.
4243         (finish_union_layout): Likewise.
4244         (layout_field): Handle unions by calling layout_union_field.
4245         (finish_record_layout): Handle unions.
4246         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4247         QUAL_UNION_TYPE handling.
4248
4249 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4250
4251         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4252         end of basic block is jump_insn, not barrier; use create_basic_block
4253         instead of creating basic block by hand.
4254
4255 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4256
4257         * flow.c (reorder_basic_blocks): Account for barriers when writing
4258         over NEXT_INSN (last_bb->end).
4259         (verify_flow_info): Add check for missing barriers.
4260
4261 2000-03-14  Greg McGary  <gkm@gnu.org>
4262
4263         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4264         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4265         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4266         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4267         __unbounded, __unbounded__): New keywords.
4268         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4269         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4270         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4271
4272 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4273
4274         * cselib.h: New file.
4275         * alias.c: Include "cselib.h".
4276         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4277         MEMs as two new arguments.
4278         (get_addr): New static function.
4279         (find_base_term): Handle VALUEs.
4280         (memrefs_conflict_p): Likewise.
4281         (true_dependence): Call get_addr on the addresses.
4282         Call fixed_scalar_and_varying_struct_p with addresses that have been
4283         passed through get_addr and canon_rtx.
4284         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4285         with true_dependence.
4286         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4287         * loop.c: Include "cselib.h".
4288         (load_mems): Process extended basic block that enters the loop with
4289         cselib.  Use that information to change initialization of the shadow
4290         register so that a constant equivalence is seen by later passes.
4291         * reload1.c: Include "cselib.h".
4292         (reload_cse_invalidate_regno): Delete function.
4293         (reload_cse_mem_conflict_p): Likewise.
4294         (reload_cse_invalidate_mem): Likewise.
4295         (reload_cse_invalidate_rtx): Likewise.
4296         (reload_cse_regno_equal_p): Likewise.
4297         (reload_cse_check_clobber): Likewise.
4298         (reload_cse_record_set): Likewise.
4299         (reg_values): Delete static variable.
4300         (invalidate_regno_rtx): Likewise.
4301         (reload_cse_delete_noop_set): New static function.
4302         (reload_cse_simplify): New static function, broken out of
4303         reload_cse_regs_1.
4304         (reload_cse_noop_set_p): Delete unused argument INSN.
4305         Just call rtx_equal_for_cselib_p on set source and destination.
4306         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4307         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4308         cselib functions instead.  Delete code to push/pop obstacks.
4309         (reload_cse_simplify_set): Use cselib to find equivalent values.
4310         Delete code to push/pop obstacks.
4311         (reload_cse_simplify_operands): Likewise.
4312         * rtl.def (VALUE): New rtx code.
4313         * rtl.h (union rtunion_def): New elt rt_cselib.
4314         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4315         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4316         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4317         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4318         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4319         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4320         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4321         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4322         cselib_record_set, cselib_record_sets): New static functions.
4323         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4324         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4325         references_value_p): New functions.
4326         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4327         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4328         n_useless_values, reg_values, callmem, cselib_obstack,
4329         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4330         New static variables.
4331         * varray.h (union varray_data_tag): New elt te.
4332         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4333         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4334         dependencies.
4335
4336 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4337
4338         * gcc.c (do_spec_1): Catch the case where %* is used in a
4339         substitution pattern, but it has not been initialised.
4340         Issue a meaningful error message if an unrecognised operator
4341         is encountered in a spec string.
4342
4343 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4344
4345         * function.c (prepare_function_start): Correctly initialize
4346         cfun->stack_alignment_needed.
4347
4348 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4349
4350         * cppfiles.c (find_include_file): Don't assume nshort is a
4351         substring of name.
4352
4353 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4354
4355         * configure.in (hppa configurations): Add pa32-regs.h to the
4356         list of tm files as appropriate.
4357         * configure: Rebuilt.
4358         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4359         register numbering.
4360         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4361         (fmpyaddoperands, fmpysuboperands): Likewise.
4362         * pa.h: Remove various definitions which depend on knowing
4363         how registers are numbered.
4364         * pa32-regs.h: New file with PA32 register numbering specific
4365         definitions.
4366
4367 2000-03-14  Richard Henderson  <rth@cygnus.com>
4368
4369         * regmove.c (combine_stack_adjustments): New.
4370         (stack_memref_p, single_set_for_csa): New.
4371         (free_csa_memlist, record_one_stack_memref): New.
4372         (try_apply_stack_adjustment): New.
4373         (combine_stack_adjustments_for_block): New.
4374         * rtl.h (combine_stack_adjustments): Declare.
4375         * toplev.c (rest_of_compilation): Call it.
4376
4377         * i386.md: Revert 2000-01-16 change.
4378
4379 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4380
4381         * gccbug.in: Add web category, gcc specific classes.
4382
4383 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4384
4385         * stor-layout.c (finalize_record_size): Fix typo.
4386
4387 2000-03-14  Stan Shebs  <shebs@apple.com>
4388
4389         * c-typeck.c (c_alignof): Error on incomplete types.
4390         * extend.texi (Alignment): Document this.
4391
4392 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4393
4394         * cppfiles.c: Include mkdeps.h.
4395         (find_include_file, read_include_file): Remove _cpp_ prefix
4396         from name, make static.
4397         (_cpp_execute_include): New function, broken out of
4398         do_include.
4399
4400         * cpplib.c: Don't include mkdeps.h.
4401         (struct directive): Remove type field. Reorder entries.  The
4402         function takes only one argument.
4403         (struct if_stack): Make type field an int.
4404         (directive_table): Rename to dtable.  Generate it, the
4405         prototypes of the directive handlers, and the enum for the
4406         directive numbers, from a template macro.
4407         (do_ifndef, do_include_next, do_import): New functions.
4408         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4409         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4410         do_ident, do_assert, do_unassert, do_sccs): Take only one
4411         argument.
4412         (do_sccs): Define always, but alter behavior based on
4413         SCCS_DIRECTIVE.
4414         (_cpp_handle_directive, consider_directive_while_skipping):
4415         Restructure for new directive table layout.
4416
4417         (pass_thru_directive): Take a directive number, not a pointer
4418         to a struct directive.
4419         (parse_include): New function, broken out of do_include.
4420         (do_include, do_import, do_include_next): Use parse_include
4421         and _cpp_execute_include.
4422         (do_elif, do_else): Test for T_ELSE specifically when checking
4423         for #elif/#else after #else.
4424         (parse_ifdef): New function, broken out of do_ifdef.
4425         (validate_else): Expect a name arg without a leading #.
4426         (if_directive_name): Delete.
4427         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4428         directive handlers with only one argument.
4429
4430         * cpphash.h: Update prototypes.
4431         (enum node_type): Remove entries for directives.
4432         * Makefile.in: Update dependencies.
4433
4434         * cpphash.c (dump_hash_helper): Only dump nodes of type
4435         T_MACRO.  Emit a newline after each definition.
4436
4437 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4438
4439         * gccbug.in: New file.
4440         * configure.in (all_outputs): Add gccbug.
4441         * Makefile.in (install-common): Install gccbug.
4442         (GCCBUG_INSTALL_NAME): New variable.
4443         * configure: Rebuilt.
4444         
4445 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4446
4447         * function.c (put_var_into_stack): Use type_for_mode to calculate
4448         part_type.  Use MEM_SET_IN_STRUCT_P.
4449         * expr.c (store_field): Handle CONCAT.
4450         (store_constructor): Use fields_length.
4451         * tree.c (fields_length): New fn.
4452         * tree.h: Declare it.
4453
4454 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4455
4456         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4457         (cpplex.o): New target.
4458         * po/POTFILES.in: Add cpplex.c.
4459
4460         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4461         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4462         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4463         skip_block_comment, skip_line_comment, skip_comment,
4464         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4465         _cpp_parse_name, skip_string, parse_string,
4466         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4467         _cpp_get_directive_token, find_position,
4468         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4469         (maybe_macroexpand, _cpp_lex_token): New functions.
4470
4471         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4472         parse_goto_mark): Delete.
4473         (_cpp_handle_eof): New function.
4474         (_cpp_handle_directive): Rename from handle_directive.
4475         (_cpp_output_line_command): Rename from output_line_command.
4476         (do_if, do_elif): Call _cpp_parse_expr directly.
4477         * cppfiles.c (_cpp_read_include_file): Don't call
4478         init_input_buffer here.
4479         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4480         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4481         here; pop the token_buffer and skip the rest of the line here.
4482         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4483         here.
4484
4485         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4486         Define here.
4487         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4488         CPP_GOTO_MARK): New macros.
4489         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4490         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4491         _cpp_read_and_prescan, _cpp_init_input_buffer,
4492         _cpp_grow_token_buffer, _cpp_get_directive_token,
4493         _cpp_handle_directive, _cpp_handle_eof,
4494         _cpp_output_line_command): Prototype them here.
4495         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4496         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4497         quote_string, output_line_command): Remove.
4498
4499 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4500
4501         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4502         whether it is too large we must also verify that it isn't negative.
4503
4504 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4505
4506         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4507         (movsi_zero_liveg0): Remove.
4508         (movsf_insn_novis_liveg0): Remove.
4509         (negsi2): Remove.
4510         (negsi2_not_liveg0): Rename to negsi2.
4511         (one_cmplsi2): Remove.
4512         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4513         (one_cmplsi2_liveg0): Remove.
4514         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4515         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4516         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4517         (PREDICATE_CODES): Remove zero_operand.
4518         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4519         TARGET_BROKEN_SAVERESTORE.
4520         (zero_operand): Remove.
4521         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4522         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4523         options.
4524         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4525         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4526         TARGET_BROKEN_SAVERESTORE): Remove.
4527         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4528         Remove.
4529         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4530         Remove.
4531         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4532         Remove.
4533
4534         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4535
4536 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4537
4538         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4539         truncating a string.  Don't assume tokens are nul terminated.
4540         Problem noted by Andreas Jaeger <aj@suse.de>
4541
4542 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4543
4544         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4545         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4546         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4547
4548 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4549
4550         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4551         STRUCTURE_SIZE_BOUNDARY.
4552
4553 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4554
4555         * tree.h (record_layout_info_s): New structure.
4556         (record_layout_info): New type.
4557         (new_record_layout_info): New function.
4558         (layout_field): Likewise.
4559         (finish_record_layout): Likewise.
4560         * stor-layout.c (layout_record): Remove.
4561         (new_record_layout_info): New function.
4562         (layout_field): New function, broken out from layout_record.
4563         (finalize_record_size): Likewise.
4564         (compute_record_mode): Likewise.
4565         (finalize_type_size): New function, broken out from layout_type.
4566         (finish_record_layout): Likewise.
4567         (layout_type): Use them.
4568         
4569 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4570
4571         * cpphash.c: Don't include version.h.
4572         (special_symbol) [case T_VERSION]: Look for the string in
4573         hp->value.cpval; don't use version_string.
4574         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4575         __VERSION__ to version_string.
4576         * Makefile.in (cpphash.o): Update deps.
4577
4578 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4579
4580         Convert cpplib to use libiberty/hashtab.c.
4581
4582         * cpplib.h (struct cpp_reader): Make hashtab and
4583         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4584         and ALL_INCLUDE_HASHSIZE macros.
4585
4586         * cpphash.h: Update prototypes.
4587         (struct hashnode): Remove next, prev, and bucket_hdr members.
4588         Make length a size_t.  Add hash member.
4589         (struct ihash): Remove next member.  Add hash member.  Make
4590         name a flexible array member.
4591
4592         * cppfiles.c: Include hashtab.h.
4593         (include_hash): Delete.
4594         (IHASHSIZE): New macro.
4595         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4596         (cpp_included): Do the hash lookup here.
4597         (_cpp_find_include_file): Rewrite.
4598         (cpp_read_file): Put the "fake" hash entry into the hash
4599         table.  Honor the control_macro, if it turns out we've seen
4600         the file before.  Don't push the buffer here.
4601         (_cpp_read_include_file): Push the buffer here.
4602         (OMODES): New macro.  Use it whenever we call open(2).
4603
4604         * cpphash.c: Include hashtab.h.
4605         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4606         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4607         _cpp_lookup_slot): New functions.
4608         (HASHSIZE): new macro.
4609         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4610         (_cpp_lookup): Use hashtab.h routines.
4611
4612         * cppinit.c: Include hashtab.h.
4613         (cpp_reader_init): Call _cpp_init_macro_hash and
4614         _cpp_init_include_hash.  Don't allocate hashtab directly.
4615         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4616         pfile->all_include_files.
4617         (initialize_builtins): Use _cpp_make_hashnode and
4618         htab_find_slot to add hash entries.
4619         (cpp_finish): Just call _cpp_dump_macro_hash.
4620         * cpplib.c: Include hashtab.h.
4621         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4622         create hash entries.
4623         (do_pragma_poison, do_assert): Likewise.
4624         (do_include): Don't push the buffer here.  Don't increment
4625         system_include_depth unless _cpp_read_include_file succeeds.
4626         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4627         or htab_remove_elt.
4628         (do_pragma_implementation): Use alloca to create copy.
4629
4630         * Makefile.in: Update dependencies.
4631
4632 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4633
4634         * cppinit.c (cl_directive_handler): More K&R fixing.
4635
4636 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4637
4638         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4639         STACK_BOUNDARY.
4640         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4641
4642 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4643
4644         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4645         Change from char[] to macros.
4646
4647 2000-03-12  Neil Booth  <NeilB@earthling.net>
4648
4649         * cppinit.c (cpp_start_read): Update indirect function
4650         call to K&R C.
4651
4652 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4653
4654         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4655         entry.
4656
4657         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4658         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4659
4660 2000-03-11  Neil Booth  <NeilB@earthling.net>
4661
4662         * cppinit.c (struct pending option): Replace undef with a 
4663         pointer to a directive handling routine.
4664         (struct cpp_pending): Replace separate assert_ and define_ 
4665         lists with one directive_ list.
4666         (new_pending_define): Rename new_pending_directive. Extra
4667         argument is the directive's handling routine.
4668         (handle_option): Update to use new_pending_directive.
4669
4670 2000-03-11  Neil Booth  <NeilB@earthling.net>
4671
4672         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4673         remap_filename, _cpp_read_include_file, actual_directory,
4674         hack_vms_include_specification): Replace bcopy(), index() etc
4675         calls.  Add casts to some allocations.  Make some variables
4676         pointers to const [unsigned] char.
4677         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4678         collect_formal_parameters): Similarly.
4679         * cppinit.c (struct pending_option, append_include_chain,
4680         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4681         cpp_start_read, new_pending_define, handle_option): Similarly.
4682         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4683         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4684         do_pragma_implementation, detect_if_not_defined,
4685         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4686         do_assert, do_unassert): Similarly.
4687         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4688         function prototypes.
4689         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4690
4691 2000-03-10  Richard Henderson  <rth@cygnus.com>
4692
4693         * builtins.c (expand_builtin_strlen): Revert last change.
4694         Use emit_insn_before if we're at the beginning of a sequence.
4695
4696 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4697
4698         * builtins.c (expand_builtin_strlen): Make sure that we have something
4699         at the beginning of the sequence.
4700
4701         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4702         deferred inlines.
4703
4704         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4705
4706 2000-03-10  Richard Henderson  <rth@cygnus.com>
4707
4708         * except.c (can_throw): Use INTVAL on a CONST_INT.
4709         (reachable_handlers): Likewise.
4710         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4711
4712 2000-03-10  Andreas Jaeger  <aj@suse.de>
4713
4714         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4715         MD_STARTFILE_PREFIX since those are not needed on linux.
4716         (ASM_FILE_START): New, from mips/gnu.h.
4717
4718 2000-03-09  Richard Henderson  <rth@cygnus.com>
4719             Alex Samuel  <samuel@codesourcery.com> and others
4720         
4721         * Makefile.in (ssa.o): New rule.
4722         (OBJS): Add ssa.o.
4723         (STAGESTUFF): Add *.ssa and *.ussa.
4724         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4725         * rtl.def (PHI): New RTL expression.
4726         * rtl.h (clear_log_links): New declaration.
4727         (convert_to_ssa): Likewise.
4728         (convert_from_ssa): Likewise.
4729         * flow.c (split_edge): If the entry node falls through to the
4730         split edge's source block, split the entry edge.
4731         (clear_log_links): New function.
4732         * toplev.c (ssa_dump): New variable.
4733         (flag_ssa): Likewise.
4734         (f_options): Add "ssa".
4735         (compile_file): Create SSA dump files.
4736         (rest_of_compilation): Go to and from SSA if enabled.
4737         (decide_d_option): Handle -de for SSA dump files.
4738         * ssa.c: New file.
4739         
4740 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4741
4742         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4743         same as VAR_DECL.
4744
4745 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4746
4747         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4748
4749 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4750
4751         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4752         (MD_STARTFILE_PREFIX_1): New macro.
4753
4754 2000-03-09  Robert Lipe  <robertl@sco.com>
4755
4756         * config/ia64/ia64.c: Include system.h.
4757
4758 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4759
4760         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4761         (init_eh_nesting_info): Likewise.
4762
4763         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4764         (TREE_NOTHROW): Rename from TREE_RAISES.
4765         * toplev.c (rest_of_compilation): Set it.
4766         * print-tree.c (print_node): Adjust.
4767         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4768         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4769         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4770         REG_EH_REGION note as appropriate.
4771         (libfunc_nothrow): New fn.
4772         (emit_library_call, emit_library_call_value): Use it.
4773         (expand_call): Check TREE_NOTHROW.
4774
4775         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4776         DECL_ASSEMBLER_NAME.
4777
4778 2000-03-09  Andreas Jaeger  <aj@suse.de>
4779
4780         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4781         (TARGET_MEM_FUNCTIONS): Define.
4782
4783 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4784
4785         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4786
4787         * except.c (can_throw): See through a SEQUENCE.
4788         (nothrow_function_p): New fn.
4789         * except.h: Declare it.
4790         * function.c (current_function_nothrow): New var.
4791         (prepare_function_start): Initialize it.
4792         * output.h: Declare it.
4793         * toplev.c (rest_of_compilation): Set it.
4794         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4795
4796 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4797
4798         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4799         match.  (cpp_compare_defs): Count the nul separator when
4800         advancing over argument names.
4801
4802 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4803
4804         * recog.c (preprocess_constraints): Matching constraints affect
4805         same alternative/different operand, not same operand/different
4806         alternative.
4807         
4808         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4809         register and a constant specially.
4810
4811 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4812
4813         * libgcc2.h: New file.
4814         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4815
4816 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4817
4818         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4819         * configure: Regenerate.
4820         * config/ia64: New.
4821
4822 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4823
4824         * Makefile.in (LIBCPP_DEPS): New macro.
4825         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4826         it to declare deps.
4827         * cpperror.c: Include cpphash.h.
4828         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4829         dingleberry.
4830         (lex): Don't use CPP_WARN_UNDEF.
4831         (_cpp_parse_expr): Return an int, the truth value.
4832         * cppfiles.c: Include cpphash.h.
4833         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4834         * cppinit.c (include_defaults_array): Disentangle.
4835         (cpp_cleanup): Don't free the if stack here.
4836         (cpp_finish): Pop off all buffers, not just one.
4837         * cpplib.c (eval_if_expr): Return int.
4838         (do_xifdef): Rename do_ifdef.
4839         (handle_directive): Don't use CPP_PREPROCESSED. 
4840         (cpp_get_token): Don't use CPP_C89.
4841         * fix-header.c: Don't use CPP_OPTIONS.
4842
4843         * cpplib.h: Move U_CHAR, enum node_type, struct
4844         file_name_list, struct ihash, is_idchar, is_idstart,
4845         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4846         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4847         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4848         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4849         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4850         of _cpp_simplify_pathname, _cpp_find_include_file,
4851         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4852         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4853         cppinit.c.
4854         Change all uses of U_CHAR to be unsigned char instead.
4855         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4856
4857 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4858
4859         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4860         (dwarf2out_begin_prologue): Set it.
4861         (output_call_frame_info): Don't emit EH unwind info for leaves.
4862
4863         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4864         can occur outside of an EH region.
4865         * except.c: Correct comments about rethrow behavior.
4866         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4867
4868 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4869
4870         * flow.c (make_edges): Always call make_eh_edge for calls.
4871
4872 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4873
4874         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4875         (struct cpp_buffer): Remove fname and underflow fields.
4876         (struct cpp_reader): Remove get_token field.
4877         (struct include_hash): Rename to struct ihash.  Add typedef to
4878         IHASH.
4879         (struct if_stack): Remove fname field.
4880         (IF_STACK_FRAME): Rename to IF_STACK.
4881
4882         * cpperror.c (print_containing_files): Trust that there are no
4883         macro buffers below the top file buffer.
4884         * cppfiles.c: Replace all references to 'struct include_hash'
4885         with 'IHASH'.  Rename initialize_input_buffer to
4886         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4887         use buffer->ihash->name instead.
4888         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4889         not CPP_NULL_BUFFER.
4890         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4891         IF_STACK_FRAME, IHASH not struct include_hash.
4892         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4893         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4894         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4895         references to cpp_buffer->fname (delete entirely, or use
4896         ->ihash->name instead) and IF_STACK->fname.
4897         (cpp_push_buffer): Don't set new->underflow.
4898         (do_include): Use cpp_file_buffer.
4899
4900         * cpphash.c (collect_formal_parameters): Remove duplicate
4901         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4902         used as a macro argument name.  Don't append "..." to namebuf
4903         for varargs macros.  After we're done scanning, go through
4904         namebuf and make it NUL separated, not comma separated.
4905         (_cpp_compare_defs): Remove register tag from variables.
4906         Expect defn->argnames to be NUL separated.
4907         (_cpp_dump_definition): Expect defn->argnames to be NUL
4908         separated and in forward order.
4909         * cpphash.h: Update documentation of argnames field.
4910
4911 2000-03-08  Richard Henderson  <rth@cygnus.com>
4912
4913         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4914         to fail.  Don't pre-expand the source operand.
4915
4916         * i386.md (strlensi): Initialize eoschar and align before use.
4917
4918 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4919
4920         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4921         CONSTRUCTOR element.
4922
4923 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4924
4925         * mips.c (mips_expand_prologue): If the last 
4926         named argument is the vararg marker "va_list", treat it as
4927         an unnamed argument.
4928
4929 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4930
4931         * dbxout.c (dbxout_parms): When correcting for promoted 
4932         big-endian parameters, use the mode of the DECL_RTL rather 
4933         than UNITS_PER_WORD.
4934
4935 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4936
4937         * c-common.h (make_fname_decl): Declare.
4938         * c-common.c (make_fname_decl): Define.
4939         (declare_hidden_char_array): Remove.
4940         (declare_function_name): Use make_fname_decl.
4941         * c-decl.c (c_make_fname_decl): New function.
4942         (init_decl_processing): Set make_fname_decl.
4943
4944 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4945
4946         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4947
4948 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4949
4950         * po/POTFILES.in: Remove cppalloc.c from file list.
4951
4952 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4953
4954         * pj.c (pj_expand_prologue): current_function->args_info is
4955         now current_function_args_info.  
4956
4957         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4958         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4959         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4960
4961 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4962
4963         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4964         output as hexadecimal rather than the default octal.
4965
4966 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4967
4968         * cpphash.c (special_symbol): Fix thinko in previous commit.
4969
4970 2000-03-07  Neil Booth  <NeilB@earthling.net>
4971
4972         * cppexp.c (struct operation, left_shift, right_shift,
4973         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4974         "int"s to "unsigned int"s.
4975         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4976         Similarly.
4977         * cpplib.h: Update for above.
4978         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4979         returned from allocations.
4980
4981         * cppinit.c (opt_comp, parse_options): New functions.
4982         (handle_option): Use parse_option to parse a single command
4983         line option, that possibly takes an argument.
4984         (cpp_handle_options): Sort the array of command line options on
4985         first invocation (non-ASCII hosts only).
4986         (print_help): Update.
4987
4988 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4989
4990         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4991         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4992         
4993         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4994         initialized.
4995         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4996
4997         * cpperror.c (cpp_print_containing_files,
4998         cpp_print_file_and_line, v_cpp_message): Rename to
4999         print_containing_files, print_file_and_line, and v_message.
5000         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
5001         to _cpp_parse_expr, parse_escape, and lex.
5002         (parse_charconst): Remove broken multibyte support.
5003         * cppfiles.c (include_hash): Make static.
5004         (cpp_included): New function.
5005         (merge_include_chains, find_include_file, finclude,
5006         simplify_pathname): Rename to _cpp_merge_include_chains,
5007         _cpp_find_include_file, _cpp_read_include_file, and
5008         _cpp_simplify_pathname.
5009         * cpphash.c (cpp_lookup, free_definition, delete_macro,
5010         cpp_install, create_definition, macroexpand, compare_defs,
5011         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
5012         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
5013         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
5014         * cppinit.c (cpp_handle_option): Rename to handle_option, make
5015         static.
5016         * cpplib.c: Remove extern prototype of cpp_parse_expr.
5017
5018         * cpphash.h: Update prototypes.
5019         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
5020
5021 2000-03-07  Andrew Haley  <aph@cygnus.com>
5022
5023         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
5024         PTRDIFF_TYPE should be based solely on Pmode.
5025         (SIZE_TYPE): ditto.
5026
5027 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5028
5029         * rtl.h (rtunion_def): Constify member `rtstr'.
5030         (emit_line_note_after, emit_line_note, emit_line_note_force,
5031         emit_note, decode_asm_operands): Constify.
5032         
5033         * cse.c (canon_hash): Likewise.
5034
5035         * dbxout.c (dbxout_block): Likewise.
5036
5037         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5038         v_warning_for_asm): Likewise.
5039
5040         * dwarfout.c (function_start_label): Likewise.
5041
5042         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5043         emit_line_note_force): Likewise.
5044
5045         * final.c (last_filename, asm_insn_count, final_scan_insn,
5046         output_source_line): Likewise.
5047
5048         * function.h (struct emit_status): Likewise.
5049
5050         * gcse.c (hash_expr_1): Likewise.
5051
5052         * genattr.c (gen_attr, main): Likewise.
5053
5054         * genattrtab.c (struct function_unit, current_alternative_string,
5055         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5056         attr_numeral, check_attr_test, check_attr_value,
5057         convert_set_attr_alternative, convert_set_attr,
5058         compute_alternative_mask, simplify_by_exploding, gen_attr,
5059         gen_unit): Likewise.
5060
5061         * genflags.c (gen_insn): Likewise.
5062
5063         * gengenrtl.c (type_from_format): Likewise.
5064
5065         * genopinit.c (gen_insn): Likewise.
5066
5067         * genoutput.c (n_occurrences, process_template, process_template):
5068         Likewise.
5069
5070         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5071         Likewise.
5072
5073         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5074         Likewise.
5075
5076         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5077         ggc_set_mark, ggc_get_size): Likewise.
5078
5079         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5080
5081         * optabs.c (init_one_libfunc): Likewise.
5082
5083         * output.h (assemble_start_function): Likewise.
5084
5085         * recog.c (decode_asm_operands): Likewise.
5086
5087         * toplev.c (rest_of_compilation): Likewise.
5088
5089         * tree.h (emit_line_note_after, emit_line_note,
5090         emit_line_note_force): Likewise.
5091
5092         * varasm.c (asm_output_bss, asm_output_aligned_bss,
5093         asm_emit_uninitialised, assemble_start_function,
5094         assemble_variable, const_hash, compare_constant_1,
5095         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5096
5097         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5098
5099         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5100
5101         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5102
5103         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5104
5105         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5106         arm_dllimport_name_p): Likewise.
5107
5108         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5109         Likewise.
5110
5111         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5112
5113         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5114
5115         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5116         arm_mark_dllexport, arm_mark_dllimport,
5117         arm_pe_encode_section_info): Likewise.
5118
5119         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5120         ASM_FINISH_DECLARE_OBJECT): Likewise.
5121
5122         * arm/thumb.c (thumb_function_prologue): Likewise.
5123
5124         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5125
5126         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5127
5128         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5129
5130         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5131
5132         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5133
5134         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5135
5136         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5137         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5138
5139         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5140
5141         * i386/i386.c (asm_output_function_prefix): Likewise.
5142
5143         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
5144
5145         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5146
5147         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
5148
5149         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
5150         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
5151         ASM_OUTPUT_SECTION_NAME): Likewise.
5152
5153         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
5154
5155         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
5156
5157         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
5158
5159         * m32r/m32r.c (m32r_encode_section_info): Likewise.
5160
5161         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5162
5163         * mcore/mcore.c (mcore_encode_section_info): Likewise.
5164
5165         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5166
5167         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5168
5169         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5170
5171         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
5172
5173         * mips/mips.md (movdi, movsi): Likewise.
5174
5175         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5176
5177         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5178
5179         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5180
5181         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5182         ASM_OUTPUT_ASCII): Likewise.
5183
5184         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5185         output_mi_thunk, output_toc): Likewise.
5186
5187         * rs6000/rs6000.md (movsi): Likewise.
5188
5189         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5190
5191         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5192
5193         * v850/v850.c (print_operand, print_operand_address,
5194         v850_encode_data_area): Likewise.
5195
5196 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
5197         
5198         * config/mips/mips.md (zero_extendsidi2): Always force operand
5199         one to memory for mips16.
5200
5201 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5202
5203         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5204         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5205         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5206         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5207         (min_precision): Result is unsigned.
5208         (add_double, neg_double, mul_double): Low word is unsigned.
5209         (lshift_double, rshift_double, lrotate_double): Likewise.
5210         (rrotate_double, div_and_round_double): Likewise.
5211         (tree_floor_log2, compare_tree_int): New functions.
5212         (preserve_rtl_expr_temps): New declaration.
5213         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5214         (decl_attributes): Use tree_log2 to find alignment.
5215         Check for TREE_INT_CST_HIGH for format args.
5216         (min_precision): Now unsigned.
5217         Use tree_floor_log2.
5218         (truthvalue_conversion): Delete long-disabled code.
5219         * c-decl.c (finish_struct): Clean up tests on field width.
5220         (finish_function): Use compare_tree_int.
5221         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5222         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5223         (default_conversion, digest_init): Use compare_tree_int.
5224         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5225         Fix type errors in forming masks.
5226         * calls.c (initialize_argument_information): Use compare_tree_int.
5227         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5228         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5229         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5230         (store_field): Use compare_tree_int.
5231         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5232         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5233         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5234         (do_store_flag): Use compare_tree_int.
5235         * fold-const.c (encode, decode): Low part is always unsigned.
5236         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5237         (lshift_double, rshift_double, lrotate_double): Likewise.
5238         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5239         (fold_convert): Use compare_tree_int.
5240         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5241         (invert_truthvalue, case INTEGER_CST): Likewise.
5242         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5243         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5244         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5245         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5246         Likewise.
5247         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5248         (expand_end_case): Use compare_tree_int.
5249         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5250         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5251         (layout_decl): Likewise.
5252         (layout_record, layout_union): Make sizes unsigned.
5253         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5254         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5255         * tree.c (struct type_hash): hashcode is unsigned.
5256         (build_type_attribute_variant, type_hash_list): Likewise.
5257         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5258         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5259         (build_complex_type): Likewise.
5260         (real_value_from_int_cst): Remove unneeded casts.
5261         (integer_all_onesp): Add casts.
5262         (tree_floor_log2, compare_tree_int): New functions.
5263         (build_index_type): Use tree_int_cst_sgn.
5264         * varasm.c (assemble_variable): Use compare_tree_int.
5265
5266 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5267
5268         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5269
5270         * varasm.c (make_decl_rtl): Don't add a number to members of
5271         local classes.
5272         (make_function_rtl): Likewise.
5273
5274 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5275
5276         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5277         patch from 2000-01-28.
5278
5279 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5280
5281         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5282         filled with an insn from the jump target.
5283
5284 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5285
5286         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5287         (c4x_external_ref): Likewise.
5288         * config/c4x/c4x.c (struct name_list): Likewise.
5289
5290 1999-12-16  Ben Collins  <bcollins@debian.org>
5291
5292         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5293         argument to genmultilib.
5294         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5295         the contents into the multilib.h header.
5296         * gcc.c: Declare multilib_exclusions for the specs file.
5297         (set_multilib_dir): Use it.
5298         (print_multilib_info): Likewise.
5299         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5300         to pass to genmultilib.
5301
5302 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5303
5304         * builtins.c (built_in_class_names, built_in_names): Constify a
5305         char*.
5306
5307         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5308         int.
5309         (_mcleanup): Ensure value matches format specifier in sprintf.
5310
5311         * cpphash.c (special_symbol): Don't needlessly cast away
5312         const-ness.
5313
5314         * cppinit.c (base_name): Delete unused prototype.
5315
5316         * mkdeps.c (deps_init): Make definition K&R safe.
5317
5318         * tree.h (built_in_class_names, built_in_names): Constify a
5319         char*.
5320
5321 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5322
5323         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5324         floating point instructions for epilogue delay.
5325
5326         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5327         to gas if it supports .register pseudo.
5328
5329         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5330         LONG_DOUBLE_TYPE_SIZE if not defined.
5331         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5332         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5333         * real.c: Likewise.
5334         * gengenrtl.c: Likewise.
5335         * print-rtl.c: Likewise.
5336         * rtl.c: Likewise.
5337         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5338         MASK_LONG_DOUBLE_128.
5339         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5340         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5341         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5342         (SUBTARGET_SWITCHES): Define.
5343         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5344         with -mlong-double-128.
5345         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5346         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5347         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5348         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5349         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5350         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5351         with -mlong-double-128.
5352         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5353         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5354         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5355         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5356         TARGET_LONG_DOUBLE_128): Define.
5357         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5358         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5359         long double on TARGET_ARCH64.
5360
5361 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5362
5363         * function.c (free_temps_for_rtl_expr): Don't free slots
5364         that have been pushed into a higher level.
5365         
5366         Revert this patch:
5367         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5368
5369 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5370
5371         * basic-block.h (ALLOCA_REG_SET): Remove.
5372         (INITIALIZE_REG_SET): New macro.
5373         * flow.c (update_life_info): Use it.
5374         (calculate_global_regs_live): Likewise.
5375         (propagate_block): Likewise.
5376         * global.c (build_insn_chain): Likewise.
5377         * haifa-sched.c (schedule_region): Likewise.
5378
5379 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5380
5381         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5382         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5383         (DWARF_ARANGES_PAD_SIZE): New define.
5384         (output_aranges): Use it to pad the address range header.
5385         (DWARF_ROUND): Fix for non power of 2 rounding.
5386
5387 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5388
5389         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5390
5391 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5392
5393         * tree.def (RTL_EXPR): Update documentation.
5394         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5395         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5396         * function.c (preserve_rtl_expr_temp): New function.
5397         (preserve_rtl_expr_temps): Likewise.
5398         (preserve_rtl_expr_result): Use it.
5399
5400         Revert this patch:
5401         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5402
5403 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5404
5405         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5406         for unchanging destination.
5407
5408 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5409
5410         * function.h (struct sequence_stack): Remove rtl_expr.
5411         (struct emit_staus): Likewise.
5412         (seq_rtl_expr): Remove.
5413         * tree.h (free_temps_for_rtl_expr): Don't declare.
5414         (start_sequence_for_rtl_expr): Likewise.
5415         * rtl.h (preserve_rtl_expr_result): Likewise.
5416         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5417         (start_sequence_for_rtl_expr): Remove.
5418         (push_topmost_sequence): Don't save sequence_rtl_expr.
5419         (pop_topmost_sequence): Remove comment about not restoring it.
5420         (end_sequence): Don't set seq_rtl_expr.
5421         (init_emit): Don't initialize it.
5422         (mark_sequence_stack): Don't mark it.
5423         (mark_emit_status): Likewise.
5424         * except.c (protect_with_terminate): Use
5425         start_sequence_for_rtl_expr, not start_sequence.
5426         * expr.c (expand_expr, case RTL_EXPR): Don't call
5427         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5428         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5429         (preserve_rtl_expr_result): Remove.
5430         (free_temps_for_rtl_expr): Likewise.
5431         (pop_temp_slots): Likewise.
5432         (mark_temp_slot): Don't mark the rtl_expr.
5433         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5434         start_sequence_for_rtl_expr.
5435         
5436 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5437
5438         * mkdeps.c, mkdeps.h: New files.
5439         * po/POTFILES.in: Add them.
5440         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5441         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5442         (mkdeps.o): New target.
5443
5444         * cppfiles.c: Delete deps_output.
5445         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5446         OBJECT_SUFFIX, and base_name.
5447         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5448         the include hash.
5449         (initialize_dependency_output): Use deps_init,
5450         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5451         all the unnecessary string bashing.
5452         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5453         level.
5454         * cpplib.c (do_include): Use deps_add_dep.
5455         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5456         deps_allocated_size, deps_size, deps_column members with
5457         single pointer to a struct deps.  Delete prototype of
5458         deps_output.
5459
5460         * cppinit.c: Fix thinko in previous patch.
5461
5462 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5463
5464         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5465         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5466         (mode_for_size_tree): New function.
5467         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5468         * tree.h (mode_for_size_tree): New declaration.
5469         
5470         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5471
5472 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5473
5474         * stmt.c (is_body_block): Move...
5475         * dwarfout.c, dwarf2out.c: ...from here.
5476         * tree.h: Declare it.
5477         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5478         * final.c (final_start_function): Do call remove_unnecessary_notes
5479         when scheduling.
5480
5481 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5482
5483         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5484         
5485         * cpplib.h (_dollar_ok): New macro.
5486         (is_idchar, is_idstart): Use it.
5487         (IStable): Rename to _cpp_IStable.  Declare it const if
5488         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5489         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5490         is_space): Update for renamed IStable.
5491
5492         * cppinit.c: Delete all references to FAKE_CONST and CAT
5493         macros. Define init_IStable as empty macro if gcc >=2.7 or
5494         C99. Change TABLE() to ISTABLE and hardcode name of table.
5495         (cpp_start_read): Don't change the IStable based on
5496         dollars_in_ident.
5497
5498         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5499         changed.  Handle '$' for char1 correctly.
5500         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5501
5502         * cppexp.c (tokentab2): Make const.
5503         (cpp_lex): Make toktab const.
5504         * cppinit.c (include_defaults_array): Make const.
5505         (initialize_standard_includes): Make default_include const.
5506
5507 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5508
5509         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5510         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5511         (gen_decl_die): Likewise.
5512         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5513         (output_decl): Likewise.
5514
5515         * varasm.c (make_function_rtl): If we change the name used in the
5516         rtl, update DECL_ASSEMBLER_NAME accordingly.
5517         (make_decl_rtl): Likewise.
5518
5519         * toplev.c (rest_of_compilation): Tweak formatting.
5520
5521         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5522         remove_unnecessary_notes.
5523         (debug_ignore_block): New fn.
5524         * toplev.h: Declare it.
5525         * emit-rtl.c (remove_unncessary_notes): Call it.
5526         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5527         * dwarf2out.h: Declare it.
5528         * final.c (final_start_function): Don't call remove_unnecessary_notes
5529         if we did insn scheduling.
5530
5531 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5532
5533         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5534         * cpplib.h: Delete SET_CPP_PEDANTIC.
5535
5536 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5537
5538         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5539         result is a RECORD_TYPE.
5540
5541 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5542
5543         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5544
5545 2000-03-03  Richard Henderson  <rth@cygnus.com>
5546
5547         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5548         addition over compliments over shifts.
5549
5550 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5551
5552         * reload1.c (reload_combine_note_use): Handle return register USEs.
5553         REG case: Handle multi-hard-register hard regs.
5554
5555 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5556
5557         * md.texi: Document use of '*' in insn pattern name.
5558
5559 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5560
5561         * calls.c (special_function_p): operator new may not be malloc-like.
5562
5563         * gcse.c (dump_hash_table): Really fix error in last change.
5564
5565 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5566
5567         * avr.c (print_operand): Use print_operand_address instead of
5568         output_addr_const.
5569         * avr/libgcc.S: Cleanup code.
5570
5571 2000-03-02  Richard Henderson  <rth@cygnus.com>
5572
5573         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5574
5575 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5576
5577         * tree.h (TYPE_ALIGN_UNIT): New macro.
5578
5579 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5580
5581         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5582
5583 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5584
5585         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5586         for the buffer.
5587         (SET_CPP_PEDANTIC): New macro.
5588         * cpplib.c (do_include): Don't bother checking system_header_p.
5589         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5590         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5591
5592         * function.h (struct expr_status): Add x_arg_space_so_far.
5593         (arg_space_so_far): New macro.
5594         * expr.c (init_expr): Initialize it.
5595         * calls.c (emit_call_1): Reset it.
5596         (compute_argument_block_size, expand_call): Use it.
5597         (expand_call, store_one_arg): Increment it.
5598
5599 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5600
5601         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5602         a UNION_TYPE.
5603
5604 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5605
5606         * cppfiles.c (cpp_read_file): New function.
5607
5608         * cpphash.c (collect_expansion): Make sure to reset last_token
5609         to NORM when we hit a string.  Handle trailing whitespace
5610         properly when the expansion is empty.
5611         (create_definition): Disable line commands while parsing the
5612         directive line.
5613         (dump_definition): If pfile->lineno == 0, output a line
5614         command ahead of the dump, and add a trailing newline.
5615
5616         * cppinit.c (append_include_chain): Add fifth argument, which
5617         indicates whether or not system headers are C++ aware.
5618         (initialize_standard_includes): New function,
5619         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5620         the include_defaults_array on to append_include_chain.
5621         (dump_special_to_buffer): Const-ify char array.
5622         (builtin_array): Don't dump __BASE_FILE__.
5623         (cpp_start_read): Use cpp_read_file.  Reorder code for
5624         clarity.  Don't output line commands here for -D/-A/-U
5625         switches.  Don't call deps_output for files included with
5626         -include or -imacros.
5627
5628         * cpplib.c (do_define): Don't pay any attention to the second
5629         argument.
5630         (cpp_expand_to_buffer): Disable line commands while scanning.
5631         (output_line_command): Work in the file buffer.
5632         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5633         Fix formatting of comments.  Prototype cpp_read_file.
5634
5635 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5636
5637         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5638         reference the language-equivalent of sizetype.
5639         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5640         * fold-const.c (size_binop, size_diffop): Put back checks.
5641         * gcse.c (dump_hash_table): Fix minor error in last change.
5642         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5643         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5644         all sizetypes.
5645
5646 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5647
5648         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5649         with inhibit_defer_pop set.
5650
5651 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5652
5653         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5654         the DECL_SIZE for a FIELD_DECL.
5655
5656 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5657
5658         * fixinc/inclhack.tpl: remove unused symlinks
5659         * fixinc/README: GCC Maintainer info
5660         * fixinc/inclhack.sh: regen
5661         * fixinc/fixincl.sh: regen
5662
5663 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5664
5665         * cpphash.c (collect_expansion): Trim trailing white space
5666         from macro definitions, but don't go past the last insertion
5667         point.
5668
5669 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5670
5671         * i386.md (mulqi3): New pattern.
5672
5673 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5674
5675         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5676         token types.
5677         (struct cpp_reader): Add parsing_if_directive and
5678         parsing_define_directive flags.               
5679         (struct cpp_options): Remove output_conditionals flag.
5680         (check_macro_name): Delete prototype.
5681
5682         * cpphash.h (struct macrodef): Delete.
5683         (struct reflist): Separate from struct definition.
5684         (struct definition): Remove unused fields.  Add column number.
5685         (create_definition): Returns a DEFINITION *.  Takes a
5686         cpp_reader * and an int.
5687
5688         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5689         (PEEKC): Copy defn from cpplib.c.
5690         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5691         (struct arg): New.
5692         (struct arglist): Simplify.
5693         (collect_expansion): Rewrite.  Get tokens by calling
5694         cpp_get_token.  Add more error checking.
5695         (collect_formal_parameters): New function, broken out of
5696         create_definition and reworked to use get_directive_token.
5697         (create_definition): All real work is now in collect_expansion
5698         and collect_formal_parameters.  do_define handles finding the
5699         macro name.  Return a DEFINITION, not a MACRODEF.
5700         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5701         character-at-a-time copy loop with memcpy and pointer increments.
5702         (compare-defs): d1->argnames / d2->argnames might be null.
5703
5704         * cpplib.c (copy_rest_of_line): Delete function.
5705         (skip_rest_of_line): Do all the work ourselves.
5706         (skip_string): New function.
5707         (parse_string): Use skip_string.
5708         (get_macro_name): New function.
5709         (check_macro_name): Delete.
5710         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5711         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5712         (handle_directive): ICE if we're called on a macro buffer.
5713         (do_define): Determine macro name and type (funlike/objlike)
5714         here.  Expunge all uses of MACRODEF.
5715         (cpp_push_buffer): Set line_base to NULL.
5716         (do_undef, read_line_number): Don't worry about getting a POP token.
5717         (eval_if_expression): Set/reset parsing_if_directive around
5718         cpp_parse_expr. Don't clear only_seen_white.
5719         (skip_if_group): Remove output_conditionals logic.  Use
5720         skip_rest_of_line.
5721         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5722         tokens under appropriate conditions.
5723         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5724
5725         * cppexp.c (parse_defined): New function, break out of
5726         cpp_lex.
5727         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5728         ourselves, with cpp_defined.
5729         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5730
5731         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5732         * gcc.dg/strpaste-2.c: New.
5733
5734 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5735
5736         * fold-const.c (size_binop): Don't asert inputs are the same and
5737         have TYPE_IS_SIZETYPE set.
5738         (size_diffop): Likewise.
5739
5740 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5741
5742         * dwarfout.c (output_block): Output abstract blocks even if they
5743         don't have TREE_ASM_WRITTEN set.
5744
5745         * calls.c (emit_library_call): Check for null REG.
5746
5747 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5748
5749         * c-decl.c (current_function_decl): Move to toplev.c.
5750         (init_decl_processing): Don't add current_function_decl as a ggc
5751         root here.
5752         * dbxout.c (dbxout_symbol): Change return type to int.
5753         (dbxout_symbol_location, dbxout_syms): Likewise.
5754         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5755         any locals. Use current_function_func_begin_label if set.
5756         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5757         * dwarf2out.c (dwarf2out_begin_prologue): Set
5758         current_function_func_begin_label.
5759         * final.c (final_start_function): Reset it.
5760         * toplev.c (current_function_decl): Define it here.
5761         (current_function_func_begin_label): New variable.
5762         (main): Add both as ggc roots.
5763         * tree.h (current_function_func_begin_label): Declare.
5764
5765 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5766
5767         * gcse.c: Cleanups throughout: mostly white-space, but also
5768         some minor rearrangement of code.
5769
5770 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5771
5772         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5773         returns a PARALLEL.  Use emit_group_load and use_group_regs
5774         as needed.  
5775         (emit_library_call_value): Similarly.
5776
5777         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5778         * pa/quadlib.asm: Remove.
5779         * pa/quadlib.c: New file.
5780
5781         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5782         * configure: Rebuilt.
5783
5784 2000-02-29  Philip Blundell  <pb@futuretv.com>
5785
5786         * config/arm/conix-elf.h: New file.
5787         * configure.in (arm*-*-conix*): New configuration.
5788         * configure: Regenerate.
5789
5790 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5791
5792         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5793         don't have TREE_ASM_WRITTEN set.
5794
5795 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5796
5797         * Eliminate DECL_FIELD_SIZE.
5798         * builtins.c (built_in_class_names, built_in_names): New variables.
5799         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5800         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5801         DECL_SIZE, not DECL_FIELD_SIZE.
5802         * print-tree.c (print_node): Remove code that prints extra blank
5803         lines in some cases.
5804         Properly handle inline and builtin function cases.
5805         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5806         * tree.h (built_in_class_named, built_in_names): New declarations.
5807         (union tree_decl): Rename internal unions to u1 and u2 and change
5808         some of their components.
5809         Add new field built_in_class.
5810         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5811         Reflect above changes.
5812         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5813         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5814         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5815         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5816
5817 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5818
5819         * extend.texi: Document ARM's support for long/short calls.
5820
5821         * invoke.texi: Document ARM's -mlong-calls command line switch.
5822         
5823         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5824         (arm_encode_call_attribute): Add prototype.
5825         (arm_set_default_type_attribute): Add prototype.
5826         (arm_strip_name_encoding): Add prototype.
5827
5828         * config/arm/arm.c (arm_init_cumulative_args): replace
5829         initialisation og 'long_calls' field with initialisation of
5830         'call_cookie' field.
5831         (enum arm_pragma_enum): New enum.
5832         (arm_pragma_long_calls): New static variable.
5833         (arm_process_pragma): Also process "#pragma long_calls_off".
5834         (arm_valid_type_attribute_p): Accept short_call attribute.
5835         (arm_comp_type_attributes): Check long/short call attributes.
5836         (arm_encode_call_attribute):  New function:  Encode long_call
5837         or short_call attribute in function name.
5838         (arm_set_default_type_attributes): New function: Assign
5839         default attributes to newly defined type.
5840         (current_file_function_operand): New function: Return true if
5841         the symbol is a function which has already been compiled.
5842         (arm_is_longcall_p): New function: Return true if the
5843         indicated function should be called via a long call.
5844         (arm_get_strip_length): New function.  Returns number of
5845         prefix characters to be stripped from a function's name.
5846         (arm_strip_name_encoding): New function.  Strip prefix characters
5847         from a function's name.
5848
5849         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5850         with 'call_cookie'.
5851         (SHORT_CALL_FAG_CHAR): Define.
5852         (LONG_CALL_FAG_CHAR): Define.
5853         (ENCODED_SHORT_CALL_ATTR_P): Define.
5854         (ENCODED_LONG_CALL_ATTR_P): Define.
5855         (ARM_NAME_ENCODING_LENGTHS): Define.
5856         (STRIP_NAME_ENCODING): Define.
5857         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5858         (ARM_ENCODE_CALL_TYPE): Define.
5859         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5860         (ARM_DECLARE_FUNCTION_SIZE): Define.
5861         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5862
5863         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5864         if a long call is needed.
5865         (call_value): Ditto.
5866         (call_symbol): Ditto.
5867
5868         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5869         ARM_DECLARE_FUNCTION_SIZE.
5870
5871         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5872         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5873         (ARM_STRIP_NAME_ENCODING): Undefine.
5874         (STRIP_NAME_ENCODING): Undefine.
5875         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5876         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5877         (ASM_OUTPUT_COMMON): Ditto.
5878         (ASM_DECLARE_OBJECT_NAME): Ditto.
5879
5880         * config/arm/pe.c (arm_dllexport_name_p): Check for
5881         ARM_PE_FLAG_CHAR.
5882         (arm_dllimport_name_p): Ditto.
5883         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5884         (arm_mark_dllimport): Ditto.
5885         
5886 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5887
5888         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5889
5890 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5891
5892         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5893
5894 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5895
5896         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5897         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5898         NO_BUILTIN_WCHAR_TYPE is not defined.
5899         (CPP_WCHAR_TYPE): Delete.
5900         * cccp.c (main): Don't change wchar_type if cplusplus.
5901         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5902
5903 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5904
5905         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5906
5907 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5908
5909         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5910         (ASM_WEAKEN_LABEL): Define.
5911  
5912 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5913
5914         * expr.c (store_constructor): Do not emit USE.
5915         * rtl.h (stupid_life_analysis): Remove.
5916
5917 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5918
5919         * function.c (number_blocks): Reset next_block_index based on
5920         what debugging format is used, not what is defined.
5921         
5922         * lcm.c: Minor reformatting throughout.
5923         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5924         
5925         * toplev.c (rest_of_compilation): Account for time in
5926         optimize_mode_switching.
5927
5928         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5929         if only marking labels.
5930
5931 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5932
5933         * calls.c (expand_call): Attempt to combine stack adjustments with
5934         pending stack adjustments.
5935
5936 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5937
5938         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5939         to the end of the function.
5940
5941 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5942
5943         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5944         blocks.
5945         * final.c (next_block_index): Remove.
5946         (max_block_depth): Likewise.
5947         (pending_blocks): Likewise.
5948         (init_final): Don't initialize them.
5949         (final_start_function): Don't set next_block_index.  Set up
5950         BLOCK_NUMBER.
5951         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5952         * function.h (number_blocks): New function.
5953         * function.c (get_block_vector): New function.
5954         (identify_blocks): Use it.
5955         (reorder_blocks): Set NOTE_BLOCK.
5956         (number_blocks): New function.
5957         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5958         * tree.h (BLOCK_NUMBER): New macro.
5959         (tree_block): Add block_num field.
5960         * dbxout.c (next_block_number): Remove.
5961         (dbxout_init): Don't set it.
5962         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5963         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5964         block numbers.
5965         * toplev.c (rest_of_compilation): Always call
5966         find_loop_tree_blocks.  Fix indentation.
5967         * dwarf2out.c (next_block_number): Remove.
5968         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5969         to determine block numbers.
5970         (gen_inlined_subroutine_die): Likewise.
5971         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5972         (decls_for_scope): Don't increment next_block_number.
5973         * dwarfout.c (next_block_number): Remove.
5974         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5975         to determine block numbers. 
5976         (output_inlined_subroutine_die): Likewise.
5977         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5978         (output_decls_for_scope): Don't increment next_block_number.
5979         * sdbout.c (next_block_number): Remove.
5980         (sdbout_block): Use BLOCK_NUMBER.
5981         (sdbout_begin_block): Simplify.
5982         * xcoffout.c (next_block_number): Remove.
5983         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5984         (xcoffout_begin_block): Don't set next_block_number.
5985         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5986         next_block_number.
5987         
5988 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5989
5990         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5991         (expand_builtin_strcpy): Pass correct type to size_binop.
5992         (expand_builtin_strcmp): Likewise.
5993         Clean up conditional structure.
5994         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5995         (complete_array_type): Don't use size_binop for MAXINDEX.
5996         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5997         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5998         (c_alignof): Use size_one_node.
5999         (build_unary_op): Pass arg of proper type to size_binop.
6000         (really_start_incremental_init, push_init_level): Use sizetype for
6001         constructor{,_bit,_unfilled}_index.
6002         (pop_init_label, output_init_element): Likewise.
6003         (output_pending_init_elements, process_init_element): Likewise.
6004         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
6005         * expr.c (store_expr): Use size_int.
6006         (store_constructor): Use proper types for size_binop args.
6007         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
6008         (expand_expr_unaligned): Likewise.
6009         (string_contant): Return object of sizetype.
6010         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
6011         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
6012         (ARGS_SIZE_TREE): Pass proper types to size_binop.
6013         * fold-const.c (int_const_binop): Refine when size_int is called.
6014         (fold_convert): Likewise.
6015         (size_int_wide): Rework to take KIND as arg, only take low order
6016         bits, handle new sizetype_tab datatype, and chain entries in
6017         size_table.
6018         (size_int_type_wide): New function.
6019         (size_binop): Validate types of arguments.
6020         (ssize_binop): Deleted.
6021         (size_diffop): New function.
6022         (extract_muldiv): Only fold division into multiplication for sizetypes.
6023         * function.c (assign_parms): Use size_diffop and make sure
6024         VAR field is of ssizetype; also pass proper type to size_binop.
6025         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6026         (round_down): Deleted from here.
6027         * store-layout.c (sizetype_tab): Now an array.
6028         (sizetype_set, early_root_list): New variables.
6029         (variable_size): Use size_one_node.
6030         (round_up): Pass proper type to size_binop.
6031         (round_down): Moved to here and corrected as above.
6032         (layout_record): Pass proper arg types to size_binop.
6033         (layout_type): Likewise.
6034         If sizetype_set is zero, record the type just laid out.
6035         (make_unsigned_type): Don't call set_sizetype;
6036         (make_signed_type): Likewise; also, call fixup_signed_type.
6037         (initialize_sizetypes): New function.
6038         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6039         set name of bitsizetype to "bit_size_type".
6040         Fix up type of sizes of all types made before call.
6041         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6042         * tree.c (fix_sizetype): Deleted.
6043         (build_common_tree_nodes): Call initialize_sizetypes.
6044         (build_common_tree_nodes_2): Don't call fix_sizetype.
6045         * tree.h (TYPE_IS_SIZETYPE): New macro.
6046         (initialize_sizetype): New declaration.
6047         (enum size_type_kind): New type.
6048         (struct sizetype_tab): Deleted.
6049         (sizetype_tab): Now array; adjust sizetype macros.
6050         (size_diffop, size_int_type_wide): New functions.
6051         (size_int_wide): Change number of args and type; access macros changed.
6052         (ssize_int, sbitsize_int): New macros.
6053         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6054         (ROUND_TYPE_SIZE_UNIT): New macro.
6055
6056 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
6057
6058         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6059
6060 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6061
6062         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6063         Mark as possibly unused.
6064
6065         * cse.c (cse_insn): Delete dead code involving tablejump.
6066         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6067
6068         * Makefile.in (libcpp.a): Start by deleting it.
6069
6070 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6071
6072         * cpplib.h (enum file_change_code): Added rename_file.
6073         * cpplib.c (do_line): If a filename is given, set file_change to
6074         rename_file.
6075         (output_line_command): If file_change is rename_file, always
6076         output a # directive with the file name.
6077
6078         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6079
6080 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
6081
6082         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6083         when copying a PARM_DECL or RESULT_DECL.
6084
6085 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6086
6087         * fix-header.c (recognized_function): Also fix prototypes for
6088         functions taking "void".
6089
6090 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6091
6092         * reload1.c (do_output_reload): Check reg_reloaded_valid before
6093         looking at reg_reloaded_contents.
6094
6095 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
6096
6097         * Makefile.in (STMP_FIXINC): New toggle.
6098         (LIBGCC2_DEPS): Delete all references.
6099         (stmp-headers): Delete target.  All references either deleted
6100         or changed to stmp-int-headers.
6101         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6102         (LIBCPP_OBJS): Take out cppalloc.o.
6103         (cppalloc.o): Delete target.
6104         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6105         (gen-protos, fix-header): Link with libiberty.a.
6106         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
6107         to empty.
6108
6109         * configure.in: Remove refs to strerror.
6110         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6111         * system.h: Take out strerror stanza.
6112
6113         * cpperror.c (my_strerror): Delete function.
6114         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6115         * cppmain.c (main): Call xmalloc_set_program_name first thing.
6116         * cppalloc.c: Delete file.
6117         * gen-protos.c: Don't provide xrealloc.
6118
6119         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6120         xstrerror throughout.
6121
6122 2000-02-26  Bruce Korb  <bkorb@gnu.org>
6123
6124         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6125         match for DOS headers, too.
6126         * fixinc/inclhack.sh,fixincl.x: Regenerate.
6127
6128 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6129
6130         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
6131         is right for most ELF targets.
6132         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6133         Let the default file use %U properly.
6134         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
6135         default.
6136
6137         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6138         numbers.
6139
6140 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6141
6142         * toplev.c (documented_lang_options): Correct spelling error.
6143         (decode_d_option, decode_f_option, main): Likewise.
6144
6145         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
6146
6147         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
6148         to tell assembler it is permitted to expand large constants.
6149
6150 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
6151
6152         * protoize.c: (AUX_INFO_SUFFIX): New macro.
6153         (aux_info_suffix): Use.
6154         (SAVE_SUFFIX): New macro.
6155         (save_suffix): Use.
6156         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
6157         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
6158         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
6159
6160         * invoke.texi (Running Protoize): Update documentation.
6161
6162 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
6163
6164         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
6165
6166 2000-02-25  John Wehle  (john@feith.com)
6167
6168         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
6169
6170 2000-02-25  Anthony Green  <green@cygnus.com>
6171
6172         * toplev.c (rest_of_compilation): Rebuild jump labels if
6173         combine_instructions has created a new direct jump.
6174         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
6175         when appropriate.
6176         (combine_instructions): Call try_combine with new argument.
6177         Return non-null value when new direct jump instruction is created.
6178         * rtl.h: combine_instructions returns an int.
6179
6180 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
6181
6182         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6183         jump when changing a computed jump into a jump to a known
6184         target.
6185
6186 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
6187
6188         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6189         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6190
6191         * i386.md (define_expand "clrstrsi"): Fix typo.
6192
6193 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
6194
6195         * rtl.texi: Fix typo.
6196
6197 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6198
6199         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6200         UNITS_PER_WORD.  Change caller initial_elimination_offset.
6201         (rounded_frame_size): Take into account that argument pushed has
6202         changed.  Fix TARGET_ALIGN_DOUBLE problem.
6203
6204 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
6205
6206         * haifa-sched.c (schedule_block): Explain the real reason
6207         we delete REG_SAVE_NOTEs on the first insn of a block.
6208         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6209
6210 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
6211
6212         * input.h (push_srcloc): New function.
6213         (pop_srcloc): Likewise.
6214         * toplev.c (push_srcloc): Define it.
6215         (pop_srcloc): Likewise.
6216
6217 2000-02-24  Richard Henderson  <rth@cygnus.com>
6218
6219         * flow.c (life_analysis): When collecting reg info, clear
6220         regs_ever_live.
6221
6222 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6223
6224         Fix bug exposed by reload.c no longer rounding the frame
6225         size to BIGGEST_ALIGNMENT:
6226         * sh.c (rounded_frame_size): New function.
6227         (sh_expand_prologue, sh_expand_epilogue): Use it.
6228         (initial_elimination_offset): Likewise.
6229
6230 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6231
6232         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6233         * sh-protos.h (sh_need_epilogue): Declare.
6234         * sh.c (sh_need_epilogue_known): New static variable.
6235         (sh_need_epilogue): New function.
6236         (function_epilogue): Clear need_epilogue_known.
6237         * sh.md (return): Split into expander / insn pattern.
6238         Make the expander conditional on ! sh_need_epilogue ().
6239
6240 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6241
6242         * machmode.h (get_mode_alignment): Declare.
6243         (GET_MODE_ALIGNMENT): Call it.
6244         * stor-layout.c (get_mode_alignment): New function. Make
6245         sure alignment is always power of 2.
6246
6247 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6248
6249         * i386.h: Remove useless definition of "I386" and misleading
6250         comment above it.
6251
6252 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6253
6254         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6255         under which TREE_PERMANENT will be set.
6256         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6257         build1): Use TREE_SET_PERMANENT.
6258         * print-tree.c (print_node): Don't report value of
6259         TREE_PERMANENT if ggc_p is true.
6260
6261         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6262         decide whether to give a type a new alias set.
6263         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6264         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6265         of value of 'obstack'.
6266
6267
6268 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6269
6270         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6271
6272 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6273
6274         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6275         * cpplib.c (cpp_get_token): Produce them.
6276         * cppexp.c (cpp_lex): Handle them.
6277
6278 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6279
6280         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6281         comment tests on type attributes.
6282
6283 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6284
6285         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6286         conform to documentation.
6287         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6288         to check for special cases.
6289         * sh-protos.h (sh_loop_align): Declare.
6290         * sh.c (sh_loop_align): Define.
6291
6292 2000-02-22  Andrew Haley  <aph@cygnus.com>
6293
6294         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6295         (SIZE_TYPE): Is 32 bits when using -mgp32.
6296         (PTRDIFF_TYPE): Ditto.
6297
6298 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6299
6300         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6301
6302 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6303
6304         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6305         BIGGEST_FIELD_ALIGNMENT a constant.
6306
6307 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6308
6309         * dwarf2out.c (output_line_info): Put the marker for the end of
6310         the line number info at the actual end.
6311         (gen_struct_or_union_type_die): Use decl_function_context 
6312         to check for local classes.
6313         * dwarfout.c (output_type): Likewise.
6314
6315 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6316
6317         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6318         for arguments with a mode, but no type.
6319         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6320         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6321         * pa/long_double.h: New file.
6322         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6323         both have 128bit wide long doubles.
6324         * configure: Rebuilt.
6325
6326 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6327
6328         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6329
6330         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6331         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6332         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6333
6334         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6335
6336         * integrate.c (compare_blocks, find_block): Likewise.
6337
6338         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6339
6340         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6341
6342         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6343         expand_asm_operands): Likewise.
6344
6345 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6346
6347         * predict.c (estimate_probability): Added the pointer heuristic to
6348         the collection of static branch predictors.
6349
6350 2000-02-21  Catherine Moore  <clm@cygnus.com>
6351
6352         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6353         * invoke.texi (-mfix7000): Document.
6354
6355 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6356
6357         * diagnostic.c (init_output_buffer): Make it possible to output at
6358         least 32 characters if we're given a too long prefix.
6359
6360 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6361
6362         * varasm.c (initializer_constant_valid_p): Call
6363         lang_expand_constant to simplify the constant.
6364
6365 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6366
6367         * fixinc/inclhack.def(stdio_va_list):
6368         typedef needs to be disabled.
6369         * fixinc/inclhack.sh: regen
6370         * fixinc/fixincl.x: regen
6371
6372 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6373
6374         * print-rtl.c (print_rtx): Don't print addresses when
6375         flag_dump_unnumbered.
6376
6377 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6378
6379         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6380         ATTRIBUTE_UNUSED.
6381         (sparc_va_arg, sparc_flat_output_function_prologue,
6382         sparc_flat_output_function_epilogue): Cast value to unsigned in
6383         comparison.
6384         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6385         
6386         * sparc.md: Add default case in switch.
6387
6388 2000-02-19  Richard Henderson  <rth@cygnus.com>
6389
6390         * c-typeck.c (add_pending_init): Don't abort for multiple
6391         fields at the same offset.
6392         (pending_init_member): Test the correct member.
6393
6394 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6395
6396         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6397         instead of SImode.
6398         (start_catch_handler) : Same.
6399
6400 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6401
6402         * Makefile.in: Have flow.o depend on $(EXPR_H)
6403
6404 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6405
6406         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6407         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6408         (finish_decl): Remove -Wlarger-than code from here.
6409         * flags.h (id_clash_len): Now int.
6410         (larger_than_size): Now HOST_WIDE_INT.
6411         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6412         Clean up checking to see if in table.
6413         (make_bit_field_ref): Remove extra parm to bitsize_int.
6414         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6415         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6416         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6417         and for computing size of decl.
6418         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6419         Move -Wlarger-than code to here.
6420         (layout_record): Remove extra arg to bitsize_int.
6421         Set TYPE_BINFO_SIZE_UNIT.
6422         (layout_union): Remove extra arg to bitsize_int.
6423         Use proper type for size of QUAL_UNION.
6424         (layout_type): Remove extra arg to bitsize_int.
6425         * toplev.c (id_clash_len): Now int.
6426         (larger_than_size): Now HOST_WIDE_INT.
6427         (decode_W_option): Clean up id-clash and larger-than- cases.
6428         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6429         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6430         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6431         (struct tree_decl): New field size_unit.
6432         (size_int_wide): No HIGH operand; NUMBER is now signed.
6433         (size_int_2): Deleted.
6434         (size_int, bitsize_int): Don't use it and rework args.
6435         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6436
6437 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6438
6439         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6440
6441 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6442
6443         * invoke.texi (Warning Options): Add an explanation of why
6444         you might want the -Wfloat-equal flag.
6445
6446 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6447
6448         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6449         * cppinit.c (new_pending_define): Add cast to avoid warning.
6450         * expmed.c (extract_bit_field): Likewise.
6451         * flow.c (enum reorder_skip_type): New type.
6452         (skip_insns_between_blcok): New it.
6453         Rework to avoid warning about possibly undefined variable.
6454         * function.c (assign_parms): Make thisparm_boundary unsigned.
6455         * genrecog.c (write_switch): Cast XWINT result to int.
6456         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6457         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6458         one for MIPS and one for Alpha.
6459         (get_tag, copy_object): Add casts to avoid warnings.
6460         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6461         * reload.c (find_reloads): Make TYPE enum reload_type.
6462         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6463         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6464         * varasm.c (compare_constant_1): Add cast to avoid warning.
6465         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6466         to (char *).
6467         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6468         Cast switch operand of size to int.
6469         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6470         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6471         in unhandled case.
6472
6473 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6474
6475         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6476         anything for an alignment of zero.
6477
6478         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6479         anything for an alignment of zero.
6480
6481 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6482
6483         * gcc.texi (Bug Reporting): Refer to bugs.html.
6484         (Bug Lists): Likewise.
6485         * system.h (GCCBUGURL): New preprocessor define.
6486         * rtl.c (fancy_abort): Use it.
6487         * gcc.c (main): Likewise.
6488
6489 2000-02-18  Richard Henderson  <rth@cygnus.com>
6490
6491         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6492         (life_analysis_1): Subsume into ...
6493         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6494         Use update_life_info for the relaxation.
6495         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6496         entry and regs_live_at_setjmp.
6497         (set_noop_p): Simplify.
6498         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6499         (record_volatile_insns): Split into ...
6500         (delete_noop_moves): ... here,
6501         (notice_stack_pointer_modification): ... here,
6502         (insn_dead_p): ... and here.
6503         (propagate_block): Don't query INSN_VOLATILE.
6504         (mark_used_regs): Mind !PROP_REG_INFO.
6505         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6506         not in life_analysis.
6507
6508 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6509
6510         * loop.c (canonicalize_condition): New function,
6511         broken out of get_condition.
6512         (get_condition): Use it.
6513         * expr.h (canonicalize_condition): Prototype it.
6514
6515         * tree.h (tree_int_cst_msb): Declare.
6516         * tree.c (tree_int_cst_msb): New function.
6517
6518 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6519
6520         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6521         isn't set.
6522
6523         * invoke.texi (-fmessage-length=n): Document.
6524
6525 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6526
6527         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6528
6529 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6530
6531         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6532         after the prologue.
6533
6534 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6535
6536         * config/arm/thumb.c: Replace includes of system headers with
6537         #include "system.h".
6538
6539 2000-02-16  Richard Henderson  <rth@cygnus.com>
6540
6541         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6542         Add crtbeginS.o and crtendS.o.
6543         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6544         (ENDFILE_SPEC): Use crtendS.o.
6545         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6546
6547         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6548         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6549         shared and present.
6550         (__dso_handle): New variable.
6551         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6552         bias to __CTOR_END__.
6553         
6554 2000-02-16  Richard Henderson  <rth@cygnus.com>
6555
6556         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6557
6558 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6559
6560         * longlong.h (__clz_tab): Declare as static to match definition.
6561
6562 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6563         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6564         (XREF_FILE_NAME): Define.
6565
6566         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6567         (EH_FRAME_SECTION_ASM_OP): Define.
6568         (IDENT_ASM_OP): Define.
6569         (TEXT_SECTION_ASM_OP): Define.
6570         (CPP_SPEC): Define.
6571         (CTORS_SECTION_ASM_OP): Define.
6572         (CTOR_SECTION_FUNCTION): Use it.
6573         (DTORS_SECTION_ASM_OP): Define.
6574         (DTOR_SECTION_FUNCTION): Use it.
6575
6576 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6577
6578         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6579         NOTE_BASIC_BLOCK.
6580
6581         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6582         debug_bb_n): New functions.
6583         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6584         * basic-block.h: Prototype new functions.
6585
6586 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6587
6588         * configure.in: Add support for avr target.
6589         * configure: Rebuilt.
6590
6591         * invoke.texi: Add AVR invocation docs.
6592         * install.texi: Add information about AVR.
6593         * md.texi: Add AVR constraint letters description.
6594         * extend.texi: Add description for AVR specific attributes.
6595
6596 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6597
6598         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6599
6600 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6601
6602         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6603         (make_insn_raw): Move RTL check here.
6604
6605 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6606
6607         * version.c: Include gansidecl.h and version.h.
6608
6609         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6610         
6611         * configure.in (gcc_version): When setting, narrow search to
6612         lines containing `version_string'.
6613
6614         * Makefile.in (mainversion): Likewise. 
6615         (GCC_H): New variable.
6616         (gcc.h): Delete target.
6617         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6618         (version.o): Depend on version.h.
6619         (dbxout.o): Don't depend on gcc.h.
6620
6621 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6622                           Michael Meissner  <meissner@cygnus.com>
6623
6624         * md.texi (Simple Constraints): Add item about whitespace.
6625         * genoutput.c (strip_whitespace): New.
6626         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6627         strip_whitespace for constraints.
6628         Test pointer using NULL, not 0.
6629
6630 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6631
6632         * cpplib.c (do_line): Pedwarn for #line > 32767.
6633
6634         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6635
6636 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6637
6638         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6639         to default cpp spec.
6640         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6641         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6642         * cpp.1: Likewise.
6643
6644         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6645         default spec.
6646
6647 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6648
6649         * configure.in: Add support for avr target.
6650
6651 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6652
6653         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6654         (sh_addr_diff_vec_mode): Don't declare.
6655         * sh.c (sh_addr_diff_vec_mode): Delete.
6656
6657 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6658
6659         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6660
6661 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6662
6663         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6664         (smulsi3_highpart_i): Name.
6665         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6666         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6667         (smulsi3_highpart, umulsi3_highpart): Likewise.
6668
6669         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6670         correctly independent of endianness.
6671         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6672         confuse the optimizers.
6673         (mulsidi3+1, umulsidi3+1): New define_split.
6674
6675 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6676
6677         * config/sh/sh.md: Guard insn splits against illegal registers.
6678         * config/sh/sh.h: Correct comment about macros.
6679
6680 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6681                           Andrew MacLeod  <amacleod@cygnus.com>
6682
6683         * Makefile.in (lcm.o): Depend on insn-attr.h.
6684         * basic-block.h (optimize_mode_switching): Declare.
6685         * lcm.c (tm_p.h, insn-attr.h): #include.
6686         (seginfo, bb_info): New structs.
6687         (antic, transp, comp, delete, insert) : New file-scope static variables.
6688         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6689         (reg_becomes_live, optimize_mode_switching): Likewise.
6690         * tm.texi: Add description of mode switching macros.
6691         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6692
6693         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6694         (fldi_ok, fpscr_set_from_mem): New prototypes.
6695         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6696         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6697         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6698         (sh_flag_remove_dead_before_cse): Remove declaration.
6699         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6700         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6701         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6702         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6703         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6704         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6705         (fldi_ok): New function.
6706         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6707         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6708         (emit_df_insn): Likewise.
6709         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6710         (sh_flag_remove_dead_before_cse): Delete.
6711         (get_free_reg, fpscr_set_from_mem): New functions.
6712         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6713         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6714
6715 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6716
6717         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6718
6719 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6720
6721         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6722         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6723
6724         * cccp.c: Include version.h and/or don't declare `version_string'.
6725         * collect2.c: Likewise.
6726         * alpha.c: Likewise.
6727         * arm/aof.h: Likewise.
6728         * arm/coff.h: Likewise.
6729         * arm/elf.h: Likewise.
6730         * arm/pe.h: Likewise.
6731         * arm/tcoff.h: Likewise.
6732         * arm/telf.h: Likewise.
6733         * arm/tpe.h: Likewise.
6734         * arm/vxarm.h: Likewise.
6735         * convex/convex.c: Likewise.
6736         * i386/dgux.c: Likewise.
6737         * i386/sun386.h: Likewise.
6738         * m88k/m88k.c: Likewise.
6739         * mcore/mcore-pe.h: Likewise.
6740         * mips/mips.h: Likewise.
6741         * romp/romp.h: Likewise.
6742         * sh/sh.c: Likewise.
6743         * cpphash.c: Likewise.
6744         * cppinit.c: Likewise.
6745         * dwarf2out.c: Likewise.
6746         * dwarfout.c: Likewise.
6747         * gcc.c: Likewise.
6748         * gcc.h: Likewise.
6749         * mips-tfile.c: Likewise.
6750         * protoize.c: Likewise.
6751         * toplev.c: Likewise.
6752         * tree.h: Likewise.
6753         
6754         * version.c (version_string): Constify a char*.
6755
6756         * version.h: New file.
6757
6758 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6759
6760         * configure.in: Add mcore-elf and mcore-pe targets.
6761         * configure: Regenerate.
6762
6763         * NEWS: Add note that MCore port has been contributed.
6764
6765         * invoke.texi: Document command line switches for MCore port.
6766         * install.texi: Add MCore to list of supported targets.
6767
6768 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6769
6770         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6771         then we will need to import the frame handling functions.
6772         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6773         to import the frames themselves.
6774
6775 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6776                           Jason Eckhardt  <jle@cygnus.com>
6777
6778         * basic_block.h: Added prototype for reorder_basic_blocks.
6779         * toplev.c: Changes to add -freorder-blocks and graph dump after
6780         block reordering is done.
6781         * flow.c (reorder_block_def): New structure for use during block
6782         reordering.
6783         (REORDER_BLOCK_*): New macros to access members of above structure.
6784         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6785         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6786         functions for block reordering.
6787
6788 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6789
6790         * gcc.texi (Passes): Fix typo.
6791         * md.texi (Standard Names): Ditto.
6792         * tm.texi (Storage Layout): Ditto.
6793
6794 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6795
6796         * cpplib.c (do_define): Only free the old definition if it
6797         actually had one.
6798
6799 2000-02-13   Neil Booth  <NeilB@earthling.net>
6800
6801         * cppfiles.c (read_and_prescan): When emitting deferred
6802         newlines, test speccase[] again instead of checking each
6803         possible whitespace character in turn.  When we encounter \r,
6804         look behind for \n first, then ahead.
6805
6806 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6807
6808         * cse.c (cse_altered): New internal flag.
6809         (cse_insn): Set it if we changed an insn.
6810         (cse_main): Clear cse_altered before each basic block.
6811         Only garbage collect if cse_altered is true afterward.
6812
6813 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6814
6815         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6816
6817 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6818
6819         * combine.c (simplify_comparison): Fix typo.
6820
6821 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6822
6823         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6824         consistently.
6825
6826 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6827
6828         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6829         previously inserted node instead of root node.  Caller changed.
6830
6831 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6832
6833         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6834
6835 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6836
6837         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6838         __dereg_frame_dtor): Add prototype argument.
6839
6840         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6841
6842         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6843
6844         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6845
6846         * gthr-vxworks.h (__gthread_once): Likewise.
6847
6848         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6849
6850 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6851
6852         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6853         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6854         stack pointer in functions w/o saved registers, output LEAVE more often
6855         on TARGET_USE_LEAVE machines.
6856
6857 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6858
6859         * config/arm/arm.c (arm_init_cumulative_args); New function:
6860         Initlaise the CUMULATIE_ARGS strcuture for a function
6861         defintion. 
6862         (arm_function_arg): New function: Determine where to place a
6863         function's argument.  Also handles deciding the function's
6864         call cookie.
6865         (current_file_function_operand): New function: Return true if
6866         the symbol is a function which has already been compiled.
6867         (arm_is_long_call_p): New function: Return true if the
6868         indicated function should be called via a long call.
6869         (arm_valid_type_attribute_p): New function: Return true if the
6870         attribute is a valid, arm specific, attribute.
6871         (arm_comp_type_attribute): New function: Return true if the
6872         two types have compatable, arm specific, attributes.
6873
6874         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6875         structure.
6876         (FUNCTION_ARG): Redefine to call arm_function_arg.
6877         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6878         structure field.
6879         (INIT_CUMULATIVE_ARGS): Redefine to call
6880         arm_init_cumulative_args.
6881         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6882         field. 
6883         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6884         field. 
6885         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6886         functions.
6887         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6888         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6889         (COMP_TYPE_ATTRIBUTES): Define.
6890
6891         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6892         if a long call is needed.
6893         (call_value): Call arm_is_long_call_p to decide if a long call
6894         is needed.
6895         (call_symbol): Call arm_is_long_call_p to decide if a long call
6896         is needed.
6897
6898         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6899
6900 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6901
6902         * README.AVR: New file with information about the avr ports.
6903         * config/avr: New directory with avr port files.
6904
6905 2000-02-11  Andreas Jaeger  <aj@suse.de>
6906
6907         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6908
6909 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6910
6911         * cpphash.c: Fix formatting, update commentary.
6912         (dump_definition): Take three separate arguments instead of a
6913         MACRODEF structure argument.
6914         * cpphash.h: Update prototype of dump_definition.
6915         * cppinit.c (cpp_finish): Update call of dump_definition.
6916
6917         * cpplib.c (do_define): Always create new hash entry with
6918         T_MACRO type.  Remove redundant check for redefinition of
6919         poisoned identifier.  Update call of dump_definition.
6920         (do_undef): Don't call check_macro_name.  Rename sym_length to
6921         len.
6922         (do_error, do_warning): Don't use copy_rest_of_line or
6923         SKIP_WHITE_SPACE.
6924         (do_warning): Don't use pedwarn for the actual warning,
6925         only the notice about its not being in the standard.  (Fixes
6926         bug with #warning in system headers.)
6927         (do_ident): Stricter argument checking - accept only a single
6928         string after #ident.  Also, macro-expand the line.
6929         (do_xifdef): Use cpp_defined.  De-obfuscate.
6930
6931         (do_pragma): Split out specific pragma handling to separate
6932         functions.  Use get_directive_token.  Update commentary.  Do
6933         not pass on #pragma once or #pragma poison to the front end.
6934         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6935         do_pragma_default): New.
6936
6937 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6938
6939         * jump.c (jump_optimize_1): The first operand in a relational
6940         can be a CONST_INT.
6941         * optabs.c (emit_conditional_move): Handle relationals which
6942         have a known true/false result.
6943
6944 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6945
6946         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6947         a RETURN insn into a block which already ends with a jump.
6948
6949 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6950
6951         * haifa-sched.c (BUF_LEN): Increase a lot.
6952
6953 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6954
6955         * configure.in: Add tm_p_file specification for thumb targets.
6956         * configure: Regenerate.
6957
6958         * config/arm/thumb-protos.h: New file: Prototypes for exported
6959         functions defined in thumb.c.
6960
6961 2000-02-11  Robert Lipe  <robertl@sco.com>
6962
6963         * Makefile.in (bootstrap-lean): Remove additional files.
6964         (bootstrap2-lean): Likewise.
6965         (VOL_FILES): List of files for above.
6966
6967 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6968
6969         * cpphash.c (special_symbol): Remove spurious argument to
6970         cpp_lookup.
6971
6972 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6973
6974         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6975         stanzas.
6976         * configure: Rebuilt.
6977
6978 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6979         
6980         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6981
6982 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6983
6984         * pa.c, pa.h: Remove trigraph sequences within comments.
6985
6986 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6987
6988         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6989
6990 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6991
6992         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6993
6994 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6995         
6996         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6997
6998 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6999
7000         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
7001         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
7002         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7003         (ASM_FILE_END): Use c4x_file_end.
7004         * config/c4x/c4x.c (c4x_global_label): New function.
7005         (c4x_external_ref, c4x_file_end): Likewise.
7006
7007         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
7008         (c4x_external_ref, c4x_end_file): Likewise.
7009
7010 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
7011
7012         * cppexp.c: Don't include cpphash.h.
7013         (parse_charconst, cpp_lex): Use cpp_defined.
7014         (cpp_lex): Use get_directive_token throughout.  Remove
7015         unnecessary cases from switch.  Move assertion-handling code
7016         down to OTHER case.
7017         (cpp_parse_expr): If we see '+' or '-', check the context to
7018         determine if they are unary or binary operators.  Streamline
7019         the jumps a bit.  Do not call skip_rest_of_line.
7020
7021         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
7022         static.  Export get_directive_token.  Update commentary.
7023         (cpp_defined): New function.
7024         (do_define): Remove reference to T_PCSTRING.  Call
7025         free_definition to release memory for old definition, when
7026         redefining a macro.
7027         (eval_if_expression): Set only_seen_white to 0 before calling
7028         cpp_parse_expr.  Call skip_rest_of_line after it returns.
7029         (cpp_read_check_assertion): Don't preserve a pointer into the
7030         token buffer across a call to cpp_get_token.
7031
7032         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7033         * cppfiles.c (redundant_include_p): Use cpp_defined.
7034         * cpphash.c (free_definition): New function.
7035         (delete_macro): Use it.  Update commentary.
7036         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
7037         free_definition.
7038         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7039         from enum node_type.  Prototype cpp_defined and get_directive_token.
7040         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7041
7042         * fix-header.c (check_macro_names): Use cpp_defined.
7043         (read_scan_file): Set inhibit_warnings and inhibit_errors in
7044         the options structure.
7045
7046 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7047
7048         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7049
7050 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
7051
7052         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7053         rather than die->die_tag.
7054
7055 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7056
7057         * combine.c (make_extraction, force_to_mode): Avoid warning on
7058         mixed-signedness conditionals.
7059         (make_field_assignment, nonzero_bits): Likewise.
7060         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7061         (store_split_bit_field, extract_split_bit_field): Likewise.
7062         (extract_fixed_bit_field, store_bit_field, 
7063         * expr.c: Change alignment to be unsigned everywhere.
7064         (move_by_pieces, store_constructor_field, store_constructor): 
7065         Alignment parm is unsigned.
7066         (emit_block_move, emit_group_load, emit_group_store): Likewise.
7067         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7068         (do_compare_rtx_and_jump): Likewise.
7069         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7070         Compare align with GET_MODE_ALIGNMENT.
7071         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7072         (get_inner_reference): Likewise.
7073         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7074         (expand_assignment): Local vars for alignment now unsigned.
7075         (store_constructor, store_field, expand_expr, do_jump): Likewise.
7076         (do_compare_and_jump): Likewise.
7077         (store_field): Call new function expr_align.
7078         * expr.h (emit_block_move, emit_group_load, emit_group_store):
7079         Alignment arg now unsigned.
7080         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7081         (do_compare_rtx_and_jump, store_bit_field): Likewise.
7082         (extract_bit_field): Likewise.
7083         * fold-const.c (add_double): Add cast to eliminate signedness warning.
7084         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7085         (get_best_mode): Alignment arg is unsigned.
7086         * rtl.h (move_by_pieces): Likewise.
7087         * store-layout.c (maximum_field_alignment, set_alignment):
7088         Now unsigned.
7089         (layout_decl): Alignment arg is now unsigned.
7090         Remove unneeded casts.
7091         (layout_record, layout_union, layout_type): Remove unneeded casts.
7092         Local alignment variables now unsigned.
7093         (get_best_mode): Alignment arg now unsigned.
7094         * tree.c (expr_align): New function.
7095         * tree.h (expr_align): Likewise.
7096         (maximum_field_alignment, set_alignment): Now unsigned.
7097         (get_inner_reference): Alignment argument is now pointer to unsigned.
7098         * varasm.c (assemble_variable): Add cast to eliminate warning.
7099
7100 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
7101
7102         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7103         then store directly into op0.
7104
7105         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7106         the CALL_INSN, and emit the note immediately after it.
7107
7108 2000-02-10  Nick Clifton  <nickc@cygnus.com>
7109
7110         * config/arm/thumb.md (epilogue): Include a (return) in the
7111         generated insn, and emit it using emit_jump_insn not
7112         emit_insn. 
7113
7114 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
7115
7116         * function.c (assign_temp): Change zero-sized arrays to size 1.
7117         * integrate.c (expand_inline_function): Do not update
7118         stack_alignment_needed
7119         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7120         add some sanity checking, remove optimization for function with
7121         zero frame size.
7122
7123 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7124
7125         * flow.c (mark_regs_live_at_end): Delete unused variables.
7126
7127         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7128
7129         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7130         in macro FRAME_GROWS_DOWNWARD.
7131
7132         * stmt.c (expand_end_bindings): Delete unused variable.
7133
7134         * unroll.c (iteration_info): Mark parameter `loop' with
7135         ATTRIBUTE_UNUSED.
7136
7137 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7138
7139         * fixinc/server.c (load_data): Return NULL if the marker line is
7140         not found.
7141         (run_shell): If load_data returns NULL, retry the command once, in
7142         a new shell.
7143
7144         * configure: Rebuilt.
7145
7146 2000-02-09  Bruce Korb  <bkorb@gnu.org>
7147
7148         * gcc/fixincludes:  ** DELETED **
7149         * gcc/fixcpp:  ** DELETED **
7150         * gcc/fixinc-nt.sed:  ** DELETED **
7151         * gcc/just-fixinc:  ** DELETED **
7152         * gcc/Makefile.in:  Removed out-dated commentary
7153         * gcc/configure.in: Removed fast-fixincludes disablement.
7154         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
7155
7156 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7157         * function.c (thread_prologue_and_epilogue_insns): Uncomment
7158         last change.
7159
7160 2000-02-09  Richard Henderson  <rth@cygnus.com>
7161
7162         * jump.c (delete_insn): Don't delete user labels at -O0.
7163
7164 2000-02-09  Robert Lipe  <robertl@sco.com>
7165
7166         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
7167         Don't link with HOST_LIBS. 
7168
7169 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7170
7171         * configure.in: Correct --help text for --with-dwarf2.
7172         Put tm-dwarf2.h after other tm files, if it's requested.
7173         * configure: Regenerate.
7174         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7175         defining it.
7176
7177 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7178
7179         * cpplib.h: Provide HASHNODE typedef and forward decl of
7180         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
7181         DEFINITION, struct hashnode, struct macrodef, struct
7182         definition, scan_decls prototype, default defn of
7183         INCLUDE_LEN_FUDGE moved elsewhere.
7184
7185         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7186         definition, and struct hashnode moved here. Remove the unused
7187         'predefined' field from struct definition.  Replace the 'args'
7188         union with its sole member.  All users updated (cpphash.c).
7189         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
7190         multiple include guard.
7191
7192         * cpphash.c (hashf): Make static; use better algorithm; drop
7193         HASHSIZE parameter; return an unsigned int.
7194         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
7195         used. Calculate HASHSIZE modulus here.
7196         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7197         here.
7198         (create_definition): Drop PREDEFINITION parameter.
7199         * cpplib.c (do_define): Don't calculate a hash value here.
7200         Don't pass (keyword == NULL) to create_definition.
7201
7202         * scan.h: Prototype scan_decls here.
7203         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7204         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7205         callers of cpp_lookup and cpp_install updated.
7206         
7207         * cpphash.c (macarg): Hoist all the flag diddling out of the
7208         function...
7209         (macroexpand): ... and out of the loop that calls macarg.
7210         Skip over the initial paren before macro arguments with
7211         cpp_get_non_space_token; point may be some distance before
7212         that paren.  Abort if it's not there.
7213
7214         * cpplib.c (parse_clear_mark): Delete function.
7215         (parse_set_mark, parse_goto_mark): Make static.
7216         (ACTIVE_MARK_P): New macro.
7217         (skip_block_comment, skip_line_comment): Do not bump the line
7218         if ACTIVE_MARK_P is true.
7219         (cpp_pop_buffer): The buffer to be popped may not have an
7220         active mark.
7221         (cpp_get_token): When looking for the initial paren before
7222         macro arguments, only set a mark in a file buffer, Always
7223         return to that mark before proceeding to call macroexpand or
7224         return a NAME token.
7225
7226         * cpplib.h: Remove prototypes of parse_set_mark,
7227         parse_clear_mark, parse_goto_mark.
7228         (struct cpp_options): Rename 'put_out_comments' to
7229         'discard_comments' and invert its sense.
7230         * cppinit.c, cpphash.c, cpplib.c: All users of
7231         put_out_comments changed to use discard_comments, with
7232         opposite sense.
7233
7234 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7235
7236         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7237         the edge from a block that both jumps and falls through to the
7238         fallthru block.
7239
7240 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7241
7242         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7243         constant source address is legitimate.
7244
7245 2000-02-09  Philip Blundell  <pb@futuretv.com>
7246
7247         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7248         correctly.
7249
7250         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7251         generating PIC.
7252         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7253
7254 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7255
7256         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7257         ends with a newline and a NUL.  Don't be so clever manipulating
7258         strings.
7259
7260 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7261
7262         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7263         not to BIGGEST_ALIGNMENT.
7264
7265 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7266
7267         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7268         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7269         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7270         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7271         * frame.c (execute_cfa_insn): Handle 
7272         DW_CFA_GNU_negative_offset_extended.
7273
7274 2000-02-08  Richard Henderson  <rth@cygnus.com>
7275
7276         * flow.c (tidy_fallthru_edges): Split out from ...
7277         (delete_unreachable_blocks): ... here.
7278         (find_basic_blocks): Use it.
7279
7280 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7281
7282         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7283
7284 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7285
7286         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7287         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7288         (fix-header.o): Don't depend on cpphash.h.
7289
7290         * scan.c (hashstr): New function. 
7291         * scan.h: Prototype it.
7292         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7293         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7294         hashstr.  Report hash table statistics.  Add private     
7295         definition of xrealloc.
7296
7297 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7298
7299         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7300
7301 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7302
7303         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7304         jumps with returns unless they are jumps to the fallthru block.
7305
7306 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7307
7308         * i386.md (addqi3_cc): Fix contraints.
7309
7310 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7311
7312         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7313
7314 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7315
7316         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7317         carriage return after a macro name.
7318
7319 2000-02-07  Fred Fish  <fnf@be.com>
7320
7321         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7322         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7323
7324 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7325
7326         * cppfiles.c (deps_output): Count spacers in deps_column.
7327
7328 2000-02-07  Neil Booth  <NeilB@earthling.net>
7329
7330         * cppinit.c (initialize_dependency_output): If there is no
7331         suffix, don't try to look for known suffixes.  Use strrchr.
7332         (cpp_start_read): Remove duplicate initialization.
7333
7334 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7335
7336         * calls.c (compute_argument_block_size): New argument
7337         preferred_stack_boundary.
7338         (expand_call): update cfun->preferred_stack_boundary, update call of
7339         compute_argument_block_size
7340         (emit_library_call): Increate cfun->preferred_stack_boundary
7341         to PREFERRED_STACK_BOUNDARY
7342         (emit_library_call_value): Likewise.
7343         * explow.c (allocate_dynamic_stack_spave): Likewise.
7344         * function.c (prepare_function_start): Set
7345         cfun->preferred_stack_boundary
7346         * function.h (struct function): Add preferred_stack_boundary field.
7347         * integrate.c (expand_inline_function): Update
7348         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7349         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7350         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7351
7352 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7353
7354         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7355         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7356         cpp_pedwarn, cpp_pedwarn_with_line,
7357         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7358         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7359         v_cpp_error_with_line, v_cpp_warning_with_line,
7360         cpp_message_from_errno, cpp_perror_with_name): Delete.
7361
7362         * cpperror.c (cpp_print_containing_files): Take starting
7363         buffer as argument.
7364         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7365         (v_cpp_message): Now called directly by all entry points.
7366         Remove -1 case.
7367         (cpp_pfatal_with_name, cpp_message): Delete.
7368         (cpp_notice_from_errno, cpp_ice): New functions.
7369         (cpp_notice): Is now for reporting error conditions, just
7370         without an associated file.
7371         (cpp_error, cpp_error_with_line): Don't do anything if
7372         opts->inhibit_errors is on.
7373         (cpp_pedwarn_with_file_and_line): Take column argument also.
7374
7375         * cpplib.h: Update prototypes of exported functions.
7376         (struct cpp_options): Add inhibit_errors.
7377
7378         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7379         non-error messages.  Include intl.h.
7380
7381         * cppinit.c, cppmain.c: Likewise.  Also, use
7382         cpp_notice_from_errno instead of cpp_perror_with_name or
7383         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7384
7385         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7386         report internal errors.
7387
7388         * cpplib.c (do_define): Switch bcopy to memcpy.
7389         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7390
7391         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7392         bail out early if we hit a line comment.
7393
7394 2000-02-06  Richard Henderson  <rth@cygnus.com>
7395
7396         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7397         * basic-block.h: Declare them.
7398         * emit-rtl.h (active_insn_p): New.
7399         (next_active_insn, prev_active_insn): Use it.
7400         * rtl.h: Declare it.
7401         * function.c (emit_return_into_block): New.
7402         (thread_prologue_and_epilogue_insns): Insert return insns instead
7403         of epilogues when possible.
7404         * jump.c (jump_optimize_1): Remove code to insert a return insn
7405         on the fallthru to the exit block.
7406
7407         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7408         and for non-empty stack frames.
7409         * i386.md (return): Expand to return-pop as needed.
7410
7411 2000-02-06  Richard Henderson  <rth@cygnus.com>
7412
7413         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7414         constant to op1 for testing.
7415
7416 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7417
7418         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7419         (fixuns_truncqfqi2): Use it.
7420
7421 2000-02-06  Richard Henderson  <rth@cygnus.com>
7422
7423         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7424         as a TYPE_LEA insn.
7425
7426         * i386.md (widening and peepholes): Mask the constant instead of
7427         using gen_lowpart.
7428
7429 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7430
7431         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7432         input pointer before possibly branching off to the backslash
7433         code.
7434         * cpphash.c (macroexpand): Correctly delete \r escapes when
7435         stringifying parameters.
7436         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7437         if we can; bail out early if we hit a line comment.
7438         (handle_directive): Treat '# 123' in an .S file just like
7439         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7440         Return 1 for '# not_a_directive'.
7441         (get_directive_token): Pop macro buffers here, so that
7442         cpp_get_token can't sneakily move past a newline.
7443         Add sanity checks. 
7444         (cpp_get_token): goto randomchar if handle_directive returns 0.
7445
7446         * cppalloc.c: Update copyright.
7447         * cpplib.c: Merge all the static function prototypes into one
7448         block.
7449         * cpplib.h: Remove #if 0 block.
7450
7451         * cpperror.c: Remove #ifdef EMACS block.
7452         * cppmain.c: Likewise.
7453         * cpphash.c: Remove #if 0 blocks.
7454         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7455         * cpplib.c: Remove #if 0 blocks and code referencing
7456         pcp_inside_if or for_lint.  Remove duplicate error message.
7457         Fix error messages for #else after #else or #elif.  Reformat.
7458         Remove archaic TODO list.
7459         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7460
7461 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7462
7463         * i386/osf1elf.h: Add missing backslash to multiline string.
7464
7465 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7466
7467         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7468
7469 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7470
7471         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7472
7473         * c-common.c: Include expr.h.
7474
7475         * c-pragma.c (mark_align_stack): Add prototype.
7476
7477         * caller-save.c (add_stored_regs): Likewise.
7478
7479         * combine.c (record_promoted_value): Likewise.
7480
7481         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7482         Likewise.
7483
7484         * cppinit.c (new_pending_define): Likewise.
7485
7486         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7487
7488         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7489         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7490         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7491         class_scope_p): Likewise.
7492
7493         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7494         dwarf2out_add_library_unit_info): Likewise.
7495
7496         * ggc.h (ggc_page_print_statistics): Likewise.
7497
7498         * haifa-sched.c (propagate_deps): Likewise.
7499
7500         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7501
7502         * rtl.h (set_stack_check_libfunc): Likewise.
7503
7504         * toplev.h (set_fatal_function): Likewise.
7505
7506         * toplev.c (set_fatal_function): Delete prototype.
7507         
7508         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7509         
7510 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7511
7512         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7513         (FUNC_END): Likewise.
7514
7515 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7516
7517         * caller-save.c: Include tm_p.h.
7518
7519 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7520
7521         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7522
7523 2000-02-04  Neil Booth  <NeilB@earthling.net>
7524
7525         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7526         it to strcmp.
7527
7528 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7529
7530         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7531         * genflags.c: Use the max_operand_1 logic from genemit.c to
7532         calculate how many arguments gen_insn prototypes have.  Remove
7533         NO_MD_PROTOTYPES ifdefs from the generated file.
7534         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7535         file.  Cast gen_insn initializers to insn_gen_fn.
7536         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7537         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7538
7539 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7540
7541         * fixinc/Makefile.in (HDR): Add machname.h.
7542         (clean): Likewise.
7543
7544 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7545
7546         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7547         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7548         (c4x_cpu_version): Ditto.
7549         * config/c4x/c4x-protos.h: ... here.
7550
7551 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7552
7553         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7554         gen_abstract_function on our context if we're a nested function.
7555
7556 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7557
7558         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7559         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7560
7561 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7562
7563         * fixinc/genfixes(machname.h):
7564         Move the functionality from gen-machine.h into this file.
7565         UNdef MN_NAME_PAT if there are no names to change.
7566         Also, be a little kinder when AutoGen is not present.
7567
7568         * fixinc/Makefile.in(machname.h):
7569         Change the generation rule to use genfixes.
7570
7571         * fixinc/fixfixes.c(machine_name):
7572         machine_name_fix's functionality now dependent upon whether
7573         MN_NAME_PAT is defined.
7574
7575         * fixinc/fixtests.c(machine_name):
7576         ditto.
7577
7578         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7579         of MN_NAME_PAT.
7580
7581         * fixinc/fixlib.h(mn_get_regexps):
7582         ditto
7583
7584         * fixinc/gen-machine.h: DELETED
7585
7586 2000-02-04  Jan Hubicka  <jh@suse.cz>
7587             Richard Henderson  <rth@cygnus.com>
7588
7589         * i386.c (SAVE_REGS_FIRST): Remove.
7590         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7591         (ix86_compute_frame_size): Likewise.
7592         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7593         (ix86_emit_restore_regs): Remove.
7594         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7595         when a frame pointer is in use.
7596         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7597         instead of pop to restore a register when profitable; emit leave
7598         when profitable.
7599         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7600         as a TYPE_LEA insn.
7601         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7602         * i386.md (prologue_allocate_stack): Remove.
7603         (epilogue_deallocate_stack): Remove.
7604         (pro_epilogue_adjust_stack): New.
7605
7606 2000-02-04  Richard Henderson  <rth@cygnus.com>
7607
7608         * function.c (diddle_return_value): Rework to use a callback function.
7609         Use current_function_return_rtx if it's been set up.
7610         (do_clobber_return_reg, clobber_return_register): New.
7611         (do_use_return_reg, use_return_register): New.
7612         (expand_function_end): Use them.
7613         * stmt.c (expand_null_return): Likewise.
7614         * function.h: Declare them.
7615         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7616         (mark_reg): Change arguments as appropriate for callback.
7617         * integrate.c (expand_inline_function): Revert 19 Jan change.
7618
7619 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7620
7621         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7622         (Misc): Say the scheduler, not the Haifa scheduler.
7623
7624 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7625
7626         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7627         when in_mem is set.  Update all callers.
7628
7629 2000-02-04  Richard Henderson  <rth@cygnus.com>
7630
7631         * i386/openbsd.h (INT_ASM_OP): Define.
7632
7633 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7634
7635         * tm.texi: Fix various typos.
7636
7637 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7638
7639         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7640         (MD_STARTFILE_PREFIX_1): New macro.
7641
7642 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7643
7644         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7645         destination when needed.
7646         (strmovsi, strsetsi): New expander.
7647         (strmovsi_1, strsetsi_1): New pattern.
7648         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7649         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7650         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7651         * invoke.texi (align-stringops, inline-all-stringops): Document.
7652
7653 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7654
7655         * i386/netbsd.h (INT_ASM_OP): Define.
7656
7657 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7658
7659         * cpplib.h (cpp_reader): Add new flag, no_directives.
7660         * cpphash.c (macarg): Set it.
7661         * cpplib.c (handle_directive): If no_directives is on and we
7662         find a directive, issue an error and discard the line.
7663
7664 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7665
7666         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7667         FP constants.  Add ! TARGET_FPU check for FP constants.
7668
7669 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7670         
7671         * flow.c (find_basic_blocks): Don't kill label_value_list
7672         here.
7673         (cleanup_cfg): Kill it here.
7674
7675 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7676
7677         * expr.c (store_field): Ensure ALIGN is no stricter than the
7678         alignment of EXP.
7679
7680 2000-02-02  Richard Henderson  <rth@cygnus.com>
7681
7682         * jump.c (delete_insn): Partially revert 19 Jan change; 
7683         don't convert unused code labels to notes at -O0.
7684
7685 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7686
7687         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7688         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7689
7690 2000-02-01  Richard Henderson  <rth@cygnus.com>
7691
7692         * i386.c (general_no_elim_operand): New.
7693         (nonmemory_no_elim_operand): New.
7694         (ix86_expand_move): Copy eliminable operands before a push.
7695         * i386-protos.h: Declare new functions.
7696         * i386.h (CAN_ELIMINATE): Simplify.
7697         (PREDICATE_CODES): Update.
7698         * i386.md (push insns): Don't allow eliminable register operands.
7699
7700 2000-02-01  Richard Henderson  <rth@cygnus.com>
7701
7702         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7703         replace BLKmode with DECL_RTL's mode.
7704
7705 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7706
7707         * frame.c (find_fde): Convert for loop to do-while so compiler
7708         sees it's always executed at least once.
7709         * libgcc2.c (BBINBUFSIZE): Kill.
7710         (__bb_init_prg): Use fgets.
7711         (__bb_exit_trace_func): Don't paste strings.
7712         * unroll.c (unroll_loop): Initialize unroll_type, not
7713         unroll_number, and tweak logic to match.
7714
7715         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7716         all failure paths.
7717         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7718         (ix86_sched_reorder): Break guts out to
7719         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7720         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7721         any possible use.
7722
7723         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7724         use string concatenation.  Don't save and restore esi.
7725
7726         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7727         (machname.h): Remove script to separate file.  Use two-step
7728         sequence so target is not created if script fails.
7729         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7730         identifiers are defined.
7731         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7732         an empty string, machine_name doesn't need to do anything at
7733         all.
7734         (is_cxx_header): Add more cases to regexp.
7735         * fixinc/fixlib.h: Update prototype.
7736         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7737         mn_get_regexps.
7738         * fixinc/fixincl.c: Define NO_BOGOSITY.
7739
7740         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7741         (hp_sysfile): Add missing comma.
7742         (math_exception): Put the wrapper ifdefs at the beginning and
7743         the end of the file.
7744         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7745
7746 2000-02-01  Richard Henderson  <rth@cygnus.com>
7747
7748         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7749         Use CONST0_RTX.  Update all callers.
7750         * sparc.h, sparc-protos.h: Update accordingly.
7751         * sparc.md (fp mov insns): Use fp_zero_operand directly
7752         where applicable.
7753
7754 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7755
7756         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7757         example.
7758
7759 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7760
7761         * Makefile.in (specs.ready): New target.
7762         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7763
7764 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7765
7766         * fixinc.irix: Use unique filenames for writing into /tmp,
7767         * fixinc.ptx: Likewise.
7768         * fixinc.sco: Likewise.
7769         * fixinc.svr4: Likewise.
7770         * fixinc.winnt: Likewise.
7771
7772 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7773
7774         * tsystem.h: New file.
7775
7776         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7777         s-crtS): Depend on tsystem.h.
7778
7779         * crtstuff.c: Include tsystem.h.
7780         * frame.c: Likewise.
7781         * libgcc2.c: Likewise.
7782
7783 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7784
7785         * builtins.c (expand_builtin_memset): Expand for variable sized
7786         lengths too.
7787
7788 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7789
7790         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7791         on ABI.
7792
7793 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7794
7795         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7796
7797         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7798
7799 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7800
7801         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7802         case 3->2 combining (combining with splitting) in which 2 is CC0
7803         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7804         checked at the begining of the function with the aid of calling 
7805         function 'can_combine_p'. 
7806
7807 2000-01-31  Dave Brolley  <brolley@redhat.com>
7808
7809         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7810
7811 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7812
7813         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7814         new label.
7815
7816 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7817
7818         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7819         
7820         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7821         PROTO -> PARAMS.
7822
7823 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7824
7825         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7826         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7827         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7828         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7829         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7830         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7831         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7832         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7833         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7834         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7835         
7836         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7837         Add %(cpp_cpu) to CPP_SPEC.
7838
7839         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7840         Add %(cc1_cpu) to CC1_SPEC.
7841
7842 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7843
7844         * c-decl.c (c_decode_option): Accept optional numeric argument to
7845         -Wformat and set warn_format.
7846         * c-common.c: Don't emit warning about non-constant printf format
7847         string unless warn_format > 1.
7848
7849 2000-01-30  Richard Henderson  <rth@cygnus.com>
7850
7851         * alpha.md (return_internal): Allow after reload only.
7852
7853 2000-01-30  Richard Henderson  <rth@cygnus.com>
7854
7855         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7856         local frame size is zero.
7857
7858 2000-01-30  Richard Henderson  <rth@cygnus.com>
7859
7860         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7861         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7862         * alpha.md (return): Turn into an expander.
7863         (return_internal): Don't use $26.
7864         (epilogue): Emit the return insn.
7865
7866 2000-01-30  Richard Henderson  <rth@cygnus.com>
7867
7868         * alpha.md (negtf2, abstf2): Fix word order thinko.
7869         (extendsftf2): New.
7870         (trunctfsf2): Avoid intermediate rounding errors.
7871
7872 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7873
7874         * cppfiles.c (find_position): Drop 'colp' argument, return the
7875         new line base.
7876         (read_and_prescan): Adjust to match.  Don't ever manipulate
7877         line or line_base except via find_position.
7878
7879 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7880
7881         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7882         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7883         Regenerate.
7884
7885 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7886
7887         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7888         just print "<command line>".  If 'filename' is null or an
7889         empty string, print "<stdin>" for the filename.
7890         * cpplib.c (do_define): Don't print the 'location of the
7891         previous definition' message if we're still parsing the
7892         command line.
7893         (cpp_pedwarn_with_file_and_line): Always call
7894         cpp_file_line_for_message.
7895
7896 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7897
7898         * flow.c (mark_regs_live_at_end): Fix typo.
7899
7900 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7901
7902         * c-common.c: Adjust variable names, comments, help strings to c99.
7903         * c-lex.c: Likewise.
7904         * c-parse.y: Likewise.
7905         * c-tree.h: Likewise.
7906         * cccp.c: Likewise.
7907         * cpplib.h: Likewise.
7908         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7909         * cppinit.c: Likewise.
7910
7911 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7912
7913         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7914         * c4x.c: Define the optab rtx values.
7915         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7916         (c4x_emit_libcall): Use new optab rtx values.
7917         (c4x_emit_libcall3): Likewise.
7918         (c4x_emit_libcall_mulhi): Likewise.
7919         * c4x-protos.h: Add prototypes for optab rtx values and change
7920         prototypes for above c4x_emit_libcall functions.
7921
7922 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7923
7924         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7925         syntax is used.
7926         (c4x_function_prologue): Use regnames intead of float_reg_names when
7927         TI syntax is used.
7928         (c4x_function_epilogue): Likewise.
7929         (c4x_print_operand): Likewise.
7930         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7931         * c4x.md (set_high): Disable for TARGET_TI.
7932
7933 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7934
7935         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7936         of framepointer + constant to ADDR_REGS class.
7937         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7938         * c4x.c (std_or_reg_operand): New function.
7939         * c4x-protos.h (std_or_reg_operand): Prototype it.
7940
7941 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7942
7943         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7944                 object names as libgcc2.c.
7945         * libgcc.S: Use newly defined names.
7946
7947 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7948         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7949         function.
7950         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7951         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7952         (FLOW_LOOP_LAST_BLOCK): Likewise.
7953
7954 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7955
7956         * basic-block.h (struct loop): New fields 'first' and 'last'.
7957         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7958         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7959         and loop->last to check for NOTE_INSN_LOOP_END.
7960
7961 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7962
7963         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7964         of the loop descriptor rather than HEADER and LATCH. Also added
7965         missing break statements as well making some coding style modifications
7966         as suggested by Michael Hayes.
7967
7968 2000-01-28  Richard Henderson  <rth@cygnus.com>
7969
7970         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7971         Break out that code ...
7972         (cleanup_cfg): ... here.
7973         (commit_one_edge_insertion): Detect a return instruction being
7974         emitted to an edge.  Emit a barrier following; clear fallthru.
7975         (commit_edge_insertions): Verify CFG consistency.
7976         * function.c (expand_function_start): Kill unused variable.
7977         (expand_function_end): Likewise.
7978         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7979         to insert the epilogue.
7980
7981         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7982         (delete_null_pointer_checks): Likewise.
7983         * output.h: Likewise.
7984         * reg-stack.c (reg_to_stack): Likewise.
7985         * toplev.c (rest_of_compilation): Likewise.  Run
7986         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7987
7988 2000-01-28  Richard Henderson  <rth@cygnus.com>
7989
7990         * Makefile.in (flow.o): Revert 24 Jan change.
7991         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7992         FUNCTION_VALUE result to DECL_RESULT's mode.
7993
7994         * haifa-sched.c (schedule_insns): Don't recompute reg info
7995         after reload.
7996
7997 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7998
7999         * configure.in: Make --enable-cpplib the default.
8000         * configure: Regenerate.
8001         * gcc.dg/990119-1.c: No longer expected to fail.
8002
8003 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
8004
8005         * jump.c (jump_optimize_1): Delete an optimization that is also done
8006         by merge_blocks in flow.
8007
8008 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8009
8010         * diagnostic.c (build_message_string, output_printf,
8011         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
8012         (build_location_prefix): Fix non-literal format string.
8013
8014 2000-01-27  Richard Henderson  <rth@cygnus.com>
8015
8016         * alpha.md (trunctfsf2): New.
8017
8018 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
8019
8020         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
8021
8022 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8023
8024         * cppinit.c (cpp_handle_option): Recognize C++ comments under
8025         -std=gnu89.
8026         * cpplib.c (skip_block_comment, skip_line_comment): Split code
8027         out of...
8028         (skip_comment) ... here.  Permit C++ comments in system
8029         headers always.  Warn about C++ comments in user code under
8030         -std=gnu89 -pedantic.
8031         (copy_comment): Use skip_comment.
8032         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8033         return EOF.
8034         (consider_directive_while_skipping, do_else, do_endif): Call
8035         validate_else unconditionally.
8036         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
8037         text after the conditional in a system header.
8038         * cpplib.h (struct cpp_buffer): Add flag
8039         warned_cplusplus_comments.
8040
8041 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8042
8043         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8044         Use unshare_all_rtl_1.
8045         (unshare_all_rtl_again): New function.
8046         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8047
8048         * function.c (purge_addressof_1): Use unshare_all_rtl_again
8049         rather than resetting the 'used' flags ourself.
8050
8051         * toplev.c (rest_of_compilation): Add current_function_decl
8052         to the unshare_all_rtl call.
8053         * tree.h: Prototype unshare_all_rtl.
8054         * rtl.h: Prototype unshare_all_rtl_again here.
8055
8056 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8057
8058         * genoutput.c (output_prologue): Include ggc.h in generated
8059         files.
8060         * Makefile.in (insn-output.o): Depends on ggc.h.
8061
8062 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8063             Hans-Peter Nilsson  <hp@bitrange.com>
8064
8065         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8066         Remove redundant include of xm-ns32k.h.
8067         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8068         Remove redundant include of xm-ns32k.h.
8069         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8070         Remove redundant include of xm-ns32k.h.
8071         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8072
8073         * ns32k/ns32k.h: Update comment on multiply-add instructions.
8074         (TARGET_SWITCHES): Add documentation strings.
8075         (DWARF_FRAME_REGNUM): Override default definition.
8076         (REG_CLASS_CONTENTS): Add comments.
8077         (SUBSET_P): Format to reduce line length.
8078         (SMALL_REGISTER_CLASSES): Make a run time option.
8079         (GO_IF_NONINDEXED_ADDRESS): Reformat.
8080         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8081         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
8082         (regclass_map): fix typo in comment.
8083         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8084         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8085         (trace, reg_or_mem_operand): Delete, unused function.
8086         (calc_address_cost): Small offsets are cheaper than large ones.
8087         (expand_block_move): Generate more efficient code when bytes is a
8088         known at compile time.
8089         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8090         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8091         instead of reg_or_mem_operand.
8092
8093         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8094         not general_operand.  Similarly use "=rm" or stricter, not "=g".
8095         For input operands, use stricter constraints than "g" if not
8096         general_operand.  Similarly use stricter predicate than
8097         "general_operand" when stricter constraints than "g" are present,
8098         except for matching constraints.
8099         (movstrsi): Use "memory_operand" for operands 0 and 1.
8100         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8101         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8102         not reg_or_mem_operand.
8103         (udivmoddisi4): Ditto.
8104         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8105         Use nonimmediate_operand for operand 3, not register_operand.
8106         (udivmoddiqi4_internal): Use register_operand for operand 1, not
8107         reg_or_mem_operand.
8108
8109 2000-01-27  Fred Fish  <fnf@be.com>
8110
8111         * gthr-posix.h: Fix typo; compatibily -> compatibility.
8112         * gthr-single.h: Likewise.
8113         * gthr-solaris.h: Likewise.
8114         * gthr-vxworks.h: Likewise.
8115         * gthr-win32.h: Likewise.
8116         * gthr.h: Likewise.
8117
8118 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8119
8120         * cppinit.c: Add " (cpplib)" to end of string printed by
8121         -v / --version.
8122
8123 2000-01-27  Richard Henderson  <rth@cygnus.com>
8124
8125         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8126         testing for a signed comparison.
8127         (alpha_emit_floatuns): New.
8128         * alpha-protos.h: Declare it.
8129         * alpha.md (floatunsdisf2, floatunsdidf2): New.
8130         (extendsfdf2): Tidy.
8131
8132 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
8133
8134         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8135         no -g option specifying debugging format, default to -gstabs+.
8136
8137 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
8138
8139         * calls.c (special_function_p): New argument fork_or_exec.
8140         (expand_call): When profile_arc_flag is set and the function
8141         is in the fork_or_exec group, call __bb_fork_func first.
8142         * libgcc2.c, _bb module (__bb_fork_func): New function.
8143         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
8144         output file.
8145         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
8146         * tree.h (special_function_p): Update prototype.
8147
8148 2000-01-26  Richard Henderson  <rth@cygnus.com>
8149
8150         * alpha.c (alpha_split_tfmode_pair): New.
8151         * alpha-protos.h: Declare it.
8152         * alpha.md (abstf2, negtf2): New.
8153         (movtf insn): Add input G constraint.
8154         (movtf splitter): Use alpha_split_tfmode_pair.
8155
8156 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8157
8158         * i386/cygwin.h: PROTO -> PARAMS.
8159
8160 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
8161
8162         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
8163         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
8164         using _Qp_cmp/_Q_cmp and testing the return value.
8165         (print_operand): Call reverse_condition_maybe_unordered if
8166         we are handling CCFPmode or CCFPEmode.
8167         Handle ORDERED, UN* and LTGT comparisons.
8168         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
8169         if not TARGET_HARD_QUAD.
8170         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
8171         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
8172         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
8173         Adjust gen_b* calls so that they reflect return comparison of
8174         sparc_emit_float_lib_cmp.
8175
8176 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8177
8178         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8179         incoming operands array is large enough for one more operand.
8180         (alpha_emit_xfloating_arith): Likewise.
8181
8182 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8183
8184         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8185         file with one line and no trailing newline.
8186         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8187         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8188         checking if the match is on the line.
8189         * fixinc/gnu-regex.c: Provide regerror not __regerror.
8190
8191 2000-01-25  Richard Henderson  <rth@cygnus.com>
8192
8193         * sparc.c (output_cbranch): Fix accidental squashing of the
8194         fp branch pre-delay nop.
8195
8196 2000-01-25  Richard Henderson  <rth@cygnus.com>
8197
8198         * tree.def (UNNE_EXPR): Remove.
8199         * c-typeck.c (build_binary_op): Don't handle it.
8200         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8201
8202         * rtl.def (UNNE): Remove.
8203         (LTGT): Add.
8204         * jump.c (reverse_condition): Update accordingly.
8205         (swap_condition): Likewise.
8206         (comparison_dominates_p): Handle unordered comparisons.
8207         (reverse_condition_maybe_unordered): New.
8208         * rtl.h (reverse_condition_maybe_unordered): Declare.
8209
8210         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8211         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8212         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
8213         * sparc.md (bltgt): New.
8214
8215 2000-01-25  Nick Clifton  <nickc@redhat.com>
8216
8217         * emit-rtl.c (emit_insn): Only check machine class insns for
8218         improper emission of a RETURN.
8219
8220 2000-01-25  Richard Henderson  <rth@cygnus.com>
8221
8222         * Makefile.in (flow.o): Depend on $(EXPR_H).
8223         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8224         duplicate the structure of diddle_return_value for keeping regs live.
8225
8226 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8227
8228         * loop.c (current_loop_info): Delete.
8229         (consec_sets_invariant_p): Add loop argument, update callers.
8230         (get_condition_for_loop): Likewise.
8231         (count_nonfixed_reads, update_giv_derive): Likewise.
8232         (simplify_giv_expr, general_induction_var): Likewise.
8233         (consec_sets_giv, recombine_givs): Likewise.
8234         (move_movables): Delete loop_start and loop_end arguments,
8235         add loop argument, and update callers.
8236         (find_mem_givs, check_final_value): Likewise.
8237         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8238         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8239         update callers.
8240         (basic_induction_var): Add loop argument, delete loop_level argument,
8241         and update callers.
8242         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8243         add loop argument, and update callers.
8244         (find_splittable_regs, find_splittable_givs): Likewise.
8245         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8246         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8247         (biv_total_increment): Delete loop_start and loop_end arguments;
8248         update callers.
8249         (precondition_loop_p): Delete loop_start and loop_info arguments;
8250         update callers.
8251         * loop.h (get_condition_for_loop): Add loop argument.
8252         (biv_total_increment): Delete loop_start and loop_end arguments.
8253         (precondition_loop_p): Delete loop_start and loop_info arguments;
8254         add loop argument.
8255         (final_biv_value): Delete loop_start and loop_end arguments;
8256         add loop argument.
8257         (final_giv_value, back_branch_in_range_p): Likewise.
8258
8259 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8260
8261         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8262
8263 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8264
8265         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8266         point to the new "generated_files" doc.
8267
8268 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8269
8270         * config/fp-bit.c (_unord_f2): Fix typo.
8271
8272 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8273
8274         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8275         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8276         functions obsoleted by GC, such as push_obstacks_nochange,
8277         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8278         and code which existed only to decide whether or not to call
8279         them.  Remove now-unused NESTED argument from start_function;
8280         all callers changed.  Do not change behavior based on ggc_p.
8281         The use of the ixp_obstack in c-iterate.c and the util_obstack
8282         in objc/objc-act.c remain; these are not obsoleted by garbage
8283         collection.
8284         * c-tree.h: Update prototype for start_function.
8285
8286         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8287
8288 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8289
8290         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8291         mips16.
8292
8293 2000-01-25  Richard Henderson  <rth@cygnus.com>
8294
8295         * sparc-protos.h (select_cc_mode): Declare.
8296         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8297         (output_cbranch): Always reverse via code change.  Handle
8298         unordered compares.  Factor tests and string updates.
8299         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8300         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8301         * sparc.md (bunordered, bordered): New.
8302         (bungt, bunlt, buneq, bunge, bunle): New.
8303
8304 2000-01-25  Richard Henderson  <rth@cygnus.com>
8305
8306         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8307         * ggc-common.c (ggc_add_rtx_varray_root): New.
8308         (ggc_mark_rtx_varray): New.
8309         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8310         functions down below ggc_mark_foo.
8311         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8312
8313 2000-01-25  Richard Henderson  <rth@cygnus.com>
8314
8315         * alpha.c (secondary_reload_class): Don't allocate a secondary
8316         for integral mode memories into FLOAT_REGS.  Rearrange the more
8317         complicated memory expression inward.
8318
8319 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8320
8321         * inclhack.def: Fixes to play nicer with FreeBSD, and
8322         corrections to comments.
8323         (cxx_unready): Add select expression.
8324         (irix_sockaddr): Add bypass expression.
8325         (machine_ansi_h_va_list): New fix.
8326         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8327         Split out addition of "#include <stdarg.h>" to...
8328         (stdio_stdarg_h): ... here.
8329         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8330         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8331         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8332         size_t.
8333         (ultrix_ifdef): Tighten up select expression.
8334
8335         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8336         re_ct and max_mach to avoid use of shell.  Make printed names
8337         match names in inclhack.def.  Use static copyright date.
8338         Don't count c_test and test expressions as requiring regex_t
8339         slots.  Add some commentary.
8340         * inclhack.tpl: Do not include the 'This script contains N
8341         fixup scripts' line if PROGRAM is defined.  Use static
8342         copyright date.
8343
8344 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8345
8346         * dwarf2out.c: include "varray.h", not dyn-string.h.
8347         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8348         (addr_const_to_string, addr_to_string): Lose.
8349         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8350         (struct dw_val_struct): val_addr is now an rtx.
8351         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8352         (used_rtx_varray): New varray.
8353         (dwarf2out_init): Initialize it.
8354         (save_rtx): New fn.
8355         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8356         addr_to_string.
8357         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8358         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8359         * Makefile.in (dwarf2out.o): Update dependencies.
8360
8361 2000-01-24  Richard Henderson  <rth@cygnus.com>
8362
8363         * i386.c (i386_dwarf_output_addr_const): New.
8364         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8365
8366         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8367         if defined.
8368         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8369         * i386.c (i386_simplify_dwarf_addr): New.
8370         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8371
8372 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8373
8374         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8375         TYPE_STUB_DECL is NULL.
8376
8377 2000-01-24  Richard Henderson  <rth@cygnus.com>
8378
8379         * builtins.c (expand_tree_builtin): Move ...
8380         * c-common.c (expand_tree_builtin): ... here.
8381
8382 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8383
8384         * loop.h (LOOP_INFO): New accessor macro.
8385         * basic-block.h (struct loop): Rename field `info' to `aux'.
8386         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8387         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8388         * unroll.c (loop_iterations, unroll_loop): Likewise.
8389
8390 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8391
8392         * config/i386/t-cygwin: Accomodate new winsup directory layout
8393         when searching for include files.
8394
8395 2000-01-24  Richard Henderson  <rth@cygnus.com>
8396
8397         * rtl.def: Add unordered fp comparisions.
8398         * tree.def: Likewise.
8399         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8400
8401         * builtins.c (expand_tree_builtin): New function.
8402         * c-typeck.c (build_function_call): Use it.
8403         (build_binary_op): Support unordered compares.
8404         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8405
8406         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8407         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8408         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8409         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8410         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8411         return UNKNOWN.
8412         (swap_condition): Handle unordered compares.
8413         (thread_jumps): Check can_reverse before reversing.
8414         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8415         reversed for FP.
8416
8417         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8418         setcc is present before acking for cmp_optab.  Update all callers.
8419         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8420         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8421         * expr.c (expand_expr): Likewise.  Support unordered compares.
8422         (do_jump, do_store_flag): Likewise.
8423         * expr.h (enum libfunc_index): Add unordered compares.
8424
8425         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8426         (DPBIT_FUNCS): Add _unord_df.
8427         * config/fp-bit.c (_unord_f2): New.
8428         * fp-test.c (main): Try unordered compare builtins.
8429
8430         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8431         * alpha.c (alpha_comparison_operator): Check mode properly.
8432         (alpha_swapped_comparison_operator): Likewise.
8433         (signed_comparison_operator): Likewise.
8434         (alpha_fp_comparison_operator): New.
8435         (alpha_emit_conditional_branch): Handle unordered compares.
8436         * alpha.h (PREDICATE_CODES): Update.
8437         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8438         (bunordered, bordered): New.
8439
8440 2000-01-24  Richard Henderson  <rth@cygnus.com>
8441
8442         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8443         * alpha.md (movtf): New expander, insn, and splitter.
8444
8445 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8446
8447         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8448         dead registers.
8449
8450 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8451
8452         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8453         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8454          REG_ALLOC_ORDER): Add frame pointer
8455         (FRAME_POINTER_REGNUM): Set to 20
8456         (HARD_FRAME_POINTER_REGNUM): New macro.
8457         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8458         to HARD_FRAME_POINTER.
8459         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8460         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8461         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8462         (HI_REGISTER_NAMES): Add "frame".
8463         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8464         (debug_reg): Handle FRAME_POINTER_REGNUM.
8465         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8466         GENERAL_REGS and INDEX_REGS.
8467         * i386.c (SAVED_REGS_FIRST): new macro.
8468         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8469         (ix86_decompose_address, memory_address_length): Likewise.
8470         (regclass_map): Add frame pointer.
8471         (call_insn_operand): Handle frame_pointer_rtx.
8472         (reg_no_sp_operand): Likewise.
8473         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8474         (print_operand, legitimize_pic_address): Fix formating.
8475         (ix86_compute_frame_size): Make static, update prototype, new
8476         parameters padding1, padding2, use ix86_nsaved_regs, use
8477         stack_alignment_needed.
8478         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8479         to HARD_FRAME_POINTER_REGNUM conversions.
8480         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8481         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8482         (print_reg): Abort on FRAME_POINTER_REGNUM
8483
8484 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8485
8486         * i386.h (PREDICATE_CODES): Add aligned_operand.
8487         * i386.c (aligned_operand): New function.
8488         (ix86_aligned_p): Kill.
8489         * i386.md (movhi_1): Emit mov for aligned operands.
8490         (promoting peep2s): Use aligned_operand.
8491
8492 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8493
8494         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8495         expression to allow underscores in macro names.
8496         (fix_char_macro_defines): Increment scanning pointer.
8497
8498 2000-01-23  Richard Henderson  <rth@cygnus.com>
8499
8500         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8501         * alpha/osf5.h: New file.
8502         * configure.in (alpha-*-osf5): Add it to tm_file.
8503
8504         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8505
8506         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8507         (alpha_emit_xfloating_cvt, function_arg): Declare.
8508         * alpha.c (alpha_emit_conditional_branch): Call
8509         alpha_emit_xfloating_compare for TFmode compares.
8510         (alpha_lookup_xfloating_lib_func): New.
8511         (alpha_compute_xfloating_mode_arg): New.
8512         (alpha_emit_xfloating_libcall): New.
8513         (alpha_emit_xfloating_arith): New.
8514         (alpha_emit_xfloating_compare): New.
8515         (alpha_emit_xfloating_cvt): New.
8516         (print_operand): Add default abort case.
8517         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8518         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8519         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8520         (RETURN_IN_MEMORY): True for TF/TCmode.
8521         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8522         (FUNCTION_ARG): Move to function_arg.
8523         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8524         (ASM_OUTPUT_LONG_DOUBLE): New.
8525         (ASM_OUTPUT_DOUBLE): Always output bits.
8526         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8527         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8528         (extenddftf2, trunctfdf2): New.
8529
8530 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8531
8532         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8533         * config/sparc/sol2.h: ... here.
8534
8535 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8536
8537         * basic-block.h (struct loops): New field `levels'.
8538         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8539         (flow_loop_level_compute): Initialise level to 1.
8540         (flow_loops_find): Set loops->levels.
8541         (flow_loops_dump): Print loops->levels.
8542
8543 2000-01-23  Richard Henderson  <rth@cygnus.com>
8544
8545         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8546         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8547
8548 2000-01-23  Richard Henderson  <rth@cygnus.com>
8549
8550         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8551         * i386.h (DBX_REGISTER_NUMBER): Use them.
8552         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8553         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8554         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8555         * i386/sequent.h: Kill incorrect comment.
8556
8557 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8558
8559         * ggc-page.c (struct page_entry): Make `context_depth' an
8560         `unsigned short'.
8561         (struct globals): Likewise.
8562
8563 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8564
8565         * loop.c (check_dbra_loop): When checking a loop for
8566         reversability, check the source of any stores to ensure
8567         they don't depend on an initial value.
8568
8569 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8570
8571         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8572
8573 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8574
8575         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8576         'pz_scan' into scope of entire function.  Only affects
8577         compiles with -DDEBUG.
8578
8579 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8580
8581         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8582         section naming to that prior to 2000-01-07 patch.
8583         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8584         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8585         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8586         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8587         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8588
8589 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8590
8591         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8592         constant.
8593
8594 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8595
8596         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8597         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8598
8599 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8600
8601         * cpphash.c (change_newlines): Delete function.
8602         (struct argdata): Delete 'newlines' and 'use_count' fields.
8603         (macroexpand): Remove code referencing those fields.
8604
8605 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8606
8607         * loop.c (loops_info): New variable.
8608         (loop_optimize): Allocate loops->array and free it on exit.
8609         Allocate memory for loops_info and assign to each loop,
8610         replacing alloca.
8611         (find_and_verify_loops): Do not allocate loops->array.
8612
8613 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8614
8615         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8616
8617 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8618
8619         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8620         pseudos if expanded after first flow.
8621         (movdi_pic_label_ref): Likewise.
8622
8623 2000-01-20  Richard Henderson  <rth@cygnus.com>
8624
8625         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8626
8627 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8628
8629         * Makefile.in (fixinc.sh): Depend on specs.
8630         * fixinc/Makefile.in: Add rule to create machname.h.
8631         (fixlib.o): Depend on machname.h.
8632         * fixinc/fixtests.c (machine_name): New test.
8633         * fixinc/fixfixes.c (machine_name): New fix.
8634         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8635         the machine_name test and fix.
8636         * fixinc/fixlib.h: Prototype it.
8637         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8638         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8639
8640         * gcc.c (do_spec_1) [case P]: Take care not to create
8641         identifiers with three leading or trailing underscores.
8642
8643         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8644         (fixincl): Don't specify libraries twice on link line.
8645         (gnu-regex.o): Remove special rule.
8646         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8647         defined by config.h.  Do not define _REGEX_RE_COMP.
8648         (regcomp): Allocate and initialize a fastmap.
8649         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8650
8651 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8652
8653         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8654
8655 2000-01-19  Richard Henderson  <rth@cygnus.com>
8656
8657         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8658         arguments with BB.  Update all callers.  Tidy line wrapping.
8659
8660 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8661
8662         * emit-rtl.c (try_split): Return last_insn if we split the
8663         last_insn.
8664
8665 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8666
8667         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8668         (ix86_initial_elimination_offset): Declare.
8669         * i386.c (ix86_nsaved_regs): Break out from ...
8670         (ix86_can_use_return_insn_p): ... here.
8671         (ix86_emit_save_regs): Break out from ...
8672         (ix86_expand_prologue): ... here.
8673         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8674         out from ...
8675         (ix86_expand_epilogue): ... here.
8676         (ix86_compute_frame_size): Make static, add prototype.
8677         (ix86_initial_elimination_offset): Break out from ...
8678         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8679
8680 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8681
8682         * recog.h (OUT_FCN): Delete.
8683
8684         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8685
8686 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8687
8688         * cppalloc.c: PROTO -> PARAMS.
8689         * cpperror.c: Likewise.
8690         * cppfiles.c: Likewise.
8691         * cpplib.c: Likewise.
8692         * cpplib.h: Likewise.
8693
8694         * config/arm/arm-protos.h: PROTO -> PARAMS.
8695         * config/arm/arm.c: Likewise.
8696         * config/c4x/c4x.c: Likewise.
8697         * config/fr30/fr30-protos.h: Likewise.
8698         * config/nextstep.c: Likewise.
8699         * config/pa/pa.c: Likewise.
8700         * config/pj/pj.c: Likewise.
8701         * config/rs6000/rs6000.c: Likewise.
8702         * config/v850/v850-protos.h: Likewise.
8703         * config/v850/v850.c: Likewise.
8704
8705 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8706
8707         * i370-protos.h: New file.
8708
8709         * i370.c: Include tm_p.h.  Fix compile time warnings.
8710
8711         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8712         warnings.
8713
8714         * i370.md: Likewise.
8715
8716 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8717
8718         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8719         (target_isinf, target_isnan, eisnan): Mark parameter with
8720         ATTRIBUTE_UNUSED.
8721         (eiisinf): Wrap in INFINITY.
8722         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8723         (ibmtoe): Remove unused variable `rndsav'.
8724
8725 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8726
8727         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8728         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8729
8730 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8731
8732         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8733         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8734         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8735
8736         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8737         Recognize Emacs mode markers also.
8738         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8739         C++ comments in C++ headers.  Call is_cxx_header only if
8740         necessary.
8741
8742         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8743         bypass for ncurses.
8744         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8745         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8746         ... these, which use the new C fixes.
8747         (math_exception): Escape literal '+' in bypass expression.
8748
8749         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8750         Regenerate.
8751
8752 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8753
8754         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8755         inside the MEM.
8756
8757 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8758
8759         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8760         prior to calling scan_loop.
8761
8762 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8763
8764         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8765         (split_branches, calc_live_regs): Likewise.
8766
8767 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8768
8769         * sh.md (fpu_single, fp_mode): New attributes.
8770
8771 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8772
8773         * loop.c (current_loop_info): Renamed from loop_info_data
8774         and changed to a pointer.
8775         (loop_optimize): Allocate loop_info structure for each loop
8776         and initialise to zero.
8777         (scan_loop): Set current_loop_info.
8778
8779         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8780         on iteration_var.
8781
8782 2000-01-19  Richard Henderson  <rth@cygnus.com>
8783
8784         * stupid.c: Die die die.
8785         * Makefile.in (OBJS): Remove stupid.o.
8786         (stupid.o): Likewise.
8787
8788         * except.c (emit_eh_context): Don't emit USEs for stupid.
8789         * explow.c (probe_stack_range): Likewise.
8790         * flags.h (obey_regdecls): Remove.
8791         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8792         when not optimizing.
8793         (life_analysis): Limit data collection when not optimizing.
8794         (mark_regs_live_at_end): Always mark the return value registers.
8795         (mark_used_regs): Remove dummy RETURN case.
8796         (print_rtl_with_bb): Don't consult obey_regdecls.
8797         * function.c (use_variable, use_variable_after): Remove.
8798         (assign_parms): Consult optimize not obey_regdecls.
8799         (expand_function_start): Don't emit USEs for stupid.
8800         (expand_function_end): Likewise.
8801         * global.c (build_insn_chain): Export.
8802         * integrate.c (expand_inline_function): Kill return-value USE
8803         handling code.
8804         * jump.c (jump_optimize_1): Do simple jump optimizations and
8805         dead code elimination.
8806         (calculate_can_reach_end): Remove check_deleted argument.
8807         (delete_insn): Patch out insns even when not optimizing.
8808         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8809         * rtl.h (use_variable, use_variable_after): Remove declarations.
8810         (build_insn_chain): Declare.
8811         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8812         (expand_end_bindings): Likewise.
8813         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8814         * toplev.c (obey_regdecls): Remove.
8815         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8816         flow1, local-alloc, and reload.
8817         (main): Don't set obey_regdecls.
8818
8819         * config/nextstep.c (handle_pragma): Likewise.
8820
8821         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8822
8823         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8824
8825 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8826
8827         * alpha-protos.h: PROTO -> PARAMS.
8828         * alpha.c: Likewise.
8829         * elf.h: Likewise.
8830         * h8300.c: Likewise.
8831         * i386-protos.h: Likewise.
8832         * i386.c: Likewise.
8833         * m32r-protos.h: Likewise.
8834         * m32r.c: Likewise.
8835         * mips.c: Likewise.
8836         * mips.md: Likewise.
8837         * gmon-sol2.c: Likewise.
8838         * sparc.c: Likewise.
8839
8840 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8841
8842         * ns32k-protos.h: New file.
8843
8844         * ns32k.c: Fix compile time warnings.
8845
8846         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8847         warnings.
8848
8849         * ns32k.md: Likewise.
8850
8851 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8852
8853         * vax-protos.h: New file.
8854
8855         * vax.c: Fix compile time warnings.
8856
8857         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8858         warnings.
8859
8860         * vax.md: Likewise.
8861
8862         * vaxv.md: Likewise.
8863
8864 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8865
8866         * romp-protos.h: New file.
8867
8868         * romp.c: Fix compile time warnings.
8869
8870         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8871         warnings.
8872
8873         * romp.md: Likewise.
8874
8875 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8876
8877         * we32k-protos.h: New file.
8878
8879         * we32k.c: Fix compile time warnings.
8880
8881         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8882         warnings.
8883
8884 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8885
8886         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8887
8888         * except.c (eh_regs): Likewise.
8889
8890         * final.c (output_operand): Likewise.
8891
8892         * fold-const.c (target_isinf, target_isnan): Likewise.
8893
8894 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8895
8896         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8897         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8898
8899         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8900         when optimize_size.
8901         (clrstrsi): Rewrite.
8902         (strsethi, strsetqi): New expanders.
8903         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8904         (cmpstrsi): Emit compare insn before cmpstrsi_1
8905         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8906         (strlensi_1): Likewise.
8907         (cmpstrsi_1): Likewise; do not output compare.
8908         (strlen expander): Do not unroll when optimizing for size.
8909         (*subsi3_carry): Rename to subsi3_carry
8910         (addqi3_cc): New pattern.
8911         * i386.h (processor_costs): Add move_ratio field.
8912         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8913         * i386.c (*_cost): Set move_ratio.
8914         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8915         (x86_expand_strlensi_1): Rewrite the main loop.
8916
8917 2000-01-17  Richard Henderson  <rth@cygnus.com>
8918
8919         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8920         * cse.c (find_comparison_args, fold_rtx): Likewise.
8921         * integrate.c (subst_constants): Likewise.
8922         * loop.c (get_condition): Likewise.
8923
8924         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8925
8926         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8927
8928 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8929
8930         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8931         (RESTORE_WARN_FLAGS): Unpack it.
8932         Change semantic type of extension to ttype.
8933         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8934         * c-parse.y, c-parse.c, objc/objc-parse.y,
8935         objc/objc-parse.c: Regenerate.
8936
8937 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8938
8939         * fixinc/fixlib.c: Add copyright notice.
8940         (compile_re): New function.
8941         * fixinc/fixlib.h: Prototype compile_re.
8942
8943         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8944         Use compile_re to compile regular expressions.
8945
8946         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8947         where the pattern matched.
8948
8949         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8950         use 'replace'.
8951         (ultrix_ansi_compat): Likewise.
8952         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8953         add egrep test.
8954         (interactv_add2, interactv_add3): Delete.
8955         (x11_sprintf): Don't use filename glob.
8956         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8957         Regenerate.
8958
8959 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8960
8961         * print-rtl.c: PROTO -> PARAMS.
8962         * real.c: Likewise.
8963         * reg-stack.c: Likewise.
8964         * resource.c: Likewise.
8965         * sdbout.h: Likewise.
8966         * simplify-rtx.c: Likewise.
8967         * stor-layout.c: Likewise.
8968         * stupid.c: Likewise.
8969         * xcoffout.c: Likewise.
8970         * xcoffout.h: Likewise.
8971
8972 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8973
8974         * toplev.c: PROTO -> PARAMS.
8975         * toplev.h: Likewise.
8976         * tree.c: Likewise.
8977         * tree.h: Likewise.
8978         * unroll.c: Likewise.
8979         * varasm.c: Likewise.
8980         * varray.c: Likewise.
8981         * varray.h: Likewise.
8982
8983 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8984
8985         * reload.c: PROTO -> PARAMS.
8986         * reload.h: Likewise.
8987         * reload1.c: Likewise.
8988         * reorg.c: Likewise.
8989         * resource.h: Likewise.
8990         * rtl.c: Likewise.
8991         * rtl.h: Likewise.
8992         * rtlanal.c: Likewise.
8993         * sbitmap.h: Likewise.
8994         * sdbout.c: Likewise.
8995         * stack.h: Likewise.
8996         * stmt.c: Likewise.
8997         * system.h: Likewise.
8998
8999 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9000
9001         * machmode.h: PROTO -> PARAMS.
9002         * mbchar.h: Likewise.
9003         * mips-tdump.c: Likewise.
9004         * mips-tfile.c: Likewise.
9005         * optabs.c: Likewise.
9006         * output.h: Likewise.
9007         * prefix.c: Likewise.
9008         * profile.c: Likewise.
9009         * protoize.c: Likewise.
9010         * real.h: Likewise.
9011         * recog.c: Likewise.
9012         * recog.h: Likewise.
9013         * regclass.c: Likewise.
9014         * regmove.c: Likewise.
9015         * regs.h: Likewise.
9016
9017 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9018
9019         * ggc-common.c: PROTO -> PARAMS.
9020         * ggc-page.c: Likewise.
9021         * ggc-simple.c: Likewise.
9022         * ggc.h: Likewise.
9023         * global.c: Likewise.
9024         * graph.c: Likewise.
9025         * gthr-win32.h: Likewise.
9026         * haifa-sched.c: Likewise.
9027         * halfpic.h: Likewise.
9028         * integrate.c: Likewise.
9029         * integrate.h: Likewise.
9030         * jump.c: Likewise.
9031         * lcm.c: Likewise.
9032         * local-alloc.c: Likewise.
9033         * loop.c: Likewise.
9034         * loop.h: Likewise.
9035
9036 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9037
9038         * genattr.c: PROTO -> PARAMS.
9039         * genattrtab.c: Likewise.
9040         * gencheck.c: Likewise.
9041         * gencodes.c: Likewise.
9042         * genconfig.c: Likewise.
9043         * genemit.c: Likewise.
9044         * genextract.c: Likewise.
9045         * genflags.c: Likewise.
9046         * gengenrtl.c: Likewise.
9047         * genopinit.c: Likewise.
9048         * genoutput.c: Likewise.
9049         * genpeep.c: Likewise.
9050         * genrecog.c: Likewise.
9051
9052 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
9053
9054         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9055
9056 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9057
9058         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9059         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9060         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9061         * configure, config.in: Rebuilt.
9062
9063 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
9064
9065         * config/i386/i386.md: Add peephole to merge successive stack
9066         adjusts.
9067
9068 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
9069
9070         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9071         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
9072         when walking backwards to find all the parameter loads when
9073         the basic block ends in a call.
9074
9075 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9076
9077         * loop.c (this_loop_info): Delete.
9078         (uid_loop): Add in place of uid_loop_num.  All uses updated.
9079         (loop_number_exit_count): Delete and replace with entry in loop
9080         structure.  All uses updated.
9081         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9082         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9083         (loop_outer_loop): Likewise.
9084         (loop_invalid, loop_number_exit_labels): Likewise.
9085         (loop_used_count_register): Delete and replace with entry in
9086         loop_info structure.
9087         (find_and_verify_loops): Add loops argument.
9088         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9089         loop_end, etc. arguments with loop structure pointer.  All callers
9090         changed.
9091         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9092         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9093         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9094         (insert_bct): Likewise.
9095         (basic_induction_var): New argument level.
9096         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9097         vtop, and cont.  Add used_count_register.
9098         (uid_loop): Delete declaration.
9099         (loop_number_exit_count): Likewise.
9100         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9101         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9102         (loop_outer_loop, loop_used_count_register): Likewise.
9103         (loop_invalid, loop_number_exit_labels): Likewise.
9104         (unroll_loop): Replace loop_start and loop_end arguments
9105         with loop structure pointer.
9106         (loop_precondition_p, loop_iterations): Likewise.
9107         Include basic-block.h.
9108         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9109         with loop structure pointer.
9110         (loop_precondition_p, loop_iterations): Likewise.
9111         * basic-block.h (struct loop): New entries vtop, cont,
9112         cont_dominator, start, end, top, scan_start, exit_labels,
9113         exit_count.
9114         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9115
9116 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9117
9118         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9119
9120 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
9121
9122         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9123
9124 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9125
9126         * pdp11-protos.h: New file.
9127
9128         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
9129         time warnings.
9130
9131         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
9132         warnings.
9133
9134         * pdp11.md: Likewise.
9135
9136         * 2bsd.h: Likewise.
9137
9138 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9139
9140         * mn10300-protos.h: New file.
9141
9142         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9143         time warnings.
9144
9145         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
9146         warnings.
9147
9148         * mn10300.md: Likewise.
9149
9150 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9151
9152         * mn10200-protos.h: New file.
9153
9154         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
9155         time warnings.
9156
9157         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
9158         warnings.
9159
9160         * mn10200.md: Likewise.
9161
9162 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9163
9164         * h8300-protos.h: New file.
9165
9166         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9167         time warnings.
9168
9169         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
9170         warnings.
9171
9172         * h8300.md: Likewise.
9173
9174 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9175
9176         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9177         (asm_emit_uninitialised): Likewise.
9178
9179 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
9180
9181         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9182         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9183
9184 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9185
9186         * config/mips/mips.c (override_options): Don't turn on extra
9187         alignment for mips16.
9188
9189 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9190
9191         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9192         eabi, and make sure queued POSTINCREMENT rtl is emitted at
9193         the right point.
9194
9195 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9196
9197         * builtins.c (PAD_VARARGS_DOWN): Define.
9198         (std_expand_builtin_va_arg): Use the above macro.
9199         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9200         * tm.texi (Register Arguments): Document the above macro.
9201
9202 2000-01-14  Nick Clifton  <nickc@cygnus.com>
9203
9204         * emit-rtl.c (emit_insn): If checking is enabled, make sure
9205         that this function has not been used to emit a jump
9206         instruction.
9207
9208         * jump.c (return_jump_1): Cope with being passed a null rtx.
9209
9210 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9211
9212         * eh-common.h: PROTO -> PARAMS.
9213         * emit-rtl.c: Likewise.
9214         * errors.c: Likewise.
9215         * errors.h: Likewise.
9216         * except.c: Likewise.
9217         * except.h: Likewise.
9218         * explow.c: Likewise.
9219         * expmed.c: Likewise.
9220         * expr.c: Likewise.
9221         * expr.h: Likewise.
9222         * final.c: Likewise.
9223         * fix-header.c: Likewise.
9224         * flow.c: Likewise.
9225         * fold-const.c: Likewise.
9226         * function.c: Likewise.
9227         * function.h: Likewise.
9228         * gcc.c: Likewise.
9229         * gcov-io.h: Likewise.
9230         * gcov.c: Likewise.
9231         * gcse.c: Likewise.
9232
9233 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9234
9235         * sh-protos.h: New file.
9236
9237         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9238         Add static prototypes.  Fix compile time warnings.
9239
9240         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9241         * sh.md: Likewise.
9242         * elf.h: Likewise.
9243
9244 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9245
9246         * arc-protos.h: New file.
9247
9248         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9249         time warnings.
9250
9251         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9252         warnings.
9253
9254         * arc.md: Likewise.
9255
9256 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9257
9258         * dsp16xx-protos.h: New file.
9259
9260         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9261         time warnings.
9262
9263         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9264         warnings.
9265
9266         * dsp16xx.md: Likewise.
9267
9268 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9269
9270         * convex-protos.h: New file.
9271
9272         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9273         time warnings.
9274
9275         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9276         warnings.
9277
9278 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9279
9280         * elxsi-protos.h: New file.
9281
9282         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9283         time warnings.
9284
9285         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9286         warnings.
9287
9288         * elxsi.md: Likewise.
9289
9290 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9291
9292         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9293         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9294         match the comment for MIPS16.
9295
9296 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9297
9298         * flow.c (split_edge): Do not call set_block_for_insn if we
9299         do not have a basic_block_for_insn structure.
9300
9301         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9302         and destination functions are 32bit aligned within the trampoline.
9303         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9304         (TRAMPOLINE_ALIGNMENT): Define.
9305
9306         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9307         (set (pc) (label_ref)), verify the change creates a valid insn.
9308
9309         * fr30.c (call_operand): Tighten and rework to match rules for
9310         call RTL expressions.
9311         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9312         * fr30.md (call patterns): Improve constraints.
9313
9314 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9315
9316         * fr30.c (fr30_expand_epilogue): Revert last change.
9317         Use emit_jump_insn for the return insn.
9318
9319 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9320                           Stan Cox  <scox@cygnus.com>
9321
9322         * predict.c: New file. Preliminary infrastructure work for static
9323         branch prediction and basic block reordering.
9324         * basic-block.h: Add prototype for estimate_probability.
9325         * Makefile.in: Add rules for predict.o.
9326
9327 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9328
9329         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9330         * fixinc/*: Likewise.
9331
9332 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9333
9334         * cccp.c: PROTO -> PARAMS.
9335         * cexp.y: Likewise.
9336         * collect2.c: Likewise.
9337         * combine.c: Likewise.
9338         * convert.h: Likewise.
9339         * cse.c: Likewise.
9340         * dbxout.c: Likewise.
9341         * dbxout.h: Likewise.
9342         * diagnostic.c: Likewise.
9343         * doprint.c: Likewise.
9344         * dwarf2out.c: Likewise.
9345         * dwarf2out.h: Likewise.
9346         * dwarfout.c: Likewise.
9347         * dwarfout.h: Likewise.
9348         * dyn-string.h: Likewise.
9349
9350 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9351
9352         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9353         macro conditionals guarding use.
9354
9355         * dwarf2out.c: Include "tm_p.h".
9356
9357         * function.c (locate_and_pad_parm): Mark parameter with
9358         ATTRIBUTE_UNUSED.
9359         (expand_function_end): Likewise for variable `context'.
9360
9361         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9362
9363 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9364
9365         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9366         register to prevent compile time warnings.
9367
9368 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9369
9370         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9371         to avoid -Wtraditional warning.
9372
9373 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9374
9375         * 1750a-protos.h: New file.
9376
9377         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9378         time warnings.
9379
9380         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9381         warnings.
9382
9383         * 1750a.md: Likewise.
9384
9385 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9386
9387         * a29k-protos.h: New file.
9388
9389         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9390         time warnings.
9391
9392         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9393         warnings.
9394
9395 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9396
9397         * clipper-protos.h: New file.
9398
9399         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9400         time warnings.
9401
9402         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9403         warnings.
9404
9405 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9406
9407         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9408
9409 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9410
9411         * configure.in (--enable-new-gxx-abi): New option.
9412         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9413         * Makefile.in (GXX_ABI_FLAG): New variable.
9414         * configure: Regenerate.
9415
9416 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9417
9418         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9419         * tm.texi (FORCE_STRUCT_BLK): Document.
9420         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9421
9422 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9423
9424         * config/ns32k/ns32k.md: Revert Jan 9 change.
9425
9426         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9427         to a mode-test, if the predicate is address_operand.
9428
9429 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9430
9431         * combine.c (if_then_else_cond): Be careful about what kinds
9432         of RTL expressions are passed to operand_subword.
9433
9434         * flow.c (split_edge): If we have to insert a new jump, make
9435         sure to associate it with a basic block.
9436
9437         * flow.c (commit_one_edge_insertion): A block with one successor
9438         can end in a JUMP_INSN that is not a simplejump.
9439
9440 2000-01-12  Robert Lipe  <robertl@sco.com>
9441
9442         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9443         (BUILD_VA_LIST_TYPE): Define.
9444         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9445         with crtstuff.c.
9446
9447 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9448
9449         * cccp.c (do_pragma): Add cast to (char *).
9450
9451 2000-01-12  Richard Henderson  <rth@cygnus.com>
9452             Fred Fish  <fnf@be.com>
9453             Jason Merrill  <jason@cygnus.com>
9454
9455         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9456         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9457         * i386/beos-elf.h, i386/beos-pe.h: New files.
9458
9459         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9460         * cross-make (SYSTEM_HEADER_DIR): Define using
9461         CROSS_SYSTEM_HEADER_DIR.
9462
9463         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9464         (process_command): Use it.
9465         (main): Likewise.  Kill trailing = from env vars.
9466         (build_search_list): Put it back.
9467         * collect2.c (main): Use LIBRARY_PATH_ENV.
9468
9469         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9470         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9471
9472         * tm.texi (Frame Layout): Document SMALL_STACK.
9473         * c-common.c (c_common_nodes_and_builtins): Check it.
9474
9475         * system.h: Undef alloca after including glibc's <stdlib.h>,
9476         if USE_C_ALLOCA is defined.
9477
9478         * gcc.c (set_input): New fn.
9479         (main): After all input files are compiled, reset the input file
9480         info to the first.
9481
9482         * aclocal.m4 (rindex, index): If already defined, don't attempt
9483         to redefine.
9484
9485         * ginclude/varargs.h: (__va_list__): Define ifndef.
9486         * ginclude/stdarg.h: Likewise.
9487
9488         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9489         instead of unsigned char.
9490
9491         * hash.h (true, false, boolean): Undef before enum.
9492
9493         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9494         proper type of "HOST_WIDE_INT *", rather than their natural type of
9495         "unsigned HOST_WIDE_INT *".
9496
9497 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9498
9499         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9500
9501         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9502
9503         * regclass.c (choose_hard_reg_mode): Likewise.
9504
9505         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9506
9507         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9508
9509 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9510
9511         * c-common.c: PROTO -> PARAMS.
9512         * c-common.h: Likewise.
9513         * c-decl.c: Likewise.
9514         * c-iterate.c: Likewise.
9515         * c-lang.c: Likewise.
9516         * c-lex.c: Likewise.
9517         * c-lex.h: Likewise.
9518         * c-parse.in: Likewise.
9519         * c-pragma.c: Likewise.
9520         * c-pragma.h: Likewise.
9521         * c-tree.h: Likewise.
9522         * c-typeck.c: Likewise.
9523         * objc/objc-act.c: Likewise.
9524         * objc/objc-act.h: Likewise.
9525
9526 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9527
9528         * m88k-protos.h: New file.
9529
9530         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9531         time warnings.
9532
9533         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9534
9535         * m88k.md: Likewise.
9536
9537         * tekXD88.h: Likewise.
9538
9539 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9540
9541         * m68k-protos.h: New file.
9542
9543         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9544         time warnings.
9545
9546         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9547
9548         * mot3300.h: Likewise.
9549
9550 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9551
9552         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9553         extract_bitlst.
9554         (extract_bitlist): Declare bitlen.
9555
9556 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9557
9558         * cccp.c: Accept and ignore -lang-fortran.
9559
9560         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9561         qualifiers don't match at any level of pointerness.
9562
9563 2000-01-12  Robert Lipe  <robertl@sco.com>
9564
9565         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9566
9567 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9568
9569         * reload1.c (reload_reg_unavailable): New static variable.
9570         (reload_reg_free_p): Test it.
9571         (reload_reg_free_for_value_p): Test it instead of
9572         reload_reg_used.
9573         (choose_reload_regs_init): Compute it.
9574
9575 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9576
9577         * reorg.c (fill_slots_from_thread): Check modified_in_p
9578         before replacing.
9579
9580 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9581
9582         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9583         these nodes even if INTERNALS is not set.
9584
9585 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9586
9587         * gcse.c (delete_null_pointer_checks_1): Cope when
9588         get_condition cannot determine the condition.
9589
9590 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9591
9592         * toplev.h (set_message_length): Declare.
9593
9594         * diagnostic.c (obstack_chunk_alloc): Define macro.
9595         (obstack_chunk_free): Likewise.
9596         (struct output_buffer): New data structure.
9597         (vmessage): Remove.
9598         (output_maximum_width): New variable.
9599         (doing_line_wrapping, set_message_length, init_output_buffer,
9600         get_output_prefix, output_space_left, emit_output_prefix,
9601         output_newline, output_append, output_puts, dump_output,
9602         vbuild_message_string, build_message_string, build_location_prefix,
9603         voutput_notice, output_printf, line_wrapper_printf,
9604         vline_wrapper_message_with_location):  New functions. Implement
9605         automatic line wrapping.
9606         (v_message_with_decl): Make it handle automatic line wrapping.
9607         (v_error_with_file_and_line): Likewise.
9608         (v_warning_with_file_and_line): Likewise.
9609         (announce_function): Likewise.
9610         (default_print_error_function): Likewise.
9611
9612 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9613
9614         * cpplib.h (struct cpp_options): Change lang_asm to char.
9615         Add lang_fortran.
9616         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9617         done in cpp_handle_option now.
9618         (initialize_builtins): Take out special case code used only by
9619         __STDC_VERSION__.
9620         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9621         if -traditional.  Recognize -lang-fortran and set
9622         lang_fortran, also turn off cplusplus_comments.
9623         (print_help): Document -lang-fortran.
9624         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9625         lang_asm. Ignore all directives other than `# 123 "file"' if
9626         CPP_PREPROCESSED.
9627         (cpp_get_token): If -traditional, don't recognize directives
9628         unless the # is in column 1.
9629         (parse_string): If lang_fortran or lang_asm, silently
9630         terminate strings ('' or "") at end of line.
9631         Remove unnecessary braces.
9632
9633 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9634             Richard Henderson  <rth@cygnus.com>
9635
9636         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9637         as used.
9638         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9639         strict_low_part when possible.
9640
9641 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9642
9643         * alias.c: PROTO -> PARAMS.
9644         * basic-block.h: Likewise.
9645         * bitmap.c: Likewise.
9646         * bitmap.h: Likewise.
9647         * builtins.c: Likewise.
9648         * c-aux-info.c: Likewise.
9649         * caller-save.c: Likewise.
9650         * calls.c: Likewise.
9651
9652 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9653
9654         * Makefile.in (toplev.o): Depend on regs.h.
9655
9656         * output.h (tdesc_section): Prototype.
9657
9658         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9659
9660         * sdbout.c: Include "tm_p.h".
9661
9662         * toplev.c: Include "regs.h".
9663
9664 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9665
9666         * unroll.c (unroll_loop): Add EH support.
9667
9668 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9669
9670         * pa-protos.h: New file.
9671
9672         * pa.c: Include recog.h and tm_p.h.
9673         (compute_zdepwi_operands, compute_movstrsi_length,
9674         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9675         find_addr_reg, import_milli): Add static prototypes.
9676         (pa_cpu_string, pa_arch_string): Constify a char*.
9677         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9678         (read_only_operand): Add argument `mode'.
9679         (singlemove_string, output_move_double, output_fp_move_double,
9680         output_block_move, output_and, output_ior, output_ascii,
9681         remove_useless_addtr_insns, milli_names, output_mul_insn,
9682         output_div_insn, output_mod_insn, output_arg_descriptor,
9683         output_cbranch, output_bb, output_bvb, output_dbra, ,
9684         output_millicode_call, output_call, hppa_encode_label,
9685         output_parallel_movb, output_parallel_addb): Constify a char*.
9686         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9687         (output_parallel_addb): Remove extra arg to `constrain_operands'
9688
9689         * pa.h:  Move all prototypes to pa-protos.h.
9690         (pa_cpu_string, pa_arch_string): Constify a char*.
9691         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9692
9693         * pa.md: Call `function_label_operand' with mode argument.
9694         Likewise for `read_only_operand'.
9695         Fix nesting of parens in call to `symbolic_operand'.
9696
9697 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9698
9699         * i860-protos.h: New file.
9700
9701         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9702         time warnings.
9703
9704         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9705
9706         * i860.md: Likewise.
9707
9708 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9709
9710         * i386.md (movstrsi expander): Rewrite.
9711         (movstrsi_1 insn): Deleted.
9712         (strmovhi, strmovqi expander): New expanders.
9713         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9714         * i386.c (x86_single_stringop): New global variable.
9715         * i386.h (x86_single_stringop): Declare.
9716         (TARGET_SINGLE_STRINGOP): New macro.
9717
9718 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9719
9720         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9721         integer vararg POSTINCREMENT before the destination of the jump
9722         for the hard fp case.
9723         (function_arg_pass_by_reference): Pass a copy of CUM to
9724         FUNCTION_ARG.
9725
9726         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9727         for CONSTANT_ADDRESS_P above while loop for subreg.
9728
9729 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9730
9731         * flow.c (propagate_block): When a prologue/epilogue insn
9732         is marked dead, unconditionally clear libcall_is_dead and
9733         insn_is_dead, and only dump rtl if warnings aren't being
9734         suppressed.
9735
9736 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9737
9738         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9739         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9740         (FIXED_REGISTERS): Set dirflag as fixed.
9741         (CALL_USED_REGISTERS): Set dirflag as used.
9742         (REG_ALLOC_ORDER): Set dirflag as last one.
9743         (DIRFLAG_REG): New macro.
9744         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9745         (HI_REGISTER_NAMES): Add dirflag.
9746         (DEBUF_PRINT_REG): Handle dirflag.
9747         * i386.md (type attribute): New cld and str types.
9748         (length_opcode attribute): Set cld and str to 1.
9749         (memory attribute): Set str to unknown - it is not clear from the
9750         patterns.
9751         (pent_np function unit): Prefixed string operations takes 12 cycles
9752         minimally; cld takes 2 cycles.
9753         (ppro_uops attribute): Str is "many" and cld is "few".
9754         (ppro_p0 unit): Handle cld here.
9755         (k6_alux unit): Handle cld and str types.
9756         (k6_load unit): It is ocupied by str opcodes.
9757         (k6_store unit): It is ocupied by str opcodes.
9758         (athlon_decode): Str is vector decoded.
9759         (athlon_ieu): Handle str and cld.
9760         (cld pattern): New.
9761         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9762         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9763         cmpstrsi_nz_1 insn): Do not output cld instruction
9764
9765 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9766
9767         * gcc.texi (G++ and GCC): Add Java and Chill.
9768         (Bug Critera): Don't list languages.
9769
9770         * gcc.texi (Incompatibilities): No longer claim most C compilers
9771         are K&R.
9772
9773         * gcc.texi (G++ and GCC): Update other front-ends list.
9774
9775 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9776
9777         * i386.c (ix86_expand_setcc): Fix typo.
9778         (ix86_expand_movcc): Similarly.
9779
9780         * Band-aid until haifa's bitset implementation is nuked.
9781         * haifa-sched.c (extract_bitlst): New parameter for size of the
9782         bitset in bits.  All callers changed.  Avoid looking at undefined
9783         bits in the bitset.
9784         (edgeset_bitsize): New variable.
9785         (schedule_region): Initialize edgeset_bitsize.
9786
9787 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9788
9789         * Makefile.in (optabs.o): Depend on real.h
9790         (resource.o): Depend on insn-attr.h
9791
9792         * builtins.c (result_vector): Wrap prototype in macro conditions
9793         governing definition and use.
9794
9795         * c-common.c: Include tm_p.h.
9796
9797         * c-lex.c: Likewise.
9798
9799         * elfos.h: Constify a char*.
9800
9801         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9802         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9803         parameter with ATTRIBUTE_UNUSED.
9804
9805         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9806         CHECK_FLOAT_VALUE.
9807
9808         * haifa-sched.c (schedule_insns): Mark parameter with
9809         ATTRIBUTE_UNUSED.
9810
9811         * optabs.c: Include real.h.
9812
9813         * real.h (ereal_atof): Add prototype arguments.
9814
9815         * resource.c: Include insn-attr.h.
9816
9817         * sdbout.c (sdbout_queue_anonymous_type,
9818         sdbout_dequeue_anonymous_types): Wrap in macro
9819         SDB_ALLOW_FORWARD_REFERENCES.
9820         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9821         ATTRIBUTE_UNUSED.
9822
9823         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9824
9825         * stupid.c: Include tm_p.h.
9826
9827         * tree.c (real_value_from_int_cst): Mark parameter with
9828         ATTRIBUTE_UNUSED.
9829
9830 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9831
9832         * i960-protos.h: New file.
9833
9834         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9835         time warnings.
9836
9837         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9838
9839 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9840
9841         * combine.c (expand_field_assignment): Do not discard SUBREGs
9842         while computing nonzero_bits.
9843
9844 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9845
9846         * config/arm/arm.c: Fix compile time warnings about signed vs
9847         unsigned constants.
9848         * config/arm/arm.h: Fix compile time warnings about signed vs
9849         unsigned constants.
9850
9851 2000-01-09  Philip Blundell  <philb@gnu.org>
9852
9853         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9854         than `ldm' with only one register.
9855         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9856         only one register.
9857
9858         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9859         clobbered.
9860
9861 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9862
9863         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9864         must have SImode.
9865
9866 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9867
9868         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9869         assignment used as truth value.
9870
9871         * function.c (assign_temp): Mark parameter `dont_promote' with
9872         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9873         PROMOTE_FOR_CALL_ONLY.
9874
9875         * genrecog.c (write_subroutine): Mark variable `operands' with
9876         ATTRIBUTE_UNUSED.
9877
9878         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9879         ATTRIBUTE_UNUSED.
9880
9881         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9882         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9883
9884         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9885         for `decl'.
9886
9887 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9888
9889         * config/c4x.h: Tidy up comments.
9890         * config/c4x.c: Likewise.
9891
9892 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9893
9894         * fold-const.c (lshift_double, rshift_double): Handle
9895         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9896
9897 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9898
9899         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9900         in prepare_function_start().
9901
9902 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9903
9904         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9905         longer allocate extra stack for function calls.
9906
9907 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9908
9909         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9910
9911 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9912
9913         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9914
9915 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9916
9917         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9918         * aix43.h: Revert Aug 2 change.
9919         (HAS_INIT_SECTION): Define, not visible yet.
9920         (LD_INIT_SWITCH): Define, not visible yet.
9921         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9922
9923         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9924
9925         * collect2.c (main): Expand ld2 size further.
9926         (export_object_lst): Cast assignment to avoid warning.
9927         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9928         (scan_prog_file, COFF): Do not collect initialization or
9929         finalization functions generated for entire shared object if
9930         init/fini support present.
9931
9932 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9933
9934         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9935         that .section directives are always prefixed by a tab.
9936
9937         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9938         definitions.
9939
9940 2000-01-07  Matt Austern  <austern@sgi.com>
9941
9942         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9943         expon.
9944
9945 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9946
9947         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9948         crtstuff.c.
9949         (crtbegin.o, s-crtS): Likewise.
9950
9951 2000-01-06  Richard Henderson  <rth@cygnus.com>
9952
9953         * alpha.md (adddi_2+1): Limit offset such that it will be
9954         loadable with a single ldah+lda pair.
9955         (adddi_2+2): Explicitly fail split if we can't make it work.
9956
9957 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9958
9959         * protoize.c: Conditionally include unistd.h.
9960         (IS_SAME_PATH_CHAR): New macro.
9961         (IS_SAME_PATH): New macro.
9962         (CPLUS_FILE_SUFFIX): New macro.
9963         (cplus_suffix): New static variable.
9964         (is_abspath): New static function.
9965         (in_system_include_dir): Handle DOS style pathnames.
9966         (file_could_be_converted): Likewise.
9967         (file_normally_convertible): Likewise.
9968         (directory_specified_p): Likewise.
9969         (file_excluded_p): Likewise.
9970         (abspath): Likewise.
9971         (shortpath): Likewise.
9972         (referenced_file_is_newer): Likewise.
9973         (save_def_or_dec): Likewise.
9974         (do_processing): Likewise.
9975         (main): Likewise.
9976         (edit_file): Likewise. Use rename instead of link.
9977         (rename_c_file): Likewise. Don't rename syscalls file.
9978         (munge_compile_params): Define null device for DOS based systems.
9979         (process_aux_info_file): Use binary mode if appliable.
9980         (edit_file): Likewise.
9981         * invoke.texi (Running Protoize): Document C++ suffixes used.
9982
9983         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9984         IS_DIR_SEPARATOR macros.
9985         * collect2.c: Likewise.
9986         * cppinit.c: Likewise.
9987         * dwarf2out.c: Likewise.
9988         * gcc.c: Likewise.
9989         * gcov.c: Likewise.
9990         * prefix.c: Likewise.
9991         * rtl.c: Likewise.
9992         * toplev.c: Likewise.
9993         * system.h: And move to here.
9994
9995         * prefix.c (update_path): Fix typo in variable name.
9996
9997 2000-01-06  Richard Henderson  <rth@cygnus.com>
9998
9999         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
10000         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
10001         (count_reg_sets_1, count_reg_references): Likewise.
10002         (flow_loops_level_compute): Start counting actual loop depth at 1.
10003         (flow_loops_find): Likewise.
10004         * local-alloc.c (update_equiv_regs): Likewise.
10005         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
10006
10007 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10008
10009         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
10010         FIRST_PSEUDO_REGISTER
10011         * dwarf2out.c: Don't include frame.h
10012         * dwarfout.c: Likewise
10013         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
10014         frame.h
10015
10016 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
10017
10018         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10019         dead registers.
10020
10021         * i386.c (movsf splitter): Fix typo in my last checkin.
10022
10023 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10024
10025         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10026         own definition of this macro.
10027         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10028         flag_data_sections or UNIQUE_SECTION_P are true.
10029
10030         * tm.texi (UNIQUE_SECTION): Document that it can be called for
10031         unitialised data decls.
10032
10033         * config/i386/winnt.c (i386_pe_unique_section): Cope with
10034         being called for uninitialised data.
10035
10036         * config/i386/interix.c (i386_pe_unique_section): Cope with
10037         being called for uninitialised data.
10038
10039         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10040         for uninitialised data.
10041
10042         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10043         for uninitialised data.
10044
10045         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10046         for uninitialised data.
10047
10048         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10049         (UNIQUE_SECTION_P): Always generate a unique section if
10050         flag_data_sections is true.
10051         (UNIQUE_SECTION): Also generate unique sections for
10052         uninitialised data.
10053         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10054         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10055         named_section().
10056
10057 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10058
10059         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10060         SI, or DI.
10061
10062 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10063
10064         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10065         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10066         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10067         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10068         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10069
10070         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10071
10072 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10073
10074         * c-decl.c (finish_enum): Simplify code to determine minimum and
10075         maximum values of the enum, and calculate the type.  Remove check
10076         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
10077         the DECL_INITIAL of each enumeration constant with a copy converted
10078         to the enumeration type.  When updating variant types, don't bother
10079         updating the type itself.
10080
10081         * c-typeck.c (build_binary_op): Simplify conditional expressions
10082         when weeding out spurious signed-unsigned warnings.  Add new
10083         spurious warning category: if the unsigned quantity is an enum
10084         and its maximum value fits in signed_type(result_type).  Update
10085         commentary.
10086         (build_conditional_expr): Warn here if one alternative is signed
10087         and the other is unsigned.
10088
10089 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10090
10091         * config/fr30/fr30.h: Remove extraneous comments.
10092
10093 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
10094
10095         * reload1.c (choose_reload_regs): When disabling a reload, also
10096         set reload_spill_index to -1.
10097
10098 2000-01-04  Joel Sherrill (joel@OARcorp.com>
10099
10100         * configure.in (m68*-*-rtemscoff*): New target, formal name for
10101         old m68*-*-rtems*.
10102         (m68*-*-rtemself*): New target.
10103         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10104         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10105         (sparc*-*-rtemself*): New target.
10106         (sparc*-*-rtems*): Now elf not a.out.
10107         * config/i386/rtems.h: Include config/rtems.h.
10108         * config/i386/rtemself.h: Include config/rtems.h.
10109         * config/i960/rtems.h: Include config/rtems.h.
10110         * config/m68k/rtems.h: Include config/rtems.h.
10111         * config/m68k/rtemself.h: Include config/rtems.h.
10112         * config/mips/rtems64.h: Include config/rtems.h.
10113         * config/pa/rtems.h: Include config/rtems.h.
10114         * config/rs6000/rtems.h: Include config/rtems.h.
10115         * config/sh/rtems.h: Include config/rtems.h.
10116         * config/sh/rtemself.h: Include config/rtems.h.
10117         * config/sparc/rtems.h: Include config/rtems.h.
10118         * config/sparc/rtemself.h: Include config/rtems.h
10119
10120 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
10121
10122         * final.c (shorten_branches): Correctly compute length of
10123         asms without operands.
10124
10125 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
10126
10127         * configure.in: Add pj target.
10128         * configure: Regenerate.
10129         * config/pj: New directory.
10130         * config/pj/lib1funcs.S: New file.
10131         * config/pj/linux.h: New file.
10132         * config/pj/pj.c: New file.
10133         * config/pj/pj.md: New file.
10134         * config/pj/pjl.h: New file.
10135         * config/pj/t-pj: New file.
10136         * config/pj/xm-pj.h: New file
10137
10138 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
10139
10140         * toplev.c (rest_of_compilation): Run shorten-branches before
10141         reg-stack for now.
10142
10143 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10144
10145         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
10146         macros so that they're consistent with their names.
10147         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10148         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10149
10150 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10151
10152         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
10153         modified inadvertently.
10154
10155 2000-01-04  Joel Sherrill <joel@OARcorp.com>
10156
10157         * configure.in (v850*-*-rtems*): New target.
10158         * configure: Regenerate.
10159         * config/v850/rtems.h: New file.
10160
10161 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
10162
10163         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
10164         (__gthread_key_create): Likewise.
10165         (__gthread_key_dtor):  Likewise.
10166         (__gthread_once): Fix logic.
10167         (__gthread_key_delete): Cast away constness.
10168
10169         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
10170         * invoke.texi: Document.
10171         * i386/mingw32.h (CPP_SPEC): Use.
10172         (LIBGCC_SPEC): Likewise.
10173         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10174
10175 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10176
10177         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10178         (HANDLE_PRAGMA_PACK): Undefine.
10179         (SLOW_UNALIGNED_ACCESS): Define.
10180
10181 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10182
10183         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10184         to default definition.
10185         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10186         (store_fixed_bit_field): Call macro with word_mode and alignment.
10187         (extract_bit_field): Call macro with relevant mode and alignment.
10188         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10189         to default definition.
10190         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10191         and alignment.
10192         (move_by_pieces_ninsns): Likewise.
10193         (clear_by_pieces): Likewise.
10194         (emit_push_insn): Likewise.
10195         (store_field): Call macro with relevant mode and alignment.
10196         (expand_expr): Likewise.
10197         (expand_expr_unaligned): Likewise.
10198
10199         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10200         (SLOW_UNALIGNED_ACCESS): Define.
10201         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10202         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10203         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10204         (toc_section): Likewise and .toc pseudo-op.
10205         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10206         64-bit mode.
10207         (TEXT_SECTION_ASM_OP): Likewise.
10208         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10209         32-bit offsets.
10210
10211         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10212         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10213         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10214         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10215         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10216
10217 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
10218
10219         * regclass.c: Revert my Jan 4 change to loop cost computation.
10220
10221 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10222
10223         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10224         compilation.
10225
10226 2000-01-04  Stan Cox  <scox@cygnus.com>
10227
10228         * haifa-sched.c (build_control_flow): Change unreachable simple
10229         loop test to check if current block has only one predecessor.
10230         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10231
10232 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10233
10234         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10235
10236         * calls.c (expand_call): Likewise for
10237         `old_stack_arg_under_construction'.
10238
10239         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10240
10241         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10242         `save_constant'.
10243
10244         * gcc.c (execute): Likewise for `ut' and `st'.
10245
10246         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10247
10248         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10249
10250         * jump.c (jump_optimize_1): Likewise for `temp2'.
10251
10252         * local-alloc.c (block_alloc): Likewise for `r1'.
10253
10254         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10255
10256         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10257         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10258
10259         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10260         and `set2'.
10261
10262         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10263         and `goal_earlyclobber'.
10264
10265         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10266
10267         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10268
10269         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10270
10271         * unroll.c (copy_loop_body): Likewise for `copy'.
10272
10273         * varasm.c (output_constructor): Likewise for `byte'.
10274
10275 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10276
10277         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10278         all FP constants for constant->reg moves.
10279         (ix86_split_to_parts): Try to convert memory address into immediate
10280         when available in the constant pool.
10281         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10282         moves.
10283         (LEGITIMATE_CONSTANT_P): Return 1.
10284         * i386.md (pushsf): New splitter to convert constant pool memory
10285         reference to immediate.
10286         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10287         reload.
10288
10289 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10290
10291         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10292         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10293         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10294         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10295         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10296
10297 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10298
10299         * ginclude/stdbool.h:  Support compilation as C++.
10300
10301 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10302
10303         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10304
10305 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10306
10307         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10308         comments.
10309
10310         * regclass.c: Fix minor whitespace problems.
10311
10312 2000-01-03  Anthony Green  <green@cygnus.com>
10313
10314         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10315         Restore the pic register if required.
10316
10317 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10318
10319         * c-common.c (format_char_info): Update comment.
10320         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10321         was recognized.  Emit warning for formats new in ISO C99 only
10322         if flag_isoc9x is not set.
10323
10324 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10325
10326         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10327
10328 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10329
10330         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10331         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10332         (make_compound_operation): Choose cheaper alternative between
10333         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10334
10335         * regclass.c (op_costs): Remove global variable.
10336         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10337         (record_operand_costs): Break out from ...
10338         (scan_one_insn): ... here.
10339         (dump_regclass): Make dumps nicer.
10340         (regclass): Dump preferrences choosed and changes done during passes.
10341
10342 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10343
10344         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10345
10346 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10347
10348         * config/sparc/sparc.c (gen_df_reg): New function.
10349         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10350         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10351         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10352         movtf_cc_reg_sp64+1): Use it.
10353
10354 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10355
10356         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10357         copied LABEL_DECLs.
10358
10359 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10360
10361         * config/i386/i386.c (ix86_expand_unary_operator): Function
10362         definition made void.
10363         (ix86_expand_binary_operator): Update outdated preceding comment.
10364         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10365         prototype.
10366
10367         * config/i386/i386.c (override_options): Fix option-name typo.
10368
10369 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10370
10371         * system.h (CEIL): Define.
10372         * builtins.c (CEIL): Remove.
10373         * expmed.c (CEIL): Likewise.
10374         * expr.c (CEIL): Likewise.
10375         * stor-layout.c (CEIL): Likewise.
10376
10377 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10378
10379         * expr.c (store_constructor_field): Fix typo introduced with last
10380         gcc2 merge.
10381
10382 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10383
10384         * tree.h (BINFO_N_BASETYPES): New macro.
10385
10386 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10387
10388         * expmed.c (emit_store_flag): Prevent losing a pending stack
10389         adjust the same way we prevent losing queued increments.
10390
10391 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10392
10393         * function.c (update_temp_slot_address): Handle case where sum of
10394         temporary address plus offset in register is a valid address.
10395
10396 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10397
10398         * genrecog.c (change_state) Corrected typo.
10399
10400 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10401
10402         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10403         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10404         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10405
10406 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10407
10408         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10409         case, expand GT comparisons correctly.  Fix a comment before this
10410         part of the code.
10411
10412 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10413
10414         * dwarfout.c: Include "frame.h"
10415         * dwarf2out.c: Likewise.
10416         * Makefile.in (dwarfout.o): Depend on frame.h
10417         (dwarf2out.o): Likewise.
10418
10419 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10420
10421         Restore i386 binary compatibility in Dwarf EH info.
10422         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10423         value of FIRST_PSEUDO_REGISTER.
10424         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10425         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10426         * dwarfout.c (output_reg_number): Ditto.
10427         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10428         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10429
10430 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10431
10432         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10433         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10434         (<hack>_RE_CT): not needed
10435         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10436         rewritten to scan the file text once only
10437         "template<..." test added
10438         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10439         (is_cxx_header): declaration added
10440         * fixinc/fixtests.c(is_cxx_header): removed
10441         (apply_fix_p_t): removed
10442         (double_slash_test): is_cxx_header is only called once now
10443         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10444         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10445         within the templates.
10446         The borken spelling of "broken" was fixed.
10447         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10448         The default level depends on FIXINC_DEBUG.
10449
10450 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10451
10452         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10453         Otherwise provide a declaration for atexit.
10454         (init_dummy): Make sure dummy call to atexit is nevertheless
10455         called with correct number of args.
10456
10457         * frame.c: Update comments referring to other files.
10458
10459         * libgcc2.c: Likewise.
10460
10461 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10462
10463         * cse.c (free_element, get_element): Remove unused prototypes.
10464
10465         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10466         `op1'.
10467
10468         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10469         `else' clauses.
10470
10471 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10472
10473         * configure.in,configure: case arm for mn10200-*-* now sets
10474         float_format=i32 so that float.h will correctly claim "double"
10475         to be 32 bits. Ran autoconf to generate configure from .in file.
10476
10477 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10478
10479         * pa.md (conditional zero): If op1 is a register, force it into
10480         the same register as op0.
10481
10482 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10483
10484         * tree.h (BINFO_BASETYPES): Improve documentation.
10485
10486 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10487
10488         * configure.in (--enable-checking): Use a more portable `for'
10489         loop syntax.
10490
10491 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10492
10493         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10494         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10495
10496         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10497         Delete files.
10498
10499         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10500         Delete descriptions.
10501
10502         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10503         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10504         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10505         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10506         xm-svr4.h: Remove all instances of sys_siglist handling.
10507
10508 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10509
10510         * config/sparc/sparc.md (cmp_zero_qi,
10511         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10512         cmp_zero_extendqidi2_andcc_set): New patterns.
10513
10514 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10515
10516         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10517         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10518         (fpgnulib.c, xfgnulib.c): Add rules.
10519         * m68k/t-mot3300-gas: Likewise.
10520
10521 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10522
10523         * configure.in: Avoid [[ by using test and changequote.  Add
10524         changequote required by 1999-12-14 change.
10525         * configure: Rebuild.
10526
10527 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10528
10529         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10530
10531 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10532
10533         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10534         * flow.c (find_use_as_address): Likewise.
10535         * function.c (fixup_var_refs_1): Likewise.
10536         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10537         * jump.c (invert_exp, redirect_exp): Likewise.
10538         * loop.c (replace_call_address): Likewise.
10539         (count_nonfixed_reads): Likewise.
10540         * rtlanal.c (modified_between_p): Likewise.
10541         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10542         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10543         * unroll.c (remap_split_bivs): Likewise.
10544
10545 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10546
10547         * diagnostic.c (v_message_with_decl): Use .* format specifier
10548         instead of building the format specifier width manually.
10549
10550         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10551         determining whether to provide a prototype.  Remove the
10552         sys_siglist clause in the conditional.
10553
10554 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10555
10556         * fold-const.c (operand_equal_p): Use memcmp to compare string
10557         constants.
10558         Suggested by D. J. Bernstein
10559
10560 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10561
10562         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10563         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10564         compiling libgcc2.
10565         * config/mips/mips.h (TARGET_64BIT): Likewise.
10566         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10567         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10568         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10569         dsps.  Give routines proper names if SI/DI modes are not used.
10570         * longlong.h: Use DWunion instead of DIunion.
10571
10572 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10573
10574         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10575         GC_CHECKING, GC_ALWAYS_COLLECT.
10576         * configure.in: Allow --enable-checking with an argument
10577         listing check modes to enable.
10578         * config.in, configure: Rebuilt.
10579         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10580         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10581         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10582         ENABLE_GC_ALWAYS_COLLECT.
10583         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10584         throughout.
10585         * tree.h, tree.c: Change ENABLE_CHECKING to
10586         ENABLE_TREE_CHECKING throughout.
10587
10588 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10589
10590         * fold-const.c (fold_truthop): Properly check for FP RHS.
10591
10592 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10593
10594         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10595         * toplev.c (note_deferral_of_defined_inline_function): New
10596         function, split out from ...
10597         (rest_of_compilation): ... here.  Use it.
10598
10599 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10600
10601         * expr.c (store_constructor): Don't call clear_storage if size is
10602         variable.
10603
10604 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10605
10606         * Makefile.in (toplev.o): Depend on loop.h.
10607
10608         * dwarfout.c: Include tm_p.h.
10609
10610         * emit-rtl.c (restore_emit_status): Mark parameter with
10611         ATTRIBUTE_UNUSED.
10612
10613         * final.c (final_scan_insn): Likewise.
10614
10615         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10616         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10617         flow_depth_first_order_compute, flow_loop_pre_header_find,
10618         flow_loop_tree_node_add, flow_loops_tree_build,
10619         flow_loop_level_compute, flow_loops_level_compute,
10620         flow_loop_outside_edge_p): Add prototypes.
10621         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10622
10623         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10624         Mark with ATTRIBUTE_NORETURN.
10625
10626         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10627
10628         * local-alloc.c (no_conflict_p): Likewise.
10629
10630         * loop.c (insert_bct): Hide definitions of variables with hidden
10631         usage.
10632         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10633
10634         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10635         with ATTRIBUTE_UNUSED.
10636         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10637         (reg_scan): Likewise.
10638
10639         * reload.c (find_reloads): Remove unused variables `changed'.
10640
10641         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10642         away const-ness.
10643         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10644         Remove unused variable `insn'.
10645
10646         * toplev.c: Include loop.h.
10647         (report_file_and_line): Remove unnecessary prototype.
10648
10649         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10650
10651         * unroll.c (biv_total_increment): Likewise.
10652
10653 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10654
10655         * reload1.c (emit_input_reload_insns): Restore old behaviour
10656         wrt. 'special' reloads.
10657
10658 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10659
10660         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10661         hash.h.  (cse.c): Don't depend on hashtab.h.
10662
10663         * cse.c: Don't include hashtab.h.
10664         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10665         of dead functions.
10666         * ggc-simple.c: Don't include hash.h.
10667
10668 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10669
10670         * dwarf2out.c (add_abstract_origin_attribute): Call
10671         gen_abstract_function on our function context.
10672
10673 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10674
10675         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10676
10677 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10678
10679         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10680         case in switch.
10681
10682 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10683
10684         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10685         constraints to "a!r".
10686
10687 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10688
10689         * Makefile.in (calls.o): Depend on function.h.
10690         (alias.o): Likewise.
10691
10692 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10693
10694         * reload1.c (emit_reload_insns): Break out code and variables into...
10695         (input_reload_insns, other_input_address_reload_insns,
10696         other_input_reload_insns, input_address_reload_insns,
10697         inpaddr_address_reload_insns, output_reload_insns,
10698         output_address_reload_insns, outaddr_address_reload_insns,
10699         operand_reload_insns, other_operand_reload_insns,
10700         other_output_reload_insns): ... new static variables, and...
10701         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10702         do_output_reload): ... new functions.
10703
10704 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10705
10706         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10707
10708 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10709
10710         * md.texi: Add c4x constraints documentation.
10711
10712 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10713
10714         * config/i386/dgux.c (struct option): Rename to
10715         lang_independent_option.
10716         (struct m_options): Add description field.
10717         (output_options): Rename option type, add sep declaration, output
10718         ix86_cpu_string and ix86_arch_string only if set.
10719         (output_file_start): Rename option type.
10720
10721 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10722
10723         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10724         stmp-int-hdrs.
10725         (libgcc2.a): Similarly.
10726
10727 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10728
10729         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10730         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10731         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10732
10733 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10734
10735         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10736         Remove redundant initialization of "frexpon" and "expon".
10737
10738 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10739
10740         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10741
10742         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10743         (store_constructor_field, expand_expr): Pass new arg.
10744
10745 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10746
10747         * Makefile.in (explow.o): Depend on function.h.
10748
10749         * stor-layout.c (set_sizetype): Fix typo.
10750
10751 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10752
10753         * function.c (cfun): Renamed from current_function.  All users
10754         changed.
10755         * function.h (cfun): Rename declaration as well.
10756
10757         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10758         to be of type regset_head, not regset.  All users changed by adding
10759         address operator.
10760         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10761
10762 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10763
10764         * config/c4x/rtems.h: New file.
10765
10766 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10767
10768         * reload1.c (spill_failure): Take class of failed reload as argument
10769         and print it.  Caller changed.
10770
10771 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10772
10773         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10774         (TARGET_SWITCHES): Allow subtargets to default switches.
10775         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10776
10777 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10778
10779         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10780         in a main program.
10781
10782 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10783
10784         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10785         * cppinit.c (cpp_handle_option): Likewise.
10786
10787         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10788         determine when to define.
10789
10790 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10791
10792         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10793         cmove with mismatched test and data modes.
10794
10795 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10796
10797         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10798         in system headers.
10799
10800 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10801
10802         * alias.c: Minor reformatting.
10803         * flow.c: Likewise.
10804         * regs.h: Likewise.
10805         * stor-layout.c: Likewise.
10806         * fold-const.c: Likewise.
10807         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10808         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10809         not arg itself.
10810         (size_int_wide): Cache nodes even if garbage collecting.
10811         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10812         of SAVE_EXPR has no side effects.
10813         * cse.c: Move a comment.
10814         * tree.c: Minor reformatting.
10815         (int_size_in_bytes): Return -1 if constant overflows.
10816
10817 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10818
10819         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10820
10821 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10822
10823         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10824         after any change to c-parse.in, even if objc-parse.y didn't
10825         change.  Oops.
10826
10827 1999-12-18  David S. Miller  <davem@redhat.com>
10828
10829         * toplev.c (rest_of_compilation): Restore BLOCK tree
10830         reconstruction and branch shortening changes lost in
10831         December 18th change.
10832
10833 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10834
10835         * config/arm/linux-elf.h: Change all instances of
10836         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10837         * config/arm/uclinux-elf.h: Likewise.
10838
10839 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10840
10841         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10842         v_message_with_decl, file_and_line_for_asm,
10843         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10844         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10845         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10846         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10847         pfatal_with_name, fatal_io_error, need_error_newline,
10848         last_error_function, last_error_tick, announce_function,
10849         default_print_error_function, print_error_function,
10850         report_error_function, fnotice, error_with_file_and_line,
10851         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10852         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10853         warning_with_decl, warning_for_asm, warning, pedwarn,
10854         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10855         diagnostic.c
10856         (compile_file): Use fnotice instead of notice.  Adjust call.
10857
10858         * diagnostic.c: New file.
10859
10860         * Makefile.in (OBJS): Include diagnostic.o
10861         (diagnostic.o): Define dependence.
10862
10863 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10864
10865         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10866         Tweak formatting.
10867
10868 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10869
10870         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10871
10872 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10873
10874         * fixtests.c (is_cxx_header): New fn, split out of
10875         double_slash_test.
10876         (else_endif_label): Allow "#endif // comment" in C++ headers,
10877         as determined by is_cxx_header.
10878         * fixfixes.c (else_endif_label_fix): Update comment.
10879         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10880         a tty.
10881         * genfixes: Correct double thinko in commandline parsing.
10882         * hackshell.tpl: Generate correct sh syntax for bypass
10883         entries.
10884
10885         * inclhack.def (all): Whenever an inserted preprocessor
10886         conditional is split over multiple lines, use double
10887         backslashes in this file so the fixed header will be readable.
10888
10889         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10890         and add bypass entry for correct version of this header.
10891         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10892         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10893
10894         (hpux8_bogus_inlines): New fix, split from...
10895         (ultrix_atof_param) ... here.
10896         (math_expression): Add bypass entry keyed to glibc comment
10897         indicating the problem has been dealt with; disable
10898         unnecessary sed operations; update commentary.
10899         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10900         add select and bypass entries, simplify shell operation.
10901         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10902
10903         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10904          ultrix_atof_param): Add select entry.
10905         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10906         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10907         comments with the fixes they describe.
10908
10909         * c-parse.in (string action): Do not warn about ANSI string
10910         concatenation in system headers.  Affects C parser only.
10911         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10912
10913 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10914
10915         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10916         compiling libgcc2 the macro depends always on arch cpp defines.
10917
10918 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10919
10920         * loop.c (insert_loop_mem): Don't record MEMs from inside
10921         EXPR_LISTs.
10922
10923 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10924
10925         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10926
10927         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10928         notes too, create one when replacement failed, attempt to simplify
10929         resulting notes.
10930         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10931         or REG_EQUIV notes.
10932
10933 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10934
10935         * crtstuff.c (__dso_handle): Declare.
10936         (__cxa_finalize): Likewise.
10937         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10938         non-NULL.
10939
10940         * invoke.texi: Document -fuse-cxa-atexit.
10941
10942         * tree.h (ptr_type_node): Document.
10943         (const_ptr_type_node): Likewise.
10944
10945 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10946
10947         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10948         (optimize_reg_copy_2): Likewise.
10949         (optimize_reg_copy_3): Likewise.
10950         (fixup_match_2): Likewise.
10951         (regmove_optimize): Likewise.
10952         (fixup_match_1): Liekwise.
10953
10954         * i386.md (HI to SImode promoting splitters): Rewrite.
10955         (pushsf mem peep2): New.
10956         (testhi to andhi peep2): Remove.
10957         * i386.h (x86_promote_QImode): New.
10958         (TARGET_PROMOTE_QImode): New.
10959         (PREDICATE_CODES): Add promotable_binary_operator.
10960         * i386.c (x86_promote_QImode0: New.
10961         (promotable_binary_operator): New.
10962         * i386-protos.h (promotable_binary_operator): New.
10963
10964         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10965         condition.
10966         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10967
10968 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10969
10970         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10971         * function.c (insert_block_after_note): Remove.
10972         (retrofit_block): Likewise.
10973         (identify_blocks): Fix indentation.
10974         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10975         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10976         * function.h (insert_block_after_note): Remove prototype.
10977         (retrofit_block): Likewise.
10978         * integrate.c (expand_inline_function): Don't call
10979         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10980         just expand_start_bindings.  Use the block_map to remap old
10981         NOTE_BLOCKs to new ones.
10982         (integrate_decl_tree): Keep track of remapped blocks.
10983         * integrate.h (struct inline_remap): Add block_map.
10984         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10985         NOTE_BLOCK on the notes.
10986         (expand_start_bindings): Rename to ...
10987         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10988         (expand_end_bindings): Set NOTE_BLOCK.
10989         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10990         reconstruct the BLOCK tree.
10991         * tree.h (expand_start_bindings): Macroize.  Call ...
10992         (expand_start_bindings_and_block): New function.
10993
10994 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10995
10996         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10997         to match the format.
10998
10999 1999-12-16  David S. Miller  <davem@redhat.com>
11000
11001         * expr.c (emit_move_insn_1): Only emit clobbers if one of
11002         the outputs is a SUBREG.
11003         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
11004         change.
11005
11006         * config/sparc/sparc.c (epilogue_renumber): Add default case
11007         to switch stmt.
11008
11009 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11010
11011         * toplev.c (rest_of_compilation): Run branch shortening after
11012         reg-stack.
11013
11014         * regclass.c (loop_depth): Remove
11015         (scan_one_insn): Do not handle LOOP_NOTE insns.
11016         (regclass): Go through basic blocks and set loop_cost
11017
11018 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
11019
11020         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
11021
11022 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11023
11024         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
11025         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11026         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11027
11028 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
11029
11030         * loop.c (insert_loop_mem): Ignore memory clobbers.
11031
11032         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11033         to (OP A B).
11034
11035 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
11036
11037         * profile.c: Remove redundant #include "output.h".
11038
11039         * h8300.md (HImode preinc peephole): Fix typo.
11040
11041 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11042
11043         * function.c (retrofit_block): Abort if we don't find a suitable insn.
11044         (insert_block_after_note): Abort if we don't have a previous block.
11045         Remove FN parameter.
11046         * function.h: Adjust.
11047
11048 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
11049
11050         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11051         argument more than once.
11052
11053 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11054
11055         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11056
11057 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
11058
11059         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11060
11061 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11062
11063         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11064         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11065         update stack_alignment_needed.
11066         (prepare_function_start): Initialize stack_alignment_needed
11067         * function.h (struct function): Add field stack_alignment_needed.
11068
11069 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11070
11071         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11072         Handle live_throughout / dead_or_set instead of live_before /
11073         live_after.
11074         (save_call_clobbered_regs): Get register livenessinformation from
11075         chain->live_throughout.
11076         (add_stored_regs): New function.
11077         (insert_restore, insert_save): Add restored / saved registers to
11078         dead_or_set.
11079         * global.c (reg_dies): New parameter chain.
11080         (reg_becomes_live): Third parameter is regs_set now.
11081         Changed all callers.
11082         (reg_dies): New parameter chain.  Changed all callers.
11083         (build_insn_chain): Set live_throughout instead of
11084         live_before / live_after.
11085         * reload.h (struct insn_chain): Replace members live_before /
11086         live_after with live_throughout / dead_or_set.
11087         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11088         instead of live_before / live_after.
11089         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11090         (order_regs_for_reload, find_reg, finish_spills): Likewise.
11091         (choose_reload_regs_init): Likewise.
11092         * stupid.c (current_chain, find_clobbered_regs): Delete.
11093         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11094         instead of chain->live_before / chain->live_after.
11095         (mark_hard_ref): New function.
11096         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11097
11098 1999-12-15  David S. Miller  <davem@redhat.com>
11099
11100         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11101
11102 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11103
11104         * flow.c (calculate_loop_depth): Make global, remove prototype,
11105         rewrite to use new loop infrastructure.
11106         (find_basic_block): Remove calculate_loop_depth call.
11107         * toplev.c (rest_of_compilation): Call find_basic_block.
11108         * output.h (calculate_loop_depth): Declare.
11109
11110         * flow.c (dump_flow_info): Dump loop_depth.
11111         (flow_loops_nodes_find): Increase loop_depth for basic block in the
11112         body.
11113         (flow_loops_find): Initialize the loop_depth for each basic block.
11114
11115 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11116
11117         * tree.c (decl_function_context): Handle virtual functions.
11118
11119         * tlink.c (scan_linker_output): Don't look in demangled name when
11120         looking for linker output keywords.
11121
11122         * dwarfout.c (output_type): We can defer namespace-scope classes.
11123
11124 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
11125
11126         * regclass.c (record_reg_classes): Update comment for merging
11127         register class preferences in reg->reg copies.  Tighten conditions
11128         for merging register class preferences in reg->reg copies.
11129
11130 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
11131
11132         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11133
11134 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
11135
11136         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11137         (INIT_SECTION_ASM_OP): Delete.
11138         (FINI_SECTION_ASM_OP): Delete.
11139         (STARTFILE_SPEC): Define to hold just crtbegin.o.
11140
11141 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
11142
11143         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
11144         the abstract origin wasn't emitted.
11145
11146         * dwarf2out.c (class_scope_p): New fn.
11147         (gen_subprogram_die): Use it.
11148         (gen_variable_die): Use it.  Tweak logic.
11149         (gen_struct_or_union_type_die): Check context_die to determine
11150         if we're function-local.
11151         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
11152
11153 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11154
11155         * loop.c (check_dbra_loop): Can't reverse a biv that has
11156         maybe_multiple set.
11157
11158 1999-12-14  Nick Clifton  <nickc@cygnus.com>
11159
11160         * config/arm/arm.c: Add support for -mcpu=arm720 command line
11161         switch.
11162
11163 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11164
11165         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
11166         for givs made from biv increments.
11167
11168 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
11169
11170         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
11171         * alpha.c (override_options): Recognize -mcpu=ev67.
11172         * alpha.h (CPP_CPU_EV67_SPEC): New.
11173         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11174         (EXTRA_SPECS): Update.
11175
11176 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
11177
11178         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11179         appropriate for -lang-c89 and -std=*.
11180         * cppinit.c (cpp_handle_option): Likewise.
11181         (new_pending_define): New, split out from cpp_handle_option.
11182         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11183         or enable trigraphs for -ansi/-std=*.
11184
11185         * ginclude/stdarg.h (__va_copy): New.
11186         (va_copy): Don't define for C89.
11187
11188 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
11189
11190         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11191         for long long multiply-accumulate.
11192
11193 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11194
11195         * regclass.c (scan_one_insn): Set loop_cost to 1 when
11196         optimizing for size.
11197
11198 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11199
11200         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11201         if something changed.  Back out that part of yesterday's changes.
11202
11203         * loop.c (loop_max_reg): New static variable.
11204         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
11205         max_reg_num.
11206         (scan_loop): Call reg_scan_update whenever we may have added new
11207         registers, and update loop_max_reg.
11208
11209 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11210
11211         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
11212         when source does not die.
11213
11214         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11215
11216 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
11217
11218         * config/sparc/linux64.h (TARGET_LIVE_G0,
11219         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11220         variants on Linux.
11221         * config/sparc/linux.h (TARGET_LIVE_G0,
11222         TARGET_BROKEN_SAVERESTORE): Likewise.
11223         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11224         TARGET_BROKEN_SAVERESTORE): Likewise.
11225
11226         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11227         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11228         not %g2.
11229         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11230         as sparc64 block profiling register.
11231         * config/sparc/sparc.c (sparc_override_options): Allow block
11232         profiling with -m32.
11233         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11234         profiling register.
11235         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11236         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11237         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11238
11239         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11240         for sparc64.
11241         * config/sparc/sparc.h: Likewise.
11242         * config/sparc/xm-sysv4-64.h: Likewise.
11243         * config/float-sparc.h: Likewise.
11244         * glimits.h: Likewise.
11245         * longlong.h: Likewise.
11246
11247         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11248         (ASM_IDENTIFY_GCC): Remove.
11249
11250 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11251
11252         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11253         (simplify_logical): Likewise.
11254
11255 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11256
11257         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11258         * cppfiles.c (INO_T_EQ): Likewise.
11259
11260 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11261
11262         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11263         * i386/mingw32.h (LIB_SPEC): Likewise.
11264         (STARTFILE_SPEC): Likewise.
11265         * i386/uwin.h (LIB_SPEC): Likewise.
11266         (STARTFILE_SPEC): Likewise.
11267
11268         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11269         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11270
11271 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11272
11273         * combine.c (combine_simplify_rtx): Fix order of checks for
11274         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11275
11276 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11277
11278         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11279         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11280
11281 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11282
11283         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11284         defined.
11285         * regclass.c (inv_reg_alloc_order): New array.
11286         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11287
11288         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11289         counted_for_groups, counted_for_nongroups.  Add fields rld and
11290         n_reloads.
11291         * reload.c (push_secondary_reload): Don't set nongroup field of
11292         new reloads.
11293         (push_reload): Likewise.
11294         (find_reloads): Delete code to compute nongroup fields.
11295         * reload1.c (reload_insn_firstobj): New static variable.
11296         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11297         users changed.
11298         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11299         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11300         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11301         functions.
11302         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11303         functions.
11304         (struct hard_reg_n_uses): Deleted.
11305         (potential_reload_regs): Deleted.
11306         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11307         (reload): Don't try to allocate reload registers if we already know
11308         we have to make another pass.  Call select_reload_regs.  Free memory
11309         starting with reload_firstobj when starting another pass.
11310         Don't allocate spilled_pseudos.
11311         (calculate_needs_all_insns): Call copy_reloads for an insn that
11312         needs reloads; don't call calculate_needs.
11313         (spill_cost): New static array.
11314         (used_spill_regs_local): New static variable.
11315         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11316         to compute potential_reload_regs.
11317         (find_reload_regs): Completely rewritten to use find_reg.
11318         (allocate_reload_reg): Don't test counted_for_groups or
11319         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11320         all cllers changed.
11321         (choose_reload_regs): Add fallback code that uses the existing
11322         register allocation from find_reload_regs.
11323
11324 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11325
11326         * flow.c (create_edge_list): Cast xmalloc return value.
11327
11328 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11329
11330         * doprnt.c: Remove incorrect comment closure.
11331
11332         * cse.c: Fix a few minor whitespace goofs.
11333
11334 1999-12-13  Don Bowman  <don@pixstream.com>
11335
11336         * mips/vxworks.h: Fix problem with comment termination.
11337         (EXTRA_SECTIONS): Add in_sbss.
11338         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11339
11340 1999-12-12  David S. Miller  <davem@redhat.com>
11341
11342         * cse.c (struct cse_reg_info): Add hash_next member,
11343         reorder rest of struct for better packing on 64-bit
11344         hosts.
11345         (cse_reg_info_tree): Kill.
11346         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11347         REGHASH_FN): New custom pow2 hash mechanism.
11348         (NBUCKETS): Kill.
11349         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11350         use a pow2 hash table.
11351         (get_cse_reg_info): Rework to use new REGHASH.
11352         (new_basic_block): Likewise, use HASH_SIZE, and inline
11353         free_element call.
11354         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11355         and inline free_element call.
11356         (lookup_as_function, insert, flush_hash_table, invalidate,
11357         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11358         invalidate_for_call, use_related_value, find_comparison_args,
11359         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11360         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11361         get_element): Kill.
11362
11363 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11364
11365         * cse.c (cse_basic_block): Free qty_table consistently.
11366
11367 1999-12-12  David S. Miller  <davem@redhat.com>
11368             Jakub Jelinek    <jakub@redhat.com>
11369
11370         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11371         SUBREGs by hand, gen the appropriate hard reg directly.
11372         (movtf reg/mem split): Likewise and alter_subreg on destination
11373         if necessary.
11374         (movtf mem/reg split): Similarly.
11375         (movdf_cc_sp64): Rename from hidden pattern.
11376         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11377         (movtf_cc_sp64, following split): New pattern and splitter.
11378         (movdf_cc_reg_sp64): Rename from hidden pattern.
11379         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11380         TARGET_HARD_QUAD.
11381         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11382
11383 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11384
11385         * loop.c (load_mems): Don't hoist written floating point mem
11386         if -ffloat-store.
11387
11388 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11389
11390         * except.h (struct eh_queue): Add `next' pointer.
11391         (struct eh_status): Make x_ehqueue a pointer.
11392         (push_ehqueue):  Declare.
11393         (pop_ehqueue): Likewise.
11394         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11395         pointer.
11396         (expand_fixup_region_end): Likewise.
11397         (expand_leftover_cleanups): Likewise.
11398         (push_ehqueue): Define.
11399         (pop_ehqueue): Likewise.
11400         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11401         than doing it inline.
11402         (expand_start_all_catch):  Adjust now that ehqueue is a
11403         pointer.
11404         (mark_eh_queue): Mark all level of the queue.
11405         (mark_eh_status):  Adjust now that ehqueue is a
11406         pointer.
11407         (init_eh_for_function): Allocate ehqueue.
11408         (free_eh_status): Free it.
11409         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11410         expansion for a fixup.
11411
11412 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11413
11414         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11415
11416         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11417         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11418         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11419         function_ptr, getpagesize, __enable_execute_stack,
11420         __enable_execute_stack, __clear_insn_cache,
11421         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11422         _cleanup, _exit, __default_terminate, __terminate_func,
11423         __terminate, __empty, __throw, new_eh_context,
11424         eh_context_initialize, eh_context_static, eh_context_specific,
11425         get_eh_context, __get_eh_context, __get_eh_info,
11426         init_reg_size_table, eh_threads_initialize,
11427         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11428         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11429         __pure_virtual): Add prototype arguments.
11430         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11431         Cast a signed value to unsigned long when comparing against one.
11432         (new_eh_context): Wrap in _GTHREADS macro.
11433         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11434         declaration.
11435         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11436         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11437
11438 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11439
11440         * combine.c (record_promoted_value): Remove unused variable
11441         `links2'.
11442
11443         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11444
11445         * global.c (record_conflicts): Likewise for `j'.
11446
11447         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11448         const-ness.
11449
11450 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11451
11452         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11453         output_fp_compare): Constify a char*.
11454
11455         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11456         static prototypes.
11457         (override_options, ix86_comp_type_attributes, print_operand,
11458         output_387_binary_op, output_fix_trunc, output_fp_compare):
11459         Constify a char*.
11460         (ix86_sched_reorder): Mark parameter `clock_var' with
11461         ATTRIBUTE_UNUSED.
11462
11463         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11464
11465 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11466
11467         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11468         operand, for use in the Java front-end.
11469
11470 1999-12-10  Ben Collins  <bcollins@debian.org>
11471
11472         * configure.in: Fix typo for "-64" in 64bit as check.
11473         * configure: Rebuilt.
11474
11475 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11476
11477         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11478         appropriate.
11479
11480 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11481
11482         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11483         concatenation is utilized.
11484
11485         * invoke.texi (-Wtraditional): Document it.
11486
11487 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11488
11489         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11490         Cast a ptrdiff_t to long and pass it to printf with %ld.
11491
11492 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11493
11494         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11495         68881, we have no 68881 registers at all.
11496         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11497         value in a 68881 register if it is available.
11498
11499 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11500
11501         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11502         for long long multiply-accumulate.
11503
11504 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11505
11506         * loop.c (insert_loop_mem): Undo last change.
11507
11508 1999-12-10  David S. Miller  <davem@redhat.com>
11509
11510         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11511         New functions.
11512         * config/sparc/sparc-protos.h: Add them.
11513         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11514         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11515         constraints which use those helpers.
11516         (EXTRA_CONSTRAINT): Use this new macro.
11517         * md.texi: Update sparc target constraints documentation.
11518         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11519         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11520         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11521         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11522         (movsf high/lo_sum split): Rework for new patterns.
11523         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11524
11525 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11526
11527         * c-common.c (c_common_nodes_and_builtins):
11528         Create __builtin_ptrdiff_t and __builtin_size_t.
11529
11530 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11531
11532         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11533
11534 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11535
11536         * regclass.c (globalize_reg): Re-instate test that allows
11537         fixed registers to be declared as a variable even after functions
11538         are defined.
11539
11540 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11541
11542         * i386.md (cpu attribute): Add "athlon".
11543         (athlon_decode): New attribute.
11544         (Athlon scheduling units definitions): New.
11545         (fcmp and shld patterns): Set athlon_decode to "vector".
11546         * i386.c (athlon_cost): New.
11547         (m_ATHLON): New.
11548         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11549         x86_use_sahf): Set for Athlon.
11550         (x86_use_fiop): Unset for Athlon.
11551         (override_options): Define Athlon alignments and "athlon" name.
11552         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11553         * i386.h (TARGET_ATHLON): New.
11554         (enum processor_type): Add PROCESSOR_ATHLON.
11555         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11556         for CPU_DEFAULT==5
11557         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11558
11559 1999-12-09  Andreas Jaeger  <aj@suse.de>
11560
11561         * loop.c (record_biv): Declare parameter as int.
11562
11563         * config/i386/i386-protos.h: Declare long_memory_operand.
11564
11565 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11566
11567         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11568         EXPR_WITH_FILE_LOCATION.
11569
11570 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11571
11572         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11573         in expander.
11574
11575         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11576
11577         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11578         updating code.
11579
11580 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11581
11582         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11583         default on linux64 again.
11584         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11585         models for multilibing.
11586         * genmultilib: Accept | as alternative separator within a set in
11587         MULTILIB_OPTIONS.
11588
11589         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11590
11591         * calls.c (precompute_arguments): Make sure initial_value contains
11592         value pseudo which CSE expects.
11593         * cse.c (struct set): New entry orig_src.
11594         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11595         replacement.
11596
11597 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11598
11599         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11600
11601 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11602
11603         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11604
11605 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11606
11607         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11608         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11609
11610         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11611         if TARGET_ARCH32.
11612
11613         * longlong.h: Merge in changes from glibc.
11614         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11615         -mno-app-regs libgcc can be compiled.
11616         * libgcc2.c: Add defines so that the updated longlong.h
11617         can be used in libgcc2.a. Also, make sure on most architectures
11618         (at least on all which have optimized code in longlong.h defined
11619         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11620
11621 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11622
11623         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11624         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11625         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11626         is GNU ld.
11627         * configure: Rebuilt.
11628
11629 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11630
11631         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11632         outputs require a register.
11633
11634 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11635
11636         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11637         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11638         functions like dptoul will be resolved.
11639         (libgcc2.a): Make sure that the object files from DPBIT are named
11640         differently (prefix `_dp') from those that would be coming from
11641         FPBIT.
11642
11643 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11644
11645         * configure.in: When target is sparc* and tm_file contains 64,
11646         test for 64bit support in assembler.  If not supported, remove
11647         sparc/t-sol2-64 from target-dependent Makefile fragments.
11648         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11649         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11650         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11651         * acconfig.h (AS_SPARC64_FLAG): Added.
11652         * configure, config.in: Rebuilt.
11653         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11654         support.  Use AS_SPARC64_FLAG.
11655
11656 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11657
11658         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11659         suitable for holding OFmode values so that gcc works with complex
11660         quad long doubles.
11661         (hard_64bit_mode_classes): Likewise.
11662
11663         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11664         so that it is actually matched.
11665         (sethi_di_medlow): Likewise.
11666
11667         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11668         as legitimate constant if -mvis.
11669         * config/sparc/sparc.md (movtf): Likewise.
11670         (clear_sf): Use const_double_operand.
11671         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11672
11673         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11674         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11675         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11676         routines, _Qp_* cannot be handled like that now.
11677         (INIT_TARGET_OPTABS): Likewise.
11678         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11679         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11680         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11681         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11682         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11683         divtf3, sqrttf3): New expanders.
11684         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11685         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11686         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11687         non-_hq patterns.
11688
11689         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11690         * configure: Rebuilt.
11691         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11692         -mcpu is given and we're doing 64bit compiles.
11693
11694 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11695
11696         * loop.h (struct induction): Add multi_insn_incr.
11697         * loop.c (basic_induction_var): New multi_insn_incr argument.
11698         Set it if we search back through previous insns for the biv.
11699         (record_biv): New multi_insn_incr argument; fill in struct induction.
11700         (strength_reduce): Discard an iv with multiple bivs, any of
11701         which require multiple insns to increment.
11702
11703 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11704
11705         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11706         documentation.
11707
11708 1999-12-06  David S. Miller  <davem@redhat.com>
11709
11710         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11711         PROMOTE_FUNCTION_RETURN.
11712
11713 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11714
11715         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11716         and handle REG_UNUSED note on insn.
11717
11718         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11719         inner_mask instead of mask.
11720
11721 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11722
11723         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11724         zero if there was an error.
11725
11726 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11727
11728         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11729         output string.
11730
11731         * longlong.h: Fix clobbers in SPARC asm statements.
11732
11733         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11734         valid sethi operations when TARGET_ARCH64.
11735
11736         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11737         always use move_by_pieces to avoid infinite recursion.
11738         (restore_fixed_argument_area): Likewise.
11739
11740         * combine.c (check_promoted_subreg, record_promoted_value): New
11741         functions.
11742         (combine_instructions): Use them to retain nonzero and sign bit
11743         information after SUBREGs are eliminated by optimizations in
11744         this pass if PROMOTE_FUNCTION_RETURN.
11745
11746         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11747         .register declaration. Don't use variables with __ prefixes.
11748
11749 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11750
11751         * fold-const.c (optimize_bit_field_compare): Only use one mode
11752         for both RHS and LHS in non-constant case.
11753
11754 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11755
11756         * frame.c (start_fde_sort): Only allocate erratic array, if
11757         linear one was allocated. Return allocated flag.
11758         (fde_insert): Only insert, if there's a valid array.
11759         (fde_end_sort): Split, sort and merge if linear and erratic
11760         arrays exist, else just sort linear one.
11761         (search_fdes): New function. Linear search through original fde
11762         structure.
11763         (frame_init): Permit multiple initializations. Cope with
11764         memory shortages.
11765         (find_fde): Fallback on linear search, if failed to sort array.
11766         (__deregister_frame_info): Only free sorted array, if we
11767         allocated it.
11768
11769 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11770
11771         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11772
11773 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11774
11775         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11776
11777 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11778
11779         * tree.h (special_function_p): Declare.
11780         * calls.c (special_function_p): Make it global.  Don't take `name'
11781         as a parameter.  Fix typo in 1999-11-28 change.
11782         (expand_cal): Adjust.
11783
11784 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11785
11786         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11787         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11788         EXPR_WFL_FILENAME_NODE.
11789         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11790         the TREE_CHAIN.
11791         * print-tree.c (print_note): Print TREE_PRIVATE and
11792         TREE_PROTECTED.
11793
11794         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11795         the original die cannot be found.
11796
11797         * varray.h (varray_head_tag): Add elements_used.
11798         (VARRAY_PUSH): New macro.
11799         (VARRAY_POP): Likewise.
11800         (VARRAY_TOP): Likewise.
11801         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11802         types.
11803         * varray.c (varray_init): Initialize elements_used.
11804         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11805         (INTEGRATE_H): New variable.
11806         (integrate.o): Depend on INTEGRATE_H.
11807         (unroll.o): Likewise.
11808
11809         * function.h (insert_block_after_note): Declare.
11810         * function.c (insert_block_after_note): Split out from ...
11811         (retrofit_block): ... here.
11812
11813         * stmt.c (expand_fixup): Fix typo in comment.
11814
11815 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11816
11817         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11818         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11819         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11820         (regmove_optimize, fixup_match_1): Likewise.
11821
11822 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11823
11824         * flow.c (flow_loops_dump): Add missing argument when calling
11825         flow_loop_nested_p.
11826
11827 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11828             Greg McGary  <gkm@gnu.org>
11829
11830         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11831         (init_attributes): Add A_NO_LIMIT_STACK.
11832         (decl_attributes): Handle A_NO_LIMIT_STACK.
11833         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11834         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11835         Handle stack bounds checking.
11836         * flags.h (flag_stack_check): Use the word 'probe' rather than
11837         'check', because the flag doesn't actually cause any checking to
11838         be done.
11839         * function.c (expand_function_start): Set
11840         current_function_limit_stack.
11841         * function.h (struct function): Add limit_stack.
11842         (current_function_limit_stack): Define.
11843         * invoke.texi (Code Gen Options): Document new options.
11844         * rtl.h: Declare stack_limit_rtx.
11845         * toplev.c (stack_limit_rtx): New variable.
11846         (decode_f_option): Handle new options -fstack-limit-register=REG,
11847         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11848         (main): Add stack_limit_rtx as GC root.
11849         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11850         (struct tree_decl): New member no_limit_stack.
11851
11852         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11853         stack_limit_rtx.
11854         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11855         (conditional_trap+1): Get new mnemonic correct.
11856         (conditional_trap+2): New pattern for DImode traps.
11857
11858         * config/m68k/m68k.c (output_function_prologue): Handle
11859         stack_limit_rtx.
11860         * config/m68k/m68k.md (trap): New insn.
11861         (conditional_trap): New insn.
11862         * md.texi (Standard Names): Document `trap' and
11863         `conditional_trap'.
11864         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11865         so a cc0 setter doesn't get emitted at some random place in the
11866         function.
11867
11868         * config/i960/i960.md (trap): New insn.
11869         (conditional_trap): New expander.
11870         (conditional_trap+1, conditional_trap+2): New insns for signed
11871         and unsigned cases.
11872         * config/i960/i960.c (i960_function_prologue): Use
11873         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11874
11875 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11876                           Geoffrey Keating  <geoffk@cygnus.com>
11877
11878         * flags.h (warn_padded, warn_packed): Add global var decls.
11879         * toplev.c (warn_padded, warn_packed): Add global var defns.
11880         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11881         * stor-layout.c (layout_record): Add local variable `type'
11882         to hold often-used TREE_TYPE (field).  Add local variable
11883         `unpacked_align' to hold alignment that would be in force
11884         if no `packed' attribute were present.  Warn if `packed' attribute
11885         is unnecessary, or even harmful.  Warn when gcc inserts padding
11886         to satisfy alignment requirements of members.  Use NULL_TREE
11887         when checking whether var_size is set.
11888         * invoke.texi: Document new flags.
11889
11890 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11891
11892         * frame.c (fde_split): Reimplement to avoid variable sized array.
11893
11894 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11895
11896         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11897         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11898
11899 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11900
11901         * invoke.texi: Document the mips option -mno-crt0
11902
11903 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11904
11905         * cccp.c (argdata): Added free_ptr member.
11906         (macroexpand): Initialize free_ptr of each argument. When an
11907         argument's buffers are freed, if the argument's free_ptr corresponds
11908         to a buffer on the input stack, then return the free_ptr to that stack
11909         frame, otherwise, free it.
11910         (macarg): If an argument begins and ends on the same input stack level,
11911         then transfer the free_ptr of that buffer to the argument in case
11912         the stack is popped during the processing of a subsequent argument.
11913
11914 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11915
11916         * loop.c (note_reg_stored): New function.
11917         (struct note_reg_stored_arg): New structure.
11918         (try_copy_prop): Change to be more conservative; only replace within
11919         one extended basic block and stop replacing if a store to the
11920         replacement reg is seen.
11921
11922 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11923
11924         * config/fp-bit.c: Initialise all fields of the NAN
11925         constants.
11926
11927         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11928         to HANDLE_PRAGMA.
11929
11930 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11931
11932         * i386.md (extend?f?f2): Force the input into a register, not
11933         the output.
11934
11935 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11936
11937         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11938         regclass' sake.
11939         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11940         alternative because setting up 64bit constant is usually costly,
11941         especially when reload is in progress or completed.
11942         (movdf_const_intreg_sp64): Likewise.
11943         (movdf_const_intreg split): Fix building up constants when
11944         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11945
11946 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11947
11948         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11949         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11950         case.
11951
11952         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11953         (asm_file_start): Emit .am33 into assembly file when compiling for
11954         the AM33.
11955         (print_operand_address): Handle POST_INC addresses.
11956         (can_use_return_insn, initial_offset): Check AM33 registers too.
11957         (expand_prologue): Check & save AM33 registers too.
11958         (expand_epilogue): Similarly.
11959         (secondary_reload_class): Handle AM33 specific secondary reloads.
11960         (output_tst): Emit efficient code for the AM33 too.
11961         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11962         (TARGET_SWITCHES): Add -mam33 switch.
11963         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11964         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11965         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11966         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11967         (enum reg_class, REG_CLASS_NAMES): Likewise.
11968         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11969         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11970         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11971         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11972         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11973         (HAVE_POST_INCREMENT): Define.
11974         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11975         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11976         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11977         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11978         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11979         (zero_extend to SI from QI/HI): Likewise.
11980         (sign_extend to SI from QI/HI): Likewise.
11981         (mulsidi3, umulsidi3): New patterns for the AM33.
11982         (tstsi with zero extension from QI/HI): Add AM33 variants.
11983         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11984         (return_internal_regs, store_movm): Handle new AM33 registers.
11985         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11986         (LIBGCC, INSTALL_LIBGCC): Likewise.
11987         * invoke.texi: Document new flags.
11988
11989 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11990
11991         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11992         (addsi3_carry): Likewise.
11993         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11994         (sbbsi3_carry): Likewise.
11995         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11996         (mulhi3): Likewise.
11997         (test?i_1): Ensure that only one operand is memory.
11998         (conditional move patterns): likewise.
11999         (shift and rotate patterns): Rewrite to expander, add
12000         "binary_operator_ok" to the condition.
12001
12002         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
12003         * i386.h (procesor_costs): Add movzbl_load field.
12004         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
12005         non-Q registers, accept DImode registers anywhere.
12006         (Q_CLASS_P): New.
12007         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
12008         * i386.c (*_cost): Set value for movxbl_load field.
12009
12010         * (addsi): New add to lea splitter.
12011         (ashlsi): Likewise.
12012         (lea to add/shift peep2): New.
12013
12014 1999-12-01  Mark Salter <msalter@cygnus.com>
12015
12016         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
12017         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
12018         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
12019
12020 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12021
12022         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
12023         * i386.md (movsi_xor): New.
12024         (movsi_or): New.
12025         (movsi_1, movhi_1, movqi_1): Remove.
12026         (movsi_2): Rename to movsi_1.
12027         (movhi_2): Rename to movhi_1.
12028         (movqi_2): Rename to movqi_1.
12029         (movdi_1): Remove; remove splitter.
12030         (movdi_2): Rename to movdi_1.
12031         (divmodsi4 splitter): Do not emit clobbers for move patterns.
12032         (long move peep2): Do not create QI or HI mode mov0s
12033         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12034
12035         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12036         rewrite splitters.
12037
12038         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12039         (abs?f2_if): Likewise.
12040
12041 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
12042
12043         * ggc.h (ggc_test_and_set_mark): New macro.
12044         (ggc_mark_rtx): Use ggc_test_and_set_mark.
12045         (ggc_mark_tree): Likewise.
12046         (ggc_mark_rtvec): Likewise.
12047         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12048
12049 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
12050
12051         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
12052         containing types.
12053         (decl_scope_table): Just an array of trees now.
12054         (push_decl_scope): Simplify.
12055         (dwarf2out_init): Adjust.
12056         (local_scope_p): New fn.
12057         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12058         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12059         (gen_typedef_die): Likewise.
12060         (gen_lexical_block_die): Don't call push/pop_decl_scope.
12061         (gen_inlined_subroutine_die): Likewise.
12062         (gen_abstract_function): Set current_function_decl temporarily.
12063         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12064         Handle block extern declarations.  Don't call push/pop_decl_scope.
12065         (gen_decl_die): Fix logic for block externs.
12066
12067 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12068
12069         * calls.c (special_function_p): Remove `realloc' and add `strdup'
12070         to the list of functions which have attribute malloc by default.
12071
12072 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12073
12074         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12075         integer constant does not match the traditional type, limit the
12076         warnings to cases where the base of the type is ten.
12077
12078         * invoke.texi (-Wtraditional): Document it.
12079
12080 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12081
12082         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12083         * rs6000.md: Only access a CONST_INT with INTVAL
12084
12085 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
12086
12087         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12088         (compute_nearerout): Likewise.
12089         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12090         size_t to unsigned long for formatting.
12091
12092 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12093
12094         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12095         Allow the user to override call-used/fixed state of %g2-5
12096         registers from the command line (with the exception of %g4 for
12097         embedded model).
12098         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12099         there is a higher chance of having a leaf function.
12100         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12101         for ARCH64 which has %ccr register.
12102         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12103         patterns.
12104         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12105         insn accept into delay slot any insn which does not use %[ol]
12106         registers.  Accept some LO_SUM and shift left by 1 for the normal
12107         restore case.
12108         (output_function_epilogue): Likewise.
12109         (epilogue_renumber): Added argument which inhibits any renumbering
12110         and just tests if the rtx does not use any %[ol] registers.
12111         (output_return): Reflect above change.
12112
12113 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12114
12115         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12116         aggregate passing for sizes <= 16 bytes.
12117
12118 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12119
12120         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12121         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12122         * reload.c (find_dummy_reload): Likewise.
12123         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12124         * reload1.c (reload_as_needed): Likewise.
12125         * stupid.c (stupid_find_reg): Likewise.
12126         * tm.texi (Obsolete Register Macros): Delete section.
12127         * gmicro.h: Remove all traces of the two macros.
12128         * i386.h: Likewise.
12129         * m88k.h: Likewise.
12130         * mips.h: Likewise.
12131
12132 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
12133
12134         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12135         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12136         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12137         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12138         units for the sparclite86x chip.
12139         (flush): Revert October 14th change; add SImode specifically.
12140         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12141         * invoke.texi: Document it.
12142
12143 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
12144
12145         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
12146         psimode_truncation_operand.
12147
12148         * config/mn10200/mn10200.c (psimode_truncation_operand): New
12149         function.  Return true if the operand is either a MEM valid
12150         for a PSImode address or not a MEM at all.
12151
12152         * config/mn10200/mn10200.md (truncsipsi2): Use
12153         psimode_truncation_operand.
12154
12155 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12156
12157         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
12158         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
12159         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
12160         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
12161         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
12162         (flow_loop_level_compute, low_loops_level_compute): Likewise.
12163         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
12164         * basic-block.h: Protect from multiple inclusion.
12165         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
12166         (struct loops, struct loop): Define structures.
12167         * sbitmap.c (sbitmap_a_subset_b_p): New function.
12168         * sbitmap.h: Protect from multiple inclusion.
12169         (sbitmap_a_subset_b_p): Add prototype.
12170         * Makefile.in (LOOP_H): New macro.
12171         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
12172
12173 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
12174
12175         * cppinit.c (CAT): The argument list of this macro may not contain
12176         spaces !
12177
12178 1999-11-29  David S. Miller  <davem@redhat.com>
12179
12180         Move quantity tables and register equivalence chains into
12181         per-qty and per-register structure arrays respectively.
12182         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12183         qty_const_insn, qty_comparison_code, qty_comparison_const,
12184         qty_comparison_qty): Delete, replace with...
12185         (qty_table): this structure table.
12186         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12187         (reg_eqv_table): this structure table.
12188         (make_new_qty): Add argument MODE.  Caller updated.
12189         Update to use qty_table and reg_eqv_table.
12190         (make_regs_eqv, delete_reg_equiv, insert_regs,
12191         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12192         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12193         cse_process_notes, cse_main, cse_basic_block): Likewise.
12194
12195 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12196
12197         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12198         operation if C is negative.
12199         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12200         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12201         law for some divisions if constant is negative and change other
12202         divisions to the opposite rounding.
12203
12204         * expr.c (store_constructor_field): If bit position is not multiple
12205         of alignment of TARGET's mode, use BLKmode.
12206
12207         * expr.c (expand_expr_unaligned): Add more code from full case
12208         that is needed when OP0 is in a register.
12209
12210 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12211
12212         * dwarfout.c (field_byte_offset): Size can be zero if there was
12213         an error.
12214
12215 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12216
12217         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12218         (associate_trees): Delete unused var TEM.
12219         (extract_muldiv): Delete unused var CANCEL_P.
12220
12221         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12222         (target_isinf, target_isnan, target_negative): Add return types to
12223         function definitions.
12224
12225 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12226
12227         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12228         * fixinc/hackshell.tpl: ditto
12229         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12230         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12231
12232 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12233
12234         * reload.c (push_reload): When looking for a register to put into
12235         reg_rtx, make sure all hard regs in a multi-reg register are in the
12236         right class and nonfixed.
12237
12238         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12239         pending_read_insns, pending_write_insns, pending_read_mems,
12240         pending_write_mems, pending_list_length, last_pending_memory_flush,
12241         last_function_call, sched_before_next_call): Move static variables
12242         into a structure.
12243         (bb_ prefixed versions): Replace with single array bb_deps.
12244         (struct deps): New structure.
12245         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12246         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12247         argument of type "struct deps *"; use that instead of global
12248         variables.  All callers changed.
12249         (init_rgn_data_dependencies): Delete function.
12250         (init_rtx_vector): Delete function.
12251         (init_deps): New function.
12252
12253         (free_pending_lists): Simplify, we always use the bb_deps array even
12254         if only one basic block.
12255         (compute_block_backward_dependences): Likewise.
12256         (schedule_region): Likewise.
12257
12258         (propagate_deps): New function, broken out of
12259         compute_block_backward_dependences.
12260         (compute_block_backward_dependences): Use it.
12261
12262         * alpha.md: Delete useless patterns that tried to work around
12263         register elimination problems.
12264
12265         * unroll.c (loop_iterations): Don't abort if iteration variable
12266         was made by loop.
12267
12268         From Joern Rennecke:
12269         * reload1.c (reloads_conflict): Reverse test comparing operand
12270         numbers when testing for conflict between output/outaddr reloads.
12271
12272 1999-11-29  David S. Miller  <davem@redhat.com>
12273
12274         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12275         arg.
12276         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12277
12278 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12279
12280         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12281         table from .fini into .dtor.
12282
12283 1999-11-28  Anthony Green  <green@cygnus.com>
12284
12285         * tree.h (struct tree_decl): Add malloc_flag.
12286         (DECL_IS_MALLOC): Define.
12287         * c-common.c (attrs): Add A_MALLOC attribute.
12288         (init_attributes): Add this attribute to the table.
12289         (decl_attributes): Handle malloc attribute.
12290         * calls.c (special_function_p): Check for the malloc attribute.
12291         * extend.texi (Function Attributes): Document malloc attribute.
12292
12293 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12294
12295         * pa.md (reload shift-add patterns): Remove.
12296
12297 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12298
12299         * reorg.c (dbr_schedule) Print more statistics. Corrected
12300         problem when printing info when 3 delay slots are filled.
12301
12302 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12303
12304         * combine.c (setup_incoming_promotions): Pass an outgoing
12305         regno to FUNCTION_ARG_REGNO_P which it expects.
12306
12307 1999-11-28  Andreas Jaeger  <aj@suse.de>
12308
12309         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12310
12311 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12312
12313         * cccp.c (do_include): Avoid initialization of automatic variable.
12314
12315         * integrate.c (mark_stores): Function definition made void, to match
12316         previous declaration.
12317         * regclass.c (dump_regclass): Ditto.
12318         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12319
12320 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12321
12322         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12323         known to be multiple of divisor.
12324
12325         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12326
12327         * combine.c (try_combine): Add code to try to merge a set of a
12328         two-word pseudo to a constant with a setting of one of those words
12329         to a constant.
12330
12331         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12332         (split_tree): Completely rework to make more general.
12333         (make_range, fold): Call negate_expr.
12334         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12335         (fold, associate): Call new split_tree and associate_trees.
12336         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12337
12338 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12339
12340         * loop.c (try_copy_prop): Avoid GNU C extension.
12341
12342 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12343
12344         * except.c (init_eh_for_function): Still zero eh_return_context,
12345         eh_return_stack_adjust, and eh_return_handler.
12346
12347         * except.h (eh_status): Adjust documentation for x_protect_list.
12348         (begin_protect_partials): New function.
12349         * except.c (enqueue_eh_entry): Fix formatting.
12350         (get_first_handler): Add consistency check.
12351         (add_partial_entry): Adjust usage of protect_list.
12352         (emit_cleanup_handler): Save and restore ehqueue.
12353         (expand_start_all_catch): Add comment.
12354         (begin_protect_partials): New function.
12355         (end_protect_partials): Adjust usage of protect_list.
12356         (init_eh_for_function): Use xcalloc.
12357
12358 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12359
12360         * c-common.c (check_format_info): Don't call a variadic function
12361         with a non-literal format string.
12362
12363         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12364
12365         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12366         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12367         Likewise.
12368
12369         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12370         Likewise.
12371
12372         * collect2.c (collect_wait): Likewise.
12373
12374         * dbxout.c (dbxout_type): Likewise.
12375
12376         * gcc.c (do_spec_1): Likewise.
12377
12378         * genemit.c (gen_insn, gen_expand): Likewise.
12379
12380         * genrecog.c (write_switch, write_subroutine): Likewise.
12381
12382         * mips-tfile.c (catch_signal, botch): Likewise.
12383
12384         * print-rtl.c (print_rtx): Likewise.
12385
12386         * toplev.c (default_print_error_function, report_error_function,
12387         _fatal_insn): Likewise.
12388
12389 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12390
12391         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12392
12393 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12394
12395         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12396         operations when needed.
12397         * i386.md (fop_?f_comm): New.
12398         (fop_?f_1): Do not accept commutative operands.
12399
12400 1999-11-25  Andreas Jaeger  <aj@suse.de>
12401
12402         * config/mips/mips.md (casesi_internal): Add missing brace.
12403
12404 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12405
12406         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12407         (splice_child_die): Handle moving a child DIE from the declaration
12408         DIE of a class to its specification.
12409         (gen_struct_or_union_type_die): Use 'complete' consistently.
12410         (gen_decl_die): Generate the virtual context DIE first.
12411         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12412
12413 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12414
12415         * config/mips/mips.md (call_value_multiple_interanal1): New.
12416
12417 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12418
12419         * dwarf2out.c (free_AT, free_die): New fns.
12420         (remove_children): Call them.
12421         (output_line_info): Disable removal of duplicate notes.
12422
12423         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12424         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12425         means pretend the type isn't defined.
12426         Don't defer emitting types.
12427         (gen_type_die_for_member): New fn.
12428         (gen_decl_die): Call it.
12429         (splice_child_die): New fn.
12430         (gen_member_die): Call it rather than generate duplicate dies.
12431
12432         Defer emitting information for the abstract instance of an inline
12433         until we either inline it or emit an out-of-line copy.
12434         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12435         from output_inline_function if DECL_ABSTRACT is also set.
12436         (block_ultimate_origin): Likewise.
12437         (gen_abstract_function): New fn.
12438         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12439         (gen_subprogram_die):  An abstract instance is not a declaration
12440         just because it doesn't match current_function_decl.  Don't abort
12441         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12442         has an abstract origin.
12443         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12444         abstract instance here.
12445
12446 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12447
12448         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12449         where we need to reload fpul from a system register.
12450
12451 1999-11-24  Andreas Jaeger  <aj@suse.de>
12452
12453         * config/mips/linux.h (CPP_PREDEFINES): Added.
12454         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12455
12456 1999-11-24  Andreas Jaeger  <aj@suse.de>
12457
12458         * config/mips/linux.h (TARGET_VERSION): Added.
12459         (HANDLE_SYSV_PRAGMA): Added.
12460         (DEFAULT_VTABLE_THUNKS): Added.
12461
12462 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12463
12464         * local-alloc.c (qty): New structure and static variable.
12465         (qty_phys_reg): Remove, all references changed to qty.
12466         (qty_n_refs): Likewise.
12467         (qty_min_class): Likewise.
12468         (qty_birth): Likewise.
12469         (qty_death): Likewise.
12470         (qty_size): Likewise.
12471         (qty_mode): Likewise.
12472         (qty_n_calls_crossed): Likewise.
12473         (qty_alternate_class): Likewise.
12474         (qty_changes_size): Likewise.
12475         (qty_first_reg): Likewise.
12476         (alloc_qty): Rename variable QTY to QTYNO.
12477         (finf_free_reg): Likewise.
12478         (local_alloc): Allocate qty, do not allocate the removed variables.
12479
12480 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12481
12482         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12483         when -membedded-pic is passed.
12484
12485         * config/mips/mips.md (casesi): Handle 64-bit case too.
12486         (casesi_internal_di): New insn.
12487
12488         * config/mips/mips.c (embedded_pic_offset): Always make the
12489         embedded-pic subtractions relative to the name of the current
12490         function by use of the magic string "..CURRENT_FUNCTION".
12491         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12492
12493 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12494
12495         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12496         of (const_int 0), when what we really care about is
12497         whether it's a zero constant anyway.
12498         (div_trap_mips16): Likewise.
12499
12500 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12501
12502         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12503         unroll_block_trees when generating debuggable code.
12504
12505         * tree.h (unsave_expr_1): New function.
12506         (lang_unsave): New variable.
12507         (get_callee_fndecl): New function.
12508         * tree.c (unsave_expr_now_r): New function.
12509         (lang_unsave): Define.
12510         (unsave_expr_1): Likewise.
12511         (unsave_expr_now_r): Split out from unsave_expr_now.
12512         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12513         call unsave_expr_now_r.
12514         (get_callee_fndecl): Define.
12515
12516         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12517         (gencheck.o): Do depend on lang_tree_files.
12518
12519         * integrate.h (copy_decl_for_inlining): New declaration.
12520         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12521         (copy_decl_for_inlining): New function.
12522         (integrate_parm_decls): Use it.
12523         (integrate_decl_tree): Likewise.
12524
12525 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12526
12527         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12528         the second two from the first.
12529         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12530         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12531         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12532         ISA_HAS_FP4.
12533         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12534         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12535         ISA_HAS_FP4.
12536
12537 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12538
12539         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12540         needed on the address operand.
12541         * pa.c (call_operand_address): Check for the correct mode.
12542
12543 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12544
12545         * loop.c: Include "basic-block.h".
12546         (try_copy_prop, replace_loop_reg): New functions.
12547         (load_mems): Detect registers that just hold copies of the hoisted
12548         mem, and call try_copy_prop to eliminate them.
12549         * Makefile.in (loop.o): Update dependencies.
12550
12551 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12552
12553         * Makefile.in (gencheck.o): Depend on gencheck.h.
12554         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12555         (insn-peep.o): Depend on except.h and function.h.
12556         (insn-attrtab.o): Depend on RECOG_H.
12557         (insn-output.o): Depend on toplev.h and flags.h.
12558         (gengenrtl.o): Depend on real.h.
12559         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12560         Unify all dependencies to be on RECOG_H rather than recog.h.
12561
12562 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12563
12564         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12565         * configure.in: Try building a bi-arch 32/64-bit compiler on
12566         sparc-*-solaris2.7 and higher.
12567         * configure: Rebuild.
12568
12569 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12570
12571         * config/freebsd.h: New, FreeBSD architecture independent file.
12572         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12573         independent pieces.
12574         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12575         directly by i386/freebsd.h.
12576         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12577         independent configuration file.
12578         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12579         directly by i386/freebsd.h.
12580         * configure: Rebuilt.
12581
12582         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12583         which is in the user's namespace.
12584         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12585         `i386' which is not in our namespace.
12586
12587 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12588
12589         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12590
12591 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12592
12593         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12594         (add_dwarf_attr, add_child_die): Just push onto the front.
12595         (reverse_die_lists): New fn.
12596         (add_sibling_attributes): Use it.
12597         (push_decl_scope): Reorganize.
12598         (add_name_and_src_coords_attributes): Don't set file and line for
12599         an artificial decl.
12600         (gen_subprogram_die): An artificial function doesn't need to match
12601         file and line.
12602         (gen_compile_unit_die): Return the generated die.  Only add
12603         AT_comp_dir if the filename is relative.
12604         (remove_AT): Simplify loop.  Also free string values.
12605         (output_die): A DIE ref can't be null.
12606         (output_value_format, value_format): Take a dw_attr_ref.
12607         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12608         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12609         AT_addr, AT_lbl): New fns.
12610         (various): Use them.
12611         (various): Constify.
12612
12613 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12614
12615         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12616         take SUBREG_WORD into account.
12617         (if_then_else_cond): Likewise.
12618
12619 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12620
12621         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12622         clause from BSD license, pursuant with
12623
12624           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12625
12626 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12627
12628         * loop.c (load_mems): Reformat slightly.
12629         * basic-block.h (regset_head): New typedef.
12630         (INIT_REG_SET): New macro.
12631
12632 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12633
12634         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12635         (mips-dec-bsd*): non-functional code
12636         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12637
12638         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12639         added three replacement fixes
12640         (no_double_slash): removed comments that are not (any longer) pertinent
12641         (bad_lval): this fix currently runs against many files.
12642         The comment seems to indicate that we should select for files
12643         containing 'pragma extern_prefix'.
12644
12645         * fixinc/fixinc.x86-linux-gnu: deleted
12646         * fixinc/inclhack.sh:  regen
12647         * fixinc/fixincl.x:  regen
12648         * fixinc/fixincl.sh:  regen
12649
12650 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12651
12652         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12653         its code is INSN and it has no notes.
12654
12655 1999-11-22  Andrew Haley  <aph@cygnus.com>
12656
12657         * varasm.c (function_defined): Remove.
12658         (make_function_rtl): Don't set function_defined.
12659         (make_decl_rtl): Remove global register warning.
12660         * regclass.c (no_global_reg_vars): New variable.
12661         (globalize_reg): Warn if function has already been defined.
12662         (regclass_init): Set no_global_reg_vars.
12663
12664 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12665
12666         * regclass.c (reg_pref): New structure and static variable
12667         (prefclass): Delete.
12668         (altclass): Delete.
12669         (all uses of prefclass and altclass): Use reg_pref instead.
12670
12671 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12672
12673         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12674         -malignment-traps.
12675         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12676         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12677         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12678
12679 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12680
12681         * varasm.c (output_constructor): Solve problem with long long
12682         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12683
12684 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12685
12686         * global.c (allocno): New structure and static variable.
12687         (allocno_reg): Remove, all references replaced by allocno.
12688         (allocno_size): Likewise.
12689         (hard_reg_conflicts): Likewise.
12690         (hard_reg_preferences): Likewise.
12691         (hard_reg_copy_preferences): Likewise.
12692         (hard_reg_full_preferences): Likewise.
12693         (regs_someone_prefers): Likewise.
12694         (allocno_calls_crossed): Likewise.
12695         (allocno_n_refs): Likewise.
12696         (allocno_live_length): Likewise.
12697         (find_reg): Rename ALLOCNO to NUM.
12698
12699         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12700         references updated.
12701         (may_move_out_cost): New variable.
12702         (init_reg_sets_1): Initialize may_move_out_cost.
12703         (record_reg_classes): Use may_move_out_cost.
12704
12705         * regclass.c (dump_regclass): New function.
12706         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12707         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12708         pass rtl_dump_file to regclass.
12709         * rtl.h (regclass): Update prototype.
12710
12711 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12712
12713         * i386.md (neg, not and abs patterns): Revmap to use
12714         ix86_expand_unary_operator and ix86_unary_operator_ok.
12715         (add?f and sub?f expanders): Force operand 1 to register.
12716         * i386.c (ix86_expand_unary_operator): Rewrite.
12717         (ix86_unary_operator_ok): Ensure that memory operands
12718         match real opcode.
12719         (ix86_binary_operator_ok): Do not allow operand 1 to
12720         come into memory and operand 0 not.
12721         (ix86_expand_binary_operator): Ensure that
12722         src1 is not non-matching memory.
12723
12724         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12725         to support integer registers and memory.
12726         (abss?2_integer): Likewise.
12727
12728         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12729         (REG_CLASS_NAMES): Likewise.
12730         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12731         and GENERAL_REGS.
12732         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12733         (movsf): Likewise; unify 4th and 5th alternative.
12734         (pushdf): Likewise.
12735         (movdf_1): Likewise; rename to movdf_integer.
12736         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12737         remove redundant splitter.
12738         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12739         (movdf_nointeger): New.
12740         (movxf_nointeger): New.
12741         (pushxf_nointeger): New.
12742
12743         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12744         memory operands in patterns.
12745         (fop*): Refuse two memory operands.
12746
12747         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12748         on !TARGET_USE_CLTD CPUs.
12749
12750 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12751
12752         * extend.texi: Document C++ restricted pointers and references.
12753
12754 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12755
12756         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12757         (invalidate_skipped_set): Call it unconditionally.
12758         (cse_set_around_loop): Likewise.
12759
12760 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12761
12762         * rtl.texi (mem): Add documentation for alias-set argument
12763         to RTX `mem'.
12764
12765 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12766
12767         * i386.h (struct_processor_costs): New fields int_load, int_store,
12768         fp_move, fp_load and fp_store
12769         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12770         fp->int moves
12771         (MEMORY_MOVE_COST): New macro.
12772         * i386.c (386_cost): Define new fields.
12773         (i486_cost): Likewise.
12774         (pentium_cost): Likewise.
12775         (pentiumpro_cost): Likewise.
12776         (k6_cost): Likewise.
12777
12778 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12779                           Geoffrey Keating  <geoffk@cygnus.com>
12780
12781         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12782
12783         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12784         MASK_ALIGN_INT.
12785
12786         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12787         (TARGET_STRICT_ALIGNMENT): New macro.
12788         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12789         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12790         * invoke.texi (M680x0 Options): Document -mstrict-align.
12791
12792 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12793                           Richard Henderson  <rth@cygnus.com>
12794
12795         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12796         (ix86_split_long_move): Declare.
12797         * i386.c (split_xf, ix86_split_movdi): Remove.
12798         (ix86_split_to_parts, ix86_split_long_move): New.
12799         * i386.md (dimode move splitters): Use ix86_split_long_move.
12800         (dfmode move splitters): Likewise.
12801         (xfmode move splitters): Likewise.
12802         (movsf_1): Allow F->r.
12803         (movdf_1, movxf_1): Allow F->ro.
12804
12805 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12806
12807         * except.h (struct eh_entry): Add goto_entry_p.
12808         (eh_region_from_symbol): Remove prototype.
12809         * except.c (find_func_region_from_symbol): New function.
12810         (emit_cleanup_handler): Likewise.
12811         (eh_region_from_symbol): Make it static.
12812         (add_new_handler): Verify the argument.
12813         (find_func_region): Update comment.
12814         (expand_eh_region_end): Expand handlers here, rater than waiting
12815         until expand_leftover_cleanups or start_all_catch.
12816         (expand_leftover_cleanups): Don't expand here.
12817         (expand_start_all_catch): Or here.
12818         (expand_rethrow): Check the return value from find_func_region.
12819         * function.c (expand_function_end): Emit the catch_clauses.
12820
12821 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12822
12823         * integrate.c (expand_inline_function): Add necessary check for NULL.
12824
12825 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12826
12827         * toplev.c (main): Correctly detect an unrecognised option.
12828
12829         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12830         a -f option if it has not been recognised.
12831
12832 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12833
12834         * basic-block.h (update_life_extent): Remove trailing comma on
12835         enumeration type list.
12836
12837 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12838
12839         * varasm.c (output_constructor) Solved problem with long long
12840         bitfields. Corrected calculating this_time and shift. Also
12841         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12842
12843 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12844
12845         * flow.c (split_edge): Take looping structure into account when
12846         determining where to put the new block note.
12847
12848 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12849
12850         * Makefile.in (ggc-none.o): Provide host specific version if
12851         needed.
12852
12853 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12854
12855         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12856         containing subregs too.
12857
12858 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12859
12860         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12861         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12862         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12863         (text_section): Add switches -munint-const-in-rodata and
12864         -mno-uninit-const-in-rodata.
12865         (ASM_OUTPUT_COMMON): Remove.
12866         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12867         const objects should be placed in read-only data. Otherwise declare
12868         them in common.
12869
12870 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12871
12872         * jump.c (jump_optimize_1): Revert last change.
12873
12874 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12875
12876         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12877         test if optimizing for size.
12878
12879 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12880
12881         * Makefile.in (toplev.o): Depend on except.h.
12882         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12883
12884 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12885
12886         * i386.md (divmodsi4): Rewrite to expander.
12887         (*divmodsi4_nocltd): New.
12888         (*divmodsi4_cltd): New.
12889         (divmodsi4 splitter): Handle the case when input comes in edx.
12890         (udivmodhi4): Do not use constraints in exander.
12891         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12892
12893 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12894
12895         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12896         for the common case.
12897
12898 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12899
12900         * explow.c (hard_function_value): Add outgoing argument.
12901         * expr.h (hard_function_value): Declare it.
12902         * calls.c (expand_call, emit_library_call_value): Update callers.
12903         * function.c (aggregate_value_p): Ditto.
12904         (diddle_return_value): Must look at the outgoing registers
12905         on archs with register windows.
12906
12907 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12908
12909         * alpha.c (alpha_build_va_list): Use make_lang_type and
12910         initialize TYPE_NAME for the va_list record.
12911
12912         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12913
12914         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12915         for printing.
12916         * ggc.h (struct ggc_statistics): Rearrange elements for better
12917         packing on 64-bit hosts.
12918         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12919         (compute_nearerout): Likewise.
12920
12921 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12922
12923         * config/rs6000/rs6000.c (first_reg_to_save): Save
12924         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12925
12926 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12927
12928         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12929         notion of nesting to find the DIE for a type or function.
12930         DIEs can go in limbo even if we got a context_die.
12931         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12932         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12933         for local type.
12934         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12935         (gen_type_die): Writing out the context doesn't cause member class
12936         template instantiations to be written out as well.
12937
12938 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12939
12940         * rs6000.h (ASM_OUTPUT_DEF): New.
12941         Based on proposed addition from David Edelsohn.
12942
12943 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12944             Bruce Korb  <autogen@linuxbox.com>
12945
12946         * fixinc/inclhack.def
12947         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12948         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12949                 in net/inet.h.
12950         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12951         (svr4_endian): enabled with SVR5
12952         (svr4_mkdev): simplified syntax and enabled with SVR5
12953
12954 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12955
12956         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12957         * configure: Rebuilt.
12958         * config/t-freebsd-thread: New file.
12959
12960 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12961
12962         * i386.c (ix86_decompose_address): Verify the base is a REG
12963         before trying to examine its register number.
12964
12965         * basic-block.h: Remove all #defines and prototypes related to
12966         integer lists.
12967         (free_bb_mem, compute_preds_succs): Remove prototype.
12968         * rtl.h (free_bb_mem): Remove prototype.
12969         * flow.c (alloc_int_list_node); Remove function.
12970         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12971         (compute_preds_succs, free_bb_mem): Likewise.
12972         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12973         * toplev.c (rest_of_compilation): Likewise.
12974         * haifa-sched.c (build_control_flow): Use flow generated edge
12975         list to build the haifa specific edge list.
12976         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12977         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12978         build the edge table.
12979
12980         * basic-block.h (dump_bb_data): Remove declaration.
12981         * flow.c (dump_bb_data): Remove function.
12982         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12983         (sbitmap_union_of_predsucc): Likewise.
12984
12985         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12986         argument.  All callers changed.
12987         (delete_null_pointer_checks_1): No longer need to compute the
12988         pred/succ lists.
12989
12990         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12991         All callers changed.
12992         (pre_expr_reaches_here_p_work): Likewise.
12993         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12994         * lcm.c (compute_laterin): Fix initialization of LATER.
12995         (compute_nearerout): Similarly for NEARER.
12996
12997 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12998
12999         * cse.c (set_nonvarying_address_components): Delete unused function.
13000         (refers_to_p): Likewise.
13001
13002 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
13003
13004         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
13005         needed.
13006
13007 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13008
13009         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
13010         definition in do while (0).
13011
13012 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
13013
13014         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
13015
13016 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
13017
13018         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
13019
13020 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
13021
13022         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
13023         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
13024         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
13025         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13026
13027         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13028         saved on the stack.  Output more accurate stack frame statistics
13029         into assembler file.
13030
13031 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
13032
13033         * genextract.c (record_insn_name): New function.
13034         (get_insn_name): No longer a stub.
13035         (main): Call record_insn_name for each insn.  After each label
13036         written, print the insn name in a comment.
13037
13038 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13039
13040         * output.h (const_section, init_section, fini_section): Add
13041         prototypes.
13042
13043         * alpha/elf.h (const_section): Delete declaration.
13044
13045         * svr4.h (const_section): Likewise.
13046
13047 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
13048
13049         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13050         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13051         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13052         expressions.
13053         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13054         variable-sized array bounds.
13055
13056 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
13057
13058         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
13059         ASM_OUTPUT_LABEL.
13060
13061 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13062
13063         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13064         addresses the same way GO_IF_LEGITIMATE_INDEX does.
13065
13066 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13067
13068         * cse.c (hash_arg_in_struct): Delete.
13069         (struct table_elt): Delete elt in_struct.
13070         (struct set): Delete elt src_in_struct.
13071         (merge_equiv_classes): Don't set either hash_arg_in_struct or
13072         the corresponding in_struct elts.
13073         (canon_hash): Likewise.
13074         (safe_hash): Likewise.
13075         (find_best_addr): Likewise.
13076         (record_jump_cond): Likewise.
13077         (cse_insn): Likewise.
13078
13079 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
13080
13081         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13082
13083         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13084         unsigned types.
13085
13086 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
13087
13088         * function.c (diddle_return_value): Put back check that the DECL_RTL
13089         for the function is a register.
13090
13091         * function.c (diddle_return_value): Use hard_function_value to
13092         get an rtx suitable for use in the USE/CLOBBER insn.
13093
13094         * global.c (global_conflicts): Update comments.
13095         (record_conflicts): No need to record conflicts between pseudos here.
13096
13097 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
13098
13099         * fixinc/fixincl.c: Added verbose levels for status messages
13100
13101 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13102
13103         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13104         operand as argument to expand_and or expand_binop.
13105
13106 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
13107
13108         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13109         gcc_add_string_root.
13110
13111 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
13112
13113         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13114
13115 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
13116
13117         * flow.c (compute_flow_dominators): Initially put all blocks on
13118         the worklist.
13119         * lcm.c (compute_antinout_edge, compute_available): Similarly.
13120         * gcse.c (compute_cprop_avinout): Remove.
13121         (compute_cprop_data): Use compute_available.
13122         (delete_null_pointer_checks_1): Use compute_available.
13123
13124         * basic-block.h (compute_available): Returns a void now.
13125         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13126         to return a value anymore.
13127         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13128         worklists.  Fix boundary cases. Compute maximal solutions.
13129         (compute_laterin, compute_nearerout): Similarly.
13130
13131         * dwarf2out.c (add_AT_location_description): Allow
13132         (mem (plus (pseudo) (...)) too.
13133
13134 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
13135
13136         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13137
13138 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
13139                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13140
13141         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13142
13143         * gansidecl.h: Likewise.
13144
13145         * rtl.c: Likewise.
13146
13147         * rtl.h: Likewise.
13148
13149         * toplev.h: Likewise.
13150
13151         * tree.c: Likewise.
13152
13153         * tree.h: Likewise.
13154
13155         * varray.c: Likewise.
13156
13157         * varray.h: Likewise.
13158
13159 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
13160
13161         * gcov.c (struct arcdata): Add hits and total, remove prob.
13162         (output_branch_counts): New.
13163         (process_args): Set output_branch_counts if -c.
13164         (calculate_branch_probs): Store hits and total instead of
13165         percentage.
13166         (output_data): Emit counts if output_branch_counts is true.
13167         * gcov.texi (Invoking Gcov): Document -c switch..
13168
13169 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
13170
13171         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
13172         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
13173
13174 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
13175
13176         * invoke.texi (C Dialect Options): Add missing builtins from
13177         c-common.c to list.
13178         * extend.texi (Other Builtins): Copy to this list.
13179
13180 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13181
13182         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13183         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
13184         redundant bitmap.h.
13185
13186 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
13187
13188         * flow.c (compute_flow_dominators): No longer treat basic block 0
13189         or (n_basic_blocks - 1) specially.  Clear the AUX field before
13190         starting computation of doms/pdoms.  Fix initial state for pdoms.
13191
13192 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13193
13194         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13195         match rtl.o's: added ggc.h and toplev.h
13196         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13197         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13198         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13199
13200 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
13201
13202         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13203         from HAVE_DOS_BASED_FILESYSTEM.
13204         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13205         HAVE_DOS_BASED_FILESYSTEM.
13206         (main): Likewise.
13207         (split_directories): Only special-case DOS file names if
13208         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
13209         instead of explicit tests.  Conditionalize on !VMS.
13210         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13211         tests.  Conditionalize on !VMS.
13212         (process_command): Only use make_relative_prefix if !VMS.
13213         (free_split_directories): Conditionalize on !VMS.
13214         (DIR_UP): Conditionalize on !VMS.
13215
13216 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13217
13218         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13219
13220 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13221
13222         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13223         case.
13224
13225 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13226
13227         * invoke.texi (Environment Variables): Document relative path
13228         lookup.
13229         * gcc.c (DIR_UP): If not defined, define as "..".
13230         (standard_bindir_prefix): New static, holds target location to
13231         install binaries.
13232         (split_directories): New function to split a filename into
13233         component directories.
13234         (free_split_directories): New function, release memory allocated
13235         by split_directories.
13236         (make_relative_prefix): New function, make a relative pathname if
13237         the compiler is not in the expected location.
13238         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13239         can figure out an appropriate prefix from argv[0].
13240         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13241         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13242         STANDARD_BINDIR_PREFIX.
13243
13244 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13245
13246         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13247         in c4x.c.
13248         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13249         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13250         c4x_secondary_memory_needed) Delete.
13251         (fp_zero_operand): Add mode argument.
13252
13253 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13254
13255         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13256         that is in reload_reg_used.
13257
13258 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13259
13260         * config/arm/arm-protos.h: New file: Prototypes for functions
13261         defined in arm.c and pe.c.
13262         * config/arm/arm.h: Fix compile time warnings.
13263         * config/arm/arm.c: Fix compile time warnings.
13264         * config/arm/pe.h: Fix compile time warnings.
13265         * config/arm/aout.h: Fix compile time warnings.
13266
13267 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13268
13269         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13270         defined in m32r.c
13271
13272         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13273         Add support for subtargets.
13274         Add prototypes for new predicates.
13275         Add scheduling macros.
13276
13277         * config/m32r/m32r.c: Fix compile time warnings.
13278         (int8_operand): New predicate function.
13279         (reg_or_cmp_int16_operand): New predicate function.
13280         (extend_operand): New predicate function.
13281         (m32r_adjust_code): New scheduling function.
13282         (m32r_adjust_priorty): New scheduling function.
13283         (m32r_sched_init): New scheduling function.
13284         (m32r_sched_reorder): New scheduling function.
13285         (m32r_sched_variable_issue): New scheduling function.
13286         (direct_return): New codegen function.
13287         (m32r_not_same_reg): New rtl testsing function.
13288
13289         * config/m32r/m32r.md: Fix compile time warnings.
13290         Add support for pre decrement and post increment memory
13291         references.
13292         Add S<cc> patterns.
13293         Add fabs patterns.
13294
13295 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13296
13297         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13298         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13299         (find_reg): Likewise.
13300
13301 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13302
13303         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13304         to avoid assembler errors.
13305
13306 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13307
13308         * config/v850/v850-protos.h: New file: Prototypes for functions
13309         defined in v850.c
13310         * config/v850/v850.h: Move prototypes to v850-protos.h
13311         * config/v850/v850.c: Move prototypes to v850-protos.h
13312         * config/v850/v850.md: Fix compile time warnings.
13313
13314         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13315         defined in fr30.c
13316         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13317         * config/fr30/fr30.c: Fix compile time warnings.
13318         * config/fr30/fr30.md: Fix compile time warnings.
13319
13320 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13321
13322         * tree.h (get_containing_scope): Declare it.
13323         * tree.c (get_containing_scope): New fucntion.
13324         (decl_function_context): Use it.
13325         * toplev.c (rest_of_compilation): Use get_containing_scope.
13326
13327 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13328
13329         * Makefile.in (rtl.o): Depend on toplev.h.
13330
13331 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13332
13333         * cse.c (delete_trivially_dead_insns): Replace alloca with
13334         xmalloc/xcalloc.
13335         * except.c (update_rethrow_references): Likewise.
13336         (init_eh_nesting_info): Likewise.
13337         * function.c (identify_blocks): Likewise.
13338         * gcse.c (dump_hash_table): Likewise.
13339         * graph.c (print_rtl_graph_with_bb): Likewise.
13340         * loop.c (combine_movables): Likewise.
13341         (move_movables): Likewise.
13342         (count_loop_regs_set): Likewise.
13343         (strength_reduce): Likewise.
13344         * profile.c (compute_branch_probabilities): New function, split
13345         out from ...
13346         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13347         * regclass.c (regclass): Likewise.
13348         * regmove.c (regmove_optimize): Likewise.
13349         * toplev.c (compile_file): Likewise.
13350         (main): Don't mess with the stack rlimit.
13351
13352 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13353
13354         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13355         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13356
13357 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13358
13359         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13360
13361 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13362
13363         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13364         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13365         macro expansion.
13366
13367 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13368
13369         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13370
13371 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13372
13373         * gcse.c (post_dominators): Kill.
13374         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13375         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13376         pass in a pdom array since we do not need pdoms.
13377         * haifa-sched.c (schedule_insns): Similarly.
13378         * flow.c (compute_dominators): Remove dead function.
13379         (compute_flow_dominators): Do not compute doms or pdoms if the
13380         caller does not request them.  Split up loop to build doms and
13381         pdoms.  Use a worklist to compute doms and pdoms.
13382         * basic-block.h (compute_dominators): Remove prototype.
13383
13384 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13385
13386         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13387         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13388         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13389         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13390         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13391         (schedule_region): Remove unused variable.
13392         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13393
13394 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13395
13396         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13397         (update_equiv_regs): Likewise.
13398         (block_alloc): Likewise.
13399         * reg-stack.c (reg_to_stack): Likewise.
13400         (convert_regs_2): Likewise.
13401         * reload1.c (reload_as_needed): Likewise.
13402
13403 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13404
13405         * Makefile.in (dbxout.o): Depend on ggc.h.
13406         (dwarf2out.o): Likewise.
13407         (xcoffout.o): Likewise.
13408         * dbxout.c: Include ggc.h.
13409         (dbxout_init): Register lastfile as a root.
13410         * dwarf2out.c: Include ggc.h.
13411         (dwarf2out_line): Register lastfile as a root.
13412         * xcoffout.c: Include ggc.h.
13413         (xcoffout_source_line): Register xcoff_lastfile as a root.
13414
13415 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13416
13417         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13418
13419 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13420
13421         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13422         defined.
13423         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13424
13425 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13426
13427         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13428         (EXECUTE_IF_CONFLICT): Likewise.
13429         (ALLOCNO_LIVE_P): Avoid signed division.
13430         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13431         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13432         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13433
13434 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13435
13436         * haifa-sched.c (schedule_block): Don't crash if there's no
13437         next insn for an interblock movement.
13438         (add_branch_dependences): Don't allow clobber insns to move either.
13439
13440 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13441
13442         * i386.c (split_xf): New.
13443         * i386-protos.h: Declare it.
13444         * i386.md (movxf_1): Add general regs alternatives.
13445         (movxf_1+1): New splitter for same.
13446
13447 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13448
13449         * function.c (purge_addressof_1): Add missing return values.
13450
13451 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13452
13453         * function.c (is_addressof): New function.  Returns true if
13454         the given piece of RTL is an ADDRESSOF.
13455         (purge_addressof_1): Make boolean.  Return false if the
13456         ADDRESSOFs could not be purged.
13457         (purge_addressof): If ADDRESSOFs could not be purged from the
13458         notes attached to an insn, remove the offending note(s),
13459         unless they are attached to a libcall.
13460
13461 1999-11-05  Andreas Jaeger  <aj@suse.de>
13462
13463         * genoutput.c (null_operand =): Initialize all fields.
13464
13465         * errors.h: Add extern to prototypes.
13466
13467 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13468
13469         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13470         * configure: Rebuilt.
13471
13472 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13473
13474         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13475         (mirror_conflicts): New function.
13476         (global_alloc): Call it.
13477         (expand_preferences): Remove redundant CONFLICTP test.
13478         (find_reg, dump_conflicts): Likewise.
13479         (prune_preferences): Process conflicts one word at a time.
13480
13481 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13482
13483         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13484         instead of an explicit loop.
13485
13486 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13487
13488         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13489         if REG_RETVAL check succeeds, then put classp in src_elt.
13490
13491 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13492
13493         * function.c (pad_to_arg_alignment): Only update argument_pad
13494         if the argument's alignment is greater than STACK_BOUNDARY.
13495
13496 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13497
13498         * bitmap.h (BITMAP_XFREE): New.
13499         * flow.c (life_analysis): Use it.
13500         (life_analysis_1): Free blocks.
13501
13502         * combine.c (undo_commit): New.
13503         (try_combine): Use it.  Don't zap undobuf.undos.
13504         (combine_instructions): Don't zap undobuf.undos; free the
13505         undobuf.frees list.
13506
13507         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13508
13509         * stmt.c (cost_table_): New.
13510         (estimate_case_costs): Use it instead of xmalloc.
13511
13512         * toplev.c (compile_file): Reuse dumpname memory instead
13513         of strdup'ing it.
13514
13515 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13516
13517         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13518         after verifying an EH edge.
13519
13520         * haifa-sched.c (init_rgn_data_dependences): Correctly
13521         size bb_pending_lists_length when zeroing.
13522
13523 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13524
13525         * function.c (diddle_return_value): New.
13526         (expand_function_end): Use it.
13527         * stmt.c (expand_null_return): Likewise.
13528         (expand_value_return): Likewise.
13529
13530         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13531
13532         * reload1.c (reload): Don't remove return value clobbers.
13533
13534 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13535
13536         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13537
13538 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13539
13540         * cse.c (cse_main): Use xmalloc, not alloca.
13541         (cse_basic_block): Likewise.
13542         * local-alloc.c (local_alloc): Likewise.
13543
13544 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13545                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13546
13547         * rtl.c: Include toplev.h.
13548         (fatal): Remove declaration.
13549
13550 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13551
13552         * haifa-sched.c (schedule_block): Fix thinko.
13553
13554 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13555
13556         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13557         S_IR* defined values
13558
13559 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13560
13561         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13562         call `malloc' instead.
13563
13564 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13565
13566         * flags.h (flag_renumber_insns): Declare.
13567         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13568         renumbering table.
13569         * rtl.h (renumber_insns): Change prototype.
13570         * toplev.c (flag_renumber_insns): Define.
13571         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13572
13573 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13574
13575         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13576         and fpsqrtd.  Use them and create fdiv function unit to more
13577         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13578         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13579
13580 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13581
13582         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13583         3 on UltraSparc.
13584         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13585         insn into ready list, do not use just a raw swap.
13586
13587 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13588
13589         * rtl.h (renumber_insns): New function.
13590         (remove_unnecessary_notes): Likewise.
13591         * emit-rtl.c (renumber_insns): Define.
13592         (remove_unncessary_notes): Likewise.
13593         * toplev.c (rest_of_compilation): Remove dead code.
13594         Use renumber_insns and remove_unncessary_notes.
13595
13596         * gcse.c (struct null_pointer_info): New type.
13597         (get_bitmap_width): New function.
13598         (current_block): Remove.
13599         (nonnull_local): Likewise.
13600         (nonnull_killed): Likewise.
13601         (invalidate_nonnull_info): Take a null_pointer_info as input.
13602         (delete_null_pointer_checks_1): New function.
13603         (delete_null_pointer_checks): Use it.
13604
13605         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13606         (split_edges): Likewise.
13607         (schedule_block): Likewise.
13608         (compute_block_backward_dependencies): Likewise.
13609         (schedule_region): Likewise.
13610         (schedule_insns): Likewise.
13611
13612 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13613
13614         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13615         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13616         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13617         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13618         * jump.c (delete_unreferenced_labels): Don't delete if
13619         LABEL_ALTERNATE_NAME is set.
13620         * print-rtl.c (print_rtx): Dump alternate name.
13621         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13622         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13623         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13624         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13625
13626 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13627
13628         * fix-header.c (recognized_extern, recognized_function): Constify
13629         a char*.
13630
13631         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13632         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13633         (compute_available): Remove unused variable `last'.
13634         (compute_nearerout): Remove unused variable `temp_bitmap'.
13635         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13636         Remove unused variable `x'.
13637
13638         * scan.h (recognized_function, recognized_extern): Constify a
13639         char*.
13640
13641         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13642
13643 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13644
13645         * varasm.c (decode_rtx_const): Use XSTR to access the string
13646         of a SYMBOL_REF.
13647
13648 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13649
13650         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13651
13652 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13653
13654         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13655
13656 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13657
13658         * pa.c (ireg_operand): New function.
13659         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13660         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13661         Fix out of date comment.
13662
13663         * pa.md (negdi2): Turn into expander + anonymous pattern.
13664
13665         * reload.c (find_reloads): Fix typos in recent change.
13666
13667         * dwarf2out.c: Do not include ctype.h.
13668
13669 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13670
13671         * regclass.c (record_reg_classes): Always use may_move_cost when
13672         seeing how operand fits with various register classes.
13673
13674 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13675
13676         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13677         * toplev.c: Revert Nov 1 13:22 change.
13678
13679 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13680
13681         * config/pa/pa.md (height reduction patterns): Add checks for
13682         overlapping operands to avoid semantic-destroying splits for
13683         height reduction patterns.
13684
13685 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13686
13687         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13688         have been an hyphen, fixed.
13689         * configure: Rebuilt.
13690
13691 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13692
13693         * config/arm/tpe.h: Add prototypes for exported functions.
13694         * config/arm/pe.c: Fix compile time warnings.
13695         * config/arm/semi.h: Fix compile time warnings.
13696         * config/arm/arm.c: Fix compile time warnings.
13697         * config/arm/arm.h: Fix compile time warnings.
13698         * config/arm/arm.md: Fix compile time warnings.
13699         * config/arm/thumb.c: Fix compile time warnings.
13700         * config/arm/thumb.h: Fix compile time warnings.
13701         * config/arm/thumb.md: Fix compile time warnings.
13702
13703 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13704
13705         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13706         detection code
13707
13708         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13709         completely unrolled.
13710
13711 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13712
13713         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13714
13715 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13716
13717         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13718         * rtl.h (rtx_equal_p): Move prototype.
13719         * rtl.c (rtx_equal_function_value_matters): Move from
13720         rtlanal.c
13721         (rtx_equal_p): Likewise.
13722         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13723         (rtx_equal_p): Likewise.
13724
13725 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13726
13727         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13728         ! HAS_INIT_SECTION.
13729
13730 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13731
13732         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13733
13734         * pa.h (ADDR_VEC_ALIGN): Define.
13735
13736         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13737         notes when presented with "if (foo) break; end_of_loop" and
13738         the break sequence gets moved out of the loop.
13739
13740         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13741         Remove explicit zero initializations of entries within MAP.
13742
13743 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13744
13745         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13746
13747 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13748
13749         * bitmap.h (BITMAP_XMALLOC): New macro.
13750         * flow.c (CLEAN_ALLOCA): Remove.
13751         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13752         (life_analysis): Likewise.
13753         (update_life_info): Don't use CLEAN_ALLOCA.
13754         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13755         (calculate_global_regs_live): Likewise.
13756         (print_rtl_with_bb): Likewise.
13757         (verify_flow_info): Likewise.
13758         * global.c (global_alloc): Likewise.
13759         (global_conflicts): Likewise.
13760         * integrate.c (save_for_inline_nocopy): Likewise.
13761         (expand_inline_function): Likewise.
13762         * jump.c (jump_optimize_1): Likewise.
13763         (duplicate_loop_exit_test): Likewise.
13764         (thread_jumps): Likewise.
13765         * loop.c (loop_optimize): Likewise.
13766         (combine_givs): Likewise.
13767         (recombine_givs): Likewise.
13768         * reorg.c (dbr_schedule): Likewise.
13769         * unroll.c (unroll_loop): Likewise.
13770
13771         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13772
13773 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13774
13775         * toplev.c (rest_of_compilation): Don't optimize the CFG
13776         when rebuilding, just before dbr.
13777
13778 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13779
13780         * output.h (assemble_end_function, assemble_destructor,
13781         assemble_constructor, assemble_gc_entry, assemble_global,
13782         assemble_label, output_constant_pool) Constify a char*.
13783
13784         * varasm.c (assemble_destructor, assemble_constructor,
13785         assemble_gc_entry, assemble_end_function, assemble_global,
13786         assemble_label, output_constant_pool): Likewise.
13787
13788 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13789
13790         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13791         explaining what is goin on in this function.
13792
13793 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13794
13795         * regclass.c (record_reg_classes): In matching case, recompute
13796         costs since the direction of movement is different.
13797
13798 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13799
13800         * resource.c (mark_target_live_regs): For unconditional branches,
13801         the resources found at the branch target should be added to the
13802         resources found so far, not intersected.
13803
13804 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13805
13806         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13807         old cpp's.
13808         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13809         (sys/mman.h): Include this file only if #HAVE_MMAP.
13810         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13811         with automatically concatenated ANSI strings.
13812
13813 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13814
13815         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13816         (DIV_ROUND_UP): Robustify.
13817         (ggc_recalculate_in_use_p): New function.
13818         (release_pages): Don't inline it.
13819         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13820         outer contexts.
13821         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13822         (clear_marks): Always save in_use_p.
13823         (sweep_pages): Use ggc_recalculate_in_use_p.
13824         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13825         Release pages before counting statistics.
13826
13827 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13828
13829         * toplev.c (rest_of_compilation): Fix thinko in this change:
13830
13831         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13832
13833         (rest_of_compilation): If inside an inlined external function,
13834         pretend we are just being declared.
13835
13836 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13837
13838         * flow.c (calculate_global_regs_live): Fix thinko.
13839
13840         * integrate.c (expand_inline_function): Fix bugs in previous
13841         change from Oct 28, 1999.
13842
13843 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13844
13845         * stmt.c (expand_value_return): Fix typo in this change:
13846
13847         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13848         (expand_value_return): Correctly convert VAL when promoting function
13849         return; support RETURN_REG being a PARALLEL.
13850
13851 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13852
13853         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13854
13855 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13856
13857         * hard-reg-set.h (reg_names): Constify a char*.
13858
13859         * regclass.c  (reg_names): Likewise.
13860
13861         * regs.h (reg_names): Likewise
13862
13863         * a29k/a29k.c (reg_names): Delete declaration.
13864
13865         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13866
13867         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13868         arc_output_function_epilogue): Likewise.
13869
13870         * elxsi/elxsi.c (reg_names): Likewise.
13871
13872         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13873
13874         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13875         Likewise.
13876
13877         * m88k/m88k.c (output_function_profiler): Likewise.
13878
13879         * sparc/sparc.c (sparc_flat_output_function_prologue,
13880         sparc_flat_output_function_epilogue): Likewise.
13881
13882 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13883
13884         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13885         warning from -Wuninitialized and put it under -W.
13886         * function.c (uninitialized_vars_warning): Warn only when the
13887         corresponding flag is set.
13888
13889 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13890
13891         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13892         is nonzero and the single set does not have an elt, then assign
13893         it an elt.
13894
13895         * simplify-rtx.c: New file.
13896         * Makefile.in (OBJS): Add simplify-rtx.o
13897         (simplify-rtx.o): Add dependencies.
13898         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13899         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13900         (cse_gen_binary, simplify_unary_operation): Delete.
13901         (simplify_binary_operation, simplify_plus_minus): Likewise.
13902         (check_fold_consts, simplify_relation_operation): Likewise.
13903         (simplify_ternary_operation): Likewise.
13904         (delete_trivially_dead_insns): Simplify the contents of the
13905         REG_EQUAL note before trying to substitute it into the source
13906         of the reg-reg copy at the end of a libcall sequence.
13907
13908         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13909         references/callers changed.
13910
13911         * mn10200.c (mn10200_va_arg): Force the return value into a
13912         register.
13913
13914         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13915
13916         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13917         arguments.
13918
13919 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13920
13921         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13922
13923 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13924
13925         * fold-const.c (fold): Fix thinko when optimizing comparisons
13926         against -0.0.
13927
13928 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13929
13930         * gcc.texi (Passes): Update front-end files to their current
13931         location.
13932
13933 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13934
13935         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13936         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13937         (PREDICATE_CODES): Add addition_operation.
13938         * alpha-protos.h (addition_operation): Declare.
13939         (secondary_reload_class): Likewise.
13940         * alpha.c (addition_operation): New.
13941         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13942         * alpha.md (adddi3): Turn into expander.
13943         (*lda, *adddi_2): New.
13944         (movsf, movdf patterns): Don't preference integer regs.
13945         (movsi, movdi patterns): Don't preference fp regs.
13946
13947 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13948
13949         * genrecog.c (write_switch): Check for duplicate CODE cases.
13950
13951 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13952
13953         * ggc-common.c: Update pre-function commentary.
13954         * ggc-page.c: Likewise.
13955         (poison): Remove.
13956         (poison_pages): Use memset directly.
13957         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13958         (ggc_collect): Poison before sweeping.
13959         * ggc-simple.c: Update pre-function commentary.
13960         (ggc_alloc_obj): Poison non-zeroed memory.
13961
13962 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13963
13964         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13965         match format string, even on 64-bit hosts.
13966         * gcc-page.c (ggc_page_print_statistics): Likewise.
13967
13968 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13969
13970         * config/i386/i386.c (ix86_cpu): Revert last patch.
13971         * config/i386/i386.h (ix86_cpu): Ditto.
13972
13973 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13974
13975         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13976         TYPE_SIZE, convert type of result to sizetype.
13977
13978 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13979
13980         * flow.c (count_or_remove_death_notes): Equate NULL with the
13981         universal set.
13982
13983         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13984         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13985         dbr_schedule.
13986
13987         * i386.c (pic_label_no): Delete.
13988         (ix86_attr_length_default): Don't use single_set to peek
13989         inside a parallel.
13990
13991         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13992         the first insn after bb->end.
13993         * i386.md (push mem peeps): Scratch is live after evaluation
13994         of the memory.
13995         (cmp mem peep): Similarly.
13996
13997 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13998
13999         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
14000         * function.c (pad_to_arg_alignment): Add missing braces.
14001
14002 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14003
14004         * alpha/alpha-protos.h (literal_section): Add prototype.
14005         (alpha_need_linkage, alpha_start_function,alpha_end_function):
14006         Constify a char*.
14007
14008         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
14009         prototype.
14010         (alpha_start_function, alpha_end_function, float_strings,
14011         alpha_need_linkage): Constify a char*
14012
14013         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
14014
14015         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
14016
14017         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
14018
14019         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
14020
14021 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14022
14023         * flow.c (debug_flow_info): Add prototype.
14024
14025         * gcc.c (main): Likewise.
14026
14027         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14028         Likewise.
14029
14030         * reload1.c (failed_reload, set_reload_reg): Likewise.
14031
14032         * mips-tfile.c (main): Likewise.
14033         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14034         with ATTRIBUTE_NORETURN.
14035
14036 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
14037
14038         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14039         DECL is not a memory ref.
14040
14041 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
14042
14043         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14044         * config/i386/i386.c (ix86_cpu): Add extern attribute.
14045
14046 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
14047
14048         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14049         * config/mips/elf64.h: ditto.
14050
14051 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
14052
14053         * expr.c (emit_push_insn): New argument alignment_pad.
14054         Update all callers.  Adjust stack pointer based on alignment pad.
14055         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
14056         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
14057         (locate_and_pad_parm): New argument alignment_pad.  Update all
14058         callers.
14059         * expr.h (emit_push_insn): Update prototype.
14060         (locate_and_pad_parm): Update prototype.
14061         * calls.c (arg_data):  Add new field alignment_pad.
14062         (initialize_argument_information): Initialize alignment_pad.
14063
14064 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
14065
14066         * except.c (free_eh_nesting_info): Free the info itself.
14067         * function.c (free_after_compilation): Don't free NULL.
14068         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14069         (pre_edge_insert): Free inserted.
14070         * stmt.c (free_stmt_status): Don't free NULL.
14071
14072 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14073
14074         * gcov.c (DIR_SEPARATOR): Provide default.
14075         (output_data): Add test for MS-DOS format absolute filename.
14076         (fancy_abort): Correct program name.
14077         (open_files): Open all files in binary mode.
14078         * libgcc2.c (__bb_exit_func): Likewise.
14079
14080         * profile.c (init_branch_prob): Specify binary when opening files.
14081
14082         * flags.h (flag_unwind_tables): New decl.
14083         * toplev.c (flag_unwind_table): New definition.
14084         (f_options): Add -funwind-tables.
14085         (decode_g_option): Clarify warning when unknown -g option is given.
14086         (rest_of_compilation): If inside an inlined external function,
14087         pretend we are just being declared.
14088
14089         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14090         (dwarf2out_frame_finish): Likewise.
14091
14092 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
14093
14094         * fold-const.c (merge_ranges): If not in0, but in1, handle
14095         upper bounds equal like subset case.
14096
14097 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
14098
14099         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14100         passed in a register but moved to the stack.
14101
14102 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
14103
14104         * gcc.c (pass_exit_codes, greatest_status): New variables.
14105         (struct option_map): Add entry for "--pass-exit-codes".
14106         (execute): Update greatest_status if error.
14107         (display_help): Add documentation for -pass-exit-codes.
14108         (process_command): Handle -pass-exit-codes.
14109         (main): Look at pass_exit_codes and greatest_status on call to exit.
14110
14111 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14112
14113         * reload.c (find_reloads): Refine test for no input reload
14114         case to not includes reloads emitted after insn.
14115
14116         * function.c (find_temp_slots_from_address): Handle sum involving
14117         a register that points to a temp slot.
14118         (update_temp_slot_address): Make recursive call if both old and
14119         new are PLUS with a common operand.
14120         * calls.c (expand_call): Mark temp slot for result as having
14121         address taken.
14122
14123         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14124
14125         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14126         component as well as "BINUTILS".
14127
14128         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14129         * integrate.c (copy_rtx_and_substitute): Likewise.
14130         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14131         All callers changed.
14132         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14133
14134         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14135         gdb extensions, write size of type; also be more consistent
14136         in using references when this is a subtype.
14137
14138         * pa.md (extv, extzv, insv): Use define_expand to reject constant
14139         that is out of range.
14140
14141         * loop.c (unknown_constant_address_altered): New variable.
14142         (prescan_loop): Initialize it.
14143         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
14144         (invariant_p, case MEM): Remove handling for volatile and readonly;
14145         check new variable if readonly.
14146         (check_dbra_loop): Chdeck unknown_constant_address_altered.
14147
14148         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
14149         (addr_affects_sp_p): Removed from note_mem_written and only
14150         define #ifdef AUTO_INC_DEC.
14151
14152         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
14153
14154         * regclass.c (record_reg_classes): Properly handle register move
14155         directions.
14156
14157         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
14158         Don't think valid if both operands are invalid.
14159         (struct constant_descriptor): New field RTL.
14160         (mark_const_hash_entry): Mark it.
14161         (record_constant{,_rtx}): Initialize it.
14162         (output_constant_def): Allocate RTL in permanent obstack and
14163         save in table.
14164         ({record,compare}_constant_1): Modes must match for
14165         CONSTRUCTOR of ARRAY_TYPE.
14166
14167         * c-common.h (initializer_constant_valid_p): Delete decl from here.
14168         * output.h (initializer_constant_valid_p): Move decl to here.
14169         * c-common.c (initializer_constant_valid_p): Delete function from here.
14170         * varasm.c (initializer_constant_valid_p): Move function to here.
14171
14172         * tree.h (STRIP_SIGN_NOPS): New macro.
14173         * fold-const.c (optimize_minmax_comparison): New function.
14174         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14175         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14176         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14177         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14178         widening conversions.
14179         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14180         to look at size of mode, not precision of type; also add missing cases.
14181         (optimize_bit_field_compare, decode_field_reference): Don't try to
14182         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14183
14184         * dwarf2out.c (ctype.h): Include.
14185         (dwarf2out_set_demangle_name_func): New function.
14186         (size_of_line_info): Deleted.
14187         (output_line_info): Compute size of line info table from difference
14188         of labels.
14189         (base_type_die, add_name_attribute): Call demangle function, if any.
14190         (field_byte_offset): Use bits per word for variable length fields.
14191         (gen_array_type_die): Add array name.
14192         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14193         (dwarf2out_add_library_unit_info): New function.
14194
14195         * explow.c (set_stack_check_libfunc): New function.
14196         (stack_check_libfunc): New static variable.
14197         (probe_stack_range): Allow front-end to set up a libfunc to call.
14198
14199         * combine.c (simplify_comparison): When making comparison in wider
14200         mode, check for having commuted an AND and a SUBREG.
14201         (contains_muldiv): New function.
14202         (try_combine): Call it when dividing a PARALLEL.
14203         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14204         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14205         a PLUS.
14206         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14207         use one of the CLOBBERs instead.
14208         (if_then_else_cond): If comparing against zero, just return thing
14209         being compared.
14210
14211         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14212         Don't generate shifts and subtract if have conditional arithmetic.
14213
14214         * rtl.h (delete_barrier): New declaration.
14215         * jump.c (jump_optimize): Set up to handle conditional call.
14216         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14217         (delete_barrier): New function.
14218
14219         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14220
14221         * recog.c (nonmemory_operand): Accept ADDRESSOF.
14222
14223         * tree.c (build_type_attribute_variant): Push to obstack of
14224         ttype around type_hash_canon call.
14225
14226         * expr.c (placeholder_list): Move decl to file scope.
14227         (expand_expr): Don't force access to volatile just because its
14228         address is taken.
14229         If ignoring reference operations, just expand the operands.
14230         (expand_expr, case COMPONENT_REF): Propagate
14231         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14232         Refine test for using bitfield operations vs pointer punning.
14233         (expand_expr, case CONVERT_EXPR): If converting to
14234         BLKmode UNION_TYPE from BLKmode, just return inner object.
14235         Use proper mode in store_field call.
14236         Properly set sizes of object to store and total size in store_field
14237         call for convert to union.
14238         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14239         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14240         we'll want it in memory.
14241         (readonly_fields_p): New function.
14242         (expand_expr, case INDIRECT_REF): Call it if LHS.
14243         (expand_assignment): Handle a RESULT_DECL where
14244         DECL_RTL is a PARALLEL.
14245         (do_jump, case WITH_RECORD_EXPR): New case.
14246         (get_inner_reference): Always go inside a CONVERT_EXPR
14247         and NOP_EXPR if both modes are the same.
14248         (store_field): Use bitfield operations if size of bitsize is not same
14249         as size of RHS's type.
14250         Check for bitpos not a multiple of alignment in BLKmode case.
14251         Do block move in largest possible alignment.
14252         (store_constructor): Set BITSIZE to -1 for variable size and properly
14253         in case of array of BLKmode.
14254         (expand_expr_unaligned): New function.
14255         (do_compare_and_jump): Call it.
14256
14257         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14258         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14259         does not include 'o'.
14260
14261         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14262         both SET_DEST and SET_SRC reference a virtual register.
14263         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14264
14265         * integrate.c (expand_inline_function): Handle case of setting
14266         virtual stack vars register (from built in setjmp); when parameter
14267         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14268         (subst_constant): Add new parm, MEMONLY.
14269         (expand_inline_function, integrate_parm_decls): Pass new parm.
14270         (integrate_decl_tree): Likewise.
14271         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14272         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14273         (copy_rtx_and_substitute, case SET): Add explicit calls to
14274         copy_rtx_and_substitute for both sides.
14275
14276         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14277         constraints.
14278         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14279         within INDEX_TYPE, instead of before.
14280         (fixup_gotos): Use f->target_rtl, not the next insn,
14281         since latter may be from a later fixup.
14282         (expand_value_return): Correctly convert VAL when promoting function
14283         return; support RETURN_REG being a PARALLEL.
14284         (expand_return): When checking for result in regs and having
14285         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14286
14287 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14288
14289         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14290         last_nominal_fname): Mark const.
14291         (struct include_hash: name, nshort, control_macro): Mark
14292         const.
14293         (struct macrodef: symnam): Mark const.
14294         (struct if_stack: fname): Mark const.
14295         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14296         (IStable): New character-syntax array which encompasses all
14297         the old is_foo arrays.
14298         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14299         is_space): New macros for interrogating IStable.
14300         (check_macro_name): Kill last argument.  All callers changed.
14301
14302         * cppinit.c (initialize_char_syntax): Delete.
14303         (is_idchar, is_idstart, is_hor_space, is_space,
14304         trigraph_table): Delete.
14305         (IStable): New.  Initialize with clever macros to avoid
14306         information duplication.
14307         (builtin_array): Table of builtins to get rid of explicit list
14308         in initialize_builtins.
14309         (initialize_builtins): Use builtins_array.
14310         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14311         opts->dollars_in_ident.
14312
14313         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14314         is_xyz() macros.
14315         (cpp_parse_expr): Avoid 'format string is not constant'
14316         warning. Use ISGRAPH to identify printable chars.
14317         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14318         is_xyz() macros.
14319         (read_and_prescan): Map trigraphs to chars with open-coded
14320         if-else-if-... sequence, not a lookup table.
14321         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14322         is_xyz() macros.
14323         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14324         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14325         (check_macro_name): Remove ability to report an invalid
14326         assertion name, which is never used.
14327         (do_line): Constify a couple of char *'s.
14328         * cppmain.c (main): Call cpp_cleanup before returning.
14329
14330 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14331
14332         * ggc.h (struct ggc_statistics): New type.
14333         (ggc_get_size): New function.
14334         (ggc_print_statistics): Likewise.
14335         * ggc-common.c (ggc_stats): New variable.
14336         (ggc_mark_rtx_children): Keep statistics.
14337         (ggc_mark_tree_children): Likewise.
14338         (ggc_print_statistics): New function.
14339         * ggc-page.c (struct globals): Add bytes_mapped field.
14340         (alloc_anon): Update it.
14341         (release_pages): Likewise.
14342         (ggc_get_size): New function.
14343         (ggc_page_print_statistics): New function.
14344         * ggc-simple.c (ggc_get_size): New function.
14345
14346 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14347
14348         * flow.c (propagate_block): When the last reference to a label
14349         before an ADDR_VEC is deleted because the reference is a dead
14350         store, delete the ADDR_VEC.
14351
14352 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14353
14354         * resource.c (find_free_register): Don't use the frame pointer
14355         if frame_pointer_needed.
14356
14357 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14358
14359         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14360         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14361
14362         * config/i960/i960.c (i960_va_start): New locals base, num.
14363         Use INDIRECT_REF instead of ARRAY_REF on valist.
14364         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14365
14366 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14367
14368         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14369
14370 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14371
14372         * tree.def (PLACEHOLDER_EXPR): Update comments.
14373
14374 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14375
14376         * c-common.c (check_format_info): Avoid non-literal format string
14377         warnings when `first_arg_num' is zero.
14378
14379 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14380
14381         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14382
14383 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14384
14385         * arm.md (casesi_insn): Add a clobber of the condition code
14386         register.
14387
14388 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14389
14390         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14391         used by both cc1 and cc1plus.
14392
14393 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14394
14395         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14396         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14397         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14398         to the value 32 if it has not already been defined.
14399         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14400         Override definition in arm.h with a value of 8.
14401
14402 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14403
14404         * c-pragma.c (push_alignment): Don't check the return value
14405         of xmalloc.
14406
14407 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14408
14409         * sparc.h (ADJUST_COST): Fix thinko.
14410
14411 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14412
14413         * cccp.c (rescan): Fixed obp pointer handling around call to
14414         check_expand subroutine.
14415
14416 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14417
14418         * gcse.c (delete_null_pointer_checks): Only record non-null info
14419         for pseudos when examining stores.
14420
14421         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14422         splitters for these patterns.  Use "#" for output templates.
14423         (addsi3_carryin_shift): New pattern.
14424
14425 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14426
14427         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14428         of the function return register into a plain REG until
14429         after function inlining is done.
14430
14431 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14432
14433         * jump.c (jump_optimize_1): If we did cross-jumping, and
14434         the data will matter, rebuild the CFG.
14435         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14436         not optimizing.  Don't run shorten_branches.
14437         * toplev.c (rest_of_compilation): Run shorten_branches after
14438         reg_to_stack.
14439
14440 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14441
14442         * rtl.h (note_stores): Add additional paramter.
14443         * rtlanal.c (reg_set_p_1): Take additional paramter.
14444         (reg_set_last_1): Likewise.
14445         (reg_set_p): Adjust call to note_stores.
14446         (reg_set_last): Likewise.
14447         (note_stores): Pass data parameter to worker function.
14448         * alias.c (record_set): Take additional parameter.
14449         (init_alias_analysis): Pass it.
14450         * caller-save.c (mark_set_regs): Take additional parameter.
14451         (save_call_clobbered_regs): Pass NULL to note_stores.
14452         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14453         parameter.
14454         (record_dead_and_set_regs_1): Likewise.
14455         (reg_dead_at_p_1): Likewise.
14456         (combine_instructions): Adjust calls to note_stores.
14457         (try_combine): Likewise.
14458         (record_dead_insn): Remove.
14459         (record_dead_and_set_regs): Adjust calls to note_stores.
14460         (reg_dead_at_p): Likewise.
14461         * cse.c (invalidate_skipped_set): Take additional parameter.
14462         (cse_check_loop_start): Likewise.
14463         (cse_check_loop_start_value): Remove.
14464         (cse_set_around_loop): Adjust calls to note_stores.
14465         * flow.c (notice_stack_pointer_modification): Take additional
14466         parameter.  Remove duplicate declaration.
14467         (record_volatile_insns): Adjust calls to note_stores.
14468         * gcse.c (record_set_info): Take additional parameter.
14469         (record_last_set_info): Likewise.
14470         (invalidate_nonnull_info): Likewise.
14471         (record_set_insn): Remove.
14472         (compute_sets): Adjust calls to note_stores.
14473         (last_set_insn): Remove.
14474         (compute_hash_table): Adjust calls to note_stores.
14475         (insert_insn_end_bb): Likewise.
14476         (delete_null_pointer_checks): Likewise.
14477         * global.c (mark_reg_store): Take additional parameter.
14478         (mark_reg_clobber): Likewise.
14479         (reg_becomes_live): Likewise.
14480         (global_conflicts): Adjust calls to note_stores.
14481         (build_insn_chain): Likewise.
14482         * integrate.c (note_modified_parmregs): Take additional parameter.
14483         (mark_stores): Likewise.  Make it static.
14484         (save_for_inline_nocopy): Adjust calls to note_stores.
14485         (try_constants): Likewise.
14486         * integrate.h (mark_stores): Remove declaration.
14487         * jump.c (mark_modified_reg): Take additional parameter.
14488         (thread_jumps): Adjust calls to note_stores.
14489         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14490         parameter.
14491         (no_equiv): Likewise.
14492         (reg_is_set): Likewise.
14493         (validate_equiv_mem): Adjust calls to note_stores.
14494         (update_equiv_regs): Likewise.
14495         (block_alloc): Likewise.
14496         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14497         (note_addr_stored): Take additional parameter.
14498         (note_set_pseudo_multiple_uses): Likewise.
14499         (record_initial): Likewise.
14500         (prescan_loop): Adjust calls to note_stores.
14501         (strength_reduce): Likewise.
14502         (check_dbra_loop): Likewise.
14503         * regmove.c (flags_set_1): Take additional paramter.
14504         (mark_flags_life_zones): Adjust calls to note_stores.
14505         * reload1.c (mark_not_eliminable): Take additional parameter.
14506         (forget_old_reloads_1): Likewise.
14507         (reload_cse_invalidate_rtx): Likewise.
14508         (reload_cse_check_clobber): Likewise.
14509         (reload_combine_note_store): Likewise.
14510         (move2add_note_store): Likewise.
14511         (reload): Adjust calls to note_stores.
14512         (reload_as_needed): Likewise.
14513         (emit_reload_insns): Likewise.
14514         (reload_cse_regs_1): Likewise.
14515         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14516         (reload_combine): Adjust calls to note_stores.
14517         * resource.c (update_live_status): Take additional paramter.
14518         (mark_target_live_regs): Adjust calls to note_stores.
14519         * stupid.c (find_clobbered_regs): Take additional parameter.
14520         (stupid_life_analysis): Adjust calls to note_stores.
14521
14522 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14523
14524         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14525         definition.
14526
14527         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14528         definition.
14529
14530         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14531         of the variable arm_structure_size_boundary.
14532
14533 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14534
14535         * alias.c (init_alias_analysis): Allocate reg_known_value and
14536         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14537         and reg_seen.
14538         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14539         * cse.c (cse_main): Call end_alias_analysis.
14540         * haifa-sched.c (schedule_insns): Likewise.
14541         * local-alloc. (update_equiv_regs): Likewise.
14542         * reload1.c (reload_cse_regs): Likewise.
14543
14544 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14545
14546         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14547         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14548         mapping from MASK_FPU.
14549
14550 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14551
14552         * sparc.md (call): Don't bound structure return size to 0xfff.
14553
14554 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14555
14556         * resource.c (mark_target_live_regs): Check that the target
14557         insn wasn't created after compute_bb_for_insn.
14558
14559 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14560
14561         * ggc-page.c (poison_pages): Don't be overzealous.
14562
14563 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14564
14565         * alias.c: Update comments for ADDRESS.
14566         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14567         it is a local memory reference.
14568
14569         * c-typeck.c (build_function_call): Check that the built-in
14570         function is of class BUILT_IN_NORMAL before trying to recongize
14571         it as BUILT_IN_ABS.
14572         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14573         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14574
14575 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14576
14577         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14578         of alloca.
14579         (pre_gcse): Likewise.
14580         (hoist_expr_reaches_here_p): Likewise.
14581         (hoist_code): Likewise.
14582         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14583         code to ...
14584         (pre_expr_reaches_here_p_work): ... here.
14585         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14586         code to ...
14587         (expr_reaches_here_p_work): ... here.
14588
14589 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14590
14591         * resource.c (find_basic_block): Delete.
14592         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14593         (init_resource_info): Call compute_bb_for_insn.
14594
14595 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14596
14597         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14598         with already adjacent blocks, but no fallthru.
14599         (merge_blocks_move_successor_nojumps): Simplify.
14600         (debug_flow_info): New.
14601
14602         * toplev.c (rest_of_compilation): Open jump1 dump file before
14603         jump and close after, as opposed to just using dump_rtl.
14604
14605 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14606
14607         * reload.h (earlyclobber_operand_p): Declare.
14608         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14609         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14610         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14611         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14612
14613 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14614                           Richard Henderson  <rth@cygnus.com>
14615
14616         * emit-rtl.c (emit_block_insn_before): New.
14617         (emit_block_insn_after): New.
14618         * basic-block.h: Declare them.
14619
14620         * bitmap.h: Protect from multiple inclusion.
14621
14622         * recog.c (scratch_operand): Handle VOIDmode correctly.
14623
14624         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14625
14626         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14627         * function.c (assign_parms): Likewise.
14628         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14629
14630         * reg-stack.c (max_uid): Remove.
14631         (blocks, block_begin, block_end, block_drops_in): Remove.
14632         (block_stack_in, block_out_reg_set, block_number): Remove.
14633         (struct block_info_def, BLOCK_INFO): New.
14634         (enum emit_where): New.
14635         (current_block): New.
14636         (BLOCK_NUM): Remove.
14637         (mark_regs_pat, record_label_references): Remove.
14638         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14639         (nan): New.
14640         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14641         (reg_to_stack): Simplified test for existance of fp code.  Use
14642         flow.c code.  Call shorten_branches after cross-jump opt.
14643         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14644         Return false if the asm doesn't use stack regs.  Don't do life
14645         analysis on the asm.
14646         (emit_pop_insn): Replace function pointer arg `when' with
14647         enum `where'.  Update all callers.
14648         (change_stack): Likewise.  Update basic block end.
14649         (emit_swap_insn): Use current_block->head to limit reverse search
14650         for start of block.  Use emit_block_insn_after.
14651         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14652         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14653         structure assignment instead of bcopy.
14654         (print_stack): New.
14655         (convert_regs_entry, convert_regs_exit): New.
14656         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14657         Work on basic blocks and the CFG.
14658         (convert_regs): Use them.
14659
14660         * i386.c (output_fix_trunc): Remove code for DImode input operand
14661         not at top-of-stack.
14662         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14663         appropriate mode.
14664         (fix_truncdi_1): Allow any mode scratch.
14665
14666 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14667
14668         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14669         * linux.h, netbsd.h, vms.h: Not here.
14670
14671 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14672
14673         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14674         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14675         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14676         CONDITIONAL_REGISTER_USEAGE): Use them.
14677         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14678         gen_conditional_branch,override_options) : Use them.
14679         * config/mips/mips.md : Use them.
14680
14681 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14682
14683         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14684
14685 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14686
14687         * integrate.c (function_cannot_inline_p): Don't allow inlining
14688         if setjmp is used.
14689
14690 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14691
14692         * c-parse.in (cast_expr): Constify.
14693
14694         * cccp.c (special_symbol): Likewise.
14695
14696         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14697
14698         * dwarf2out.c (base_type_die): Likewise.
14699
14700         * global.c (allocno_compare): Likewise.
14701
14702         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14703
14704         * regclass.c (fix_register): Likewise.
14705
14706         * rtl.h (fix_register): Likewise.
14707
14708         * stupid.c (stupid_reg_compare): Likewise.
14709
14710         * toplev.c (decode_f_option): Likewise.
14711
14712         * tree.c (build_complex_type): Likewise.
14713
14714 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14715
14716         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14717
14718 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14719
14720         * reload.c (find_reloads): Compute mode and nregs fields of all
14721         reloads.
14722         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14723         (calculate_needs): Use precomputed mode/nregs values.
14724         (allocate_reload_reg): Likewise.
14725         Break out two...
14726         (failed_reload, set_reload_reg): ... new functions.
14727         (choose_reload_regs_init): New function, mostly broken out from...
14728         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14729         Also lose one #if 0 block.
14730
14731 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14732
14733         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14734         substitution.
14735
14736 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14737
14738         * tree.h (BLOCK_TYPE_TAGS): Remove.
14739         (BLOCK_END_NOTE): Likewise.
14740         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14741         (BLOCK_LIVE_RANGE_START): Likewise.
14742         (BLOCK_LIVE_RANGE_END): Likewise.
14743         (tree_block): Remove live_range_flag, live_range_var_flag, and
14744         type_tags.  Remove end_note, live_range_start, and live_range_end.
14745         (remember_end_note): Remove prototype.
14746         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14747         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14748         remember_end_note.
14749         * ggc-common.c (ggc_mark_tree_children): Don't mark
14750         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14751         * integrate.c (adjust_copied_decl_tree): Remove.
14752         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14753         * stmt.c (last_block_end_note): Remove.
14754         (init_stmt): Don't add a GC root for it.
14755         (expand_fixup): Don't set it.
14756         (remember_end_note): Remove.
14757         (expand_end_bindings): Don't set last_block_end_note.
14758
14759 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14760
14761         * reload1.c (reload_reg_free_for_value_p): Show
14762         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14763         reloads.
14764
14765 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14766
14767         * expmed.c (extract_bit_field): Allow for the case of non-integer
14768         objects that are smaller than a word (like SFmode on a 64-bit
14769         machine).
14770
14771         * loop.c (basic_induction_var): A non-integer variable which is
14772         being set by a paradoxical subreg is probably not a biv.
14773
14774 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14775
14776         * prefix.c (translate_name) Check for empty prefix string.
14777
14778 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14779
14780         * Makefile.in (CPP_CROSS_NAME): New variable.
14781         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14782         xcpp.
14783         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14784         names of the files to be uninstalled.
14785
14786 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14787
14788         * collect2.c (IS_DIR_SEPARATOR): Define.
14789         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14790
14791         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14792         functions too.
14793
14794         * haifa-sched.c (add_dependence): Update the true dependency
14795         cache the first time we add a true dependence to the LOG_LINKS chain.
14796
14797 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14798
14799         * fold-const.c (fold): Fix comment.
14800
14801 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14802
14803         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14804         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14805         dbxout_start_new_source_file, dbxout_source_file,
14806         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14807         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14808         Constify a char*.
14809         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14810         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14811         (dbxout_block): Initialize variable `blocknum'.
14812
14813         * dbxout.h (dbxout_init, dbxout_finish,
14814         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14815         dbxout_args, dbxout_source_line): Constify a char*.
14816
14817         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14818         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14819         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14820         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14821         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14822         src_info_attribute, mac_info_attribute, producer_attribute,
14823         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14824         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14825         dwarfout_undef): Constify a char*.
14826         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14827
14828         * dwarfout.h (dwarfout_define, dwarfout_undef,
14829         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14830
14831 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14832
14833         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14834         (MULTILIB_ISA_DEFAULT): New.
14835         (MULTILIB_DEFAULTS): Use it.
14836         * config/mips/mips.c (): Remove the now unnecessary definition
14837         of MIPS_ISA_DEFAULT.
14838         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14839         unnecessary definition.
14840
14841 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14842
14843         * arm.md (pic_load_addr): Add constraints to operand 1.
14844
14845 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14846
14847         * fixinc/genfixes:  Provide a means for specifying -D options to
14848         AutoGen
14849
14850 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14851
14852         * arm.c (arm_override_options): Correct initialization of
14853         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14854         arm_is_strong, and arm_is_6_or_7.
14855
14856         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14857         (note_set_pseudo_multiple_uses): New function.
14858         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14859         if a pseudo set in the loop exit is used elsewhere.
14860
14861 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14862
14863         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14864
14865 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14866
14867         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14868         a single load-address pattern.
14869
14870 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14871
14872         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14873         depending on whether or not line-number notes are present.
14874
14875 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14876
14877         * cccp.c (progname, file_buf, default_include, include_file,
14878         macrodef, definition, hashval, wchar_type, user_label_prefix,
14879         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14880         expand_to_temp_buffer, is_system_include, base_name,
14881         absolute_filename, read_name_map, open_include_file,
14882         record_control_macro, check_precompiled, check_preconditions,
14883         pcfinclude, pass_thru_directive, create_definition,
14884         check_macro_name, comp_def_part, collect_expansion,
14885         check_assertion, read_token_list, assertion_install,
14886         assertion_lookup, eval_if_expression, conditional_skip,
14887         validate_else, skip_quoted_string, quote_string, macarg1,
14888         error_from_errno, install, lookup, hashf, dump_defn_1,
14889         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14890         check_white_space, rescan, handle_directive, monthnames,
14891         special_symbol, do_include, remap_include_file, write_output,
14892         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14893         do_ident, do_sccs, do_xifdef, skip_if_group,
14894         output_line_directive, macroexpand, macarg, change_newlines,
14895         initialize_builtins, make_definition): Constify a char*.
14896
14897         * pcp.h (stringdef): Likewise.
14898
14899 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14900
14901         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14902         not of pattern.
14903
14904 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14905                           Richard Henderson  <rth@cygnus.com>
14906
14907         * alias.c: Include ggc.h.
14908         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14909         (record_set): Verify enough room in reg_base_value.
14910         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14911         Register it as a GC root.
14912         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14913         * Makefile.in (alias.o): Depend on ggc.h.
14914
14915         * unroll.c (unroll_loop): Verify the insn before a barrier
14916         is a JUMP_INSN before checking JUMP_LABEL.
14917
14918 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14919
14920         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14921         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14922         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14923         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14924         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14925         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14926
14927 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14928
14929         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14930
14931         * alpha/alpha-interix.h (text_section): Delete prototype.
14932         * alpha/elf.h (text_section): Likewise.
14933         * arm/linux-elf.h (text_section): Likewise.
14934         * arm/linux-telf.h (text_section): Likewise.
14935         * c4x/c4x.h (text_section): Likewise.
14936         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14937         * elfos.h (text_section): Likewise.
14938         * i386/aix386ng.h (text_section): Likewise.
14939         * i386/i386-interix.h (text_section): Likewise.
14940         * i386/sco5.h (text_section): Likewise.
14941         * i386/svr3gas.h (text_section): Likewise.
14942         * nextstep.h (text_section): Likewise.
14943         * psos.h (text_section): Likewise.
14944         * ptx4.h (text_section): Likewise.
14945         * svr3.h (text_section): Likewise.
14946         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14947
14948 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14949
14950         * final.c (peephole): Delete prototype.
14951
14952         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14953         (pre_insert_copies): Remove unused variable `bb'.
14954
14955         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14956         prototypes.
14957
14958         * output.h (peephole): Add prototype.
14959
14960 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14961
14962         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14963         -O0.
14964
14965 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14966
14967         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14968         for inlined declarations.
14969
14970 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14971
14972         * arm.c (logical_binary_operator): New fucntion.
14973         * arm.h (logical_binary_operator): Declare it.
14974         (PREDICATE_CODES): Handle logical_binary_operator.
14975         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14976         output constraints.  Add appropriate splitters.
14977         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14978         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14979         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14980
14981 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14982
14983         * genoutput.c (struct operand_data): New elt eliminable.
14984         (output_operand_data): Write it.
14985         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14986         (compare_operands): Take it into account.
14987         * recog.h (struct insn_operand_data): New elt eliminable.
14988         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14989         functions.
14990         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14991         (eliminate_regs): Move code that detects changes to elimination
14992         target regs into new function elimination_effects.
14993         Delete one #if 0 block.
14994         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14995         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14996         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14997         Only call eliminate_regs for real operands of the insn, not for parts
14998         of its structure or parts matched by things like match_operator.
14999         Use elimination_effects and check_eliminable_occurrences.  Use
15000         copy_insn to duplicate the pattern when not in the final pass.
15001
15002 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
15003
15004         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
15005         and fld.
15006
15007 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
15008
15009         * fixinc/README: document the "mach" machine matching test
15010         * fixinc/fixfixes.c: Implement the #else/#endif label fix
15011         * fixinc/fixtests.c: Implement the #else/#endif label test
15012         * fixinc/inclhack.def: utilize these tests and fixes
15013         * fixinc/inclhack.sh:  regen
15014         * fixinc/fixincl.x:  regen
15015         * fixinc/fixincl.sh:  regen
15016
15017 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
15018
15019         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
15020         depend on ggc.h.
15021
15022 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
15023
15024         * gcc.1: Document exit codes.
15025
15026 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15027
15028         * calls.c: Include tm_p.h later, so everything we need is defined.
15029         * expr.c: Likewise.
15030         * function.c: Likewise.
15031
15032         * except.c: Include tm_p.h.
15033
15034         * sparc.c: Likewise.
15035         (dwarf2out_cfi_label): Don't prototype.
15036         (check_return_regs, epilogue_renumber,
15037         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15038         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15039         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15040         ultra_schedule_insn): Add static prototype.
15041         (data_segment_operand, text_segment_operand): Call itself with the
15042         proper number of arguments.
15043         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15044
15045         * sparc.h: Move all declarations to sparc-protos.h.
15046         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
15047         symbolic_operand.
15048
15049         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15050
15051         * config/svr4.h (text_section, ctors_section, dtors_section): Add
15052         Prototypes.
15053         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15054         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15055         ASM_OUTPUT_ASCII): Constify a char*.
15056
15057         * sparc-protos.h: New file for sparc prototypes.
15058
15059 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15060
15061         * function.c (record_insns, contains): Always declare and define.
15062         (record_insns): Mark with ATTRIBUTE_UNUSED.
15063
15064 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15065
15066         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15067         to .section when outputting a .bss section to deal with multiple
15068         .bss input sections (as happens with -fdata-sections)
15069         Also output %progbits, not @progbits so the assembler doesn't treat as
15070         a comment.
15071         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15072
15073         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15074         thumb parts even when building with non-thumb CPUs, by forcing
15075         thumb mode.
15076
15077 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
15078
15079         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15080         (movdf_const_intreg_sp64): Similarly.
15081
15082         * local-alloc.c (update_equiv_regs): Check the correct insn
15083         for pre-existing REG_EQUIV notes.
15084
15085 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
15086
15087         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15088         block reached by a branch if we're not going to actually process
15089         this block.
15090
15091 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
15092
15093         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15094         a local extern function declaration.
15095
15096 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
15097
15098         * i386.c (ix86_expand_prologue): Properly wrap USE around
15099         reg for CALL_INSN_FUNCTION_USAGE.
15100
15101 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
15102
15103         * config/mips/mips.md (movdf_internal1a): Allow floating-point
15104         move between GP_REGs.
15105
15106 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
15107
15108         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15109         the mode size when finding out if an offset is legal.
15110
15111 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
15112
15113         * basic-block.h (PROP_*): Move constants from ...
15114         * flow.c: ... here.
15115         (compute_bb_for_insn): Free the array before reallocating.
15116         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15117         (allocate_reg_life_data): Reset all reg variables collected by
15118         propagate_block.
15119         (get_block_head_tail): Don't convert from bb to block.
15120         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
15121         (find_insn_reg_weight): Take block not bb.
15122         (schedule_block): Don't set block num for moved insns.
15123         (schedule_region): Don't update_life_info or find_insn_reg_weight.
15124         (schedule_insns): Do it here instead.
15125         * combine.c (combine_instructions): Invoke compute_bb_for_insn
15126         before update_life_info.
15127         * recog.c (split_all_insns, peephole2_optimize): Update for
15128         new arg to update_life_info.
15129         * rtlanal.c (remove_note): Cope with NULL note.
15130         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15131         if we did sched1.
15132
15133 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
15134
15135         * jump.c (jump_optimize_1): More accurately detect casesi insns.
15136
15137         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15138         block records so that merge_blocks_nomove will clean up correctly.
15139         (split_edge): Handle casesi insns.
15140
15141         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15142
15143 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
15144
15145         * pa.md (call, call_value): Do not emit a blockage after restoring
15146         the PIC register.
15147
15148 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
15149
15150         * c-typeck.c (c_expand_asm_operands): Fix typo.
15151
15152 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15153
15154         * arm.c (fpu_rhs_operand): Verify modes.
15155         (fpu_add_operand): Likewise.
15156         (di_operand): Likewise.
15157         (soft_df_operand): Likewise.
15158
15159 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
15160
15161         * arm.c (arm_return_in_memory): APCS rules state that the elements
15162         of a structure returned in a register must be 'integer-like'.
15163
15164 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
15165
15166         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
15167         in the source tree when the generated targets are out of date
15168         * fixinc/genfixes: Alter it to run individual fixes for make.
15169         * fixinc/README: rewrite
15170         * fixinc/inclhack.def: moved initial comments to README
15171
15172 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
15173
15174         * toplev.c (main): Do not generate an error message if an
15175         unrecognised command line switch is recognisable by another
15176         language.  If extra_warnings are enabled, then generate a
15177         warning message instead.
15178
15179 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15180
15181         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15182         (insert_pack_attributes): Delete prototype.
15183
15184         * c-pragma.c (default_alignment): New static variable.
15185         (push_alignment): Initialize to current effective alignment.
15186         (pop_alignment): Use to set new alignment.
15187         (insert_pack_attributes): Delete function.
15188         (handle_pragma_token): Set default_alignment as well each time
15189         a #pragma pack(<n>) is encountered.
15190
15191 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
15192
15193         * reg-stack.c (stack_result): Aggregates are not returned in
15194         stack registers.
15195
15196 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
15197
15198         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15199
15200 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
15201
15202         * basic-block.h (set_block_num): Declare.
15203         * flow.c (update_life_info): Don't call compute_bb_for_insn
15204         or free_basic_block_vars.
15205         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15206         (insn_orig_block): Remove.
15207         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
15208         (schedule_block): Keep BLOCK_NUM up-to-date.
15209         (schedule_insns): Use compute_bb_for_insn.
15210         * recog.c (split_all_insns): Likewise.
15211         (peephole2_optimize): Likewise.
15212
15213 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
15214
15215         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15216         if the pic register is used.
15217
15218 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15219
15220         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15221         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15222         if that tests TREE_PERMANENT.
15223
15224 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15225
15226         * cse.c (invalidate_for_call): Do not remove memory references from
15227         the table here.  It's handled elsewhere.
15228
15229         * haifa-sched.c (add_dependence): Protect references to the
15230         true dependency cache with #ifdef INSN_SCHEDULING.
15231         (remove_dependence): Similarly.
15232
15233         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15234         to the cfg code that this is a return instruction.
15235         * mn10300.md (return_internal): Similarly.
15236
15237         * combine.c (get_last_value): If the last set of a register
15238         is after subst_low_cuid, then we can not use it to determine
15239         the register's last value.
15240
15241 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15242
15243         * Makefile.in: Back out previous change.
15244
15245 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15246
15247         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15248
15249         * haifa-sched.c (add_dependence): Only check/update the cache
15250         if it exists.
15251         (remove_dependence): Likewise.
15252         (schedule_insns): Only create the true_dependency_cache if the
15253         average number of instructions in a basic block is very large.
15254
15255 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15256
15257         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15258         (ggc-simple.o): Likewise.
15259         (ggc-page.o): Likewise.
15260
15261 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15262
15263         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15264         Prototype for exported functions.
15265         (pre_lcm, pre_rev_lcm): Remove prototypes.
15266         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15267         (compute_available): Move to lcm.c, and change parameter order.
15268         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15269         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15270         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15271         set table after reach pre pass.
15272         (pre_insert_map, pre_delete_map, edge_list): New.
15273         (alloc_pre_mem): Allocate edge vectors.
15274         (free_pre_mem): Delete edge vectors.
15275         (compute_pre_data): Call new edge based lcm routines.
15276         (process_insert_insn): New function.
15277         (insert_insn_end_bb): Use it.
15278         (pre_edge_insert): New function.
15279         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15280         needed.
15281         (pre_insert_copies): Revamp using new edge based lcm outputs.
15282         (pre_delete): Likewise.
15283         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15284         block.
15285         (compute_code_hoist_vbeinout): New new edge based routines.
15286         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15287         that work with the new cfg datastructures and work with edges
15288         instead of blocks.
15289
15290 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15291
15292         * reload.h (struct reload): Add new fields "mode" and "nregs".
15293         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15294         to reference the "mode" and "nregs" field within struct reload.
15295
15296 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15297
15298         * haifa-sched.c (true_dependency_cache): New.
15299         (add_dependence): Use the true dependency cache to avoid expensive
15300         walks down the LOG_LINKS dependency list.  Add entries to the
15301         cache as necessary.
15302         (remove_dependence): Remove entries from the true dependency cache
15303         as needed.
15304         (schedule_insns): Allocate and initialize and free the true
15305         dependency cache.
15306
15307         * haifa-sched.c (schedule_insns): Do not remove inter-block
15308         dependencies anymore.
15309
15310 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15311
15312         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15313         * i386/t-winnt: Likewise.
15314
15315 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15316
15317         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15318
15319 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15320
15321         * Makefile.in (LANGUAGES): Omit "proto".
15322         (clean): Remove stale comment about removing unprotoize.c.
15323
15324 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15325
15326         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15327         using arithmetic on void pointers.
15328
15329 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15330
15331         * haifa-sched.c (compute_block_forward_dependencies): Only check
15332         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15333
15334 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15335
15336         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15337         (expr_equiv_p): Reject memories with different alias sets.
15338
15339 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15340
15341         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15342         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15343         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15344         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15345         (lang_init): Set default for flag_bounds_check if still "unspecified".
15346
15347 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15348
15349         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15350
15351 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15352
15353         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15354         instructions.
15355
15356 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15357
15358         * config/c4x/c4x.md (*db_noclobber,
15359         *decrement_and_branch_until_zero_noclobber): New patterns and
15360         associated splitters.
15361
15362 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15363
15364         * config/c4x/c4x.md (parallel instruction patterns): Rework
15365         constraints to keep reload happy.
15366
15367 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15368
15369         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15370         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15371         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15372         Add new patterns and associated post-reload splitters.
15373
15374 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15375
15376         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15377
15378 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15379
15380         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15381         if appropriate.
15382         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15383
15384 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15385
15386         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15387         memory mode.
15388
15389 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15390
15391         * pa.c (move_operand): Rely on memory_address_p to determine the
15392         validity of non-indexed memory addresses.
15393         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15394         operand in DFmode and SFmode when generating PA2.0 code.
15395
15396 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15397
15398         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15399
15400 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15401
15402         * mips.c (function_prologue): Fix argument types.
15403         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15404         (casesi_internal): Write to the scratch register.
15405
15406 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15407
15408         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15409         to U_CHAR **.
15410         (parse_charconst): Delete unnecessary cast when calling
15411         cpp_parse_escape.
15412         (cpplib.h): Kill prototype of cpp_parse_escape.
15413
15414 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15415
15416         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15417         * unroll.c (unroll_loop): Cast return value of alloca.
15418         * i370/i370.c: Include function.h and toplev.h.
15419         (i370_label_scan): Remove c++ commented abort.
15420         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15421         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15422         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15423         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15424
15425 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15426
15427         * config/t-freebsd: Do not override USER_H.
15428         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15429
15430 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15431                           Mumit Khan  <khan@xraylith.wisc.edu>
15432
15433         * c-parse.in (component_decl): Support anonymous struct/union.
15434         (%expect): Update.
15435         * c-parse.y: Regenerate.
15436         * c-parse.c: Likewise.
15437         * objc/objc-parse.y: Likewise.
15438         * objc/objc-parse.c: Likewise.
15439         * c-decl.c (finish_struct): Don't sort the fields.
15440         (field_decl_cmp): Delete unused function.
15441
15442 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15443
15444         * sparc.md (movsf_const_intreg): Revert last constraint change.
15445         (movdf_const_intreg_sp32): Likewise.
15446
15447 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15448
15449         * cse.c: Include hashtab.h instead of splay-tree.h
15450         (struct cse_reg_info): No longer use variant union.  Add new
15451         field "regno".  All references changed to avoid union.
15452         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15453         (free_cse_reg_info): Remove.
15454         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15455         (get_cse_reg_info): Revamp to use expandable hash tables instead
15456         of splay trees.  Initialize new fields in cse_reg_info structure.
15457         (new_basic_block): Similarly.
15458
15459 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15460
15461         * genrecog.c (message_with_line): Prototype.
15462         (validate_pattern): Pass along the set for the dest, not a flag.
15463         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15464         Check for PC/CC0 as sources.
15465         (nodes_identical): Check for children position match before
15466         allowing the combination.
15467
15468         * rtl.c (read_rtx): Track line number across \\\n.
15469
15470 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15471
15472         * mips.h (SPECIAL_MODE_PREDICATES): New.
15473         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15474         (movdi+1, movsi+1): Add output reload constraint.
15475         (casesi_internal): Likewise.  Fix commentary.
15476         (return_internal): Use pmode_register_operand.
15477
15478 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15479
15480         * 1750a.md (movstrqi): Add missing output reload constraint.
15481         (call_value): Likewise.
15482         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15483         (jmpfdec): Add missing inout reload constraint.
15484         * elxsi.md (addsi patterns): Add missing output reload constraint.
15485         (move from sp): Use @ alternates.
15486         (call_value): No constraint on output.
15487         * fr30.md (movsi_pop): Add missing output reload constraint.
15488         (movsf_constant_store): Likewise.
15489         (splits): Remove constraints.
15490         (subsi3): Add missing mode.
15491         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15492         (call_value): Likewise.
15493         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15494         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15495         * m32r.md (movsicc_internal): Add output reload constraint.
15496         (movstrsi_internal): Add inout reload constraints.
15497         * m88k.h (reg_names): Don't declare.
15498         (SPECIAL_MODE_PREDICATES): New.
15499         * m88k.md (*): Use register_operand not reg_or_0_operand
15500         on destinations.
15501         * mn10200.h (PREDICATE_CODES): New.
15502         * ns32k.md (ffs pattern): Add output reload constraint.
15503         * pdp11.md (sob pattern): Add inout reload constraint.
15504         * sh.md (splits): Remove constraints.
15505         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15506         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15507         * vax.md (jgequ pattern): Add inout reload constraint.
15508
15509 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15510
15511         * configure.in (djgpp): Revert previous patch.
15512         * configure: Rebuit.
15513         * config/i386/djgpp.h: Revert previous patch.
15514
15515 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15516
15517         * fixinc/inclhack.def: Restore patch lost during last merge of
15518         "no_bogosity" branch.
15519         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15520
15521 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15522
15523         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15524         * fixinc/inclhack.def: Same.
15525         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15526
15527 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15528
15529         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15530         as the base of a PLUS.
15531
15532 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15533
15534         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15535         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15536
15537 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15538
15539         * pa.md (post_stw+1): Use pmode_register_operand.
15540         (dcacheflush, icacheflush): Likewise.
15541
15542         * i386.md (movstricthi_1): Allow r/r.
15543
15544 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15545
15546         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15547         to (not (and (arg0) (arg1))). Similary for and.
15548
15549         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15550         fallthrough to associate code.
15551         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15552         bits in common.
15553
15554         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15555         no bits in common; remove XOR to ROTATE conversion.
15556
15557 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15558
15559         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15560
15561 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15562
15563         * config/c4x/c4x.c (dst_operand): New.
15564         (PREDICATE_CODES): Update.
15565         * config/c4x/c4x.h (dst_operand): Declare it.
15566         * config/c4x/c4x.md:  Define mode for each unspec usage.
15567         (move patterns):  Use dst_operand predicate instead of src_operand.
15568         (movqi_update, movqf_update): Delete.
15569
15570 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15571
15572         * recog.c (pmode_register_operand): New.
15573         * recog.h: Declare it.
15574         * genrecog.c (pred_codes): Likewise.
15575         (special_mode_pred_table): Likewise.
15576         (validate_pattern): Don't warn no mode for address_operand.
15577
15578         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15579         if the operand is not insn-like.
15580
15581 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15582                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15583
15584         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15585
15586 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15587
15588         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15589         instead of general_operand in a SET_DEST.  Use const_double_operand
15590         instead of an explicit test against CONST_DOUBLE.
15591         (movsf_const_lo): Add missing register mode.
15592         (goto_handler_and_restore): Add auxiliary test for Pmode.
15593         (flush): Adjust to use address_operand.
15594         (return_sf_no_fpu): Add missing output constraint.
15595
15596 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15597
15598         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15599         for call return value.
15600         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15601
15602 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15603
15604         * toplev.c (main): Only warn about options for other languages.
15605         * collect2.c (main): Pass -w to sub-gcc.
15606
15607 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15608
15609         * flow.c (propagate_block): Add call-clobbered registers to
15610         significant too.
15611
15612         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15613         zapping mem_set_list.
15614         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15615         (mark_set_1, mark_used_regs): Likewise.
15616
15617 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15618
15619         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15620
15621 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15622
15623         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15624         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15625         options. Also add a new item "C-only Warning Options" to the
15626         option summary.
15627
15628 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15629
15630         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15631         from multiple calls.
15632
15633 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15634
15635         * i386.md (call value patterns): Move to the end of the file.
15636         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15637
15638 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15639
15640         * configure.in (djgpp configuration): Define extra_objects..
15641         * configure: Rebuilt.
15642         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15643         (DTORS_SECTION_ASM_OP): Define.
15644         (INIT_SECTION_ASM_OP): Define.
15645         (FINI_SECTION_ASM_OP): Define.
15646         (DATA_SECTION_ASM_OP): Define.
15647         (TEXT_SECTION_ASM_OP): Define.
15648         (EH_FRAME_SECTION_ASM_OP): Define.
15649         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15650         (STARTFILE_SPEC): Add crtbegin.o.
15651         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15652         to here from LINK_COMMAND_SPEC.
15653         (DO_GLOBAL_CTORS_BODY): Define.
15654         (CRTSTUFF_USE_FINI_SECTION): Define
15655         (HAS_INIT_SECTION): Delete.
15656
15657 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15658
15659         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15660
15661 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15662
15663         * pa.h (PREDICATE_CODES): New.
15664
15665         * genrecog.c (validate_pattern): Condense the destination
15666         non-lvalue message.
15667
15668 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15669
15670         * alpha.md (call-1): Supply missing mode for operator.
15671         (*): Add missing output reload constraints.  Remove constraints
15672         from define_splits.
15673
15674         * i386.h (SPECIAL_MODE_PREDICATES): New.
15675         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15676         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15677         (addsi_lea_3): Add missing mode for op 3.
15678         (prologue_set_got, prologue_get_pc): Add missing modes.
15679         (*) Add missing output reload constraints.
15680
15681 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15682
15683         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15684         check for member bit-size overflow and use var_size if it occurs.
15685         (layout_record): Use bitsize_int() to define the type size in bits.
15686         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15687         (layout_decl): Likewise when assigning to DECL_SIZE.
15688
15689 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15690
15691         * genrecog.c (validate_pattern): Typo last change.  Verify
15692         that output operands have output reloads.
15693
15694 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15695
15696         * genrecog.c (special_mode_pred_table): New.
15697         (NUM_SPECIAL_MODE_PREDS): New.
15698         (find_operand): New.
15699         (validate_pattern): New argument `insn'.  Warn for assignment to
15700         any predicate accepting non-lvalues.  Conditionaly warn for
15701         match_operand without a mode.  Try much harder to match source
15702         and destination modes on a set.
15703         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15704
15705 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15706
15707         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15708
15709 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15710
15711         * combine.c (simplify_logical): Recognize xor pattern that encodes
15712         rotation.
15713
15714 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15715
15716         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15717         alignment.
15718
15719 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15720
15721         * ggc-page.c (MAP_FAILED): Provide default.
15722
15723 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15724
15725         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15726         * sparc.h (PREDICATE_CODES): Update.
15727
15728 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15729
15730         * alpha.c (some_ni_operand): New.
15731         * alpha-protos.h: Declare it.
15732         * alpha.h (PREDICATE_CODES): Update.
15733         * alpha.md (sXaddq reload insns): Use some_ni_operand
15734         for SET_DEST instead of some_operand.
15735
15736 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15737                           Jim Wilson  <wilson@cygnus.com>
15738
15739         * genrecog.c (maybe_both_true_2): Don't compare modes of
15740         two DT_pred tests.
15741         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15742         after find_afterward.
15743         (debug_decision_1): Dump next and afterward codes.
15744
15745 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15746
15747         * rtl.c (dump_and_abort): Remove.
15748         (fatal_with_file_and_line): New.
15749         (fatal_expected_char): New.
15750         (read_rtx_lineno, read_rtx_filename): New.
15751         (read_skip_spaces): Track line number.
15752         (read_name): Use fatal_with_file_and_line.
15753         (read_rtx): Use fatal_expected_char.  Track line number.
15754         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15755
15756         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15757         if it isn't a CODE_LABEL.
15758
15759         * genattr.c (main): Set read_rtx_filename.
15760         * genattrtab.c (main): Likewise.
15761         * gencodes.c (main): Likewise.
15762         * genconfig.c (main): Likewise.
15763         * genemit.c (main): Likewise.
15764         * genextract.c (main): Likewise.
15765         * genflags.c (main): Likewise.
15766         * genopinit.c (main): Likewise.
15767         * genoutput.c (main): Likewise.
15768         * genpeep.c (main): Likewise.
15769
15770         * genrecog.c (decision_test.u.insn): Add `lineno'.
15771         (pattern_lineno, error_count): New variables.
15772         (message_with_line): New.
15773         (add_to_sequence): Break out checking code to ...
15774         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15775         (merge_insn): Use message_with_line.
15776         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15777         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15778
15779 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15780
15781         * expr.c (store_constructor): Clear union if constructor is empty.
15782
15783 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15784
15785         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15786         Add !endian checks.  Change %{...} to %(...).
15787
15788 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15789
15790         * i386.md (*addsi3_cc): Renamed from addcsi3.
15791         (*addsi3_carry): Renamed from addxsi3.
15792         (*subsi3_cc): Renamed from subcsi3.
15793         (*subsi3_carry): Renamed from subxsi3.
15794         (*xorqi_cc_1): Renamed from xorcqi_1.
15795         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15796         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15797
15798 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15799
15800         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15801         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15802
15803 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15804
15805         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15806         climb up the chain of insns.
15807
15808 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15809
15810         * genrecog.c (write_subroutine): Careful for null trees.
15811         (process_tree): Don't elide empty functions.
15812
15813 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15814
15815         * Makefile.in (genrtl.o): Depend on ggc.h.
15816         * configure.in (valloc): Probe for it.
15817         (with-gc): Use ggc-page if valloc present.
15818         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15819         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15820         (ggc_alloc_string): Moved from ggc-page.c.
15821         * ggc-none.c (ggc_alloc_obj): New.
15822         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15823         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15824         (struct globals): Likewise for dev_zero_fd.
15825         (init_ggc): Likewise for it's initialization.
15826         (ggc_allocated_p): Move careful dereference from ...
15827         (ggc_lookup_page_table): ... here.  Delete.
15828         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15829         (alloc_anon): Use valloc if no mmap.
15830         (release_pages): Use free if using valloc.
15831         (ggc_alloc_obj): Renamed from alloc_obj.
15832         (ggc_set_mark): Renamed from mark_obj.
15833         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15834         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15835         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15836         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15837         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15838         (ggc_collect): Use fp printing instead of our own rounding.
15839         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15840         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15841         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15842         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15843         (struct ggc_string, struct ggc_any): Delete.
15844         (offsetof): Provide default definition.
15845         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15846         (PTR_KEY): New.
15847         (struct ggc_mem): New, from corpse of ggc_any.
15848         (struct ggc_status): Delete.
15849         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15850         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15851         (n_strings_collected, n_anys_collected): Delete.
15852         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15853         (ggc_alloc_string, ggc_alloc): Delete.
15854         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15855         (ggc_free_string, ggc_free_any): Delete.
15856         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15857         (ggc_compare_addresses, ggc_mark_string): Delete.
15858         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15859         (search_data): Delete.
15860         (struct globals): New.
15861         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15862         (tree_insert, tree_lookup): New.
15863         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15864         (clear_marks, sweep_objs): New.
15865         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15866         (init_ggc): Set allocated_last_gc.
15867         (ggc_push_context): Gut.  Use G.context.
15868         (ggc_pop_context): Likewise.
15869         (ggc_pop_context_1): New.
15870         (debug_ggc_tree): New.
15871         (debug_ggc_balance, tally_leaves): New.
15872         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15873         (ggc_mark_string_if_gcable): Remove decl.
15874         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15875         (ggc_mark_rtvec_children): New.
15876         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15877         (ggc_mark_if_gcable): New decl.
15878         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15879         (ggc_alloc_tree, ggc_alloc): Likewise.
15880         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15881         (ggc_alloc_obj): New decl.
15882         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15883         (ggc_alloc_tree, ggc_alloc): Likewise.
15884         (ggc_set_mark): New decl.
15885         * rtl.h (struct rtx_def): Remove gc_mark.
15886         (struct rtvec_def): Likewise.
15887         * tree.h (struct tree_common): Likewise.
15888
15889 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15890
15891         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15892         float_format and thread_file definitions.
15893         * configure: Rebuilt.
15894
15895 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15896
15897         * extend.texi (Function Names): Document types of function names.
15898
15899 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15900
15901         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15902         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15903
15904 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15905
15906         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15907
15908 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15909
15910         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15911
15912 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15913
15914         * collect2.c (main): Do prelimnary link on AIX if rflag.
15915
15916 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15917
15918         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15919         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15920         constructors.
15921         (__do_global_dtors): similarly for __DTOR_LIST__.
15922
15923 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15924                                 Diego Novillo <dnovillo@cygnus.com>
15925
15926         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15927         FPUL_REGS.
15928
15929 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15930
15931         * fixincl/*: Merged "no_bogosity" branch
15932         * fixincl/fixlib.h: protect against doubly defining t_bool
15933         * fixincl/server.h: protect against doubly defining t_bool
15934
15935 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15936
15937         * genoutput.c: Include toplev.h.
15938
15939 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15940
15941         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15942         Undef.
15943         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15944         * configure: Regenerate.
15945
15946 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15947
15948         * gcse.c (delete_null_pointer_checks): Returns void.
15949
15950 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15951
15952         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15953         * emit-rtl.c (copy_insn_1): Likewise.
15954
15955 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15956
15957         * config/mips/mips.c (mips_build_va_list): Correct
15958         TREE_CHAIN setting when hard-float.
15959         (mips_va_start): Use corrected setting.
15960         (mips_va_arg): Likewise.  Also pass a tree to build of
15961         POSTINCREMENT_EXPR rather than a naked 'int'.
15962
15963 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15964
15965         * ggc.h (ggc_push_context): Fix comment.
15966         (ggc_pop_context): Likewise.
15967         (mark_string_if_gcable): Likewise.
15968         * ggc-common.c (ggc_mark_rtx_children): Use
15969         ggc_mark_string_if_gcable.
15970         * ggc-page.c (ggc_lookup_page_table): New function.
15971         (ggc_allocated_p): Likewise.
15972         (mark_obj): Fix formatting.
15973         (ggc_mark_string_if_gcable): New function.
15974         * ggc-simple.c (ggc_allocated_strings): New variable.
15975         (ggc_strings_used): Likewise.
15976         (ggc_compare_addresses): New function.
15977         (ggc_pop_context): Pop the `any' memory too.
15978         (ggc_mark_string_if_gcable): New function.
15979         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15980
15981 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15982
15983         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15984         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15985         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15986         changes.
15987
15988 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15989
15990         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15991         (sched_reg_live_length, sched_reg_basic_block): Delete.
15992         (current_block_num, bb_live_regs, old_live_regs): Delete.
15993         (dead_notes, struct sometimes): Delete.
15994         (sched_note_set, birthing_insn_p): Delete.
15995         (adjust_priority): Gut useless reg lifetime code.
15996         (create_reg_dead_note, attach_deaths): Delete.
15997         (attach_deaths_insn, new_sometimes_live): Delete.
15998         (finish_sometimes_live): Delete.
15999         (find_pre_sched_live, find_post_sched_live): Delete.
16000         (update_reg_usage): Delete.
16001         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
16002         (schedule_insns): Delete reg lifetime code.
16003         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
16004         (unlink_other_notes): Adjust REG_NOTE commentary.
16005         (reemit_notes): Use REG_SAVE_NOTE.
16006         (schedule_block): Likewise.
16007         (schedule_region): Allocate bitmap of blocks in region.  Use
16008         count_or_remove_death_notes.  Use update_life_info.
16009
16010         * rtl.h (REG_SAVE_NOTE): New.
16011         * rtl.c (reg_note_name): Update.
16012
16013 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
16014
16015         * combine.c (refresh_blocks, need_refresh): New.
16016         (combine_instructions): Allocate refresh_blocks.  Invoke
16017         update_life_info if needed.
16018         (distribute_notes): Mark refresh_blocks instead of installing
16019         USE insns.
16020         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
16021         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
16022
16023         * Makefile.in (recog.o): Depend on basic-block.h.
16024
16025 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
16026
16027         * genrecog.c (add_to_sequence): Thinko last change: delete
16028         shadowing allow_const_int variable.
16029
16030 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16031
16032         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16033         __GNUC__ and __GNUC_MINOR__.
16034
16035         * gansidecl.h: Likewise.
16036
16037         * rtl.c: Likewise.
16038
16039         * rtl.h: Likewise.
16040
16041         * toplev.h: Likewise.
16042
16043         * tree.c: Likewise.
16044
16045         * tree.h: Likewise.
16046
16047         * varray.c: Likewise.
16048
16049         * varray.h: Likewise.
16050
16051 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16052
16053         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16054         use one before a jump table.
16055
16056         * rtl.def (ADDRESS): Change documentation to match reality.
16057         * md.texi: Don't document it.
16058         * gmicro.md (load address pattern): Use 'p' constraint, delete use
16059         of ADDRESS rtx.
16060
16061         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16062
16063 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
16064
16065         * genrecog.c (add_to_sequence): Move allow_const_int test outside
16066         known predicate block; default allow_const_int true.
16067         (debug_decision_list): New.
16068
16069 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
16070
16071         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16072
16073 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
16074
16075         * gcse.c (gcse_main): Avoid global optimizations if we have a
16076         large number of basic blocks and the ratio of edges to blocks
16077         is high.
16078         (delete_null_pointer_checks): Likewise.
16079
16080 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
16081
16082         * c-common.c (check_format_info): Warn if format string isn't a
16083         string literal.
16084
16085 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16086
16087         * configure.in (arm*-*-*): Don't let autoconf remove brackets
16088         * configure: regenerate
16089
16090 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
16091
16092         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
16093         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
16094         (peepholes): Re-enable.
16095
16096 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
16097
16098         * Makefile.in (flow.o): Depend on TREE_H.
16099         * basic-block.h (REG_SET_EQUAL_P): New.
16100         (XOR_REG_SET): New.
16101         (n_edges): Declare.
16102         (free_regset_vector): Remove declaration.
16103         (flow_delete_insn_chain): Declare.
16104         (enum update_life_extent): New.
16105         (update_life_info, count_or_remove_death_notes): Declare.
16106         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16107         Verify register live at bb->global_live_at_start before adding USE.
16108         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16109         (CLEAN_ALLOCA): New.
16110         (n_edges): New.
16111         (PROP_*): New flags.
16112         (find_basic_blocks_1): Use alloc_EXPR_LIST.
16113         (clear_edges): Zero n_edges.
16114         (make_edge): Increment n_edges.
16115         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
16116         (flow_delete_insn_chain): Export.
16117         (delete_block): Decrement n_edges.
16118         (merge_blocks_nomove): Likewise.
16119         (life_analysis): Give life_analysis_1 PROP flags.
16120         (verify_wide_reg_1, verify_wide_reg): New.
16121         (verify_local_live_at_start): New.
16122         (update_life_info): Rewrite to call into propogate_block.
16123         (mark_reg): New.
16124         (mark_regs_live_at_end): After reload, if epilogue as rtl,
16125         always mark stack pointer.  Conditionally mark PIC register.
16126         After reload, mark call-saved registers, return regsiters.
16127         (life_analysis_1): Accept PROP flags not remove_dead_code.
16128         Call mark_regs_live_at_end before zeroing regs_ever_live.
16129         Use calculate_global_regs_live.  Copy global_live_at_end before
16130         calling final propagate_block.  Zero reg_next_use on exit.
16131         (calculate_global_regs_live): New.
16132         (allocate_bb_life_data): Don't allocate bb->local_set.
16133         (init_regset_vector, free_regset_vector): Remove.
16134         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16135         Test flags before every operation.  Warn if prologue/epilogue insn
16136         would have been deleted.
16137         (mark_set_regs, mark_set_1): Accept and use FLAGS.
16138         Use alloc_EXPR_LIST.
16139         (mark_used_regs): Accept and use FLAGS, not FINAL.
16140         Remove special handling for RETURN.
16141         (try_pre_increment): Use alloc_EXPR_LIST.
16142         (dump_flow_info): Dump n_edges.
16143         (unlink_insn_chain, split_hard_reg_notes): Remove.
16144         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
16145         (find_insn_with_note, new_insn_dead_notes): Remove.
16146         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
16147         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
16148         (replace_insns): Remove.
16149         (count_or_remove_death_notes): New.
16150         (verify_flow_info): Abort on error after all checks.
16151         (remove_edge): Decrement n_edges.
16152         (remove_fake_edges): Tweek format.
16153         * haifa-sched.c (schedule_insns): Use split_all_insns.
16154         * output.h (update_life_info): Remove declaration.
16155         * recog.c (split_all_insns): From the corpse of split_block_insns,
16156         do the whole function block by block.  Use update_life_info.
16157         (recog_last_allowed_insn): New.
16158         (recog_next_insn): Mind it.
16159         (peephole2_optimize): Set it.  Walk backwards through blocks.
16160         Use update_life_info.
16161         * rtl.h (update_flow_info, replace_insns): Remove declarations.
16162         (split_all_insns): Declare.
16163         * toplev.c (rest_of_compilation): Thread prologue before flow2.
16164         Use split_all_insns.
16165
16166         * i386.md (or -1 peep2s): Disable.
16167
16168 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
16169
16170         * config/mips/mips.md (movstrsi+[123]) : Combine these into
16171         a single pattern.  Scrap the 'd' versions as unnecessary.
16172
16173         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16174         tablejump_mips162,tablejump_internal4): The operands to a
16175         label_ref must be VOIDmode.
16176
16177 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16178
16179         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16180
16181 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16182
16183         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16184
16185 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16186
16187         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16188         cache every function if ggc_p.
16189
16190 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16191
16192         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16193         instead of copy_rtx.  Accept sequences that contain asm statements.
16194         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16195         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16196         orig_asm_operands_vector, copy_asm_operands_vector,
16197         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16198         variables.
16199         * rtl.h (copy_insn, copy_insn_1): Declare.
16200
16201 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16202
16203         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16204
16205         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16206         arguments to `current_file_function_operand'.
16207
16208         * genrecog.c: Include hard-reg-set.h and resource.h in the
16209         generated output file.
16210
16211         * real.c: Include tm_p.h.
16212
16213 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16214
16215         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16216         output operand.
16217
16218 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
16219
16220         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16221         before the fctiwz insn.
16222
16223 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16224                           Mark Mitchell  <mark@codesourcery.com>
16225
16226         * tree.c (make_lang_type_fn): New funtion pointer.
16227         (make_lang_type): Call it.
16228         * tree.h (make_lang_type): Declare.
16229         (make_lang_type_fn): Likewise.
16230         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16231
16232 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16233
16234         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16235         make sure that HIGH instructions are copied into BASE_REGS.
16236
16237 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16238
16239         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16240
16241 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16242
16243         * c-decl.c (finish_struct): Use simpler method of
16244         removing elements of a singly-linked list.
16245
16246 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16247
16248         * alpha.md (peephole2's): Comment out peephole2's that generate
16249         buggy code.
16250
16251 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16252
16253         * genrecog.c (add_to_sequence): Disable mode check for
16254         wildcard matches.
16255
16256 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16257
16258         * ggc-simple.c (init_ggc): Set empty_string.
16259
16260 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16261
16262         * configure.in: Detect mmap.  Add --with-gc=foo to select
16263         garbage collector; default to page if mmap available.
16264         * Makefile.in (GGC): Substitute.
16265
16266 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16267
16268         * c-decl.c (ggc_p): Enable.
16269
16270 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16271
16272         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16273
16274 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16275
16276         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16277         string for little-endian-data.
16278
16279 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16280
16281         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16282         case somebody tries to compile --enable-checking code with gcc
16283         1.34 or such.
16284
16285 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16286
16287         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16288         VOIDmode.
16289
16290 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16291
16292         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16293         * jump.c (jump_optimize_1): Document why.
16294
16295 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16296
16297         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16298         pointers and casts for `int_handler' and `quit_handler'.
16299
16300         * flow.c (verify_flow_info, split_hard_reg_notes,
16301         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16302         remove_edge, remove_fake_successors): Add static prototypes.
16303         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16304         (mark_set_1): Initialize variable `regno'.
16305         (unlink_insn_chain): Likewise for variable `curr'.
16306         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16307
16308         * loop.c (strength_reduce): Initialize variable
16309         `unrolled_insn_copies'.
16310         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16311         prototypes.  Change these functions to take const PTR parameters
16312         to avoid prototype conflict when used as the comparson argument
16313         for qsort.
16314         (check_dbra_loop): Initialize variable `comparison_val'.
16315
16316         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16317         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16318         (find_valid_class): Initialize variable `best_class'.
16319         (find_reloads): Call memcpy, not bcopy.
16320
16321         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16322         (hard_reg_use_compare): Don't needlessly cast away const.
16323         (reload_reg_class_lower): Likewise.
16324         (choose_reload_regs): Initialize variable `regno'.
16325
16326 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16327
16328         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16329
16330 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16331
16332         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16333         ({,d}discard): Add forward declarations.  Declare parameter as
16334         unused.
16335         (main_without_main): Explicitly declare return type to be int.
16336         (memcpy): Properly declare.
16337
16338         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16339         building the trampoline support, declare malloc, free, and
16340         atexit.
16341         (__clear_cache): Mark arguments as potentially unused.
16342
16343         * frame.c (toplevel): If inhibit_libc is defined, declare
16344         malloc and free.
16345
16346 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16347
16348         * flow.c (make_edge): Accept an optional 2D bitmap in which
16349         to cache edge existence.  Update all callers.
16350         (make_label_edge, make_eh_edge): Pass through the edge cache.
16351         (make_edges): Provide the cache.
16352
16353 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16354
16355         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16356         a char*.
16357         (local_mbtowc): Change the type of variable `i' from int to size_t.
16358
16359         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16360         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16361
16362 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16363
16364         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16365         after other includes that define the appropriate types.  Include
16366         tm_p.h for getting user prototypes.
16367         * ggc-callbacks.c (toplevel): Ditto.
16368         * ggc-none.c (toplevel): Ditto.
16369         * gcc-page.c (toplevel): Ditto.
16370         * ggc-simple.c (toplevel): Ditto.
16371
16372 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16373                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16374
16375         * config/mips/mips.c (mips_move_2words): Split doubles if
16376         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16377
16378 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16379
16380         * genrecog.c (struct decision_test): New.
16381         (struct decision): Remove test-related members, sort the rest by size.
16382         (IS_SPLIT): Simplify.
16383         (new_decision, new_decision_test): New.
16384         (add_to_sequence): Use them.  No special handling for args of
16385         non-MATCH codes.
16386         (maybe_both_true): Renamed from not_both_true; return sense changed.
16387         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16388         of maybe_both_true and adjusted for decision_test.
16389         (position_merit): Remove.
16390         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16391         (merge_accept_insn): New, broken out of merge_trees.
16392         (merge_trees): Use them.  No special case for c_test; no node
16393         splitting; use test type instead of position_merit.
16394         (factor_tests): New.
16395         (simplify_tests): New.
16396         (break_out_subroutines): Don't write code now.
16397         (find_afterward): New.
16398         (write_afterward, write_switch, write_cond): New.
16399         (write_action, is_unconditional): New.
16400         (write_node): New.  Use them.
16401         (write_tree_1): Rewrite.  Use the new functions above.
16402         (write_tree): Remove afterward processing.
16403         (write_subroutine): Simplify function variant emission.
16404         (write_subroutines): New.
16405         (same_codes, clear_codes): Remove.
16406         (same_modes, clear_modes): Remove.
16407         (write_header): New, broken out of main.
16408         (make_insn_sequence): Use new_decision and new_decision_test.
16409         (process_tree): New, broken out of main.
16410         (main): Adjust for merge_trees interface change.
16411         Don't #define operands in the output file.
16412         (record_insn_name): New, broken out of make_insn_sequence.
16413         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16414         (debug_decision): New.
16415
16416 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16417
16418         * resource.c (find_free_register): Mark class_str argument const.
16419         * resource.h: Update prototype to match.
16420
16421         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16422         * i386.md: Give all anonymous insns names.
16423
16424 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16425
16426         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16427         blocks.
16428
16429 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16430
16431         * toplev.c (dbr_sched_time): Unconditional.
16432         (peephole2_time): New.
16433         (compile_file): Add pass numbers to all of the dump file suffixes.
16434         Dump peephole2_time.  Don't dump times for non-applicable passes.
16435         (rest_of_compilation): Add pass numbers to dump file suffixes.
16436         Conditionalize calls to the scheduler.
16437         * invoke.texi: Update.
16438
16439 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16440
16441         * flow.c (make_edges): Fix insn iteration.
16442         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16443         (find_basic_blocks_1): Fix spelling mistake.
16444
16445 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16446
16447         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16448         always have side-effects.  Use memset not bzero.
16449         (make_node): Likewise.
16450
16451 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16452
16453         * stmt.c (expand_anon_union_decl): When any of the elements of the
16454         union is addressable, so is the entire union.
16455
16456 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16457
16458         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16459
16460         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16461         * bitmap.c (bitmap_operation): Return true iff TO changed.
16462         (bitmap_equal_p): New.
16463         (bitmap_bit_p): Tidy arithmetic.
16464         (debug_bitmap_file): Likewise.
16465
16466 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16467
16468         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16469         before cse2 instead of after.
16470
16471 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16472
16473         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16474         register offsets.
16475
16476 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16477
16478         * cppinit.c (is_idchar initializer): Loosen tests to accept
16479         gcc 2.>6 and >2.
16480
16481 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16482
16483         * mips.md: Define conditional move patterns for floating point
16484         operands and DI mode conditions.
16485
16486 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16487
16488         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16489         always have side-effects.
16490
16491 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16492
16493         * mn10200.c (asm_file_start): Fix typo.
16494
16495         * cppinit.c (is_idchar initializer): Tighten tests for when
16496         to put the table into initialized memory.
16497
16498         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16499         not an array of rtunion.
16500         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16501         * gcc-simple (ggc_free_rtvec): Similarly.
16502
16503         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16504         of rtunions.
16505
16506         * mbchar.h: Add missing #endif.
16507
16508         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16509         (FPBIT, DPBIT): Define.
16510
16511 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16512
16513         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16514
16515         * profile.c (instrument_arcs, output_gcov_string,
16516         tablejump_entry_p): Add static prototypes.
16517         (output_gcov_string): Constify a char*.
16518
16519         * regmove.c (replacement_quality, fixup_match_2): Add static
16520         prototypes.
16521
16522         * resource.h (reg_dead_p): Add extern prototype.
16523
16524         * rtl.c (trim_filename): Add static prototype.
16525
16526         * scan-decls.c (skip_to_closing_brace): Likewise.
16527
16528         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16529         (expand_end_case): Initialize variable `range'.
16530         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16531
16532         * varasm.c (asm_emit_uninitialised): Add static prototype.
16533         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16534         ATTRIBUTE_UNUSED.
16535
16536 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16537
16538         * cpplib.c (if_directive_nameo): Add static prototype.
16539
16540         * cse.c (cse_insn): Remove unused variable `p'.
16541
16542         * except.c (create_rethrow_ref, push_entry,
16543         receive_exception_label, new_eh_region_entry, find_func_region,
16544         clear_function_eh_region, process_nestinfo): Add static prototypes.
16545         (get_reg_for_handler): Hide definition.
16546         (process_nestinfo): Initialize variable `extra_handlers'.
16547
16548         * expr.h (expand_builtin_longjmp): Add extern prototype.
16549
16550         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16551
16552         * function.c (prepare_function_start): Likewise.
16553         (pop_function_context_from): Mark parameter `context' with
16554         ATTRIBUTE_UNUSED.
16555         (push_temp_slots_for_block, flush_addressof): Hide definition.
16556
16557         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16558         solve_program_flow_graph, calculate_branch_probs,
16559         function_summary, main, fancy_abort): Add prototypes.
16560
16561         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16562         (add_hash): Constify a char*.
16563
16564         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16565         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16566         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16567
16568         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16569
16570         * lists.c (free_list, zap_lists): Likewise.
16571
16572 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16573
16574         * alias.c (nonlocal_reference_p): Add static prototype.
16575
16576         * bitmap.c (bitmap_element_allocate): Prototype args in function
16577         pointer cast.
16578
16579         * builtins.c (stabilize_va_list): Add static prototype.
16580         (expand_builtin_va_arg): Constify a char*.
16581
16582         * c-lex.c (getch, put_back, extend_token_buffer_to,
16583         read_line_number, token_getch, token_put_back): Add static
16584         prototypes.
16585
16586         * c-parse.gperf (hash, is_reserved_word): Likewise.
16587
16588         * cccp.c (is_dir_separator): Likewise.
16589
16590 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16591
16592         * graph.h: New file to prototype functions exported by graph.c.
16593
16594         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16595
16596         * graph.c: Include graph.h.
16597
16598         * toplev.c: Likewise.  Remove redundant prototypes.
16599
16600 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16601
16602         * invoke.texi: Removed duplicated description for -Q.
16603
16604 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16605
16606         * extend.texi: Grammar fix in __extension__ text.
16607
16608 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16609
16610         * md.texi (define_peephole2): New section.
16611
16612 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16613
16614         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16615         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16616         speed.
16617
16618 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16619
16620         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16621
16622 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16623
16624         * i386.md (ffs expander): Emit Pentium friendly code for
16625         TARGET_PENTIUM.
16626
16627 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16628
16629         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16630         for non-trees.
16631         (build1): Likewise.
16632
16633 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16634
16635         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16636
16637 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16638
16639         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16640         register is in use.
16641
16642 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16643
16644         * md.texi (No Constraints): Delete section.
16645         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16646         * final.c (final_scan_insn): We always have register constraints.
16647         * genattrtab.c: Don't include "insn-config.h".
16648         (write_attr_case): We always have register constraints.
16649         * genconfig.c (register_constraint_flag): Delete.
16650         (walk_insn_part): Don't check whether we have register constraints.
16651         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16652         * genoutput.c (have_constraints): Delete.
16653         (main): Don't set it.
16654         (output_operand_data): We always have constraints.
16655         (scan_operands): Likewise.
16656         (compare_operands): Likewise.
16657         * local-alloc.c (block_alloc): We always have constraints.
16658         (requires_inout): Always compile this function.
16659         * recog.c (extract_insn): We always have constraints.
16660         (constrain_operands, reg_fits_class_p): Always compile these
16661         functions.
16662         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16663         fields.
16664         (struct insn_operand_data): Likewise.
16665         * regclass.c (regclass): We always have constraints.
16666         (record_reg_classes, copy_cost, record_address_regs,
16667         auto_inc_dec_reg_p): Always compile these functions.
16668         * regmove.c (regmove_optimize): We always have constraints.
16669         * reload.c (find_reloads): Likewise.
16670         * reload1.c (reload): Likewise.
16671         (reload_cse_simplify_operands): Likewise.
16672         * i860.c (output_delay_insn): Likewise.
16673
16674 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16675
16676         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16677
16678 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16679
16680         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16681         for the va_list record.
16682
16683 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16684
16685         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16686         prologues.
16687
16688 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16689
16690         * alias.c: Include insn-flags.h.
16691         * Makefile.in (alias.o): Update.
16692
16693 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16694
16695         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16696         to LTU and GEU.  Handle more cases using sbb.
16697
16698 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16699
16700         * i386.md (truncatexfdf splitters): Do not use subreg.
16701         (fop XFmode patterns): Fix mode in operand testing.
16702
16703 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16704
16705         * jump.c (jump_optimize_1): Amend last change to test only the
16706         form of the operand, not the insn.
16707
16708         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16709         not register_operand to determine when B may need preloading.
16710
16711 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16712
16713         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16714         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16715         (call-value patterns): Move to end of file.
16716         (*): Remove mode from label_ref in (pc) context.
16717         (movstrqi): Use memory not general_operand for BLKmode operands.
16718         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16719         to register_operand operands.
16720         (peep2 patterns): Convert from commented-out peephole patterns.
16721
16722 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16723
16724         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16725         to BUILT_IN_INIT_DWARF_REG_SIZES.
16726         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16727         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16728         expand_builtin_init_dwarf_reg_sizes.
16729         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16730         with __builtin_init_dwarf_reg_size_table.
16731         * dwarf2out.c (struct reg_size_range): Delete.
16732         (expand_builtin_init_dwarf_reg_sizes): New function.
16733         (expand_builtin_dwarf_reg_size): Delete.
16734         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16735         (expand_builtin_dwarf_reg_size): Don't declare.
16736         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16737         (dwarf_reg_size_table): New.
16738         (init_reg_size_table): New function.
16739         (copy_reg): Use dwarf_reg_size_table.
16740         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16741         before use.
16742
16743 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16744
16745         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16746         Correctly build argument list to constructor and destructor functions.
16747
16748 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16749
16750         * c-tree.h (warn_float_equal): Declare.
16751         * c-decl.c (warn_float_equal): Define.
16752         (c_decode_option): Recognize -W[no-]float-equal.
16753         * c-typeck.c (build_binary_op): Conditionally warn
16754         about equality tests of floating point types.
16755         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16756         * invoke.texi: Add docs for -Wfloat-equal warning.
16757
16758 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16759
16760         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16761         generating RTL directly.
16762         * mips.h (INIT_TARGET_OPTABS): Likewise.
16763         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16764
16765         * expr.h (init_mov_optab): Delete declaration
16766
16767         * h8300.c (WORD_REG_USED): Update to avoid useless register
16768         saves in interrupt functions and functions which never return.
16769
16770         * cse.c (struct set): Delete inner_dest_loc field.
16771         (cse_insn): Remove assignments to inner_dest_loc field.
16772
16773 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16774
16775         * ggc-page.c: Don't include <unistd.h> etc taken care of
16776         by "system.h".  Include <sys/mman.h> afterward.
16777
16778 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16779
16780         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16781         ggc_alloc_string.
16782
16783 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16784
16785         * xcoffout.c (xcoffout_declare_function): Add documentation.
16786         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16787         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16788         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16789         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16790         gen_movsi typos.
16791
16792 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16793
16794         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16795         origin_die is NULL.
16796         (gen_inlined_enumeration_type_die): Do not abort if the type has
16797         not been writeen out.
16798         (gen_inlined_structure_type_die): Do not abort if the type has
16799         not been writeen out.
16800         (gen_inlined_union_type_die): Do not abort if the type has
16801         not been writeen out.
16802         (gen_tagged_type_instantiation_die): Do not abort if the type
16803         has not been written out.
16804
16805 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16806
16807         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16808         call it.
16809         * reg-stack.c (straighten_stack): Copy hard reg set with
16810         COPY_HARD_REG_SET.
16811
16812 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16813
16814         * builtins.c (stabilize_va_list): Stabilize array type va_list
16815         to a pointer type, not the base record type.
16816         (expand_builtin_va_copy): Dereference the pointers explicitly;
16817         use the correct size for the copy.
16818
16819         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16820         (rs6000_va_arg): Likewise.
16821
16822 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16823
16824         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16825
16826 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16827
16828         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16829         field.
16830         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16831
16832 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16833
16834         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16835         (init_ggc): Use it instead of a constant.
16836         (ggc_collect): Bound allocated_last_gc by it.
16837
16838 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16839
16840         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16841         with va_list.
16842
16843 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16844
16845         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16846         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16847         * configure:  Regen.
16848         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16849         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16850         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16851
16852 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16853
16854         * config/m68k/m68k.c (output_function_prologue,
16855         output_function_epilogue): Use
16856         current_function_uses_pic_offset_table instead of regs_ever_live
16857         to decide whether to save/restore pic register.
16858         (legitimize_pic_address): Don't modify regs_ever_live any more.
16859
16860 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16861
16862         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16863         * stor-layout.c (variable_size): Don't add sizes to the pending
16864         sizes list if x_dont_save_pending_sizes_p is set.
16865
16866 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16867
16868         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16869         for symbolic_operand().
16870         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16871
16872 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16873
16874         * combine.c (gen_rtx_combine): Add missing call to va_end().
16875
16876         * final.c (asm_fprintf): Likewise.
16877
16878         * genattrtab.c (attr_rtx): Likewise.
16879
16880 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16881
16882         * cse.c: Update comments.
16883         (cse_insn): When converting a conditional/computed jump into
16884         an unconditional jump, always make sure a BARRIER immediately
16885         follows the converted jump.  Do not delete unreachable code.
16886         (cse_basic_block): Do not delete unreachable code.
16887         * toplev.c (rest_of_compilation): Move call to
16888         delete_trivially_dead_insns after the conditional call to
16889         jump_optimize.
16890
16891 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16892
16893         * collect2.c (make_temp_file): Don't prototype.
16894
16895         * gcc.c (make_temp_file): Likewise.
16896
16897         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16898
16899 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16900
16901         * varasm.c (asm_emit_uninitialised): New function: Generate
16902         the assembler statements necessary to declare an uninitialised
16903         variable.
16904         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16905         variable.
16906         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16907         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16908         section.
16909         (assemble_variable): Use asm_emit_uninitialised to emit an
16910         uninitialised variable.
16911
16912 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16913
16914         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16915         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16916         <geoffk@cygnus.com>.
16917
16918 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16919
16920         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16921         * c-common.h (builtin_function): Don't declare.
16922
16923         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16924         DECL_BUILT_IN.
16925         (pushdecl): Likewise.
16926         (finish_decl): Likewise.
16927         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16928         int.  All callers changed.
16929         Set the builtin's DECL_BUILT_IN_CLASS.
16930         * tree.h (enum built_in_class): New.
16931         (enum built_in_function): Delete NOT_BUILT_IN.
16932         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16933         in a union.
16934         (DECL_SET_FUNCTION_CODE): Likewise.
16935         (DECL_BUILT_IN_CLASS): New macro.
16936         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16937         (struct tree_decl): Split builtin function code field into a
16938         struct.
16939         (builtin_function): Declare.
16940
16941 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16942
16943         * optabs.c (init_traps): Fix typo in last change.
16944
16945 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16946
16947         * toplev.c (rest_of_decl_compilation): Update comment.
16948
16949 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16950
16951         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16952         in .sbss if appropriate.
16953         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16954         (SBSS_SECTION_ASM_OP): New macro.
16955         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16956         (EXTRA_SECTIONS): Add in_sbss.
16957         * config/mips/mips.h: Prototype sbss_section.
16958
16959 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16960
16961         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16962         to disappear.
16963
16964 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16965
16966         * optabs.c (init_traps): Register trap_rtx as a GC root.
16967
16968 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16969
16970         * config/mips/mips.c (function_arg_pass_by_reference): Define
16971         unconditionally, since it's called unconditionally.
16972
16973 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16974
16975         * toplev.c (documented_lang_options): Add -fshort-wchar.
16976         * c-decl.c (c_decode_option): Likewise.
16977         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16978         for wchar_t.
16979         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16980         * gcc.c (default_compilers): If -fshort-wchar,
16981         override __WCHAR_TYPE__.
16982         * tm.texi (C Dialect Options): Add -fshort-wchar.
16983
16984         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16985         symbol for a variable.
16986
16987         * cpplib.h (CPP_PREPROCESSED): New macro.
16988         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16989         we're seeing this input for a second time.
16990
16991 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16992
16993         * emit-rtl.c (init_emit_once): Initialize modes first.
16994
16995 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16996
16997         * config/i386/i386.c (pic_label_name): Change to char pointer.
16998         (global_offset_table): New variable.
16999         (load_pic_register): Fill global_offset_table if it hasn't
17000         already been done.  Allocate pic_label_name dynamically.
17001         * ggc.h (empty_string): New variable.
17002         * ggc-simple.c (empty_string): Likewise.
17003         (init_ggc): Allocate empty_string and add as root.
17004         * stmt.c (digit_strings): New variable.
17005         (init_stmt): Add last_block_end_note as root.  Allocate and
17006         initialize digit_strings.
17007         (expand_asm_operands): Use empty_string instead of string
17008         constant.  Use digit_strings instead of string constants.
17009         * profile.c (init_arc_profiler): Allocate string with
17010         ggc_alloc_string instead of xmalloc.
17011         (output_func_start_profiler): Likewise.
17012         * c-typeck.c (digest_init): Check if init is error_mark_node.
17013
17014 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
17015                           Richard Henderson  <rth@cygnus.com>
17016
17017         * ggc-page.c: New file.
17018         * Makefile.in (ggc-page.o): New.
17019
17020 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
17021
17022         * invoke.texi: Document -fdelete-null-pointer-checks
17023         * toplev.c (flag_delete_null_pointer_checks): New.
17024         (f_options): Add entry for -fdelete-null-pointer-checks.
17025         (rest_of_compilation): Conditionalize null pointer check
17026         elimination on flag_delete_null_pointer_checks.
17027         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17028
17029 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
17030
17031         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17032         copyright notice and special exception to GPL.
17033
17034 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17035
17036         * abi64.h (mips_function_value): Add prototype arguments.
17037
17038         * mips-protos.h: New file with mips prototypes.
17039
17040         * mips.c: Include "tm_p.h".
17041         (mktemp, lookup_name): Add prototype arguments.
17042         (extern_list, string_constant, mips_fill_delay_slot,
17043         mips_output_external, mips_output_external_libcall,
17044         mips_output_filename, mips_declare_object, function_prologue,
17045         mips_expand_prologue, function_epilogue, mips16_constant,
17046         build_mips16_function_stub, mips_output_conditional_branch):
17047         Constify a char*.
17048         (mips_va_start): Remove unused variable `u'.
17049         (mips_va_arg): Cast value to unsigned when comparing against one.
17050         (trace): Delete.
17051         (save_restore_insns, mips_expand_prologue): Add missing arg in
17052         call to `large_int'.
17053
17054         * mips.h: Move prototypes to mips-protos.h.
17055         (data_section, memory_address_p, rdata_section,
17056         readonly_data_section, simple_epilogue_p, text_section): Delete
17057         prototypes delcared elsewhere.
17058         (mips_epilogue_delay_slots, print_options): Delete unused decls.
17059         (trace): Delete.
17060         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17061
17062         * mips.md: Delete extra args in call to `mips_move_2words'.
17063
17064         * xm-iris6.h (alloca): Add prototype argument.
17065
17066         * genpeep.c: Include "tm_p.h" in generated output file.
17067
17068 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17069
17070         * basic-block.h (find_edge_index): Change parameters.
17071         * flow.c (verify_edge_list): Pass basic_block parameters to
17072         find_edge_index instead of integers.
17073
17074 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
17075
17076         * combine.c (simplify_comparison): Use an unsigned shift to adjust
17077         the constant.
17078
17079 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
17080
17081         * gcc.1: Fix a formatting error.
17082
17083 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17084
17085         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17086         i786, mn10200, mn10300, pdp11, v850.
17087
17088 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
17089
17090         * libgcc2.c (num_digits): Add prototype with
17091         __attribute__((const)).
17092         (__terminate): Add prototype.
17093
17094 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
17095
17096         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17097
17098         * alpha/alpha.c (print_operand): Fix type of `code'.
17099         (alpha_output_filename): Constify.
17100         * alpha/alpha.h: Move all function declarations ...
17101         * alpha/alpha-protos.h: ... here.  New file.
17102         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17103         (SECTION_FUNCTION_TEMPLATE): Likewise.
17104
17105 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17106
17107         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17108         * expr.c (expand_expr): Likewise.
17109         (do_jump): Likewise.
17110         (do_store_flag): Pass ccp_store_flag to can_compare_p.
17111         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17112         accessor macros.
17113         (enum can_compare_purpose): New.
17114         (can_compare_p): Adjust prototype.
17115         (prepare_cmp_insn, prepare_operand): Declare.
17116         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17117         * optabs.c (cmp_available_p): Deleted.
17118         (expand_abs): Pass ccp_jump to can_compare_p.
17119         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
17120         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
17121         Call can_compare_p rather than cmp_available_p.
17122         (prepare_operand): No longer static.
17123         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17124         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17125         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17126         sequence to use emit_cmp_and_jump_insns.
17127         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17128
17129 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
17130
17131         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17132         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17133         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17134         (plus (reg) (const_int 0))
17135         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17136
17137 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
17138
17139         * rs6000.c (expand_block_move): DImode loads and stores require
17140         word-aligned displacements.  Increment address registers with
17141         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
17142
17143 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
17144
17145         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
17146         is no name for the base type, rather than segfault.  If we are
17147         writing out a complex integer type, use DW_ATE_lo_user.
17148
17149         * expr.c (emit_move_insn_1): If we are copying a complex that fits
17150         in one word or less (complex char, complex short, or on 64 bit
17151         systems complex float) to/from a hard register, copy it through
17152         memory instead of dying in gen_{real,imag}part.  If we have a
17153         short complex type, prevent inlining since it allocates stack
17154         memory.
17155
17156         * tree.c (build_complex_type): If we are writing dwarf2 output,
17157         generate a name for complex integer types.
17158
17159 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17160
17161         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
17162         * flow.c (remove_edge): Remove extra whitespace.
17163         (remove_fake_edges): Fix comment.
17164         (add_noreturn_fake_exit_edges): Use the correct name.
17165
17166 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
17167
17168         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
17169         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
17170         (clean): Depend on INTL_CLEAN.
17171         (maintainer-clean): Adjust.
17172
17173 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17174
17175         * configure.in (AC_PREREQ): Bump to 2.13.
17176         (AC_C_STRINGIZE): Call this instead of using a custom macro.
17177
17178         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17179
17180         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17181
17182         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17183
17184         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17185         (HAVE_STRINGIZE): Define.
17186
17187 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
17188
17189         * c-parse.in: save and restore warn_pointer_arith on __extension__
17190         along with pedantic.
17191         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17192         Set the type of extension to itype rather than $<itype>1 kludge.
17193         * extend.texi (Alternate Keywords): Adjust documentation.
17194         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17195
17196 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
17197
17198         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17199         most assembler templates.
17200
17201         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17202         FP loads and stores.
17203         (following_call): Always return zero for the PA8000.
17204         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17205         FP loads and stores.
17206         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17207
17208         * pa.h (BRANCH_COST): Define.
17209
17210         * pa.md (return, return_internal): Use bve for PA2.0.
17211
17212         * pa.md (fused multiply): Add variants which reduce height for the
17213         fused multiply, but which still generate 2 insns.
17214         (fnegabs): Similarly.
17215
17216         * pa.md (subsi3): Turn into an expander.  Create two anonymous
17217         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
17218         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17219
17220         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17221         for TARGET_PA_20.
17222         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17223         code generation.
17224         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17225         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17226
17227         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17228         collection root.
17229
17230         * flow.c (record_active_eh_regions): Terminate loop after finding
17231         the last insn in the last basic block.
17232
17233 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17234
17235         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17236
17237 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17238
17239         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17240
17241 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17242
17243         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17244         splitting to not use output template.
17245
17246 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17247
17248         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17249         * config/c4x/c4x.c (c4x_va_start): New function.
17250
17251 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17252
17253         * genrecog.c (not_both_true): Handle correctly cases when called for
17254         tests with different positions in the insn.
17255
17256 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17257
17258         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17259
17260         * system.h (HOST_PTR_PRINTF): ... to here.
17261
17262         * mips-tfile.c: Don't include machmode.h.
17263
17264         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17265         (mips-tfile.o): Don't depend on machmode.h.
17266
17267 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17268
17269         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17270         avoid conflicts with typedef struct `region' at the top level scope.
17271
17272 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17273
17274         * basic-block.h (basic_block): Add eh_beg, eh_end.
17275         * flow.c (entry_exit_blocks): Update.
17276         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17277         Call new functions.
17278         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17279         lists.c functions to allocate insn lists.
17280         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17281         edge creation ...
17282         (make_eh_edge): ... here.  New.
17283         (move_stray_eh_region_notes): New.
17284         (record_active_eh_regions): New.
17285         (delete_unreachable_blocks): Split out block merging ...
17286         (try_merge_blocks): ... here.  New.
17287         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17288         Dump debugging data.
17289         (merge_blocks_move_successor_nojumps): Likewise.
17290         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17291
17292 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17293
17294         * extend.texi (Bound member functions): Document unbound pmf
17295         conversion.
17296
17297 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17298
17299         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17300         has the EXIT_BLOCK as a dest.
17301
17302 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17303
17304         * flow.c (remove_edge): New function to remove an edge from the
17305         flow graph.
17306         (remove_fake_successors): New function to remove fake successor edges.
17307         (remove_fake_edges): New function to remove all fake edges from the
17308         flow graph.
17309         (add_fake_exit_edges): New function to add fake edges from all blocks
17310         with no successors to the exit block.
17311         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17312         prototypes for new functions.
17313
17314 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17315
17316         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17317         Use Pmode to determine whether to output .dword or .word.
17318
17319 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17320
17321         * tree.c (built_in_filename): New variable.
17322         (BUILT_IN_FILENAME): New macro.
17323         (init_tree_codes): Allocate built_in_filename.
17324         (make_node): Use built_in_filename instead of string constant.
17325
17326 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17327
17328         * configure.in: Add fr30 target.
17329         * configure: Regenerate.
17330         * config/fr30: New directory.
17331         * config/fr30/crti.asm: New file.
17332         * config/fr30/fr30.c: New file.
17333         * config/fr30/crtn.asm: New file.
17334         * config/fr30/fr30.h: New file.
17335         * config/fr30/fr30.md: New file.
17336         * config/fr30/lib1funcs.asm: New file.
17337         * config/fr30/t-fr30: New file.
17338         * config/fr30/xm-fr30.h: New file.
17339
17340 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17341
17342         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17343         BARRIER at the end of the successor, not the BARRIER before
17344         the successor.
17345
17346         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17347
17348 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17349
17350         * stmt.c (any_pending_cleanups): Don't crash when
17351         current_function->stmt is unset.
17352
17353 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17354
17355         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17356         other initializations that may use it for relative offsets.
17357
17358 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17359
17360         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17361         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17362         * config/i386/sol2dbg.h: Removed.
17363         * config/i386/sol2gas.h: New file, to enable gas work-around.
17364         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17365         Don't use sol2dbg.h.
17366         * configure: Rebuilt.
17367
17368 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17369
17370         * invoke.texi (-fthis-is-variable): Remove documentation.
17371
17372 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17373
17374         * basic-block.h (compute_bb_for_insn): Declare.
17375         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17376         to use; set size of basic_block_for_insn directly.
17377         (find_basic_blocks): Update.
17378
17379 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17380
17381         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17382
17383 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17384
17385         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17386         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17387
17388 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17389
17390         * c-decl.c (c_decode_option): Extend comment.
17391
17392 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17393
17394         * toplev.c (progname): Make 'const char *'
17395         (flag_print_mem): Move out of main.
17396         (version_flag): Move out of main.
17397         (filename): Move out of main.
17398         (debug_args): Remove g prefix from options.
17399         (documented_lang_options): Remove cpplib specific options.
17400         (display_help): Add g prefix to debug options.
17401         (check_lang_option): Delete this function.
17402         (decode_d_option): New function: Decode -d... option.
17403         (decode_f_option): New function: Decode -f... option.
17404         (decode_W_option): New function: Decode -W... option.
17405         (decode_g_option): New function: Decode -g... option.
17406         (independent_decode_option): New function: Decode a language
17407         independent command line option.
17408         (main): Invoke lang_decode_option and then
17409         independent_decode_option on each command line option in
17410         turn.
17411
17412 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17413
17414         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17415          * fold-const.c (fold_range_test): Do not try to fold the range
17416          test if the rhs or lhs has side effects.
17417
17418         * basic-block.h (compute_flow_dominators): Declare.
17419
17420         * gcse.c (alloc_code_hoist_mem): New function.
17421         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17422         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17423         (hoist_code, one_code_hoisting_pass): Likewise.
17424         (gcse_main): If optimizing for size, then hoist expressions
17425         computed in multiple dominated basic blocks.
17426
17427         * gcse.c (invalid_nonnull_info): New function.
17428         (delete_null_pointer_checks): Likewise.
17429         * rtl.h (delete_null_pointer_checks): Declare.
17430         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17431
17432         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17433         (merge-blocks_move_successor_nojumps): Likewise.
17434         (merge_blocks): Allow merging of some blocks, even if it requires
17435         physical movement of the blocks, but not if it requires new jumps.
17436
17437         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17438         Callers and prototype changed.
17439         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17440
17441 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17442
17443         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17444         -YP when both -p and -pg are present.  From i386/sol2.h.
17445
17446 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17447
17448         * Makefile.in (distclean): Delete tm_p.h.
17449         * configure.in: Create a new file, "tm_p.h", from a list in
17450         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17451         "i386/i386-protos.h".
17452
17453         * alias.c: Include "tm_p.h".
17454         * c-typeck.c: Likewise.
17455         * calls.c: Likewise.
17456         * cse.c: Likewise.
17457         * emit-rtl.c: Likewise.
17458         * explow.c: Likewise.
17459         * expmed.c: Likewise.
17460         * expr.c: Likewise.
17461         * final.c: Likewise.
17462         * flow.c: Likewise.
17463         * fold-const.c: Likewise.
17464         * function.c: Likewise.
17465         * gcse.c: Likewise.
17466         * global.c: Likewise.
17467         * haifa-sched.c: Likewise.
17468         * integrate.c: Likewise.
17469         * jump.c: Likewise.
17470         * local-alloc.c: Likewise.
17471         * loop.c: Likewise.
17472         * optabs.c: Likewise.
17473         * recog.c: Likewise.
17474         * reg-stack.c: Likewise.
17475         * regclass.c: Likewise.
17476         * regmove.c: Likewise.
17477         * reload.c: Likewise.
17478         * reload1.c: Likewise.
17479         * reorg.c: Likewise.
17480         * resource.c: Likewise.
17481         * stmt.c: Likewise.
17482         * stor-layout.c: Likewise.
17483         * toplev.c: Likewise.
17484         * tree.c: Likewise.
17485         * unroll.c: Likewise.
17486         * genattrtab.c (main): Make generated file include "tm_p.h".
17487         * genemit.c (main): Likewise.
17488         * genoutput.c (main): Likewise.
17489         * genrecog.c (main): Likewise.
17490
17491         * i386.h: Delete all prototypes.
17492         * i386.c: Include "tm_p.h".
17493         (ix86_attr_length_default): Call constant_call_address_operand
17494         with correct number of arguments.
17495         * i386-protos.h: New file.
17496         * i386.md (unnamed patterns): Call constant_call_address_operand
17497         with correct number of arguments.
17498         (exception_receiver): Call load_pic_register with correct number
17499         of arguments.
17500
17501 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17502
17503         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17504
17505 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17506
17507         * rtl.h (insns_safe_to_move_p): New function.
17508         * loop.c (find_and_verify_loops): Use it.
17509         * rtlanal.c (insns_safe_to_move_p): Define it.
17510
17511 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17512
17513         * c-pragma.c: Include ggc.h.
17514         * Makefile.in (c-pragma.o): Update.
17515
17516 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17517
17518         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17519         (LIB_SPEC): Likewise.
17520         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17521         Reindent -YP/-p/-pg.
17522         Copied from config/sparc/sol2.h.
17523
17524 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17525
17526         * c-pragma.c (mark_align_stack): New.
17527         (init_pragma): New.
17528         * c-pragma.h (init_pragma): Declare it.
17529         * c-lex.c (init_parse): Call it.
17530
17531 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17532
17533         * configure.in: Pick up thread library on Solaris/x86 just
17534         like on Solaris/sparc.
17535         * configure: Rebuilt.
17536
17537 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17538
17539         * rtl.h (global_rtx_index): New enum.
17540         (global_rtl): Change to array of rtx.
17541         (pc_rtx, cc0_rtx): Redefine accordingly.
17542         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17543         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17544         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17545         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17546         (const_int_rtx): Change to array of rtx.
17547         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17548         accordingly.
17549         * emit-rtl.c (global_rtl): Change to array of rtx.
17550         (const_int_rtx): Change to aray of rtx.
17551         (gen_rtx_CONST_INT): Redefine accordingly.
17552         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17553         for const_int_rtx.  Add both as GC roots.
17554         * genattrtab.c (global_rtl): Update declaration.
17555
17556 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17557
17558         * Makefile (USER_H): Add iso646.h back.
17559
17560 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17561
17562         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17563         zapping the LOG_LINKS of sched_before_next_call.
17564
17565         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17566         * pa.c (insn_refs_are_delayed): Renamed from
17567         insn_sets_and_refs_are_delayed.
17568
17569 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17570
17571         * functiion.h (struct function): Add x_whole_function_mode_p.
17572         (retrofit_block): Declare.
17573         * function.c (retrofit_block): New function.
17574         (identify_blocks): Add assertions.  Allow an incomplete set of
17575         block notes if we're still generating code for the function.
17576         * integrate.c: Include loop.h.
17577         (expand_inline_function): Call find_loop_tree_blocks to map block
17578         notes to blocks when in whole-function mode.  Use retrofit_block
17579         to insert new BLOCKs for the inlined function, rather than
17580         insert_block.
17581         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17582         * Makefile.in (integrate.o): Depend on loop.h.
17583
17584 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17585
17586         * tree.h (warn_about_unused_variables): Declare.
17587         * stmt.c (warn_about_unused_variables): New function, split out
17588         from ...
17589         (expand_end_bindings): Here.
17590
17591 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17592
17593         * stmt.c (preserve_subexpressions_p): Don't crash when
17594         current_function->stmt is unset.
17595
17596 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17597
17598         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17599         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17600         (expand_start_target_temps): Use it.
17601         * except.c (expand_eh_region_start_for_decl): Likewise.
17602         * expr.c (expand_expr): Likewise.
17603
17604 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17605
17606         * fold-const.c (operand_equal_p): Pay attention to side effects.
17607
17608 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17609
17610         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17611         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17612
17613         * tlink.c (scan_linker_output): Look for keywords before accepting
17614         a mangled name in quotes.
17615
17616 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17617
17618         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17619         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17620
17621 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17622
17623         * alpha.md: Revert Thu Nov 26 change that came in through the
17624         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17625         Avoid earlyclobber when possible.
17626
17627 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17628
17629         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17630
17631         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17632         Define HAVE_ON_EXIT.
17633
17634 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17635
17636         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17637         CTYPE_CONV in all ctype macros.
17638
17639         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17640         from system.h.
17641
17642         * cexp.y (initialize_random_junk): Likewise.
17643
17644         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17645
17646         * i370.c (handle_pragma): Likewise.
17647
17648         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17649
17650         * v850.c (override_options): Likewise.
17651
17652         * doprint.c (_doprnt): Likewise.
17653
17654         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17655         Likewise.
17656
17657         * fixinc/server.c (load_data): Likewise.
17658
17659         * fold-const.c (real_hex_to_f): Likewise.
17660
17661         * genattr.c (write_upcase, gen_attr): Likewise.
17662
17663         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17664         write_upcase): Likewise.
17665
17666         * genemit.c (print_code): Likewise.
17667
17668         * genopinit.c (gen_insn): Likewise.
17669
17670         * genpeep.c (print_code): Likewise.
17671
17672         * genrecog.c (print_code): Likewise.
17673
17674         * optabs.c (init_libfuncs): Likewise.
17675
17676 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17677
17678         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17679         in pairs.
17680         (reemit_notes): Likewise.
17681
17682 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17683
17684         * ggc.h (ggc_root): Move to ggc-common.c.
17685         (roots): Remove.
17686         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17687         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17688         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17689         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17690         * ggc-common.c (ggc_root): Move from ggc.h.
17691         (roots): Declare, static.
17692         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17693         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17694         null or check/set mark bit.
17695         (ggc_mark_roots): New.
17696         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17697
17698 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17699
17700         * m32r.c: Include toplev.h.
17701         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17702         (gen_compare): Rename swap_p to must_swap to match uses.
17703         Add default abort case.
17704         (m32r_output_function_epilogue): Remove unused variables.
17705         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17706         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17707         define to empty parameter list.  Update all uses.
17708         (predicate decls): Use enum machine_mode not int.
17709         * m32r.md (movsi): Call abort, not fatal_insn.
17710         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17711
17712 1999-09-14  Andrew Haley  <aph@cygnus.com>
17713
17714         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17715         use $0 instead of 0.
17716
17717 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17718
17719         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17720         computation out of loop over hard regs.
17721
17722 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17723
17724         * function.c (identify_blocks): Don't shadow a variable in an
17725         outer scope.
17726         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17727         pushdecl, or poplevel to build up the new BLOCK tree.
17728         (expand_inline_function): Likewise.
17729         (integrate_parm_decls): Likewise.
17730
17731 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17732
17733         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17734
17735 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17736
17737         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17738         * invoke.texi: Document this change.
17739
17740 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17741
17742         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17743         Free the struct.
17744         (mark_emit_status): Renamed from mark_emit_state.
17745         * except.c (mark_eh_status): Renamed from mark_eh_state.
17746         Check not null before marking.
17747         (free_eh_status): New.
17748         * expr.c (mark_expr_status, free_expr_status): New.
17749         * function.c (free_machine_status): New.
17750         (free_after_parsing): New.
17751         (free_after_compilation): Move bits to free_after_parsing; call
17752         free_eh_status, free_expr_status; zero the marked members of the
17753         function state.
17754         (prepare_function_start): No can_garbage_collect.
17755         Call init_eh_for_function.
17756         (expand_dummy_function_end): Free up current_function state.
17757         (mark_function_status): Renamed from mark_function_state.
17758         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17759         * function.h (struct function): No can_garbage_collect.
17760         (free_machine_status, free_after_parsing): Declare.
17761         (free_eh_status, free_expr_status): Declare.
17762         * ggc.h (mark_expr_status): Declare.
17763         * stmt.c (free_stmt_status): Free the struct.
17764         (mark_stmt_status): Renamed from mark_stmt_state.
17765         (init_stmt): Don't call init_eh.
17766         (init_stmt_for_function): Don't call init_eh_for_function.
17767         * toplev.c (compile_file): Call init_eh.
17768         (rest_of_compilation): Free basic block info before ggc_collect.
17769         Call free_after_parsing; conditionally call free_after_compilation.
17770         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17771         Check not null before marking.
17772         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17773
17774 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17775
17776         * c-lex.c (yylex): Initialize warn.
17777
17778 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17779
17780         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17781         register when performing secondary reloads for the SAR register.
17782
17783 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17784
17785         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17786         (NOTE_BLOCK): New macro.
17787         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17788         * function.h (identify_blocks): Change prototype.
17789         * function.c (identify_blocks): Simplify.
17790         (reorder_blocks): Likewise.
17791         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17792         NOTE_INSN_BLOCK_{BEG,END}.
17793         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17794         the list of saved notes if the note isn't a
17795         NOTE_INSN_BLOCK_{BEG,END}.
17796         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17797         NOTE_BLOCK_NUMBER.
17798         (reemit_notes): Adjust recreation of notes to reflect new saved
17799         note structure.
17800         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17801         printing a block note.
17802         * stmt.c (block_vector): Remove.
17803         (find_loop_tree_blocks): Simplify.
17804         (unroll_block_trees): Likewise.
17805         * tree.h (reorder_block): Change prototype.
17806
17807 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17808
17809         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17810         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17811         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17812         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17813         (atexit, exit): Simplify.
17814         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17815         * config/lots: Remove defns of HAVE_ATEXIT.
17816
17817 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17818
17819         * calls.c (precompute_arguments): Fix typo in comment.
17820         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17821         TARGET_EXPR.
17822
17823 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17824
17825         * dsp16xx.c (override_options): Fix typos in GC root registration.
17826
17827 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17828
17829         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17830         from config/svr4.h.
17831         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17832         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17833         (CC1_SPEC): Likewise.
17834
17835 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17836
17837         * genattr.c (main): Add extern prototype.  Call return, not exit.
17838         * genattrtab.c (main): Likewise.
17839         * gencheck.c (main): Likewise.
17840         * gencodes.c (main): Likewise.
17841         * genconfig.c (main): Likewise.
17842         * genemit.c (main): Likewise.
17843         * genextract.c (main): Likewise.
17844         * genflags.c (main): Likewise.
17845         * gengenrtl.c (main): Likewise.
17846         * genopinit.c (main): Likewise.
17847         * genoutput.c (main): Likewise.
17848         * genpeep.c (main): Likewise.
17849         * genrecog.c (main): Likewise.
17850
17851         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17852         * genattrtab.c (get_insn_name): Likewise.
17853         * gencodes.c (get_insn_name): Likewise.
17854         * genconfig.c (get_insn_name): Likewise.
17855         * genemit.c (get_insn_name): Likewise.
17856         * genextract.c (get_insn_name): Likewise.
17857         * genflags.c (get_insn_name): Likewise.
17858         * genopinit.c (get_insn_name): Likewise.
17859         * genpeep.c (get_insn_name): Likewise.
17860
17861         * gencheck.c (usage): Add static prototype.
17862         * genextract.c (print_path): Constify a char*.
17863         * genopinit.c (optabs): Likewise.
17864         * genoutput.c (operand_data, data, output_predicate_decls,
17865         compare_operands): Likewise.
17866         * genrecog.c (write_tree): Add default case in switch.
17867
17868 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17869
17870         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17871
17872         * print-rtl.c (get_insn_name): Remove prototype.
17873
17874         * toplev.h (progname): Declare const.
17875
17876         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17877         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17878         dump_sched_info, dump_local_alloc, regset_release_memory,
17879         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17880         error_with_file_and_line, error_with_decl, error_for_asm, error,
17881         fatal, warning_with_file_and_line, warning_with_decl, warning,
17882         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17883         Remove redundant prototypes.
17884
17885         (notice, check_lang_option, report_file_and_line, vnotice,
17886         mark_file_stack): Add static prototype.
17887         (set_fatal_function): Add prototype.
17888         (vnotice, report_file_and_line, set_fatal_function,
17889         check_lang_option): Constify a char*.
17890         (main): Prototype.  Call return, not exit.
17891
17892 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17893
17894         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17895
17896         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17897
17898         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17899
17900         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17901
17902 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17903
17904         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17905         behave as if it's zero in all cases.
17906         (expand_function_start): Adjust call to assign_parms.
17907         * tree.h (assign_parms): Adjust prototype.
17908         * objc/objc-act.c (hack_method_prototype): Adjust call to
17909         assign_parms.
17910
17911 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17912
17913         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17914         arg_pointer_rtx fixed if the argument pointer register is
17915         not fixed.
17916         (NONZERO_BASE_PLUS_P): Likewise.
17917
17918 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17919
17920         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17921         match_insn2 to match_insn.
17922         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17923
17924 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17925
17926         * Makefile.in (USER_H): Remove va-foo.h.
17927
17928         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17929         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17930         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17931         va-spur.h,va-v850.h}: Remove.
17932
17933 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17934
17935         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17936         (in_return_delay): Use it instead of match_insn.
17937
17938 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17939
17940         * config/alpha/va_list.h (va-alpha.h): Do not include.
17941         (__gnuc_va_list): Typedef as in varargs.h.
17942
17943 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17944
17945         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17946         DECL_LIVE_RANGE_RTL.
17947
17948 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17949
17950         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17951         not NOTE_BLOCK_NUMBER.
17952         (expand_eh_region_end): Likewise.
17953         (find_exception_handler_labels): Likewise.
17954         (scan_region): Likewise.
17955         (exception_optimize): Likewise.
17956         (update_rethrow_references): Likewise.
17957         (set_insn_eh_region): Likewise.
17958         * final.c (final_scan_insn): Likewise.
17959         * flow.c (make_edges): Likewise.
17960         * integrate.c (expand_inline_function): Likewise.
17961         * print-rtl.c (print_rtx): Likewise.
17962
17963 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17964
17965         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17966         terms of builtin functions and types.
17967
17968         * mips.c (mips_build_va_list): New.
17969         (mips_va_start, mips_va_arg): New.
17970         * mips.h (BUILD_VA_LIST_TYPE): New.
17971         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17972
17973         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17974         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17975         * sh.h (BUILD_VA_LIST_TYPE): New.
17976         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17977
17978 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17979
17980         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17981         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17982         (struct insn_data): Likewise with n_operands, n_dups,
17983         n_alternatives, output_format.
17984         * regclass.c (scan_one_insn): Cast n_operands to int before
17985         arithmetic inside comparison.
17986
17987 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17988
17989         * toplev.c (compile_function): Unconditionally emit nop.
17990
17991 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17992
17993         * haifa-sched.c (actual_hazard): Move declaration of variable
17994         `this_cost' into the scope where it is used.
17995
17996 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17997
17998         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17999         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
18000         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
18001
18002         * genrecog.c (make_insn_sequence): Call memset, not bzero.
18003
18004         * jump.c (find_insert_position): Don't declare or define unless
18005         !HAVE_conditional_arithmetic.
18006         (returnjump_p_1, delete_prior_computation): Add static prototypes.
18007
18008         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
18009
18010         * recog.c (offsettable_address_p): Prototype function pointer.
18011         (preprocess_constraints): Call memset, not bzero.
18012
18013         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
18014         (gcc_obstack_init): Don't declare.
18015         (fix_sizetype): Add static prototype.
18016         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
18017         (tree_cons): Call memset, not bzero.
18018
18019         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
18020         definition in macro ASM_WEAKEN_LABEL.
18021         (mark_const_hash_entry): Add static prototype.
18022
18023 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18024
18025         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18026
18027         * unroll.c (find_common_reg_term, subtract_reg_term,
18028         loop_find_equiv_value): Add static prototypes.
18029         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18030         (copy_loop_body): Remove unreachable break statement.
18031
18032         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18033
18034         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18035
18036 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18037
18038         Undo some changes from the gcc2 merge:
18039         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18040         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18041         pointers.
18042
18043         Undo this change:
18044         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
18045         * emit-rtl.c (gen_lowpart_common): Disable optimization of
18046         initialized float-int union if the value is a NaN.
18047
18048 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18049
18050         * gthr-win32.h: New file.
18051
18052         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18053         shared as a valid attribute.
18054         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18055         * extend.texi: Document `shared' variable attribute.
18056
18057 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
18058
18059         * configure.in: Handle --enable-threads on FreeBSD.
18060         * configure: Rebuit.
18061
18062 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18063
18064         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18065         thread support.
18066         * configure: Rebuilt.
18067
18068 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
18069                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18070                           Rosimildo DaSilva <rdasilva@connecttel.com>
18071
18072         * configure.in (m68k-*-rtemscoff*): Added.
18073         * configure.in (mips64orion-*-rtems*): Converted to ELF.
18074         * configure.in (sparc-*-rtemsaout*): Added as alias for old
18075         sparc-rtems configuration.
18076         * configure.in (sparc-*-rtemself*): Added.
18077         * configure.in (sparc-*-rtems*): Now ELF not a.out.
18078         * config/i386/rtems.h: Added comment.
18079         * config/sparc/rtemself.h: New file.
18080
18081         * configure.in (m68k-rtemself): Added.
18082         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18083         and DWARF_DEBUGGING_INFO.
18084         * config/m68k/crti.s: New file.
18085         * config/m68k/crtn.s: New file.
18086         * config/m68k/t-crtstuff: New file.
18087         * config/m68k/rtemself.h: New file.
18088
18089         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18090         global ctor/dtor and C++ exception handling.
18091         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18092         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18093         ENDFILE_SPEC.
18094         * config/i386/t-rtems-i386: New File.
18095
18096 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
18097
18098         * stmt.c (expand_end_case): Return right away if the case stack is
18099         empty.
18100
18101 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
18102
18103         * Makefile.in (version.c): Remove rule incorrectly brought in from
18104         the gcc2 merge.
18105
18106 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
18107
18108         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
18109         * msdos/top.sed:  Take into account a prepended $(SHELL) to
18110         move-if-change.
18111         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
18112
18113         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18114
18115 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18116
18117         * regmove.c (fixup_match_1): Don't change an unchanging register.
18118         (stable_but_for_p): Renamed to:
18119         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
18120         Changed all callers.
18121
18122 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
18123
18124         * loop.c (strength_reduce): Don't call reg_used_between_p if the
18125         insn from BL2 is after the insn from BL.
18126
18127 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
18128
18129         * recog.h (INSN_OUTPUT_FORMAT_*): New.
18130         (struct insn_data): Merge `template' and `outfun' into `output'.
18131         Add `output_format'.
18132         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18133         (struct data): Remove `outfun'; add `output_format'.
18134         (name_for_index): Remove declaration.
18135         (output_insn_data): Handle output formats.
18136         (process_template): Emit the bare array for @.
18137         (gen_expand, gen_split): Set output_format to NONE.
18138         * output.h (get_insn_template): Declare.
18139         * final.c (get_insn_template): New.
18140         (final_scan_insn): Use it.
18141         * toplev.c (compile_file): Likewise.
18142
18143         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18144         * i860/i860.c (output_delayed_branch): Likewise.
18145         (output_delay_insn): Likewise.
18146
18147 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18148
18149         * rtl.c (obstack_alloc_rtx): Removed.
18150
18151 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
18152
18153         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
18154
18155 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
18156
18157         * i386.c (call_insn_operand): Reject const_int.
18158         (expander_call_insn_operand): Use call_insn_operand.
18159
18160 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18161
18162         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
18163
18164 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
18165
18166         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
18167         Use DImode operation.
18168
18169 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
18170
18171         * gcc.c: Include sys/resource.h.
18172         (report_times): New flag.
18173         (execute):  If report_times is set, calculate and report the
18174         CPU time consumed by each subprocess.
18175
18176         (rus, prus): New globals.
18177         (option_map): Add --time.
18178         (display_help): Document -time.
18179         (process_command): Set report_times if -time is given.
18180         Turn off -pipe if -time is given.
18181
18182         * invoke.texi: Document new option -time.
18183
18184         * configure.in: Check for getrusage.  Check if we have to
18185         prototype getrusage.
18186         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18187         * configure: Regenerate.
18188         * config.in: Regenerate.
18189
18190 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
18191
18192         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18193         fields.
18194
18195 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
18196
18197         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18198         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18199         (nan): Return _thenan_sf or _thenan_df as appropriate.
18200         (L_thenan_sf): Define _thenan_sf.
18201         (L_thenan_df): Define _thenan_df.
18202
18203         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18204         (DPBIT_FUNCS): Add _thenan_df.
18205
18206 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
18207
18208         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
18209         TYPE_SIZE_UNIT.
18210
18211 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18212
18213         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18214
18215         * gcc.h: New file.
18216         (lang_specific_driver): Don't take a function pointer parameter.
18217         All callers changed.
18218
18219         * gcc.c: Include gcc.h.
18220         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18221         lang_specific_extra_outfiles, fatal): Don't declare.
18222         (multilib_defaults_raw): Constify.
18223         (read_specs): Call memset, rather than bzero.
18224         (main): Call return, not exit.
18225         (lookup_compiler): Call memcpy, not bcopy.
18226         (fatal): Make extern.
18227
18228         * cppspec.c: Include gcc.h.
18229         (lang_specific_driver): Initialize variable `quote'.  Constify a
18230         char*.  All calls to the function pointer parameter now
18231         explicitly call `fatal'.
18232
18233         * gccspec.c (lang_specific_driver): Include gcc.h.
18234
18235 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18236
18237         * arm.c (note_invalid_constants): Use recog_data.operand_type
18238         for recog_op_type.
18239
18240 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18241
18242         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18243         Declare.
18244
18245         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18246         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18247         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18248         reload_secondary_in_reload, reload_secondary_out_reload,
18249         reload_secondary_in_icode, reload_secondary_out_icode,
18250         reload_reg_rtx, reload_when_needed): Delete declarations.
18251         (struct reload): New structure.
18252         (rld): Declare new array.
18253         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18254         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18255         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18256         reload_secondary_in_reload, reload_secondary_out_reload,
18257         reload_secondary_in_icode, reload_secondary_out_icode,
18258         reload_reg_rtx, reload_when_needed): Delete definitions.
18259         (rld): New array.
18260         (whole file): Replace uses of the deleted arrays with uses of rld.
18261         * reload1.c (whole file): Replace uses of the deleted arrays with
18262         uses of rld.
18263         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18264         explicit loops, not with bcopy.
18265
18266 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18267
18268         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18269         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18270         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18271         insn_name): Delete and consolidate into new structures.
18272         (insn_operand_predicate_fn): New.
18273         (insn_output_fn): New.
18274         (insn_gen_fn): New.
18275         (struct insn_operand_data): New.
18276         (struct insn_data): New.
18277         (insn_data): New.
18278         (OUT_FCN): Update for insn_data change.
18279         * builtins.c (expand_builtin_strlen): Likewise.
18280         (expand_builtin_memcmp): Likewise.
18281         * combine.c (make_extraction, simplify_comparison): Likewise.
18282         * cse.c (canon_reg, cse_insn): Likewise.
18283         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18284         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18285         (emit_store_flag): Likewise.
18286         * expr.c (convert_move, emit_block_move): Likewise.
18287         (clear_storage, emit_push_insn, expand_increment): Likewise.
18288         (do_store_flag): Likewise.
18289         * expr.h (GEN_FCN): Likewise.
18290         (insn_gen_function): Die.
18291         * final.c (final_scan_insn): Update for insn_data change.
18292         (output_asm_name): Likewise.
18293         * function.c (fixup_var_refs_1): Likewise.
18294         * loop.c (check_dbra_loop): Likewise.
18295         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18296         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18297         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18298         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18299         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18300         * regmove.c (gen_add3_insn): Likewise.
18301         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18302         (find_reloads, find_reloads_address_1): Likewise.
18303         (debug_reload_to_stream): Likewise.
18304         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18305         * stmt.c (expand_end_case): Likewise.
18306         * toplev.c (compile_file): Likewise.
18307
18308         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18309         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18310
18311         * print-rtl.c (insn_name_ptr): Remove declaration.
18312         (get_insn_name): Declare.
18313         (print_rtx): Use it.
18314         * genoutput.c (insn_name_ptr): Remove.
18315         (next_operand_number): New.
18316         (struct operand_data): New.
18317         (null_operand, odata, odata_end): New.
18318         (struct data): Use struct operand_data.
18319         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18320         (get_insn_name): Renamed from name_for_index.
18321         (output_prologue): Define NO_MD_PROTOTYPES.
18322         (output_predicate_decls): Break out from output_epilogue.
18323         Iterate over the operands list.
18324         (output_operand_data): Break out from output_epilogue.  Emit
18325         just the operands list.
18326         (output_insn_data): Break out from output_epilogue.  Emit just
18327         the insn data.
18328         (output_epilogue): Remove.
18329         (output_get_insn_name): New.
18330         (constraints, op_n_alternatives, predicates, address_p): Die.
18331         (modes, strict_low, seen): Die.
18332         (scan_operands): Take new param `d' instead of writing to
18333         seven global variables.
18334         (compare_operands): New.
18335         (place_operands): New.
18336         (validate_insn_alternatives): Update for struct data change.
18337         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18338         scan_operands; call place_operands.
18339         (gen_peephole, gen_expand, gen_split): Likewise.
18340         (main): Update for new output routines.
18341
18342         * genattr.c (insn_name_ptr): Remove.
18343         (get_insn_name): New function.
18344         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18345         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18346         * genrecog.c: Likewise.
18347
18348         * alpha.md (adddi3): Make `pattern' array static.
18349
18350 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18351
18352         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18353         c4x_cpu_version_string): Constify char *.
18354         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18355         c4x_cpu_version_string): Likewise.
18356
18357 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18358
18359         * tree.c (save_tree_status): Revert 10 Sep change.
18360         (restore_tree_status): Likewise.  Call obstack_free with NULL
18361         before freeing the obstack proper.
18362
18363 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18364
18365         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18366
18367         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18368         surrounding context.
18369
18370 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18371
18372         * tree.c (type_hash_canon): Put all types in the hash-table, when
18373         GC'ing.
18374
18375 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18376
18377         * recog.h (struct recog_data, recog_data): New.
18378         (recog_foo variables): Kill.
18379         * recog.c (recog_operand, recog_operand_loc): Kill.
18380         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18381         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18382         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18383         (recog_data): Define.
18384         (extract_insn): Update all recog_foo references to use recog_data.
18385         (preprocess_constraints, constrain_operands): Likewise.
18386         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18387         * genattrtab.c (main): Likewise.
18388         * genextract.c (main): Likewise.
18389         * genoutput.c: Likewise.
18390         * genrecog.c (write_subroutine, main): Likewise.
18391         * local-alloc.c (block_alloc): Likewise.
18392         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18393         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18394         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18395         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18396         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18397         (reload_cse_simplify_operands): Likewise.
18398
18399         * arc/arc.c (arc_final_prescan_insn): Likewise.
18400         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18401         * h8300/h8300.c (notice_update_cc): Likewise.
18402         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18403         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18404         * mn10200/mn10200.c (notice_update_cc): Likewise.
18405         * mn10300/mn10300.c (notice_update_cc): Likewise.
18406         * romp/romp.c (update_cc): Likewise.
18407         * sparc/sparc.c (check_pic): Likewise.
18408         * v850/v850.c (notice_update_cc): Likewise.
18409
18410         * genemit.c (main): Don't declare recog_operand.
18411
18412 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18413
18414         * ggc.h (rtvec_def): Forward declare.
18415         (tree_node): Likewise.
18416         (ggc_root): Define.
18417         (roots): Declare.
18418         (ggc_set_mark_rtx): Add prototype.
18419         (ggc_set_mark_rtvec): Likewise.
18420         (ggc_set_mark_tree): Likewise.
18421         * ggc-simple.c (ggc_root): Don't define.
18422         (roots): Don't declare.
18423         (ggc_mark_rtx): Remove.
18424         (ggc_mark_rtvec): Likewise.
18425         (ggc_mark_tree): Likewise.
18426         (ggc_mark_varray): Likewise.
18427         (ggc_mark_tree_hash_table_entry): Likewise.
18428         (ggc_mark_tree_hash_table): Likewise.
18429         (ggc_set_mart_rtx): New function.
18430         (ggc_set_mark_rtvec): Likewise.
18431         (ggc_set_mark_tree): Likewise.
18432         (ggc_add_root): Remove.
18433         (ggc_add_rtx_root): Likewise.
18434         (ggc_remove_tree_root): Likewise.
18435         (ggc_add_string_root): Likewise.
18436         (ggc_add_tree_varray_root): Likewise.
18437         (ggc_add_tree_hash_table_root): Likewise.
18438         (ggc_del_root): Likewise.
18439         (ggc_mark_rtx_ptr): Likewise.
18440         (ggc_mark_tree_ptr): Likewise.
18441         (ggc_mark_string_ptr): Likewise.
18442         (ggc_mark_tree_varray_ptr): Likewise.
18443         (ggc_mark_tree_hash_table_ptr): Likewise.
18444         * ggc-common.c: New file.
18445         * Makefile.in (OBJS): Add ggc-common.o.
18446         (ggc-common.o): List dependencies.
18447
18448 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18449
18450         * cppalloc.c (xstrdup): Use memcpy.
18451         * cpperror.c (cpp_print_containing_files): Don't use
18452         cpp_notice.
18453         * cpplib.c (conditional_skip): Set temp->lineno.
18454         (do_endif): Make error message less obscure.
18455         (if_directive_name): New function.
18456         (cpp_get_token [case EOF]): Unwind the if stack and generate
18457         error messages for each unterminated conditional in this file.
18458         (parse_string):  Do not behave differently if -traditional.
18459
18460 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18461
18462         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18463         va_list decomposing to pointer-type.
18464         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18465         (rs6000_va_arg): Likewise.
18466
18467 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18468
18469         * except.c (start_dynamic_handler): Compute size using
18470         STACK_SAVEAREA_MODE.
18471
18472 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18473
18474         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18475         include directory headers.  Don't define strrchr.  Don't provide
18476         my_* replacement functions.  Prefer PTR over `pointer_type'.
18477         Don't prototype system functions.  Don't redefine getopt.
18478
18479         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18480         safe_read, safe_write, save_pointers, restore_pointers,
18481         is_id_char, in_system_include_dir, directory_specified_p,
18482         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18483         find_corresponding_lparen, referenced_file_is_newer,
18484         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18485         process_aux_info_file, identify_lineno, check_source,
18486         seek_to_line, forward_to_next_token_char, output_bytes,
18487         output_string, output_up_to, other_variable_style_function,
18488         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18489         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18490         find_static_definition, connect_defs_and_decs, add_local_decl,
18491         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18492         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18493         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18494         scan_for_missed_items, edit_file, string_list_cons): Add static
18495         prototypes.
18496         (standard_exec_prefix, target_machine, target_version,
18497         default_syscalls_dir, string_list, string_list_cons, find_file,
18498         do_cleaning): Constify a char*.
18499         (safe_read, safe_write): Use PTR, not a char*.
18500         (is_id_char): Take an int, not a char.
18501         (main): Add prototype.  Call return, not exit.
18502
18503 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18504
18505         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18506         when comparing types.
18507
18508 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18509
18510         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18511         (strength_reduce): Release the varrays from the no-bivs early exit.
18512
18513         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18514         the loop over the registers.
18515
18516         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18517         for a new obstack.
18518         (restore_tree_status): Check that instead when freeing the obstack.
18519
18520 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18521
18522         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18523         as pointers.
18524
18525 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18526
18527         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18528         operand size modifiers.
18529
18530 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18531
18532         * c-common.c (c_common_nodes_and_builtins): Don't build
18533         va_list_type_node.
18534         * c-common.h (enum c_tree_index and related accesor macros): Remove
18535         everything now declared in tree.h.
18536         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18537         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18538         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18539         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18540         unsigned_type_node, ptr_type_node, va_list_type_node,
18541         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18542         (init_decl_processing): Call build_common_tree_nodes and
18543         build_common_tree_nodes_2 instead of building their nodes here.
18544         Don't add roots for these nodes.
18545         * stor-layout.c (size_zero_node, size_one_node): Delete.
18546         (set_sizetype): Make a new node for bitsizetype each time.
18547         * tree.c (global_trees): New variable.
18548         (init_obstacks): Add a gc root for it.
18549         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18550         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18551         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18552         (build_common_tree_nodes): New function.
18553         (fix_sizetype): New function.
18554         (build_common_tree_nodes_2): New function.
18555         * tree.h (enum tree_index): New.
18556         (global_trees): Declare.
18557         Add accessor macros for all nodes now moved to global_trees.
18558         Delete their declarations.
18559
18560 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18561
18562         * c-decl.c (finish_function): When processing a nested function,
18563         push and pop GC context around rest_of_compilation.
18564
18565 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18566
18567         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18568         Default ix86_arch to PROCESSOR_I386.
18569         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18570         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18571         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18572         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18573         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18574         (EXTRA_SPECS): Remove deleted specs.
18575
18576 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18577
18578         * function.c (assign_stack_local_1): Allocate from
18579         function->x_frame_offset, not frame_offset.
18580
18581 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18582
18583         * ggc.h (lang_cleanup_tree): Remove.
18584         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18585         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18586
18587         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18588         TYPE_LANG_SPECIFIC when garbage collecting.
18589         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18590         (lang_cleanup_tree): Remove.
18591
18592 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18593
18594         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18595         * crtstuff.c: Not here.
18596         * dwarf2out.c: Or here.
18597         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18598         info.
18599
18600 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18601
18602         * function.h (free_after_compilation): Remove decl parameter.
18603         (free_varasm_status0: Likewise.
18604         (free_emit_status): Likewise.
18605         (free_stmt_status): Likewise.
18606         (free_after_compilation): Likewise.
18607         (init_lang_status): New variable.
18608         (free_lang_status): Likewise.
18609         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18610         * function.c (init_lang_status): New variable.
18611         (free_lang_status): Likewise.
18612         (push_function_context_to): Don't set function::decl here.
18613         (free_after_copmilation): Make decl parameter implicit.  Call
18614         free_lang_status if defined.
18615         (prepare_function_start): Call init_lang_status if defined.
18616         (init_function_start): Set function::decl here.
18617         * profile.c (output_func_start_profiler): Don't call pushdecl
18618         until we've actually started the function.
18619         * stmt.c (free_stmt_status): Make decl parameter implicit.
18620         * toplev.c (rest_of_compilation): Don't pass decl to
18621         free_after_compilation.
18622         * varasm.c (free_varasm_status): Likewise.
18623
18624 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18625
18626         * except.c (call_get_eh_context): Add root when allocating static
18627         tree variable.
18628
18629 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18630
18631         * arm.c: Include "ggc.h".
18632         (arm_add_gc_roots): New function.
18633         (arm_override_options): Call it.
18634         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18635
18636         * arm.md (define_asm_attributes): Add a pool_range attribute.
18637
18638 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18639
18640         * extend.texi (Volatiles): New node.
18641
18642 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18643
18644         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18645         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18646         (struct ggc_any): Replace `mark' with `magic_mark'.
18647         (ggc_alloc_string): Use memcpy, not bcopy.
18648         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18649         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18650         (ggc_free_any): New.
18651         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18652         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18653         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18654         Use IS_MARKED. Use ggc_free_any.
18655
18656 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18657
18658         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18659
18660 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18661
18662         * toplev.c (main): Always init_ggc.
18663
18664 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18665
18666         * except.c (find_all_handler_type_matches): Free the list if
18667         we found no matches.
18668
18669         * combine.c (SUBST): Break out to a real function do_SUBST.
18670         (SUBST_INT): Likewise.
18671         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18672         (pre_insert): Free `inserted'.
18673         * loop.c (basic_induction_var): Always set `location'.
18674
18675         * function.c (expand_function_end): Add initial_trampoline as a root.
18676         * rtl.h (init_varasm_once): Declare.
18677         * toplev.c (compile_file): Call it.
18678         * ggc-simple.c (ggc_mark_string_ptr): New.
18679         (ggc_add_string_root): New.
18680         (ggc_collect): Disable collection avoidance temporarily.
18681         * ggc.h (ggc_add_string_root): Declare.
18682         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18683         * optabs.c (init_libfuncs): Likewise.
18684         * varasm.c (named_section): Use ggc_alloc_string.
18685         (make_function_rtl): Likewise.
18686         (make_decl_rtl): Likewise.
18687         (assemble_static_space): Likewise.
18688         (assemble_trampoline_template): Likewise.
18689         (output_constant_def): Likewise.
18690         (force_const_mem): Likewise.
18691         (mark_const_hash_entry): New.
18692         (mark_pool_sym_hash_table): New.
18693         (mark_varasm_state): Use it.
18694         (init_varasm_once): New.
18695
18696         * expr.h (init_one_libfunc): Declare.
18697         * optabs.c (init_one_libfunc): New.
18698         (init_optabs): Use it.
18699         * config/gofast.h: Likewise.
18700         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18701         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18702
18703 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18704
18705         * Makefile.in (cppexp.o): Depend on cpphash.h.
18706         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18707         Include cpphash.h.
18708         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18709         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18710         redefining poisoned identifiers, etc.
18711         (do_undef): Don't allow poisoned identifiers to be undefined.
18712         (do_pragma): Add #pragma poison.
18713         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18714
18715         * cccp.c: Add T_POISON node type.
18716         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18717         poisoned xxx.
18718         (do_define): Generalise to handle poisoned definitions,
18719         redefining poisoned identifiers, etc.
18720         (do_undef): Don't allow poisoned identifiers to be undefined.
18721         (do_pragma): Add #pragma poison.
18722         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18723
18724         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18725         * c-pragma.h: Add ps_poison state.  We now always have generic
18726         pragmas.
18727
18728 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18729
18730         * ggc.h (ggc_alloc): New function.
18731         (ggc_mark): Likewise.
18732         * ggc-simple.c (ggc_any): New structure.
18733         (ggc_status): Add anys.
18734         (n_anys_collected): New variable.
18735         (ggc_alloc): Define.
18736         (ggc_mark): Likewise.
18737         (ggc_collect): Collect the anys.
18738
18739 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18740
18741         * c-decl.c (mark_binding_level): Make static to match prototype.
18742
18743 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18744
18745         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18746
18747 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18748
18749         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18750         will use into account.  Expand the max width to 5.
18751         * rtl.c: Likewise.
18752
18753 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18754
18755         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18756         for the rtx length.
18757
18758 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18759
18760         * alpha.md (call value patterns): Remove the result predicates.
18761
18762 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18763
18764         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18765         last change.
18766
18767 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18768
18769         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18770         changed from extern char *, to extern PTR.  Also fix typo in
18771         NEED_DECLARATION_REALLOC test.
18772
18773         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18774
18775 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18776
18777         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18778         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18779         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18780         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18781
18782         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18783
18784         * cccp.c (pcfinclude): Likewise.
18785
18786         * global.c (allocno_compare): Likewise.
18787
18788         * haifa-sched.c (rank_for_schedule): Likewise.
18789
18790         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18791
18792         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18793
18794         * stupid.c (stupid_reg_compare): Likewise.
18795
18796         * tree.c (_obstack_allocated_p): Likewise.
18797
18798         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18799
18800 1999-09-08  Bruce Korb  autogen@linuxbox.com
18801
18802         * Makefile.in: Give the hapless gperf user a hint about
18803         why "gperf -F" fails.
18804
18805 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18806
18807         * lists.c: Include ggc.h.
18808         (zap_lists): New.
18809         (init_EXPR_INSN_LIST_cache): Install it.
18810
18811         * ggc-simple.c (init_ggc): Absorb the old init.
18812         (ggc_push_context): Use xcalloc.
18813         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18814         (ggc_collect): Add [rvts] tags to the collection stats.
18815
18816 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18817
18818         * cccp.c (main): Fix handling of -include and -imacros options.
18819
18820 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18821
18822         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18823
18824 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18825
18826         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18827         genrtl.c.
18828
18829 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18830
18831         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18832         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18833         and SET_DEST. Update comment.
18834
18835 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18836
18837         * config/c4x/c4x.c: Include ggc.h.
18838         (c4x_add_gc_roots): New function.
18839         (c4x_override_options): Call c4x_add_gc_roots.
18840
18841 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18842
18843         * defaults.h (TARGET_ESC): Move ...
18844         * system.h: ... here, where Linas had it in the first place.  Silly me.
18845
18846 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18847
18848         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18849         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18850         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18851         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18852         * defaults.h (TARGET_ESC): Add default.
18853
18854 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18855
18856         * configure.in: add i370-*-openedition, i370-*-mvs and
18857         i370-*-linux targets
18858
18859 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18860
18861         * dsp16xxx.c: Include ggc.h
18862         (override_options): Mark GC roots.
18863         * mn10200.c: Include ggc.h.
18864         (asm_file_start): Mark GC roots.
18865         * tahoe.c: Include ggc.h.
18866         (extensible_operand): Mark GC roots.
18867
18868 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18869
18870         * README: Add section discussing status of ELF ABI.
18871         * i370.c: Fix misc spelling mistakes.
18872         (i370_label_scan): Updated notes, exception handling.
18873         (i370_function_prolog): Simplify ELF stack handling.
18874         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18875         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18876         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18877         * i370.md: (movdi): Add notes.
18878         (floatsidf2): Use stack not rtca for scratch float area.
18879         (iorsi3): Correct operand constraints.
18880         * x-oe: Restore TAROUTOPTS which are used by pax.
18881
18882 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18883
18884         * rs6000.c: Include ggc.h.
18885         (rs6000_add_gc_roots): New function.
18886         (override_options): Call it.
18887
18888 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18889
18890         * alpha.h (alpha_compare): New.
18891         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18892         * alpha.c: Likewise for the definitions.
18893         (alpha_emit_conditional_branch): Update for alpha_compare.
18894         (alpha_emit_conditional_move): Likewise.
18895         * alpha.md (cmpdf, cmpdi): Likewise.
18896         (setcc patterns): Likewise.  Zero alpha_compare after use.
18897         (sne): Optimize (x != 0) into (0U < x).
18898
18899 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18900
18901         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18902         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18903         (INIT_EXPANDERS): Remove.
18904         * alpha.c: Include ggc.h.
18905         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18906         (alpha_init_machine_status, alpha_mark_machine_status): New.
18907         (override_options): Install them.
18908         (struct machine_function): Moved to alpha.h.
18909         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18910         (alpha_init_expanders): Remove.
18911         (alpha_return_addr): Adjust to use current_function->machine.
18912         (alpha_ra_ever_killed): Likewise.
18913         (alpha_expand_epilogue): Likewise.
18914         * alpha.md (eh_epilogue): Likewise.
18915
18916 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18917                           Melissa O'Neill  <oneill@cs.sfu.ca>
18918                           Geoffrey Keating  <geoffk@cygnus.com>
18919
18920         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18921         call-used registers (call-saved registers must still be contiguous
18922         and end with r31, of course).
18923
18924 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18925
18926         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18927         (self_promoting_type_p): Delete.
18928         (self_promoting_args_p): Move ...
18929         * c-common.c: ... here.
18930         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18931         (simple_type_promotes_to): New.
18932         * builtins.c (lang_type_promotes_to): New.
18933         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18934         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18935         * c-common.h: ... here.
18936         (self_promoting_args_p, simple_type_promotes_to): Declare.
18937         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18938         (grokdeclarator): Likewise.
18939         * tree.h (lang_type_promotes_to): Declare.
18940
18941 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18942
18943         Add some machine-dependent GC roots.
18944         * sparc.c: Include ggc.h.
18945         (sparc_add_gc_roots): New function.
18946         (mark_ultrasparc_pipeline_state): Likewise.
18947         (override_options): Call sparc_add_gc_roots.
18948         * pa.c: Include ggc.h.
18949         (pa_add_gc_roots): New function.
18950         (mark_deferred_plabels): Likewise.
18951         (override_options): Call pa_add_gc_roots.
18952         * mips.c: Include ggc.h.
18953         (mips_add_gc_roots): New function.
18954         (override_options): Use it.
18955
18956 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18957
18958         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18959
18960         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18961         cpp_parse_expr): Add static prototypes.
18962         (parse_charconst): Don't cast away const-ness.
18963         (token): Constify a char*.
18964
18965         * cppfiles.c (file_name_list, include_hash, find_include_file,
18966         finclude, initialize_input_buffer): Constify a char*.
18967         (file_cleanup, find_position): Add static prototypes.
18968
18969         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18970         collect_expansion): Add static prototypes.
18971         (cpp_install, create_definition, monthnames): Constify a char*.
18972
18973         * cpphash.h (cpp_install): Likewise.
18974
18975         * cppinit.c (known_suffixes, default_include,
18976         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18977         (base_name, dump_special_to_buffer, initialize_dependency_output):
18978         Add static prototypes.
18979
18980         * cpplib.c (my_strerror): Constify a char*.
18981         (null_underflow, null_cleanup, skip_comment, copy_comment,
18982         copy_rest_of_line, handle_directive, pass_thru_directive,
18983         get_directive_token, read_line_number, cpp_print_file_and_line,
18984         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18985         v_cpp_warning_with_line, detect_if_not_defined,
18986         consider_directive_while_skipping): Add static prototypes.
18987         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18988         cpp_pedwarn_with_file_and_line): Constify a char*.
18989
18990         * cpplib.h (cpp_options, include_hash, progname, definition,
18991         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18992         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18993         find_include_file, deps_output, include_hash): Constify a char*.
18994
18995         * cppmain.c (progname): Constify.
18996         (main): Add prototype.  Use return, not exit.
18997
18998         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18999         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
19000         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
19001         check_protection): Add static prototype.
19002         (xfree): Remove.
19003         (progname, recognized_macrom, recognized_extern): Constify a char*.
19004         (main): Add prototype.
19005
19006         * gen-protos.c (progname): Constify a char*.
19007
19008 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
19009
19010         * emit-rtl.c (free_emit_status): Take decl as a parameter.
19011         (init_emit_once): Add more GC roots.
19012         * except.c (mark_func_eh_entry): New function.
19013         (mark_eh_node): Mark false_label and rethrow_label.
19014         (init_eh): Add more GC roots.
19015         * function.c (free_after_compilation): Take decl as a paramter.
19016         Call free_stmt_status.
19017         (mark_function_state): Don't assume x_parm_reg_stack_loc is
19018         non-NULL.
19019         * function.h (free_after_compilation): Change prototype.
19020         (free_varasm_status): Likewise.
19021         (free_emit_status): Likewise.
19022         (free_stmt_status): New function.
19023         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
19024         Remove, replacing with ...
19025         (ggc_status): New structure.
19026         (ggc_chain): New variable.
19027         (init_gcc): Define.
19028         (ggc_push_context): New function.
19029         (ggc_pop_context): Likewise.
19030         (ggc_alloc_rtx): Adjust for use of ggc_chain.
19031         (ggc_alloc_rtvec): Likewise.
19032         (ggc_alloc_tree): Likewise.
19033         (ggc_alloc_string): Likewise.
19034         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19035         (ggc_mark_tree): Give language-dependent code a chance to mark
19036         `x' nodes.
19037         (ggc_mark_tree_varray): Handle empty arrays.
19038         (ggc_collect): Adjust for use of ggc_chain.  Clear
19039         bytes_alloced_since_last_gc.
19040         * ggc.h (ggc_pop_context): New function.
19041         (ggc_push_context): Likewise.
19042         * print-tree.c (print_node): Don't print obstacks when GC'ing.
19043         * stmt.c (free_stmt_status): New function.
19044         (init_stmt_for_function): Clear last_expr_value.
19045         * toplev.c (rest_of_compilation): Always call free_after_compilation.
19046         Conditionalize call to ggc_collect.
19047         (main): Call init_ggc.
19048         * tree.c (push_obstacks): Do the push, even when GC'ing.
19049         (push_obstacks_nochange): Likewise.
19050         (pop_obstacks): Liekwise.
19051         * varasm.c (free_varasm_status): Take decl as a parameter.
19052
19053 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19054
19055         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19056         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19057         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19058         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19059
19060 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
19061
19062         * pa/x-pa-mpeix: New file for the MPE port.
19063
19064         * pa/quadlib.asm: New file for long double support.
19065
19066         * configure.in: Add hppa1.0-*-mpeix for MPE port.
19067         * configure: Rebuilt.
19068
19069 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
19070
19071         * final.c (shorten_branches): Fix last change.
19072
19073 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
19074
19075         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19076
19077 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
19078
19079         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
19080         details.
19081
19082 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19083
19084         * c-aux-info.c (concat): Don't define.
19085
19086         * cccp.c (my_strerror): Likewise.  All callers changed to use
19087         xstrerror instead.
19088         (do_include): Call xstrdup, not xmalloc/strcpy.
19089         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19090         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19091
19092         * collect2.c (my_strsignal): Likewise.  All callers changed to use
19093         strsignal instead.
19094         (locatelib): Call xstrdup, not xmalloc/strcpy.
19095
19096         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19097
19098         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19099
19100         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19101
19102         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19103
19104         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19105
19106         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19107
19108         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19109         malloc/realloc.
19110         (find_all_handler_type_matches): Likewise.  Don't check return
19111         value.
19112         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19113         xmalloc, not malloc.
19114         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
19115
19116         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19117         (init_spec): Call xcalloc, not xmalloc/bzero.
19118         (set_spec): Call xstrdup, not save_string.
19119         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19120         (find_a_file): Call xstrdup, not xmalloc/strcpy.
19121         (process_command): Call xstrdup, not save_string.
19122         (main): Call xcalloc, not xmalloc/bzero.
19123
19124         * gcov.c (xmalloc): Don't define.
19125         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19126         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19127         (output_data): Call xcalloc, not xmalloc/bzero.
19128
19129         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19130
19131         * mips-tdump.c (xmalloc): Don't define.
19132         (print_symbol): Call xmalloc, not malloc.
19133         (read_tfile): Call xcalloc, not calloc.
19134
19135         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19136         Don't define.  All callers of xfree/my_strsignal changed to use
19137         free/strsignal instead.
19138         (allocate_cluster): Call xcalloc, not calloc.
19139
19140         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19141         Fix memory leak, free allocated memory.
19142
19143         * prefix.c (translate_name): Call xstrdup, not save_string.
19144         (update_path): Likewise.
19145
19146         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
19147
19148         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
19149         Don't define.  Callers of xfree/savestring2 changed to use
19150         free/concat instead.
19151
19152         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
19153         (init_elim_table): Likewise.
19154
19155         * resource.c (init_resource_info): Likewise.
19156
19157         * stupid.c (stupid_life_analysis): Likewise.
19158
19159         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
19160         (open_dump_file): Call concat, not xmalloc/strcpy/...
19161         (clean_dump_file): Likewise.
19162         (compile_file): Call xstrdup, not xmalloc/strcpy.
19163
19164 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
19165
19166         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
19167         * v850.c (v850_va_arg): New.
19168
19169 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19170
19171         * haifa-sched.c: Tidy comments.
19172
19173 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19174
19175         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19176         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19177         $(out_object_file)): Depend on ggc.h.
19178         * c-common.c: Include "ggc.h".
19179         (combine_strings): If doing GC, use ggc_alloc_string.
19180         * c-decl.c: Include "ggc.h".
19181         (ggc_p): Define with value 0.
19182         (mark_binding_level): New function.
19183         (init_decl_processing): Add GC roots.
19184         (mark_c_function_context): New function.
19185         (lang_mark_false_label_stack): New function.
19186         (lang_mark_tree): New function.
19187         (lang_cleanup_tree): New function.
19188         * c-lang.c: Include "ggc.h".
19189         (lang_init): Call c_parse_init.
19190         * c-lex.c: Include "ggc.h".
19191         (check_linenum): If doing GC, don't copy filenames to permanent
19192         obstack.
19193         * c-parse.in: Include "ggc.h".
19194         (c_parse_init): New function.
19195         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19196         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19197
19198         * except.c (mark_eh_state): Mark more state.
19199         * function.c (mark_function_state): Likewise.
19200         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19201         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19202         * toplev.c (mark_file_stack): New function.
19203         (compile_file): If doing GC, use ggc_alloc_string on input filename.
19204         (main): Add root for input_file_stack.
19205
19206         * i386.c: Include "ggc.h".
19207         (ix86_mark_machine_status): New function.
19208         (override_options): Set mark_machine_status.
19209
19210 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19211
19212         * tree.c (copy_node): Copy node contents also if doing GC.
19213
19214 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19215
19216         * collect2.c (scan_libraries): Fix double-thinko :-).
19217
19218 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
19219
19220         * collect2.c (scan_libraries): Fix thinko.
19221
19222         * cse.c (delete_trivially_dead_insns): Do not skip the last
19223         insn if it is a real insn.
19224
19225 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19226
19227         * Makefile.in (ggc-simple.o): Depend on hash.h.
19228         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19229         (ggc_mark_tree_varray): Likewise.
19230         (ggc_mark_tree_hash_table): Likewise.
19231         * ggc-simple.c: Include hash.h.
19232         (ggc_mark_tree_hash_table_ptr): New function.
19233         (ggc_mark_tree_hash_table_entry): Likewise.
19234         (ggc_mark_tree_hash_table): Likewise.
19235         (ggc_add_tree_hash_table_root): Likewise.
19236         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19237         rtx, when defining fields.
19238
19239 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19240
19241         * profile.c (output_func_start_profiler): Remove apparently
19242         nonsensical call to start_sequence.
19243
19244 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19245
19246         * clipper/clipper.c (clipper_va_start): Fix typos.
19247
19248         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19249         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19250         (spur_va_arg): New stub.
19251
19252         * configure.in: Comment out pyramid.
19253
19254 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19255
19256         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19257         don't conflict with the bits that win32, cygwin, and dgux
19258         defines.
19259
19260 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19261                           Bernd Schmidt <bernds@cygnus.co.uk>
19262
19263         * integrate.c (function_cannot_inline_p): Do not inline
19264         functions with forced labels.
19265
19266 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19267                           Bernd Schmidt <bernds@cygnus.co.uk>
19268                           Mark Mitchell  <mark@codesourcery.com>
19269
19270         * Makefile.in (ggc-simple.o): Depend on varray.h.
19271         (rtl.o): Depend on ggc.h.
19272         (genattrtab.o): Depend on ggc.h.
19273         (print-tree.o): Likewise.
19274         (fold-const.o): Likewise.
19275         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19276         (make_insn_raw): Don't cache insns when GC'ing.
19277         (emit_insn_before): Likewise.
19278         (emit_insn_after): Likewise.
19279         (emit_insn): Likewise.
19280         (start_sequence): Use xmalloc to allocate the sequence_stack.
19281         (end_sequence): Add free to free it.
19282         (gen_sequence): Don't cache insns when GC'ing.
19283         (clear_emit_caches): Don't use sequence_element_free_list.
19284         (init_emit): Use xcalloc, not xmalloc+bzero.
19285         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19286         * function.c (pop_function_context_from): Use free to free the
19287         fixup_var_refs_queue.
19288         (put_reg_into_stack): Allocate it with xmalloc.
19289         * genattrtab.c: Include ggc.h.
19290         (operate_exp): Don't use obstack_free when GC'ing.
19291         (simplify_cond): Likewise.
19292         (simplify_text_exp): Likewise.
19293         (optimize_attrs): Likewise.
19294         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19295         GC'ing.
19296         (gencode): Generate a #include for ggc.h.
19297         * ggc-callbacks.c (ggc_p): Define it to zero.
19298         * ggc-none.c (ggc_p): Likewise.
19299         * ggc-simple.c: Include varray.h.
19300         (ggc_mark_tree_varray): New function.
19301         (ggc_add_tree_varray_root): Likewise.
19302         (ggc_mark_tree_varray_ptr): Likewise.
19303         * ggc.h (ggc_p): Declare.
19304         (varray_head_tag): Likewise.
19305         (ggc_add_tree_varray_root): Declare.
19306         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19307         inconsistencies when GC'ing.
19308         * rtl.c: Include ggc.h.
19309         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19310         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19311         (rtx_free): Don't call obstack_free when GC'ing.
19312         * toplev.c (rest_of_compilation): Call ggc_collect after every
19313         pass, if GC'ing.
19314         * tree.c (push_obstacks): Do nothing, if GC'ing.
19315         (pop_obstacks_nochange): Likewise.
19316         (pop_obstacks): Likewise.
19317         (make_node): Use ggc_alloc_tree when GC'ing.
19318         (copy_node): Likewise.
19319         (get_identifier): Use ggc_alloc_string when GC'ing.
19320         (build_string): Likewise.
19321         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19322         (tree_cons): Likewise.
19323         (build1): Likewise.
19324         (type_hash_canon): Don't call obstack_free when GC'ing.
19325
19326 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19327
19328         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19329         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19330
19331 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19332                           Bernd Schmidt <bernds@cygnus.co.uk>
19333                           Mark Mitchell  <mark@codesourcery.com>
19334
19335         * Makefile.in (stor-layout.o): Depend on ggc.h.
19336         (expr.o): Depend on ggc.h.
19337         (profile.o): Depend on ggc.h.
19338         (stor-layout.o): Depend on ggc.h.
19339         * emit-rtl.c (init_emit_once): Add gc roots.
19340         * expr.c: Include ggc.h.
19341         (emit_block_move): Add gc roots.
19342         (clear_storage): Likewise.
19343         * expr.h (init_stor_layout_once): New function.
19344         * profile.c: Include ggc.h.
19345         (init_arc_profiler): profiler_label is a root.
19346         * scan.c (make_sstring_space): Trust xrealloc to function
19347         correctly with first parameter NULL.
19348         * stor-layout.c: Include ggc.h.
19349         (set_sizetype): Add gc root.
19350         (init_stor_layout_once): New function.
19351         * toplev.c (compile_file): Call it.
19352
19353 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19354                           Bernd Schmidt <bernds@cygnus.co.uk>
19355                           Mark Mitchell  <mark@codesourcery.com>
19356
19357         * Makefile.in (tree.o): Depend on ggc.h.
19358         (varasm.o): Likewise.
19359         (function.o): Likewise.
19360         (stmt.o): Likewise.
19361         (except.o): Likewise.
19362         (optabs.o): Likewise.
19363         (emit-rtl.o): Likewise.
19364         * emit-rtl.c: Include ggc.h.
19365         (sequence_element_free_list): Remove, and all references.
19366         (mark_sequence): New functions.
19367         (mark_emit_state): New function.
19368         * except.c: Include ggc.h.
19369         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19370         (mark_tree_label_node): New functions.
19371         (mark_eh_state): New function.
19372         * function.c: Include ggc.h.
19373         (mark_temp_slot, mark_function_chain): New functions.
19374         (mark_function_state): New function.
19375         (init_function_once): New function.
19376         * function.h (init_function_once): New function.
19377         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19378         * ggc.h (label_node): Declare.
19379         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19380         (lang_mark_false_label_stack): New function.
19381         (mark_temp_slot): Remove declaration.
19382         (mark_function_chain): Likewise.
19383         (mark_eh_state): Adjust prototype.
19384         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19385         Likewise.
19386         * optabs.c: Include ggc.h.
19387         (mark_optab): New function.
19388         (init_optabs): Add gc roots.
19389         * stmt.c: Include ggc.h.
19390         (mark_cond_nesting, mark_loop_nesting): New functions.
19391         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19392         (mark_stmt_state): New function.
19393         * toplev.c (compile_file): Call init_function_once.
19394         * tree.c: Include ggc.h.
19395         (type_hash): Move declaration earlier in file.
19396         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19397         (init_obstacks): Add gc roots.
19398         (mark_type_hash): New function.
19399         * varasm.c: Include ggc.h.
19400         (mark_pool_constant): New function.
19401         (mark_varasm_state): New function.
19402
19403 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19404
19405         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19406
19407 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19408
19409         * c-decl.c (struct language_function): Renamed from struct c_function.
19410         Delete elt NEXT.
19411         (c_function_chain): Delete.
19412         (push_c_function_context): New arg F.  Don't warn about nested
19413         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19414         c_function_chain.  Don't call push_function_context.
19415         (pop_c_function_context): New arg F.  Restore from there instead of
19416         from c_function_chain.  Don't call pop_function_context.  Clear out
19417         LANGUAGE field of F when done.
19418         * c-lang.c: Include "function.h"
19419         (lang_init): Initialize save_lang_status and restore_lang_status.
19420         * c-parse.in (nested_function, nested_function_notype): Warn about
19421         nested functions.  Call push_function_context/pop_function_context
19422         instead of the _c_ variants.
19423         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19424         prototype.
19425         * Makefile.in (c-lang.o): Update dependencies.
19426
19427         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19428         regno_pointer_flag, regno_pointer_align.
19429         (gen_reg_rtx): Use xrealloc to enlarge them.
19430         (free_emit_status): New function.
19431         * function.c (mark_machine_status, mark_lang_status): New variables.
19432         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19433         in some bits from assign_stack_local.  All callers changed to use new
19434         name.
19435         (assign_stack_local): Just call assign_stack_local_1.
19436         (free_after_compilation): New function.
19437         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19438         (trampoline_address): Likewise.
19439         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19440         (prepare_function_start): Explicitly clear some more variables.
19441         * function.h (struct function): New elt can_garbage_collect.
19442         (mark_machine_status, mark_lang_status): Declare variables.
19443         (free_after_compilation, free_emit_status, free_varasm_status,
19444         init_varasm_status): Declare functions.
19445         * toplev.c (rest_of_compilation): Call free_after_compilation when
19446         done with the current function.
19447         * varasm.c (free_varasm_status): New function.
19448
19449 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19450
19451         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19452         (EXPAND_BUILTIN_VA_ARG): Define.
19453         * sparc.c (sparc_va_start): New.
19454         (sparc_va_arg): New.
19455
19456 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19457
19458         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19459
19460 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19461
19462         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19463
19464 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19465
19466         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19467         (OBJS): Add $(GGC).
19468         (ggc-callbacks.o): New target.
19469         * ggc-callbacks.c: New file.
19470
19471 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19472
19473         * expr.h: Collapse individual optab and libfunc vars to arrays.
19474         (optab_index, libfunc_index): New enumerations.
19475         (optab_table, libfunc_table): New arrays.
19476         Add accessor macros for both.
19477
19478         * optabs.c (optab_table, libfunc_table): New.
19479         Delete declarations for individual optab and libfunc vars.
19480
19481 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19482
19483         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19484
19485 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19486
19487         * Makefile.in (GGC, GGC_LIB): New.
19488         (HOST_RTL): Include ggc-none.o.
19489         (ggc-simple.o): New target.
19490         (ggc-none.o): Likewise.
19491         * tree.h (tree_common): Add gc_mark.
19492         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19493         (struct rtvec_def): Add gc_mark.
19494         * emit-rtl.c (global_rtl): Update static initializers to contain
19495         enough initializers.
19496         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19497         * toplev.c (gc_time): New variable.
19498         (all_time): New variable.
19499         (compile_file): Print gc time.
19500         (print_time): Calculate percentage of the whole.
19501
19502 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19503
19504         Change obstack memory management and varasm constant pool handling so
19505         that nested functions are treated like any other functions.
19506         * function.c (init_machine_status): New variable.
19507         (push_function_context_to): Set contains_functions for the outer
19508         function.  Don't call save_varasm_status.
19509         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19510         set current_function_contains_functions.
19511         (prepare_function_start): Call init_varasm_status rather than
19512         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19513         is non-null.
19514         * function.h (struct function) Add field varasm.  Delete fields
19515         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19516         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19517         (init_machine_status): Declare.
19518         (save_varasm_status, restore_varasm_status): Delete declarations.
19519         (save_tree_status, restore_tree_status): Delete last argument.
19520         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19521         code.  All callers changed.
19522         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19523         save_constants_in_decl_trees, restore_constants, save_constants,
19524         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19525         functions.
19526         (inlining): New variable.
19527         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19528         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19529         variables.
19530         (save_for_inline_nocopy): Don't save constants.
19531         Don't set inl_emit field in current_function.
19532         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19533         function.  Set new variable inlining before
19534         calling copy_rtx_and_substitute.
19535         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19536         constant pool references if inlining is nonzero.
19537         Delete ADDRESS and (most of the) CONST cases.
19538         (output_inline_function): Save and restore current_function/
19539         current_function_decl.  Delete restore_constants code.  Don't call
19540         init_const_rtx_hash_table.
19541         * output.h (init_const_rtx_hash_table): Don't declare.
19542         * rtl.h (struct function): Declare.
19543         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19544         * toplev.c (rest_of_compilation): Don't treat nested functions or
19545         functions containing them specially.  Delete all code to deal with
19546         save_for_inline_copying.
19547         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19548         inline_obstacks): Delete variables.
19549         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19550         Simply allocate a new function_maybepermanent_obstack for the new
19551         function, delete all the special cases.
19552         Don't save inline_obstacks.
19553         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19554         Delete special handling for function_maybepermanent_obstack; simply
19555         free it if empty.
19556         Don't restore inline_obstacks.
19557         (permanent_allocation):  Delete code that frees inline_obstacks.
19558         (print_inline_obstack_statistics): Delete function.
19559         (dump_tree_statistics): Don't call it.
19560         * varasm.c (struct varasm_status): New.
19561         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19562         last_pool, pool_offset, const_double_chain): Delete global
19563         variables, replace with accessor macros.
19564         (immed_double_const): Don't walk const_double_chain outside a
19565         function, but don't treat nested functions specially anymore.
19566         (immed_real_const_1): Likewise.
19567         (clear_const_double_mem): Don't treat nested functions specially.
19568         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19569         (save_varasm_status, restore_varasm_status): Delete functions.
19570         (init_varasm_status): New function.
19571         (force_const_mem): Don't treat nested functions specially.
19572         (find_pool_constant): Accept new arg F, search for constants in
19573         that function's pool rather than the current one.  All callers
19574         changed.
19575         (get_pool_constant_for_function, get_pool_mode_for_function): New
19576         functions.
19577
19578         * i386.c (init_386_machine_status): New function, mostly from
19579         clear_386_stack_locals.
19580         (struct machine_functions): Rename element names to avoid name
19581         clashes.
19582         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19583         macros, replacing global variables.
19584         (clear_386_stack_locals, save_386_machine_status,
19585         restore_386_machine_status): Delete functions.
19586         (override_options): Initialize init_machine_status.
19587         * i386.h (INIT_EXPANDERS): Delete macro.
19588         (save_386_machine_status, restore_386_machine_status,
19589         clear_386_stack_locals): Delete declarations.
19590
19591 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19592
19593         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19594         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19595         (doloop_end): Simplify pattern, switch operand order,
19596         and use emit_jump_insn.
19597
19598 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19599
19600         * function.h (struct function): Add new element LANGUAGE.
19601         (save_lang_status): Declare new variable.
19602         (restore_lang_status): Likewise.
19603         * function.c (save_lang_status): Define.
19604         (restore_lang_status): Likewise.
19605         (push_function_context_to): Call language-specific save function.
19606         (pop_function_context_from): Call language-specific restore function.
19607
19608 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19609
19610         * i386.md (movsf_1): Check REG_P before use of REGNO.
19611         (movdf_1): Likewise.
19612         (movxf_1): Likewise.
19613         (extendsfdf2): Likewise.
19614         (extendsfxf2): Likewise.
19615         (extenddfxf2): Likewise.
19616
19617 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19618
19619         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19620         constants into memory.
19621         (c4x_shiftable_constant): New function.
19622         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19623         (c4x_shiftable_constant): Declare.
19624         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19625         ashlqi3_noclobber): Add new patterns and associated splitters.
19626
19627 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19628
19629         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19630         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19631         * final.c (shorten_branches): Likewise.
19632         * global.c (global_alloc): Likewise.
19633         * haifa-sched.c (build_control_flow): Likewise.
19634         * stmt.c (check_for_full_enumeration_handling): Likewise.
19635         (estimate_case_costs): Likewise.
19636
19637 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19638
19639         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19640
19641 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19642
19643         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19644         (recompute_reg_usage): Likewise.
19645         * rtlanal.c (find_regno_fusage): Likewise.
19646
19647         * rtl.c (rtl_check_failed_code1): New function.
19648         (rtl_check_failed_code2): New.
19649         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19650         (RTL_CHECKC1, RTL_CHECKC2): New.
19651         (XC*): New accessor macros.
19652         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19653         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19654         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19655         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19656         (TRAP_*, RANGE_INFO_*): Likewise.
19657
19658 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19659
19660         * Makefile.in (tlink.o): Don't depend on toplev.h.
19661
19662         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19663         output_file, nm_file_name, ldd_file_name, strip_file_name,
19664         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19665         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19666         fork_execute, maybe_unlink, add_to_list,
19667         extract_init_priority, write_list, dump_list,
19668         dump_prefix_list, write_list_with_asm, write_c_file,
19669         write_c_file_stat, write_c_file_glob, scan_prog_file,
19670         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19671         ignore_library, extract_string, notice, dump_file, target_machine,
19672         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19673         read_file, print_load_command): Constify a char*.
19674         (fdopen, error, fatal, fatal_perror): Don't prototype.
19675         (my_strerror): Remove.  All callers use xstrerror instead.
19676         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19677         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19678         to xcalloc/strcpy/strcat/...  to one call to concat.
19679         (main, scan_prog_file, scan_libraries): Use an intermediate
19680         `const char **' to build an argv array.
19681         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19682
19683         * collect2.h (collect_execute, collect_wait, dump_file,
19684         file_exists): Constify a char*.
19685         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19686         temporary_firstobj, vflag, debug): Add extern declarations.
19687         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19688
19689         * tlink.c: Don't include toplev.h.
19690         (vflag, debug, ldout, c_file_name, temporary_obstack,
19691         permanent_obstack, temporary_firstobj): Don't declare.
19692         (tlink_execute, frob_extension, symbol_hash_lookup,
19693         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19694         recompile_files, read_repo_files, demangle_new_symbols,
19695         scan_linker_output): Constify a char*.
19696         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19697         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19698
19699 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19700
19701         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19702         (relative) rather than jsr (absolute) subroutine call insns.
19703         * config/m68k/m68k-coff.h: Ditto.
19704
19705 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19706
19707         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19708         now rework these too.
19709         (arm_reorg): If an insn can't reach the end of the current pool,
19710         ensure that we emit that pool before the insn.
19711
19712 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19713
19714         * tlink.c (scan_linker_output): Skip the initial underscore in
19715         a mangled name if appropriate.
19716
19717 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19718
19719         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19720         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19721         error_with_ivar, gen_declarator, create_builtin_decl,
19722         my_build_string, generate_descriptor_table, generate_ivars_list,
19723         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19724         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19725         dump_base_name, lang_decode_option, build_encode_expr,
19726         start_class, finish_class, encode_pointer, really_start_method,
19727         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19728         Constify.
19729         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19730         Add static prototypes.
19731         (build_objc_string_decl, build_selector_reference_decl,
19732         encode_bitfield, build_class_reference_decl): Remove unused
19733         parameter, all callers changed.
19734         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19735         (objc_printable_name): Likewise.  Change second parameter to type int.
19736         (init_objc): Use memcpy, not bcopy, to avoid casts.
19737
19738 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19739
19740         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19741         reg notes on a deleted insn.
19742         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19743
19744 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19745
19746         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19747
19748 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19749
19750         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19751         reading it.
19752
19753 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19754
19755         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19756         * tm.texi (MD_ASM_CLOBBERS): Document it.
19757
19758 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19759
19760         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19761         * except.c (expand_rethrow): Remove unused variable.
19762         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19763         * flow.c (replace_insns): Likewise.
19764         (create_edge_list, verify_edge_list): Likewise.
19765         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19766
19767         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19768         is special code to run.
19769         (main): Don't define operands to emit_operand.
19770         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19771
19772         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19773
19774         * alpha/alpha.h (normal_memory_operand): Declare.
19775         (reg_no_subreg_operand): Declare.
19776         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19777
19778 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19779
19780         * c-parse.in (compstmt_primary_start): New, broken out of first
19781         part of compstmt handling in primary.
19782         (primary): Use it.  Add an error clause.
19783         (compstmt_nostart): Renamed from compstmt; remove all
19784         initial invocations of compstmt_start.
19785         (compstmt): New.
19786
19787 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19788
19789         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19790         needed.
19791
19792 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19793
19794         * combine.c (simplify_shift_const): Remove extra semicolon.
19795         * dwarf2out.c (remove_AT): Likewise.
19796         * expmed.c (expand_mult): Likewise.
19797         * gcov.c (create_program_flow_graph): Likewise.
19798         * reorg.c (mostly_true_jump): Likewise.
19799
19800 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19801
19802         * fold-const.c (fold_range_test): Do not try to fold the range
19803         test if the rhs or lhs has side effects.
19804
19805         * combine.c (simplify_rtx): Recognize another case of a synthesized
19806         sign extension.
19807
19808         * varasm.c (mark_constant_pool): When marking indirect references,
19809         only look at SYMBOL_REFs.
19810
19811         * except.c (expand_fixup_region_end): Do not peek at
19812         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19813
19814 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19815
19816         * flags.h: New variables align_loops, align_loops_log,
19817         align_jumps, align_jumps_log, align_labels, align_labels_log,
19818         align_functions, align_functions_log.
19819         * toplev.c: Define them.
19820         (f_options): Handle -falign-* when they have no argument.
19821         (main): Add logic to set variables for -falign-functions,
19822         -falign-jumps, -falign-labels, -falign-loops.
19823         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19824         (display_help): Change help to match options.
19825         * final.c (LABEL_ALIGN): Default to align_labels_log.
19826         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19827         (LOOP_ALIGN): Default to align_loops_log.
19828         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19829         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19830         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19831         * varasm.c (assemble_start_function): Handle align_functions.
19832
19833         * config/sparc/sparc.h: Don't declare sparc_align_*.
19834         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19835         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19836         sparc.c.
19837         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19838         it's a promise.
19839         * config/sparc/sparc.c: Delete sparc_align_loops,
19840         sparc_align_jumps, sparc_align_funcs and the corresponding string
19841         variables.
19842         (sparc_override_options): Default align_functions on ultrasparc.
19843         Delete -malign-* handling.
19844
19845         * config/mips/mips.c (override_options):  On 64-bit targets,
19846         try to align code to 64-bit boundaries.
19847         (print_operand): New substitution, %~,
19848         which aligns labels to align_labels_log.
19849         * config/mips/mips.md (div_trap_normal): Use %~.
19850         (div_trap_mips16): Likewise.
19851         (abssi): Likewise.
19852         (absdi2): Likewise.
19853         (ffssi2): Likewise.
19854         (ffsdi2): Likewise.
19855         (ashldi3_internal): Likewise.
19856         (ashrdi3_internal): Likewise.
19857         (lshrdi3_internal): Likewise.
19858         (casesi_internal): Likewise.
19859
19860 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19861
19862         Merge new ia32 backend from the branch!
19863
19864         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19865         See ChangeLog.P2 on new_ia32_branch for details.
19866
19867         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19868         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19869         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19870         * i386/gas.h (ASM_FILE_START): Define.
19871         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19872         for name change of ix86_valid_decl_attribute_p.
19873         (i386_pe_valid_type_attribute_p): Similarly.
19874
19875 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19876
19877         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19878         to step through CC modes.
19879
19880 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19881
19882         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19883         it would end up in the shadow of a live flags regsiter.
19884
19885 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19886
19887         * reload1.c: Fix many indentation problems.
19888         * reload.c: Likewise.
19889
19890 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19891
19892         * alias.c (non_local_reference_p): Constify fmt.
19893
19894 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19895
19896         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19897
19898 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19899
19900         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19901         the internal_arg_pointer.
19902
19903 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19904
19905         Merge peephole2 from new_ia32_branch:
19906         * Makefile.in (STAGESTUFF): Add *.peephole2.
19907         (mostlyclean): Likewise.
19908         (recog.o): Depend on resource.h.
19909
19910         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19911         (final_scan_insn): Likewise for the invocation of peephole.
19912         * genconfig.c (main): Look for peephole and peephole2 patterns.
19913         Emit HAVE_peephole* accordingly.
19914         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19915         * flags.h (flag_peephole2): Declare.
19916         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19917
19918         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19919         * gencodes.c (main): Likewise.
19920         * genextract.c (main): Likewise.
19921         * genoutput.c (main): Likewise.
19922         * genemit.c (max_operand_1): Look for the max scratch operand.
19923         (gen_rtx_scratch): New.
19924         (gen_exp): Use it, and pass on new arg subroutine_type.
19925         (gen_expand): Take max scratch into account.
19926         (gen_split): Emit peephole2 functions.
19927         (output_peephole2_scratch): New.
19928         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19929         * genrecog.c (routine_type): Add PEEPHOLE2.
19930         (IS_SPLIT): New.
19931         (make_insn_sequence): Match outer parallel for peep2.  Discard
19932         top level scratches and dups.
19933         (add_to_sequence): New args insn_type and top.  Update all callers.
19934         Handle toplevel peep2 matching insns.
19935         (write_subroutine): Handle peep2.
19936         (write_tree_1): Likewise.
19937         (write_tree): Likewise.
19938         (main): Likewise.
19939         (change_state): New arg afterward.  Update all callers.
19940         Handle matching separate insns.
19941         * recog.c (recog_next_insn): New.
19942         (peephole2_optimize): New.
19943         * rtl.def (DEFINE_PEEPHOLE2): New.
19944         * resource.c (find_free_register): New argument last_insn.  Use it
19945         to find a register available through the entire span.
19946         * resource.h (find_free_register): Update prototype.
19947
19948 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19949
19950         * i386.c (output_strlen_unroll): Don't write xops[7]
19951         label if it wasn't set.
19952
19953 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19954
19955         * cpplib.c (struct directive): Const-ify name pointer and
19956         function pointer prototype.
19957         (validate_else, do_define, do_line, do_include, do_undef,
19958         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19959         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19960         do_warning): Const-ify second arg.
19961         (directive_table): Mark const.  Reorder entries by frequency
19962         of usage, record statistics.
19963
19964 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19965
19966         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19967         bounds- check RTL accesses if --enable-checking.
19968         (RTVEC_ELT): Bounds check if --enable-checking.
19969         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19970         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19971         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19972         GET_NUM_ELEM.
19973         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19974         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19975
19976         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19977         (NOTE_SOURCE_FILE): Use X0STR.
19978         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19979         MEM_ALIAS_SET): Use X0INT.
19980         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19981         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19982         Use X0EXP.
19983         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19984         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19985         (rtl_check_failed_bounds, rtl_check_failed_type1,
19986         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19987         functions.
19988         (fancy_abort): Fix comment.
19989
19990         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19991         (cse_insn): Decrement LABEL_NUSES for jump target before
19992         deleting jump insn.
19993         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19994         * final.c (alter_subreg): Compute regno before changing x to
19995         REG; set REGNO(x) after changing it.
19996         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19997         notes containing CONST_INTs.
19998         (delete_eh_regions): Use NOTE_EH_HANDLER.
19999         * function.c (put_reg_into_stack): Make reg a MEM before
20000         initializing it.
20001         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
20002         delete insn.
20003         (gen_mem_addressof): Make reg a MEM before initializing it.
20004         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
20005         X0WINT.
20006         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
20007         deleting an insn, not after.
20008         (block_alloc): Only look at PATTERN(insn) if we have to, and
20009         only if it's format class 'i'.
20010         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
20011         CONST_INT before using its INTVAL.
20012         * print-rtl.c (print_rtx): Use X0STR.
20013         * regmove.c (fixup_match_1): Don't look at PATTERN of
20014         non-class-'i' insn chain elements.
20015         * reload.c (loc_mentioned_in_p): Take address of
20016         in->fld[1].rtx directly.
20017         * reload1.c (reload): Change reg to a MEM before initializing
20018         it.
20019         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
20020         have no names.
20021         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
20022
20023 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
20024
20025         * config/mips/mips.c (machine_dependent_reorg): Force a
20026         barrier to output the local constant pool if a barrier hasn't
20027         been found at a natural point in the instruction stream.
20028
20029 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20030
20031         * c-parse.in (language_string): Constify.
20032
20033         * dwarf2out.c (language_string): Remove declaration.
20034
20035         * dwarfout.c (language_string): Likewise.
20036
20037         * toplev.c (language_string, init_parse, finish_parse): Likewise.
20038
20039         * tree.h (language_string, init_parse, finish_parse): Declare.
20040
20041         * i386/sun386.h (language_string): Remove declaration.
20042
20043         * mips.h (language_string): Likewise.
20044
20045         * nextstep.h (language_string): Likewise.
20046
20047         * nextstep21.h (language_string): Likewise.
20048
20049         * rs6000.c (language_string): Likewise.
20050
20051 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20052
20053         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20054         (getpwd.o): Remove target.
20055
20056         * getpwd.c: Delete file.  Its in libiberty now.
20057
20058         * dbxout.c (getpwd): Don't prototype.
20059         * dwarf2out.c (getpwd): Likewise
20060         * dwarfout.c (getpwd): Likewise
20061         * final.c (getpwd): Likewise.
20062         * protoize.c (getpwd): Likewise.
20063
20064 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20065
20066         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20067
20068 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
20069
20070         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20071         mark_set_resources.
20072
20073 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
20074
20075         * fixinc/Makefile.in (subdir): New.
20076         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20077         (Makefile): New.
20078
20079 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
20080
20081         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20082         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20083         be shared.
20084
20085         * invoke.texi: Fix typo.
20086
20087         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
20088         changed.  Handle autoincrement addressing modes.
20089
20090         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20091         just like we would the virtual incoming args register when
20092         integrating.
20093
20094 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
20095
20096         * rs6000.h (ASM_FILE_START): Specify complete filename, including
20097         path, in .file directive.
20098
20099 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
20100
20101         * gcc.texi (External Bugs): Remove obsolete note about Perl on
20102         SunOS.
20103
20104 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
20105
20106         * stdbool.h: Make the typedef name _Bool, with bool a #defined
20107         alias.
20108
20109 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20110
20111         * tree.c (tree_code_name): Constify a char*.
20112
20113         * tree.h (tree_code_name, decl_printable_name): Likewise.
20114
20115         * function.h (struct function): Likewise.
20116
20117         * toplev.c (decl_name, decl_printable_name): Likewise.
20118
20119         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20120
20121         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20122         (init_objc): Remove function pointer cast.
20123
20124 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
20125
20126         * pa.md (interspace_jump): New pattern.
20127         (builtin_longjmp): New expander.
20128
20129 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
20130
20131         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20132         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20133         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20134
20135 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
20136
20137         * jump.c (delete_prior_computation): Also check calls
20138         to constant functions.  Don't bother checking for a
20139         REG_UNUSED note before adding it.
20140         (delete_computation): Handle multi-word hard registers
20141         when synthesizing missing REG_DEAD notes for a register
20142         which is both set and used by an insn.
20143
20144 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20145
20146         * loop.c (this_loop_info): New variable.
20147         (loop_has_call, loop_has_volatile, loop_has_tablejump,
20148         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
20149         All uses updated.
20150         (prescan_loop, strength_reduce): New argument loop_info.  All callers
20151         updated.
20152         (scan_loop): New variable loop_info, initialise to address of
20153         this_loop_info.
20154         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
20155         Delete variable loop_has_multiple_exit targets and replace with
20156         field in this_loop_info.
20157         (find_and_verify_loops): Rename this_loop to this_loop_num.
20158         (strength_reduce): Delete loop_iteration_info.  Replace variable
20159         loop_info with function argument of same name.
20160         (insert_bct): Rework test for loop being completely unrolled.
20161
20162         * loop.h (struct loop_info): New fields num, loops_enclosed,
20163         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
20164         has_indirect_jump, and cont.  Redefine use of unroll_number.
20165         (loop_unroll_number): Delete.
20166
20167         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
20168         field of loop_info.
20169         (loop_iterations): Delete variable vtop and instead use
20170         loop_info->vtop computed in prescan_loop.
20171
20172 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
20173
20174         * fix-header.c (main): Do not pass a null pointer to strcmp.
20175
20176 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
20177
20178         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20179         filenames.
20180         * configure: Rebuilt.
20181
20182 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
20183
20184         * jump.c (jump_optimize_1): Do not delete assignments to
20185         internal_arg_pointer.
20186         * cse.c (delete_trivially_dead_insns): Always consider a set of
20187         the internal_arg_pointer live.
20188
20189 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
20190
20191         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20192         (update_life_info) [REG_WAS_0]: Search the original insns rather
20193         than the new insns for the note.  Fix typos finding note_dest.
20194         If no dest found, discard the note rather than abort.
20195         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20196         (replace_insns): Remove the old insn list after update_life_info
20197         not before.
20198
20199 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
20200
20201         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20202         sched_analyze_insn.
20203         (sched_analyze_1): Let add_dependence care for not adding dups.
20204         (sched_analyze_2): Likewise.
20205         (add_branch_dependences): Likewise.
20206
20207 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20208
20209         * i386/winnt.c (export_list): New type.
20210         (exports_head): Rename to
20211         (export_head):  this.
20212         (i386_pe_record_exported_symbol): Add is_data flag.
20213         (i386_pe_asm_file_end): Emit directive for exported variables.
20214         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20215         prototype.
20216         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20217         (ASM_DECLARE_OBJECT_NAME): Likewise.
20218         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20219         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20220
20221 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20222
20223         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20224
20225         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20226         operand.
20227
20228 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20229
20230         * config/openbsd.h: Define SET_ASM_OP.
20231         * tm.texi: cross-reference SET_ASM_OP in the index.
20232
20233 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20234
20235         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20236         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20237         and class_narrowest_mode at compile time.  Kill init_rtl.
20238         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20239         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20240         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20241         EXTRA_CC_NAMES.
20242         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20243         format.
20244         * rtl.h: Declare rtx_length and rtx_format as const.
20245         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20246         EXTRA_CC_MODES is defined, expand it here.
20247         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20248         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20249         const.  Kill all references to EXTRA_CC_MODES.
20250
20251         * toplev.c: Don't prototype or call init_rtl.
20252         * optabs.c: Don't call init_mov_optab.
20253         * genemit.c: Don't generate init_mov_optab.  Don't call
20254         init_rtl.
20255         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20256         here.
20257         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20258         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20259         genrecog.c: Don't call init_rtl.
20260
20261         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20262         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20263         definition of EXTRA_CC_MODES.
20264
20265         * md.texi: Kill ref to EXTRA_CC_NAMES.
20266         * tm.texi: Document new way to define EXTRA_CC_MODES.
20267
20268         * genrecog.c: Do not look up the name of a define_split.
20269         (Unrelated bugfix.)
20270
20271 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20272
20273         * config/v850/v850.md: Fix typo introduced by previous delta.
20274
20275 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20276
20277         * gcc.c (fatal): Make definition static to match prototype.
20278
20279 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20280
20281         * combine.c (get_last_value): Don't look for earlier sets if the last
20282         known set is somewhere in between the insns being combined.
20283
20284 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20285
20286         * configure.in: Don't use shell ! to negate exit codes
20287         * configure: Regenerate
20288
20289 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20290
20291         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20292         the fact that ALIGN is measured in bits, not bytes.
20293
20294 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20295
20296         * errors.c: New file; defines functions error, warning, and
20297         fatal, variables have_error and progname.
20298         * errors.h: New file; prototypes and decls for stuff in errors.c.
20299
20300         * Makefile: Add rules to build errors.o and
20301         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20302         genopinit, genrecog, genextract, genpeep, genattr, and
20303         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20304         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20305         genpeep.o, genattr.o, and genoutput.o.
20306
20307         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20308         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20309         define or prototype fatal.  Set progname at beginning of main.
20310         * genoutput.c:  Likewise, and don't define or prototype error
20311         either.
20312
20313         * c-typeck.c (c_expand_start_case): Return immediately if exp
20314         is an ERROR_MARK.
20315         * fold-const.c (operand_equal_p): Return immediately if arg1
20316         or arg0 are ERROR_MARKs.
20317         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20318         fields of type ERROR_MARK when calculating if the record can
20319         go in a register.
20320
20321 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20322         with much help from Jeffrey A Law and Richard Henderson
20323
20324         * i386.md: In the 6 insns which call output_fix_trunc,
20325         earlyclobber operands[0].
20326
20327 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20328
20329         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20330         creating new registers.
20331
20332 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20333
20334         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20335         i386_reg_alloc_order, i386_regparm_string,
20336         i386_align_loops_string, i386_align_jumps_string,
20337         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20338         and i386_branch_cost_string as type "const char *".
20339         * i386.c: Define all above strings as type "const char *".
20340
20341 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20342
20343         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20344         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20345
20346 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20347
20348         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20349         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20350
20351 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20352
20353         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20354         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20355         (dwarf2out_line, dwarf2out_finish): Likewise.
20356         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20357
20358 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20359
20360         * tree.c (lang_unsave_expr_now) : Correct return type.
20361         * tree.h (lang_unsave_expr_now) : Same.
20362
20363 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20364
20365         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20366         instead of duplicating code.
20367
20368 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20369
20370         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20371
20372 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20373
20374         * tree.h: fancy_abort always takes three args.
20375         * resource.c: Move include of system.h before toplev.h.
20376
20377 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20378
20379         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20380         as SYMBOL_REFs.
20381
20382 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20383
20384         * system.h: Don't redefine abort or trim_filename.
20385         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20386         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20387         whether or not __FUNCTION__ is available.
20388         * tree.h: Duplicate rtl.h's definition of abort, for files
20389         that don't include rtl.h.  Delete all code to perform type
20390         checking with a compiler other than GCC.
20391         * varray.h: Delete all code to perform type checking with a
20392         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20393         its arguments exactly once, using a statement expression.
20394         Adjust the VARRAY_<type> accessor macros to match.
20395         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20396         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20397         caller's location.  Define fatal_insn and fatal_insn_not_found
20398         as macros that use _fatal_insn and _fatal_insn_not_found.
20399         (fancy_abort, trim_filename): Kill prototypes.
20400
20401         * rtl.c (trim_filename): Move here from toplev.c.
20402         (fancy_abort): New function.
20403         (DIR_SEPARATOR): Provide default definition.
20404         * tree.c (tree_check_failed, tree_class_check_failed): Go
20405         through fancy_abort.
20406         (tree_check, tree_class_check, cst_or_constructor_check,
20407         expr_check): Delete.
20408         * varray.c (varray_check_failed): New function.
20409         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20410         _fatal_insn and _fatal_insn_not_found.  Go through
20411         fancy_abort.
20412         (trim_filename, fancy_abort): Delete.
20413
20414         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20415         * except.c (start_catch_handler): Report ICE with error/abort
20416         combo.
20417         * final.c (output_operand_lossage): Likewise.
20418         * flow.c (verify_flow_info): Likewise.
20419
20420         * gcc.c: Prototype fatal.
20421         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20422         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20423         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20424         Don't define fancy_abort.
20425
20426 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20427
20428         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20429         canonization.
20430
20431 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20432
20433         * m88k.h (VERSION_INFO2): Kill.
20434         (VERSION_STRING): Kill.
20435         (TM_RCS_ID): Kill.
20436         (VERSION_INFO1): Tidy.
20437         (TARGET_VERSION): Update.
20438         * m88k/dgux.h (VERSION_INFO2): Kill.
20439         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20440         * m88k/luna.h (VERSION_INFO1): Tidy.
20441         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20442         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20443         (output_file_start): Adjust for death of VERSION_STRING.
20444
20445 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20446
20447         * cpplib.c (detect_if_not_defined): New function.
20448         (do_if): Use it to detect potential once-only headers.
20449
20450 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20451
20452         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20453
20454 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20455
20456         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20457         anywere in the function only if they are pseudos and set before
20458         being used (not live at the start of the function).
20459         (num_sign_bit_copies) : Same.
20460         (get_last_value_validate) : Same.
20461         (get_last_value) : Same.
20462
20463 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20464
20465         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20466         where N and M are constant and N is an integer multiple of M.
20467
20468 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20469
20470         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20471         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20472         sbitmap_union_of_preds): Add prototypes.
20473         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20474         the intersection of successors with the new flow graph structures.
20475         (sbitmap_intersection_of_preds): New function to compute the
20476         intersection of predecessors with the new flow graph structures.
20477         (sbitmap_union_of_succs): New function to compute the union of
20478         successors with the new flow graph structures.
20479         (sbitmap_union_of_preds): New function to compute the union of
20480         predecessors with the new flow graph structures.
20481         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20482         (expr_reaches_here_p): Use edge and basic_block structures instead
20483         of s_preds and s_succs.
20484         (compute_cprop_avinout): Use new sbitmap routines.
20485         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20486         of s_preds and s_succs.
20487         * flow.c (compute_flow_dominators): Compute dominators using
20488         edges and basic blocks instead of s_preds and s_succs.
20489
20490 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20491
20492         * lists.c (unused_insn_list, unused_expr_list): New file for
20493         maintaining various types of lists. New statics for maintaining a
20494         cache of available INSN_LIST and EXPR_LIST nodes.
20495         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20496         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20497         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20498         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20499         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20500         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20501         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20502         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20503         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20504         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20505         (remove_dependence, free_pending_lists): Use new global routines.
20506         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20507         (sched_analyze, compute_block_backward_dependences): Use new routines.
20508         (sched_analyze_1, sched_analyze_2): Use new routines.
20509         (schedule_insns): Use new global routines.
20510         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20511         prototypes.
20512         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20513         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20514         prototypes.
20515         * toplev.c (rest_of_compilation): Initialize node cache.
20516         * Makefile.in (OBJS): Add lists.o to list of object files.
20517         (lists.o): Add dependancies.
20518
20519 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20520
20521         * config/v850/v850.md: Fix compile time warning messages.
20522         * config/v850/v850.c: Fix compile time warning messages.
20523         * config/v850/v850.h: Fix compile time warning messages.
20524
20525 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20526
20527         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20528         Remove unused prototype for `init_lengths'.
20529
20530 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20531
20532         * calls.c (emit_call_1): Mark parameter `stack_size' with
20533         ATTRIBUTE_UNUSED.
20534         (expand_call): Initialize variable `insn'.
20535         (emit_library_call): Likewise for variable `high_to_save'.
20536         (emit_library_call_value): Likewise.
20537         (store_one_arg): Likewise for variables `lower_bound' and
20538         `upper_bound'.
20539
20540         * combine.c (try_combine): Likewise for variables `i2_code_number'
20541         and `other_code_number'.
20542         (find_split_point): Likewise for variables `pos', `unsignedp' and
20543         `inner'.
20544         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20545         (simplify_and_const_int): Remove unused variable `width'.
20546         (merge_outer_ops): Likewise.
20547
20548         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20549         HOST_WIDE_INT' when comparing against one.
20550         (simplify_relational_operation): Likewise.
20551         (cse_insn): Initialize variables `src_eqv_volatile',
20552         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20553
20554         * final.c (init_final): Constify parameter `filename'.
20555         (final_start_function): Mark parameter `optimize' with
20556         ATTRIBUTE_UNUSED.
20557         (profile_function): Likewise for parameters `first' and `optimize'.
20558         (output_source_line): Likewise for parameter `file'.
20559
20560         * integrate.c (subst_constants): Cast a value to `size_t' when
20561         comparing against one.
20562         (mark_stores): Initialize variable `mode'.  Cast a value to
20563         `size_t' when comparing against one.
20564
20565         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20566
20567         * loop.c (move_movables): Initialize variable `first'.
20568         (strength_reduce): Likewise for variable `increment'.
20569         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20570         value to `size_t' when comparing against one.
20571         (load_mems): Initialize variable `end_label'.
20572
20573         * output.h (init_final): Constify parameter.
20574
20575         * reload.c (decompose): Initialize variable `base'.
20576
20577         * reload1.c (reload): Likewise for variable `is_scalar'.
20578         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20579         (choose_reload_regs): Initialize variable `mode'.
20580         (emit_reload_insns): Likewise for variable `store_insn'.
20581         (reload_cse_noop_set_p): Mark parameter `insn' with
20582         ATTRIBUTE_UNUSED.
20583         (reload_combine): Initialize variable `set'.
20584
20585         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20586         (copy_loop_body): Cast a value to `size_t' when comparing against
20587         one.
20588
20589         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20590         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20591         (remove_from_pending_weak_list): Mark parameter `name' with
20592         ATTRIBUTE_UNUSED.
20593
20594 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20595
20596         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20597         gcse dump file.
20598
20599 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20600
20601         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20602         (ASM_DECLARE_FUNCTION_NAME): Define.
20603         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20604         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20605         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20606         not already defined.
20607
20608 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20609
20610         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20611         of n_popped when call/call_value are not defined.
20612
20613 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20614
20615         * tm.texi: GNU CC -> GCC conversion.
20616         (CC1_SPEC): Indicate it is used for all language front ends.
20617
20618 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20619
20620         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20621         NOTE_INSN_EH_REGION_END correctly.
20622
20623 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20624                           Jeff Law <law@cygnus.com>
20625
20626         * loop.c (strength_reduce): Automatically unroll loops if the
20627         unrolled loop size is smaller than the rolled loop size.
20628
20629         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20630         and delete comment that code should be rewritten.
20631
20632 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20633
20634         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20635         as reachable.
20636
20637         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20638
20639 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20640
20641         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20642         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20643         (LINK_SPEC): Add -u _main when building executables.
20644         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20645         (ASM_FILE_END): Use the default for ix86-pe.
20646         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20647
20648 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20649
20650         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20651         and ASM_CLOSE_PAREN are empty strings.
20652
20653 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20654                           Geoffrey Keating <geoffk@cygnus.com>
20655
20656         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20657         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20658         (unprotoize.o): Ditto.
20659         (test-protoize-simple): Don't define STD_PROTO_DIR.
20660         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20661         changes to make 'test-protoize-simple' pass.
20662         (STD_PROTO_DIR): Remove define.
20663         (STANDARD_EXEC_PREFIX): Supply default define.
20664         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20665         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20666         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20667         (GET_ENV_PATH_LIST): New macro.
20668         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20669         (do_processing): Initialize default_syscalls_dir using new
20670         macros.  Use it to initialize syscalls_absolute_filename.
20671
20672 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20673
20674         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20675         B into a register before emit_conditional_move.
20676
20677 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20678
20679         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20680         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20681         multiplicand out of (+ (* a b) (* c d)).
20682
20683 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20684                           Richard Henderson  <rth@cygnus.com>
20685
20686         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20687         (new_insn_dead_notes): Likewise.
20688         (update_n_sets): Likewise.
20689         (update_flow_info): Move to flow.c, renamed to update_life_info;
20690         extend to handle multiple source insns.
20691         * flow.c: Include resource.h
20692         (unlink_insn_chain): New.
20693         (split_hard_reg_notes): New.
20694         (maybe_add_dead_note): New.
20695         (maybe_add_dead_note_use): New.
20696         (find_insn_with_note): New.
20697         (new_insn_dead_notes): New.
20698         (update_n_sets): New.
20699         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20700         (maybe_remove_dead_notes): New.
20701         (update_life_info): New.
20702         (prepend_reg_notes): New.
20703         (replace_insns): New.
20704         * output.h (update_life_info): Declare.
20705         * recog.c (split_block_insns): Use update_life_info.
20706         * resource.c (find_free_register): Use reg_alloc_order, don't use
20707         fixed regs, make sure the mode is supported, don't use new regs.
20708         (reg_dead_p): New.
20709         * rtl.h (replace_insns): Declare.
20710
20711 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20712
20713         * expr.c (expand_expr): Cope with COND_EXPRs with one
20714         non-returning branch.
20715
20716 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20717
20718         * expr.c (store_expr): Always pass down the target, even when not
20719         doing CSE.
20720
20721 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20722
20723         * configure.in: Define target_cpu_default for v850 targets.
20724         * configure: Regenerate
20725
20726         * config/v850/v850.h (TARGET_CPU_generic): Define.
20727         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20728         addresses are 4 byte aligned.
20729
20730         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20731         addresses.
20732
20733 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20734
20735         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20736         (main): Add prototypes.
20737
20738         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20739         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20740         (write_attr_get): Emit prototypes along with function definition.
20741         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20742         (write_complex_function): Emit static prototype along with
20743         function definition.
20744
20745         * genemit.c (gen_split): Emit prototypes along with function
20746         definition.
20747
20748         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20749         Likewise for predicates and `insn_operand_predicate'.
20750         (process_template): Emit static prototype along with function
20751         definition.
20752
20753         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20754         prototypes for get_split_*().
20755         (write_subroutine): Emit prototypes along with function
20756         definition.
20757
20758 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20759
20760         * gcse.c (find_avail_set): Follow chains of register-register copies.
20761         Use oprs_not_set_p to guarantee that the returned value can be
20762         substituted.
20763         (cprop_insn): Don't verify the return value of find_avail_set with
20764         oprs_not_set_p.
20765
20766         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20767         (cprop_cc0_jump): New function.
20768         (cprop_insn): Break out new function cprop_jump and use it.
20769         Also use cprop_cc0_jump for machines with CC0.
20770         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20771
20772         * tree.h (current_function_calls_setjmp,
20773         current_function_calls_longjmp): Delete declarations.
20774         * dsp16xx.c: Include "function.h".
20775         * elxsi.c: Likewise.
20776         * gmicro.c: Likewise.
20777         * h8300.c: Likewise.
20778         * i370.c: Likewise.
20779         * m32r.c: Likewise.
20780         * mn10200.c: Likewise.
20781         * mn10300.c: Likewise.
20782         * ns32k.c: Likewise.
20783         * spur.c: Likewise.
20784         * v850.c: Likewise.
20785
20786         * rtl.h (rtx_equal_function_value_matters): Declare.
20787         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20788         * cse.c: Likewise.
20789         * function.c: Likewise.
20790         * emit-rtl.c: Likewise.
20791
20792 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20793
20794         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20795         call.
20796
20797 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20798
20799         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20800         exactly.
20801
20802 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20803
20804         * cpp.texi: Add a node documenting macro varargs (copied
20805         from extend.texi).
20806
20807 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20808
20809         * cppspec.c: Put a null pointer at the end of the new argv.
20810
20811 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20812
20813         * configure.in: Remove code to select/de-select the haifa
20814         scheduler.  Every scheduled port gets haifa now.
20815         * configure: Rebuilt.
20816         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20817         * sched.c Deleted.
20818         * Makefile.in: Corresponding changes.
20819
20820 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20821
20822         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20823         All callers changed.
20824         (prepare_float_lib_cmp): Likewise.
20825         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20826         * expr.h (emit_float_lib_cmp): Delete declaration.
20827         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20828         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20829         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20830         specially.
20831         (cmptf): Now conditional on TARGET_HARD_QUAD.
20832
20833 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20834
20835         * resource.c (mark_target_live_regs): Use
20836         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20837
20838 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20839
20840         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20841
20842         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20843
20844         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20845
20846 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20847
20848         * rtl.h (rtx_format): Constify a char*.
20849
20850         * rtl.c (rtx_format): Likewise.
20851         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20852         (init_rtl): Use accessor macro, not `rtx_format'.
20853
20854         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20855         char*.
20856
20857         * caller-save.c (mark_referenced_regs): Likewise.
20858
20859         * combine.c (subst, make_compound_operation, known_cond,
20860         gen_rtx_combine, update_table_tick, get_last_value_validate,
20861         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20862
20863         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20864         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20865         count_reg_usage): Likewise.
20866
20867         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20868         Likewise.
20869
20870         * final.c (leaf_renumber_regs_insn): Likewise.
20871
20872         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20873         dump_edge_info, count_reg_references): Likewise.
20874
20875         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20876         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20877         Likewise.
20878
20879         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20880         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20881         add_label_notes): Likewise.
20882
20883         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20884         clear_struct_flag, count_sub_rtxs, count_alternatives,
20885         compares_alternatives_p, contained_in_p, walk_attr_value,
20886         write_expr_attr_cache): Likewise.
20887
20888         * genconfig.c (walk_insn_part): Likewise.
20889
20890         * genemit.c (max_operand_1, gen_exp): Likewise.
20891
20892         * genextract.c (walk_rtx): Likewise.
20893
20894         * genflags.c (num_operands): Likewise.
20895
20896         * genoutput.c (scan_operands): Likewise.
20897
20898         * genpeep.c (match_rtx): Likewise.
20899
20900         * genrecog.c (add_to_sequence): Likewise.
20901
20902         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20903         Likewise.
20904
20905         * integrate.c (save_constants, copy_for_inline,
20906         copy_rtx_and_substitute, subst_constants, restore_constants):
20907         Likewise.
20908
20909         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20910         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20911
20912         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20913         Likewise.
20914
20915         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20916         add_label_notes, replace_call_address, count_nonfixed_reads,
20917         invariant_p, find_single_use_in_loop, find_mem_givs,
20918         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20919         Likewise.
20920
20921         * print-rtl.c (reg_names, print_rtx): Likewise.
20922
20923         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20924
20925         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20926         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20927         print_blocks): Likewise.
20928
20929         * regclass.c (fix_register, record_address_regs,
20930         reg_scan_mark_refs): Likewise.
20931
20932         * regmove.c (stable_but_for_p): Likewise.
20933
20934         * reload.c (loc_mentioned_in_p, operands_match_p,
20935         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20936         copy_replacements, refers_to_regno_for_reload_p,
20937         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20938         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20939         Likewise.
20940
20941         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20942         delete_address_reloads_1, count_occurrences,
20943         reload_cse_mem_conflict_p, reload_combine_note_use,
20944         add_auto_inc_notes): Likewise.
20945
20946         * resource.c (mark_referenced_resources, mark_set_resources):
20947         Likewise.
20948
20949         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20950         reg_mentioned_p, regs_set_between_p, modified_between_p,
20951         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20952         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20953         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20954         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20955
20956         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20957
20958         * stupid.c (stupid_mark_refs): Likewise.
20959
20960         * unroll.c (remap_split_bivs): Likewise.
20961
20962         * varasm.c (mark_constants): Likewise.
20963
20964         * a29k/a29k.c (uses_local_reg_p): Likewise.
20965
20966         * alpha/alpha.c (summarize_insn): Likewise.
20967
20968         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20969         eliminate_lr2ip): Likewise.
20970
20971         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20972
20973         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20974         reg_mentioned_in_mem): Likewise.
20975
20976         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20977         symbolic_reference_mentioned_p): Likewise.
20978
20979         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20980
20981         * sh/sh.c (regs_used, mark_use): Likewise.
20982
20983         * vax/vax.c (vax_rtx_cost): Likewise.
20984
20985 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20986
20987         * machmode.h (mode_name): Constify a char*.
20988
20989         * rtl.c (mode_name): Likewise.
20990
20991         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20992
20993         * optabs.c (init_libfuncs): Constify a char*.
20994
20995         * print-tree.c (mode_name): Remove redundant declaration.
20996         (print_node): Use accessor macro, not `mode_name'.
20997
20998         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20999         not `mode_name'.
21000         (new_spill_reg): Constify a char*.
21001
21002         * tree.c (mode_name): Remove redundant declaration.
21003
21004 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21005
21006         * rtl.c (rtx_name): Constify a char*.
21007
21008         * rtl.h (rtx_name, fix_sched_param): Likewise.
21009
21010         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
21011         (mypr): Use accessor macro, not `rtx_name'.
21012
21013         * genemit.c (print_code): Constify a char*.
21014
21015         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
21016
21017         * genpeep.c (print_code): Constify a char*.
21018
21019         * genrecog.c (print_code): Likewise.
21020
21021         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
21022         end_bb): Add static prototype.
21023         (draw_edge): Constify a char*.
21024         (end_bb): Remove unused parameter.
21025
21026         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21027         print_block_visualization): Constify a char*.
21028
21029 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
21030
21031         * c-common.c (c_get_alias_set): Update comment.
21032
21033 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21034
21035         * linux.h (LIB_SPEC): Added.
21036
21037 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21038
21039         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21040
21041 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
21042
21043         * tree.c (expr_check): Fix typo in last change.
21044
21045 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
21046
21047         * rtl.def (NOTE): Change format to "iuu0n".
21048         (ADDR_DIFF_VEC): Change format to "eEee0".
21049         (ADDRESSOF): Change format to "eit".
21050
21051         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21052         (RTVEC_ELT): Change to match.
21053         (XVECEXP): Use XVEC and RTVEC_ELT.
21054         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21055         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21056         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21057         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21058         TRAP_CONDITION, TRAP_CODE): Use XEXP.
21059         (INTVAL): Use XWINT.
21060         (ADDRESSOF_DECL): Use XTREE.
21061         (SET_ADDRESSOF_DECL): Delete.
21062         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21063         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
21064         ifdefed out since 2.6 at least.
21065         (gen_rtvec_vv): Delete prototype.
21066
21067         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21068         not rtunion.
21069         (copy_most_rtx): Handle 't' format letter.
21070         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21071         (gen_rtvec_vv): Delete function.  All callers changed to use
21072         gen_rtvec_v instead.
21073         * print-rtl.c (print_rtx): Move special casing of NOTEs to
21074         the '0' format letter.
21075
21076         * function.c (gen_mem_addressof): Don't use
21077         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21078         instead.
21079         * integrate.c (copy_rtx_and_substitute): Likewise.
21080         Copy 't' slots with XTREE.
21081         (subst_constants): Treat 't' slots like '[swi]' slots.
21082         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21083         * jump.c (rtx_equal_for_thread_p): Likewise.
21084         * rtlanal.c (rtx_equal_p): Likewise.
21085         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21086         only four arguments.
21087         * gengenrtl.c (type_from_format): Provide correct types for
21088         'b' and 't' slots.
21089
21090
21091         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21092         If a recent gcc is in use (always in stage2 and beyond), use
21093         statement expressions, so we don't make a function call unless
21094         the check fails.  Evaluate arguments exactly once.
21095         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21096         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21097         Delete.
21098         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21099         they evaluate their arguments exactly once, irrespective of
21100         the compiler in use.
21101
21102         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21103         is used by the currently-enabled check macros.  This is:
21104         (tree_check_failed, tree_class_check_failed): For gcc.
21105         (tree_check, tree_class_check, cst_or_constructor_check,
21106         expr_check): For other compilers.
21107
21108         * gencheck.c: Do not define any *_CHECK1 macros.
21109
21110 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
21111                           Mark Mitchell <mark@codesourcery.com>
21112
21113         * c-common.c (c_get_alias_set): Fix support for poitners and
21114         references.
21115
21116 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
21117
21118         * alias.c: Include tree.h.
21119         (nonlocal_reference_p, mark_constant_function): New functions.
21120         * flow.c (life_analysis): Call mark_constant_function.
21121         * rtl.h (mark_constant_function): Declare it.
21122
21123 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
21124
21125         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21126         unrecognisable switches.
21127
21128 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21129
21130         * loop.c (recombine_givs): Set ix field after sorting.
21131         (recombine_givs): Remove bogus index / giv lockstep looping.
21132
21133 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21134
21135         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21136         on CODE.
21137         (emit_store_flag_force): Use do_compare_rtx_and_jump.
21138         (do_cmp_and_jump): Formatting fixes.
21139         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21140         do_compare_rtx_and_jump instead of compare_from_rtx.
21141         (do_compare_rtx_and_jump): New function; mostly copied from
21142         compare_from_rtx.
21143         (do_jump_for_compare): Delete.
21144         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
21145         MIN_EXPR.
21146         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
21147         of compare/do_jump_for_compare pairs.
21148         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
21149         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
21150         compare_from_rtx/do_jump_for_compare pairs.
21151         (do_jump_by_parts_equality): Likewise.
21152         (do_jump_by_parts_equality_rtx): Likewise.
21153         * expr.h (do_compare_rtx_and_jump): Declare.
21154         * optabs.c (prepare_cmp_insn): New function, contains most of the code
21155         that used to be in emit_cmp_insn.
21156         (cmp_available_p): New function.
21157         (prepare_operand): New function.
21158         (emit_cmp_and_jump_insn_1): New function, contains some code that used
21159         to be in emit_cmp_insn.
21160         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
21161         parameters to be pointers; don't emit final compare but modify some of
21162         the values pointed to by the args so the caller can perform the
21163         correct comparison.
21164         (expand_binop): Call emit_store_flag_force with signed forms of
21165         comparison code.
21166         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
21167         emit_jump_insn pair.
21168         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
21169         emit_cmp_and_jump_insn_1.  Call emit_queue.
21170         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
21171         arg.
21172         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
21173         jump sets cc0 before deleting it.
21174         * integrate.c (expand_inline_function): Likewise.
21175         * unroll.c (unroll_loop): Similar changes in several places.
21176         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21177         before deleting it.
21178
21179 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21180
21181         * Makefile.in (insn-recog.o): Update dependencies.
21182         * genrecog.c (main): Make generated file include "function.h".
21183
21184 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
21185
21186         * cse.c (cse_insn): Call never_reached_warning when a jump is
21187         changed to be unconditional.
21188         * flags.h: Declare warn_notreached.
21189         * flow.c (delete_block): Call never_reached_warning when
21190         a block is deleted.
21191         * jump.c (delete_barrier_successors): Call never_reached_warning
21192         when we delete everything after a BARRIER.
21193         (never_reached_warning): New function.
21194         * rtl.h: Declare never_reached_warning.
21195         * toplev.c (warn_notreached): New variable.
21196         (lang_independent_options): Set warn_notreached
21197         when -Wunreachable-code.
21198         (compile_file): We need line numbers for -Wunreachable-code.
21199
21200 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
21201
21202         * haifa-sched.c (insn_unit): Fix typo on out of range test.
21203         * sched.c (insn_unit): Likewise.
21204
21205 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
21206
21207         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21208
21209 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21210
21211         * flow.c (create_edge_list): Use xmalloc, not malloc.
21212
21213 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
21214
21215         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21216         C-style comments.  Do not lose the character before double slash.
21217
21218 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21219
21220         * basic-block.h (struct edge_list): Stucture to maintain a vector
21221         of edges.
21222         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21223          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21224         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21225         New function prototypes.
21226         * flow.c (create_edge_list): Function to create an edge list.
21227         (free_edge_list): Discards memory used by an edge list.
21228         (print_edge_list): Debug output showing an edge list.
21229         (verify_edge_list): Internal consistency check for an edge list.
21230         (find_edge_index): Function to find an edge index for a pred and succ.
21231
21232 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21233
21234         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21235         hashtable.
21236
21237 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21238
21239         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21240
21241 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21242
21243         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21244
21245 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21246
21247         * toplev.c (rest_of_compilation): Allow machine dependent
21248         reorganisation pass to place information into the RTL dump
21249         file if it so wishes.
21250
21251 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21252
21253         * explow.c (hard_function_value): Use VOIDmode instead of
21254         MAX_MACHINE_MODE.
21255         * stmt.c (expand_return): Likewise.
21256         * stor-layout.c (get_best_mode): Likewise.
21257
21258         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21259         emit call instead of emit_insn call.
21260
21261 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21262
21263         * configure.in: Handle --disable/enable-win32-registry.
21264         * install.texi: Document --disable/enable-win32-registry.
21265         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21266         (WIN32_REGISTRY_KEY): New macro.
21267         * prefix.c: Use to enable/disable win32-specific code.
21268         (lookup_key): Use versioned key.
21269         * configure: Regenerate.
21270         * config.in: Likewise.
21271
21272 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21273
21274         * cpplib.c (read_line_number): New fn, split out of...
21275         (do_line): Here.
21276
21277 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21278
21279         tree.c (lang_unsave_expr_now) : New.
21280         (unsave_expr_now): Call lang_unsave_expr_now.
21281         tree.h (lang_unsave_expr_now) : New.
21282
21283 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21284
21285         * toplev.c (flag_new_exceptions): On by default.
21286
21287 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21288
21289         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21290
21291 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21292
21293         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21294         INTEGER_TYPE with precision==1, it's __java_boolean.
21295
21296 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21297
21298         * global.c (prune_preferences): Move some invariants out of the
21299         inner loop.
21300
21301 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21302
21303         * configure.in (alpha*-dec-osf*): Add osf5.
21304
21305 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21306
21307         * configure.in: Rework handling of ARM GNU/Linux slightly.
21308         (arm*-*-linux-gnuoldld): New target.
21309         * configure: Regenerate.
21310         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21311         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21312         * config/arm/linux-oldld.h: New file.
21313         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21314         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21315         Don't define.
21316         * config/arm/linux-elf.h (ASM_SPEC): Define.
21317         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21318         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21319         for 26-bit APCS and old linker.
21320         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21321         `arm_elf'.
21322         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21323         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21324         don't define `arm' or `arm_elf'.
21325         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21326         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21327
21328 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21329
21330         * rtl.texi: Fix typo.
21331
21332 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21333
21334         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21335
21336 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21337
21338         * extend.texi (C++ Signatures): Remove node.
21339         * invoke.texi: Remove discussion of -fhandle-signatures,
21340         signature, sigof, __signature__, and __sigof__.
21341
21342 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21343
21344         * Makefile.in (JAVAGC): Removed.
21345
21346 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21347
21348         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21349
21350 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21351
21352         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21353
21354 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21355
21356         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21357         a register that is already known to be a pointer.
21358
21359 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21360
21361         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21362         * fixinc/inclhack.sh: Regenerated.
21363         * fixinc/fixincl.sh: Regenerated.
21364
21365 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21366
21367         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21368         Fix documentation of -ansi flag to describe its C++ behavior.
21369         Remove bogus reference to GCC 2.9.
21370
21371 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21372
21373         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21374         note if it is non-NULL.
21375
21376 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21377
21378         * except.h (eh_nesting_info): Add new structure defintion.
21379         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21380         (reachable_handlers, update_rethrow_references): Add function
21381         prototypes.
21382         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21383         a rethrow symbol instead of an integer exception region number.
21384         * flow.c (Make_edges): Use new exception nesting routines to determine
21385         which handlers are reachable from a CALL or asynchronous insn.
21386         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21387         goto receivers.
21388         (delete_eh_regions): Update rethrow labels, and don't delete
21389         regions which are the target of a rethrow.
21390         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21391         avoid overloading the SYMBOL_REF_USED flag.
21392         (rethrow_symbol_map): Use new rethrow_ref field.
21393         (rethrow_used): Use new rethrow_ref field.
21394         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21395         of an integer.  Fix formatting.
21396         (output_exception_table_entry): Use new rethrow_ref field.
21397         (can_throw): Check for EH_REGION_NOTE before deciding
21398         whether a CALL can throw or not.
21399         (scan_region): Call rethrow_used() instead of accessing data structure.
21400         (update_rethrow_references): New function to make sure only regions
21401         which are still targets of a rethrow are flagged as such.
21402         (process_nestinfo): New static function to initialize a handler
21403         list for a specific region.
21404         (init_eh_nesting_info): New function to allocate and initialize
21405         the list of all EH handlers reachable from all regions.
21406         (reachable_handlers): New function to retrieve the list of handlers
21407         reachable from a specific region and insn.
21408         (free_eh_nesting_info): New function to dispose of a list of
21409         reachable handlers.
21410
21411 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21412
21413         * flow.c (split_edge): Set JUMP_LABEL field.
21414         (commit_one_edge_insertion): Set head correctly for insert_before.
21415         When inserting insns, update insn block numbers if allocated.
21416
21417 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21418
21419         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21420         retry_incomplete_types): Add static prototype.
21421         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21422         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21423         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21424         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21425         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21426         Constify a char*.
21427
21428         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21429         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21430
21431 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21432
21433         * output.h (assemble_name): Constify a char*.
21434
21435         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21436         assemble_variable, assemble_name): Likewise.
21437
21438         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21439
21440         * arm/pe.c (arm_pe_unique_section): Likewise.
21441
21442         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21443
21444         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21445
21446         * i386/interix.c (i386_pe_unique_section): Likewise.
21447
21448         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21449
21450         * i386/winnt.c (i386_pe_unique_section): Likewise.
21451
21452         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21453
21454         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21455
21456         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21457
21458         * pa/pa.c (output_call): Likewise.
21459
21460         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21461
21462         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21463
21464         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21465         Likewise.
21466
21467         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21468         Likewise.
21469
21470         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21471
21472         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21473         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21474
21475         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21476
21477 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21478
21479         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21480
21481 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21482
21483         * tree.h (lang_identify): Constify a char*.
21484         (print_error_function): Add extern prototype.  Constify a char*.
21485
21486         * c-lang.c (lang_identify): Constify a char*.
21487
21488         * objc/objc-act.c (lang_identify): Constify a char*.
21489
21490 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21491
21492         * genpeep.c (main): Make generated file include "function.h".
21493         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21494
21495 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21496
21497         * Makefile.in: Update dependencies.
21498         * alias.c: Include "function.h"
21499         * c-decl.c: Likewise.
21500         * caller-save.c: Likewise.
21501         * calls.c: Likewise.
21502         * combine.c: Likewise.
21503         * cse.c: Likewise.
21504         * explow.c: Likewise.
21505         * final.c: Likewise.
21506         * global.c: Likewise.
21507         * graph.c: Likewise.
21508         * local-alloc.c: Likewise.
21509         * loop.c: Likewise.
21510         * optabs.c: Likewise.
21511         * profile.c: Likewise.
21512         * recog.c: Likewise.
21513         * regclass.c: Likewise.
21514         * regmove.c: Likewise.
21515         * reload.c: Likewise.
21516         * reorg.c: Likewise.
21517         * resource.c: Likewise.
21518         * sched.c: Likewise.
21519         * stupid.c: Likewise.
21520         * config/1750a/1750a.c: Likewise.
21521         * config/a29k/a29k.c: Likewise.
21522         * config/arc/arc.c: Likewise.
21523         * config/arm/arm.c: Likewise.
21524         * config/arm/thumb.c: Likewise.
21525         * config/c4x/c4x.c: Likewise.
21526         * config/clipper/clipper.c: Likewise.
21527         * config/convex/convex.c: Likewise.
21528         * config/fx80/fx80.c: Likewise.
21529         * config/i860/i860.c: Likewise.
21530         * config/m68k/m68k.c: Likewise.
21531         * config/m88k/m88k.c: Likewise.
21532         * config/mips/mips.c: Likewise.
21533         * config/pdp11/pdp11.c: Likewise.
21534         * config/pyr/pyr.c: Likewise.
21535         * config/romp/romp.c: Likewise.
21536         * config/sh/sh.c: Likewise.
21537         * config/tahoe/tahoe.c: Likewise.
21538         * config/vax/vax.c: Likewise.
21539         * config/we32k/we32k.c: Likewise.
21540         * config/sparc/sparc.c: Include "function.h".
21541         (mem_min_alignment): Test current_function rather than
21542         regno_pointer_align.
21543         * config/pa/pa.c: Likewise.
21544         (compute_frame_size): Delete declaration of
21545         current_function_outgoing_args_size.
21546         * config/arc/arc.h (current_function_varargs): Delete declaration.
21547         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21548         declaration.
21549         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21550         declaration.
21551         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21552         current_function_uses_pic_offset_table.
21553         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21554         of current_function_returns_pointer.
21555         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21556         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21557         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21558         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21559         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21560         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21561         * config/m88k/m88k.c: Include "function.h"
21562         (call_used_regs, current_function_pretend_args_size,
21563         current_function_outgoing_args_size, frame_pointer_needed): Delete
21564         declarations.
21565         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21566         declaration.
21567         * config/mips/mips.h (current_function_calls_alloca): Delete
21568         declaration.
21569         * config/mn10200/mn10200.h (current_function_needs_context,
21570         rtx_equal_function_value_matters): Delete declarations.
21571         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21572         flag_pic): Delete declarations.
21573         * config/pa/pa.h (current_function_pretend_args_size,
21574         current_function_decl): Delete declarations.
21575         * config/pa/som.h (current_function_varargs): Delete declaration.
21576         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21577         declaration.
21578         * config/pyr/pyr.h (current_function_pretend_args_size,
21579         current_function_args_size, current_function_calls_alloca): Delete
21580         declarations.
21581         * config/sh/sh.h (current_function_varargs): Delete declaration.
21582         * config/sparc/sparc.h (current_function_outgoing_args_size,
21583         current_function_calls_alloca, current_function_decl): Delete
21584         declarations.
21585         * config/spur/spur.h (current_function_pretend_args_size,
21586         current_function_calls_alloca): Delete declarations.
21587         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21588         declaration.
21589         * config/vax/vms.h (current_function_name): Delete declaration.
21590         * gcse.c: Include "function.h".
21591         (current_function_name, current_function_calls_setjmp): Delete
21592         declarations.
21593         * haifa-sched.c: Include "function.h".
21594         (forced_labels): Delete declaration.
21595         * jump.c: Likewise.
21596         * reg-stack.c: Likewise.
21597         * reload1.c: Likewise.
21598         * genemit.c (main): Make generated file include function.h.
21599         * genoutput.c (output_prologue): Likewise.
21600
21601         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21602         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21603         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21604         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21605         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21606         macros for some of them.
21607         (emit_filename, emit_lineno): Delete declarations.
21608         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21609         regno_pointer_* variables through current_function.
21610         (gen_inline_header_rtx): Delete function.
21611         (save_emit_status): Delete function.
21612         (set_new_last_label_num): New function.
21613         (clear_emit_caches): New function.
21614         (restore_emit_status): Just clear last_labelnum and call
21615         clear_emit_caches.
21616         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21617         through macro seq_stack.
21618         (add_insn_after): Likewise.
21619         (add_insn_before): Likewise.
21620         (remove_insn): Likewise.
21621         (pop_topmost_sequence): Likewise.
21622         (in_sequence_p): Likewise.
21623         (start_sequence_for_rtl_expr): Likewise.
21624         (start_sequence): Likewise, and likewise for
21625         sequence_rtl_expr/seq_rtl_expr.
21626         (push_topmost_sequence): Likewise.
21627         (end_sequence): Likewise.
21628         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21629         All callers changed.  Store into that pointer instead of globals.
21630         (init_emit): Allocate emit elt of current_function.
21631         Changes for sequence_rtl_expr/sequence_stack renaming.
21632         Call clear_emit_caches instead of doing it in-line.
21633         Access regno_pointer_* variables through current_function.
21634         (init_emit_once) Don't clear sequence_stack.
21635
21636         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21637         Delete variables.
21638         (arg_pointer_save_area): Delete declaration.
21639         (finish_expr_for_function): Renamed from init_queue; no longer static.
21640         (init_expr): Don't call init_queue.
21641         (save_expr_status, restore_expr_status): Delete functions.
21642         (expand_expr): Changes to reflect new layout of struct function.
21643         Don't access current_function_check_memory_usage when current_function
21644         is 0.
21645         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21646         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21647         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21648         current_function_uses_const_pool, function_call_count,
21649         current_function_uses_pic_offset_table, nonlocal_labels,
21650         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21651         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21652         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21653         declarations.
21654         (finish_expr_for_function): Declare.
21655         * flags.h (current_function_has_nonlocal_label,
21656         current_function_has_nonlocal_goto, current_function_is_thunk,
21657         current_function_has_computed_jump): Delete declarations.
21658         * flow.c (forced_labels): Delete declaration.
21659         * function.c (current_function_pops_args,
21660         current_function_returns_struct, current_function_returns_pcc_struct,
21661         current_function_needs_context, current_function_calls_setjmp,
21662         current_function_calls_longjmp, current_function_has_nonlocal_label,
21663         current_function_has_nonlocal_goto, current_function_is_thunk,
21664         current_function_has_computed_jump, current_function_calls_alloca,
21665         current_function_contains_functions, current_function_returns_pointer,
21666         current_function_epilogue_delay_list, current_function_args_size,
21667         current_function_pretend_args_size, current_function_arg_offset_rtx,
21668         current_function_outgoing_args_size, current_function_varargs,
21669         current_function_stdarg, current_function_args_info, cleanup_label,
21670         current_function_name, current_function_uses_const_pool,
21671         current_function_instrument_entry_exit, current_function_return_rtx,
21672         current_function_uses_pic_offset_table, nonlocal_labels,
21673         current_function_internal_arg_pointer, current_function_cannot_inline,
21674         current_function_check_memory_usage, function_call_count,
21675         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21676         nonlocal_goto_stack_level, return_label, save_expr_regs,
21677         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21678         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21679         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21680         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21681         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21682         Delete variables.
21683         (push_function_context_to): Don't save them.  Don't call
21684         save_storage_status, save_emit_status or save_expr_status.
21685         (pop_function_context_from): Don't restore them.  Don't call
21686         restore_storage_status or restore_expr_status.
21687         (get_func_frame_size): New function.
21688         (get_frame_size): Use it.
21689         (assign_outer_stack_local): Reflect some member name changes in struct
21690         function.
21691         (put_reg_into_stack): Likewise.
21692         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21693         seq_rtl_expr.
21694         (fixup_var_refs): Likewise.
21695         (fix_lexical_addr): Likewise.
21696         (trampoline_address): Likewise.
21697         (prepare_function_start): Clear field inlinable of current_function.
21698         (init_function_for_compilation): New function.
21699         (expand_dummy_function_end): New function.
21700         (expand_function_end): Call finish_expr_for_function.
21701         * function.h (struct emit_status): New; fields moved here from struct
21702         function and from global variables.  Add accessor macros for some of
21703         the fields.
21704         (struct expr_status): Likewise.
21705         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21706         (struct function): Add fields expr and emit, inlinable, inl_emit,
21707         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21708         inl_max_label_num.  Add many comments.
21709         Add accessor macros for all elts of struct function that no longer
21710         have a global variable.
21711         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21712         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21713         stack_slot_list): Delete declarations.
21714         (get_func_frame_size): Declare.
21715         (save_expr_status, restore_expr_status, save_emit_status,
21716         save_storage_status, restore_storage_status): Delete declarations.
21717         (init_virtual_regs): Declare.
21718         * output.h (current_function_pops_args,
21719         current_function_returns_struct, current_function_returns_pcc_struct,
21720         current_function_needs_context, current_function_calls_setjmp,
21721         current_function_calls_longjmp, current_function_calls_alloca,
21722         current_function_has_nonlocal_label, current_function_varargs,
21723         current_function_has_computed_jump, current_function_returns_pointer,
21724         current_function_contains_functions, current_function_args_size,
21725         current_function_pretend_args_size, current_function_stdarg,
21726         current_function_outgoing_args_size, current_function_args_info,
21727         current_function_name, current_function_return_rtx,
21728         current_function_epilogue_delay_list,
21729         current_function_uses_const_pool, current_function_cannot_inline):
21730         Delete declarations.
21731         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21732         regno_reg_rtx): Delete declaration.
21733         (REGNO_POINTER_FLAG): Delete macro.
21734         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21735         function were renamed.
21736         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21737         functions.
21738         * toplev.c: Include "function.h".
21739         (current_function_decl): Delete declaration.
21740         (compile_file): Call init_dummy_function_start and
21741         expand_dummy_function_end around some initializations that need to
21742         emit rtl.
21743         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21744         Call init_function_for_compilation.
21745         * unroll.c: Include "function.h"
21746         (unroll_loop): Access regno_pointer_* variables through
21747         current_function.
21748
21749         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21750         (DECL_SAVED_INSNS): use it.
21751         (expand_dummy_function_end): Declare.
21752         (init_function_for_compilation): Declare.
21753         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21754         that it's no longer an INLINE_HEADER.
21755         (expand_call): Likewise.
21756         * integrate.c (finish_inline): Delete function.
21757         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21758         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21759         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21760         vector.  All callers changed.
21761         (save_for_inline_copying):  Create a duplicate struct emit_status to
21762         hold the emit state for compiling the current function.  Use this and
21763         the other new fields in struct function that are for integration
21764         instead of an INLINE_HEADER.
21765         Use memcpy instead of bcopy.
21766         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21767         (save_for_inline_nocopy): Similar changes, except no new emit_status
21768         is needed here.
21769         (expand_inline_function): Get information from function structure,
21770         not from an inline header rtx.
21771         (output_inline_function): Lose code to extract the necessary
21772         information from an inline header; simply put back the function
21773         structure into current_function.  Clear its inlinable elt.
21774         * rtl.def (INLINE_HEADER): Delete.
21775         * rtl.h: Delete all accessors for an INLINE_HEADER.
21776         (gen_inline_header_rtx): Delete declaration.
21777         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21778         Delete declarations.
21779         (REGNO_POINTER_ALIGN): Delete.
21780         (clear_emit_caches): Declare.
21781         (set_new_last_label_num): Declare.
21782
21783 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21784
21785         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21786
21787         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21788         * stmt.c (is_eh_region): Make sure current_function is present, too.
21789
21790 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21791
21792         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21793         for 64bit PA targets.
21794
21795         * pa.h (SELECT_SECTION): Define.
21796         * som.h (SELECT_SECTION): Delete.
21797
21798 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21799
21800         * alias.c (init_alias_analysis): Wrap call to
21801         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21802
21803 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21804
21805         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21806         <sys/asm.h> contains an asm comment with an apostrophe
21807         * fixinc/inclhack.sh:  regen
21808         * fixinc/fixincl.x:  regen
21809
21810 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21811
21812         * function.c (init_function_start): Clear prologue & epilogue.
21813         (prologue_epilogue_contains): New function.
21814         * alias.c (init_alias_analysis): Use it.
21815         * rtl.h (prologue_epilogue_contains): Declare it.
21816
21817 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21818
21819         * jump.c (onlyjump_p): New function.
21820         * rtl.h: Declare it.
21821         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21822         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21823
21824 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21825
21826         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21827         to invert loops.  Simplify block scanning.
21828
21829 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21830
21831         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21832         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21833
21834 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21835
21836         * config/sparc/liteelf.h: New file to support sparclite-elf target
21837         * config/sparc/t-sp86x: New file to support sparc86x targets
21838         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21839         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21840         * configure.in: Support above target triplets
21841         * configure: Regenerated
21842
21843 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21844
21845         * fixinc/server.c (server_setup): Do not prefix function used as
21846         parameter with `&'.
21847
21848 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21849
21850         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21851         Remove fp reg alternatives.
21852
21853 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21854
21855         * Makefiin (TAROUTOPTS): Kill.
21856         (install-headers-tar): Use "xpf" for tar headerfile extraction
21857         * i370/x-oe (TAROUTOPTS): Delete.
21858         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21859         * m68k/x-hp320 (TAROUTOPTS): Delete.
21860         * m68k/x-hp320g (TAROUTOPTS): Delete.
21861         * gcc.texi: Update bug reporting text.
21862
21863 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21864
21865         * reg-stack.c (change_stack) Fixed problem with negative array index.
21866
21867 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21868
21869         * extend.texi, install.texi: Fix spelling mistakes.
21870
21871         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21872         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21873         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21874         PREMADE_ATTRTAB_MD.
21875         * mips/t-ecoff: Likewise.
21876         * mips/t-elf: Likewise.
21877         * mips/t-mips: Likewise.
21878         * mips/t-osfrose: Likewise.
21879         * mips/t-r3900: Likewise.
21880         * mips/t-svr3: Likewise.
21881         * mips/t-svr4: Likewise.
21882         * mips/t-ultrix: Likewise.
21883
21884         * gcc.texi: Document recommend means to provide software floating
21885         point libraries in libgcc.a
21886
21887 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21888
21889         * c-lex.c (yylex): We can have a number with no digits.
21890
21891 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21892
21893         * jump.c (delete_prior_computation): New function, broken
21894         out of delete_computation.  Check for side effects with
21895         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21896         multi-word hard registers.
21897         (delete_computation): Use it.  Check for side effects with
21898         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21899         missing REG_DEAD note for a register which is both set and
21900         used by an insn.
21901
21902 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21903
21904         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21905         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21906         (ASM_FILE_START): Import _mcount with the right type.
21907         (ASM_DECLARE_FUNCTION_NAME): Define.
21908         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21909         * pa.c (output_function_prologue): Always emit the function's label
21910         here.
21911         * pa.h (TEXT_SPACE_P): Define.
21912         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21913         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21914         * som.h (TEXT_SPACE_P): Delete.
21915         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21916         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21917
21918 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21919
21920         * expr.c (emit_group_load): Allow src to be a CONCAT.
21921
21922 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21923
21924         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21925         (___mulsi3): Use '!' comment character.
21926
21927 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21928
21929         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21930
21931 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21932
21933         * gcc.c: Update URLs and mail addresses.
21934         * gcc.texi: Likewise.
21935
21936 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21937
21938         * rs6000.c (current_file_function_operand): Return zero for
21939         weak functions.
21940         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21941         weak symbols.
21942         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21943         for weak symbols.
21944
21945 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21946
21947         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21948         allocate space in the stack frame for the PIC register.
21949
21950 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21951
21952         * m68k.md (xordi3, anddi3): These patterns are not available on
21953         the coldfire.
21954
21955 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21956
21957         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21958         (PUT_REAL): Likewise.
21959
21960 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21961
21962         * final.c (shorten_branches): Don't add an alignment for loops
21963         that have no label inside.
21964
21965 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21966
21967         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21968         prototypes in macro HAVE_cmpstrsi.
21969
21970         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21971
21972         * emit-rtl.c (operand_subword): Remove unused variable
21973         `bits_per_word'.
21974
21975         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21976
21977         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21978
21979 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21980
21981         * cpphash.c (macroexpand): Delete leading whitespace when arg
21982         is concatenated before.
21983         (unsafe_chars): Correct test for whether + and - can extend a
21984         token.
21985
21986         * cppinit.c (cpp_start_read): Do dependencies for
21987         -include/-imacros files also.
21988
21989         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21990         tokenizing non-directive lines.
21991         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21992         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21993         the input file.
21994
21995 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21996
21997         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21998
21999         * c-lex.c: Sync with C++ frontend.
22000         (linemode): New variable.
22001         (parse_float): imag, conversion_errno, and type are output only.
22002         (yylex): Adjust.  Move initial '.' case into main switch.
22003         Use linemode.
22004         (handle_generic_pragma): Just deal with tokens.
22005         (readescape): Use ISXDIGIT and ISGRAPH.
22006         * c-parse.in: Add END_OF_LINE token.
22007
22008         * c-lex.c (lang_init): Generalize.
22009         (nextchar): Remove.  Replace uses with UNGETC.
22010         (skip_white_space): Handle linemode here.  Optimize for cpplib.
22011         (skip_white_space_on_line): Remove.
22012         (extend_token_buffer_to): New fn.
22013         (extend_token_buffer): Use it.
22014         (read_line_number, check_newline): Just deal with tokens.
22015         (token_getch, token_put_back): New fns.
22016         (yylex): Use them.  More cpplib optimizations.  Simplify.
22017
22018 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22019                           Jason Merrill  <jason@yorick.cygnus.com>
22020
22021         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
22022         (consume_string): Make this smart about USE_CPPLIB.
22023         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
22024         (yylex): Rewrite to be intelligent about USE_CPPLIB.
22025         Also, clean up cases where we redundantly set token_buffer[0].
22026         (read_line_number): New fn.
22027         (ignore_escape_flag): New variable.
22028
22029 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
22030
22031         * a29k/t-a29kbare: Fix some comments.
22032         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22033         (FPBIT, DPBIT): Define.
22034         * a29k/t-vx29k: Likewise.
22035         * arc/t-arc: Likewise.
22036         * arm/t-arm-elf: Likewise.
22037         * arm/t-bare: Likewise.
22038         * arm/t-pe: Likewise.
22039         * arm/t-pe-thumb: Likewise.
22040         * arm/t-semi: Likewise.
22041         * arm/t-thumb: Likewise.
22042         * arm/t-thumb-elf: Likewise.
22043         * arm/t-thumb-linux: Likewise.
22044         * h8300/t-h8300: Likewise.
22045         * i960/t-i960: Likewise.
22046         * i960/t-vxworks960: Likewise.
22047         * m32r/t-m32r: Likewise.
22048         * mips/t-ecoff: Likewise.
22049         * mips/t-elf: Likewise.
22050         * mips/t-r3900: Likewise.
22051         * pa/t-pro: Likewise.
22052         * rs6000/t-aix43: Likewise.
22053         * rs6000/t-beos: Likewise.
22054         * rs6000/t-newas: Likewise.
22055         * rs6000/t-ppccomm: Likewise.
22056         * rs6000/t-rs6000: Likewise.
22057         * rs6000/t-winnt: Likewise.
22058         * rs6000/t-xnewas: Likewise.
22059         * rs6000/t-xrs6000: Likewise.
22060         * sh/t-sh: Likewise.
22061         * sparc/t-elf: Likewise.
22062         * sparc/t-sparcbare: Likewise.
22063         * sparc/t-sparclite: Likewise.
22064         * sparc/t-splet: Likewise.
22065         * v850/t-v850: Likewise.
22066         * mn10200/t-mn10200: Fix comments.
22067         * mn10300/t-mn10300: Likewise.
22068
22069         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22070         dummy operand.  Allocate a new pseudo for the dummy operand.
22071         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22072
22073         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22074
22075 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
22076
22077         * configure: Rebuilt.
22078         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22079
22080 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
22081
22082         * recog.c (preproces_constraints): Zero recog_op_alt before
22083         processing the constraints.
22084
22085         * arm.c (typedef minipool_node): Renamed from pool_node.
22086         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22087         (add_minipool_constant): New function.
22088         (dump_minipool): New function.
22089         (find_barrier): Remove special case for getting the insn size of
22090         an insn that references the constant pool.
22091         (minipool_fixup): New structure.
22092         (push_minipool_barrier): New function.
22093         (push_minipool_fix): New function.
22094         (note_invalid_constants): New function.
22095         (add_pool_constant, dump_table, fixit, broken_move): Delete.
22096         (arm_reorg): Rewrite code to fix up the constant pool into a
22097         series of mini-pools embedded in the insn stream.
22098         (arm_output_epilogue): New function, made mainly from the body
22099         of output_func_epilogue.
22100         (output_func_epilogue): Move insn generation part of epilogue code
22101         to arm_output_epilogue.
22102         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22103         * arm.md (pool_range): New attribute.
22104         (zero_extendqidi2): Add attribute pool_range.
22105         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22106         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22107         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22108         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22109         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22110         (epilogue): New expand.
22111         (epilogue_insn): New insn.  Call arm_output_epilogue.
22112
22113         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
22114         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22115
22116 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22117
22118         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22119
22120 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22121
22122         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
22123
22124 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
22125
22126         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22127
22128 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
22129
22130         * global.c: Fix comment.
22131
22132 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
22133
22134         * gcc.c (access_check): New static function.
22135         (find_a_file): Use it when searching a directory list.
22136         * collect2.c (find_a_file): Don't accept directories found when
22137         searching a directory list.
22138
22139 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
22140
22141         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22142         function parameters with `&'.
22143         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
22144
22145 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22146
22147         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
22148         or tidy_fallthru_edge if the last insn in the block is not
22149         an unconditional jump or a simple conditional jump.
22150
22151 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22152
22153         * Makefile.in (c-decl.o): Depends on defaults.h.
22154
22155 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
22156
22157         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
22158         PA1.1 and above.
22159         (CLASS_MAX_NREGS): Likewise.
22160
22161 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
22162
22163         * cse.c (cse_insn): Fix dumb thinko in last change.
22164
22165 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22166
22167         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
22168         "const char *".
22169
22170 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22171
22172         * dwarf2out.c (add_location_or_const_value_attribute): Correct
22173         test for sizes of passed and declared parameter types.
22174
22175 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22176
22177         * fixincludes: Fix the return type of bsearch, char* -> void*.
22178
22179         * fixinc/inclhack.def: Likewise.
22180
22181 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
22182
22183         * invoke.texi (-fdump-translation-unit): New option.
22184
22185 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
22186
22187         * expr.h (PROMOTE_PROTOTYPES): Move ...
22188         * defaults.h: ... to here.
22189         * c-decl.c: Include defaults.h instead of expr.h.
22190         * c-typeck.c: Include defaults.h.
22191
22192 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
22193
22194         * toplev.h (errorcount): Declare.
22195         (warningcount): Likewise.
22196         (sorrycount): Likewise.
22197         * c-lex.c (errorcount): Don't declare.
22198         * dwarf2out.c (errorcount): Don't declare.
22199
22200 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
22201
22202         * config/libgloss.h: Add a note discouraging use with ELF.
22203         * configure.in: Don't use libgloss.h for ELF targets.
22204         Always use_collect2 on a.out targets.
22205
22206 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
22207
22208         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22209         (force_to_mode, case ASHIFTRT): Add shiftrt label.
22210
22211 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22212
22213         * loop.c (strength_reduce): When doing biv->giv conversion, update
22214         reg note of NEXT->insn.
22215
22216 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22217
22218         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22219
22220 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22221
22222         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22223         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22224         Ensure expr.h is included.
22225         * c-typecheck.c (convert_arguments): Ditto.
22226
22227         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22228
22229         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22230         * config/convex/convex.h: Ditto.
22231         * config/dsp16xx/dsp16xx.h: Ditto.
22232         * config/fx80/fx80.h: Ditto.
22233         * config/gmicro/gmicro.h: Ditto.
22234         * config/i370/i370.h: Ditto.
22235         * config/i386/i386.h: Ditto.
22236         * config/m32r/m32r.h: Ditto.
22237         * config/m68k/m68k.h: Ditto.
22238         * config/m88k/m88k.h: Ditto.
22239         * config/mips/mips.h: Ditto.
22240         * config/pa/pa.h: Ditto.
22241         * config/pyr/pyr.h: Ditto.
22242         * config/tahoe/tahoe.h: Ditto.
22243         * config/we32k/we32k.h: Ditto.
22244
22245         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22246         based on arch size.
22247
22248         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22249
22250         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22251         from comment.
22252
22253         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22254
22255 1999-08-02  Richard Henderson  <rth@cygnus.com>
22256
22257         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22258         for the register spill block.
22259         (m32r_va_arg): New.
22260         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22261         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22262
22263         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22264         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22265         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22266
22267 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22268
22269         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22270         MAX_WCHAR_TYPE defined in sparc.h.
22271         * config/sparc/linuxaout.h: Likewise.
22272         * config/sparc/linux64.h: Likewise.
22273         Also default to -mvis if CPU is UltraSPARC.
22274
22275 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22276
22277         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22278         (RTX_OK_FOR_OLO10): Likewise.
22279         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22280         %lo(), allow it in addresses...
22281         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22282         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22283         does not make sense.
22284         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22285         (sparc_output_scratch_registers): New function.
22286         (output_function_prologue, sparc_flat_output_function_prologue): Use
22287         it.
22288         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22289         defined.
22290         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22291         * configure.in: Add check for .register pseudo-op support in as and
22292         check for offsetable %lo().
22293         * acconfig.h: Add templates for the above checks.
22294         * configure: Regenerate.
22295
22296 1999-08-02  Richard Henderson  <rth@cygnus.com>
22297
22298         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22299         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22300         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22301
22302 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22303
22304         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22305         reg_biv_class.
22306
22307 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22308
22309         * config/float-sparc.h: New file.
22310         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22311         sparc-*-linux-gnu and sparc64-*-linux*.
22312
22313 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22314
22315         * rs6000.c (rs6000_va_list): Type is an array.
22316         (rs6000_va_start): Don't doubly adjust for varargs.
22317         (rs6000_va_arg): Evaluate long long GPR adjustment.
22318
22319 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22320
22321         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22322         -maix64 and -maix32.
22323         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22324         LINK_SPEC): Change appropriately.
22325         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22326         (u_short_cint_operand): Likewise.
22327         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22328         for 64-bit hosts.
22329         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22330
22331         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22332
22333 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22334
22335         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22336         for type promotion.
22337         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22338         (non_add_cint_operand): Likewise.
22339         (logical_operand): Likewise.
22340         (non_logical_cint_operand): Likewise.
22341         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22342         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22343         (rs6000_select_rtx_section): Suppress warning.
22344         (small_data_operand): Suppress warning.
22345         (rs6000_got_register): Suppress warning.
22346         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22347         type, so `J' is generally the wrong constraint for a SImode value;
22348         use `L' instead.
22349         (andsi3_internal2): Likewise.
22350         (andsi3_internal3): Likewise.
22351         (iorsi3_internal1): Likewise.
22352         (xorsi3_internal1): Likewise.
22353         (movsi): Likewise.
22354         (movsf_softfloat): Likewise.
22355         (scc insns): Likewise.
22356         (movsi+2): Preserve sign bits of SImode constant.
22357         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22358         (movdf+1): Sign-extend properly.
22359         (movdi_32+1): Sign-extend properly.
22360         (scc insns): Sign-extend properly.
22361
22362         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22363         K, L, and T.
22364
22365 1999-08-02  Richard Henderson  <rth@cygnus.com>
22366
22367         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22368         -mcpu parsing code.
22369         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22370         * alpha.md (all fp insns): Likewise.
22371
22372 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22373
22374         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22375         already defined.
22376
22377 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22378
22379         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22380         pic_load_label generator directly.
22381         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22382         No longer a named pattern.
22383
22384 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22385
22386         * explow.c (force_reg): Call force_operand if X does not
22387         satisfy general_operand.
22388
22389 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22390
22391         * fix-header.c (main): When testing for CONTINUED, use string
22392         equality, not pointer equality.
22393
22394 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22395
22396         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22397
22398 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22399
22400         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22401         that has become an unconditional jump.
22402
22403         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22404         (output_function_epilogue): Similarly.
22405
22406 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22407
22408         * tree.h (init_dummy_function_start): Declare.
22409
22410 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22411
22412         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22413         last_expr_type, last_expr_value, block_start_count, block_stack,
22414         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22415         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22416         dynamically in stmt elt of struct function for each function.
22417         (struct nesting): Rename function_call_count elt to n_function_calls,
22418         target_temp_slot_level to block_target_temp_slot_level.  All users
22419         changed.
22420         (struct stmt_status): New structure definition.
22421         Add many accessor macros for stmt_status elements which previously
22422         were global variables.
22423         (init_stmt_for_function): Allocate stmt elt for current_function.
22424         Reflect that block_start_count was renamed to
22425         current_block_start_count.
22426         (save_stmt_status, restore_stmt_status): Delete functions.
22427         (preserve_subexpressions_p): Don't access loop_stack when outside
22428         a function.
22429         (expand_start_bindings): Reflect that block_start_count was renamed to
22430         current_block_start_count.
22431         (expand_fixup): Likewise.
22432         (expand_decl): Don't access block_stack when outside a function.
22433         (expand_decl_cleanup): Likewise.
22434         (expand_dcc_cleanup): Likewise.
22435         (expand_dhc_cleanup): Likewise.
22436         (expand_anon_union_decl): Likewise.
22437         (set_file_and_line_for_stmt): New function.
22438         (in_control_zone_p): New function.
22439
22440         * function.h (struct function): Add new elt stmt.
22441         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22442         case_stack, nesting_stack, nesting_depth, block_start_count,
22443         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22444         emit_lineno, goto_fixup_chain.
22445         (save_eh_status, restore_eh_status, save_stmt_status,
22446         restore_stmt_status): Delete declarations.
22447         * function.c (push_function_context_to): Don't call save_stmt_status.
22448         (pop_function_context_to): Don't call restore_stmt_status.
22449         * tree.h (in_control_zone_p): Declare.
22450         * rtl.h (set_file_and_line_for_stmt): Declare.
22451
22452         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22453         call set_file_and_line_for_stmt.
22454
22455 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22456
22457         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22458         Also update copyright.
22459
22460 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22461
22462         * c-pragma.c: Don't include "except.h".
22463         * emit-rtl.c: Likewise.
22464         * stor-layout.c: Likewise.
22465         * tree.c: Likewise.
22466         * varasm.c: Likewise.
22467
22468         * flow.c: Include "function.h".
22469         * tree.h (init_dummy_function_start): Declare new function.
22470
22471         * except.h (struct eh_status): New structure.
22472         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22473         been included.
22474         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22475         catch_clauses, false_label_stack, caught_return_label_stack,
22476         protect_list, current_function_ehc): Add accessor macros for the
22477         corresponding fields in current_function->eh; delete declarations
22478         for all items that used to be declared here.
22479         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22480         catch_clauses, false_label_stack, caught_return_label_stack,
22481         protect_list, current_function_ehc): Delete variables.
22482         (init_eh_for_function): Allocate current_function->eh.
22483         (save_eh_status, restore_eh_status): Delete functions.
22484
22485         * function.h (struct function): Add fields next_global and eh.
22486         Delete all exception handling related fields.
22487         * function.c (current_function): New variable.
22488         (all_functions): New variable.
22489         (push_function_context_to): Don't allocate a struct function,
22490         use current_function instead.  Call init_dummy_function_start when
22491         outside a function.  Clear current_function before returning.
22492         (pop_function_context_from): Restore current_function.
22493         Don't free the restored struct function.
22494         (prepare_function_start): New function.
22495         (init_dummy_function_start): New function.
22496         (init_function_start): Break out some code into prepare_function_start
22497         and call it here.
22498
22499         * stmt.c (save_stmt_status): Don't call save_eh_status.
22500         (restore_stmt_status): Don't call restore_eh_status.
22501
22502         * Makefile.in: Update dependencies.
22503
22504 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22505
22506         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22507         of depending on a magic constant value.  Update comments.
22508         (hppa_expand_prologue): Similarly.
22509
22510         * pa.md (reload_indi, reload_outdi): Allow any register for the
22511         original reload register.
22512
22513 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22514
22515         * cccp.c (print_help): Change marcos to macros.
22516
22517 1999-07-30  Richard Henderson  <rth@cygnus.com>
22518
22519         * c-typeck.c (initializer_constant_valid_p): Move ...
22520         * c-common.c (initializer_constant_valid_p): ... here.  Use
22521         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22522         of label addresses.
22523         * c-common.h (initializer_constant_valid_p): Declare.
22524         * c-tree.h (initializer_constant_valid_p): Remove.
22525
22526 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22527
22528         * config/i386/sol2-c1.asm: Align the stack.
22529         * config/i386/sol2-gc1.asm: Likewise.
22530
22531 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22532
22533         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22534         -Asparclite for sparc86x.
22535         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22536         sparc86x.
22537         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22538
22539 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22540
22541         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22542         the user if using the non-default arch size in BI_ARCH configuration.
22543         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22544
22545         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22546         Fix patterns so that they actually match.
22547         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22548         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22549         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22550         TARGET_HARD_MUL32.
22551         (mulsidi3): Reflect this in the expand.
22552         (smulsi3_highpart): Only on TARGET_ARCH32.
22553         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22554         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22555         (umulsidi3): Reflect this in the expand.
22556         (umulsi3_highpart): Only on TARGET_ARCH32.
22557         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22558         don't require g0 to be zero.
22559         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22560         ({,u}divsi3): New expands.
22561         ({,u}divsi3_sp64): New patterns.
22562         (after lshrdi3_v8plus): Four new patterns to help combiner
22563         optimizing nested mixed mode shifts.
22564
22565         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22566         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22567         speed things up. Don't use them by default on plain v9 in 64bit
22568         mode, according to what SPAMv9 sais.
22569
22570         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22571         top 32 bits of %[og][0-7] in signal handlers.
22572         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22573
22574 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22575
22576         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22577         (ashlsi3): Corresponding changes.
22578
22579         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22580
22581 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22582
22583         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22584
22585 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22586
22587         * arm.h (Hint): Delete macro.
22588         Substitute HOST_WIDE_INT for Hint in some prototypes.
22589         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22590
22591 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22592
22593         * builtins.c (expand_builtin_setjmp): Use force_operand to
22594         make sure that the buffer address is in a suitable form to be
22595         passed to force_reg.
22596
22597 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22598
22599         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22600         them here.
22601
22602 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22603
22604         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22605         proper mode in the condition string.
22606         (icacheflush, dcacheflush): Remove modes from match_operands.
22607
22608         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22609         proper mode before using it.
22610
22611         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22612         pair.
22613
22614         * pa.c (store_reg): Do not call add_high_const generator directly.
22615         (load_reg, set_reg_plus_d): Likewise.
22616         * pa.md (add_high_const): No longer a named pattern.
22617
22618         * pa.c (legitimize_address): Consistently use Pmode rather than
22619         SImode.  Do not call gen_pic2_highpart directly anymore.
22620         * pa.md (pic2_highpart): No longer a named pattern.
22621         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22622
22623         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22624         needed.
22625
22626         * README: Update.
22627
22628 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22629
22630         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22631
22632 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22633
22634         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22635         and tag the spill mems.
22636         (hppa_va_start): New.
22637         (hppa_va_arg): New.
22638         * pa.h (EXPAND_BUILTIN_VA_START): New.
22639         (EXPAND_BUILTIN_VA_ARG): New.
22640
22641 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22642
22643         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22644         and tag the spill mems.
22645         (mn10300_va_start): New.
22646         (mn10300_va_arg): New.
22647         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22648         (EXPAND_BUILTIN_VA_ARG): New.
22649
22650 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22651
22652         * mn10200.c (mn10200_va_arg): New.
22653         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22654
22655 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22656
22657         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22658         rather than play with TREE_INT_CST_LOW.
22659
22660 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22661
22662         * config/arm/telf.h: Include dbxelf.h.
22663         (CPP_PREDEFINES): Only define if not already defined.
22664         (ASM_IDENTIFY_GCC): Likewise.
22665         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22666         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22667         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22668         defined.
22669         (DBX_DEBUGGING_INFO): Don't define.
22670         * config/arm/linux-telf.h: New file.
22671         * config/arm/linux-tgas.h: New file.
22672         * config/arm/t-thumb-linux: New file.
22673         * config/arm/uclinux-elf.h: New file.
22674         * config/arm/uclinux-telf.h: New file.
22675         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22676         thumb-*-uclinux): New targets.
22677         * configure: Regenerate.
22678
22679 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22680
22681         * pa.md (post_store, pre_load): New expanders.
22682         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22683         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22684         need to directly generate RTL for them.
22685         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22686         changes.
22687
22688 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22689
22690         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22691         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22692         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22693         (secndary_reload_class): Make TARGET_ELF conditional compile.
22694         (print_operand_address): Similar.
22695         (output_toc): Print all values as hex.
22696         (get_issue_rate): Rearrange and add RS64A and PPC630.
22697         * rs6000.h (processor_type): Add RS64A and PPC630.
22698         (PROCESSOR_POWERPC64): New.
22699         (PROMOTE_MODE): Use word_mode.
22700         (RTX_COSTS): Add RS64A and PPC630.
22701         * rs6000.md (scheduling information): Add lmul and ldiv
22702         representing 64-bit integer multiply and divide.  Add rs64a and
22703         PPC630 information.
22704         (ashldi3): Add support for "rldic" instruction.
22705         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22706
22707 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22708
22709         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22710         instead of V8 for sparclite86x in cpu_table.
22711
22712 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22713
22714         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22715         output_file_directive.
22716
22717 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22718
22719         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22720         tree for op1, not the rtl.
22721
22722 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22723
22724         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22725         to m88k_va_start, leaving only the register spill.
22726         (m88k_build_va_list): New.
22727         (m88k_va_start): New.
22728         (m88k_va_arg): New.
22729         * m88k.h (BUILD_VA_LIST_TYPE): New.
22730         (EXPAND_BUILTIN_VA_START): New.
22731         (EXPAND_BUILTIN_VA_ARG): New.
22732
22733 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22734
22735         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22736         Rename from expand_builtin_saveregs.
22737         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22738
22739 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22740
22741         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22742         for the register spill block.
22743         (i960_build_va_list): New.
22744         (i960_va_start): New.
22745         (i960_va_arg): New.
22746         * i960.h (BUILD_VA_LIST_TYPE): New.
22747         (EXPAND_BUILTIN_VA_START): New.
22748         (EXPAND_BUILTIN_VA_ARG): New.
22749         * i960.md (store_multiple): Use change_address on individul mems.
22750
22751 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22752
22753         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22754         an ARRAY_TYPE.
22755         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22756         (expand_builtin_va_end): Evaluate arg for side effects.
22757         * c-common.c (c_common_nodes_and_builtins): Construct a
22758         va_list_arg_type_node to handle array decomposition to pointer.
22759
22760 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22761
22762         * except.c (st_dynamic_cleanup): Use force_operand on the
22763         buffer's address.
22764
22765 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22766
22767         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22768         * c4x.c (c4x_va_arg): New.
22769
22770 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22771
22772         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22773         has manual_pop set.
22774
22775 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22776
22777         * eh-common.h (__eh_matcher): Prototype correctly.
22778
22779 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22780
22781         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22782         (TARGET_SINGLE_PIC_BASE): Likewise.
22783         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22784         definitions.
22785         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22786         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22787         (TARGET_OPTIONS): Add -mpic-register=N.
22788         (OUTPUT_INT_ADDR_CONST): New macro.
22789         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22790         LEGITIMATE_PIC_OPERAND_P): Likewise.
22791         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22792         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22793         output_addr_const directly.
22794         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22795         ARM port.
22796         (thumb_pic_register, thumb_pic_register_string): Declare.
22797
22798         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22799         from arm.c.
22800         (label_mentioned_p): New function: Imported from arm.c.
22801         (legitimize_pic_address): New function: Imported from arm.c.
22802         (is_pic):New function: Imported from arm.c.
22803         (thumb_finalize_pic):New function: Imported from arm.c.
22804         (add_constant): Cope with PIC constants.
22805         (fixit): Cope with PIC constants.
22806         (output_return): Do not treat the PIC register as live if
22807         TARGET_SINGLE_PIC_BASE is true.
22808         (thumb_function_prologue): Do not treat the PIC register as live if
22809         TARGET_SINGLE_PIC_BASE is true.
22810         (thumb_expand_prologue): Do not treat the PIC register as live if
22811         TARGET_SINGLE_PIC_BASE is true.
22812         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22813         TARGET_SINGLE_PIC_BASE is true.
22814         (thumb_print_operand): Accept '|'.
22815         (thumb_override_options): Process PIC options.
22816
22817         * config/arm/thumb.md (movsi): Support PIC.
22818         (call_insn): Change "i" constraint to "X".
22819         (call_value_insn): Likewise.
22820         (consttable_4, consttable_8, consttable_end): Set and clear
22821         "making_const_table" as appropriate.
22822         (pic_load_addr, pic_add_dot_plus_four): New insns.
22823
22824         * invoke.texi (Thumb Options): Fix spelling.  Document new
22825         options -msingle-pic-base and -mpic-register=.
22826
22827 1999-07-26  Andrew Haley  <aph@cygnus.com>
22828
22829         * config/m32r/initfini.c (__init): Use a full word immediate for
22830         __fini: this allows it to be placed in any memory region.
22831
22832         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22833         -mmodel=medium.  This is OK for all memory models.
22834
22835 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22836
22837         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22838         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22839
22840 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22841
22842         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22843         defined.
22844
22845         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22846
22847 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22848
22849         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22850         (BUILD_VA_LIST_TYPE): New.
22851         (EXPAND_BUILTIN_VA_START): New.
22852         (EXPAND_BUILTIN_VA_ARG): New.
22853         * i860.c (output_delayed_branch): Disable.
22854         (output_delay_insn): Likewise.
22855         (i860_saveregs): New.
22856         (i860_build_va_list): New.
22857         (i860_va_start): New.
22858         (i860_va_arg): New.
22859         * i860.md: Disable all peepholes using output_delayed_branch.
22860         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22861
22862 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22863
22864         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22865         (BUILD_VA_LIST_TYPE): New.
22866         (EXPAND_BUILTIN_VA_START): New.
22867         (EXPAND_BUILTIN_VA_ARG): New.
22868         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22869         Return the address of the save area.
22870         (clipper_build_va_list): New.
22871         (clipper_va_start): New.
22872         (clipper_va_arg): New.
22873
22874 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22875
22876         * arc.h (EXPAND_BUILTIN_VA_START): New.
22877         (EXPAND_BUILTIN_VA_ARG): New.
22878         * arc.c (arc_setup_incoming_varargs): Set alias set of
22879         varargs save area.
22880         (arc_va_start): New.
22881         (arc_va_arg): New.
22882
22883 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22884
22885         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22886         (BUILD_VA_LIST_TYPE): New.
22887         (EXPAND_BUILTIN_VA_START): New.
22888         (EXPAND_BUILTIN_VA_ARG): New.
22889         * alpha.c (alpha_builtin_saveregs): Delete.
22890         (alpha_build_va_list): New.
22891         (alpha_va_start): New.
22892         (alpha_va_arg): New.
22893
22894 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22895
22896         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22897         column zero.
22898         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22899         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22900
22901         * gcc.texi: More changes related to list conversion.
22902         * invoke.texi: Likewise.
22903
22904 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22905
22906         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22907         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22908         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22909         (stabilize_va_list): New function.
22910         (std_expand_builtin_va_start): New function.
22911         (expand_builtin_va_start): New function.
22912         (get_varargs_alias_set): New function.
22913         (std_expand_builtin_va_arg): New function.
22914         (expand_builtin_va_arg): New function.
22915         (expand_builtin_va_end): New function.
22916         (expand_builtin_va_copy): New function.
22917         (expand_builtin): Call them.
22918         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22919         __builtin_{varargs_start,stdarg_start,end,copy}.
22920         (build_va_arg): New function.
22921         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22922         (build_va_arg): Declare.
22923         * c-decl.c (ptr_type_node, va_list_type_node): New.
22924         * c-parse.gperf (__builtin_va_arg): New.
22925         * c-parse.in (VA_ARG): New token.
22926         (unary_expr): Recognize it.
22927         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22928         * expr.h (std_expand_builtin_va_start): Declare.
22929         (std_expand_builtin_va_arg): Declare.
22930         (expand_builtin_va_arg): Declare.
22931         (get_varargs_alias_set): Declare.
22932         * tree.def (VA_ARG_EXPR): New.
22933         * tree.h (BUILT_IN_VARARGS_START): New.
22934         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22935         (ptr_type_node, va_list_type_node): Declare.
22936         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22937         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22938         * m88k.h, m88k.c: Likewise.
22939         * mn10300.h, mn10300.c: Likewise.
22940         * pa.h, pa.c: Likewise.
22941         * rs6000.h, rs6000.c: Likewise.
22942         * sh.h, sh.c: Likewise.
22943         * sparc.h, sparc.c: Likewise.
22944
22945         * emit-rtl.c (operand_subword): Copy alias set.
22946         (change_address): Likewise.
22947
22948 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22949
22950         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22951         not just the first one.
22952
22953 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22954
22955         * config/arm/arm.h (TARGET_SWITCHES): Add
22956         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22957         (TARGET_OPTIONS): Add -mpic-register=.
22958         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22959         (arm_pic_register_string): Declare.
22960         (NEED_PLT_GOT): Delete, replace with ...
22961         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22962         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22963         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22964         * config/arm/arm.c (arm_override_options): Add new option
22965         -mpic-register=N.
22966         (arm_pic_register_string): New variable.
22967         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22968         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22969         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22970         (output_return_instruction): Likewise.
22971         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22972         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22973         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22974
22975         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22976         mention of -msched-prolog.  Document new options -msingle-pic-base
22977         and -mpic-register=.
22978
22979 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22980
22981         * haifa-sched.c (reemit_notes): Tidy.
22982         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22983         haifa's routine.
22984
22985 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22986
22987         * explow.c (trunc_int_for_mode): New function.
22988         (plus_constant_wide): Use it.
22989         * combine.c (simplify_and_const_int): Likewise.
22990         (merge_outer_ops): Likewise.
22991         (simplify_shift_const): Likewise.
22992         * cse.c (simplify_unary_operation): Likewise.
22993         (simplify_binary_operation): Likewise.
22994         * emit-rtl.c (operand_subword): Likewise.
22995         * rtl.h: Declare it.
22996
22997 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22998
22999         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
23000         (use NUM_REGS instead of NUM_INTS).
23001
23002 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23003
23004         * builtins.c: New file.
23005         * expr.c (saveregs_value, apply_args_value):  Delete definition,
23006         moved into builtins.c.
23007         (string_constant): No longer static.
23008         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
23009         apply_args_size, apply_result_size, result_vector,
23010         expand_builtin_apply_args, expand_builtin_apply,
23011         expand_builtin_return): Delete functions, moved into builtins.c.
23012         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
23013         * expr.h (saveregs_value, apply_args_value): Declare variables.
23014         (expand_builtin, string_constant): Declare functions.
23015         * Makefile.in: Update to build builtin.o.
23016
23017 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
23018
23019         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
23020         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
23021         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
23022         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
23023         false.
23024         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
23025         Define to zero.
23026
23027 1999-07-21  Michael Meissner  <meissner@cygnus.com>
23028
23029         * print-rtl.c (print_rtx): Print the names of the virtual
23030         registers.
23031
23032 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
23033
23034         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23035         introduced in previous delta.
23036
23037 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23038
23039         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23040         to avoid name clash.
23041
23042 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23043
23044         * c-lex.c (yylex) : Correct the test for overflow when lexing
23045         integer literals.
23046
23047 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
23048
23049         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23050         (adjust_priority): Always call ADJUST_PRIORITY.
23051         (schedule_insn): Only put insns into the ready at cost 0.
23052         (schedule_block): Remove redundant initial sort.  Give clock_var
23053         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
23054         is not 0.
23055         * tm.texi (MD_SCHED_REORDER): Update docs.
23056
23057         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
23058         * sparc.c (ultra_reorder_called_this_block): Delete.
23059         (ultrasparc_sched_init): Don't set it.
23060         (ultrasparc_sched_reorder): Don't check it.
23061
23062 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
23063
23064         * rs6000.h (struct rs6000_args): Add sysv_gregno.
23065         * rs6000.c (init_cumulative_args): Init sysv_gregno.
23066         (function_arg_boundary): Align DFmode.
23067         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23068         to get fp reg and stack overflow correct.
23069         (function_arg): Likewise.
23070         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23071         (setup_incoming_varargs): Restructure for ABI_V4; use
23072         function_arg_advance to skip final named argument.
23073         (expand_builtin_saveregs): Properly unskip the last integer arg
23074         when doing varargs.  Adjust overflow location calculation.
23075
23076         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23077         explicitly unsigned.
23078         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23079         (__VA_GP_REGSAVE): Similarly.
23080         (__va_longlong_p): Delete.
23081         (__va_arg_type_violation): New declaration.
23082         (va_arg): Restructure.  Flag promotion errors.  Align double.
23083         TFmode passed by reference.
23084
23085         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23086         in the HOST_BITS_PER_WIDE_INT > 32 case.
23087
23088 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23089
23090         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23091
23092 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
23093
23094         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23095         * toplev.c (documented_lang_options): Add -fpreprocessed.
23096         * cpplib.h (struct cpp_buffer): Add preprocessed.
23097         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23098         (cpp_start_read): Don't expand macros or emit an initial #line
23099         directive if -fpreprocessed.
23100
23101 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23102
23103         * cpplib.h (struct cpp_buffer): Added manual_pop for
23104         better C++ tokenization.
23105         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23106         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23107         * c-common.c (cpp_token): Make non-static.
23108
23109 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23110
23111         * c-common.h: New file.
23112         * c-common.c (permanent_obstack): Delete unused declaration.
23113         (c_global_trees): New array.
23114         (c_common_nodes_and_builtins): New function; split off common code
23115         from init_decl_processing in both c-decl.c and cp/decl.c.
23116         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23117         c_global_trees and accessor macros defined in c-common.h.
23118         Include c-common.h.
23119         * c-decl.c: Delete definitions for tree nodes that were replaced by
23120         c_global_trees.
23121         (init_decl_processing): Build void_list_node.
23122         Call c_common_nodes_and_builtins; delete code to generate the common
23123         builtins here.
23124         * objc/objc-act.c (build_module_descriptor): Rename variable
23125         void_list_node to avoid clash with c-common.h.
23126
23127         * Makefile.in: Update dependencies.
23128         * objc/Make-lang.in: Likewise.
23129
23130 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
23131
23132         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23133         (UNIQUE_SECTION_P): Likewise.
23134         (UNIQUE_SECTION): Likewise.
23135
23136 1999-07-19  Linas Vepstas  <linas@linas.org>
23137
23138         * config/i370/README: New file.
23139         * config/i370/linux.h: New file.
23140         * config/i370/mvs.h: New file.
23141         * config/i370/oe.h: New file.
23142         * config/i370/t-linux: New file.
23143         * config/i370/t-mvs: New file.
23144         * config/i370/t-oe: New file.
23145         * config/i370/x-oe: New file.
23146         * config/i370/xm-linux.h: New file.
23147         * config/i370/xm-mvs.h: New file.
23148         * config/i370/xm-oe.h: New file.
23149
23150         * i370.c (label_node_t): Add first_ref_page, label_addr,
23151         label_first_ref, label_last_ref members.
23152         (mvs_need_base_reload): Renamed from mvs_label_emitted.
23153         (MAX_MVS_LABEL_SIZE): Define.
23154         (MAX_LONG_LABEL_SIZE): Define.
23155         (alias_node_t, alias_anchor, alias_number): New.
23156         (mvs_function_table): Reorder for EBCDIC.
23157         (ascebc, ebcasc): Unconditionally define.
23158         (i370_branch_dest, i370_branch_length): New functions.
23159         (i370_short_branch, i370_label_scan): New functions.
23160         (mvs_get_label): Renamed from mvs_add_label.  Search for
23161         an existing label before creating a new one.
23162         (mvs_add_label): New function.
23163         (mvs_get_label_page): New function.
23164         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
23165         over the entire list.
23166         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
23167         (mvs_check_page) [TARGET_ELF_ABI]: New function.
23168         (mvs_add_alias, mvs_need_alias): New functions.
23169         (mvs_get_alias, mvs_check_alias): New functions.
23170         (handle_pragma): New function.
23171         (mvs_function_check): New function.
23172         (unsigned_jump_follows_p): Search harder.
23173         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
23174         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23175         * i370.h (TARGET_VERSION): Delete.
23176         (CPP_SPEC, CPP_PREDEFINES): Delete.
23177         (mvs_label_emitted): Delete.
23178         (TARGET_EBCDIC): Delete.
23179         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23180         (HANDLE_PRAGMA): Define.
23181         (HARD_REGNO_NREGS): Handle complex modes.
23182         (HARD_REGNO_MODE_OK): Likewise.
23183         (CLASS_MAX_NREGS): Likewise.
23184         (RET_REG): Likewise.
23185         (EXTRA_CONSTRAINT): Define.
23186         (RETURN_IN_MEMORY): True for DImode.
23187         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23188         (FUNCTION_PROFILER): Delete.
23189         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23190         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23191         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23192         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23193         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23194         (ASM_FILE_START): Add "RMODE ANY".
23195         (ASM_OUTPUT_EXTERNAL): Check for aliases.
23196         (ASM_GLOBALIZE_LABEL): Likewise.
23197         (ASM_OUTPUT_LABELREF): Likewise.
23198         (ASM_OUTPUT_COMMON): Likewise.
23199         (PRINT_OPERAND): Handle 'K', 'W', default.
23200         (PRINT_OPERAND_ADDRESS): New.
23201         (Lots of defines): Add support for TARGET_ELF_ABI.
23202         * i370.md (attr length): New.  Define for all patterns.
23203         (*): Lots of tweeks to assembly output and constraints.
23204
23205 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
23206
23207         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23208         Disable patterns performing SImode comparisons with SImode values
23209         if TARGET_POWERPC64 and instruction does not sign-extend or does
23210         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23211         differ for signed quantities.
23212         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23213         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23214         (decrement_and_branch_on_count): Add 64-bit variant.
23215
23216 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23217
23218         * final.c (output_asm_insn): When searching for the matching string
23219         for a given dialect, don't run past the end of the list of
23220         alternatives if there are fewer alternatives in the template than
23221         dialects.
23222
23223 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23224
23225         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23226         Removed paragraph about compression of files and size limitation,
23227         duplicated in the FAQ.  Use gcc-patches for posting patches.
23228         * gcc.c (main): Updated URL with bug reporting instructions to
23229         gcc.gnu.org.  Removed e-mail address.
23230         * system.h (abort): Likewise.
23231
23232 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23233
23234         * Makefile.in (stmp-multilib-sub): Make the files extracted
23235         from $(LIBGCC1) writable.
23236
23237 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23238
23239         * config/arm/aout.h: Reformat for improved readability.
23240
23241         * config/arm/arm.h: Reformat for improved readability.
23242         Replace uses of fprintf with asm_fprintf where appropriate.
23243         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23244         function declaration assembler actions.
23245         (NUM_INTS): New macro: Convert from bytes to words.
23246         (NUM_REGS): New macro: Compute number of registers required to
23247         hold a quanitity of tyep MODE.
23248         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23249         types.
23250         (NUM_ARG_REGS): New macro: The number of argument registers
23251         available.
23252         (ARG_REGISTER): New macro: Compute the register number of the Nth
23253         argument register.
23254         (LAST_ARG_REGNUM): New macro: The number of the last argument
23255         register.
23256         (SP_REGNUM): New macro: Register number of the stack pointer.
23257         (FP_REGNUM): New macro: Register number of the frame pointer.
23258         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23259         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23260         CUMULATIVE_ARGS so that it counts registers not bytes.
23261
23262         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23263         TARGET_INTERWORK.
23264         Replace uses of fprintf with asm_fprintf where appropriate.
23265         (output_ascii_pseudo_op): Replace with version from thumb.c
23266
23267         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23268
23269         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23270         SUBTARGET_CPP_SPEC.
23271         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23272         (ASM_FILE_START): Emit ASM_APP_OFF.
23273
23274 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23275
23276         * pa.c (compute_frame_size): Round frame according to
23277         STACK_BOUNDARY rather than a hardwired value.
23278
23279         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23280
23281         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23282         of "1".
23283         * configure: Rebuilt.
23284
23285         * configure.in (hppa*-*-linux*): New configuration.
23286         * configure: Rebuilt.
23287         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23288         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23289         * pa/pa-linux.h: New file.
23290         * pa/t-linux: New file.
23291         * pa/xm-linux.h: New file.
23292
23293         * pa.c (hppa_legitimize_address): Change references from SImode to
23294         either Pmode or word_mode as appropriate.
23295         (emit_move_sequence, store_reg, load_reg): Likewise.
23296         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23297         (output_mul_insn): Likewise.
23298         * pa.h (PROMOTE_MODE): Likewise.
23299         (INITIALZE_TRAMPOLINE): Likewise.
23300         (Pmode): Define to word_mode.
23301
23302         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23303         value of 4.  Allocate 8 bytes for each FP register save.
23304         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23305         value of 4.
23306         (hppa_expand_prologue): Likewise.
23307         * pa.h (PROMOTE_MODE): Likewise.
23308         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23309         (FUNCTION_ARG_BOUNDARY): Likewise.
23310
23311         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23312
23313         * pa.c (out_of_line_prologue_epilogue): Delete.
23314         (override_options): Remove -mspace related code.
23315         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23316         (compute_frame_size): Only allocate space for register that
23317         actually need to be saved.
23318         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23319         (TARGET_SWITCHES): Remove -mspace, -mno-space
23320         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23321         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23322         * pa/ee.asm, pa/ee_fp.asm: Delete.
23323
23324         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23325
23326         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23327         directive in column zero.
23328
23329 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23330
23331         * m68k.c (output_function_prologue): Fix computation of save mask
23332         when generating PIC code.
23333
23334 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23335
23336         * tree.c (build_type_attribute_variant): Move current_obstack restore
23337         after build_qualified_type call.
23338
23339 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23340
23341         * configure.in: Use t-iris6, even with GNU LD.
23342         * config/mips/iris6gld.h: Fix typo in linker spec.
23343         * config/mips/t-iris6gld: Remove.
23344
23345 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23346
23347         * rs6000.md (insv, extzv): Remove SImode dependence in named
23348         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23349         operand is DImode.
23350         (insvdi): Reverse start and size in instruction template.
23351
23352 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23353
23354         * invoke.texi: Typo fixes.
23355
23356 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23357
23358         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23359         handle at this time instead of silently generating incorrect code.
23360         (gen_imagpart): Likewise.
23361
23362         * reload.c (find_reloads): Emit a USE for a pseudo register without
23363         a hard register if we could not create an optional reload for the
23364         pseudo.
23365
23366 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23367
23368         * c-typeck.c (output_init_element, process_init_element):
23369         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23370         check for nameless bit fields.
23371
23372 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23373
23374         * regclass.c (scan_one_insn): Notice subregs that change the
23375         size of their operand.
23376         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23377
23378 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23379
23380         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23381         * configure: Rebuilt.
23382         * alpha/t-ieee: New file.
23383
23384 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23385
23386         * rs6000.c (find_addr_reg): Do not select r0 as an address
23387         register.
23388
23389 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23390
23391         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23392
23393 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23394
23395         * rs6000.md (movsf): Do not force easy FP constants into memory.
23396
23397         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23398         immed_double_const to ensure they are properly truncated then
23399         sign extended.
23400
23401 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23402
23403         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23404         always unless NO_DEBUG is used.  Compile this code
23405         unconditionally.
23406         (replace_symbols_in_block): Compile it unconditionally.
23407
23408 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23409
23410         * configure.in (i?86-*-elf*): New target.
23411         * configure: Rebuilt.
23412         * i386/i386elf.h, i386/t-i386elf: New files.
23413
23414 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23415
23416         * toplev.c (main): Don't complain about saying -gdwarf.
23417         (rest_of_compilation): Remove redundant code.
23418
23419 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23420
23421         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23422
23423 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23424
23425         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23426         "Li960R:", to avoid name clash.
23427
23428 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23429
23430         * loop.c (check_dbra_loop): When reversing a loop, delete all
23431         REG_EQUAL notes referencing the reversed biv except those which are
23432         for a giv based on it.
23433
23434 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23435
23436         * version.c: Drop "gcc-" prefix from version #.
23437
23438 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23439
23440         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23441         the label if we're being verbose.
23442
23443 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23444
23445         * m68k.c (output_function_prologue): Add pic register to mask
23446         if live and flag_pic.
23447         (output_function_epilogue): Likewise.
23448
23449 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23450
23451         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23452         directives in column zero.
23453
23454         * pa/elf.h (ASM_FILE_START): Define.
23455         * pa/som.h (ASM_FILE_START): Include .level directives.
23456         * pa/hpux10.h (ASM_FILE_START): Delete.
23457         * pa/hpux11.h (ASM_FILE_START): Delete.
23458
23459         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23460
23461 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23462
23463         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23464         when reload_out equals reload_in.
23465
23466 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23467
23468         * invoke.texi (Spec Files): New node: Describe the contents of
23469         spec files.
23470
23471 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23472
23473         * invoke.texi (DEC Alpha Options): Put @end table at
23474         beginning of line, to avoid confusing texi2html.
23475
23476 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23477
23478         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23479         introduced in previous delta.
23480
23481 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23482
23483         * reload1.c (gen_reload): When synthesizing a 3 operand add
23484         sequence, improve test for when to reload OP1 into the reload
23485         register instead of OP0.
23486
23487 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23488
23489         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23490
23491 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23492
23493         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23494         string literal.
23495
23496 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23497
23498         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23499         (va_dcl): Use __builtin_va_alist_t.
23500
23501 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23502
23503         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23504         on the permanent_obstack.
23505         * dwarfout.c (output_type): Likewise.
23506
23507 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23508
23509         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23510         Merged from c-typeck.c and cp/typeck.c.
23511         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23512         Merged into c-common.
23513
23514 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23515
23516         * c-lex.c (errorcount): Declare it.
23517         (finish_parse): Update errorcount when using CPPLIB.
23518
23519 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23520
23521         * fixinc/inclhack.def(end_else_label): Double the backslash so
23522         sed gets a chance to see it.
23523         * fixinc/inclhack.sh: regen
23524         * fixinc/fixincl.x: regen
23525
23526 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23527
23528         Add framework to support armv5 architecture when it becomes
23529         available:
23530
23531         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23532         (arm_arch5): New variable.
23533         (all_architectures): Add armv5 line.
23534         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23535         -march=armv5 is specified on the command line.
23536         (arm_arch5): Export this variable.
23537         * invoke.texi: Document new string accepted by -march= switch for
23538         ARM ports.
23539
23540         * config/arm/arm.h: Replace use of constant 12 as a register
23541         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23542         * config/arm/arm.c: Replace use of constant 12 as a register
23543         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23544
23545         * config/arm/elf.h: Tidy up.
23546         * config/arm/coff.h: Tidy up.
23547
23548 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23549
23550         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23551         * gcc/config/mips/t-iris6gld: New file.
23552         * gcc/config/mips/iris6gld.h: Likewise.
23553
23554 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23555
23556         * c-decl.c (widest_integer_literal_type_node,
23557         widest_unsigned_literal_type) : New.
23558         (init_decl_processing): Handle/use the two new types.
23559         * c-common.c (type_for_size,type_for_mode) : Same.
23560         * c-lex.c (yylex) : Same.
23561         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23562         Same.
23563         * c-tree.h (widest_integer_literal_type_node,
23564         widest_unsigned_literal_type) : New.
23565
23566 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23567
23568         * dwarfout.c (field_byte_offset): Correctly compute the object's
23569         byte offset for the first bit of a field which crosses an alignment
23570         boundary on a !BYTES_BIG_ENDIAN target.
23571
23572 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23573
23574         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23575         ntohs.
23576
23577 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23578                           Jeff Law <law@cygnus.com>
23579
23580         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23581         __builtin_va_list.
23582
23583         * except.c: Include intl.h.
23584         (expand_eh_return): Set current_function_cannot_inline.
23585         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23586         * function.h (struct function): Add eh_return_stub_label.
23587         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23588         * Makefile.in (except.o): Depend on intl.h.
23589
23590 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23591
23592         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23593         same as offsettable in cases 1 and 2.
23594
23595 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23596
23597         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23598         (extlh, extwh): Likewise.
23599
23600 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23601
23602         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23603
23604 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23605
23606         * configure.in: Add arm-pe and thumb-pe targets.
23607         * configure: Regenerate.
23608
23609         * thumb.c (arm_naked_function_p): New function: Determines if
23610         a function is naked (has no gcc generated prologue/epilogue).
23611         (is_called_in_ARM_mode): Return true if the func has the
23612         interfacearm attribute.
23613         (output_return): Do not generate a return for naked functions.
23614         (thumb_function_prologue): Do not generate a prologue for
23615         naked functions.
23616         (thumb_expand_prologue): Do not generate a prologue for naked
23617         functions.
23618         (thumb_expand_epilogue): Do not generate an epilogue for naked
23619         functions.
23620         (arm_valid_machine_decl_attribute): New function, copied from
23621         arm.c:  Permit naked and interfacearm attributes.
23622
23623         * config/arm/pe.c: New file: Support code for arm-pe target.
23624         * config/arm/pe.h: New file: Header file for arm-pe target.
23625         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23626         * config/arm/t-thumb-pe: New file: Makefile fragment for
23627         thumb-pe target.
23628
23629 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23630
23631         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23632         -fPIC or -fpic is specified.
23633
23634 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23635
23636         * expr.c (emit_block_move): Use copy_to_mode_reg for
23637         !TARGET_MEM_FUNCTIONS case too.
23638
23639         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23640         appropriate.
23641         * configure: Rebuilt.
23642         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23643         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23644         definitions made redundant by dbxelf.h inclusion.  Delete
23645         lots of definitions related to assembly output that are
23646         specific to the SOM object format.
23647         * pa.c (output_function_prologue): Do not emit the function's
23648         name for OBJ_ELF.
23649         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23650         * pa-pro.h: Deleted.
23651         * som.h: New file with SOM specific definitions.
23652         * elf.h: New file with ELF specific definitions.
23653
23654         * elfos.h (const_section): Output a tab before assembler directives.
23655         (ctors_section, dtors_section): Likewise.
23656         (ASM_OUTPUT_SECTION_NAME): Likewise.
23657
23658         * pa/pa1.h: Delete unused file.
23659
23660 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23661
23662         * configure.in (hppa*-hp-hpux11*): New configuration.
23663         * configure: Rebuilt.
23664         * pa/pa-hpux11.h: New file.
23665         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23666         command line.
23667
23668         * mips.md (leasi, leadi): New patterns.
23669
23670         * expr.c (emit_block_move): Properly handle case where one of the
23671         block move arguments has a queued increment or decrement.
23672         (clear_storage): Similarly.  Fix formatting goof.
23673
23674 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23675
23676         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23677         semicolon from the BSD VA_LIST replacement expression.
23678
23679         * fixinc/inclhack.sh: regen
23680         * fixinc/fixincl.x: regen
23681
23682         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23683         now use the fixincl program.
23684
23685 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23686
23687         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23688         case.  Also make the PIC register call_used.
23689
23690         * m68k.h (FINALIZE_PIC): Delete.
23691         * m68k.c (finalize_pic): Delete.
23692
23693 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23694
23695         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23696         to memory.
23697
23698 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23699
23700         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23701
23702 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23703
23704         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23705
23706 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23707
23708         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23709
23710 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23711
23712         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23713
23714 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23715
23716         * rs6000.c (output_toc): Always use hex values for floating-point
23717         constants.  Store single-precision values in upper-half of TOC
23718         entry in 64-bit mode.
23719         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23720         to final constraints.
23721         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23722         (fctiwz): Improve accuracy of RTL for pattern.
23723
23724 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23725
23726         * expr.c (expand_expr): Allow RTL_EXPR's through the
23727         MAX_INTEGER_COMPUTATION_MODE checks.
23728
23729 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23730
23731         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23732         such that MASK_SUPPORT_ARCH is not negative.
23733
23734 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23735
23736         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23737         ADDR_DIFF_VEC insns that appear inside loops.
23738
23739 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23740                           Jeff Law <law@cygnus.com>
23741
23742         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23743         Handle LO_SUM the same as offsettable in cases 1 and 2.
23744         * rs6000.c (find_addr_reg): Revert previous patch.
23745
23746 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23747
23748         * system.h (strstr): New external function declaration.
23749         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23750         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23751         * config.in, configure: Rebuilt.
23752
23753 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23754
23755         * gcc.c (main): Read user-specified specs files after computing
23756         additional startfile_prefixes.
23757
23758 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23759
23760         Revert these two patches:
23761
23762         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23763         * loop.c (strength_reduce): When doing biv->giv conversion, update
23764         reg note of NEXT->insn.
23765
23766         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23767         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23768         reg_biv_class.
23769         (recombine_givs): Set ix field after sorting.
23770
23771 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23772
23773         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23774         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23775
23776 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23777
23778         *fixinc/inclhack.def:  Add fix development commentary
23779         (read_ret_type): reactivate and add selection clause
23780         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23781         *fixinc/{fixincl.x|inclhack.sh}: regen
23782
23783 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23784
23785         * expr.c (expand_expr): STRIP_NOPS before checking against
23786         MAX_INTEGER_COMPUTATION_MODE
23787         (check_max_integer_computation_mode): Likewise.
23788
23789 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23790
23791         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23792
23793 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23794
23795         * expr.c (store_expr): When target is a promoted subreg, return a
23796         promoted subreg as a result.
23797
23798 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23799
23800         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23801         coding standards.
23802         (dwarf2out_define): Mark unused parameters appropriately.
23803         (gen_unspecified_parameters_die): Ditto.
23804         (gen_subprogram_die): Fix signed/unsigned warnings.
23805         (gen_variable_die): Ditto.
23806
23807 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23808
23809         * fixinc/inclhack.def(end_else_label): combined else_label
23810         and endif_label and fixed the sed expression.
23811         *fixinc/{fixincl.x|inclhack.sh}: regen
23812
23813 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23814
23815         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23816         'x' when handling non-offsettable addresses
23817
23818 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23819
23820         * final.c (shorten_branches): Don't try to split an insn that has
23821         been deleted.
23822
23823 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23824
23825         * config/mips/mips.c (symbolic_expression_p): New function.
23826         (mips_select_rtx_section): Put symbolic expressions in the
23827         data section, not the read-only data section.
23828
23829 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23830
23831         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23832
23833 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23834
23835         * collect2.c (main): Log frame table count.
23836         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23837         (scan_prog_file) [COFF]: Handle frame tables.
23838
23839         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23840         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23841         * alpha/elf.h: Undef them again.
23842         * alpha/vms.h: Remove their definitions.
23843
23844 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23845
23846         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23847         remove the clobber of r0 and change the REG_UNUSED note to
23848         REG_INC.
23849
23850 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23851
23852         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23853         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23854         fits in HOST_WIDE_INT and one uses union to access a long constant
23855         as double.
23856
23857 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23858
23859         * sparc.c (sparc_override_options): Don't allow profiling for
23860         code models other than medlow.
23861         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23862         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23863         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23864         (sparc_block_profiler): Likewise.
23865         (sparc_function_block_profiler_exit): Likewise.
23866         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23867         (FUNCTION_BLOCK_PROFILER): Likewise.
23868         (BLOCK_PROFILER): Likewise.
23869         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23870         (MCOUNT_FUNCTION): New.
23871         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23872         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23873         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23874         (MCOUNT_FUNCTION): New.
23875         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23876         (BLOCK_PROFILER): Delete.
23877         (MCOUNT_FUNCTION): New.
23878
23879 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23880
23881         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23882
23883 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23884
23885         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23886         Add the macros.
23887
23888         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23889         Ditto.
23890
23891         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23892         Ditto.
23893
23894         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23895         Ditto.
23896
23897 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23898
23899         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23900         types.
23901
23902 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23903
23904         * i386/djgpp.h (LIB_SPEC): New.
23905         (STARTFILE_SPEC): New.
23906
23907         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23908
23909 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23910
23911         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23912         compiler flags.
23913
23914         * system.h (WSTOPSIG): New macro.
23915
23916 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23917
23918         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23919         4 bytes.
23920         (insert_pack_attributes): Take into account member natural
23921         alignment.
23922
23923         * i386/winnt.c (exports_head): New static variable.
23924         (i386_pe_record_exported_symbol): New function.
23925         (i386_pe_asm_file_end): Use.
23926         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23927         symbols to be emitted at end of assembly.
23928         (ASM_DECLARE_OBJECT_NAME): Likewise.
23929         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23930
23931         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23932         -iwithprefix.
23933
23934 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23935
23936         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23937         in last change.
23938
23939 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23940
23941         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23942         zapping reg_last_uses directly.
23943         (sched_analyze_2, sched_analyze_insn): Likewise.
23944         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23945
23946 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23947
23948         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23949         attributes for cases 1 and 2.
23950
23951 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23952
23953         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23954         instead of set.
23955
23956 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23957
23958         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23959
23960 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23961
23962         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23963         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23964         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23965         must be stacked if it is used for PIC accesses.
23966         * arm.c (use_return_insn): Handle PIC register specially.
23967         (output_return_instruction): Likewise.
23968         (output_func_{prologue,epilogue}): Likewise.
23969         (output_expand_prologue): Likewise.
23970
23971         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23972         (*strsi_predec): Renamed from *strqi_predec.
23973         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23974         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23975
23976         * arm.c (arm_override_options): Remove warning about PIC code
23977         not being supported.
23978
23979 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23980
23981         * rs6000.c (find_addr_reg): New function.
23982         * rs6000.h (find_addr_reg): Declare.
23983         (offsettable_addr_operand): Delete.
23984         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23985         from and stores to GPRs.
23986
23987 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23988
23989         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23990         gen_sequence as argument to emit_no_conflict_block.
23991
23992 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23993
23994         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23995         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23996         *fixinc/fixincl.x: regen
23997         *fixinc/inclhack.sh: regen
23998
23999 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
24000
24001         * added support for -mpcrel (PC relative addressing for m68k)
24002         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
24003         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
24004         * m68k.c (print_operand_address): Handle 32-bit PIC case.
24005         (comments for general_src_operand): Add some explanation
24006         about EXTRA_CONSTRAINTS.
24007         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
24008         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
24009         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
24010         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
24011         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
24012         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
24013         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
24014         if not already set.
24015         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
24016         * m68k.h (TARGET_PCREL): New target flag.
24017         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
24018         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
24019         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
24020         contains a SYMBOL_REF.  Relax this constraint during reload, since
24021         we want to use the predicates, not reload's built-in concept of a
24022         valid memory address, to control what insns need reloading.
24023         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
24024         operands (essentially 'g', 'm', and 's' under normal circumstances).
24025         * m68k.c (print_operand): Cause printing of pc-relative addresses
24026         to include pc register.
24027         (print_operand_address): Ditto.
24028         (general_src_operand): Accept operands that are not only
24029         general_operands, but are also valid when used as a pc-relative
24030         source.
24031         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24032         (memory_src_operand): Similar, for memory_operands.
24033         (pcrel_address): New predicate to accept the special case of a
24034         pc-relative address.
24035         * m68k.md (many patterns): Rewrite common SImode, HImode, and
24036         QImode insns to accept *_src_operand instead of *_operand where
24037         pc-relative operands can fit.  For example, a pc-relative operand
24038         can be used as a memory source operand for addsi3, but not as a
24039         memory destination.
24040         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24041
24042 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
24043
24044         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24045         .thumb_set pseudo op to mark aliases of thumb functions.
24046
24047 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
24048
24049         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24050         preference to ASM_OUTPUT_DEF, if it is defined.
24051
24052         * tm.texi: Document new, optional target macro
24053         ASM_OUTPUT_DEF_FROM_DECLS.
24054
24055 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24056
24057         * fixincludes: ISCNTL patch
24058         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24059         (dgux_int_varargs): new for DG/UX
24060         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24061
24062 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
24063
24064         * invoke.texi (ia32 options): Fix typo.
24065
24066 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24067
24068         * loop.c (strength_reduce): When doing biv->giv conversion, update
24069         reg note of NEXT->insn.
24070
24071 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
24072
24073         * loop.c (move_movables): Note issues with replacing REGs with
24074         SUBREGs.
24075         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24076
24077 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
24078
24079         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24080
24081         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24082         the reference to `mcount' was not correct for the ELF on FreeBSD.
24083
24084 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24085
24086         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24087         reg_biv_class.
24088
24089         (recombine_givs): Set ix field after sorting.
24090
24091 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
24092
24093         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24094         to safe to extract a subword out of a REG.
24095
24096 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24097
24098         * sh.md (mulsi3): Don't add a no-op move at the end.
24099
24100 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24101
24102         * cse.c (cse_insn): Don't put hard register source into tables for
24103         the last insn of a libcall.
24104
24105 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24106
24107         * loop.c (strength_reduce): Insert sets of derived givs at every
24108         biv increment, even if it's the only one.
24109
24110 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
24111
24112         * dwarfout.c (add_incomplete_type): New fn.
24113         (output_type): Call it.
24114         (retry_incomplete_types): New fn.
24115         (dwarfout_finish): Call it.
24116
24117         From Eric Raskin <ehr@listworks.com>:
24118         (output_type): Output types for bases.
24119
24120 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24121
24122         * mips.c (mips_output_conditional_branch): Add `break'
24123         between `default' label and `close braces'.
24124
24125 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
24126
24127         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24128         specifications and make it realistic.
24129         (LIB_SPEC): Likewise.
24130
24131 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
24132
24133         * config/mips/mips.c (mips_secondary_reload_class): Check for
24134         (PLUS (SP) (REG)) and return appropriate register class.
24135         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24136         Handle (PLUS (SP) (REG)).
24137         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24138         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24139         of emit_insn for tablejump.
24140
24141 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
24142
24143         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
24144         asm_fprintf format string by itself.
24145         (output_function_profiler): Likewise.
24146
24147 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
24148
24149         * combine.c (simplify_logical, case AND): Only call
24150         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
24151         or the constant is positive.
24152
24153 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
24154
24155         * configure.in: Fix typo in rs6000-ibm-aix4 case.
24156         * configure: Regenerate.
24157
24158 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
24159
24160         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
24161         require a sub-version #.
24162         * configure: Rebuilt.
24163
24164 1999-06-14  Robert Lipe  (robertlipe@usa.net)
24165
24166         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
24167
24168 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
24169
24170         * c-typeck.c (process_init_element): Detect excess elements in
24171         char array initializer.
24172
24173 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24174
24175         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24176
24177 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24178
24179         * invoke.texi (Option Summary): Add -fpermissive flag.
24180
24181 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24182
24183         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24184         that require PIC code sequences.
24185
24186 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
24187
24188         * configure.in: Add new target: thumb-elf.
24189         * configure: Regenerate.
24190         * config/arm/t-thumb-elf: New file: Makefile fragment for
24191         thumb-elf build.
24192         * config/arm/telf.h: New file: Header file for thumb-elf
24193         build.
24194
24195 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
24196
24197         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24198         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24199         initializers is some circumstances.
24200
24201         * fixinc/inclhack.def (endif_label): Add additional selector for
24202         more bogus stuff after #endif statements.
24203         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24204
24205 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24206
24207         * i386/cygwin.h (SET_ASM_OP): Define.
24208
24209 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24210
24211         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24212
24213 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24214
24215         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24216         latter.
24217
24218         * sh.md (ic_invalidate_line_i): Remove second alternative.
24219
24220 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24221
24222         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24223         test for the presence of valid prototypes.  Delete bypass expr.
24224         (ioctl_fix_ctrl): Correct the selection expression.
24225         (no_double_slash): Correct quoting rules
24226         *fixinc/fixincl.x: regen
24227         *fixinc/inclhack.sh: regen
24228
24229 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24230
24231         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24232
24233 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24234
24235         * rs6000.md (movsi_got_internal_mem): Delete.
24236         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24237         (GOT_TOC_REGNUM): Delete.
24238         (PIC_OFFSET_TABLE_REGNUM): Define.
24239         (FINALIZE_PIC): Disable.
24240         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24241         (rs6000_replace_regno): Delete.
24242         (rs6000_finalize_pic): Likewise.
24243         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24244
24245 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24246
24247         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24248         is a note; use <= for the compare; advance P while it is
24249         a NOTE.
24250
24251 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24252
24253         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24254         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24255
24256         * varasm.c (remove_from_pending_weak_list): Verify t->name
24257         is non-NULL before passing it to strcmp.
24258
24259 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24260
24261         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24262         the typed arguments are not part of a comment
24263         (ioctl_fix_ctrl): Added a purpose comment
24264         *fixinc/fixincl.x: regenerate
24265         *fixinc/inclhack.sh: regenerate
24266
24267 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24268
24269         * invoke.texi: Add C4x invocation docs.
24270
24271 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24272
24273         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24274         Define new macros.
24275         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24276         TARGET_EXPOSE_LDP.
24277         (c4x_legitimize_reload_address): New function.
24278         * config/c4x/c4x.md: Update docs.
24279
24280 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24281
24282         * fixincludes: Avoid removing '.'.
24283         * fixinc/fixinc.svr4: Likewise.
24284         * fixinc/fixinc.winnt: Likewise.
24285         * fixinc/inclhack.tpl: Likewise.
24286         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24287
24288 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24289
24290         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24291         pattern.
24292         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24293
24294 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24295
24296         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24297         correctly.
24298
24299 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24300
24301         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24302         * configure: Regenerate.
24303
24304 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24305
24306         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24307         values.
24308
24309 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24310
24311         * fixinc/inclhack.def (avoid_bool): Also catch
24312         "typedef [unsigned] int bool".
24313         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24314
24315         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24316         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24317         * configure: Rebuilt.
24318
24319 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24320
24321         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24322         such that we can override its definitions if necessary.
24323         (CPP_SPEC): New define.  Support processor specific predefines via
24324         %(cpp_cpu).
24325         (CC1_SPEC): New define.  Support processor specific compiler
24326         options via %(cc1_cpu).
24327         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24328         -static.
24329
24330 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24331
24332         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24333         between sed's -e flag, and the open-quote following it.
24334         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24335
24336 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24337                           Jeffrey A Law  (law@cygnus.com)
24338
24339         * varasm.c (assemble_start_function): Remove the function
24340         from the pending weak decls list when we define a function.
24341         (assemble_variable): Similarly for variables.
24342         (weak_finish): Ignore items on the list with a NULL name.
24343         (remove_from_ending_weak_list); New function to "remove" an item
24344         from the pending weak declarations list.
24345
24346 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24347
24348         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24349
24350 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24351
24352         * c-lex.c (GETC): Redefine to call getch.
24353         (UNGETC): Redefine to call put_back.
24354         (putback_buffer): New structure type.
24355         (putback): New static structure.
24356         (getch): New function.
24357         (put_back): New function.
24358         (yylex): Replace unused bytes from bad multibyte character.
24359
24360 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24361
24362         * cpplib.c (do_define): Cast `alloca' return value.
24363         (do_include, do_undef, do_pragma): Likewise.
24364         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24365         values.
24366         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24367         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24368
24369 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24370
24371         * sparc.md (abstf2): This should be an expand.
24372         (split after abstf2_notv9): Fix mode.
24373         (abstf2_hq_v9): New pattern.
24374         (abstf2_v9): Only use when no hard quad.
24375         (absdf2_v9): Fix if target is not the same as source.
24376         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24377         Add correct output constraints.
24378
24379 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24380
24381         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24382         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24383
24384 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24385
24386         * mips.h (mips_output_conditional_branch): New function.
24387         (mips_adjust_insn_length): Likewise.
24388         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24389         (ADJUST_INSN_LENGTH): Likewise.
24390         * mips.c (print_operand): Add `F' and `W' for floating-point
24391         comparison opcodes.
24392         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24393         are now in bytes.
24394         (mips_adjust_insn_length): New function.
24395         (mips_output_conditional_branch): New function.
24396         * mips.md (length): Adjust attribute definition to handle
24397         conditional branches.  Change lengths to bytes, rather than
24398         instructions throughout.  Remove length attribute from
24399         instructions whose length is four bytes, and rely on the default
24400         instead.
24401         (dslot): Fix typo in comment.
24402         Reword conditional branch patterns to use
24403         mips_output_conditional_branch.
24404
24405 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24406
24407         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24408         (LIB_SPEC): Likewise.
24409         Link with -lprof1_r for -g/-pg.
24410
24411 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24412
24413         * loop.c (check_dbra_loop): Fix change of Jan 19.
24414
24415 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24416
24417         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24418         (STARTFILE_SPEC):  Define, override the svr4.h version.
24419         (ENDFILE_SPEC):  Likewise.
24420
24421 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24422
24423         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24424         * fixinc/fixincl.x: Regenerated.
24425         * fixinc/inclhack.sh: Regenerated.
24426
24427 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24428
24429         * sh.c (barrier_align): Don't return early for normal branch/barrier
24430         when optimizing for SH2.
24431
24432 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24433
24434         * i386/udk.h (LINK_SPEC): Correct linker search path for
24435         system libraries.
24436
24437 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24438
24439         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24440         (braf_label_ref_operand): Delete.
24441         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24442         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24443         label_ref, and has no predicate.
24444         The patten has a predicate to guard against invalid substitutions.
24445         (dummy_jump): Delete.
24446         (casesi): Update use of casesi_jump_2.
24447
24448 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24449
24450         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24451         *fixinc/fixincl.x: regenerate
24452         *fixinc/inclhack.sh: regenerate
24453
24454 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24455
24456         * dwarf2out.c (add_incomplete_type): New fn.
24457         (gen_struct_or_union_type_die): Call it.
24458         (retry_incomplete_types): New fn.
24459         (dwarf2out_finish): Call it.
24460
24461 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24462
24463         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24464         current block starts with a CODE_LABEL and ends with a CALL and
24465         we can not find all the argument setup instructions for the CALL.
24466
24467 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24468
24469         Revert this change:
24470         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24471         something is a candidate for optimize_bit_field_compare.
24472
24473 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24474
24475         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24476
24477 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24478
24479         * alpha.c (override_options): Thinko in last patch.
24480
24481         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24482         (LIB_SPEC): Recognize -pthread.
24483
24484 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24485
24486         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24487         definition in config/arm/coff.h
24488         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24489
24490 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24491
24492         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24493         fixes that need "file=xxx\n" prepended before invocation
24494         (start_fixer - new): starting the fixer process is complex enough
24495         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24496         (process): uses the new routine; omit usage of putenv()
24497         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24498         * fixinc/fixincl.x: regenerate
24499
24500 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24501
24502         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24503         and version #s (1.1 -> 2.96) as needed.
24504         * README.g77: Kill way out of date file in the toplevel directory.
24505
24506 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24507
24508         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24509         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24510         * configure: Rebuilt.
24511         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24512         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24513         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24514         (SWITCH_TAKES_ARG): Likewise.
24515         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24516         * config/t-freebsd: Moved from config/i386/ so it can used for all
24517         FreeBSD targets.
24518
24519 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24520
24521         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24522
24523 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24524
24525         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24526         * configure: Rebuilt.
24527
24528 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24529
24530         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24531         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24532         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24533         (rs6000_output_load_toc_table): Same.
24534         (output_prolog, output_mi_thunk): Same.
24535         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24536         (ASM_GLOBALIZE_LABEL): Use putc.
24537
24538 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24539
24540         * alpha.md (reload_*_help): New patterns and splitters.
24541         (reload_*): Use them.
24542         (mov[qh]i): Likewise.
24543
24544 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24545
24546         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24547         strings correctly.
24548
24549 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24550
24551         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24552
24553 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24554
24555         * flow.c (mark_regs_live_at_end, insn_dead_p,
24556         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24557         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24558         hasn't run or the frame pointer is needed.
24559         * haifa-sched.c (attach_deaths): Likewise.
24560         * sched.c (attach_deaths): Likewise.
24561
24562 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24563
24564         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24565         calculate_can_reach_end returns nonzero.
24566
24567         * configure.in (native gas tests): Search for an assembler in the
24568         same manner that the installed compiler will.
24569         * configure: Rebuilt.
24570         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24571
24572         * alias.c (find_base_term): Improve handling of addresses
24573         constructed from binary operations.
24574
24575 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24576
24577         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24578
24579 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24580
24581         * function.h (cleanup_label, frame_offset): Declare.
24582         (tail_recursion_label, tail_recursion_reentry): Likewise.
24583         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24584         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24585         (tail_recursion_label, tail_recursion_reentry): Likewise.
24586         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24587
24588 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24589
24590         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24591         defined.
24592         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24593         (MAX_OFILE_ALIGNMENT): Define.
24594
24595 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24596
24597         * fixincl.c: Replace local include scheme with #includes of
24598         gansidecl.h and system.h.
24599         * procopen.c:  Likewise.
24600         * server.c:  Likewise.
24601
24602 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24603
24604         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24605         (crti.o): Add build rule and dependencies.
24606         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24607
24608 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24609
24610         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24611         (LIB_LINUX_SPEC): Likewise.
24612         (LIB_LINUX_SPEC): Add support for -pthread
24613         (CPP_OS_LINUX_SPEC): Likewise.
24614         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24615         specified.
24616
24617 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24618
24619         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24620         conditional move.
24621         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24622         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24623         for IEEE math and CC_FCOMI.
24624         (put_jump_code): No IEEE if CC_FCOMI is set.
24625
24626 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24627
24628         * fold-const.c (fold_truthop): Make the field reference unsigned
24629         when converting a single bit compare.
24630
24631 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24632
24633         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24634
24635 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24636
24637         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24638         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24639         version did.
24640
24641         * reload.c (push_reload): Do not call remove_address_replacements
24642         when presented with identical optional reloads.
24643
24644 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24645
24646         * alpha.h (MASK_FIX, TARGET_FIX): New.
24647         (MASK_*): Reorganize constants.
24648         (CPP_AM_FIX_SPEC): New.
24649         (TARGET_SWITCHES): Add FIX.
24650         (EXTRA_SPECS): Likewise.
24651         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24652         (SECONDARY_MEMORY_NEEDED): Likewise.
24653         (REGISTER_MOVE_COST): Likewise.
24654         * alpha.c (override_options): Add FIX support.  Always use
24655         ALPHA_TP_PROG for ev6.
24656         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24657         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24658         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24659
24660 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24661
24662         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24663         something is a candidate for optimize_bit_field_compare.
24664
24665 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24666
24667         * gcc.texi (Passes): Document branch-shortening.
24668         * invoke.texi (Debugging Options): Document the fact that `-dp'
24669         outputs length information for instructions.
24670
24671 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24672
24673         * flow.c: Revert previous delta.
24674
24675 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24676
24677         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24678         FRAME_POINTER_REGNUM.
24679         (mark_set_1): Ditto.
24680         (mark_used_regs): Ditto.
24681
24682 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24683
24684         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24685         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24686         * arm/elf.h (GOT_PCREL): Define to 0.
24687         * arm.c (arm_finalize_pic): Take into account the setting of
24688         GOT_PCREL.
24689
24690 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24691
24692         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24693         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24694
24695         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24696         store elimination candidates.
24697
24698 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24699
24700         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24701         TARGET_GAS.
24702
24703 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24704
24705         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24706         Add use of x-aix41-gld.
24707
24708 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24709
24710         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24711         (ASM_OUTPUT_DESTRUCTOR): Define.
24712
24713 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24714
24715         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24716         last CODE_LABEL in a loop if we have previously passed a jump
24717         to the top of the loop.
24718
24719 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24720
24721         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24722         applying Philip's patch.
24723
24724 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24725
24726         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24727         are not VAR_DECLs.
24728
24729 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24730
24731         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24732
24733 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24734
24735         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24736         Also remove a useless comment.
24737
24738 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24739
24740         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24741
24742 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24743
24744         * collect2.c (main): Only generate import or export file and add
24745         to link arguments if non-empty.  Use xmalloc not alloca.
24746         (write_{export,import}_file): Delete.
24747         (write_aix_file): New function.
24748         (locatelib): Use xmalloc not malloc.
24749         (GCC_OK_SYMBOL): Do not check type if aix64.
24750
24751 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24752
24753         Based on patch by Scott Bambrough and Pat Beirne:
24754         * config/arm/arm.c (making_const_table): New variable.
24755         * config/arm/arm.h (making_const_table): Declare.
24756         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24757         appropriate.
24758         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24759         Keep track of when we are building the constant table.
24760
24761 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24762
24763         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24764         message.
24765
24766 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24767
24768         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24769         defined.
24770
24771 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24772
24773         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24774         in a PARALLEL.
24775
24776 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24777
24778         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24779
24780 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24781
24782         * rs6000.c (output_mi_thunk): Enable full support again.
24783
24784 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24785
24786         * sh.h (BRANCH_COST): Define.
24787
24788 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24789
24790         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24791
24792 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24793
24794         * function.c (assign_stack_local): Align stack slot propertly.
24795         (assign_outer_stack_local): Likewise.
24796
24797 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24798
24799         * expr.h (lang_expand_constant): Declare.
24800         * toplev.c (lang_expand_constant): Define it.
24801         * varasm.c (output_constant): Use it.
24802
24803 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24804
24805         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24806         Change function definitions to K&R style.
24807
24808 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24809
24810         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24811
24812 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24813
24814         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24815         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24816         (several places): omit static initialization
24817         (process): use single fd, since only the read fd is used
24818         * fixinc/gnu-regex.c: define 'const' away, if not supported
24819         * fixinc/procopen.c(several places): omit static initialization
24820         * fixinc/server.c: define 'volitile' away, if not supported
24821
24822 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24823
24824         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24825         asm_fprintf and %L to generate the label name.
24826         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24827         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24828
24829 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24830
24831         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24832         insn for a conditional jump can not be found.
24833
24834 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24835
24836         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24837         on variables in specific sections other than .sbss and .sdata.
24838
24839 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24840
24841         * stmt.c (expand_return): Call start_cleanup_deferral and
24842         end_cleanup_deferral around conditional code.
24843
24844 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24845
24846         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24847         filename lists.  Utilizes new "krstr" AutoGen function.
24848         * fixinc/fixincl.x: Rebuilt.
24849
24850 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24851
24852         * i386.c (output_float_compare): Avoid GNU-C extensions.
24853
24854 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24855
24856         * version.c: Bump to distinguish mainline tree from the
24857         gcc-2.95 branch.
24858
24859 See ChangeLog.1 for earlier changes.
24860
24861