OSDN Git Service

* Makefile.in (ggc-page.o): Now includes toplev.h.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * Makefile.in (ggc-page.o): Now includes toplev.h.
4         * ggc-page.c (toplev.h): Now included.
5         (gc_time): Remove declaration.
6         (ggc_collect): TIME now long.
7         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
8         others static.
9         * toplev.h (gc_time, parse_time, gc_time): New declarations.
10
11         * toplev.c: Make *_time variable long to reduce chance of overflow.
12         (TIMEVAR): Likewise for `otime'.
13         (print_time): Arg is now long; compute percentage in FP and round.
14         * toplev.h (print_time): Arg is long.
15
16         * tree.c: Minor whitespace changes.
17
18         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
19         * configure: Rebuilt.
20         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
21         (__fixunsxfDI): Renamed from __fixunsxfdi.
22         (__fixunsdfDI): Renamed from __fixunsdfdi.
23         (__fixunssfDI): Renamed from __fixunssfdi.
24         (__floatdisf): Use proper type in REP_BIT macro.
25         (__fixunsxfSI): Renamed from __fixunsxfsi.
26         (__fixunsdfSI): Renamed from __fixunsdfsi.
27         (__fixunssfSI): Renamed from __fixunssfsi.
28         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
29         Change location of macros and upper-case some names as above.
30         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
31         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
32
33         * varasm.c (assemble_variable): Add cast to remove warning.
34         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
35
36         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
37         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
38         region number to -1.
39
40 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
41
42         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
43         call unshare_all_rtl.
44
45         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
46
47 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
48
49         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
50         Use .s1 not .s0 for all FP instructions.
51
52 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
53
54         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
55         interfaces.
56         (safe_fwrite, output_line_command): New static functions.
57         (cpp_expand_to_buffer): Now private to cpplib.
58         (cpp_scan_buffer): Take a printer.
59
60         * cpphash.h: Update prototypes.
61         * cpplib.h: Update prototypes.
62         (cpp_printer): New.
63         (cpp_buffer): Remove last_nominal_fname.
64         (cpp_reader): Remove lineno.
65
66         * cppmain.c: Use a cpp_printer.
67         * fix-header.c: No need to inhibit line commands.  Call
68         cpp_start_read with no printer.
69
70         * cpperror.c (cpp_notice_from_errno): Provide default name.
71         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
72         (find_include_file, cpp_read_file): Use make_IHASH.
73         (file_cleanup): Set control_macro and clear
74         input_stack_listing_current here.
75         (_cpp_execute_include): Don't output entering-file marker.
76         * cpphash.c (special_symbol): Look for the line number in the
77         buffer, not the reader.
78         (_cpp_macroexpand): No need to disable line commands.
79         (_cpp_dump_definition): No need to generate line commands.
80         (dump_hash_helper): Remove excess newline from output.
81         * cppinit.c (dump_special_to_buffer): No need to generate line
82         commands.
83         (cpp_printer_init): New.
84         (cpp_start_read): Take a printer, and start it up if it's not
85         NULL.  No need to generate line commands.
86         (cpp_finish): Expect no buffers stacked at all.  Take a
87         printer argument, and flush the output buffer if it's not
88         NULL.
89         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
90         Don't put two hashes at the beginning of an assertion.
91         (cpp_get_token): Don't increment pfile->lineno or emit line
92         commands here.  Return EOF if there's no buffer when we get
93         EOF.
94         * cpplib.c (do_define, skip_if_group): 
95         No need to disable line commands.
96         (_cpp_output_line_command): Delete function.
97         (do_line): Don't emit line commands here, but set things up so
98         they will be emitted if necessary.  Use _cpp_fake_ihash to
99         make unique nominal_fnames if necessary.
100         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
101         with 0 for column, not -1.
102         (_cpp_handle_eof): Don't set the control macro here.  Don't
103         clear input_stack_listing_current here.  Don't emit line
104         commands.
105
106 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
107
108         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
109         always, use the default SVR4 start address.
110
111         * config/rs6000/linux.h (LINK_SPEC): Don't define.
112         (LINK_SHLIB_SPEC): Define.
113         (LINK_START_DEFAULT_SPEC): Define.
114         (LINK_OS_DEFAULT_SPEC): Define.
115
116         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
117
118         * config/rs6000/eabi.asm (__eabi): Call __init rather than 
119         __do_global_ctors to handle constructors.
120         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
121         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
122         (STARTFILE_MVME_SPEC): Likewise.
123         (STARTFILE_SIM_SPEC): Likewise.
124         (ENDFILE_ADS_SPEC): Use crtend.
125         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
126         (ENDFILE_MVME_SPEC): Likewise.
127         (ENDFILE_SIM_SPEC): Likewise.
128         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
129         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
130         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
131         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
132         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
133         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
134         (CRTSTUFF_T_CFLAGS_S): Define.
135         * config/rs6000/eabi-ctors.c: Delete.
136         
137         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
138         boundary.
139         (__fini): Likewise.
140         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
141         boundary.
142         (__fini): Likewise.
143
144 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
145
146         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
147         plus mask size is smaller or equal to the mode size.
148
149 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
150
151         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
152         not yet set.
153
154         * expr.c (reload.h): Now included.
155         (emit_block_move): Set volatile_ok when checking for movstr.
156         (emit_move_1): Check for replacements in addresses in multi-word case.
157         * Makefile.in (expr.o): Now includes reload.h.
158
159         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
160         Never have a LIBCALL end a basic block.
161         (find_basic_blocks_1): Likewise.
162         Reorganize CALL_INSN cases.
163
164         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
165
166 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
167
168         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
169         completers from mov.ret instruction.
170
171 2000-04-14  Richard Henderson  <rth@cygnus.com>
172
173         * fold-const.c (extract_muldiv): Don't distribute and widen
174         multiply across plus for non-sizetype unsigned types.
175
176 2000-04-14  Richard Henderson  <rth@cygnus.com>
177
178         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
179         If the original source is dead in the incr insn, it's dead now.
180
181 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
182
183         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
184         see if DECL_BIT_FIELD needs to still be set.
185
186         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
187
188         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
189         print_int_cst_octal with something that's not an INTEGER_CST.
190
191         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
192         and not a SUBREG to a FLOAT rtl.
193
194 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
195
196         * emit-rtl.c (try_split): Avoid infinite loop if the split
197         results in a sequence that contains the original insn.
198
199 2000-04-13  Andreas Jaeger  <aj@suse.de>
200
201         * config/mips/mips.c (expand_block_move): Pass alignment
202         argument to move_by_pieces in bits, not bytes.
203
204         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
205         __pic__ for little endian.
206
207 2000-04-13  Andreas Jaeger  <aj@suse.de>
208
209         * config/i386/i386-protos.h: Add prototype for
210         uno_comparison_operator.
211
212 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
213
214         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
215         * calls.c (ECF_PURE): New flag.
216         (emit_call_1): Handle ECF_PURE calls.
217         (initialize_argument_information): Unset ECF_PURE flag too.
218         (precompute_arguments): Precompute for ECF_PURE too.
219         (expand_call): Handle ECF_PURE calls too.
220         (emit_library_call_value_1): Rename no_queue argument to fn_type,
221         accept value of 2 as pure function.
222         (emit_library_call_value, emit_library_call): Rename no_queue argument
223         to fn_type.
224         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
225
226         * tree.h (DECL_IS_PURE): New macro.
227         (struct tree_decl): Add pure_flag.
228         * c-common.c (enum attrs): Add attribute "pure".
229         (init_attributes): Initialize attribute "pure"
230         (decl_attributes): Handle attribute "pure".
231         * extend.texi (Attribute "pure"): Document.
232         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
233         in pure function.
234         (flags_from_decl_or_type): Support attribute "pure".
235
236 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
237
238         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
239         the token except for numbers and identifiers.
240
241 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
242
243         * i386.c (ix86_expand_binary_operator,
244         ix86_expand_unary_operator): Check no_new_pseudos
245         instead of reload_in_progress and reload_completed.
246         (ix86_split_ashldi, ix86_split_ashrdi,
247         ix86_split_lshrdi): Check no_new_pseudos instead
248         of reload_completed.
249
250 2000-04-12  Jeffrey A Law  (law@cygnus.com)
251
252         * function.c (purge_addressof): Unshare any shared rtl created by
253         purge_addressof and its children.
254
255 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
256
257         * function.c (aggregate_value_p): VOID_TYPE nodes are never
258         aggregates.
259
260 2000-04-05  Andreas Jaeger  <aj@suse.de>
261
262         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
263         not compiling PIC code, add flags for mabi=64.
264         (SUBTARGET_CPP_SIZE_SPEC): New.
265         (SUBTARGET_CPP_SPEC): New.
266         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
267         for MIPS/Linux and lots of code needs these defines.
268
269 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
270
271         * reorg.c (fill_slots_from_thread): Check side_effects_p when
272         trying the "opposite arithmetic" approach.
273
274 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
275
276         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
277         (struct sh_args): Add new field force_mem.
278         (INIT_CUMULATIVE_ARGS): Initialize it.
279         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
280
281 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
282
283         * calls.c (expand_call): Do not reverse args in "equal from" field.
284         (emit_library_call_value_1): Emit_libcall_block for const and pure
285         function.
286
287 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
288
289         * reload1.c (reload_combine): Don't enable optimization for fixed
290         registers when encountering a BARRIER.
291
292 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
293
294         * builtins.c (expand_builtin_memcmp): Do expansion even with
295         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
296
297         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
298         stack is propertly aligned; add sanity checking for aligned
299         stack pointer.
300         (expand_library_call_value_1): Add sanity checking for aligned
301         stack pointer.
302
303 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
304  
305         * calls.c (emit_library_call_value_1): Change 3rd arg to
306         locate_and_pad_parm to disregard the setting of partial.
307
308 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
309
310         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
311
312         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
313         CALL_INSN from the normal case.
314
315 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
316
317         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
318         New global variables.
319         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
320         adjustment.
321         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
322         Declare,
323         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
324          TARGET_ADD_ESP_8): New macros.
325         * i386.md: Add peep2s to convert esp adjustments to push and pop
326         instructions.
327         (pushsi_prologue, popsi_epilogue): New patterns.
328
329 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
330
331         * real.c (toe64): Remove stale #endif from the last change.
332
333 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
334
335         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
336         * real.c (toe64): Revert previous change.
337
338 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
339
340         * objc/objc-act.c: Include ggc.h.
341         (objc_tree_index, objc_global_trees): Convert most of the
342         static tree variables into a static array with previous names
343         as defines.
344         (objc_ellipsis_node): New variable.
345         (lang_init): Call objc_act_parse_init and c_parse_init.
346         Create objc_ellipsis_node.
347         (build_selector_translation_table): Use objc_ellipsis_node instead
348         of (tree)1.
349         (hack_method_prototype): Likewise.
350         (get_arg_type_list): Likewise.
351         (start_method_def): Likewise.
352         (continue_method_def): Likewise.
353         (gen_method_decl): Likewise.
354         (ggc_mark_imp_list): New function.
355         (ggc_mark_hash_table): New function.
356         (objc_act_parse_init): New function.
357         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
358         * c-parse.in (c_parse_init): For objc add roots of objc specific
359         local tree variables.
360         * objc/objc-parse.y: Rebuilt.
361         * objc/objc-parse.c: Rebuilt.
362         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
363
364 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
365
366         * cse.c (delete_trivially_dead_insns): Also delete insns
367         that copy a register to itself where the destination is
368         a strict_low_part.
369
370 2000-04-11  Richard Henderson  <rth@cygnus.com>
371
372         * flow.c (struct propagate_block_info): Add new_dead, new_live.
373         (propagate_block): Initialize them.  Use them in parallel instead
374         of one tmp variable, ie revert much of the 0408 and 0407 functional
375         changes, but keep the structural changes.
376         (mark_set_regs): Take new_dead from propagate_block_info instead.
377         (mark_set_1, mark_set_reg): Likewise.
378         (mark_used_regs): Likewise with new_live.
379         (mark_used_reg): Likewise.  Revert 0408 change.
380
381 2000-04-11  Nick Clifton  <nickc@cygnus.com>
382
383         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
384         restriction.
385         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
386
387 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
388
389         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
390         const section to output a CONSTRUCTOR based on the same conditions
391         used for VAR_DECLs.
392
393 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
394
395         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
396         * pa/pa-protos.h (output_call): Add additional argument indicating
397         if the call is a sibling/tail call.
398         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
399         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
400         (function_arg, function_arg_partial_nregs): Likewise
401         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
402         (emit_move_sequence): Zero extend certain constants as needed
403         for TARGET_64BIT.
404         (compute_zdepdi_operands, output_64bit_and): New functions.
405         (output_64bit_ior, function_arg): Likewise.
406         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
407         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
408         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
409         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
410         (output_bvb): Likewise.
411         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
412         (output_call): New argument 'sibcall'.  Generate sibcall sequences
413         as needed.
414         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
415         (ouput_arg_descriptor): Do not emit argument descriptors for
416         TARGET_64BIT.
417         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
418         defined.
419         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
420         (FUNCTION_OK_FOR_SIBALL): Define.
421         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
422         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
423         (CPP_SPEC): Use new spec infrastructure.
424         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
425         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
426         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
427         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
428         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
429         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
430         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
431         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
432         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
433         (FUNCTION_ARG); Call out to C code.
434         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
435         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
436         (MIN_UNITS_PER_WORD): Likewise.
437         * pa/pa.md (cmpdi): New expander.
438         (scc patterns, movstrsi): Not available for TARGET_64BIT.
439         (64bit conditional arithmetic): New patterns.
440         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
441         (movsicc): Not available if modes on all the operands to not match.     
442         (movdicc): New expander and associated patterns.
443         (64bit branches): New patterns.
444         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
445         (pre_ldd, post_std): New patterns.
446         (64bit addil, load low part): New patterns.
447         (special movsf constant): Not available for TARGET_64BIT.
448         (movsf, movdf expanders): Force constants into memory.
449         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
450         (64bit movdf/movdi patterns): New patterns.
451         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
452         for TARGET_64BIT.
453         (extendqidi2, extendhidi2, extendsidi2): Similarly.
454         (adddi3 expander): Allow "arith_operand" for second input.
455         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
456         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
457         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
458         (muldi3): New expander for TARGET_64BIT.
459         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
460         for TARGET_64BIT.
461         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
462         patterns for TARGET_64BIT.
463         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
464         patterns for TARGET_64BIT.
465         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
466         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
467         (sibcall_epilogue): New expander.
468         (casesi): Tweak for TARGET_64BIT.
469         (call expanders): Set & use the outgoing argument pointer.  Use the
470         64bit call patterns as needed. Add additional arg to output_call.
471         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
472         (sibcall, sibcall_internal_symref): New expanders.
473         (sibcall_value, sibcall_value_internal_symref
474         (interspace_jump): Turn into an expander + matching patterns.
475         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
476         * pa/pa64-regs.h: Eliminate trigraph sequences.
477         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
478
479 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
480
481         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
482         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
483         cpp_token with cpp_ttype everywhere.
484         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
485         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
486         CPP_BUF_COL.  Line and column numbers are unsigned int, not
487         long.
488         * cpplex.c (cpp_buf_line_and_col): Delete.
489         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
490         'long lineno' to 'unsigned int lineno'.
491         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
492
493 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
494
495         * extend.texi: ISO C99 is not a draft anymore.
496         * invoke.texi: ISO C++ is not a draft anymore.
497         * cpp.texi: __cplusplus is required by the ISO standard.
498
499         * extend.texi (-fthis-is-variable): Undocument.
500         * flags.h (warn_template_debugging): Remove declaration.
501         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
502         -Wenum-clash, -Wtemplate-debugging): Undocument.
503
504 2000-04-10  Nick Clifton  <nickc@cygnus.com>
505
506         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
507         integer.
508         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
509         integer.
510         (ARM_SIGN_EXTEND): Use HOST_UINT.
511         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
512         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
513         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
514         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
515
516         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
517         (arm_gen_constant): Use HOST_UINT.
518         (arm_canonicalize_constant): Use HOST_UINT.
519         (arm_reload_in_hi): Use HOST_UINT.
520         (arm_reload_out_hi): Use HOST_UINT.
521         (output_multi_immediate): Use HOST_UINT.
522         (int_log2): Use HOST_UINT.
523         (arm_poke_function_name): Use HOST_UINT.
524         (arm_output_epilogue): Use arm_volatile_func().
525         (output_thumb_prologue): Use arm_strip_name_encoding().
526         
527 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
528
529         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
530         of sequence point problems.
531
532 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
533
534         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
535         Recomment.
536         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
537
538 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
539
540         * sbitmap.h: Whitespace changes and use upper-case macro args.
541         (struct simple_bitmap_def): All sizes now unsigned.
542         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
543         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
544         (sbitmap_vector_alloc): Parms and local vars now unsigned.
545         (sbitmap_zero): Cast bzero arg to PTR.
546         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
547         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
548         loop to make structure clearer.
549         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
550         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
551         (sbitmap_a_and_b_or_c): Likewise.
552         (sbitmap_intersection_of_succs): Minor cleanups.
553         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
554         (sbitmap_union_of_preds): Likewise.
555         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
556         (debug_sbitmap): New function.
557         
558         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
559         * c-typeck.c (convert_for_assignment): Likewise.
560
561         * expmed.c (init_expmed): Don't free objects we make.
562         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
563
564         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
565         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
566
567         * gcse.c (expr_hash_table_size): Now unsigned.
568         (compute_ae_gen): Local variable `i' now unsigned.
569         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
570         (compute_transout, hoist_code): Likewise.
571         (compute_local_properties): Likewise, also hash_table_size.
572         (alloc_expr_hash_table): N_INSNS now unsigned.
573         (delete_null_pointer_checks): Mark arg F as unused.
574
575         * regrename.c: Minor cleanups, including chang some variables
576         to unsigned int.
577
578 2000-04-10  Neil Booth  <NeilB@earthling.net>
579
580         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
581         than GETC ().
582         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
583
584 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
585
586         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
587         __classof__, and __headof__ from the list of gnu keywords.
588         (-ansi): Remove -foperator-names from list of implied options. 
589         Do not call it ANSI C++.
590         (-foperator-names): Document as -fno-operator-names.
591
592 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
593
594         * cpphash.c (timestamp): Delete.
595         (del_HASHNODE): If type is T_MCONST, free value.cpval.
596         (special_symbol): Remove unnecessary braces.  Remove
597         T_VERSION.  Treat T_STDC like T_CONST unless
598         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
599         when one is encountered, then convert them into T_MCONST
600         nodes.
601         * cppinit.c (builtin_array): version_string is T_MCONST.
602         __STDC__ has a "1" in its cpval.  Don't have a terminator
603         entry.  Clean up which entries are dumped.
604         (initialize_builtins): Only __STDC__ gets the special
605         -traditional treatment.  Count the length of builtin_array.
606         Render version_string here.
607         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
608         * cpplib.h (struct cpp_reader): Remove timebuf. 
609
610 2000-04-09  Richard Henderson  <rth@cygnus.com>
611
612         * genrecog.c (pred): Update comparison_operator for the unordered
613         operators.
614
615         * config/i386/i386.c (no_comparison_operator): Disallow unordered
616         operators.
617         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
618         (uno_comparison_operator): New.
619         (put_condition_code): Handle UNORDERED/ORDERED.
620         (unsigned_comparison): Likewise.
621         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
622         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
623         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
624         update all callers.  Handle all 8 unordered operators.
625         (ix86_expand_setcc): Lose the unordered argument, update all callers.
626         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
627         * config/i386/i386.h (PREDICATE_CODES): Update.
628         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
629         (ix86_expand_branch, ix86_expand_setcc): Update.
630         * config/i386/i386.md (sunordered, sordered): New.
631         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
632         (bunordered, bordered): New.
633         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
634         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
635         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
636
637 2000-04-09  Philip Blundell  <philb@gnu.org>
638
639         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
640         
641 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
642
643         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
644         fix_truncxfhi2): New patterns.
645         * i386.c (output_fix_trunc): Handle converting to HImode.
646
647 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
648
649         * ssa.c (convert_to_ssa): Eliminate dead code when calling
650         life_analysis.  
651         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
652         (for_each_successor_phi): Change parameter to basic_block.
653         (coalesce_regs_in_successor_phi_nodes): Likewise.
654         (coalesce_regs_in_copies): Likewise.
655         (compute_coalesced_reg_partition): Use basic_block instead of index.
656         * rtl.h (convert_to_ssa): Delete.
657         (convert_from_ssa): Likewise.
658         (successor_phi_fn): Likewise.
659         (for_each_successor_phi): Likewise.
660         (in_ssa_form): Likewise.
661         * basic-block.h (convert_to_ssa): Moved from rtl.h.
662         (convert_from_ssa): Likewise.
663         (successor_phi_fn): Likewise.
664         (in_ssa_form): Likewise.
665         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
666         * flow.c (calculate_global_regs_live): Pass a basic_block to
667         for_each_successor_phi.
668
669 2000-04-08  Richard Henderson  <rth@cygnus.com>
670
671         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
672         was modified in the current insn.
673
674 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
675
676         * arm/thumb.md: Delete.
677         * arm/thumb-protos.h: Delete.
678
679 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
680
681         Merge changes from merged-arm-thumb-backend-branch onto trunk.
682
683         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
684
685         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
686         into branch.
687
688         * arm.md (nop): Use the standard RTL expression.  Don't code as a
689         define_expand.
690         (*arm_nop, *thumb_nop): Delete.
691
692         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
693         constants.  Use casts instead.
694         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
695         output_multi_immediate, arm_poke_function_name): Likewise.
696         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
697         MASK_RETURN_ADDDR): Likewise.
698
699         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
700
701         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
702         into branch.
703         
704         * arm.md (eh_epilogue): New function.
705         * arm.h (struct machine_function): Move to here ...
706         * arm.c: ... from here.
707         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
708         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
709         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
710
711         2000-03-30  Nick Clifton  <nickc@cygnus.com>
712
713         * config/arm/semi.h (ASM_SPEC): Restore definition.
714         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
715
716         * config/arm/elf.h (ASM_SPEC): Restore definition.
717         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
718
719         * config/arm/arm.h (ASM_SPEC): Remove definition.
720         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
721
722         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
723
724         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
725
726         2000-03-24  Nick Clifton  <nickc@cygnus.com>
727
728         Various formating tidyups, elimination of compile time
729         warnings and synchronisation with internal sources:
730         
731         * config/arm/arm-protos.h (assemble_align): Add prototype.
732         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
733         (gen_comapre_reg): Rename to arm_gen_compare_reg.
734         (arm_return_addr_rtx): Rename to arm_return_addr.
735
736         * config/arm/arm.c: Include except.h.
737         Define shorter typenames for strict minipool_node and struct
738         minipool_fix.
739         (arm_return_in_memory): For WinCE return all structures <= 32 bits
740         in memory.
741         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
742         (gen_comapre_reg): Rename to arm_gen_compare_reg.
743
744         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
745         already defined.
746         (ASM_SPEC): Define if not already defined.
747         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
748
749         * config/arm/arm.md: Rename references to gen_rotated_half_load to
750         arm_gen_rotated_half_load, and references to gen_comapre_reg to
751         arm_gen_compare_reg.
752         (indirect_jump):  Only accept register operands.
753         (load_indirect_jump): Keep this pattern since combine can generate
754         it.
755
756         * config/arm/coff.h: Include aout.h.
757         (MULTILIB_DEFAULTS): Only define if not already defined.
758
759         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
760         into arm.h (so that COFF ports can support thumb based aliases).
761         (ASM_SPEC): Move definition into arm.h
762         
763         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
764         redundant apcs spec.
765         (ASM_SPEC): Move definition to arm.h
766
767         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
768
769         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
770         for entries in the .bss section
771
772         2000-03-23  Nick Clifton  <nickc@cygnus.com>
773
774         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
775         to thumb_far_jump_used_p.
776
777         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
778         single integer parameter.
779
780         * config/arm/arm.c (struct machine_function): Add two new
781         fields, 'far_jump_used' and 'arg_pointer_live'.
782         (thumb_far_jump_used_p): Once the decision has been made that
783         far jumps might be used, always return true.
784         If being called from the initial elimination offset macro then
785         do not bother to perform the test if the arg pointer is not
786         being used.
787         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
788         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
789
790         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
791
792         * arm.c (output_return_instruction): Handle more cases where we can
793         return from a function with an ldr instruction.
794         (arm_output_epilogue): Likewise.
795
796         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
797         if we need to push a large stack frame and there are no callee-saved
798         registers.
799
800         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
801         in ARM code if the frame pointer has been eliminated.
802
803         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
804         unspec_volatile arguments to avoid duplicates.
805         (consttable_1, consttable_2): Fixes for big-endian mode.
806
807         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
808         as appropriate.
809
810         Re-write constant pool code.
811         * arm.c (minipool_node, minipool_fix): New types.
812         (minifix): Delete type.
813         (arm_add_minipool_constant): Delete.
814         (arm_compute_minipool_offsets, arm_find_barrier, 
815         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
816         (get_jump_table_size): Now returns HOST_WIDE_INT.
817         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
818         functions.
819         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
820         (assign_minipool_offsets, arm_print_value): Likewise.
821         (dump_minipool): Rewrite.
822         (arm_barrier_cost): New function.
823         (create_fix_barrier): New function.
824         (push_minipool_barrier): New function.
825         (push_minipool_fix): Record additional information about the fixup 
826         required.
827         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
828         check the mode of what needs fixing.
829         (arm_reorg): Rewrite.
830
831         2000-03-08  Nick Clifton  <nickc@cygnus.com>
832
833         * config/arm/arm.md (indirect_jump): Force constant addresses into
834         a register. 
835
836         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
837
838         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
839
840         2000-02-24  Nick Clifton  <nickc@cygnus.com>
841
842         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
843         adjust is word aligned.
844         (thumb_expand_epilogue): Make sure that stack adjust is word
845         aligned.
846
847         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
848         
849         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
850
851         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
852         pointer relative addresses.
853
854         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
855
856         * arm.c (find_barrier): Find the last barrier within the allowed 
857         range.
858
859         2000-02-09  Nick Clifton  <nickc@cygnus.com>
860
861         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
862
863         2000-02-09  Nick Clifton  <nickc@cygnus.com>
864
865         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
866         ARM_FUNCTION_PROFILER. 
867
868         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
869         ARM_FUNCTION_PROFILER. 
870
871         * config/arm/linux-oldld.h: Imported from mainline sources.
872
873         2000-02-07  Nick Clifton  <nickc@cygnus.com>
874
875         * config/arm/lib1funcs.asm: Merge in thumb functions from
876         lib1thumb.asm.
877         
878         * config/arm/lib1thumb.asm: Delete.
879
880         2000-02-04  Nick Clifton  <nickc@cygnus.com>
881
882         * config/arm/arm.c: Sychronised with current Red hat local
883         sources. 
884         * config/arm/arm.h: Ditto.
885         * config/arm/arm-protos.h: Ditto.
886
887         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
888
889         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
890
891         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
892         byte stores.
893
894         2000-02-02  Nick Clifton  <nickc@cygnus.com>
895
896         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
897
898         * config/arm/arm.md (epilogue): Fix rtl checking abort because
899         (return) was emited using an emit_insn() call. 
900         
901         2000-01-31  Nick Clifton  <nickc@cygnus.com>
902
903         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
904         thumb stack frame.
905         (thumb_exit): Move frame pointer back into hard frame pointer
906         register if backtracing is being used.
907
908         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
909
910         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
911         into branch.
912
913         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
914
915         * config/arm/arm.md (neg_pool_offset): Provide default for new
916         attribute.
917         (arm_movsi_insn): Add neg_pool_offset attribute.
918         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
919         rtx for the insn that starts the scan and an unsigned long for its
920         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
921         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
922         instructions in *PINSERTED.
923         (struct minipool_fixup): Add MIN_ADDRESS elt.
924         (sort_fixups): Compute it.
925         (arm_reorg): Changes to support inserting pools before the insn to be
926         fixed up.
927
928         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
929
930         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
931         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
932         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
933
934         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
935
936         * config/arm/semi.h (TARGET_VERSION): Do not define if already
937         defined.
938         (TARGET_DEFAULT): Do not define if already defined.
939
940         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
941
942         * config/arm/arm.md (anddi3): Allow disjoint source operands.
943         (iordi3): Allow disjoint source operands.
944         (xordi3): Allow disjoint source operands.
945         (negdi2): Permit construction for ARM and Thumb.
946         (arm_negdi2): Renamed version of old negdi2 pattern.
947         (thumb_negdi2): New pattern: Only permit non-overlapping
948         source and destination.
949
950         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
951
952         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
953         scratch low register so that it will not be deleted.
954
955         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
956
957         * config/arm/pe.h (ARM_PE): Define.
958         
959         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
960         interfacearm attribute if this is a PE toolchain.
961         (output_return_instruction): Do not emit anything if the function
962         has the naked attribute set.
963         (is_called_in_ARM_mode): If the function has the interfacearm
964         attribute then return true.
965         (thumb_expand_prologue): Do not generate a prologue for naked
966         functions.
967         (thumb_expand_epilogue): Do not generate an epilogie for a naked
968         function.
969         (output_thumb_prologue): Do not bother if the function is naked.
970         Strip PE encoding from function name before emitting.
971
972         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
973
974         * arm.md (pic_load_addr): Fix constraints.
975
976         * arm.md (casesi_insn): Fix mis-applied patch.
977
978         * arm.md ("core" function unit): Add rules for single- and
979         multi-cycle insns.
980         (All TARGET_THUMB patterns): Add "type" attribute information
981         where needed.
982         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
983         the following insn is a CALL.
984
985         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
986         pointer.
987         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
988         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
989         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
990         
991         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
992
993         * config/arm/linux-gas.h: oops - this file was missed out when the
994         branch was created...
995
996         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
997
998         * thumb.c: Deleted.  Move contents to ...
999         * arm.c: ... here.
1000         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1001         rule for thumb.o
1002         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1003         * configure: Regen.
1004
1005         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
1006         declare a prototype for asm_output_align();
1007
1008         * arm.c (thumb_condition_code): Delete.
1009         (arm_print_operand): Always use arm_condition_code array.
1010
1011         * arm.c (thumb_return_addr_rtx): Delete.
1012         (arm_save_machine_status, arm_restore_machine_status): Delete.
1013         (arm_init_machine_status, arm_mark_machine_status): New functions.
1014         (arm_init_expanders): Update accordingly.
1015         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
1016         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1017         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1018         
1019         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
1020
1021         * configure.in : Fix arm-*-aout target to use new t-arm-aout
1022         script. 
1023         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1024         targets.
1025
1026         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
1027
1028         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1029         stack backtrace structure.
1030
1031         * config/arm/arm-protos.h: Add prototypes for functions defined in
1032         arm/pe.h.
1033         
1034         * config/arm/arm.c (arm_override_options): Fix selection of 
1035         attributes of default processor.
1036         
1037         * config/arm/coff.h: Delete needless #include.
1038         
1039         * config/arm/pe.c: Delete unused code.
1040         
1041         * config/arm/pe.h (CPP_DEFINES): Delete
1042         (SUBTARGET_CPP_SPEC): Define.
1043         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1044         
1045         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1046
1047         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
1048
1049         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1050         updated.
1051         (CAN_DEBUG_WITHOUT_FP): Define.
1052         (FIXED_REGISTERS): Make r11 call-saved.
1053         (CALL_USED_REGISTERS): Likewise.
1054         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1055         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
1056         frame-pointer is required.
1057         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1058         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1059         if the target normally needs a stack frame in non-leaf functions.
1060         (use_return_insn): Correct logic for determining when a return
1061         instruction can be used.
1062         (output_return_instruction): Handle the frame-pointer register as
1063         a normal register when not TARGET_APCS_FRAME.
1064         (arm_output_prologue): Likewise.
1065         (arm_output_epilogue): Likewise.
1066         (output_func_epilogue): Likewise.
1067         (arm_expand_prologue): Likewise.
1068         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1069
1070         * arm.c (use_return_insn): No need to check floating point regs if
1071         TARGET_SOFT_FLOAT.
1072         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1073         the code of value stored in the minipool array.
1074         (arm_add_minipool_constant): Likewise.
1075
1076 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1077
1078         * basic-block.h (conflict_graph_enum_fn): K&R fix.
1079
1080 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1081
1082         * tree.c (tree_expr_nonnegative_p): New function.
1083
1084         * tree.h (tree_expr_nonnegative_p): Declare.
1085
1086         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1087         elide some sign_compare warnings.
1088         (build_conditional_expr): Likewise.
1089
1090 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
1091
1092         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1093
1094         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1095         * i386.c (print_operand): Use the proper suffix for a 387 HImode
1096         operand.  Abort if a 387 operand has an unsupported size.
1097
1098 2000-04-08  Neil Booth  <NeilB@earthling.net>
1099
1100         * cppexp.c (parse_charconst): Null does not end character
1101         constants.
1102         * cppinit.c (ISTABLE): Null character handled as whitespace.
1103         * cpplex.c (null_warning):  new function.
1104         (skip_string): Emit warning if nulls encountered.
1105         (_cpp_skip_hspace): Emit warning if nulls encountered.
1106         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
1107         them.
1108         * cpp.texi: Update.
1109
1110 2000-04-07  Richard Henderson  <rth@cygnus.com>
1111
1112         * flow.c (loop_depth): Remove.
1113         (reg_next_use, cc0_live, mem_set_list): Replace with ...
1114         (struct propagate_block_info): New.
1115         (life_analysis): Don't allocate reg_next_use.
1116         (propagate_block_delete_insn): Break out of propagate_block.
1117         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
1118         (propagate_block_delete_libcall): Likewise.
1119         (propagate_block): Create a propagate_block_info struct to pass
1120         to subroutines.  Allocate one not two temporary regsets.  Don't
1121         clobber memory for const calls.  Look for clobbers in
1122         CALL_INSN_FUNCTION_USAGE.
1123         (mark_set_regs): Recognize COND_EXEC.
1124         (mark_set_reg): Break out of mark_set_1.
1125         (mark_used_reg): Break out of mark_used_regs.
1126         (mark_used_regs): Recognize COND_EXEC.
1127         (insn_dead_p): Use propagate_block_info struct.
1128         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
1129         (find_auto_inc, try_pre_increment_1): Likewise.
1130         (print_rtl_with_bb): Dump regs live at end too.
1131         (count_reg_sets_1): Pass in loop_depth.
1132         (count_reg_sets, count_reg_references): Likewise.
1133         (recompute_reg_usage): Provide it.
1134
1135 2000-04-07  Richard Henderson  <rth@cygnus.com>
1136
1137         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
1138         not the raw files.
1139
1140 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
1141
1142         * cpplib.c (do_elif): Skip the rest of the line if we're
1143         not going to bother evaluating it.
1144         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
1145         to avoid pointless calls to the lexer.
1146
1147 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
1148
1149         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1150
1151 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
1152
1153         * calls.c (expand_call): emit_queue if we're trying a sibcall.
1154
1155 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
1156
1157         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1158
1159 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
1160
1161         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1162         crtend so they can be multilibbed.
1163         (STAGESTUFF): Remove s-crt and s-crtS.
1164
1165 2000-04-07  Richard Henderson  <rth@cygnus.com>
1166
1167         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1168         if we discover we need a pseudo and no_new_pseudos is true.
1169         * config/alpha/alpha.md (ne:DI insn): New.
1170         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1171
1172 2000-04-07  Richard Henderson  <rth@cygnus.com>
1173
1174         * rtl.def (COND_EXEC): New.
1175         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1176         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1177
1178         * genconfig.c (have_cond_arith_flag): Remove.
1179         (have_cond_exec_flag): New.
1180         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1181         (main): Print HAVE_conditional_execution.
1182
1183         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1184         (sched_analyze_insn, print_pattern): Likewise.
1185         * reload.c (find_equiv_reg): Likewise.
1186         * rtlanal.c (reg_referenced_p): Likewise.
1187         (note_stores, dead_or_set_regno_p): Likewise.
1188         (reg_overlap_mentioned_p): Rewrite to use a switch.
1189
1190         * ggc.h (struct rtx_def): Forward declare.
1191
1192         * print-rtl.c (debug_rtx_range): New.
1193         * rtl.h (debug_rtx_range): Declare.
1194
1195         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1196
1197         * gcse.c (gcse_main): Don't rebuild the CFG here.
1198         (delete_null_pointer_checks): Likewise.
1199         * ssa.c (convert_to_ssa): Likewise.
1200         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1201         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1202         `get_insns()'.  Always split insns after reload when optimizing.
1203
1204         * basic-block.h (merge_blocks_nomove): Declare.
1205         (tidy_fallthru_edge): Declare.
1206         * flow.c (merge_blocks_nomove): Document as merging into previous
1207         blocks.  Remove cruft from between blocks; remove all edges out of A.
1208         (tidy_fallthru_edge): Export.
1209
1210 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1211
1212         * ssa.c (compute_conservative_reg_partition): Declare with
1213         void arguments.
1214         * toplev.c (clean_dump_file): Remove previously-deleted function
1215         inadvertantly merged back in.
1216         * conflict.c (conflict_graph_add): Use a single call to
1217         htab_find_slot to look up and insert.
1218
1219 2000-04-06  Richard Henderson  <rth@cygnus.com>
1220
1221         * genrecog.c (*): Rename _last_insn to last_insn.
1222         (make_insn_sequence): Set the position of the peephole2 C test
1223         to be at the last insn.
1224
1225 2000-04-06  Richard Henderson  <rth@cygnus.com>
1226
1227         * flow.c (compute_flow_dominators): Free worklist.
1228
1229 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1230
1231         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1232
1233 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1234
1235         * rtl.h (INSN_P): New macro.
1236         (successor_phi_fn): New typedef.
1237         (for_each_successor_phi): New prototype.
1238         (in_ssa_form): New variable.
1239         (PHI_NODE_P): Likewise.
1240         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1241         phi nodes in successors.
1242         (mark_used_regs): Add PHI case.
1243         (set_phi_alternative_reg): New function.
1244         (life_analysis): Assert that dead code elimination is not selected
1245         when in SSA form.
1246         * toplev.c (to_ssa_time): New variable.
1247         (from_ssa_time): Likewise.
1248         (compile_file): Zero to_ssa_time and from_ssa_time.
1249         Print time to convert to and from SSA.
1250         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1251         (print_time): Compute percent fraction as integer.
1252         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1253         (convert_to_ssa): Check if we're already in SSA.  
1254         Don't eliminate dead code in life_analysis.
1255         Rerun flow and life analysis at bottom.
1256         (eliminate_phi): Use canonical regnos when adding nodes.
1257         (mark_reg_in_phi): New function.
1258         (mark_phi_and_copy_regs): Likewise.
1259         (convert_from_ssa): Rerun life analysis at top.  
1260         Use coalesced partition.
1261         Check for removing a phi node at the end of the block.
1262         (compute_coalesced_reg_partition): New function.
1263         (coalesce_regs_in_copies): Likewise.
1264         (coalesce_reg_in_phi): Likewise.
1265         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1266         (for_each_successor_phi): Likewise.
1267         (rename_context): New struct.
1268         (rename_block): Use a rename_context with rename_insn_1.  When
1269         renaming sets of a subreg, emit a copy of the entire reg first.
1270         (rename_insn_1): Treat data as a rename_context *.  Save current
1271         insn in set_data.
1272         (rename_set_data): Add field set_insn.
1273         * Makefile.in (HASHTAB_H): Move up in file.
1274         (OBSTACK_H): New macro.
1275         (collect2.o): Use OBSTACK_H in dependencies.
1276         (sdbout.o): Likewise.
1277         (emit-rtl.o): Likewise.
1278         (simplify-rtx.o): Likewise.
1279         (fix-header.o): Likewise.
1280         (OBJS): Add conflict.o.
1281         (conflict.o): New rule.
1282         * basic-block.h: Include partition.h.
1283         (conflict_graph): New typedef.
1284         (conflict_graph_enum_fn): Likewise.
1285         (conflict_graph_new): New prototype.
1286         (conflict_graph_delete): Likewise.
1287         (conflict_graph_add): Likewise.
1288         (conflict_graph_conflict_p): Likewise.
1289         (conflict_graph_enum): Likewise.
1290         (conflict_graph_merge_regs): Likewise.
1291         (conflict_graph_print): Likewise.
1292         (conflict_graph_compute): Likewise.
1293         * conflict.c: New file.
1294
1295 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1296
1297         * tlink.c (read_repo_files): Don't look for .rpo info for
1298         linker flags.
1299
1300 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1301
1302         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1303
1304 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1305
1306         * config/sh/lib1funcs.asm (___udivsi3_i4):
1307         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1308         only depends on FMOVD_WORKS.
1309
1310 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1311
1312         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1313         make double constant 8-byte aligned.
1314
1315 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1316
1317         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1318         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1319         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1320         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1321         Accept storing GENERAL_REGS into offsetable memory.
1322         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1323         building a TFmode constant other than 0.0L into GENERAL_REGS.
1324
1325 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1326
1327         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1328         
1329 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1330
1331         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1332         (macro_cleanup): No need to cast pbuf->macro.
1333         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1334         it returns VSPACE.  Remove check for trailing space after
1335         CPP_COMMENT.
1336         (_cpp_create_definition): Don't diddle flags here.  Return
1337         directly on error.
1338         (unsafe_chars): Handle c1 being EOF.
1339         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1340         checks.  Don't push the buffer till after we're done with
1341         them.
1342         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1343         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1344         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1345         appropriately.
1346         (_cpp_parse_assertion): Don't NUL terminate.
1347         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1348         hspace before calling _cpp_parse_assertion.  Remove all sets
1349         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1350         special with '\n' here.
1351         (maybe_macroexpand): Handle T_EMPTY hash entries without
1352         pushing a buffer at all.
1353         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1354         incrementing the line number here.  Clear
1355         potential_control_macro as well as only_seen_white, if
1356         appropriate.
1357         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1358         (_cpp_get_define_token): New function, basically like
1359         _cpp_get_directive_token was but doesn't eat horizontal space.
1360         Don't do anything with only_seen_white here.
1361         (_cpp_get_directive_token): Just call _cpp_get_define_token
1362         repeatedly till it returns non-hspace.
1363
1364         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1365         (conditional_skip, skip_if_group): Return int.
1366         (DIRECTIVE_TABLE): Change origin of all conditional directives
1367         to "COND".
1368         (TRAD_DIRECT_P): New macro.
1369         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1370         an error for a bogus directive, unless -lang-asm.  Use
1371         TRAD_DIRECT_P. Loop calling handler functions till one returns
1372         zero.
1373         (get_macro_name): Don't diddle flags here.
1374         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1375         Create T_EMPTY nodes for #define macro /* nothing */.
1376         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1377         Use hp->name when calling pass_thru_directive.
1378         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1379         Return the result of conditional_skip and/or skip_if_group.
1380         Don't call _cpp_output_line_command.
1381         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1382         Issue -Wtraditional warnings as appropriate.  Don't complain
1383         about unrecognized directives.  If we are to stop skipping,
1384         return the number of the directive that ended the skip.
1385         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1386         expansion and line commands while skipping.  Return the result
1387         of consider_directive_while_skipping, if nonzero.
1388         (do_endif): Just set potential_control_macro here.
1389         (validate_else): Use _cpp_get_directive_token.
1390         (do_assert, do_unassert): Don't save pointers into the
1391         token_buffer across calls to the lexer.  Use
1392         _cpp_get_directive_token.  
1393
1394         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1395         pointer, not an offset.  Replace 'data', which was a generic
1396         pointer, with 'macro', which points to a struct hashnode.
1397         (cpp_reader): Add 'potential_control_macro' pointer.
1398         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1399         (CPP_BUF_GET, CPP_FORWARD): Delete.
1400         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1401         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1402         ACTIVE_MARK_P): Update.
1403         (_cpp_get_define_token): New internal function.
1404         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1405
1406 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1407
1408         * configure.in: And here.
1409         * configure: Regenerate.
1410         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1411         --enable-libstdcxx-v3 is passed at configure time.
1412         * config.h.in: Regenerate.
1413
1414 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1415
1416         * final.c (final): Use xcalloc to allocate line_note_exists.
1417         * function.c (free_after_compilation): Free the temp_slots.
1418         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1419         (combine_temp_slot): Free temp_slots when they get combined.
1420         (purge_addressof): Fix typo in comment.
1421         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1422         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1423
1424         * ggc.h: Include varray.h.
1425         (ggc_pending_trees): Declare.
1426         (ggc_mark_tree_children): Remove declaration.
1427         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1428         * ggc-common.c (ggc_pending_trees): New variable.
1429         (ggc_mark_roots): Call ggc_mark_trees.
1430         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1431         the ggc_pending_trees.
1432         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1433         of ggc.h.
1434         
1435 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1436
1437         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1438         GET_MODE_SIZE.
1439
1440 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1441
1442         * sh.c (sh_insn_length_adjustment): New function.
1443         * sh-protos.h (sh_insn_length_adjustment): Declare.
1444         * sh.h (ADJUST_INSN_LENGTH): Use it.
1445
1446 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1447
1448         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1449         from the insn where REG_RETVAL is added.
1450         (emit_no_conflict_block): Ditto.
1451
1452         * md.texi (Standard Names): Clarify when movX is needed.
1453
1454         * combine.c (simplify_comparison) [MINUS]: Do not replace
1455         all (op (minus A B) 0) with (op A B).
1456
1457 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1458                           J"orn Rennecke <amylaar@cygnus.co.uk>
1459
1460         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1461         (block_lump_real): Likewise.
1462
1463 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1464
1465         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1466         remaining non-zero debugging masks.
1467
1468 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1469
1470         * basic-block.h (verify_flow_info): Declare.
1471         (flow_loop_outside_edge_p): Declare.
1472         * flow.c (verify_flow_info): Remove declaration.
1473         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1474
1475 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1476
1477         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1478         not C++ comments.
1479
1480 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1481
1482         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1483         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1484         seqdi_zero_trunc+1): Allow splits only if registers are
1485         different.
1486
1487 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1488
1489         * acconfig.h: Add HAVE_GAS_HIDDEN.
1490         * config.in: Regenerated.
1491         * configure.in: Add test for .hidden pseudo-op in gas.
1492         * configure: Regenerated.
1493         * crtstuff.c: Include auto-host.h.
1494         Emit additional .hidden pseudo-op for __dso_handle if the
1495         assembler knows about it.
1496
1497 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1498
1499         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1500         before freeing argnames.
1501         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1502
1503 2000-04-05  Michael Meissner  <meissner@redhat.com>
1504
1505         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1506         Walton <jonboy@gordian.com> to make memory references with update
1507         work wtih -mregnames.
1508
1509 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1510
1511         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1512         (regrename_optimize): Rename variables `def_uses' and
1513         `ext_basic_blocks' to avoid conflicts with similarly named
1514         typedefs in traditional C.
1515
1516         * calls.c (initialize_argument_information): Fix typo in previous
1517         change.
1518
1519 2000-04-04  Richard Henderson  <rth@cygnus.com>
1520
1521         * regrename.c (consider_available): Test fixed_regs not
1522         PIC_OFFSET_TABLE_REGNUM.
1523
1524 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1525
1526         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1527         crtend.
1528         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1529         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1530         (ENDFILE_LINUX_SPEC): Always use crtend.
1531         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1532         (powerpc-*-linux-gnu): Likewise.
1533         * configure: Regenerate.
1534
1535         * config/rs6000/eabi.h: Don't include sysv4.h.
1536         (MULTILIB_DEFAULTS): Don't define.
1537         * config/rs6000/eabiaix.h: Don't include eabi.h.
1538         * config/rs6000/eabile.h: Delete.
1539         * config/rs6000/eabilesim.h: Delete.
1540         * config/rs6000/eabisim.h: Don't include eabi.h.
1541         * config/rs6000/linux.h: Don't include sysv4.h.
1542         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1543         (MULTILIB_DEFAULTS): Don't redefine.
1544         * config/rs6000/rtems.h: Don't include eabi.h.
1545         * config/rs6000/sol2.h: Don't include sysv4le.h.
1546         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1547         * config/rs6000/t-ppc: Delete.
1548         * config/rs6000/t-ppcgas: Correct comment.
1549         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1550         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1551         as default.
1552         * config/rs6000/t-ppc: Delete.
1553         * config/rs6000/vxppc.h: Don't include sysv4.h.
1554         * config/rs6000/vxppcle.h: Delete.
1555         * configure.in: Use multiple header files for p2pc ELF targets
1556         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1557         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1558         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1559         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1560         always available for these platforms.
1561
1562 2000-04-04  Richard Henderson  <rth@cygnus.com>
1563
1564         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1565
1566 2000-04-04  Stan Cox  <scox@cygnus.com> 
1567
1568         * Makefile.in: Add rules for regrename.o
1569         * regrename.c: New file.
1570         * rtl.h (regrename_optimize): Add prototype.
1571         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1572         (compile_file, decode_d_option): Add support for -frename-registers.
1573         (rest_of_compilation): Call regrename_optimize.
1574         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1575         New macros.     
1576         
1577 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1578
1579         * Makefile (gccbug): New target.
1580         (doc): Depend on it.
1581         * gcc.texi (Bugs): Link subnodes.
1582         (gccbug): New node.
1583         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1584         Document severities, priorities, and classes in bug form.
1585
1586 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1587
1588         * cpplex.c (trigraph_map, speccase): Combine into single
1589         table, chartab.
1590         (NORMAL, NONTRI): New macros.
1591         (_cpp_read_and_prescan): Change to use unified table.  Use
1592         is_hspace to test for whitespace.
1593
1594         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1595         definition that doesn't provoke the "empty body in an
1596         if-statement" warning.
1597
1598 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1599
1600         * builtins.c (expand_builtin_strlen): Force the source to
1601         be a memory address.
1602
1603 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1604
1605         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1606
1607 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1608
1609         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1610          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1611         (ECF_IS_CONST): Rename to ECF_CONST.
1612         (special_function_p): Make static, change interface.
1613         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1614         (expand_call) ... here; convert number of variables to flags.
1615         (emit_library_call_vlue_1): Likewise.
1616         (setjmp_call_p): New function.
1617         (initialize_argument_information): Accepts flags as argument;
1618         return flags.
1619         (precompute_arguments): Likewise.
1620         * tree.h (special_function_p): Remove.
1621         (setjmp_call_p): Add prototype.
1622
1623 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1624
1625         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1626         so that addresses are offsetable by up to 16 bytes.
1627         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1628         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1629         offsetable.
1630
1631         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1632         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1633         (movsf): Don't force any constant to memory if target is integer
1634         hard register.
1635         Move fp_zero_operand check below the const0_rtx check.
1636         (movtf): Likewise. Also allow fp_zero_operand for stores into
1637         memory.
1638         (movdf): Likewise. Also allow fp_zero_operand for stores into
1639         memory and into integer hard registers.
1640         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1641         movdf_const_intreg_sp64): Remove.
1642         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1643         conditions.
1644         (movdf_no_e_insn_v9_sp32): New pattern.
1645         (movdf_insn_v9only): Remove.
1646         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1647         (movdf_insn_sp64): Remove.
1648         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1649         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1650         (following splits): Rewrite conditions. Add two new splits
1651         for storing 0.0 into memory and registers.
1652         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1653         (movtf_insn_sp32): Redo constraints and conditions.
1654         (movtf_insn_vis_sp32): New pattern.
1655         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1656         (movtf_insn_hq_sp64): Likewise.
1657         (movtf_insn_hq_vis_sp64): New pattern.
1658         (movtf_insn_sp64): Redo constraints and conditions.
1659         (movtf_insn_vis_sp64): New pattern.
1660         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1661         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1662         or memory.
1663         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1664         -mvis or -m64 to take down the number of various reload patterns.
1665
1666 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1667
1668         * pa/pa-64.h: New file.
1669         * pa/pa64-regs.h: New file.
1670         * pa/pa64-start.h: New file.
1671         * pa/t-pa64: New file.
1672         * pa/xm-pa64hpux.h: New file.
1673
1674 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1675
1676         * sparc.c (output_restore_regs): Prototype.
1677         (sparc_emit_float_lib_cmp): Constification.
1678
1679         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1680
1681         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1682         Prototype.
1683
1684         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1685         (get_value_hash, hash_rtx): Likewise.
1686
1687         * ssa.c (compute_conservative_reg_partition): Prototype.
1688
1689         * tree.c (mark_hash_entry): Prototype.
1690
1691 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1692
1693         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1694         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1695         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1696
1697         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1698         * objc/lang-specs.h: Likewise.
1699
1700 2000-04-03  Neil Booth  <NeilB@earthling.net>
1701
1702         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1703         and SYNTAX_ERROR2. Replace `' in messages with ''.
1704         (op_to_str): Make re-entrant.
1705         (_cpp_parse_expr): Implement new error macros. Use | rather
1706         than || to logically or 2 boolean integers.  Simply expression
1707         checking we have a left operand iff needed.
1708
1709 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1710
1711         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1712
1713 2000-04-03  Philip Blundell  <philb@gnu.org>
1714
1715         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1716
1717 2000-04-03  Felix Lee  <flee@cygnus.com>
1718
1719         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1720         (run_shell): Use it. 
1721
1722 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1723
1724         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1725         (stmp-fixproto): ...rather than here.
1726
1727 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1728
1729         * pa.c (print_operand): Compute 'base' only inside the code paths
1730         that use it.
1731
1732 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1733
1734         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1735         CEIL_DIV_EXPR.
1736
1737 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1738
1739         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1740
1741 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1742
1743         * Makefile.in (alias.o): Depend on $(TREE_H).
1744
1745 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1746
1747         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1748         processing C++.
1749         * cpplib.c (_cpp_handle_directive): Improve warnings for
1750         traditional C and indented directives.
1751
1752         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1753         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1754         fixinc/inclhack.def: Indent the # of #include_next one space.
1755         * cp/rtti.c: Un-indent #if and #endif.
1756
1757         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1758         syntax error, but an error has already been printed.
1759         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1760         message when called with nothing remaining on the line.
1761         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1762         OTHER token, not an ASSERTION.
1763         * cpplib.c (do_assert): When we create a 'base' node, clear
1764         its aschain pointer.
1765
1766 2000-04-02  Neil Booth <NeilB@earthling.net>
1767
1768         * cppexp.c:  New typedef op_t.  struct operation and struct 
1769         token updated to use it.
1770         (op_to_str): New function.
1771         (_cpp_parse_expr): Error messages modified to use op_to_str.
1772
1773 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1774
1775         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1776         before checking MUST_PASS_IN_STACK.
1777
1778 2000-04-02  Neil Booth <NeilB@earthling.net>
1779
1780         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1781         flags and initial priority into a single constant.  New
1782         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1783         (_parse_cpp_expr): Implement new constants.  Take left operand
1784         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1785         parse indicated by reducing FINISHED token.  Remove new lines
1786         from cpp_error messages.
1787
1788 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1789
1790         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1791         permanent obstack.
1792
1793 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1794
1795         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1796         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1797         the strings and function names on the fly.  Take the #sccs
1798         entry out of the table if SCCS_DIRECTIVE is not defined.
1799         (_cpp_handle_directive): Decide if the # was at the beginning
1800         of the line here.  Issue -pedantic warnings for extended
1801         directives here.  Warn about K+R directives with the #
1802         indented, and C89/extended directives with the # not indented,
1803         here.
1804         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1805         do_assert, do_unassert): Don't issue pedantic warning here.
1806
1807         * cpphash.h: Add CPP_WTRADITIONAL macro.
1808         * cpplib.h (struct cpp_options): Rename warn_stringify to
1809         warn_traditional; update comments.
1810         * cppinit.c (handle_option): Set warn_traditional not
1811         warn_stringify.
1812         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1813         CPP_WTRADITIONAL (pfile).
1814         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1815         be ignored in -traditional mode here.
1816
1817         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1818         to initialize speccase[] and trigraph_map[].  Delete all
1819         references to pfile->input_speccase.  Always treat '?' as a
1820         special character.  Remove table-initialization code from
1821         _cpp_init_input_buffer.
1822
1823         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1824         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1825
1826 2000-04-01  Richard Henderson  <rth@cygnus.com>
1827
1828         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1829         (mostlyclean): Likewise.
1830
1831         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1832         (struct dump_file_info, enum dump_file_index, dump_file): New.
1833         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1834         not a string.  Clean out file if we havn't yet done so.  Do nothing
1835         if the dump isn't enabled.
1836         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1837         graph data if requested.
1838         (dump_rtl, clean_dump_file): Remove.
1839         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1840         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1841         .combine dump if optimizing.  Iterate over dump_file to finalize the
1842         graph dumps.
1843         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1844         Convert all uses of dump_rtl.
1845         (decode_d_option): Iterate over dump_file to implement 'a' and to
1846         locate pass-specific dumps.
1847
1848 2000-04-01  Neil Booth <NeilB@earthling.net>
1849
1850         * cppexp.c: Redefine priority constants.
1851         (_cpp_parse_expr): Replace left and right priority scheme with
1852         single priority logic.  Move LOGICAL to same place as COMPARE.
1853         Remove bogus check for multiple unary +/- operators.
1854
1855 2000-04-01  Neil Booth <NeilB@earthling.net>
1856
1857         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1858         within the switch statement.  Binary operations break out of
1859         the switch naturally.  '(' tokens handled by forcing
1860         immediate shift.  ')' handled by forcing immediate reduce to
1861         the previous '('.  New error messages.
1862         
1863 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1864
1865         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1866         part', it's already in use.  Use %K instead.  Add a return at the
1867         end of what is now %K.
1868         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1869
1870 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1871
1872         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1873         allocate_dynamic_stack_space.
1874         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1875         update stack_pointer_delta; do not update arg_size_so_far.
1876         (compute_argument_block_size): Use stack_delta instead of
1877         stack_pointer_pending and arg_size_so_far.
1878         (expand_call): Add sanity checking for stack_pointer_delta;
1879         save and restore stack_pointer_delta for SIB, use
1880         stack_pointer_delta for alignment; do not update arg_space_so_far.
1881         (emit_library_call_value): Use stack_pointer_delta for alignment.
1882         (store_one_arg): Do not update arg_space_so_far.
1883         * explow.c (adjust_stack, anti_adjust_stack): Update
1884         stack_pointer_delta.
1885         (allocate_dynamic_stack_space): Add sanity checking for
1886         stack_pointer_delta.
1887         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1888         stack_pointer_delta.
1889         (emit_push_insn): Update stack_pointer_delta.
1890         * function.h (struct expr_status): Add x_stack_pointer_delta;
1891         remove x_arg_space_so_far.
1892         (arg_space_so_far): Remove.
1893         (stack_pointer_delta): New macro.
1894
1895 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1896
1897         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1898         Reorder struct cpp_options and struct cpp_reader for better 
1899         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1900         takes two args.  Change all 'char' flags to 'unsigned char'.
1901         Move show_column flag into struct cpp_options.  Don't
1902         prototype cpp_options_init.
1903         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1904         cppinit.c, cpplex.c, cpplib.c:
1905         Replace CPP_OPTIONS (pfile)->whatever with
1906         CPP_OPTION (pfile, whatever), and likewise for
1907         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1908
1909         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1910         Extract CPP_OPTION (pfile, pending) and work with that
1911         directly.
1912         (cpp_options_init): Delete.
1913         (cpp_reader_init): Turn on on-by-default options here.
1914         Allocate the pending structure here.              
1915         (cl_options, enum opt_code): Define these from the same table,
1916         kept in a large macro.  Add -fshow-column and -fno-show-column
1917         options.
1918
1919         * cpperror.c (v_message): If show_column is off, don't print
1920         the column number.
1921
1922         * cppmain.c: Update for new interface.
1923         * fix-header.c: Likewise.
1924
1925 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1926
1927         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1928         definition.
1929         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1930         are passed to any invocation of AR_FOR_TARGET.
1931         (AR_CREATE_FOR_TARGET): New macro.
1932         (AR_EXTRACT_FOR_TARGET): New macro.
1933         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1934         AR_EXTRACT_FOR_TARGET.
1935         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1936         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1937         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1938         AR_EXTRACT_FOR_TARGET to sub-makes.
1939
1940 2000-03-31  Neil Booth <NeilB@earthling.net>
1941
1942         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1943         PAREN_INNER_PRIO.
1944         (_cpp_parse_expr): Check for multiple unary +/- operators.
1945         Correct priorities of ':' and '?'.  Treat ')' as having a
1946         value.  Ensure conditional expression is not void.
1947         
1948 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1949
1950         * alias.c (canon_rtx): Make it global.
1951         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1952         equality.
1953         * cse.c (struct table_elt): Add canon_exp.
1954         (insert): Clear it.
1955         (invalidate): Canonicalize expressions only once.
1956         * rtl.h (canon_rtx): Declare.
1957
1958 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1959
1960         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1961         * alias.c (reg_known_value): Add comments.
1962         (init_alias_analysis): Likewise.
1963         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1964         address.
1965         (cse_basic_block): Fix typo in comment.
1966         * emit-rtl.c: Include hashtab.h.
1967         (const_int_htab): New variable.
1968         (const_int_htab_hash): New function.
1969         (const_int_htab_eq): Likewise.
1970         (rtx_htab_mark_1): Likewise.
1971         (rtx_htab_mark): Likewise.
1972         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1973         (unshare_all_rtx): Fix formatting.
1974         (init_emit_once): Initialize const_int_htab.
1975         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1976         address.
1977         * rtl.texi: Document the fact that all CONST_INTs with the same
1978         value are shared.
1979
1980 2000-03-30  Richard Henderson  <rth@cygnus.com>
1981
1982         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1983
1984 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1985
1986         * configure.in: Comment out --enable-c-cpplib stanza.
1987         * configure: Regenerate.
1988
1989 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1990
1991         * expr.c (store_constructor): Properly compute displacement and
1992         alignment when offset is variable.
1993
1994         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1995         cases of alignment in bytes.
1996
1997 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1998
1999         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2000         since it is used to generate c-parse.y.
2001         * objc-parse.c, objc-parse.y: Regenerated.
2002
2003         * function.c (expand_function_end): Pass alignment argument to
2004         emit_block_move in bits, not bytes.
2005
2006 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2007
2008         * expr.c (move_by_pieces_ninsns): Fix one more missing align
2009         correction.
2010
2011         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2012
2013         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2014         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2015         * function.c (assign_parms): Likewise.
2016         * integrate.c (expand_inline_function): Likewise.
2017         * stmt.c (expand_decl): Likewise.
2018         (copy_rtx_and_substitute): Likewise.
2019         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2020         (clear_by_pieces): Fix error in last change.
2021         * emit-rtl.c (init_emit): Set known registers alignment in bits.
2022         * function.h (regno_pointer_align): Now unsigned.
2023         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2024         is in bits.
2025         * config/i386/i386.c (aligned_operand): Likewise.
2026         * config/sparc/sparc.c (mem_min_alignment): Likewise.
2027         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2028         (unaligned_memory_operand): Likewise.
2029         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2030         Also make alignments and sizes unsigned and some whitespace cleanup.
2031         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2032
2033         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2034         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2035         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2036         (expand_builtin_memset): Likewise, but to clear_storage.
2037         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2038         (restore_fixed_argument_area): Likewise.
2039         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2040         (load_register_parameters): Likewise, to emit_group_load.
2041         (expand_call): Likewise, to emit_group_store and emit_block_move.
2042         (emit_library_call_value_1): Likewise, to emit_block_move.
2043         (store_one_arg): Likewise, and to emit_push_insn.
2044         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2045         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2046         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2047         (emit_block_move, emit_group_load, emit_group_store): Likewise.
2048         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2049         (expand_assigment, store_expr, store_constructor_field): Likewise.
2050         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2051         (store_constructor, store_field, get_inner_reference): Likewise.
2052         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2053         (expand_expr, case COMPONENT_REF): Likewise.
2054         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2055         and positions; reindent code.
2056         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2057         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2058         (assign_parms): Likewise to emit_group_store.
2059         * optabs.c (prepare_cmp_insn): Alignment is in bits.
2060         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2061         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2062         (expand_return): Likewise to {extract,store}_bit_field.
2063         * stor-layout.c (get_mode_alignment): Minor cleanup.
2064         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2065         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2066         
2067 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2068
2069         * config/arm/arm.h: Undo effects of previous delta:
2070         (ASM_SPEC): Do not define.
2071         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2072
2073         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2074         typo. 
2075
2076 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2077
2078         * cppinit.c (cpp_start_read): Call initialize_dependency_output
2079         only after reading in the primary source file.
2080
2081 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
2082
2083         * c-common.c (c_common_nodes_and_builtins): The first parameter to
2084         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2085         or a reference to a va_list.
2086         * builtins.c (stabilize_va_list): Simplify now we don't have to
2087         work around C array address decay.
2088         * c-typeck.c (convert_for_assignment): Handle assignment to
2089         a reference parameter by taking the address of the RHS.
2090         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2091         (va_copy): Likewise.
2092         (__va_copy): Likewise.
2093         * ginclude/varargs.h (va_start): Likewise.
2094         (__va_copy): Likewise.
2095
2096 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
2097
2098         * i386/djgpp.h: Remove extraneous "+".
2099
2100         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2101
2102         * calls.c (expand_call): Fix typo in last change.
2103
2104 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
2105
2106         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2107         been expanded.
2108
2109 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2110
2111         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2112         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2113         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2114         * tree.c (bit_position, byte_position): Likewise.
2115         * tree.h: Declare new functions.
2116
2117 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2118
2119         * config/arm/arm.c: Minor formatting changes/
2120         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2121         already defined.
2122         (ASM_SPEC): Define if not already defined.
2123
2124 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2125
2126         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
2127         _cpp_calc_hash.
2128
2129 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
2130
2131         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
2132         value, don't output it as unsigned.
2133
2134 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
2135
2136         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
2137
2138 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2139
2140         * c-common.c (c_common_nodes_and_builtins): Don't special case
2141         cplus_mode when declaring builtin bzero/bcmp, always avoid
2142         prototype arguments.
2143
2144 2000-03-29  Bruce Korb  <bkorb@gnu.org>
2145
2146         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
2147         to a non-file
2148
2149 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2150
2151         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2152         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2153         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2154         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2155         (save_fixed_argument_area, restore_fixed_argument_area):
2156         conditionize by #ifdef REG_PARM_STACK_SPACE only.
2157         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2158         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2159         (precompute_register_parameters): Avoid #ifdefs on
2160         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2161         (stire_one_args): Likewise.
2162         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2163         (emit_library_call_value_1): Likewise.
2164         (compute_argument_block_size): Align to STACK_BOUNDARY only for
2165         ACCUMULATE_OUTGOING_ARGS.
2166         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2167         value.
2168         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2169         (use_crosses_set_p): Likewise.
2170         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2171         #define ACCUMULATE_OUTGOING_ARGS 1.
2172         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2173         frames.
2174         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2175         constants.
2176         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2177         (TARGET_SWITCHES): Add push-args, no-push-args,
2178         accumulate-outgoing-args and no-accumulate-outgoing-args.
2179         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2180         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2181         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2182         and PUSH_ROUNDING.
2183         (emit_push_insn): Likewise.
2184         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2185         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2186         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2187         (STACK_DYNAMIC_OFFSET): Define correctly for both
2188         ACCUMULATE_OUTGOING_ARGS and normal mode.
2189         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2190         * tm.texi (PUSH_ARGS): Document.
2191         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2192
2193 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2194
2195         * flags.h (flag_optimize_sibling_calls): Declare.
2196         * calls.c (expand_call): Fail sibcall when
2197         !flag_optimize_sibling_calls
2198         * invoke.texi (flag_optimize_sibling_calls): Document.
2199         * toplev.c (flag_optimize_sibling_calls): New global variable.
2200         (f_options): Add flag_optimize_sibling_calls.
2201         (rest_of_compilation): Conditionize
2202         optimize_sibling_and_tail_recursive_calls by
2203         flag_optimize_sibling_calls.
2204         (main): Set flag_optimize_sibling_calls for -O2.
2205         * stmt.c (expand_return): Conditionize tail recursion by
2206         flag_optimize_sibling_calls.
2207
2208 2000-03-29  Richard Henderson  <rth@cygnus.com>
2209
2210         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2211         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2212
2213 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2214
2215         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2216
2217 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2218
2219         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2220         is given.
2221         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2222         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2223         * config/rs6000/aix.h: then modified likewise.
2224
2225 2000-03-28  Richard Henderson  <rth@cygnus.com>
2226
2227         * rtl.h: Redistribute enum reg_note documentation. 
2228         Kill trailing whitespace.
2229         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2230         Kill trailing whitespace.
2231
2232 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2233
2234         * cppfiles.c (hash_IHASH): Just return i->hash.
2235         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2236         htab_find_with_hash.
2237         (cpp_read_file): Likewise.
2238         (find_include_file): Likewise.  Properly initialize
2239         ih->nshort.  Share ih->name and ih->nshort if possible.
2240         * cpphash.c (_cpp_calc_hash): New function.
2241         (hash_HASHNODE): Just return h->hash.
2242         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2243         htab_find_with_hash.
2244         * cpphash.h: Prototype _cpp_calc_hash.
2245         * cppinit.c (initialize_builtins): Provide a valid hash
2246         to _cpp_make_hashnode, using _cpp_calc_hash.
2247
2248         * cpphash.c (collect_expansion): # is not a special character
2249         in object-like macros.  In -traditional mode, /**/ is not
2250         token paste at the beginning or end of the line.
2251         * cpplib.c (do_include, do_import, do_include_next): If
2252         parse_include fails, return immediately.
2253
2254 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2255
2256         * config/arm/arm.md (return peepholes): Update to reflect the new
2257         call insn patterns.
2258         * config/arm/arm.c (arm_volatile_func): Also check
2259         current_function_nothrow.
2260         (output_return_instruction, output_func_prologue): Use it.
2261         (arm_output_epilogue, arm_expand_prologue): Likewise.
2262
2263 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2264
2265         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2266         switch is found.
2267
2268 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2269
2270         * expr.c (store_constructor): SIZE now signed.
2271         For EXPR_SIZE, don't evaluate size; just needed if constant.
2272         * fold-const.c (fold): Fix a number of cases when folded tree is
2273         wrong type.
2274         * function.c (flush_addressof): Reenable.
2275         * tree.h (flush_addressof): Likewise.
2276         * toplev.c (independent_decode_option): Look at strings_processed.
2277         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2278
2279 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2280
2281         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2282         Allow stack adjustment after function call.
2283
2284         * regmove.c (struct csa_memlist): Make mem field rtx *.
2285         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2286         (try_apply_stack_adjustment): Replace whole MEM rtx.
2287         (combine_stack_adjustments_for_block): Update calls
2288         to record_one_stack_ref.
2289
2290 2000-03-28  Neil Booth  <NeilB@earthling.net>
2291
2292         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2293         '\\' rather than a null character, so nulls are not special.  Fix
2294         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2295         speed trigraph conversion.
2296         (_cpp_init_input_buffer): Initialize trigraph map.
2297
2298 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2299
2300         * config/i386/i386.c (output_387_binary_op): Correct intel
2301         mode assembly output, and add spaces after commas in AT&T
2302         output.  Correct Unixware assembler comment.  Document input
2303         constraints.  Comment fp operations.  Reduce profligate buffer
2304         size.  Remove extraneous abort.  Localize temp var.
2305         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2306         (output_fix_trunc): Add spaces after commas in assembly output.
2307
2308 2000-03-27  Richard Henderson  <rth@cygnus.com>
2309
2310         * i386-protos.h (ix86_match_ccmode): Declare.
2311         * i386.c (ix86_match_ccmode): New.
2312         (ix86_expand_fp_compare): Update for pattern renames.
2313         (ix86_expand_strlensi_unroll_1): Likewise.
2314         * i386.h (EXTRA_CC_MODES): Add CCZ.
2315         (SELECT_CC_MODE): Use it for EQ/NE zero.
2316         * i386.md (cmpsi_ccz_1): New.
2317         (cmpqi_ccz_1): New.
2318         (*testsi_ccz_1): New.
2319         (testqi_ccz_1): New.
2320         (cmpsi_ccno_1): Rename from cmpsi_0.
2321         (testsi_ccno_1): Rename from testsi_1.
2322         (testqi_ccno_1): Rename from testqi_1.
2323         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2324         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2325         (*cmphi_0): Use ix86_match_ccmode.
2326         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2327         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2328         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2329         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2330         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2331         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2332         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2333         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2334         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2335         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2336         (appropriate peepholes): Likewise.
2337         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2338         (*subsi_3, *subhi_3, *subqi_3): Remove.
2339         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2340         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2341         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2342         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2343         (x86_shift_adj_1): Use CCZ.
2344         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2345
2346 2000-03-27  Stan Cox  <scox@cygnus.com> 
2347
2348         * resource.h (mark_resource_type): New.
2349         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2350         find_free_register): Use mark_resource_type.
2351         (mark_set_resources): Change include_delayed_effects
2352         to mark_resource_type.
2353         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2354         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2355         Use mark_resource_type.
2356         
2357 2000-03-27  Richard Henderson  <rth@cygnus.com>
2358
2359         * i386.md (call_pop_0, call_value_pop_0): New.
2360         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2361         (call_value_pop_1): Likewise.
2362         (call_0, call_value_0): New.
2363         (call_1, call_value_1): Remove constraint from unused arg.
2364
2365 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2366
2367         * invoke.texi (Spec Files): Document new spec % command created by
2368         Tom Tromey's recent patch.
2369
2370 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2371
2372         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2373         if not defined.
2374
2375 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2376
2377         * expr.c (expand_assignment): Fix typo in last change.
2378
2379         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2380
2381 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2382
2383         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2384         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2385         and DECL_INLINE if FUNCTION_DECL.
2386         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2387         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2388         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2389         (combine_parm_decls): Likewise.
2390         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2391         * print-tree.c (print_node): Likewise.
2392         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2393         DECL_TRANSPARENT_UNION on proper decl types.
2394         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2395         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2396         DECL_BIT_FIELD of FIELD_DECL.
2397         * tree.h (DECL_RESULT_FLD): New macro.
2398         
2399         * expr.c (expand_assignment): Add code to handle variable-sized
2400         BLKmode case.
2401
2402 2000-03-26  Richard Henderson  <rth@cygnus.com>
2403
2404         * calls.c (expand_call): Pass parms not original exp to
2405         optimize_tail_recursion.  Mind return value instead of looking
2406         for a barrier.
2407         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2408         call_expr.  Move checks for call_expr and current_function_decl ...
2409         (expand_return): ... here.
2410
2411 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2412
2413         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2414         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2415         defines.
2416         (process_command): Use them.
2417         (check_live_switch): Likewise.
2418         (give_switch): Skip ignored switches.
2419
2420 2000-03-26  Jan Hubicka  <jh@suse.cz>
2421
2422         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2423         for minimal jump pass test.
2424
2425 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2426
2427         * integrate.c (function_cannot_inline_p): Do inline functions that
2428         return `void'.
2429
2430 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2431
2432         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2433         now a list of TREE_LIST entries, not types.
2434         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2435
2436         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2437         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2438         int_bit_position.
2439         * config/mips/mips.c (function_arg): Likewise; also remove cast
2440         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2441         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2442         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2443         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2444         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2445         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2446         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2447         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2448         num_adjusts now unsigned.
2449         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2450         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2451         NREGS now unsigned.
2452         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2453         as is BITPOS variable; use host_integerp and int_bit_position.
2454         (function_arg_record_value_2): Likewise.
2455         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2456         Variable REGNO now unsigned.
2457         (function_arg_record_value): NREGS now unsigned.
2458
2459 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2460
2461         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2462
2463 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2464
2465         * Rework fields used to describe positions of bitfields and
2466         modify sizes to be unsigned and use HOST_WIDE_INT.
2467         * alias.c (reg_known_value_size): Now unsigned.
2468         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2469         (really_start_incremental_init): Use bitsize_zero_node.
2470         (push_init_level, pop_init_level, output_init_element): Likewise.
2471         Use bitsize_unit_node and bitsize_one_node.
2472         (output_pending_init_elements, process_init_element): Likewise.
2473         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2474         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2475         HOST_WIDE_INT, respectively.
2476         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2477         (num_sign_bit_copies): Returns unsigned.
2478         BITWIDTH now unsigned; rework arithmetic.
2479         Remove recursive call from arg to MAX.
2480         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2481         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2482         REGNO now unsigned.
2483         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2484         (find_split_point, expand_compound_operation, make_extraction): LEN
2485         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2486         (make_field_assignment): Likewise.
2487         (combine_simplify_rtx): Add cast.
2488         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2489         (force_to_mode): WIDTH now unsigned; add cast.
2490         (if_then_else_cond): SIZE now unsigned.
2491         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2492         (extended_count): Now returns unsigned.
2493         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2494         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2495         (simplify_comparison): MODE_WIDTH now unsigned.
2496         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2497         (mark_used_regs_combine): Likewise; rework arithmetic.
2498         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2499         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2500         (record_promoted_value): REGNO now unsigned.
2501         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2502         (get_last_value): REGNO now unsigned.
2503         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2504         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2505         (remove_death): Arg REGNO now unsigned.
2506         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2507         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2508         now unsigned.
2509         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2510         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2511         (struct cse_reg_info): REGNO now unsigned.
2512         (cached_regno): Now unsigned.
2513         (REGNO_QTY_VALID_P): Add cast.
2514         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2515         (remove_invalid_regs): Likewise.
2516         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2517         as are variables END and I.
2518         (get_cse_reg_info, insert): Likewise.
2519         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2520         (canon_hash): Likewise.
2521         (insert_regs, lookup_for_remove): REGNO now unsigned.
2522         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2523         New variable RN.
2524         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2525         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2526         * emit-rtl.c (subreg_realpart_p): Add cast.
2527         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2528         (operand_subword_force): Arg I is now unsigned.
2529         * except.c (eh_regs): Variable I is now unsigned.
2530         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2531         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2532         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2533         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2534         (extract_split_bit_field, store_bit_field, extract_bit_field):
2535         Likewise.
2536         * expr.c (store_constructor_fields, store_constructor, store_field):
2537         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2538         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2539         (do_jump): Likewise.
2540         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2541         MAX_SIZE is now unsigned.
2542         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2543         (emit_group_store): Likewise.
2544         (emit_move_insn): I now unsigned.
2545         (store_constructor): Use host_integerp, tree_low_cst, and
2546         bitsize_unit_node.
2547         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2548         Rework all calculations to use trees and new fields.
2549         * expr.h (promoted_input_arg): Regno now unsigned.
2550         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2551         (mark_seen_cases): Arg is HOST_WIDE_INT.
2552         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2553         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2554         precisions and alignments are unsigned.
2555         (optimize_bit_field_compare, fold_truthop): Likewise.
2556         (int_const_binop): Adjust threshold for size_int_type_wide call.
2557         (fold_convert): Likewise.
2558         (size_int_type_wide): Make table larger and fix thinko that only
2559         had half of table used.
2560         (all_ones_mask_p, fold): Precisions are unsigned.
2561         * function.c (put_reg_info_stack): REGNO is unsigned.
2562         (instantiate_decl): Size is HOST_WIDE_INT.
2563         (instantiate_virtual_regs): I is unsigned.
2564         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2565         (promoted_input_arg): REGNO is unsigned.
2566         * function.h (struct function): x_max_parm_reg is now unsigned.
2567         * gcse.c (max_gcse_regno): Now unsigned.
2568         (struct null_pointer_info): min_reg and max_reg now unsigned.
2569         (lookup_set, next_set): REGNO arg now unsigned.
2570         (compute_hash_table): REGNO and I now unsigned.
2571         (handle_avail_expr): regnum_for_replacing now unsigned.
2572         (cprop_insn): REGNO now unsigned.
2573         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2574         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2575         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2576         * hard-reg-set.h (reg_class_size): Now unsigned.
2577         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2578         * jump.c (mark_modified_reg): I now unsigned; add cast.
2579         (rtx_equal_for_thread_p): Add cast.
2580         * loop.c (max_reg_before_loop): Now unsigned.
2581         (struct_movable): REGNO now unsigned.
2582         (try_copy_prop): REGNO arg unsigned.
2583         (regs_match_p): XN and YN now unsigned.
2584         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2585         (strength_reduce): Likewise; NREGS also unsigned.
2586         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2587         * loop.h (struct iv_class): REGNO now unsigned.
2588         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2589         Now unsigned.
2590         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2591         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2592         * optabs.c (expand_binop): I and NWORDS now unsigned.
2593         (expand_unop): I now unsigned.
2594         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2595         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2596         * real.c (significand_size): Now returns unsigned.
2597         * real.h (significand_size): Likewise.
2598         * regclass.c (reg_class_size): Now unsigned.
2599         (choose_hard_reg_mode): Both operands now unsigned.
2600         (record_reg_classes): REGNO and NR now unsigned.
2601         (reg_scan): NREGS now unsigned.
2602         (reg_scan_update): old_max_regno now unsigned.
2603         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2604         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2605         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2606         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2607         Likewise for variable R.
2608         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2609         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2610         (find_equiv_reg): Add casts.
2611         (regno_clobbered_p): Arg REGNO now unsigned.
2612         * reload.h (struct reload): NREGS now unsigned.
2613         (refers_to_regno_for_reload_p): Regno args are unsigned.
2614         (regno_clobbered_p): Likewise.
2615         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2616         (compute_use_by_pseudos): REGNO now unsigned.
2617         (find_reg): I and J now unsigned, new variable K, and change loop
2618         variables accordingly; THIS_NREGS now unsigned.
2619         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2620         (spill_hard_reg): REGNO arg now unsigned; add casts.
2621         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2622         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2623         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2624         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2625         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2626         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2627         (emit_reload_insns): REGNO now unsigned.
2628         (reload_cse_move2add): Add cast.
2629         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2630         and rework loop.
2631         * resource.c (mark_referenced_resources, mark_set_resources): New
2632         variable R; REGNO and LAST_REGNO now unsigned.
2633         (mark_target_live_regs): J and REGNO now unsigned.
2634         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2635         * rtl.h (union rtunion_def): New field rtuint.
2636         (XCUINT): New macro.
2637         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2638         (operand_subword, operand_subword_force): Word number is unsigned.
2639         (choose_hard_reg_mode): Operands are unsigned.
2640         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2641         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2642         (regno_use_in, combine_instructions, remove_death): Likewise.
2643         (reg_scan, reg_scan_update): Likewise.
2644         (extended_count): Return is unsigned.
2645         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2646         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2647         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2648         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2649         (reg_reg_last_1): FIRS and LAST now unsigned.
2650         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2651         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2652         now unsigned.
2653         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2654         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2655         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2656         (replace_regs): Arg NREGS now unsigned.
2657         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2658         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2659         (simplify_binary_operation): Likewise.
2660         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2661         THIS_LAST now unsigned.
2662         (cselib_record_set): Add cast.
2663         * ssa.c (ssa_max_reg_num): Now unsigned.
2664         (rename_block): REGNO now unsigned.
2665         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2666         sizes now unsigned.
2667         (all_cases_count): Just return -1 not -2.
2668         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2669         Rework tests to use trees whenever possible.
2670         Use host_integerp and tree_low_cst.
2671         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2672         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2673         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2674         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2675         (smallest_mode_for_size): Likewise.
2676         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2677         KNOWN_ALIGN is now an alignment, so simplify code.
2678         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2679         (start_record_layout): Renamed from new_record_layout_info.
2680         Update to new fields.
2681         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2682         New functions.
2683         (place_union_field): Renamed from layout_union_field.
2684         Update to use new fields in rli.
2685         (place_field): Renamed from layout_field.
2686         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2687         (finalize_record_size): Rework to use new fields in rli and handle
2688         union.
2689         (compute_record_mode): Rework to simplify and to use new DECL fields.
2690         (finalize_type_size): Make rounding more consistent.
2691         (finish_union_layout): Deleted.
2692         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2693         (layout_type, case RECORD_TYPE): Call new function names.
2694         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2695         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2696         (get_best_mode): UNIT is now unsigned; remove casts.
2697         * tree.c (bit_position): Compute from new fields.
2698         (byte_position, int_byte_position): New functions.
2699         (print_type_hash_statistics): Cast to remove warning.
2700         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2701         (build_index_type): Likewise; make subtype of sizetype.
2702         (build_index_2_type): Pass sizetype to build_range_type.
2703         (build_common_tree_nodes): Use size_int and bitsize_int to
2704         initialize nodes; add bitsize_{zero,one,unit}_node.
2705         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2706         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2707         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2708         (DECL_FIELD_BITPOS): Deleted.
2709         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2710         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2711         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2712         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2713         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2714         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2715         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2716         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2717         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2718         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2719         (DECL_ALIGN): Adjust to new field in union.
2720         (DECL_OFFSET_ALIGN): New field.
2721         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2722         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2723         (union tree_decl): Add struct for both aligns.
2724         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2725         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2726         (struct record_layout_info): Rework fields to have offset
2727         alignment and byte and bit position.
2728         (start_record_layout, place_field): Renamed from old names.
2729         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2730         (byte_position, int_byte_position): Likewise.
2731         (get_inner_reference): Change types of position and length.
2732         * unroll.c (unroll_loop): New variable R; use for some loops.
2733         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2734         (calculate_giv_inc): Arg REGNO now unsigned.
2735         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2736         * varasm.c (assemble_variable): Clean up handling of size using
2737         host_integerp and tree_low_cst.
2738         (decode_addr_const): Use byte, not bit, position.
2739         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2740         use tree_low_cst and int_bit_position.
2741         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2742         
2743 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2744
2745         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2746         (reorder_block_def): New members eff_head and eff_end.
2747         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2748         (verify_insn_chain): New function.
2749         (skip_insns_between_block): Add code to skip deleted insns.
2750         Check for note before using.
2751         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2752         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2753         Check for note before using.
2754         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2755         (fixup_reorder_chain): Restructure, clean up, defect removal.
2756         (reorder_basic_blocks): Remove last_insn and references to it.
2757         Moved insn chain verification code into a new function (see above).
2758         Delete defective code that sets last insn.
2759         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2760         all blocks.
2761
2762 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2763
2764         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2765
2766 2000-03-24  Richard Henderson  <rth@cygnus.com>
2767
2768         * tree.c (lang_safe_for_unsave): Remove.
2769         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2770         allowing for two levels of unsafeness.  Remove lang hook.
2771         * tree.h: Update declarations.
2772         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2773         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2774         Always fail sibcalls when there are pending cleanups.
2775
2776 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2777
2778         * flow.c (propagate_block): When we delete an ADDR_VEC,
2779         also delete the BARRIER following it if there is one.
2780
2781 2000-03-24  Richard Henderson  <rth@cygnus.com>
2782
2783         * builtins.c (expand_builtin_bzero): Convert `length' argument
2784         to sizetype.
2785
2786 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2787
2788         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2789         comparison if regno's are equal.
2790         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2791         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2792         (expand_call): Update caller.
2793         Avoid making a sibling call if argument size of the callee is larger
2794         than argument size of the caller.
2795         Call hard_function_value with outgoing set if in sibcall pass.
2796         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2797
2798         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2799         Change LEAF_REGISTERS from an array initializer to actual array
2800         identifier. Move static global variable into the function.
2801         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2802         sequences for leaf functions.
2803         * global.c (global_alloc): Likewise.
2804         * tm.texi (LEAF_REGISTERS): Update documentation.
2805
2806         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2807         TARGET_FLAT leaf disabling hack.
2808         (LEAF_REGISTERS): Changed from an array initializer to actual array
2809         identifier to avoid duplication and remove the above hack.
2810         (FUNCTION_OK_FOR_SIBCALL): Define.
2811         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2812         always like call attribute.
2813         (eligible_for_sibcall_delay): New attribute.
2814         (sibcall): New delay type.
2815         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2816         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2817         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2818         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2819         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2820         New functions.
2821         (output_function_epilogue): Move part of the code into
2822         output_restore_regs.
2823         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2824         TYPE_SIBCALL.
2825         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2826         prototypes.
2827
2828         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2829         until infrastructure is finished.
2830
2831 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2832
2833         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2834         (save_parm_insns): Not here.
2835
2836 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2837
2838         * builtins.c (expand_builtin_bzero): New function.
2839         (expand_builtin): Handle bzero.
2840
2841         * builtins.def: Add BUILT_IN_BZERO.
2842
2843         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2844         prototype & function for bzero.
2845
2846 2000-03-23  Michael Meissner  <meissner@redhat.com>
2847
2848         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2849         change adding TARGET_FP to the TF floating point insns, except for
2850         trunctfsf2, which generates direct calls to truncdfsf2.
2851
2852 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2853
2854         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2855         try to protect against middle-end changes that break binary
2856         compatibility.
2857         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2858
2859 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2860
2861         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2862
2863 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2864
2865         * calls.c (expand_call): If TARGET is passed by reference and
2866         is readonly, write a CLOBBER.
2867
2868 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2869
2870         * builtins.c (expand_builtin): Handle bcmp.
2871
2872         * builtins.def: Add BUILT_IN_BCMP.
2873
2874         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2875         prototype & function for bcmp.
2876
2877 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2878
2879         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2880         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2881         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2882
2883 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2884
2885         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2886         alternative when using -fp64 -gp32.
2887
2888 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2889
2890         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2891         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2892         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2893
2894         * frame.h (frame_state): Revert last change.
2895         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2896         * libgcc2.c (throw_helper): Revert last change.
2897         
2898 2000-03-22  Richard Henderson  <rth@cygnus.com>
2899
2900         * stmt.c (expand_asm_operands): Don't promote the temporary.
2901
2902 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2903
2904         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2905         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2906           c_get_alias_set): Likewise.
2907         * c-decl.c (duplicate_decls): Likewise.
2908         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2909         * calls.c (initialize_argument_information): Likewise.
2910         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2911         Likewise.
2912         * dwarfout.c (decl_class_context,output_type): Likewise.
2913         * expr.c (get_inner_reference): Likewise.
2914         * fold-const.c (simple_operand_p,fold): Likewise.
2915         * function.c (aggregate_value_p): Likewise.
2916         * stmt.c (expand_asm_operands): Likewise.
2917         * varasm.c (named_section): Likewise.
2918
2919 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2920
2921         Implement dwarf2 exception handling for the ARM.
2922         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2923         (DWARF_FRAME_RETURN_COLUMN): Define.
2924         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2925         REG_FRAME_RELATED_EXPR note.
2926         (emit_sfm): Likewise.
2927         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2928         * dwarf2out.c (reg_save): Handle saving a register to itself.
2929         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2930         * except.c (eh_regs): Don't use the static chain reg if it's
2931         callee-saved.
2932         * frame.h (frame_state): Add cfa_saved field.
2933         * frame.c (execute_cfa_insn): Set it.
2934         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2935         the epilogue.
2936         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2937         Now takes a parm.
2938         (instantiate_virtual_regs): Adjust.
2939         * tm.texi: Adjust.
2940         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2941         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2942         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2943
2944         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2945         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2946
2947 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2948
2949         * builtins.def: New file.
2950
2951         * Makefile.in (TREE_H): Depend on builtins.def.
2952
2953         * builtins.c (built_in_names): Use builtins.def.
2954
2955         * tree.h (built_in_function): Likewise.
2956
2957 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2958
2959         * tree.c (size_in_bytes): Return size_zero_node, not
2960         integer_zero_node.
2961
2962 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2963
2964         * config/fp-bit.c (pack_d): Correct the case when a denormal
2965         is rounded up and stops being denormal.
2966
2967 2000-03-21  Richard Henderson  <rth@cygnus.com>
2968
2969         * config/alpha/alpha.c (function_arg): Check for void_type_node
2970         before using MUST_PASS_IN_STACK.
2971
2972 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2973
2974         * regmove.c (combine_stack_adjustments_for_block): Check that
2975         the stack pointer is a valid memory address.
2976
2977 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2978
2979         * calls.c: re-install Mar 16 emit_library_call merge.
2980
2981 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2982
2983         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2984         we cannot be sure that if reload_completed base register will
2985         be properly aligned.
2986
2987 2000-03-21  Richard Henderson  <rth@cygnus.com>
2988
2989         * flow.c (delete_block): Fix typo last change.
2990
2991 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2992
2993         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2994         not COMPLETE_TYPE_P, to check the type of the expression.
2995
2996 2000-03-21  Michael Meissner  <meissner@redhat.com>
2997
2998         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2999         all floating point insns that just tested the macro
3000         TARGET_HAS_XFLOATING_LIBS.
3001         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3002         used to only use the gprs.
3003
3004 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
3005
3006         * tree.h (COMPLETE_TYPE_P): New macro.
3007         (COMPLETE_OR_VOID_TYPE_P): New macro.
3008         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3009         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3010         * c-aux-info.c (gen_type): Use them.
3011         * c-common.c (c_expand_expr_stmt): Likewise.
3012         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3013         grokdeclarator, grokparms, finish_struct, start_function,
3014         store_parm_decls, combine_parm_decls): Likewise.
3015         * c-parse.y (cast_expr): Likewise.
3016         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3017         c_size_in_bytes, c_alignof, build_component_ref,
3018         build_indirect_ref, build_array_ref, convert_arguments,
3019         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3020         * calls.c (initialize_argument_information): Likewise.
3021         * convert.c (convert_to_integer): Likewise.
3022         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3023         * dwarfout.c (location_or_const_value_attribute,
3024         output_enumeration_type_die, output_structure_type_die,
3025         output_union_type_die, output_type): Likewise.
3026         * expr.c (safe_from_p, expand_expr): Likewise.
3027         * function.c (assign_parms): Likewise.
3028         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3029         * tree.c (build_array_type, build_function_type,
3030         build_method_type, build_offset_type, build_complex_type): Likewise.
3031         * c-parse.c, c-parse.h: Regenerated.
3032
3033 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3034
3035         * config/c4x/rtems.h: Include config/rtems.h.
3036
3037 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
3038
3039         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3040         decl is a FUNCTION_DECL
3041
3042 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
3043
3044         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3045         function uses output registers.  Don't save RP for leaf functions.
3046         Do save RP even if no epilogue.
3047         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3048         (CALL_USED_REGISTERS): Unmark in registers.
3049         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
3050         to near the middle.
3051
3052 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3053
3054         * config/rs6000/rs6000.md (bunordered): New expander.
3055         (bordered): New expander.
3056         (buneq): New expander.
3057         (bunge): New expander.
3058         (bungt): New expander.
3059         (bunle): New expander.
3060         (bunlt): New expander.
3061         (bltgt): New expander.
3062  
3063         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3064         (ccr_bit_negated_p): New function.
3065         (print_operand): For %C, generate appropriate cror for UNEQ,
3066         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
3067
3068 2000-03-20  Andreas Jaeger  <aj@suse.de>
3069
3070         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3071         warning.
3072
3073         * tree.h (safe_for_unsave): Prototype.
3074
3075 2000-03-20  Richard Henderson  <rth@cygnus.com>
3076
3077         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3078         (combine_stack_adjustments_for_block): Don't allow sp references
3079         in the side of a set we're not fixing up.
3080         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3081         after life_analysis.
3082
3083 2000-03-20  Richard Henderson  <rth@cygnus.com>
3084
3085         * calls.c (expand_call): Don't bother generating tail call
3086         sequences if there are pending cleanups.  Use
3087         expand_start_target_temps/expand_end_target_temps to elide
3088         cleanups created during sibcall expansion.
3089
3090 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3091
3092         * configure.in: Set $IFS to a value if it doesn't already have one
3093         in the --enable-checking handling.
3094         * configure: Regenerate.
3095
3096 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3097
3098         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3099         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3100         Regenerated.
3101
3102 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
3103
3104         * jump.c (delete_noop_moves): Remove code attempting to
3105         combine stack adjustments.
3106
3107 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3108
3109         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3110         * except.c (emit_cleanup_handler): Use them.
3111         (expand_end_all_catch): Likewise.
3112         * function.c (fixup_var_refs): Likewise.
3113         (expand_function_end): Clear catch_clauses_last.
3114         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3115         * except.h (struct eh_status): New field x_catch_clauses_last.
3116         (catch_clauses_last): New define.
3117
3118         * Makefile.in (tree.o): Depend on HASHTAB_H.
3119         * tree.c: Include hashtab.h.
3120         (struct type_hash): Remove next field.
3121         (TYPE_HASH_SIZE): Remove.
3122         (TYPE_HASH_INITIAL_SIZE): New define.
3123         (type_hash_table): Change type to htab_t.
3124         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
3125         mark_hash_entry): New functions.
3126         (init_obstacks): Allocate type hash.
3127         (type_hash_lookup): Use htab functions.
3128         (type_hash_add, mark_type_hash): Likewise.
3129         (dump_tree_statistics): Call print_type_hash_statistics.
3130
3131 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3132
3133         * rs6000/t-aix41: New file.
3134
3135         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
3136
3137 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
3138
3139         * tm.texi (Driver): Fix typos and tweak entry for
3140         INCLUDE_DEFAULTS.
3141         Move misplaced STRUCT_FORCE_BLK entry ...
3142         (Storage Layout): ... to here.
3143         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
3144
3145 2000-03-19  Richard Henderson  <rth@cygnus.com>
3146
3147         * flow.c (delete_block): Delete the addr_vec along with the block.
3148         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3149         reference labels.
3150
3151         * fold-const.c (extract_muldiv): Apply type check for defined
3152         overflow to multiply as well as divide.
3153
3154         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3155
3156 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3157
3158         * emit-rtl.c (remove_unncessary_notes): Check that all
3159         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3160         associated NOTE_BLOCK.
3161         * function.h (identify_blocks): Update comments.
3162         (reorder_blocks): Declare.
3163         * function.c (identify_blocks): Don't take paramters.
3164         (reorder_blocks): Don't take parameters.
3165         * loop.h (find_loop_tree_blocks): Remove.
3166         (unroll_block_trees): Likewise.
3167         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
3168         reorder_blocks instead of unroll_block_trees.h
3169         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3170         * stmt.c (find_loop_tree_blocks): Remove.
3171         (unroll_block_trees): Likewise.
3172         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3173         in whole-function mode.
3174         * tree.h (reorder_blocks): Remove declaration.
3175
3176         * expr.c: Include intl.h.
3177         * Makefile.in (expr.o): Depend on intl.h.
3178         
3179 2000-03-18  Richard Henderson  <rth@cygnus.com>
3180
3181         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3182
3183 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3184
3185         * tree.h (tree_index): Remove enumerals for integer types.
3186         (integer_type_kind): New type.
3187         (integer_types): New variable.
3188         (char_type_node): Adjust.
3189         (signed_char_type_node): Likewise.
3190         (unsigned_char_type_node): Likewise.
3191         (short_integer_type_node): Likewise.
3192         (short_unsigned_type_node): Likewise.
3193         (integer_type_node): Likewise.
3194         (unsigned_type_node): Likewise.
3195         (long_integer_type_node): Likewise.
3196         (long_unsigned_type_node): Likewise.
3197         (long_long_integer_type_node): Likewise.
3198         (long_long_unsigned_type_node): Likewise.
3199         * tree.c (integer_types): New variable.
3200         (init_obstacks): Register it as a root.
3201
3202 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3203
3204         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3205         NEXT_INSN. Update last insn in chain.
3206
3207 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3208
3209         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3210         with TYPE_DECL_SUPPRESS_DEBUG set.
3211
3212 2000-03-18  Richard Henderson  <rth@cygnus.com>
3213
3214         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3215
3216 2000-03-18  Richard Henderson  <rth@cygnus.com>
3217
3218         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3219         care for HALF_PIC_P.
3220         (expander_call_insn_operand): Remove.
3221         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3222         * i386.h (PREDICATE_CODES): Update.
3223         * i386.md (all call expanders): Remove predicates, remove special
3224         handling for half-pic.
3225         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3226         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3227         (sibcall_epilogue): New.
3228
3229 2000-03-17  Richard Henderson  <rth@cygnus.com>
3230
3231         * rtlanal.c (single_set): Reject if the parallel has anything
3232         except SET or USE or CLOBBER.
3233
3234 2000-03-17  Jeff Law  <law@cygnus.com>
3235             Richard Henderson  <rth@cygnus.com>
3236
3237         * Makefile.in (OBJS): Add sibcall.o.
3238         (sibcall.o): New.
3239         * sibcall.c: New file.
3240         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3241         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3242         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3243         Emit sibcall patterns when requested.  Update all callers.
3244         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3245         elimination seems feasable.
3246         * final.c (leaf_function_p): Sibling calls don't discount being
3247         a leaf function.
3248         * flow.c (HAVE_sibcall_epilogue): Provide default.
3249         (find_basic_blocks_1): Sibling calls don't throw.
3250         (make_edges): Make edge from sibling call to EXIT.
3251         (propagate_block): Don't remove sibcall_epilogue insns.
3252         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3253         (sibcall_epilogue): New.
3254         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3255         (identify_blocks_1): Likewise.  Break out from ...
3256         (identify_blocks): ... here.
3257         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3258         (reorder_blocks): ... here.
3259         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3260         (record_insns): Extend a varray instead of mallocing new memory.
3261         (contains): Read a varray not array of ints.
3262         (sibcall_epilogue_contains): New.
3263         (thread_prologue_and_epilogue_insns): Emit and record
3264         sibcall_epilogue patterns.
3265         (init_function_once): Allocate prologue/epilogue varrays.
3266         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3267         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3268         Broken out from ...
3269         (save_for_inline_nocopy): ... here.
3270         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3271         Broken out from ...
3272         (expand_inline_function): ... here.
3273         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3274         (subst_constants): Handle 'n' formats.
3275         * jump.c (jump_optimize_minimal): New.
3276         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3277         optimizations if it's set.
3278         * rtl.c (copy_rtx): Do copy jump & call for insns.
3279         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3280         (SIBLING_CALL_P): New.
3281         (sibcall_use_t): New.
3282         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3283         Invoke optimize_sibling_and_tail_recursive_calls.
3284         * tree.c (lang_safe_for_unsave): New.
3285         (safe_for_unsave): New.
3286         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3287
3288         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3289         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3290         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3291
3292 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3293
3294         * objc/objc-act.c (encode_method_prototype): Pass types, not
3295         PARM_DECLs, to int_size_in_bytes.
3296
3297 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3298
3299         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3300
3301         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3302         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3303
3304 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3305
3306         * Clean up usages of TREE_INT_CST_LOW.
3307         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3308         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3309         Regenerated.
3310         * c-tree.h (min_precision): Move declaration to here.
3311         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3312         (build_unary_op, add_pending_init): Use bit_position.
3313         (pending_init_member, process_init_element): Likewise.
3314         (really_start_incremental_init, push_init_level, pop_init_level):
3315         Don't make copies of nodes or modify them in place, use consistent
3316         types when tracking positions, and use tree routines computations.
3317         (set_init_index, output_init_element): Likewise.
3318         (output_pending_init_elements, process_init_element): Likewise.
3319         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3320         tree_low_cst and int_bit_position; also minor cleanup.
3321         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3322         (print_cst_octal): Precision is unsigned.
3323         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3324         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3325         (simple_type_align_in_bits): Result is unsigned int.
3326         Use tree_int_low_cst and host_integerp.
3327         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3328         (field_byte_offset): Result is HOST_WIDE_INT.
3329         Change types of internal variables so alignments are unsigned int,
3330         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3331         Use host_integerp, tree_low_cst, and int_bit_position.
3332         (add_bit_offset_attribute): Likewise.
3333         (add_data_member_location_attribute): Use tree_cst_low.
3334         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3335         (add_bit_size_attribute): Use tree_low_cst.
3336         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3337         * dwarfout.c: Similar changes to dwarf2out.c.
3338         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3339         * genoutput.c (n_occurences): Return -1 for null string.
3340         (strip_whitespace): Accept null string and make into function.
3341         (scan_operands): Reflect above changes.
3342         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3343         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3344         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3345         * tree.c (int_size_in_bytes): Check for too big to represent.
3346         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3347         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3348         New declarations.
3349         (min_precision): Delete from here.
3350         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3351         and int_bit_position.
3352         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3353         (encode_method_def): Likewise.
3354         (build_ivar_list_initializer): Use int_bit_position.
3355         (generate_shared_structures): Convert size.
3356         (encode_type, encode_complete_bitfield): Use integer_zerop.
3357         (encode_bitfield): Use tree_low_cst and int_bit_position.
3358         
3359 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3360
3361         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3362
3363 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3364
3365         * call.c (special_function_p): It is only malloc if it returns
3366         Pmode.
3367
3368 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3369
3370         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3371         (C33_FLAG, TARGET_C3X): Add macros.
3372         (TARGET_SWITCHES): Add -m33 option.
3373         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3374         
3375 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3376         
3377         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3378         (PARALLEL_PACK_FLAG): Delete.
3379         (TARGET_SWITCHES): Update.
3380         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3381
3382 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3383
3384         * fold-const.c (fold): Fix a few cases when the returned result
3385         is not of the same type as the input.
3386
3387 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3388
3389         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3390         warning.
3391
3392 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3393
3394         * libgcc2.h: Move prototypes above macros with the same name.
3395         Wrap some function prototypes in the conditional which indicates
3396         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3397
3398 2000-03-16  Richard Henderson  <rth@cygnus.com>
3399
3400         * calls.c: Revert last two changes.
3401
3402 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3403
3404         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3405         has exponent 0 is a zero.
3406
3407         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3408         HASH may already be nonzero.  Add code/mode into hash value
3409         immediately after repeat label.
3410         (cselib_lookup): Don't leave the hash table in an inconsistent
3411         state before a hash lookup operation.
3412
3413 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3414
3415         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3416         by TARGET_[HQ]IMODE_MATH.
3417         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3418         x86_promote_qi_regs): Declare.
3419         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3420         TARGET_PROMOTE_QI_REGS): New macros.
3421         (PROMOTE_MODE): New macro.
3422         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3423         x86_promote_qi_regs): New global variables.
3424
3425 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3426
3427         * calls.c (emit_library_call_value_1): Break out from ...; handle
3428         VOIDmode function calls too.
3429         (emit_library_call_value): ... here.
3430         (emit_library_call): Implement by calling emit_library_call_value_1.
3431
3432 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3433
3434         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3435         Update arg_space_so_far on stack adjustments.
3436         (emit_library_call, emit_library_call_value): Likewise; take into
3437         account arg_space_so_far and pending_stack_adjust when calculcating
3438         the boundary.
3439
3440 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3441
3442         * flow.c: Move all basic block reordering code into its own file.
3443         (create_basic_block): Externalize.
3444         * bb-reorder.c: New file. Copy all basic block reordering code from
3445         flow.c to this file.
3446         (reorder_basic_blocks): Fix fencepost error in for-loop.
3447         (reorder_basic_blocks): Remove braces from single statement for-loops.
3448         * basic-block.h: Add declaration for create_basic_block.
3449         * Makefile.in: Add rules for bb-reorder.o.
3450
3451 2000-03-16  Neil Booth  <NeilB@earthling.net>
3452
3453         * cppinit.c (handle_option):  Implement #unassert directive
3454         as -A- command line option.
3455         (print_help):  Update.
3456         * cpptexi.c:  Update.
3457
3458 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3459
3460         * md.texi (Standard Names): Document `jump'.
3461
3462 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3463
3464         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3465         gotos.
3466
3467 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3468
3469         Merge changes from newppc-branch onto trunk.
3470
3471         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3472
3473         * rs6000.c (toc_hash_table): Update for new hash table functions.
3474         (toc_hash_function): Likewise.
3475         (toc_hash_eq): Likewise.
3476         (toc_hash_mark_entry): Likewise.
3477         (toc_hash_mark_table): Likewise.
3478         (output_toc): Likewise.
3479         (rs6000_add_gc_roots): Likewise.
3480
3481         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3482
3483         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3484         (AR_FLAGS_FOR_TARGET): here.  New macro.
3485
3486         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3487
3488         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3489         fpmem_operand) Delete.
3490         (xer_operand) New.
3491         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3492         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3493         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3494         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3495         references to above variables.
3496         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3497         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3498         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3499         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3500         (XER_REGNO_P, XER_REGNO): New.
3501         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3502         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3503         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3504         XER_REGNO_P.
3505         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3506         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3507         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3508         
3509         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3510
3511         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3512         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3513         * rs6000.h: from here.
3514
3515         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3516         (rs6000_select_rtx_section): Likewise.
3517         (rs6000_encode_section_info): Likewise.
3518         (sdata_section): Likewise.
3519         (sdata2_section): Likewise.
3520         (sbss_section): Likewise.
3521         * sysv4.h (rs6000_select_section): Delete prototype.
3522         (rs6000_select_rtx_section): Likewise.
3523         (rs6000_encode_section_info): Likewise.
3524         (sdata_section): Likewise.
3525         (sdata2_section): Likewise.
3526         (sbss_section): Likewise.
3527         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3528
3529         * sysv4.h: Delete various unnecessary #undef's and put a comment
3530         on the remaining ones.
3531         Change various comments according to coding standard.
3532
3533         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3534
3535         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3536         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3537         (CR0_REGNO_P) Remove.
3538         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3539         setup_incoming_varargs, mtcrf_operation, print_operand, 
3540         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3541         Use the above macros.
3542
3543         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3544
3545         * config/rs6000/rs6000.md: Added a new alternative for each
3546         pattern that had a 'x' alternative but no 'y' alternative.
3547         Added a new split for each of the above patterns.
3548
3549         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3550
3551         * aix41.h (ASM_CPU_SPEC): Delete.
3552         (CPP_CPU_SPEC): Delete.
3553
3554         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3555         (ASM_OUTPUT_LABEL): Define.
3556         (ASM_GLOBALIZE_LABEL): Define.
3557         (STRIP_NAME_ENCODING): Define.
3558         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3559         (STRIP_NAME_ENCODING): Don't define.
3560         (ASM_OUTPUT_LABEL): Don't define.
3561         (ASM_GLOBALIZE_LABEL): Don't define.
3562         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3563         names, and ASM_OUTPUT_LABEL to output labels, rather than
3564         asm_fprintf.
3565         (ASM_OUTPUT_LABEL): Define.
3566         (ASM_OUTPUT_INT): Use assemble_name.
3567         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3568         (STRIP_NAME_ENCODING): Don't undefine first.
3569         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3570         ELF.
3571         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3572         specified with 'asm' even with -fleading-underscore.
3573         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3574         (output_epilog): Likewise.
3575         (output_toc): Likewise. 
3576         * tramp.asm: Handle -fleading-underscore correctly.
3577
3578         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3579         -mminimal-toc.
3580         (nonlocal_goto_receiver): Delete.
3581         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3582
3583         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3584         (SET_ASM_OP): Define.
3585         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3586
3587         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3588         (ASM_LONG): Define.
3589
3590         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3591         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3592
3593         * rs6000.h: Add 'u' to more constants.
3594
3595         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3596
3597         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3598
3599         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3600
3601         * rs6000.c (reg_or_u_cint_operand): New function.
3602         (logical_operand): Handle 64-bit hosts.
3603         (logical_u_operand): New function.
3604         (non_logical_cint_operand): Handle 64-bit hosts.
3605         (non_logical_u_cint_operand): New function.
3606         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3607         (PREDICATE_CODES): Define new functions.
3608         * rs6000-protos.h: Declare new functions.
3609         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3610         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3611         CONST_DOUBLE for 32-bit values.
3612         (scc insns): Generate DImode compares.
3613         (mfcr insns): Create DImode versions.
3614         (sge matchers): New patterns.
3615         
3616         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3617
3618         * rs6000.md: Correct instructions length attributes and
3619         constraints on unsigned compare instructions.
3620         (*ne0): Disable for PowerPC64.
3621
3622         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3623
3624         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3625         quantity, fix profile1.C test failure under -fPIC.
3626
3627         * rs6000.c: Add 'u' to many constants to suppress warnings.
3628         (constant_pool_expr_1): Make static.
3629         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3630         * rs6000.h: Add 'u' to many constants to suppress warnings.
3631
3632         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3633         for the start of the TOC, instead of LCTOC..0.
3634         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3635         of the TOC.
3636         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3637         (load_toc_aix_di): Use LCTOC..1.
3638
3639         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3640         * rs6000.c (rs6000_legitimize_address): New function from
3641         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3642         symbols in the constant pool that really are TOC references.
3643         (print_operand_address): For ELF, write TOC offsets under
3644         -fPIC as subtractions in the insn.
3645         (output_toc): For ELF, define symbols in TOC as normal labels,
3646         to match RTL.
3647         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3648         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3649         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3650         * rs6000.md (movsi): Only use create_TOC_reference on
3651         symbols in the constant pool that really are TOC references.
3652
3653         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3654         * rs6000.c (rs6000_reorg): Delete.
3655         * rs6000-protos.h (rs6000_reorg): Delete.
3656
3657         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3658
3659         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3660
3661         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3662         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3663         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3664         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3665         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3666         rs6000_aix_emit_builtin_unwind_init.
3667         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3668         rs6000_emit_eh_toc_restore on AIX.
3669         (return_eh_si): Use r2.
3670         (return_eh_di): Use r2.
3671
3672         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3673         since we're breaking binary compatibility anyway.
3674
3675         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3676
3677         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3678         constant_pool_expr_p): Declare them.
3679         (constant_pool_expr_p): Declare it.
3680         * config/rs6000/rs6000.c (toc_label_name): Define.
3681         (rs6000_override_options): Set toc_label_name.
3682         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3683         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3684         uses_TOC): New functions.
3685         (print_operand): Delete old '*' case.
3686         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3687         and strip off rtl for TOC before calling output_addr_const.
3688         (rs6000_emit_load_toc_table): Use toc_label_name.
3689         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3690         the default.
3691         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3692         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3693         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3694         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3695         into explicit TOC_REGISTER offsets.
3696         (TOC_REGISTER): New macro.
3697         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3698         TARGET_TOC to reference TOC_REGISTER.
3699         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3700         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3701         uses_TOC before emitting label references.
3702
3703         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3704
3705         * rs6000.md (stack_tie): Fix warning.
3706
3707         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3708         to handle -fleading-underscore.
3709         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3710         (USER_LABEL_PREFIX): New macro.
3711         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3712         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3713         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3714         call-linux can use the same multilibs.
3715         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3716         and call-linux multilibs.  Do multilib with -fleading-underscore.
3717         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3718         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3719         to call-aix.
3720
3721         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3722         have MASK_SOFT_FLOAT set.
3723         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3724         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3725         CPP_FLOAT_DEFAULT_SPEC.
3726
3727         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3728         * rs6000.md: Whitespace change.
3729         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3730         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3731
3732         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3733
3734         * rs6000.md (eh_epilogue): New expander.
3735         (eh_reg_restore): New expand/split/insn combination.
3736         (return_eh_si): New insn.
3737         (return_eh_di): New insn.
3738
3739         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3740         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3741         * eabi-ctors.c (__do_global_ctors): Register this object's
3742         frame.  Clean up.  Call atexit() after the constructors.
3743         (__do_global_dtors): Deregister this object's frame.  Clean up.
3744         Allow for recursive calls to exit().
3745         * rs6000.c (fixuplabelno): New variable.
3746         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3747         TARGET_RELOCATABLE, it slows down exec() under linux.
3748         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3749
3750         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3751         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3752         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3753         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3754         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3755         (ASM_OUTPUT_DWARF_ADDR): New macro.
3756         (ASM_OUTPUT_DWARF_DATA4): New macro.
3757         (ASM_OUTPUT_DWARF_DATA2): New macro.
3758         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3759         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3760         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3761
3762         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3763
3764         * rs6000.c (rs6000_sr_alias_set): New variable.
3765         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3766         (rs6000_emit_stack_tie): New function.
3767         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3768         in a way that dwarf2out can understand.
3769         (rs6000_frame_related): New function.
3770         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3771         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3772         Use rs6000_emit_stack_tie when needed.
3773         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3774         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3775         * rs6000.md (stack_tie): New insn.
3776         (return_internal_si): Allow return value to be in the count
3777         register.
3778         (return_internal_di): Likewise.
3779
3780         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3781
3782         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3783
3784         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3785
3786         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3787
3788         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3789
3790         * rs6000.md (stmw): Use the right POWER opcode.
3791         (lmw): Likewise.
3792
3793         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3794
3795         * rs6000-protos.h: New file.
3796
3797         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3798         
3799         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3800         warnings.
3801         
3802         * sysv4.h: Likewise.
3803
3804         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3805
3806         * ../../configure.in: Delete powerpcle-*-winnt*
3807         and powerpcle-*-pe|powerpcle-*-cygwin*.
3808         * ../../configure: Regenerated.
3809         * cygwin.h: Delete.
3810         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3811         (TARGET_WINDOWS_NT): Delete.
3812         (ABI_NT): Delete.
3813         (CALL_NT_DLLIMPORT): Delete.
3814         Delete NT-specific code.
3815         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3816         * win-nt.h: Delete.
3817         * t-winnt: Delete.
3818         * nt-ci.asm: Delete.
3819         * nt-cn.asm: Delete.
3820         * ntstack.asm: Delete.
3821
3822         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3823
3824         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3825         (ASM_FILE_START): Likewise.
3826         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3827         (ASM_OUTPUT_LABELREF): Likewise.
3828         (ASM_OUTPUT_SKIP): Likewise.
3829         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3830         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3831         (ASM_OUTPUT_CASE_LABEL): Likewise.
3832         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3833         (ASM_OUTPUT_ASCII): Likewise.
3834
3835         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3836
3837         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3838         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3839         increment rs6000_pic_labelno here.
3840         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3841         and increment rs6000_pic_labelno here.
3842
3843         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3844
3845         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3846         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3847         allocation knows (reg) is dead before the insn.
3848
3849         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3850
3851         * rs6000.md (movsi_to_cr): Correct typo in output template.
3852
3853         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3854
3855         * rs6000.c (rs6000_pic_labelno): Always define.
3856         (rs6000_pic_func_labelno): Delete.
3857         (lmw_operation): Check for a zero base register,
3858         which doesn't mean what we want.
3859         (stmw_operation): New function.
3860         (print_operand): Define new 'l' modifier.
3861         (rs6000_stack_info): We must save all 64 bits of the registers
3862         if TARGET_POWERPC64.
3863         (rs6000_output_load_toc_table): Delete.
3864         (rs6000_emit_load_toc_table): New function.
3865         (rs6000_allocate_stack_space): Delete.
3866         (rs6000_emit_allocate_stack): New function.
3867         (rs6000_emit_prologue): New function.
3868         (output_prolog): Use rs6000_emit_prologue.
3869         (rs6000_emit_epilogue): Change a few variable names to be
3870         more accurate.  Restore all 64 bits of the registers if
3871         TARGET_POWERPC64.  Only restore the FP registers which were used
3872         if they are being saved/restored one-at-a-time.
3873         (output_mi_thunk): Delete inefficient code generation.
3874         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3875         * rs6000.h: Declare rs6000_emit_load_toc_table,
3876         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3877         rs6000_output_load_toc_table.
3878         * rs6000.md (elf_high): Allow register 0, but discourage it
3879         heavily.
3880         (elf_low): Support loading into register 0.
3881         (load_toc_aix_si): New pattern.
3882         (load_toc_aix_di): New pattern.
3883         (load_toc_v4_pic_si): New pattern.
3884         (load_toc_v4_pic_di): New pattern.
3885         (load_toc_v4_PIC_1): New pattern.
3886         (load_toc_v4_PIC_1b): New pattern.
3887         (load_toc_v4_PIC_2): New pattern.
3888         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3889         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3890         (prologue): New expander.
3891         (movesi_from_cr): New pattern.
3892         (stmw): New pattern.
3893         (save_fpregs_si): New pattern.
3894         (save_fpregs_di): New pattern.
3895
3896         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3897
3898         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3899         (movdi): Likewise.
3900         (movhi): Likewise.
3901         (movqi): Likewise.
3902
3903         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3904
3905         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3906         at present.
3907         (movsi_got_internal): Likewise.
3908         (movsi_got_internal+1): Likewise.
3909         (set_sp): 'unspec 7' does a SImode clobber.
3910
3911         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3912
3913         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3914         allocate a stack temporary.
3915         (floatsidf2_internal): Likewise.
3916         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3917         with unspec.
3918         (floatunssidf2): Don't use the fpmem "register", just
3919         allocate a stack temporary.
3920         (floatunssidf2_internal): Likewise.
3921         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3922         with unspec.
3923         (floatsidf2_loadaddr): Delete.
3924         (floatsidf2_store1): Delete.
3925         (floatsidf2_store2): Delete.
3926         (floatsidf2_load): Delete.
3927         (fix_truncdfsi2): Don't use the fpmem "register", just
3928         allocate a stack temporary.
3929         (fix_truncdfsi2_internal_si): Delete.
3930         (fix_truncdfsi2_internal_di): Delete.
3931         (fix_truncdfsi2_internal): New insn.
3932         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3933         (fix_truncdfsi2_store): Delete.
3934         (fix_truncdfsi2_load): Delete.
3935         (fctiwz): Produce gen_fctiwz.
3936
3937         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3938
3939         * eabi.h (INVOKE__main): Define.
3940         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3941         specially.
3942         (rs6000_emit_prologue): Likewise.
3943         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3944         this is the main program.
3945
3946         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3947
3948         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3949
3950         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3951
3952         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3953         goes after the argument.
3954
3955         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3956
3957         * rs6000.md: Document 'unspec' values used.
3958         (epilogue): New expander.
3959         (movesi_to_cr_one): New expander.
3960         (movesi_to_cr and following): New pattern.
3961         (lmw): New pattern.
3962         (return_internal_si): New pattern.
3963         (return_internal_di): New pattern.
3964         (return_and_restore_fpregs_si): New pattern.
3965         (return_and_restore_fpregs_di): New pattern.
3966         * rs6000.h: Declare new functions.
3967         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3968         rather than rs6000_calls_p.
3969         (rs6000_makes_calls): Delete.
3970         (lmw_operation): New function.
3971         (mtcrf_operation): New function.
3972         (rs6000_emit_epilogue): New function.
3973         (output_epilog): Call rs6000_emit_epilogue and final if
3974         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3975
3976         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3977
3978         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3979         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3980         * aix.h (SUBTARGET_SWITCHES): Document switches.
3981         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
3982         sched-prolog and sched-epilog the same.  Document all the
3983         switches.
3984         (TARGET_OPTIONS): No longer allow -mdebug-.
3985
3986         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3987
3988         * rs6000.h (ASM_FILE_END): Move to aix.h.
3989         (EXTRA_SECTIONS): Move to aix.h.
3990         (READONLY_DATA_SECTION): Move to aix.h.
3991         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3992         (SELECT_SECTION): Move to aix.h.
3993         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3994         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3995         (LINK_REGISTER_REGNUM): New definition.
3996         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3997         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3998         AIX and SVR4.
3999         * sysv4.h: Delete the code between the inclusion of rs6000.h
4000         and svr4.h.
4001         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4002         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4003         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4004         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4005         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4006         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4007         (fix_truncdfsi2_internal_di): New pattern.
4008         (fix_truncdfsi2_store): The second arg here is Pmode too.
4009         (fix_truncdfsi2_load): The second arg here is Pmode too.
4010         (tablejumpdi): Now that switch tables hold only SImode values,
4011         gcc needs to know how to add them to the pc which is DImode.
4012         * rs6000.c (rs6000_stack_info): Use symbolic name for 
4013         LINK_REGISTER_REGNUM.
4014         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4015         (output_toc): Delete unused variables s1 and s2.
4016         (output_ascii): Use fputs not fprintf on a variable string.
4017
4018         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
4019
4020         * rs6000.c (processor_target_table): Add power3 as alias for 630.
4021         * aix43.h: Revert Aug 2 change.
4022         (HAS_INIT_SECTION): Define, not visible yet.
4023         (LD_INIT_SWITCH): Define, not visible yet.
4024         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4025
4026         2000-01-04  Joel Sherrill (joel@OARcorp.com>
4027
4028         * config/rs6000/rtems.h: Include config/rtems.h.
4029
4030         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
4031
4032         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4033         (SLOW_UNALIGNED_ACCESS): Define.
4034         (CASE_VECTOR_MODE): Always use 32-bit offsets.
4035         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4036         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4037         (toc_section): Likewise and .toc pseudo-op.
4038         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
4039         64-bit mode.
4040         (TEXT_SECTION_ASM_OP): Likewise.
4041         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4042         32-bit offsets.
4043
4044         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4045
4046         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4047         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4048         compiling libgcc2.
4049         
4050         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4051
4052         * rs6000.h: Move more stuff from here...
4053         * aix.h: to here.
4054         * sysv4.h: Cleanup accordingly.
4055         * netware.h: Likewise
4056
4057         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4058
4059         * rs6000.h: Continue cleanup.
4060         * aix.h: Likewise.
4061         * lynx.h: Likewise.
4062         * netware.h: Likewise.
4063         * sol2.h: Likewise.
4064         * sysv4.h: Likewise.
4065         * win-nt.h: Likewise.
4066
4067         * rs6000.h (TARGET_SWITCHES): Add descriptions.
4068         (TARGET_OPTIONS): Likewise.
4069
4070         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4071         (SUBTARGET_OPTIONS): Likewise.
4072
4073         * rs6000.md: Fix compile time warnings.
4074
4075         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4076
4077         vxworks patches from the Cygnus tree originally by
4078         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4079         <vmakarov@cygnus.com>.
4080         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4081         (ENDFILE_SPEC): Likewise.
4082         (LIB_VXWORKS_SPEC): New macro.
4083         (STARTFILE_VXWORKS_SPEC): New macro.
4084         (ENDFILE_VXWORKS_SPEC): New macro.
4085         (LINK_START_VXWORKS_SPEC): New macro.
4086         (LINK_OS_VXWORKS_SPEC): New macro.
4087         (CPP_OS_VXWORKS_SPEC): New macro.
4088         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4089         * vxppc.h: Rewrite to use proper configuration method.
4090         * vxppcle.h: New file.
4091         * ../../configure.in: Add powerpcle-wrs-vxworks*.
4092         * ../../configure: Rebuilt.
4093
4094         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4095
4096         Lots of changes to rs6000.h, sysv4.h, aix.h,
4097         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4098         with the aim that rs6000.h is the first header
4099         included and the others override it.
4100         * aix.h: New file.
4101
4102         * x-aix41-gld: Remove.  
4103         * x-aix43: Remove.
4104         * x-aix41: Remove target-specific switches, and don't specify
4105         -Wl,-bbigtoc as we don't need it any more.
4106         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4107         Use t-aix43 for AIX 4.3 and above.
4108         * ../../configure: Regenerated.
4109
4110         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4111         options, that don't do anything yet.
4112         (MASK_SCHED_PROLOG): New macro.
4113         (MASK_SCHED_EPILOG): New macro.
4114         (TARGET_SCHED_PROLOG): New macro.
4115         (TARGET_SCHED_EPILOG): New macro.
4116
4117         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4118
4119         * rs6000.c: Correct comment, the `minimal' TOCs are actually
4120         one per translation unit, not one per function.
4121         (output_toc): Also do duplicate constant elimination
4122         for per-translation-unit TOCs.
4123
4124         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
4125         a comment explaining _exactly_ when this pattern gets used.
4126         (builtin_setjmp_receiver): New pattern for better clarity.
4127         (init_v4_pic): Move it into a section dealing with TOC registers.
4128
4129         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
4130
4131         * rs6000.c (toc_hash_table): New variable.
4132         (rs6000_hash_constant): New function.
4133         (toc_hash_function): New function.
4134         (toc_hash_eq): New function.
4135         (toc_hash_mark_entry): New function.
4136         (toc_hash_mark_table): New function.
4137         (output_toc): Don't output duplicate TOC entries in
4138         a single file.
4139         (rs6000_add_gc_roots): Add the hash table as a GC root.
4140         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
4141         where they clearly shouldn't be.  This may need to be fixed
4142         later when there is a GNU ar for AIX.
4143         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
4144         Don't define BOOT_LDFLAGS as it is now not necessary.
4145
4146         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
4147
4148         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4149         for va_list on AIX.  Use unsigned_char_type_node rather than
4150         constructing our own version on svr4.
4151
4152         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
4153
4154         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4155         since patently it's not.
4156
4157         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
4158
4159         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4160         define_expand/define_insn pair, and handle restore of the
4161         SVR4 -fpic register.
4162
4163 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
4164
4165         * acconfig.h (HAVE_GAS_WEAK): New define.
4166         * configure.in (assembler weak support): Check for .weak support.
4167         * config.in, configure: Rebuilt.
4168         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4169         HAVE_GAS_WEAK is defined.
4170
4171 2000-03-15  Nick Clifton  <nickc@cygnus.com>
4172
4173         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4174         asm_fprintf().
4175
4176 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
4177
4178         * cppfiles.c (open_include_file): New function.
4179         (find_include_file, cpp_read_file): Use it.
4180
4181 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4182
4183         * cpphash.c (dump_hash_helper): Take the slot, not the element.
4184
4185 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
4186
4187         * flow.c (verify_flow_info): Check for unconditional return.
4188
4189 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
4190
4191         * config/ia64/ia64.md (restore_stack_nonlocal): New.
4192         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4193         (__ia64_restore_stack_nonlocal): New.
4194         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4195
4196 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4197
4198         * cpphash.c (collect_formal_parameters): Do not complain about
4199         parameter names that just start with `__VA_ARGS__'.
4200
4201 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4202
4203         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4204         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4205         * i386.c (pentiumpro_cost): Set mul cost to 4.
4206         (x86_use_movx): Set for PPro.
4207
4208 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4209
4210         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4211         STACK_BOUNDARY for empty frames now.
4212
4213 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4214
4215         * stor-layout.c (layout_union): Remove.
4216         (layout_union_field): New function, split out from layout_union.
4217         (finish_union_layout): Likewise.
4218         (layout_field): Handle unions by calling layout_union_field.
4219         (finish_record_layout): Handle unions.
4220         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4221         QUAL_UNION_TYPE handling.
4222
4223 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4224
4225         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4226         end of basic block is jump_insn, not barrier; use create_basic_block
4227         instead of creating basic block by hand.
4228
4229 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4230
4231         * flow.c (reorder_basic_blocks): Account for barriers when writing
4232         over NEXT_INSN (last_bb->end).
4233         (verify_flow_info): Add check for missing barriers.
4234
4235 2000-03-14  Greg McGary  <gkm@gnu.org>
4236
4237         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4238         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4239         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4240         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4241         __unbounded, __unbounded__): New keywords.
4242         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4243         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4244         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4245
4246 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4247
4248         * cselib.h: New file.
4249         * alias.c: Include "cselib.h".
4250         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4251         MEMs as two new arguments.
4252         (get_addr): New static function.
4253         (find_base_term): Handle VALUEs.
4254         (memrefs_conflict_p): Likewise.
4255         (true_dependence): Call get_addr on the addresses.
4256         Call fixed_scalar_and_varying_struct_p with addresses that have been
4257         passed through get_addr and canon_rtx.
4258         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4259         with true_dependence.
4260         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4261         * loop.c: Include "cselib.h".
4262         (load_mems): Process extended basic block that enters the loop with
4263         cselib.  Use that information to change initialization of the shadow
4264         register so that a constant equivalence is seen by later passes.
4265         * reload1.c: Include "cselib.h".
4266         (reload_cse_invalidate_regno): Delete function.
4267         (reload_cse_mem_conflict_p): Likewise.
4268         (reload_cse_invalidate_mem): Likewise.
4269         (reload_cse_invalidate_rtx): Likewise.
4270         (reload_cse_regno_equal_p): Likewise.
4271         (reload_cse_check_clobber): Likewise.
4272         (reload_cse_record_set): Likewise.
4273         (reg_values): Delete static variable.
4274         (invalidate_regno_rtx): Likewise.
4275         (reload_cse_delete_noop_set): New static function.
4276         (reload_cse_simplify): New static function, broken out of
4277         reload_cse_regs_1.
4278         (reload_cse_noop_set_p): Delete unused argument INSN.
4279         Just call rtx_equal_for_cselib_p on set source and destination.
4280         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4281         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4282         cselib functions instead.  Delete code to push/pop obstacks.
4283         (reload_cse_simplify_set): Use cselib to find equivalent values.
4284         Delete code to push/pop obstacks.
4285         (reload_cse_simplify_operands): Likewise.
4286         * rtl.def (VALUE): New rtx code.
4287         * rtl.h (union rtunion_def): New elt rt_cselib.
4288         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4289         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4290         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4291         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4292         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4293         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4294         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4295         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4296         cselib_record_set, cselib_record_sets): New static functions.
4297         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4298         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4299         references_value_p): New functions.
4300         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4301         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4302         n_useless_values, reg_values, callmem, cselib_obstack,
4303         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4304         New static variables.
4305         * varray.h (union varray_data_tag): New elt te.
4306         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4307         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4308         dependencies.
4309
4310 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4311
4312         * gcc.c (do_spec_1): Catch the case where %* is used in a
4313         substitution pattern, but it has not been initialised.
4314         Issue a meaningful error message if an unrecognised operator
4315         is encountered in a spec string.
4316
4317 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4318
4319         * function.c (prepare_function_start): Correctly initialize
4320         cfun->stack_alignment_needed.
4321
4322 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4323
4324         * cppfiles.c (find_include_file): Don't assume nshort is a
4325         substring of name.
4326
4327 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4328
4329         * configure.in (hppa configurations): Add pa32-regs.h to the
4330         list of tm files as appropriate.
4331         * configure: Rebuilt.
4332         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4333         register numbering.
4334         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4335         (fmpyaddoperands, fmpysuboperands): Likewise.
4336         * pa.h: Remove various definitions which depend on knowing
4337         how registers are numbered.
4338         * pa32-regs.h: New file with PA32 register numbering specific
4339         definitions.
4340
4341 2000-03-14  Richard Henderson  <rth@cygnus.com>
4342
4343         * regmove.c (combine_stack_adjustments): New.
4344         (stack_memref_p, single_set_for_csa): New.
4345         (free_csa_memlist, record_one_stack_memref): New.
4346         (try_apply_stack_adjustment): New.
4347         (combine_stack_adjustments_for_block): New.
4348         * rtl.h (combine_stack_adjustments): Declare.
4349         * toplev.c (rest_of_compilation): Call it.
4350
4351         * i386.md: Revert 2000-01-16 change.
4352
4353 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4354
4355         * gccbug.in: Add web category, gcc specific classes.
4356
4357 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4358
4359         * stor-layout.c (finalize_record_size): Fix typo.
4360
4361 2000-03-14  Stan Shebs  <shebs@apple.com>
4362
4363         * c-typeck.c (c_alignof): Error on incomplete types.
4364         * extend.texi (Alignment): Document this.
4365
4366 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4367
4368         * cppfiles.c: Include mkdeps.h.
4369         (find_include_file, read_include_file): Remove _cpp_ prefix
4370         from name, make static.
4371         (_cpp_execute_include): New function, broken out of
4372         do_include.
4373
4374         * cpplib.c: Don't include mkdeps.h.
4375         (struct directive): Remove type field. Reorder entries.  The
4376         function takes only one argument.
4377         (struct if_stack): Make type field an int.
4378         (directive_table): Rename to dtable.  Generate it, the
4379         prototypes of the directive handlers, and the enum for the
4380         directive numbers, from a template macro.
4381         (do_ifndef, do_include_next, do_import): New functions.
4382         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4383         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4384         do_ident, do_assert, do_unassert, do_sccs): Take only one
4385         argument.
4386         (do_sccs): Define always, but alter behavior based on
4387         SCCS_DIRECTIVE.
4388         (_cpp_handle_directive, consider_directive_while_skipping):
4389         Restructure for new directive table layout.
4390
4391         (pass_thru_directive): Take a directive number, not a pointer
4392         to a struct directive.
4393         (parse_include): New function, broken out of do_include.
4394         (do_include, do_import, do_include_next): Use parse_include
4395         and _cpp_execute_include.
4396         (do_elif, do_else): Test for T_ELSE specifically when checking
4397         for #elif/#else after #else.
4398         (parse_ifdef): New function, broken out of do_ifdef.
4399         (validate_else): Expect a name arg without a leading #.
4400         (if_directive_name): Delete.
4401         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4402         directive handlers with only one argument.
4403
4404         * cpphash.h: Update prototypes.
4405         (enum node_type): Remove entries for directives.
4406         * Makefile.in: Update dependencies.
4407
4408         * cpphash.c (dump_hash_helper): Only dump nodes of type
4409         T_MACRO.  Emit a newline after each definition.
4410
4411 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4412
4413         * gccbug.in: New file.
4414         * configure.in (all_outputs): Add gccbug.
4415         * Makefile.in (install-common): Install gccbug.
4416         (GCCBUG_INSTALL_NAME): New variable.
4417         * configure: Rebuilt.
4418         
4419 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4420
4421         * function.c (put_var_into_stack): Use type_for_mode to calculate
4422         part_type.  Use MEM_SET_IN_STRUCT_P.
4423         * expr.c (store_field): Handle CONCAT.
4424         (store_constructor): Use fields_length.
4425         * tree.c (fields_length): New fn.
4426         * tree.h: Declare it.
4427
4428 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4429
4430         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4431         (cpplex.o): New target.
4432         * po/POTFILES.in: Add cpplex.c.
4433
4434         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4435         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4436         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4437         skip_block_comment, skip_line_comment, skip_comment,
4438         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4439         _cpp_parse_name, skip_string, parse_string,
4440         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4441         _cpp_get_directive_token, find_position,
4442         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4443         (maybe_macroexpand, _cpp_lex_token): New functions.
4444
4445         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4446         parse_goto_mark): Delete.
4447         (_cpp_handle_eof): New function.
4448         (_cpp_handle_directive): Rename from handle_directive.
4449         (_cpp_output_line_command): Rename from output_line_command.
4450         (do_if, do_elif): Call _cpp_parse_expr directly.
4451         * cppfiles.c (_cpp_read_include_file): Don't call
4452         init_input_buffer here.
4453         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4454         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4455         here; pop the token_buffer and skip the rest of the line here.
4456         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4457         here.
4458
4459         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4460         Define here.
4461         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4462         CPP_GOTO_MARK): New macros.
4463         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4464         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4465         _cpp_read_and_prescan, _cpp_init_input_buffer,
4466         _cpp_grow_token_buffer, _cpp_get_directive_token,
4467         _cpp_handle_directive, _cpp_handle_eof,
4468         _cpp_output_line_command): Prototype them here.
4469         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4470         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4471         quote_string, output_line_command): Remove.
4472
4473 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4474
4475         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4476         whether it is too large we must also verify that it isn't negative.
4477
4478 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4479
4480         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4481         (movsi_zero_liveg0): Remove.
4482         (movsf_insn_novis_liveg0): Remove.
4483         (negsi2): Remove.
4484         (negsi2_not_liveg0): Rename to negsi2.
4485         (one_cmplsi2): Remove.
4486         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4487         (one_cmplsi2_liveg0): Remove.
4488         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4489         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4490         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4491         (PREDICATE_CODES): Remove zero_operand.
4492         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4493         TARGET_BROKEN_SAVERESTORE.
4494         (zero_operand): Remove.
4495         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4496         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4497         options.
4498         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4499         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4500         TARGET_BROKEN_SAVERESTORE): Remove.
4501         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4502         Remove.
4503         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4504         Remove.
4505         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4506         Remove.
4507
4508         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4509
4510 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4511
4512         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4513         truncating a string.  Don't assume tokens are nul terminated.
4514         Problem noted by Andreas Jaeger <aj@suse.de>
4515
4516 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4517
4518         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4519         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4520         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4521
4522 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4523
4524         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4525         STRUCTURE_SIZE_BOUNDARY.
4526
4527 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4528
4529         * tree.h (record_layout_info_s): New structure.
4530         (record_layout_info): New type.
4531         (new_record_layout_info): New function.
4532         (layout_field): Likewise.
4533         (finish_record_layout): Likewise.
4534         * stor-layout.c (layout_record): Remove.
4535         (new_record_layout_info): New function.
4536         (layout_field): New function, broken out from layout_record.
4537         (finalize_record_size): Likewise.
4538         (compute_record_mode): Likewise.
4539         (finalize_type_size): New function, broken out from layout_type.
4540         (finish_record_layout): Likewise.
4541         (layout_type): Use them.
4542         
4543 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4544
4545         * cpphash.c: Don't include version.h.
4546         (special_symbol) [case T_VERSION]: Look for the string in
4547         hp->value.cpval; don't use version_string.
4548         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4549         __VERSION__ to version_string.
4550         * Makefile.in (cpphash.o): Update deps.
4551
4552 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4553
4554         Convert cpplib to use libiberty/hashtab.c.
4555
4556         * cpplib.h (struct cpp_reader): Make hashtab and
4557         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4558         and ALL_INCLUDE_HASHSIZE macros.
4559
4560         * cpphash.h: Update prototypes.
4561         (struct hashnode): Remove next, prev, and bucket_hdr members.
4562         Make length a size_t.  Add hash member.
4563         (struct ihash): Remove next member.  Add hash member.  Make
4564         name a flexible array member.
4565
4566         * cppfiles.c: Include hashtab.h.
4567         (include_hash): Delete.
4568         (IHASHSIZE): New macro.
4569         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4570         (cpp_included): Do the hash lookup here.
4571         (_cpp_find_include_file): Rewrite.
4572         (cpp_read_file): Put the "fake" hash entry into the hash
4573         table.  Honor the control_macro, if it turns out we've seen
4574         the file before.  Don't push the buffer here.
4575         (_cpp_read_include_file): Push the buffer here.
4576         (OMODES): New macro.  Use it whenever we call open(2).
4577
4578         * cpphash.c: Include hashtab.h.
4579         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4580         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4581         _cpp_lookup_slot): New functions.
4582         (HASHSIZE): new macro.
4583         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4584         (_cpp_lookup): Use hashtab.h routines.
4585
4586         * cppinit.c: Include hashtab.h.
4587         (cpp_reader_init): Call _cpp_init_macro_hash and
4588         _cpp_init_include_hash.  Don't allocate hashtab directly.
4589         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4590         pfile->all_include_files.
4591         (initialize_builtins): Use _cpp_make_hashnode and
4592         htab_find_slot to add hash entries.
4593         (cpp_finish): Just call _cpp_dump_macro_hash.
4594         * cpplib.c: Include hashtab.h.
4595         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4596         create hash entries.
4597         (do_pragma_poison, do_assert): Likewise.
4598         (do_include): Don't push the buffer here.  Don't increment
4599         system_include_depth unless _cpp_read_include_file succeeds.
4600         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4601         or htab_remove_elt.
4602         (do_pragma_implementation): Use alloca to create copy.
4603
4604         * Makefile.in: Update dependencies.
4605
4606 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4607
4608         * cppinit.c (cl_directive_handler): More K&R fixing.
4609
4610 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4611
4612         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4613         STACK_BOUNDARY.
4614         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4615
4616 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4617
4618         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4619         Change from char[] to macros.
4620
4621 2000-03-12  Neil Booth  <NeilB@earthling.net>
4622
4623         * cppinit.c (cpp_start_read): Update indirect function
4624         call to K&R C.
4625
4626 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4627
4628         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4629         entry.
4630
4631         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4632         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4633
4634 2000-03-11  Neil Booth  <NeilB@earthling.net>
4635
4636         * cppinit.c (struct pending option): Replace undef with a 
4637         pointer to a directive handling routine.
4638         (struct cpp_pending): Replace separate assert_ and define_ 
4639         lists with one directive_ list.
4640         (new_pending_define): Rename new_pending_directive. Extra
4641         argument is the directive's handling routine.
4642         (handle_option): Update to use new_pending_directive.
4643
4644 2000-03-11  Neil Booth  <NeilB@earthling.net>
4645
4646         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4647         remap_filename, _cpp_read_include_file, actual_directory,
4648         hack_vms_include_specification): Replace bcopy(), index() etc
4649         calls.  Add casts to some allocations.  Make some variables
4650         pointers to const [unsigned] char.
4651         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4652         collect_formal_parameters): Similarly.
4653         * cppinit.c (struct pending_option, append_include_chain,
4654         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4655         cpp_start_read, new_pending_define, handle_option): Similarly.
4656         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4657         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4658         do_pragma_implementation, detect_if_not_defined,
4659         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4660         do_assert, do_unassert): Similarly.
4661         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4662         function prototypes.
4663         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4664
4665 2000-03-10  Richard Henderson  <rth@cygnus.com>
4666
4667         * builtins.c (expand_builtin_strlen): Revert last change.
4668         Use emit_insn_before if we're at the beginning of a sequence.
4669
4670 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4671
4672         * builtins.c (expand_builtin_strlen): Make sure that we have something
4673         at the beginning of the sequence.
4674
4675         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4676         deferred inlines.
4677
4678         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4679
4680 2000-03-10  Richard Henderson  <rth@cygnus.com>
4681
4682         * except.c (can_throw): Use INTVAL on a CONST_INT.
4683         (reachable_handlers): Likewise.
4684         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4685
4686 2000-03-10  Andreas Jaeger  <aj@suse.de>
4687
4688         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4689         MD_STARTFILE_PREFIX since those are not needed on linux.
4690         (ASM_FILE_START): New, from mips/gnu.h.
4691
4692 2000-03-09  Richard Henderson  <rth@cygnus.com>
4693             Alex Samuel  <samuel@codesourcery.com> and others
4694         
4695         * Makefile.in (ssa.o): New rule.
4696         (OBJS): Add ssa.o.
4697         (STAGESTUFF): Add *.ssa and *.ussa.
4698         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4699         * rtl.def (PHI): New RTL expression.
4700         * rtl.h (clear_log_links): New declaration.
4701         (convert_to_ssa): Likewise.
4702         (convert_from_ssa): Likewise.
4703         * flow.c (split_edge): If the entry node falls through to the
4704         split edge's source block, split the entry edge.
4705         (clear_log_links): New function.
4706         * toplev.c (ssa_dump): New variable.
4707         (flag_ssa): Likewise.
4708         (f_options): Add "ssa".
4709         (compile_file): Create SSA dump files.
4710         (rest_of_compilation): Go to and from SSA if enabled.
4711         (decide_d_option): Handle -de for SSA dump files.
4712         * ssa.c: New file.
4713         
4714 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4715
4716         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4717         same as VAR_DECL.
4718
4719 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4720
4721         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4722
4723 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4724
4725         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4726         (MD_STARTFILE_PREFIX_1): New macro.
4727
4728 2000-03-09  Robert Lipe  <robertl@sco.com>
4729
4730         * config/ia64/ia64.c: Include system.h.
4731
4732 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4733
4734         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4735         (init_eh_nesting_info): Likewise.
4736
4737         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4738         (TREE_NOTHROW): Rename from TREE_RAISES.
4739         * toplev.c (rest_of_compilation): Set it.
4740         * print-tree.c (print_node): Adjust.
4741         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4742         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4743         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4744         REG_EH_REGION note as appropriate.
4745         (libfunc_nothrow): New fn.
4746         (emit_library_call, emit_library_call_value): Use it.
4747         (expand_call): Check TREE_NOTHROW.
4748
4749         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4750         DECL_ASSEMBLER_NAME.
4751
4752 2000-03-09  Andreas Jaeger  <aj@suse.de>
4753
4754         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4755         (TARGET_MEM_FUNCTIONS): Define.
4756
4757 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4758
4759         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4760
4761         * except.c (can_throw): See through a SEQUENCE.
4762         (nothrow_function_p): New fn.
4763         * except.h: Declare it.
4764         * function.c (current_function_nothrow): New var.
4765         (prepare_function_start): Initialize it.
4766         * output.h: Declare it.
4767         * toplev.c (rest_of_compilation): Set it.
4768         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4769
4770 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4771
4772         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4773         match.  (cpp_compare_defs): Count the nul separator when
4774         advancing over argument names.
4775
4776 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4777
4778         * recog.c (preprocess_constraints): Matching constraints affect
4779         same alternative/different operand, not same operand/different
4780         alternative.
4781         
4782         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4783         register and a constant specially.
4784
4785 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4786
4787         * libgcc2.h: New file.
4788         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4789
4790 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4791
4792         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4793         * configure: Regenerate.
4794         * config/ia64: New.
4795
4796 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4797
4798         * Makefile.in (LIBCPP_DEPS): New macro.
4799         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4800         it to declare deps.
4801         * cpperror.c: Include cpphash.h.
4802         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4803         dingleberry.
4804         (lex): Don't use CPP_WARN_UNDEF.
4805         (_cpp_parse_expr): Return an int, the truth value.
4806         * cppfiles.c: Include cpphash.h.
4807         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4808         * cppinit.c (include_defaults_array): Disentangle.
4809         (cpp_cleanup): Don't free the if stack here.
4810         (cpp_finish): Pop off all buffers, not just one.
4811         * cpplib.c (eval_if_expr): Return int.
4812         (do_xifdef): Rename do_ifdef.
4813         (handle_directive): Don't use CPP_PREPROCESSED. 
4814         (cpp_get_token): Don't use CPP_C89.
4815         * fix-header.c: Don't use CPP_OPTIONS.
4816
4817         * cpplib.h: Move U_CHAR, enum node_type, struct
4818         file_name_list, struct ihash, is_idchar, is_idstart,
4819         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4820         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4821         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4822         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4823         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4824         of _cpp_simplify_pathname, _cpp_find_include_file,
4825         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4826         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4827         cppinit.c.
4828         Change all uses of U_CHAR to be unsigned char instead.
4829         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4830
4831 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4832
4833         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4834         (dwarf2out_begin_prologue): Set it.
4835         (output_call_frame_info): Don't emit EH unwind info for leaves.
4836
4837         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4838         can occur outside of an EH region.
4839         * except.c: Correct comments about rethrow behavior.
4840         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4841
4842 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4843
4844         * flow.c (make_edges): Always call make_eh_edge for calls.
4845
4846 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4847
4848         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4849         (struct cpp_buffer): Remove fname and underflow fields.
4850         (struct cpp_reader): Remove get_token field.
4851         (struct include_hash): Rename to struct ihash.  Add typedef to
4852         IHASH.
4853         (struct if_stack): Remove fname field.
4854         (IF_STACK_FRAME): Rename to IF_STACK.
4855
4856         * cpperror.c (print_containing_files): Trust that there are no
4857         macro buffers below the top file buffer.
4858         * cppfiles.c: Replace all references to 'struct include_hash'
4859         with 'IHASH'.  Rename initialize_input_buffer to
4860         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4861         use buffer->ihash->name instead.
4862         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4863         not CPP_NULL_BUFFER.
4864         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4865         IF_STACK_FRAME, IHASH not struct include_hash.
4866         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4867         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4868         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4869         references to cpp_buffer->fname (delete entirely, or use
4870         ->ihash->name instead) and IF_STACK->fname.
4871         (cpp_push_buffer): Don't set new->underflow.
4872         (do_include): Use cpp_file_buffer.
4873
4874         * cpphash.c (collect_formal_parameters): Remove duplicate
4875         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4876         used as a macro argument name.  Don't append "..." to namebuf
4877         for varargs macros.  After we're done scanning, go through
4878         namebuf and make it NUL separated, not comma separated.
4879         (_cpp_compare_defs): Remove register tag from variables.
4880         Expect defn->argnames to be NUL separated.
4881         (_cpp_dump_definition): Expect defn->argnames to be NUL
4882         separated and in forward order.
4883         * cpphash.h: Update documentation of argnames field.
4884
4885 2000-03-08  Richard Henderson  <rth@cygnus.com>
4886
4887         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4888         to fail.  Don't pre-expand the source operand.
4889
4890         * i386.md (strlensi): Initialize eoschar and align before use.
4891
4892 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4893
4894         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4895         CONSTRUCTOR element.
4896
4897 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4898
4899         * mips.c (mips_expand_prologue): If the last 
4900         named argument is the vararg marker "va_list", treat it as
4901         an unnamed argument.
4902
4903 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4904
4905         * dbxout.c (dbxout_parms): When correcting for promoted 
4906         big-endian parameters, use the mode of the DECL_RTL rather 
4907         than UNITS_PER_WORD.
4908
4909 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4910
4911         * c-common.h (make_fname_decl): Declare.
4912         * c-common.c (make_fname_decl): Define.
4913         (declare_hidden_char_array): Remove.
4914         (declare_function_name): Use make_fname_decl.
4915         * c-decl.c (c_make_fname_decl): New function.
4916         (init_decl_processing): Set make_fname_decl.
4917
4918 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4919
4920         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4921
4922 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4923
4924         * po/POTFILES.in: Remove cppalloc.c from file list.
4925
4926 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4927
4928         * pj.c (pj_expand_prologue): current_function->args_info is
4929         now current_function_args_info.  
4930
4931         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4932         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4933         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4934
4935 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4936
4937         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4938         output as hexadecimal rather than the default octal.
4939
4940 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4941
4942         * cpphash.c (special_symbol): Fix thinko in previous commit.
4943
4944 2000-03-07  Neil Booth  <NeilB@earthling.net>
4945
4946         * cppexp.c (struct operation, left_shift, right_shift,
4947         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4948         "int"s to "unsigned int"s.
4949         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4950         Similarly.
4951         * cpplib.h: Update for above.
4952         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4953         returned from allocations.
4954
4955         * cppinit.c (opt_comp, parse_options): New functions.
4956         (handle_option): Use parse_option to parse a single command
4957         line option, that possibly takes an argument.
4958         (cpp_handle_options): Sort the array of command line options on
4959         first invocation (non-ASCII hosts only).
4960         (print_help): Update.
4961
4962 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4963
4964         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4965         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4966         
4967         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4968         initialized.
4969         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4970
4971         * cpperror.c (cpp_print_containing_files,
4972         cpp_print_file_and_line, v_cpp_message): Rename to
4973         print_containing_files, print_file_and_line, and v_message.
4974         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4975         to _cpp_parse_expr, parse_escape, and lex.
4976         (parse_charconst): Remove broken multibyte support.
4977         * cppfiles.c (include_hash): Make static.
4978         (cpp_included): New function.
4979         (merge_include_chains, find_include_file, finclude,
4980         simplify_pathname): Rename to _cpp_merge_include_chains,
4981         _cpp_find_include_file, _cpp_read_include_file, and
4982         _cpp_simplify_pathname.
4983         * cpphash.c (cpp_lookup, free_definition, delete_macro,
4984         cpp_install, create_definition, macroexpand, compare_defs,
4985         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4986         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4987         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4988         * cppinit.c (cpp_handle_option): Rename to handle_option, make
4989         static.
4990         * cpplib.c: Remove extern prototype of cpp_parse_expr.
4991
4992         * cpphash.h: Update prototypes.
4993         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
4994
4995 2000-03-07  Andrew Haley  <aph@cygnus.com>
4996
4997         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4998         PTRDIFF_TYPE should be based solely on Pmode.
4999         (SIZE_TYPE): ditto.
5000
5001 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5002
5003         * rtl.h (rtunion_def): Constify member `rtstr'.
5004         (emit_line_note_after, emit_line_note, emit_line_note_force,
5005         emit_note, decode_asm_operands): Constify.
5006         
5007         * cse.c (canon_hash): Likewise.
5008
5009         * dbxout.c (dbxout_block): Likewise.
5010
5011         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5012         v_warning_for_asm): Likewise.
5013
5014         * dwarfout.c (function_start_label): Likewise.
5015
5016         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5017         emit_line_note_force): Likewise.
5018
5019         * final.c (last_filename, asm_insn_count, final_scan_insn,
5020         output_source_line): Likewise.
5021
5022         * function.h (struct emit_status): Likewise.
5023
5024         * gcse.c (hash_expr_1): Likewise.
5025
5026         * genattr.c (gen_attr, main): Likewise.
5027
5028         * genattrtab.c (struct function_unit, current_alternative_string,
5029         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5030         attr_numeral, check_attr_test, check_attr_value,
5031         convert_set_attr_alternative, convert_set_attr,
5032         compute_alternative_mask, simplify_by_exploding, gen_attr,
5033         gen_unit): Likewise.
5034
5035         * genflags.c (gen_insn): Likewise.
5036
5037         * gengenrtl.c (type_from_format): Likewise.
5038
5039         * genopinit.c (gen_insn): Likewise.
5040
5041         * genoutput.c (n_occurrences, process_template, process_template):
5042         Likewise.
5043
5044         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5045         Likewise.
5046
5047         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5048         Likewise.
5049
5050         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5051         ggc_set_mark, ggc_get_size): Likewise.
5052
5053         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5054
5055         * optabs.c (init_one_libfunc): Likewise.
5056
5057         * output.h (assemble_start_function): Likewise.
5058
5059         * recog.c (decode_asm_operands): Likewise.
5060
5061         * toplev.c (rest_of_compilation): Likewise.
5062
5063         * tree.h (emit_line_note_after, emit_line_note,
5064         emit_line_note_force): Likewise.
5065
5066         * varasm.c (asm_output_bss, asm_output_aligned_bss,
5067         asm_emit_uninitialised, assemble_start_function,
5068         assemble_variable, const_hash, compare_constant_1,
5069         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5070
5071         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5072
5073         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5074
5075         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5076
5077         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5078
5079         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5080         arm_dllimport_name_p): Likewise.
5081
5082         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5083         Likewise.
5084
5085         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5086
5087         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5088
5089         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5090         arm_mark_dllexport, arm_mark_dllimport,
5091         arm_pe_encode_section_info): Likewise.
5092
5093         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5094         ASM_FINISH_DECLARE_OBJECT): Likewise.
5095
5096         * arm/thumb.c (thumb_function_prologue): Likewise.
5097
5098         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5099
5100         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5101
5102         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5103
5104         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5105
5106         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5107
5108         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5109
5110         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5111         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5112
5113         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5114
5115         * i386/i386.c (asm_output_function_prefix): Likewise.
5116
5117         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
5118
5119         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5120
5121         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
5122
5123         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
5124         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
5125         ASM_OUTPUT_SECTION_NAME): Likewise.
5126
5127         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
5128
5129         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
5130
5131         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
5132
5133         * m32r/m32r.c (m32r_encode_section_info): Likewise.
5134
5135         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5136
5137         * mcore/mcore.c (mcore_encode_section_info): Likewise.
5138
5139         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5140
5141         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5142
5143         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5144
5145         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
5146
5147         * mips/mips.md (movdi, movsi): Likewise.
5148
5149         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5150
5151         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5152
5153         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5154
5155         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5156         ASM_OUTPUT_ASCII): Likewise.
5157
5158         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5159         output_mi_thunk, output_toc): Likewise.
5160
5161         * rs6000/rs6000.md (movsi): Likewise.
5162
5163         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5164
5165         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5166
5167         * v850/v850.c (print_operand, print_operand_address,
5168         v850_encode_data_area): Likewise.
5169
5170 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
5171         
5172         * config/mips/mips.md (zero_extendsidi2): Always force operand
5173         one to memory for mips16.
5174
5175 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5176
5177         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5178         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5179         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5180         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5181         (min_precision): Result is unsigned.
5182         (add_double, neg_double, mul_double): Low word is unsigned.
5183         (lshift_double, rshift_double, lrotate_double): Likewise.
5184         (rrotate_double, div_and_round_double): Likewise.
5185         (tree_floor_log2, compare_tree_int): New functions.
5186         (preserve_rtl_expr_temps): New declaration.
5187         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5188         (decl_attributes): Use tree_log2 to find alignment.
5189         Check for TREE_INT_CST_HIGH for format args.
5190         (min_precision): Now unsigned.
5191         Use tree_floor_log2.
5192         (truthvalue_conversion): Delete long-disabled code.
5193         * c-decl.c (finish_struct): Clean up tests on field width.
5194         (finish_function): Use compare_tree_int.
5195         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5196         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5197         (default_conversion, digest_init): Use compare_tree_int.
5198         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5199         Fix type errors in forming masks.
5200         * calls.c (initialize_argument_information): Use compare_tree_int.
5201         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5202         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5203         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5204         (store_field): Use compare_tree_int.
5205         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5206         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5207         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5208         (do_store_flag): Use compare_tree_int.
5209         * fold-const.c (encode, decode): Low part is always unsigned.
5210         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5211         (lshift_double, rshift_double, lrotate_double): Likewise.
5212         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5213         (fold_convert): Use compare_tree_int.
5214         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5215         (invert_truthvalue, case INTEGER_CST): Likewise.
5216         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5217         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5218         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5219         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5220         Likewise.
5221         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5222         (expand_end_case): Use compare_tree_int.
5223         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5224         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5225         (layout_decl): Likewise.
5226         (layout_record, layout_union): Make sizes unsigned.
5227         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5228         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5229         * tree.c (struct type_hash): hashcode is unsigned.
5230         (build_type_attribute_variant, type_hash_list): Likewise.
5231         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5232         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5233         (build_complex_type): Likewise.
5234         (real_value_from_int_cst): Remove unneeded casts.
5235         (integer_all_onesp): Add casts.
5236         (tree_floor_log2, compare_tree_int): New functions.
5237         (build_index_type): Use tree_int_cst_sgn.
5238         * varasm.c (assemble_variable): Use compare_tree_int.
5239
5240 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5241
5242         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5243
5244         * varasm.c (make_decl_rtl): Don't add a number to members of
5245         local classes.
5246         (make_function_rtl): Likewise.
5247
5248 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5249
5250         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5251         patch from 2000-01-28.
5252
5253 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5254
5255         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5256         filled with an insn from the jump target.
5257
5258 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5259
5260         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5261         (c4x_external_ref): Likewise.
5262         * config/c4x/c4x.c (struct name_list): Likewise.
5263
5264 1999-12-16  Ben Collins  <bcollins@debian.org>
5265
5266         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5267         argument to genmultilib.
5268         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5269         the contents into the multilib.h header.
5270         * gcc.c: Declare multilib_exclusions for the specs file.
5271         (set_multilib_dir): Use it.
5272         (print_multilib_info): Likewise.
5273         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5274         to pass to genmultilib.
5275
5276 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5277
5278         * builtins.c (built_in_class_names, built_in_names): Constify a
5279         char*.
5280
5281         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5282         int.
5283         (_mcleanup): Ensure value matches format specifier in sprintf.
5284
5285         * cpphash.c (special_symbol): Don't needlessly cast away
5286         const-ness.
5287
5288         * cppinit.c (base_name): Delete unused prototype.
5289
5290         * mkdeps.c (deps_init): Make definition K&R safe.
5291
5292         * tree.h (built_in_class_names, built_in_names): Constify a
5293         char*.
5294
5295 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5296
5297         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5298         floating point instructions for epilogue delay.
5299
5300         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5301         to gas if it supports .register pseudo.
5302
5303         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5304         LONG_DOUBLE_TYPE_SIZE if not defined.
5305         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5306         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5307         * real.c: Likewise.
5308         * gengenrtl.c: Likewise.
5309         * print-rtl.c: Likewise.
5310         * rtl.c: Likewise.
5311         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5312         MASK_LONG_DOUBLE_128.
5313         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5314         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5315         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5316         (SUBTARGET_SWITCHES): Define.
5317         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5318         with -mlong-double-128.
5319         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5320         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5321         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5322         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5323         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5324         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5325         with -mlong-double-128.
5326         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5327         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5328         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5329         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5330         TARGET_LONG_DOUBLE_128): Define.
5331         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5332         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5333         long double on TARGET_ARCH64.
5334
5335 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5336
5337         * function.c (free_temps_for_rtl_expr): Don't free slots
5338         that have been pushed into a higher level.
5339         
5340         Revert this patch:
5341         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5342
5343 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5344
5345         * basic-block.h (ALLOCA_REG_SET): Remove.
5346         (INITIALIZE_REG_SET): New macro.
5347         * flow.c (update_life_info): Use it.
5348         (calculate_global_regs_live): Likewise.
5349         (propagate_block): Likewise.
5350         * global.c (build_insn_chain): Likewise.
5351         * haifa-sched.c (schedule_region): Likewise.
5352
5353 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5354
5355         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5356         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5357         (DWARF_ARANGES_PAD_SIZE): New define.
5358         (output_aranges): Use it to pad the address range header.
5359         (DWARF_ROUND): Fix for non power of 2 rounding.
5360
5361 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5362
5363         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5364
5365 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5366
5367         * tree.def (RTL_EXPR): Update documentation.
5368         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5369         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5370         * function.c (preserve_rtl_expr_temp): New function.
5371         (preserve_rtl_expr_temps): Likewise.
5372         (preserve_rtl_expr_result): Use it.
5373
5374         Revert this patch:
5375         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5376
5377 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5378
5379         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5380         for unchanging destination.
5381
5382 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5383
5384         * function.h (struct sequence_stack): Remove rtl_expr.
5385         (struct emit_staus): Likewise.
5386         (seq_rtl_expr): Remove.
5387         * tree.h (free_temps_for_rtl_expr): Don't declare.
5388         (start_sequence_for_rtl_expr): Likewise.
5389         * rtl.h (preserve_rtl_expr_result): Likewise.
5390         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5391         (start_sequence_for_rtl_expr): Remove.
5392         (push_topmost_sequence): Don't save sequence_rtl_expr.
5393         (pop_topmost_sequence): Remove comment about not restoring it.
5394         (end_sequence): Don't set seq_rtl_expr.
5395         (init_emit): Don't initialize it.
5396         (mark_sequence_stack): Don't mark it.
5397         (mark_emit_status): Likewise.
5398         * except.c (protect_with_terminate): Use
5399         start_sequence_for_rtl_expr, not start_sequence.
5400         * expr.c (expand_expr, case RTL_EXPR): Don't call
5401         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5402         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5403         (preserve_rtl_expr_result): Remove.
5404         (free_temps_for_rtl_expr): Likewise.
5405         (pop_temp_slots): Likewise.
5406         (mark_temp_slot): Don't mark the rtl_expr.
5407         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5408         start_sequence_for_rtl_expr.
5409         
5410 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5411
5412         * mkdeps.c, mkdeps.h: New files.
5413         * po/POTFILES.in: Add them.
5414         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5415         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5416         (mkdeps.o): New target.
5417
5418         * cppfiles.c: Delete deps_output.
5419         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5420         OBJECT_SUFFIX, and base_name.
5421         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5422         the include hash.
5423         (initialize_dependency_output): Use deps_init,
5424         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5425         all the unnecessary string bashing.
5426         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5427         level.
5428         * cpplib.c (do_include): Use deps_add_dep.
5429         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5430         deps_allocated_size, deps_size, deps_column members with
5431         single pointer to a struct deps.  Delete prototype of
5432         deps_output.
5433
5434         * cppinit.c: Fix thinko in previous patch.
5435
5436 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5437
5438         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5439         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5440         (mode_for_size_tree): New function.
5441         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5442         * tree.h (mode_for_size_tree): New declaration.
5443         
5444         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5445
5446 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5447
5448         * stmt.c (is_body_block): Move...
5449         * dwarfout.c, dwarf2out.c: ...from here.
5450         * tree.h: Declare it.
5451         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5452         * final.c (final_start_function): Do call remove_unnecessary_notes
5453         when scheduling.
5454
5455 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5456
5457         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5458         
5459         * cpplib.h (_dollar_ok): New macro.
5460         (is_idchar, is_idstart): Use it.
5461         (IStable): Rename to _cpp_IStable.  Declare it const if
5462         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5463         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5464         is_space): Update for renamed IStable.
5465
5466         * cppinit.c: Delete all references to FAKE_CONST and CAT
5467         macros. Define init_IStable as empty macro if gcc >=2.7 or
5468         C99. Change TABLE() to ISTABLE and hardcode name of table.
5469         (cpp_start_read): Don't change the IStable based on
5470         dollars_in_ident.
5471
5472         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5473         changed.  Handle '$' for char1 correctly.
5474         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5475
5476         * cppexp.c (tokentab2): Make const.
5477         (cpp_lex): Make toktab const.
5478         * cppinit.c (include_defaults_array): Make const.
5479         (initialize_standard_includes): Make default_include const.
5480
5481 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5482
5483         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5484         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5485         (gen_decl_die): Likewise.
5486         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5487         (output_decl): Likewise.
5488
5489         * varasm.c (make_function_rtl): If we change the name used in the
5490         rtl, update DECL_ASSEMBLER_NAME accordingly.
5491         (make_decl_rtl): Likewise.
5492
5493         * toplev.c (rest_of_compilation): Tweak formatting.
5494
5495         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5496         remove_unnecessary_notes.
5497         (debug_ignore_block): New fn.
5498         * toplev.h: Declare it.
5499         * emit-rtl.c (remove_unncessary_notes): Call it.
5500         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5501         * dwarf2out.h: Declare it.
5502         * final.c (final_start_function): Don't call remove_unnecessary_notes
5503         if we did insn scheduling.
5504
5505 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5506
5507         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5508         * cpplib.h: Delete SET_CPP_PEDANTIC.
5509
5510 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5511
5512         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5513         result is a RECORD_TYPE.
5514
5515 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5516
5517         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5518
5519 2000-03-03  Richard Henderson  <rth@cygnus.com>
5520
5521         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5522         addition over compliments over shifts.
5523
5524 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5525
5526         * reload1.c (reload_combine_note_use): Handle return register USEs.
5527         REG case: Handle multi-hard-register hard regs.
5528
5529 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5530
5531         * md.texi: Document use of '*' in insn pattern name.
5532
5533 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5534
5535         * calls.c (special_function_p): operator new may not be malloc-like.
5536
5537         * gcse.c (dump_hash_table): Really fix error in last change.
5538
5539 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5540
5541         * avr.c (print_operand): Use print_operand_address instead of
5542         output_addr_const.
5543         * avr/libgcc.S: Cleanup code.
5544
5545 2000-03-02  Richard Henderson  <rth@cygnus.com>
5546
5547         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5548
5549 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5550
5551         * tree.h (TYPE_ALIGN_UNIT): New macro.
5552
5553 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5554
5555         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5556
5557 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5558
5559         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5560         for the buffer.
5561         (SET_CPP_PEDANTIC): New macro.
5562         * cpplib.c (do_include): Don't bother checking system_header_p.
5563         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5564         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5565
5566         * function.h (struct expr_status): Add x_arg_space_so_far.
5567         (arg_space_so_far): New macro.
5568         * expr.c (init_expr): Initialize it.
5569         * calls.c (emit_call_1): Reset it.
5570         (compute_argument_block_size, expand_call): Use it.
5571         (expand_call, store_one_arg): Increment it.
5572
5573 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5574
5575         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5576         a UNION_TYPE.
5577
5578 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5579
5580         * cppfiles.c (cpp_read_file): New function.
5581
5582         * cpphash.c (collect_expansion): Make sure to reset last_token
5583         to NORM when we hit a string.  Handle trailing whitespace
5584         properly when the expansion is empty.
5585         (create_definition): Disable line commands while parsing the
5586         directive line.
5587         (dump_definition): If pfile->lineno == 0, output a line
5588         command ahead of the dump, and add a trailing newline.
5589
5590         * cppinit.c (append_include_chain): Add fifth argument, which
5591         indicates whether or not system headers are C++ aware.
5592         (initialize_standard_includes): New function,
5593         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5594         the include_defaults_array on to append_include_chain.
5595         (dump_special_to_buffer): Const-ify char array.
5596         (builtin_array): Don't dump __BASE_FILE__.
5597         (cpp_start_read): Use cpp_read_file.  Reorder code for
5598         clarity.  Don't output line commands here for -D/-A/-U
5599         switches.  Don't call deps_output for files included with
5600         -include or -imacros.
5601
5602         * cpplib.c (do_define): Don't pay any attention to the second
5603         argument.
5604         (cpp_expand_to_buffer): Disable line commands while scanning.
5605         (output_line_command): Work in the file buffer.
5606         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5607         Fix formatting of comments.  Prototype cpp_read_file.
5608
5609 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5610
5611         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5612         reference the language-equivalent of sizetype.
5613         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5614         * fold-const.c (size_binop, size_diffop): Put back checks.
5615         * gcse.c (dump_hash_table): Fix minor error in last change.
5616         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5617         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5618         all sizetypes.
5619
5620 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5621
5622         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5623         with inhibit_defer_pop set.
5624
5625 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5626
5627         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5628         the DECL_SIZE for a FIELD_DECL.
5629
5630 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5631
5632         * fixinc/inclhack.tpl: remove unused symlinks
5633         * fixinc/README: GCC Maintainer info
5634         * fixinc/inclhack.sh: regen
5635         * fixinc/fixincl.sh: regen
5636
5637 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5638
5639         * cpphash.c (collect_expansion): Trim trailing white space
5640         from macro definitions, but don't go past the last insertion
5641         point.
5642
5643 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5644
5645         * i386.md (mulqi3): New pattern.
5646
5647 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5648
5649         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5650         token types.
5651         (struct cpp_reader): Add parsing_if_directive and
5652         parsing_define_directive flags.               
5653         (struct cpp_options): Remove output_conditionals flag.
5654         (check_macro_name): Delete prototype.
5655
5656         * cpphash.h (struct macrodef): Delete.
5657         (struct reflist): Separate from struct definition.
5658         (struct definition): Remove unused fields.  Add column number.
5659         (create_definition): Returns a DEFINITION *.  Takes a
5660         cpp_reader * and an int.
5661
5662         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5663         (PEEKC): Copy defn from cpplib.c.
5664         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5665         (struct arg): New.
5666         (struct arglist): Simplify.
5667         (collect_expansion): Rewrite.  Get tokens by calling
5668         cpp_get_token.  Add more error checking.
5669         (collect_formal_parameters): New function, broken out of
5670         create_definition and reworked to use get_directive_token.
5671         (create_definition): All real work is now in collect_expansion
5672         and collect_formal_parameters.  do_define handles finding the
5673         macro name.  Return a DEFINITION, not a MACRODEF.
5674         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5675         character-at-a-time copy loop with memcpy and pointer increments.
5676         (compare-defs): d1->argnames / d2->argnames might be null.
5677
5678         * cpplib.c (copy_rest_of_line): Delete function.
5679         (skip_rest_of_line): Do all the work ourselves.
5680         (skip_string): New function.
5681         (parse_string): Use skip_string.
5682         (get_macro_name): New function.
5683         (check_macro_name): Delete.
5684         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5685         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5686         (handle_directive): ICE if we're called on a macro buffer.
5687         (do_define): Determine macro name and type (funlike/objlike)
5688         here.  Expunge all uses of MACRODEF.
5689         (cpp_push_buffer): Set line_base to NULL.
5690         (do_undef, read_line_number): Don't worry about getting a POP token.
5691         (eval_if_expression): Set/reset parsing_if_directive around
5692         cpp_parse_expr. Don't clear only_seen_white.
5693         (skip_if_group): Remove output_conditionals logic.  Use
5694         skip_rest_of_line.
5695         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5696         tokens under appropriate conditions.
5697         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5698
5699         * cppexp.c (parse_defined): New function, break out of
5700         cpp_lex.
5701         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5702         ourselves, with cpp_defined.
5703         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5704
5705         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5706         * gcc.dg/strpaste-2.c: New.
5707
5708 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5709
5710         * fold-const.c (size_binop): Don't asert inputs are the same and
5711         have TYPE_IS_SIZETYPE set.
5712         (size_diffop): Likewise.
5713
5714 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5715
5716         * dwarfout.c (output_block): Output abstract blocks even if they
5717         don't have TREE_ASM_WRITTEN set.
5718
5719         * calls.c (emit_library_call): Check for null REG.
5720
5721 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5722
5723         * c-decl.c (current_function_decl): Move to toplev.c.
5724         (init_decl_processing): Don't add current_function_decl as a ggc
5725         root here.
5726         * dbxout.c (dbxout_symbol): Change return type to int.
5727         (dbxout_symbol_location, dbxout_syms): Likewise.
5728         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5729         any locals. Use current_function_func_begin_label if set.
5730         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5731         * dwarf2out.c (dwarf2out_begin_prologue): Set
5732         current_function_func_begin_label.
5733         * final.c (final_start_function): Reset it.
5734         * toplev.c (current_function_decl): Define it here.
5735         (current_function_func_begin_label): New variable.
5736         (main): Add both as ggc roots.
5737         * tree.h (current_function_func_begin_label): Declare.
5738
5739 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5740
5741         * gcse.c: Cleanups throughout: mostly white-space, but also
5742         some minor rearrangement of code.
5743
5744 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5745
5746         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5747         returns a PARALLEL.  Use emit_group_load and use_group_regs
5748         as needed.  
5749         (emit_library_call_value): Similarly.
5750
5751         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5752         * pa/quadlib.asm: Remove.
5753         * pa/quadlib.c: New file.
5754
5755         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5756         * configure: Rebuilt.
5757
5758 2000-02-29  Philip Blundell  <pb@futuretv.com>
5759
5760         * config/arm/conix-elf.h: New file.
5761         * configure.in (arm*-*-conix*): New configuration.
5762         * configure: Regenerate.
5763
5764 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5765
5766         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5767         don't have TREE_ASM_WRITTEN set.
5768
5769 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5770
5771         * Eliminate DECL_FIELD_SIZE.
5772         * builtins.c (built_in_class_names, built_in_names): New variables.
5773         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5774         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5775         DECL_SIZE, not DECL_FIELD_SIZE.
5776         * print-tree.c (print_node): Remove code that prints extra blank
5777         lines in some cases.
5778         Properly handle inline and builtin function cases.
5779         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5780         * tree.h (built_in_class_named, built_in_names): New declarations.
5781         (union tree_decl): Rename internal unions to u1 and u2 and change
5782         some of their components.
5783         Add new field built_in_class.
5784         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5785         Reflect above changes.
5786         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5787         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5788         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5789         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5790
5791 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5792
5793         * extend.texi: Document ARM's support for long/short calls.
5794
5795         * invoke.texi: Document ARM's -mlong-calls command line switch.
5796         
5797         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5798         (arm_encode_call_attribute): Add prototype.
5799         (arm_set_default_type_attribute): Add prototype.
5800         (arm_strip_name_encoding): Add prototype.
5801
5802         * config/arm/arm.c (arm_init_cumulative_args): replace
5803         initialisation og 'long_calls' field with initialisation of
5804         'call_cookie' field.
5805         (enum arm_pragma_enum): New enum.
5806         (arm_pragma_long_calls): New static variable.
5807         (arm_process_pragma): Also process "#pragma long_calls_off".
5808         (arm_valid_type_attribute_p): Accept short_call attribute.
5809         (arm_comp_type_attributes): Check long/short call attributes.
5810         (arm_encode_call_attribute):  New function:  Encode long_call
5811         or short_call attribute in function name.
5812         (arm_set_default_type_attributes): New function: Assign
5813         default attributes to newly defined type.
5814         (current_file_function_operand): New function: Return true if
5815         the symbol is a function which has already been compiled.
5816         (arm_is_longcall_p): New function: Return true if the
5817         indicated function should be called via a long call.
5818         (arm_get_strip_length): New function.  Returns number of
5819         prefix characters to be stripped from a function's name.
5820         (arm_strip_name_encoding): New function.  Strip prefix characters
5821         from a function's name.
5822
5823         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5824         with 'call_cookie'.
5825         (SHORT_CALL_FAG_CHAR): Define.
5826         (LONG_CALL_FAG_CHAR): Define.
5827         (ENCODED_SHORT_CALL_ATTR_P): Define.
5828         (ENCODED_LONG_CALL_ATTR_P): Define.
5829         (ARM_NAME_ENCODING_LENGTHS): Define.
5830         (STRIP_NAME_ENCODING): Define.
5831         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5832         (ARM_ENCODE_CALL_TYPE): Define.
5833         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5834         (ARM_DECLARE_FUNCTION_SIZE): Define.
5835         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5836
5837         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5838         if a long call is needed.
5839         (call_value): Ditto.
5840         (call_symbol): Ditto.
5841
5842         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5843         ARM_DECLARE_FUNCTION_SIZE.
5844
5845         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5846         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5847         (ARM_STRIP_NAME_ENCODING): Undefine.
5848         (STRIP_NAME_ENCODING): Undefine.
5849         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5850         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5851         (ASM_OUTPUT_COMMON): Ditto.
5852         (ASM_DECLARE_OBJECT_NAME): Ditto.
5853
5854         * config/arm/pe.c (arm_dllexport_name_p): Check for
5855         ARM_PE_FLAG_CHAR.
5856         (arm_dllimport_name_p): Ditto.
5857         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5858         (arm_mark_dllimport): Ditto.
5859         
5860 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5861
5862         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5863
5864 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5865
5866         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5867
5868 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5869
5870         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5871         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5872         NO_BUILTIN_WCHAR_TYPE is not defined.
5873         (CPP_WCHAR_TYPE): Delete.
5874         * cccp.c (main): Don't change wchar_type if cplusplus.
5875         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5876
5877 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5878
5879         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5880
5881 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5882
5883         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5884         (ASM_WEAKEN_LABEL): Define.
5885  
5886 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5887
5888         * expr.c (store_constructor): Do not emit USE.
5889         * rtl.h (stupid_life_analysis): Remove.
5890
5891 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5892
5893         * function.c (number_blocks): Reset next_block_index based on
5894         what debugging format is used, not what is defined.
5895         
5896         * lcm.c: Minor reformatting throughout.
5897         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5898         
5899         * toplev.c (rest_of_compilation): Account for time in
5900         optimize_mode_switching.
5901
5902         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5903         if only marking labels.
5904
5905 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5906
5907         * calls.c (expand_call): Attempt to combine stack adjustments with
5908         pending stack adjustments.
5909
5910 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5911
5912         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5913         to the end of the function.
5914
5915 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5916
5917         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5918         blocks.
5919         * final.c (next_block_index): Remove.
5920         (max_block_depth): Likewise.
5921         (pending_blocks): Likewise.
5922         (init_final): Don't initialize them.
5923         (final_start_function): Don't set next_block_index.  Set up
5924         BLOCK_NUMBER.
5925         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5926         * function.h (number_blocks): New function.
5927         * function.c (get_block_vector): New function.
5928         (identify_blocks): Use it.
5929         (reorder_blocks): Set NOTE_BLOCK.
5930         (number_blocks): New function.
5931         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5932         * tree.h (BLOCK_NUMBER): New macro.
5933         (tree_block): Add block_num field.
5934         * dbxout.c (next_block_number): Remove.
5935         (dbxout_init): Don't set it.
5936         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5937         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5938         block numbers.
5939         * toplev.c (rest_of_compilation): Always call
5940         find_loop_tree_blocks.  Fix indentation.
5941         * dwarf2out.c (next_block_number): Remove.
5942         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5943         to determine block numbers.
5944         (gen_inlined_subroutine_die): Likewise.
5945         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5946         (decls_for_scope): Don't increment next_block_number.
5947         * dwarfout.c (next_block_number): Remove.
5948         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5949         to determine block numbers. 
5950         (output_inlined_subroutine_die): Likewise.
5951         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5952         (output_decls_for_scope): Don't increment next_block_number.
5953         * sdbout.c (next_block_number): Remove.
5954         (sdbout_block): Use BLOCK_NUMBER.
5955         (sdbout_begin_block): Simplify.
5956         * xcoffout.c (next_block_number): Remove.
5957         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5958         (xcoffout_begin_block): Don't set next_block_number.
5959         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5960         next_block_number.
5961         
5962 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5963
5964         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5965         (expand_builtin_strcpy): Pass correct type to size_binop.
5966         (expand_builtin_strcmp): Likewise.
5967         Clean up conditional structure.
5968         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5969         (complete_array_type): Don't use size_binop for MAXINDEX.
5970         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5971         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5972         (c_alignof): Use size_one_node.
5973         (build_unary_op): Pass arg of proper type to size_binop.
5974         (really_start_incremental_init, push_init_level): Use sizetype for
5975         constructor{,_bit,_unfilled}_index.
5976         (pop_init_label, output_init_element): Likewise.
5977         (output_pending_init_elements, process_init_element): Likewise.
5978         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5979         * expr.c (store_expr): Use size_int.
5980         (store_constructor): Use proper types for size_binop args.
5981         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5982         (expand_expr_unaligned): Likewise.
5983         (string_contant): Return object of sizetype.
5984         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5985         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5986         (ARGS_SIZE_TREE): Pass proper types to size_binop.
5987         * fold-const.c (int_const_binop): Refine when size_int is called.
5988         (fold_convert): Likewise.
5989         (size_int_wide): Rework to take KIND as arg, only take low order
5990         bits, handle new sizetype_tab datatype, and chain entries in
5991         size_table.
5992         (size_int_type_wide): New function.
5993         (size_binop): Validate types of arguments.
5994         (ssize_binop): Deleted.
5995         (size_diffop): New function.
5996         (extract_muldiv): Only fold division into multiplication for sizetypes.
5997         * function.c (assign_parms): Use size_diffop and make sure
5998         VAR field is of ssizetype; also pass proper type to size_binop.
5999         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6000         (round_down): Deleted from here.
6001         * store-layout.c (sizetype_tab): Now an array.
6002         (sizetype_set, early_root_list): New variables.
6003         (variable_size): Use size_one_node.
6004         (round_up): Pass proper type to size_binop.
6005         (round_down): Moved to here and corrected as above.
6006         (layout_record): Pass proper arg types to size_binop.
6007         (layout_type): Likewise.
6008         If sizetype_set is zero, record the type just laid out.
6009         (make_unsigned_type): Don't call set_sizetype;
6010         (make_signed_type): Likewise; also, call fixup_signed_type.
6011         (initialize_sizetypes): New function.
6012         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6013         set name of bitsizetype to "bit_size_type".
6014         Fix up type of sizes of all types made before call.
6015         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6016         * tree.c (fix_sizetype): Deleted.
6017         (build_common_tree_nodes): Call initialize_sizetypes.
6018         (build_common_tree_nodes_2): Don't call fix_sizetype.
6019         * tree.h (TYPE_IS_SIZETYPE): New macro.
6020         (initialize_sizetype): New declaration.
6021         (enum size_type_kind): New type.
6022         (struct sizetype_tab): Deleted.
6023         (sizetype_tab): Now array; adjust sizetype macros.
6024         (size_diffop, size_int_type_wide): New functions.
6025         (size_int_wide): Change number of args and type; access macros changed.
6026         (ssize_int, sbitsize_int): New macros.
6027         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6028         (ROUND_TYPE_SIZE_UNIT): New macro.
6029
6030 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
6031
6032         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6033
6034 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6035
6036         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6037         Mark as possibly unused.
6038
6039         * cse.c (cse_insn): Delete dead code involving tablejump.
6040         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6041
6042         * Makefile.in (libcpp.a): Start by deleting it.
6043
6044 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6045
6046         * cpplib.h (enum file_change_code): Added rename_file.
6047         * cpplib.c (do_line): If a filename is given, set file_change to
6048         rename_file.
6049         (output_line_command): If file_change is rename_file, always
6050         output a # directive with the file name.
6051
6052         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6053
6054 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
6055
6056         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6057         when copying a PARM_DECL or RESULT_DECL.
6058
6059 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6060
6061         * fix-header.c (recognized_function): Also fix prototypes for
6062         functions taking "void".
6063
6064 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6065
6066         * reload1.c (do_output_reload): Check reg_reloaded_valid before
6067         looking at reg_reloaded_contents.
6068
6069 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
6070
6071         * Makefile.in (STMP_FIXINC): New toggle.
6072         (LIBGCC2_DEPS): Delete all references.
6073         (stmp-headers): Delete target.  All references either deleted
6074         or changed to stmp-int-headers.
6075         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6076         (LIBCPP_OBJS): Take out cppalloc.o.
6077         (cppalloc.o): Delete target.
6078         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6079         (gen-protos, fix-header): Link with libiberty.a.
6080         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
6081         to empty.
6082
6083         * configure.in: Remove refs to strerror.
6084         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6085         * system.h: Take out strerror stanza.
6086
6087         * cpperror.c (my_strerror): Delete function.
6088         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6089         * cppmain.c (main): Call xmalloc_set_program_name first thing.
6090         * cppalloc.c: Delete file.
6091         * gen-protos.c: Don't provide xrealloc.
6092
6093         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6094         xstrerror throughout.
6095
6096 2000-02-26  Bruce Korb  <bkorb@gnu.org>
6097
6098         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6099         match for DOS headers, too.
6100         * fixinc/inclhack.sh,fixincl.x: Regenerate.
6101
6102 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6103
6104         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
6105         is right for most ELF targets.
6106         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6107         Let the default file use %U properly.
6108         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
6109         default.
6110
6111         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6112         numbers.
6113
6114 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6115
6116         * toplev.c (documented_lang_options): Correct spelling error.
6117         (decode_d_option, decode_f_option, main): Likewise.
6118
6119         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
6120
6121         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
6122         to tell assembler it is permitted to expand large constants.
6123
6124 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
6125
6126         * protoize.c: (AUX_INFO_SUFFIX): New macro.
6127         (aux_info_suffix): Use.
6128         (SAVE_SUFFIX): New macro.
6129         (save_suffix): Use.
6130         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
6131         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
6132         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
6133
6134         * invoke.texi (Running Protoize): Update documentation.
6135
6136 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
6137
6138         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
6139
6140 2000-02-25  John Wehle  (john@feith.com)
6141
6142         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
6143
6144 2000-02-25  Anthony Green  <green@cygnus.com>
6145
6146         * toplev.c (rest_of_compilation): Rebuild jump labels if
6147         combine_instructions has created a new direct jump.
6148         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
6149         when appropriate.
6150         (combine_instructions): Call try_combine with new argument.
6151         Return non-null value when new direct jump instruction is created.
6152         * rtl.h: combine_instructions returns an int.
6153
6154 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
6155
6156         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6157         jump when changing a computed jump into a jump to a known
6158         target.
6159
6160 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
6161
6162         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6163         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6164
6165         * i386.md (define_expand "clrstrsi"): Fix typo.
6166
6167 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
6168
6169         * rtl.texi: Fix typo.
6170
6171 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6172
6173         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6174         UNITS_PER_WORD.  Change caller initial_elimination_offset.
6175         (rounded_frame_size): Take into account that argument pushed has
6176         changed.  Fix TARGET_ALIGN_DOUBLE problem.
6177
6178 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
6179
6180         * haifa-sched.c (schedule_block): Explain the real reason
6181         we delete REG_SAVE_NOTEs on the first insn of a block.
6182         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6183
6184 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
6185
6186         * input.h (push_srcloc): New function.
6187         (pop_srcloc): Likewise.
6188         * toplev.c (push_srcloc): Define it.
6189         (pop_srcloc): Likewise.
6190
6191 2000-02-24  Richard Henderson  <rth@cygnus.com>
6192
6193         * flow.c (life_analysis): When collecting reg info, clear
6194         regs_ever_live.
6195
6196 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6197
6198         Fix bug exposed by reload.c no longer rounding the frame
6199         size to BIGGEST_ALIGNMENT:
6200         * sh.c (rounded_frame_size): New function.
6201         (sh_expand_prologue, sh_expand_epilogue): Use it.
6202         (initial_elimination_offset): Likewise.
6203
6204 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6205
6206         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6207         * sh-protos.h (sh_need_epilogue): Declare.
6208         * sh.c (sh_need_epilogue_known): New static variable.
6209         (sh_need_epilogue): New function.
6210         (function_epilogue): Clear need_epilogue_known.
6211         * sh.md (return): Split into expander / insn pattern.
6212         Make the expander conditional on ! sh_need_epilogue ().
6213
6214 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6215
6216         * machmode.h (get_mode_alignment): Declare.
6217         (GET_MODE_ALIGNMENT): Call it.
6218         * stor-layout.c (get_mode_alignment): New function. Make
6219         sure alignment is always power of 2.
6220
6221 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6222
6223         * i386.h: Remove useless definition of "I386" and misleading
6224         comment above it.
6225
6226 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6227
6228         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6229         under which TREE_PERMANENT will be set.
6230         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6231         build1): Use TREE_SET_PERMANENT.
6232         * print-tree.c (print_node): Don't report value of
6233         TREE_PERMANENT if ggc_p is true.
6234
6235         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6236         decide whether to give a type a new alias set.
6237         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6238         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6239         of value of 'obstack'.
6240
6241
6242 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6243
6244         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6245
6246 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6247
6248         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6249         * cpplib.c (cpp_get_token): Produce them.
6250         * cppexp.c (cpp_lex): Handle them.
6251
6252 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6253
6254         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6255         comment tests on type attributes.
6256
6257 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6258
6259         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6260         conform to documentation.
6261         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6262         to check for special cases.
6263         * sh-protos.h (sh_loop_align): Declare.
6264         * sh.c (sh_loop_align): Define.
6265
6266 2000-02-22  Andrew Haley  <aph@cygnus.com>
6267
6268         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6269         (SIZE_TYPE): Is 32 bits when using -mgp32.
6270         (PTRDIFF_TYPE): Ditto.
6271
6272 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6273
6274         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6275
6276 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6277
6278         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6279         BIGGEST_FIELD_ALIGNMENT a constant.
6280
6281 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6282
6283         * dwarf2out.c (output_line_info): Put the marker for the end of
6284         the line number info at the actual end.
6285         (gen_struct_or_union_type_die): Use decl_function_context 
6286         to check for local classes.
6287         * dwarfout.c (output_type): Likewise.
6288
6289 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6290
6291         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6292         for arguments with a mode, but no type.
6293         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6294         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6295         * pa/long_double.h: New file.
6296         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6297         both have 128bit wide long doubles.
6298         * configure: Rebuilt.
6299
6300 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6301
6302         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6303
6304         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6305         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6306         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6307
6308         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6309
6310         * integrate.c (compare_blocks, find_block): Likewise.
6311
6312         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6313
6314         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6315
6316         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6317         expand_asm_operands): Likewise.
6318
6319 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6320
6321         * predict.c (estimate_probability): Added the pointer heuristic to
6322         the collection of static branch predictors.
6323
6324 2000-02-21  Catherine Moore  <clm@cygnus.com>
6325
6326         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6327         * invoke.texi (-mfix7000): Document.
6328
6329 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6330
6331         * diagnostic.c (init_output_buffer): Make it possible to output at
6332         least 32 characters if we're given a too long prefix.
6333
6334 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6335
6336         * varasm.c (initializer_constant_valid_p): Call
6337         lang_expand_constant to simplify the constant.
6338
6339 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6340
6341         * fixinc/inclhack.def(stdio_va_list):
6342         typedef needs to be disabled.
6343         * fixinc/inclhack.sh: regen
6344         * fixinc/fixincl.x: regen
6345
6346 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6347
6348         * print-rtl.c (print_rtx): Don't print addresses when
6349         flag_dump_unnumbered.
6350
6351 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6352
6353         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6354         ATTRIBUTE_UNUSED.
6355         (sparc_va_arg, sparc_flat_output_function_prologue,
6356         sparc_flat_output_function_epilogue): Cast value to unsigned in
6357         comparison.
6358         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6359         
6360         * sparc.md: Add default case in switch.
6361
6362 2000-02-19  Richard Henderson  <rth@cygnus.com>
6363
6364         * c-typeck.c (add_pending_init): Don't abort for multiple
6365         fields at the same offset.
6366         (pending_init_member): Test the correct member.
6367
6368 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6369
6370         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6371         instead of SImode.
6372         (start_catch_handler) : Same.
6373
6374 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6375
6376         * Makefile.in: Have flow.o depend on $(EXPR_H)
6377
6378 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6379
6380         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6381         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6382         (finish_decl): Remove -Wlarger-than code from here.
6383         * flags.h (id_clash_len): Now int.
6384         (larger_than_size): Now HOST_WIDE_INT.
6385         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6386         Clean up checking to see if in table.
6387         (make_bit_field_ref): Remove extra parm to bitsize_int.
6388         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6389         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6390         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6391         and for computing size of decl.
6392         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6393         Move -Wlarger-than code to here.
6394         (layout_record): Remove extra arg to bitsize_int.
6395         Set TYPE_BINFO_SIZE_UNIT.
6396         (layout_union): Remove extra arg to bitsize_int.
6397         Use proper type for size of QUAL_UNION.
6398         (layout_type): Remove extra arg to bitsize_int.
6399         * toplev.c (id_clash_len): Now int.
6400         (larger_than_size): Now HOST_WIDE_INT.
6401         (decode_W_option): Clean up id-clash and larger-than- cases.
6402         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6403         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6404         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6405         (struct tree_decl): New field size_unit.
6406         (size_int_wide): No HIGH operand; NUMBER is now signed.
6407         (size_int_2): Deleted.
6408         (size_int, bitsize_int): Don't use it and rework args.
6409         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6410
6411 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6412
6413         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6414
6415 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6416
6417         * invoke.texi (Warning Options): Add an explanation of why
6418         you might want the -Wfloat-equal flag.
6419
6420 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6421
6422         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6423         * cppinit.c (new_pending_define): Add cast to avoid warning.
6424         * expmed.c (extract_bit_field): Likewise.
6425         * flow.c (enum reorder_skip_type): New type.
6426         (skip_insns_between_blcok): New it.
6427         Rework to avoid warning about possibly undefined variable.
6428         * function.c (assign_parms): Make thisparm_boundary unsigned.
6429         * genrecog.c (write_switch): Cast XWINT result to int.
6430         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6431         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6432         one for MIPS and one for Alpha.
6433         (get_tag, copy_object): Add casts to avoid warnings.
6434         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6435         * reload.c (find_reloads): Make TYPE enum reload_type.
6436         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6437         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6438         * varasm.c (compare_constant_1): Add cast to avoid warning.
6439         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6440         to (char *).
6441         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6442         Cast switch operand of size to int.
6443         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6444         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6445         in unhandled case.
6446
6447 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6448
6449         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6450         anything for an alignment of zero.
6451
6452         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6453         anything for an alignment of zero.
6454
6455 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6456
6457         * gcc.texi (Bug Reporting): Refer to bugs.html.
6458         (Bug Lists): Likewise.
6459         * system.h (GCCBUGURL): New preprocessor define.
6460         * rtl.c (fancy_abort): Use it.
6461         * gcc.c (main): Likewise.
6462
6463 2000-02-18  Richard Henderson  <rth@cygnus.com>
6464
6465         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6466         (life_analysis_1): Subsume into ...
6467         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6468         Use update_life_info for the relaxation.
6469         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6470         entry and regs_live_at_setjmp.
6471         (set_noop_p): Simplify.
6472         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6473         (record_volatile_insns): Split into ...
6474         (delete_noop_moves): ... here,
6475         (notice_stack_pointer_modification): ... here,
6476         (insn_dead_p): ... and here.
6477         (propagate_block): Don't query INSN_VOLATILE.
6478         (mark_used_regs): Mind !PROP_REG_INFO.
6479         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6480         not in life_analysis.
6481
6482 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6483
6484         * loop.c (canonicalize_condition): New function,
6485         broken out of get_condition.
6486         (get_condition): Use it.
6487         * expr.h (canonicalize_condition): Prototype it.
6488
6489         * tree.h (tree_int_cst_msb): Declare.
6490         * tree.c (tree_int_cst_msb): New function.
6491
6492 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6493
6494         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6495         isn't set.
6496
6497         * invoke.texi (-fmessage-length=n): Document.
6498
6499 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6500
6501         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6502
6503 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6504
6505         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6506         after the prologue.
6507
6508 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6509
6510         * config/arm/thumb.c: Replace includes of system headers with
6511         #include "system.h".
6512
6513 2000-02-16  Richard Henderson  <rth@cygnus.com>
6514
6515         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6516         Add crtbeginS.o and crtendS.o.
6517         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6518         (ENDFILE_SPEC): Use crtendS.o.
6519         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6520
6521         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6522         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6523         shared and present.
6524         (__dso_handle): New variable.
6525         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6526         bias to __CTOR_END__.
6527         
6528 2000-02-16  Richard Henderson  <rth@cygnus.com>
6529
6530         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6531
6532 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6533
6534         * longlong.h (__clz_tab): Declare as static to match definition.
6535
6536 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6537         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6538         (XREF_FILE_NAME): Define.
6539
6540         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6541         (EH_FRAME_SECTION_ASM_OP): Define.
6542         (IDENT_ASM_OP): Define.
6543         (TEXT_SECTION_ASM_OP): Define.
6544         (CPP_SPEC): Define.
6545         (CTORS_SECTION_ASM_OP): Define.
6546         (CTOR_SECTION_FUNCTION): Use it.
6547         (DTORS_SECTION_ASM_OP): Define.
6548         (DTOR_SECTION_FUNCTION): Use it.
6549
6550 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6551
6552         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6553         NOTE_BASIC_BLOCK.
6554
6555         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6556         debug_bb_n): New functions.
6557         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6558         * basic-block.h: Prototype new functions.
6559
6560 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6561
6562         * configure.in: Add support for avr target.
6563         * configure: Rebuilt.
6564
6565         * invoke.texi: Add AVR invocation docs.
6566         * install.texi: Add information about AVR.
6567         * md.texi: Add AVR constraint letters description.
6568         * extend.texi: Add description for AVR specific attributes.
6569
6570 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6571
6572         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6573
6574 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6575
6576         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6577         (make_insn_raw): Move RTL check here.
6578
6579 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6580
6581         * version.c: Include gansidecl.h and version.h.
6582
6583         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6584         
6585         * configure.in (gcc_version): When setting, narrow search to
6586         lines containing `version_string'.
6587
6588         * Makefile.in (mainversion): Likewise. 
6589         (GCC_H): New variable.
6590         (gcc.h): Delete target.
6591         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6592         (version.o): Depend on version.h.
6593         (dbxout.o): Don't depend on gcc.h.
6594
6595 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6596                           Michael Meissner  <meissner@cygnus.com>
6597
6598         * md.texi (Simple Constraints): Add item about whitespace.
6599         * genoutput.c (strip_whitespace): New.
6600         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6601         strip_whitespace for constraints.
6602         Test pointer using NULL, not 0.
6603
6604 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6605
6606         * cpplib.c (do_line): Pedwarn for #line > 32767.
6607
6608         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6609
6610 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6611
6612         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6613         to default cpp spec.
6614         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6615         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6616         * cpp.1: Likewise.
6617
6618         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6619         default spec.
6620
6621 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6622
6623         * configure.in: Add support for avr target.
6624
6625 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6626
6627         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6628         (sh_addr_diff_vec_mode): Don't declare.
6629         * sh.c (sh_addr_diff_vec_mode): Delete.
6630
6631 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6632
6633         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6634
6635 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6636
6637         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6638         (smulsi3_highpart_i): Name.
6639         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6640         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6641         (smulsi3_highpart, umulsi3_highpart): Likewise.
6642
6643         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6644         correctly independent of endianness.
6645         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6646         confuse the optimizers.
6647         (mulsidi3+1, umulsidi3+1): New define_split.
6648
6649 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6650
6651         * config/sh/sh.md: Guard insn splits against illegal registers.
6652         * config/sh/sh.h: Correct comment about macros.
6653
6654 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6655                           Andrew MacLeod  <amacleod@cygnus.com>
6656
6657         * Makefile.in (lcm.o): Depend on insn-attr.h.
6658         * basic-block.h (optimize_mode_switching): Declare.
6659         * lcm.c (tm_p.h, insn-attr.h): #include.
6660         (seginfo, bb_info): New structs.
6661         (antic, transp, comp, delete, insert) : New file-scope static variables.
6662         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6663         (reg_becomes_live, optimize_mode_switching): Likewise.
6664         * tm.texi: Add description of mode switching macros.
6665         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6666
6667         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6668         (fldi_ok, fpscr_set_from_mem): New prototypes.
6669         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6670         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6671         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6672         (sh_flag_remove_dead_before_cse): Remove declaration.
6673         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6674         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6675         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6676         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6677         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6678         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6679         (fldi_ok): New function.
6680         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6681         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6682         (emit_df_insn): Likewise.
6683         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6684         (sh_flag_remove_dead_before_cse): Delete.
6685         (get_free_reg, fpscr_set_from_mem): New functions.
6686         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6687         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6688
6689 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6690
6691         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6692
6693 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6694
6695         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6696         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6697
6698         * cccp.c: Include version.h and/or don't declare `version_string'.
6699         * collect2.c: Likewise.
6700         * alpha.c: Likewise.
6701         * arm/aof.h: Likewise.
6702         * arm/coff.h: Likewise.
6703         * arm/elf.h: Likewise.
6704         * arm/pe.h: Likewise.
6705         * arm/tcoff.h: Likewise.
6706         * arm/telf.h: Likewise.
6707         * arm/tpe.h: Likewise.
6708         * arm/vxarm.h: Likewise.
6709         * convex/convex.c: Likewise.
6710         * i386/dgux.c: Likewise.
6711         * i386/sun386.h: Likewise.
6712         * m88k/m88k.c: Likewise.
6713         * mcore/mcore-pe.h: Likewise.
6714         * mips/mips.h: Likewise.
6715         * romp/romp.h: Likewise.
6716         * sh/sh.c: Likewise.
6717         * cpphash.c: Likewise.
6718         * cppinit.c: Likewise.
6719         * dwarf2out.c: Likewise.
6720         * dwarfout.c: Likewise.
6721         * gcc.c: Likewise.
6722         * gcc.h: Likewise.
6723         * mips-tfile.c: Likewise.
6724         * protoize.c: Likewise.
6725         * toplev.c: Likewise.
6726         * tree.h: Likewise.
6727         
6728         * version.c (version_string): Constify a char*.
6729
6730         * version.h: New file.
6731
6732 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6733
6734         * configure.in: Add mcore-elf and mcore-pe targets.
6735         * configure: Regenerate.
6736
6737         * NEWS: Add note that MCore port has been contributed.
6738
6739         * invoke.texi: Document command line switches for MCore port.
6740         * install.texi: Add MCore to list of supported targets.
6741
6742 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6743
6744         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6745         then we will need to import the frame handling functions.
6746         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6747         to import the frames themselves.
6748
6749 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6750                           Jason Eckhardt  <jle@cygnus.com>
6751
6752         * basic_block.h: Added prototype for reorder_basic_blocks.
6753         * toplev.c: Changes to add -freorder-blocks and graph dump after
6754         block reordering is done.
6755         * flow.c (reorder_block_def): New structure for use during block
6756         reordering.
6757         (REORDER_BLOCK_*): New macros to access members of above structure.
6758         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6759         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6760         functions for block reordering.
6761
6762 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6763
6764         * gcc.texi (Passes): Fix typo.
6765         * md.texi (Standard Names): Ditto.
6766         * tm.texi (Storage Layout): Ditto.
6767
6768 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6769
6770         * cpplib.c (do_define): Only free the old definition if it
6771         actually had one.
6772
6773 2000-02-13   Neil Booth  <NeilB@earthling.net>
6774
6775         * cppfiles.c (read_and_prescan): When emitting deferred
6776         newlines, test speccase[] again instead of checking each
6777         possible whitespace character in turn.  When we encounter \r,
6778         look behind for \n first, then ahead.
6779
6780 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6781
6782         * cse.c (cse_altered): New internal flag.
6783         (cse_insn): Set it if we changed an insn.
6784         (cse_main): Clear cse_altered before each basic block.
6785         Only garbage collect if cse_altered is true afterward.
6786
6787 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6788
6789         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6790
6791 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6792
6793         * combine.c (simplify_comparison): Fix typo.
6794
6795 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6796
6797         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6798         consistently.
6799
6800 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6801
6802         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6803         previously inserted node instead of root node.  Caller changed.
6804
6805 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6806
6807         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6808
6809 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6810
6811         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6812         __dereg_frame_dtor): Add prototype argument.
6813
6814         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6815
6816         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6817
6818         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6819
6820         * gthr-vxworks.h (__gthread_once): Likewise.
6821
6822         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6823
6824 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6825
6826         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6827         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6828         stack pointer in functions w/o saved registers, output LEAVE more often
6829         on TARGET_USE_LEAVE machines.
6830
6831 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6832
6833         * config/arm/arm.c (arm_init_cumulative_args); New function:
6834         Initlaise the CUMULATIE_ARGS strcuture for a function
6835         defintion. 
6836         (arm_function_arg): New function: Determine where to place a
6837         function's argument.  Also handles deciding the function's
6838         call cookie.
6839         (current_file_function_operand): New function: Return true if
6840         the symbol is a function which has already been compiled.
6841         (arm_is_long_call_p): New function: Return true if the
6842         indicated function should be called via a long call.
6843         (arm_valid_type_attribute_p): New function: Return true if the
6844         attribute is a valid, arm specific, attribute.
6845         (arm_comp_type_attribute): New function: Return true if the
6846         two types have compatable, arm specific, attributes.
6847
6848         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6849         structure.
6850         (FUNCTION_ARG): Redefine to call arm_function_arg.
6851         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6852         structure field.
6853         (INIT_CUMULATIVE_ARGS): Redefine to call
6854         arm_init_cumulative_args.
6855         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6856         field. 
6857         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6858         field. 
6859         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6860         functions.
6861         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6862         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6863         (COMP_TYPE_ATTRIBUTES): Define.
6864
6865         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6866         if a long call is needed.
6867         (call_value): Call arm_is_long_call_p to decide if a long call
6868         is needed.
6869         (call_symbol): Call arm_is_long_call_p to decide if a long call
6870         is needed.
6871
6872         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6873
6874 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6875
6876         * README.AVR: New file with information about the avr ports.
6877         * config/avr: New directory with avr port files.
6878
6879 2000-02-11  Andreas Jaeger  <aj@suse.de>
6880
6881         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6882
6883 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6884
6885         * cpphash.c: Fix formatting, update commentary.
6886         (dump_definition): Take three separate arguments instead of a
6887         MACRODEF structure argument.
6888         * cpphash.h: Update prototype of dump_definition.
6889         * cppinit.c (cpp_finish): Update call of dump_definition.
6890
6891         * cpplib.c (do_define): Always create new hash entry with
6892         T_MACRO type.  Remove redundant check for redefinition of
6893         poisoned identifier.  Update call of dump_definition.
6894         (do_undef): Don't call check_macro_name.  Rename sym_length to
6895         len.
6896         (do_error, do_warning): Don't use copy_rest_of_line or
6897         SKIP_WHITE_SPACE.
6898         (do_warning): Don't use pedwarn for the actual warning,
6899         only the notice about its not being in the standard.  (Fixes
6900         bug with #warning in system headers.)
6901         (do_ident): Stricter argument checking - accept only a single
6902         string after #ident.  Also, macro-expand the line.
6903         (do_xifdef): Use cpp_defined.  De-obfuscate.
6904
6905         (do_pragma): Split out specific pragma handling to separate
6906         functions.  Use get_directive_token.  Update commentary.  Do
6907         not pass on #pragma once or #pragma poison to the front end.
6908         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6909         do_pragma_default): New.
6910
6911 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6912
6913         * jump.c (jump_optimize_1): The first operand in a relational
6914         can be a CONST_INT.
6915         * optabs.c (emit_conditional_move): Handle relationals which
6916         have a known true/false result.
6917
6918 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6919
6920         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6921         a RETURN insn into a block which already ends with a jump.
6922
6923 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6924
6925         * haifa-sched.c (BUF_LEN): Increase a lot.
6926
6927 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6928
6929         * configure.in: Add tm_p_file specification for thumb targets.
6930         * configure: Regenerate.
6931
6932         * config/arm/thumb-protos.h: New file: Prototypes for exported
6933         functions defined in thumb.c.
6934
6935 2000-02-11  Robert Lipe  <robertl@sco.com>
6936
6937         * Makefile.in (bootstrap-lean): Remove additional files.
6938         (bootstrap2-lean): Likewise.
6939         (VOL_FILES): List of files for above.
6940
6941 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6942
6943         * cpphash.c (special_symbol): Remove spurious argument to
6944         cpp_lookup.
6945
6946 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6947
6948         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6949         stanzas.
6950         * configure: Rebuilt.
6951
6952 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6953         
6954         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6955
6956 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6957
6958         * pa.c, pa.h: Remove trigraph sequences within comments.
6959
6960 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6961
6962         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6963
6964 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6965
6966         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6967
6968 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6969         
6970         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6971
6972 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6973
6974         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6975         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6976         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6977         (ASM_FILE_END): Use c4x_file_end.
6978         * config/c4x/c4x.c (c4x_global_label): New function.
6979         (c4x_external_ref, c4x_file_end): Likewise.
6980
6981         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6982         (c4x_external_ref, c4x_end_file): Likewise.
6983
6984 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
6985
6986         * cppexp.c: Don't include cpphash.h.
6987         (parse_charconst, cpp_lex): Use cpp_defined.
6988         (cpp_lex): Use get_directive_token throughout.  Remove
6989         unnecessary cases from switch.  Move assertion-handling code
6990         down to OTHER case.
6991         (cpp_parse_expr): If we see '+' or '-', check the context to
6992         determine if they are unary or binary operators.  Streamline
6993         the jumps a bit.  Do not call skip_rest_of_line.
6994
6995         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6996         static.  Export get_directive_token.  Update commentary.
6997         (cpp_defined): New function.
6998         (do_define): Remove reference to T_PCSTRING.  Call
6999         free_definition to release memory for old definition, when
7000         redefining a macro.
7001         (eval_if_expression): Set only_seen_white to 0 before calling
7002         cpp_parse_expr.  Call skip_rest_of_line after it returns.
7003         (cpp_read_check_assertion): Don't preserve a pointer into the
7004         token buffer across a call to cpp_get_token.
7005
7006         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7007         * cppfiles.c (redundant_include_p): Use cpp_defined.
7008         * cpphash.c (free_definition): New function.
7009         (delete_macro): Use it.  Update commentary.
7010         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
7011         free_definition.
7012         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7013         from enum node_type.  Prototype cpp_defined and get_directive_token.
7014         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7015
7016         * fix-header.c (check_macro_names): Use cpp_defined.
7017         (read_scan_file): Set inhibit_warnings and inhibit_errors in
7018         the options structure.
7019
7020 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7021
7022         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7023
7024 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
7025
7026         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7027         rather than die->die_tag.
7028
7029 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7030
7031         * combine.c (make_extraction, force_to_mode): Avoid warning on
7032         mixed-signedness conditionals.
7033         (make_field_assignment, nonzero_bits): Likewise.
7034         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7035         (store_split_bit_field, extract_split_bit_field): Likewise.
7036         (extract_fixed_bit_field, store_bit_field, 
7037         * expr.c: Change alignment to be unsigned everywhere.
7038         (move_by_pieces, store_constructor_field, store_constructor): 
7039         Alignment parm is unsigned.
7040         (emit_block_move, emit_group_load, emit_group_store): Likewise.
7041         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7042         (do_compare_rtx_and_jump): Likewise.
7043         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7044         Compare align with GET_MODE_ALIGNMENT.
7045         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7046         (get_inner_reference): Likewise.
7047         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7048         (expand_assignment): Local vars for alignment now unsigned.
7049         (store_constructor, store_field, expand_expr, do_jump): Likewise.
7050         (do_compare_and_jump): Likewise.
7051         (store_field): Call new function expr_align.
7052         * expr.h (emit_block_move, emit_group_load, emit_group_store):
7053         Alignment arg now unsigned.
7054         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7055         (do_compare_rtx_and_jump, store_bit_field): Likewise.
7056         (extract_bit_field): Likewise.
7057         * fold-const.c (add_double): Add cast to eliminate signedness warning.
7058         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7059         (get_best_mode): Alignment arg is unsigned.
7060         * rtl.h (move_by_pieces): Likewise.
7061         * store-layout.c (maximum_field_alignment, set_alignment):
7062         Now unsigned.
7063         (layout_decl): Alignment arg is now unsigned.
7064         Remove unneeded casts.
7065         (layout_record, layout_union, layout_type): Remove unneeded casts.
7066         Local alignment variables now unsigned.
7067         (get_best_mode): Alignment arg now unsigned.
7068         * tree.c (expr_align): New function.
7069         * tree.h (expr_align): Likewise.
7070         (maximum_field_alignment, set_alignment): Now unsigned.
7071         (get_inner_reference): Alignment argument is now pointer to unsigned.
7072         * varasm.c (assemble_variable): Add cast to eliminate warning.
7073
7074 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
7075
7076         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7077         then store directly into op0.
7078
7079         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7080         the CALL_INSN, and emit the note immediately after it.
7081
7082 2000-02-10  Nick Clifton  <nickc@cygnus.com>
7083
7084         * config/arm/thumb.md (epilogue): Include a (return) in the
7085         generated insn, and emit it using emit_jump_insn not
7086         emit_insn. 
7087
7088 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
7089
7090         * function.c (assign_temp): Change zero-sized arrays to size 1.
7091         * integrate.c (expand_inline_function): Do not update
7092         stack_alignment_needed
7093         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7094         add some sanity checking, remove optimization for function with
7095         zero frame size.
7096
7097 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7098
7099         * flow.c (mark_regs_live_at_end): Delete unused variables.
7100
7101         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7102
7103         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7104         in macro FRAME_GROWS_DOWNWARD.
7105
7106         * stmt.c (expand_end_bindings): Delete unused variable.
7107
7108         * unroll.c (iteration_info): Mark parameter `loop' with
7109         ATTRIBUTE_UNUSED.
7110
7111 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7112
7113         * fixinc/server.c (load_data): Return NULL if the marker line is
7114         not found.
7115         (run_shell): If load_data returns NULL, retry the command once, in
7116         a new shell.
7117
7118         * configure: Rebuilt.
7119
7120 2000-02-09  Bruce Korb  <bkorb@gnu.org>
7121
7122         * gcc/fixincludes:  ** DELETED **
7123         * gcc/fixcpp:  ** DELETED **
7124         * gcc/fixinc-nt.sed:  ** DELETED **
7125         * gcc/just-fixinc:  ** DELETED **
7126         * gcc/Makefile.in:  Removed out-dated commentary
7127         * gcc/configure.in: Removed fast-fixincludes disablement.
7128         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
7129
7130 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7131         * function.c (thread_prologue_and_epilogue_insns): Uncomment
7132         last change.
7133
7134 2000-02-09  Richard Henderson  <rth@cygnus.com>
7135
7136         * jump.c (delete_insn): Don't delete user labels at -O0.
7137
7138 2000-02-09  Robert Lipe  <robertl@sco.com>
7139
7140         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
7141         Don't link with HOST_LIBS. 
7142
7143 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7144
7145         * configure.in: Correct --help text for --with-dwarf2.
7146         Put tm-dwarf2.h after other tm files, if it's requested.
7147         * configure: Regenerate.
7148         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7149         defining it.
7150
7151 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7152
7153         * cpplib.h: Provide HASHNODE typedef and forward decl of
7154         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
7155         DEFINITION, struct hashnode, struct macrodef, struct
7156         definition, scan_decls prototype, default defn of
7157         INCLUDE_LEN_FUDGE moved elsewhere.
7158
7159         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7160         definition, and struct hashnode moved here. Remove the unused
7161         'predefined' field from struct definition.  Replace the 'args'
7162         union with its sole member.  All users updated (cpphash.c).
7163         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
7164         multiple include guard.
7165
7166         * cpphash.c (hashf): Make static; use better algorithm; drop
7167         HASHSIZE parameter; return an unsigned int.
7168         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
7169         used. Calculate HASHSIZE modulus here.
7170         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7171         here.
7172         (create_definition): Drop PREDEFINITION parameter.
7173         * cpplib.c (do_define): Don't calculate a hash value here.
7174         Don't pass (keyword == NULL) to create_definition.
7175
7176         * scan.h: Prototype scan_decls here.
7177         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7178         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7179         callers of cpp_lookup and cpp_install updated.
7180         
7181         * cpphash.c (macarg): Hoist all the flag diddling out of the
7182         function...
7183         (macroexpand): ... and out of the loop that calls macarg.
7184         Skip over the initial paren before macro arguments with
7185         cpp_get_non_space_token; point may be some distance before
7186         that paren.  Abort if it's not there.
7187
7188         * cpplib.c (parse_clear_mark): Delete function.
7189         (parse_set_mark, parse_goto_mark): Make static.
7190         (ACTIVE_MARK_P): New macro.
7191         (skip_block_comment, skip_line_comment): Do not bump the line
7192         if ACTIVE_MARK_P is true.
7193         (cpp_pop_buffer): The buffer to be popped may not have an
7194         active mark.
7195         (cpp_get_token): When looking for the initial paren before
7196         macro arguments, only set a mark in a file buffer, Always
7197         return to that mark before proceeding to call macroexpand or
7198         return a NAME token.
7199
7200         * cpplib.h: Remove prototypes of parse_set_mark,
7201         parse_clear_mark, parse_goto_mark.
7202         (struct cpp_options): Rename 'put_out_comments' to
7203         'discard_comments' and invert its sense.
7204         * cppinit.c, cpphash.c, cpplib.c: All users of
7205         put_out_comments changed to use discard_comments, with
7206         opposite sense.
7207
7208 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7209
7210         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7211         the edge from a block that both jumps and falls through to the
7212         fallthru block.
7213
7214 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7215
7216         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7217         constant source address is legitimate.
7218
7219 2000-02-09  Philip Blundell  <pb@futuretv.com>
7220
7221         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7222         correctly.
7223
7224         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7225         generating PIC.
7226         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7227
7228 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7229
7230         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7231         ends with a newline and a NUL.  Don't be so clever manipulating
7232         strings.
7233
7234 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7235
7236         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7237         not to BIGGEST_ALIGNMENT.
7238
7239 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7240
7241         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7242         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7243         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7244         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7245         * frame.c (execute_cfa_insn): Handle 
7246         DW_CFA_GNU_negative_offset_extended.
7247
7248 2000-02-08  Richard Henderson  <rth@cygnus.com>
7249
7250         * flow.c (tidy_fallthru_edges): Split out from ...
7251         (delete_unreachable_blocks): ... here.
7252         (find_basic_blocks): Use it.
7253
7254 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7255
7256         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7257
7258 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7259
7260         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7261         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7262         (fix-header.o): Don't depend on cpphash.h.
7263
7264         * scan.c (hashstr): New function. 
7265         * scan.h: Prototype it.
7266         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7267         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7268         hashstr.  Report hash table statistics.  Add private     
7269         definition of xrealloc.
7270
7271 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7272
7273         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7274
7275 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7276
7277         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7278         jumps with returns unless they are jumps to the fallthru block.
7279
7280 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7281
7282         * i386.md (addqi3_cc): Fix contraints.
7283
7284 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7285
7286         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7287
7288 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7289
7290         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7291         carriage return after a macro name.
7292
7293 2000-02-07  Fred Fish  <fnf@be.com>
7294
7295         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7296         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7297
7298 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7299
7300         * cppfiles.c (deps_output): Count spacers in deps_column.
7301
7302 2000-02-07  Neil Booth  <NeilB@earthling.net>
7303
7304         * cppinit.c (initialize_dependency_output): If there is no
7305         suffix, don't try to look for known suffixes.  Use strrchr.
7306         (cpp_start_read): Remove duplicate initialization.
7307
7308 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7309
7310         * calls.c (compute_argument_block_size): New argument
7311         preferred_stack_boundary.
7312         (expand_call): update cfun->preferred_stack_boundary, update call of
7313         compute_argument_block_size
7314         (emit_library_call): Increate cfun->preferred_stack_boundary
7315         to PREFERRED_STACK_BOUNDARY
7316         (emit_library_call_value): Likewise.
7317         * explow.c (allocate_dynamic_stack_spave): Likewise.
7318         * function.c (prepare_function_start): Set
7319         cfun->preferred_stack_boundary
7320         * function.h (struct function): Add preferred_stack_boundary field.
7321         * integrate.c (expand_inline_function): Update
7322         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7323         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7324         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7325
7326 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7327
7328         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7329         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7330         cpp_pedwarn, cpp_pedwarn_with_line,
7331         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7332         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7333         v_cpp_error_with_line, v_cpp_warning_with_line,
7334         cpp_message_from_errno, cpp_perror_with_name): Delete.
7335
7336         * cpperror.c (cpp_print_containing_files): Take starting
7337         buffer as argument.
7338         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7339         (v_cpp_message): Now called directly by all entry points.
7340         Remove -1 case.
7341         (cpp_pfatal_with_name, cpp_message): Delete.
7342         (cpp_notice_from_errno, cpp_ice): New functions.
7343         (cpp_notice): Is now for reporting error conditions, just
7344         without an associated file.
7345         (cpp_error, cpp_error_with_line): Don't do anything if
7346         opts->inhibit_errors is on.
7347         (cpp_pedwarn_with_file_and_line): Take column argument also.
7348
7349         * cpplib.h: Update prototypes of exported functions.
7350         (struct cpp_options): Add inhibit_errors.
7351
7352         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7353         non-error messages.  Include intl.h.
7354
7355         * cppinit.c, cppmain.c: Likewise.  Also, use
7356         cpp_notice_from_errno instead of cpp_perror_with_name or
7357         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7358
7359         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7360         report internal errors.
7361
7362         * cpplib.c (do_define): Switch bcopy to memcpy.
7363         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7364
7365         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7366         bail out early if we hit a line comment.
7367
7368 2000-02-06  Richard Henderson  <rth@cygnus.com>
7369
7370         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7371         * basic-block.h: Declare them.
7372         * emit-rtl.h (active_insn_p): New.
7373         (next_active_insn, prev_active_insn): Use it.
7374         * rtl.h: Declare it.
7375         * function.c (emit_return_into_block): New.
7376         (thread_prologue_and_epilogue_insns): Insert return insns instead
7377         of epilogues when possible.
7378         * jump.c (jump_optimize_1): Remove code to insert a return insn
7379         on the fallthru to the exit block.
7380
7381         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7382         and for non-empty stack frames.
7383         * i386.md (return): Expand to return-pop as needed.
7384
7385 2000-02-06  Richard Henderson  <rth@cygnus.com>
7386
7387         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7388         constant to op1 for testing.
7389
7390 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7391
7392         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7393         (fixuns_truncqfqi2): Use it.
7394
7395 2000-02-06  Richard Henderson  <rth@cygnus.com>
7396
7397         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7398         as a TYPE_LEA insn.
7399
7400         * i386.md (widening and peepholes): Mask the constant instead of
7401         using gen_lowpart.
7402
7403 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7404
7405         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7406         input pointer before possibly branching off to the backslash
7407         code.
7408         * cpphash.c (macroexpand): Correctly delete \r escapes when
7409         stringifying parameters.
7410         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7411         if we can; bail out early if we hit a line comment.
7412         (handle_directive): Treat '# 123' in an .S file just like
7413         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7414         Return 1 for '# not_a_directive'.
7415         (get_directive_token): Pop macro buffers here, so that
7416         cpp_get_token can't sneakily move past a newline.
7417         Add sanity checks. 
7418         (cpp_get_token): goto randomchar if handle_directive returns 0.
7419
7420         * cppalloc.c: Update copyright.
7421         * cpplib.c: Merge all the static function prototypes into one
7422         block.
7423         * cpplib.h: Remove #if 0 block.
7424
7425         * cpperror.c: Remove #ifdef EMACS block.
7426         * cppmain.c: Likewise.
7427         * cpphash.c: Remove #if 0 blocks.
7428         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7429         * cpplib.c: Remove #if 0 blocks and code referencing
7430         pcp_inside_if or for_lint.  Remove duplicate error message.
7431         Fix error messages for #else after #else or #elif.  Reformat.
7432         Remove archaic TODO list.
7433         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7434
7435 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7436
7437         * i386/osf1elf.h: Add missing backslash to multiline string.
7438
7439 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7440
7441         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7442
7443 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7444
7445         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7446
7447         * c-common.c: Include expr.h.
7448
7449         * c-pragma.c (mark_align_stack): Add prototype.
7450
7451         * caller-save.c (add_stored_regs): Likewise.
7452
7453         * combine.c (record_promoted_value): Likewise.
7454
7455         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7456         Likewise.
7457
7458         * cppinit.c (new_pending_define): Likewise.
7459
7460         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7461
7462         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7463         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7464         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7465         class_scope_p): Likewise.
7466
7467         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7468         dwarf2out_add_library_unit_info): Likewise.
7469
7470         * ggc.h (ggc_page_print_statistics): Likewise.
7471
7472         * haifa-sched.c (propagate_deps): Likewise.
7473
7474         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7475
7476         * rtl.h (set_stack_check_libfunc): Likewise.
7477
7478         * toplev.h (set_fatal_function): Likewise.
7479
7480         * toplev.c (set_fatal_function): Delete prototype.
7481         
7482         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7483         
7484 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7485
7486         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7487         (FUNC_END): Likewise.
7488
7489 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7490
7491         * caller-save.c: Include tm_p.h.
7492
7493 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7494
7495         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7496
7497 2000-02-04  Neil Booth  <NeilB@earthling.net>
7498
7499         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7500         it to strcmp.
7501
7502 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7503
7504         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7505         * genflags.c: Use the max_operand_1 logic from genemit.c to
7506         calculate how many arguments gen_insn prototypes have.  Remove
7507         NO_MD_PROTOTYPES ifdefs from the generated file.
7508         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7509         file.  Cast gen_insn initializers to insn_gen_fn.
7510         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7511         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7512
7513 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7514
7515         * fixinc/Makefile.in (HDR): Add machname.h.
7516         (clean): Likewise.
7517
7518 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7519
7520         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7521         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7522         (c4x_cpu_version): Ditto.
7523         * config/c4x/c4x-protos.h: ... here.
7524
7525 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7526
7527         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7528         gen_abstract_function on our context if we're a nested function.
7529
7530 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7531
7532         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7533         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7534
7535 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7536
7537         * fixinc/genfixes(machname.h):
7538         Move the functionality from gen-machine.h into this file.
7539         UNdef MN_NAME_PAT if there are no names to change.
7540         Also, be a little kinder when AutoGen is not present.
7541
7542         * fixinc/Makefile.in(machname.h):
7543         Change the generation rule to use genfixes.
7544
7545         * fixinc/fixfixes.c(machine_name):
7546         machine_name_fix's functionality now dependent upon whether
7547         MN_NAME_PAT is defined.
7548
7549         * fixinc/fixtests.c(machine_name):
7550         ditto.
7551
7552         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7553         of MN_NAME_PAT.
7554
7555         * fixinc/fixlib.h(mn_get_regexps):
7556         ditto
7557
7558         * fixinc/gen-machine.h: DELETED
7559
7560 2000-02-04  Jan Hubicka  <jh@suse.cz>
7561             Richard Henderson  <rth@cygnus.com>
7562
7563         * i386.c (SAVE_REGS_FIRST): Remove.
7564         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7565         (ix86_compute_frame_size): Likewise.
7566         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7567         (ix86_emit_restore_regs): Remove.
7568         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7569         when a frame pointer is in use.
7570         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7571         instead of pop to restore a register when profitable; emit leave
7572         when profitable.
7573         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7574         as a TYPE_LEA insn.
7575         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7576         * i386.md (prologue_allocate_stack): Remove.
7577         (epilogue_deallocate_stack): Remove.
7578         (pro_epilogue_adjust_stack): New.
7579
7580 2000-02-04  Richard Henderson  <rth@cygnus.com>
7581
7582         * function.c (diddle_return_value): Rework to use a callback function.
7583         Use current_function_return_rtx if it's been set up.
7584         (do_clobber_return_reg, clobber_return_register): New.
7585         (do_use_return_reg, use_return_register): New.
7586         (expand_function_end): Use them.
7587         * stmt.c (expand_null_return): Likewise.
7588         * function.h: Declare them.
7589         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7590         (mark_reg): Change arguments as appropriate for callback.
7591         * integrate.c (expand_inline_function): Revert 19 Jan change.
7592
7593 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7594
7595         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7596         (Misc): Say the scheduler, not the Haifa scheduler.
7597
7598 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7599
7600         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7601         when in_mem is set.  Update all callers.
7602
7603 2000-02-04  Richard Henderson  <rth@cygnus.com>
7604
7605         * i386/openbsd.h (INT_ASM_OP): Define.
7606
7607 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7608
7609         * tm.texi: Fix various typos.
7610
7611 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7612
7613         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7614         (MD_STARTFILE_PREFIX_1): New macro.
7615
7616 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7617
7618         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7619         destination when needed.
7620         (strmovsi, strsetsi): New expander.
7621         (strmovsi_1, strsetsi_1): New pattern.
7622         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7623         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7624         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7625         * invoke.texi (align-stringops, inline-all-stringops): Document.
7626
7627 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7628
7629         * i386/netbsd.h (INT_ASM_OP): Define.
7630
7631 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7632
7633         * cpplib.h (cpp_reader): Add new flag, no_directives.
7634         * cpphash.c (macarg): Set it.
7635         * cpplib.c (handle_directive): If no_directives is on and we
7636         find a directive, issue an error and discard the line.
7637
7638 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7639
7640         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7641         FP constants.  Add ! TARGET_FPU check for FP constants.
7642
7643 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7644         
7645         * flow.c (find_basic_blocks): Don't kill label_value_list
7646         here.
7647         (cleanup_cfg): Kill it here.
7648
7649 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7650
7651         * expr.c (store_field): Ensure ALIGN is no stricter than the
7652         alignment of EXP.
7653
7654 2000-02-02  Richard Henderson  <rth@cygnus.com>
7655
7656         * jump.c (delete_insn): Partially revert 19 Jan change; 
7657         don't convert unused code labels to notes at -O0.
7658
7659 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7660
7661         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7662         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7663
7664 2000-02-01  Richard Henderson  <rth@cygnus.com>
7665
7666         * i386.c (general_no_elim_operand): New.
7667         (nonmemory_no_elim_operand): New.
7668         (ix86_expand_move): Copy eliminable operands before a push.
7669         * i386-protos.h: Declare new functions.
7670         * i386.h (CAN_ELIMINATE): Simplify.
7671         (PREDICATE_CODES): Update.
7672         * i386.md (push insns): Don't allow eliminable register operands.
7673
7674 2000-02-01  Richard Henderson  <rth@cygnus.com>
7675
7676         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7677         replace BLKmode with DECL_RTL's mode.
7678
7679 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7680
7681         * frame.c (find_fde): Convert for loop to do-while so compiler
7682         sees it's always executed at least once.
7683         * libgcc2.c (BBINBUFSIZE): Kill.
7684         (__bb_init_prg): Use fgets.
7685         (__bb_exit_trace_func): Don't paste strings.
7686         * unroll.c (unroll_loop): Initialize unroll_type, not
7687         unroll_number, and tweak logic to match.
7688
7689         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7690         all failure paths.
7691         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7692         (ix86_sched_reorder): Break guts out to
7693         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7694         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7695         any possible use.
7696
7697         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7698         use string concatenation.  Don't save and restore esi.
7699
7700         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7701         (machname.h): Remove script to separate file.  Use two-step
7702         sequence so target is not created if script fails.
7703         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7704         identifiers are defined.
7705         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7706         an empty string, machine_name doesn't need to do anything at
7707         all.
7708         (is_cxx_header): Add more cases to regexp.
7709         * fixinc/fixlib.h: Update prototype.
7710         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7711         mn_get_regexps.
7712         * fixinc/fixincl.c: Define NO_BOGOSITY.
7713
7714         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7715         (hp_sysfile): Add missing comma.
7716         (math_exception): Put the wrapper ifdefs at the beginning and
7717         the end of the file.
7718         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7719
7720 2000-02-01  Richard Henderson  <rth@cygnus.com>
7721
7722         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7723         Use CONST0_RTX.  Update all callers.
7724         * sparc.h, sparc-protos.h: Update accordingly.
7725         * sparc.md (fp mov insns): Use fp_zero_operand directly
7726         where applicable.
7727
7728 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7729
7730         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7731         example.
7732
7733 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7734
7735         * Makefile.in (specs.ready): New target.
7736         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7737
7738 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7739
7740         * fixinc.irix: Use unique filenames for writing into /tmp,
7741         * fixinc.ptx: Likewise.
7742         * fixinc.sco: Likewise.
7743         * fixinc.svr4: Likewise.
7744         * fixinc.winnt: Likewise.
7745
7746 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7747
7748         * tsystem.h: New file.
7749
7750         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7751         s-crtS): Depend on tsystem.h.
7752
7753         * crtstuff.c: Include tsystem.h.
7754         * frame.c: Likewise.
7755         * libgcc2.c: Likewise.
7756
7757 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7758
7759         * builtins.c (expand_builtin_memset): Expand for variable sized
7760         lengths too.
7761
7762 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7763
7764         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7765         on ABI.
7766
7767 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7768
7769         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7770
7771         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7772
7773 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7774
7775         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7776         case 3->2 combining (combining with splitting) in which 2 is CC0
7777         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7778         checked at the begining of the function with the aid of calling 
7779         function 'can_combine_p'. 
7780
7781 2000-01-31  Dave Brolley  <brolley@redhat.com>
7782
7783         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7784
7785 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7786
7787         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7788         new label.
7789
7790 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7791
7792         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7793         
7794         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7795         PROTO -> PARAMS.
7796
7797 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7798
7799         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7800         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7801         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7802         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7803         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7804         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7805         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7806         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7807         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7808         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7809         
7810         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7811         Add %(cpp_cpu) to CPP_SPEC.
7812
7813         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7814         Add %(cc1_cpu) to CC1_SPEC.
7815
7816 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7817
7818         * c-decl.c (c_decode_option): Accept optional numeric argument to
7819         -Wformat and set warn_format.
7820         * c-common.c: Don't emit warning about non-constant printf format
7821         string unless warn_format > 1.
7822
7823 2000-01-30  Richard Henderson  <rth@cygnus.com>
7824
7825         * alpha.md (return_internal): Allow after reload only.
7826
7827 2000-01-30  Richard Henderson  <rth@cygnus.com>
7828
7829         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7830         local frame size is zero.
7831
7832 2000-01-30  Richard Henderson  <rth@cygnus.com>
7833
7834         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7835         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7836         * alpha.md (return): Turn into an expander.
7837         (return_internal): Don't use $26.
7838         (epilogue): Emit the return insn.
7839
7840 2000-01-30  Richard Henderson  <rth@cygnus.com>
7841
7842         * alpha.md (negtf2, abstf2): Fix word order thinko.
7843         (extendsftf2): New.
7844         (trunctfsf2): Avoid intermediate rounding errors.
7845
7846 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7847
7848         * cppfiles.c (find_position): Drop 'colp' argument, return the
7849         new line base.
7850         (read_and_prescan): Adjust to match.  Don't ever manipulate
7851         line or line_base except via find_position.
7852
7853 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7854
7855         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7856         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7857         Regenerate.
7858
7859 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7860
7861         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7862         just print "<command line>".  If 'filename' is null or an
7863         empty string, print "<stdin>" for the filename.
7864         * cpplib.c (do_define): Don't print the 'location of the
7865         previous definition' message if we're still parsing the
7866         command line.
7867         (cpp_pedwarn_with_file_and_line): Always call
7868         cpp_file_line_for_message.
7869
7870 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7871
7872         * flow.c (mark_regs_live_at_end): Fix typo.
7873
7874 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7875
7876         * c-common.c: Adjust variable names, comments, help strings to c99.
7877         * c-lex.c: Likewise.
7878         * c-parse.y: Likewise.
7879         * c-tree.h: Likewise.
7880         * cccp.c: Likewise.
7881         * cpplib.h: Likewise.
7882         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7883         * cppinit.c: Likewise.
7884
7885 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7886
7887         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7888         * c4x.c: Define the optab rtx values.
7889         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7890         (c4x_emit_libcall): Use new optab rtx values.
7891         (c4x_emit_libcall3): Likewise.
7892         (c4x_emit_libcall_mulhi): Likewise.
7893         * c4x-protos.h: Add prototypes for optab rtx values and change
7894         prototypes for above c4x_emit_libcall functions.
7895
7896 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7897
7898         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7899         syntax is used.
7900         (c4x_function_prologue): Use regnames intead of float_reg_names when
7901         TI syntax is used.
7902         (c4x_function_epilogue): Likewise.
7903         (c4x_print_operand): Likewise.
7904         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7905         * c4x.md (set_high): Disable for TARGET_TI.
7906
7907 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7908
7909         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7910         of framepointer + constant to ADDR_REGS class.
7911         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7912         * c4x.c (std_or_reg_operand): New function.
7913         * c4x-protos.h (std_or_reg_operand): Prototype it.
7914
7915 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7916
7917         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7918                 object names as libgcc2.c.
7919         * libgcc.S: Use newly defined names.
7920
7921 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7922         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7923         function.
7924         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7925         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7926         (FLOW_LOOP_LAST_BLOCK): Likewise.
7927
7928 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7929
7930         * basic-block.h (struct loop): New fields 'first' and 'last'.
7931         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7932         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7933         and loop->last to check for NOTE_INSN_LOOP_END.
7934
7935 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7936
7937         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7938         of the loop descriptor rather than HEADER and LATCH. Also added
7939         missing break statements as well making some coding style modifications
7940         as suggested by Michael Hayes.
7941
7942 2000-01-28  Richard Henderson  <rth@cygnus.com>
7943
7944         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7945         Break out that code ...
7946         (cleanup_cfg): ... here.
7947         (commit_one_edge_insertion): Detect a return instruction being
7948         emitted to an edge.  Emit a barrier following; clear fallthru.
7949         (commit_edge_insertions): Verify CFG consistency.
7950         * function.c (expand_function_start): Kill unused variable.
7951         (expand_function_end): Likewise.
7952         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7953         to insert the epilogue.
7954
7955         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7956         (delete_null_pointer_checks): Likewise.
7957         * output.h: Likewise.
7958         * reg-stack.c (reg_to_stack): Likewise.
7959         * toplev.c (rest_of_compilation): Likewise.  Run
7960         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7961
7962 2000-01-28  Richard Henderson  <rth@cygnus.com>
7963
7964         * Makefile.in (flow.o): Revert 24 Jan change.
7965         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7966         FUNCTION_VALUE result to DECL_RESULT's mode.
7967
7968         * haifa-sched.c (schedule_insns): Don't recompute reg info
7969         after reload.
7970
7971 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7972
7973         * configure.in: Make --enable-cpplib the default.
7974         * configure: Regenerate.
7975         * gcc.dg/990119-1.c: No longer expected to fail.
7976
7977 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
7978
7979         * jump.c (jump_optimize_1): Delete an optimization that is also done
7980         by merge_blocks in flow.
7981
7982 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7983
7984         * diagnostic.c (build_message_string, output_printf,
7985         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7986         (build_location_prefix): Fix non-literal format string.
7987
7988 2000-01-27  Richard Henderson  <rth@cygnus.com>
7989
7990         * alpha.md (trunctfsf2): New.
7991
7992 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
7993
7994         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7995
7996 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7997
7998         * cppinit.c (cpp_handle_option): Recognize C++ comments under
7999         -std=gnu89.
8000         * cpplib.c (skip_block_comment, skip_line_comment): Split code
8001         out of...
8002         (skip_comment) ... here.  Permit C++ comments in system
8003         headers always.  Warn about C++ comments in user code under
8004         -std=gnu89 -pedantic.
8005         (copy_comment): Use skip_comment.
8006         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8007         return EOF.
8008         (consider_directive_while_skipping, do_else, do_endif): Call
8009         validate_else unconditionally.
8010         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
8011         text after the conditional in a system header.
8012         * cpplib.h (struct cpp_buffer): Add flag
8013         warned_cplusplus_comments.
8014
8015 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8016
8017         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8018         Use unshare_all_rtl_1.
8019         (unshare_all_rtl_again): New function.
8020         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8021
8022         * function.c (purge_addressof_1): Use unshare_all_rtl_again
8023         rather than resetting the 'used' flags ourself.
8024
8025         * toplev.c (rest_of_compilation): Add current_function_decl
8026         to the unshare_all_rtl call.
8027         * tree.h: Prototype unshare_all_rtl.
8028         * rtl.h: Prototype unshare_all_rtl_again here.
8029
8030 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8031
8032         * genoutput.c (output_prologue): Include ggc.h in generated
8033         files.
8034         * Makefile.in (insn-output.o): Depends on ggc.h.
8035
8036 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8037             Hans-Peter Nilsson  <hp@bitrange.com>
8038
8039         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8040         Remove redundant include of xm-ns32k.h.
8041         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8042         Remove redundant include of xm-ns32k.h.
8043         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8044         Remove redundant include of xm-ns32k.h.
8045         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8046
8047         * ns32k/ns32k.h: Update comment on multiply-add instructions.
8048         (TARGET_SWITCHES): Add documentation strings.
8049         (DWARF_FRAME_REGNUM): Override default definition.
8050         (REG_CLASS_CONTENTS): Add comments.
8051         (SUBSET_P): Format to reduce line length.
8052         (SMALL_REGISTER_CLASSES): Make a run time option.
8053         (GO_IF_NONINDEXED_ADDRESS): Reformat.
8054         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8055         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
8056         (regclass_map): fix typo in comment.
8057         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8058         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8059         (trace, reg_or_mem_operand): Delete, unused function.
8060         (calc_address_cost): Small offsets are cheaper than large ones.
8061         (expand_block_move): Generate more efficient code when bytes is a
8062         known at compile time.
8063         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8064         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8065         instead of reg_or_mem_operand.
8066
8067         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8068         not general_operand.  Similarly use "=rm" or stricter, not "=g".
8069         For input operands, use stricter constraints than "g" if not
8070         general_operand.  Similarly use stricter predicate than
8071         "general_operand" when stricter constraints than "g" are present,
8072         except for matching constraints.
8073         (movstrsi): Use "memory_operand" for operands 0 and 1.
8074         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8075         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8076         not reg_or_mem_operand.
8077         (udivmoddisi4): Ditto.
8078         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8079         Use nonimmediate_operand for operand 3, not register_operand.
8080         (udivmoddiqi4_internal): Use register_operand for operand 1, not
8081         reg_or_mem_operand.
8082
8083 2000-01-27  Fred Fish  <fnf@be.com>
8084
8085         * gthr-posix.h: Fix typo; compatibily -> compatibility.
8086         * gthr-single.h: Likewise.
8087         * gthr-solaris.h: Likewise.
8088         * gthr-vxworks.h: Likewise.
8089         * gthr-win32.h: Likewise.
8090         * gthr.h: Likewise.
8091
8092 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8093
8094         * cppinit.c: Add " (cpplib)" to end of string printed by
8095         -v / --version.
8096
8097 2000-01-27  Richard Henderson  <rth@cygnus.com>
8098
8099         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8100         testing for a signed comparison.
8101         (alpha_emit_floatuns): New.
8102         * alpha-protos.h: Declare it.
8103         * alpha.md (floatunsdisf2, floatunsdidf2): New.
8104         (extendsfdf2): Tidy.
8105
8106 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
8107
8108         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8109         no -g option specifying debugging format, default to -gstabs+.
8110
8111 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
8112
8113         * calls.c (special_function_p): New argument fork_or_exec.
8114         (expand_call): When profile_arc_flag is set and the function
8115         is in the fork_or_exec group, call __bb_fork_func first.
8116         * libgcc2.c, _bb module (__bb_fork_func): New function.
8117         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
8118         output file.
8119         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
8120         * tree.h (special_function_p): Update prototype.
8121
8122 2000-01-26  Richard Henderson  <rth@cygnus.com>
8123
8124         * alpha.c (alpha_split_tfmode_pair): New.
8125         * alpha-protos.h: Declare it.
8126         * alpha.md (abstf2, negtf2): New.
8127         (movtf insn): Add input G constraint.
8128         (movtf splitter): Use alpha_split_tfmode_pair.
8129
8130 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8131
8132         * i386/cygwin.h: PROTO -> PARAMS.
8133
8134 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
8135
8136         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
8137         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
8138         using _Qp_cmp/_Q_cmp and testing the return value.
8139         (print_operand): Call reverse_condition_maybe_unordered if
8140         we are handling CCFPmode or CCFPEmode.
8141         Handle ORDERED, UN* and LTGT comparisons.
8142         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
8143         if not TARGET_HARD_QUAD.
8144         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
8145         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
8146         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
8147         Adjust gen_b* calls so that they reflect return comparison of
8148         sparc_emit_float_lib_cmp.
8149
8150 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8151
8152         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8153         incoming operands array is large enough for one more operand.
8154         (alpha_emit_xfloating_arith): Likewise.
8155
8156 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8157
8158         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8159         file with one line and no trailing newline.
8160         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8161         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8162         checking if the match is on the line.
8163         * fixinc/gnu-regex.c: Provide regerror not __regerror.
8164
8165 2000-01-25  Richard Henderson  <rth@cygnus.com>
8166
8167         * sparc.c (output_cbranch): Fix accidental squashing of the
8168         fp branch pre-delay nop.
8169
8170 2000-01-25  Richard Henderson  <rth@cygnus.com>
8171
8172         * tree.def (UNNE_EXPR): Remove.
8173         * c-typeck.c (build_binary_op): Don't handle it.
8174         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8175
8176         * rtl.def (UNNE): Remove.
8177         (LTGT): Add.
8178         * jump.c (reverse_condition): Update accordingly.
8179         (swap_condition): Likewise.
8180         (comparison_dominates_p): Handle unordered comparisons.
8181         (reverse_condition_maybe_unordered): New.
8182         * rtl.h (reverse_condition_maybe_unordered): Declare.
8183
8184         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8185         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8186         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
8187         * sparc.md (bltgt): New.
8188
8189 2000-01-25  Nick Clifton  <nickc@redhat.com>
8190
8191         * emit-rtl.c (emit_insn): Only check machine class insns for
8192         improper emission of a RETURN.
8193
8194 2000-01-25  Richard Henderson  <rth@cygnus.com>
8195
8196         * Makefile.in (flow.o): Depend on $(EXPR_H).
8197         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8198         duplicate the structure of diddle_return_value for keeping regs live.
8199
8200 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8201
8202         * loop.c (current_loop_info): Delete.
8203         (consec_sets_invariant_p): Add loop argument, update callers.
8204         (get_condition_for_loop): Likewise.
8205         (count_nonfixed_reads, update_giv_derive): Likewise.
8206         (simplify_giv_expr, general_induction_var): Likewise.
8207         (consec_sets_giv, recombine_givs): Likewise.
8208         (move_movables): Delete loop_start and loop_end arguments,
8209         add loop argument, and update callers.
8210         (find_mem_givs, check_final_value): Likewise.
8211         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8212         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8213         update callers.
8214         (basic_induction_var): Add loop argument, delete loop_level argument,
8215         and update callers.
8216         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8217         add loop argument, and update callers.
8218         (find_splittable_regs, find_splittable_givs): Likewise.
8219         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8220         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8221         (biv_total_increment): Delete loop_start and loop_end arguments;
8222         update callers.
8223         (precondition_loop_p): Delete loop_start and loop_info arguments;
8224         update callers.
8225         * loop.h (get_condition_for_loop): Add loop argument.
8226         (biv_total_increment): Delete loop_start and loop_end arguments.
8227         (precondition_loop_p): Delete loop_start and loop_info arguments;
8228         add loop argument.
8229         (final_biv_value): Delete loop_start and loop_end arguments;
8230         add loop argument.
8231         (final_giv_value, back_branch_in_range_p): Likewise.
8232
8233 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8234
8235         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8236
8237 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8238
8239         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8240         point to the new "generated_files" doc.
8241
8242 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8243
8244         * config/fp-bit.c (_unord_f2): Fix typo.
8245
8246 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8247
8248         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8249         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8250         functions obsoleted by GC, such as push_obstacks_nochange,
8251         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8252         and code which existed only to decide whether or not to call
8253         them.  Remove now-unused NESTED argument from start_function;
8254         all callers changed.  Do not change behavior based on ggc_p.
8255         The use of the ixp_obstack in c-iterate.c and the util_obstack
8256         in objc/objc-act.c remain; these are not obsoleted by garbage
8257         collection.
8258         * c-tree.h: Update prototype for start_function.
8259
8260         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8261
8262 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8263
8264         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8265         mips16.
8266
8267 2000-01-25  Richard Henderson  <rth@cygnus.com>
8268
8269         * sparc-protos.h (select_cc_mode): Declare.
8270         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8271         (output_cbranch): Always reverse via code change.  Handle
8272         unordered compares.  Factor tests and string updates.
8273         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8274         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8275         * sparc.md (bunordered, bordered): New.
8276         (bungt, bunlt, buneq, bunge, bunle): New.
8277
8278 2000-01-25  Richard Henderson  <rth@cygnus.com>
8279
8280         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8281         * ggc-common.c (ggc_add_rtx_varray_root): New.
8282         (ggc_mark_rtx_varray): New.
8283         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8284         functions down below ggc_mark_foo.
8285         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8286
8287 2000-01-25  Richard Henderson  <rth@cygnus.com>
8288
8289         * alpha.c (secondary_reload_class): Don't allocate a secondary
8290         for integral mode memories into FLOAT_REGS.  Rearrange the more
8291         complicated memory expression inward.
8292
8293 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8294
8295         * inclhack.def: Fixes to play nicer with FreeBSD, and
8296         corrections to comments.
8297         (cxx_unready): Add select expression.
8298         (irix_sockaddr): Add bypass expression.
8299         (machine_ansi_h_va_list): New fix.
8300         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8301         Split out addition of "#include <stdarg.h>" to...
8302         (stdio_stdarg_h): ... here.
8303         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8304         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8305         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8306         size_t.
8307         (ultrix_ifdef): Tighten up select expression.
8308
8309         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8310         re_ct and max_mach to avoid use of shell.  Make printed names
8311         match names in inclhack.def.  Use static copyright date.
8312         Don't count c_test and test expressions as requiring regex_t
8313         slots.  Add some commentary.
8314         * inclhack.tpl: Do not include the 'This script contains N
8315         fixup scripts' line if PROGRAM is defined.  Use static
8316         copyright date.
8317
8318 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8319
8320         * dwarf2out.c: include "varray.h", not dyn-string.h.
8321         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8322         (addr_const_to_string, addr_to_string): Lose.
8323         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8324         (struct dw_val_struct): val_addr is now an rtx.
8325         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8326         (used_rtx_varray): New varray.
8327         (dwarf2out_init): Initialize it.
8328         (save_rtx): New fn.
8329         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8330         addr_to_string.
8331         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8332         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8333         * Makefile.in (dwarf2out.o): Update dependencies.
8334
8335 2000-01-24  Richard Henderson  <rth@cygnus.com>
8336
8337         * i386.c (i386_dwarf_output_addr_const): New.
8338         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8339
8340         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8341         if defined.
8342         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8343         * i386.c (i386_simplify_dwarf_addr): New.
8344         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8345
8346 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8347
8348         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8349         TYPE_STUB_DECL is NULL.
8350
8351 2000-01-24  Richard Henderson  <rth@cygnus.com>
8352
8353         * builtins.c (expand_tree_builtin): Move ...
8354         * c-common.c (expand_tree_builtin): ... here.
8355
8356 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8357
8358         * loop.h (LOOP_INFO): New accessor macro.
8359         * basic-block.h (struct loop): Rename field `info' to `aux'.
8360         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8361         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8362         * unroll.c (loop_iterations, unroll_loop): Likewise.
8363
8364 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8365
8366         * config/i386/t-cygwin: Accomodate new winsup directory layout
8367         when searching for include files.
8368
8369 2000-01-24  Richard Henderson  <rth@cygnus.com>
8370
8371         * rtl.def: Add unordered fp comparisions.
8372         * tree.def: Likewise.
8373         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8374
8375         * builtins.c (expand_tree_builtin): New function.
8376         * c-typeck.c (build_function_call): Use it.
8377         (build_binary_op): Support unordered compares.
8378         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8379
8380         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8381         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8382         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8383         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8384         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8385         return UNKNOWN.
8386         (swap_condition): Handle unordered compares.
8387         (thread_jumps): Check can_reverse before reversing.
8388         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8389         reversed for FP.
8390
8391         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8392         setcc is present before acking for cmp_optab.  Update all callers.
8393         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8394         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8395         * expr.c (expand_expr): Likewise.  Support unordered compares.
8396         (do_jump, do_store_flag): Likewise.
8397         * expr.h (enum libfunc_index): Add unordered compares.
8398
8399         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8400         (DPBIT_FUNCS): Add _unord_df.
8401         * config/fp-bit.c (_unord_f2): New.
8402         * fp-test.c (main): Try unordered compare builtins.
8403
8404         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8405         * alpha.c (alpha_comparison_operator): Check mode properly.
8406         (alpha_swapped_comparison_operator): Likewise.
8407         (signed_comparison_operator): Likewise.
8408         (alpha_fp_comparison_operator): New.
8409         (alpha_emit_conditional_branch): Handle unordered compares.
8410         * alpha.h (PREDICATE_CODES): Update.
8411         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8412         (bunordered, bordered): New.
8413
8414 2000-01-24  Richard Henderson  <rth@cygnus.com>
8415
8416         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8417         * alpha.md (movtf): New expander, insn, and splitter.
8418
8419 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8420
8421         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8422         dead registers.
8423
8424 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8425
8426         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8427         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8428          REG_ALLOC_ORDER): Add frame pointer
8429         (FRAME_POINTER_REGNUM): Set to 20
8430         (HARD_FRAME_POINTER_REGNUM): New macro.
8431         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8432         to HARD_FRAME_POINTER.
8433         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8434         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8435         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8436         (HI_REGISTER_NAMES): Add "frame".
8437         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8438         (debug_reg): Handle FRAME_POINTER_REGNUM.
8439         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8440         GENERAL_REGS and INDEX_REGS.
8441         * i386.c (SAVED_REGS_FIRST): new macro.
8442         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8443         (ix86_decompose_address, memory_address_length): Likewise.
8444         (regclass_map): Add frame pointer.
8445         (call_insn_operand): Handle frame_pointer_rtx.
8446         (reg_no_sp_operand): Likewise.
8447         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8448         (print_operand, legitimize_pic_address): Fix formating.
8449         (ix86_compute_frame_size): Make static, update prototype, new
8450         parameters padding1, padding2, use ix86_nsaved_regs, use
8451         stack_alignment_needed.
8452         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8453         to HARD_FRAME_POINTER_REGNUM conversions.
8454         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8455         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8456         (print_reg): Abort on FRAME_POINTER_REGNUM
8457
8458 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8459
8460         * i386.h (PREDICATE_CODES): Add aligned_operand.
8461         * i386.c (aligned_operand): New function.
8462         (ix86_aligned_p): Kill.
8463         * i386.md (movhi_1): Emit mov for aligned operands.
8464         (promoting peep2s): Use aligned_operand.
8465
8466 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8467
8468         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8469         expression to allow underscores in macro names.
8470         (fix_char_macro_defines): Increment scanning pointer.
8471
8472 2000-01-23  Richard Henderson  <rth@cygnus.com>
8473
8474         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8475         * alpha/osf5.h: New file.
8476         * configure.in (alpha-*-osf5): Add it to tm_file.
8477
8478         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8479
8480         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8481         (alpha_emit_xfloating_cvt, function_arg): Declare.
8482         * alpha.c (alpha_emit_conditional_branch): Call
8483         alpha_emit_xfloating_compare for TFmode compares.
8484         (alpha_lookup_xfloating_lib_func): New.
8485         (alpha_compute_xfloating_mode_arg): New.
8486         (alpha_emit_xfloating_libcall): New.
8487         (alpha_emit_xfloating_arith): New.
8488         (alpha_emit_xfloating_compare): New.
8489         (alpha_emit_xfloating_cvt): New.
8490         (print_operand): Add default abort case.
8491         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8492         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8493         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8494         (RETURN_IN_MEMORY): True for TF/TCmode.
8495         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8496         (FUNCTION_ARG): Move to function_arg.
8497         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8498         (ASM_OUTPUT_LONG_DOUBLE): New.
8499         (ASM_OUTPUT_DOUBLE): Always output bits.
8500         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8501         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8502         (extenddftf2, trunctfdf2): New.
8503
8504 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8505
8506         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8507         * config/sparc/sol2.h: ... here.
8508
8509 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8510
8511         * basic-block.h (struct loops): New field `levels'.
8512         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8513         (flow_loop_level_compute): Initialise level to 1.
8514         (flow_loops_find): Set loops->levels.
8515         (flow_loops_dump): Print loops->levels.
8516
8517 2000-01-23  Richard Henderson  <rth@cygnus.com>
8518
8519         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8520         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8521
8522 2000-01-23  Richard Henderson  <rth@cygnus.com>
8523
8524         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8525         * i386.h (DBX_REGISTER_NUMBER): Use them.
8526         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8527         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8528         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8529         * i386/sequent.h: Kill incorrect comment.
8530
8531 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8532
8533         * ggc-page.c (struct page_entry): Make `context_depth' an
8534         `unsigned short'.
8535         (struct globals): Likewise.
8536
8537 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8538
8539         * loop.c (check_dbra_loop): When checking a loop for
8540         reversability, check the source of any stores to ensure
8541         they don't depend on an initial value.
8542
8543 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8544
8545         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8546
8547 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8548
8549         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8550         'pz_scan' into scope of entire function.  Only affects
8551         compiles with -DDEBUG.
8552
8553 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8554
8555         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8556         section naming to that prior to 2000-01-07 patch.
8557         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8558         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8559         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8560         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8561         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8562
8563 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8564
8565         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8566         constant.
8567
8568 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8569
8570         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8571         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8572
8573 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8574
8575         * cpphash.c (change_newlines): Delete function.
8576         (struct argdata): Delete 'newlines' and 'use_count' fields.
8577         (macroexpand): Remove code referencing those fields.
8578
8579 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8580
8581         * loop.c (loops_info): New variable.
8582         (loop_optimize): Allocate loops->array and free it on exit.
8583         Allocate memory for loops_info and assign to each loop,
8584         replacing alloca.
8585         (find_and_verify_loops): Do not allocate loops->array.
8586
8587 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8588
8589         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8590
8591 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8592
8593         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8594         pseudos if expanded after first flow.
8595         (movdi_pic_label_ref): Likewise.
8596
8597 2000-01-20  Richard Henderson  <rth@cygnus.com>
8598
8599         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8600
8601 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8602
8603         * Makefile.in (fixinc.sh): Depend on specs.
8604         * fixinc/Makefile.in: Add rule to create machname.h.
8605         (fixlib.o): Depend on machname.h.
8606         * fixinc/fixtests.c (machine_name): New test.
8607         * fixinc/fixfixes.c (machine_name): New fix.
8608         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8609         the machine_name test and fix.
8610         * fixinc/fixlib.h: Prototype it.
8611         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8612         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8613
8614         * gcc.c (do_spec_1) [case P]: Take care not to create
8615         identifiers with three leading or trailing underscores.
8616
8617         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8618         (fixincl): Don't specify libraries twice on link line.
8619         (gnu-regex.o): Remove special rule.
8620         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8621         defined by config.h.  Do not define _REGEX_RE_COMP.
8622         (regcomp): Allocate and initialize a fastmap.
8623         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8624
8625 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8626
8627         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8628
8629 2000-01-19  Richard Henderson  <rth@cygnus.com>
8630
8631         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8632         arguments with BB.  Update all callers.  Tidy line wrapping.
8633
8634 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8635
8636         * emit-rtl.c (try_split): Return last_insn if we split the
8637         last_insn.
8638
8639 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8640
8641         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8642         (ix86_initial_elimination_offset): Declare.
8643         * i386.c (ix86_nsaved_regs): Break out from ...
8644         (ix86_can_use_return_insn_p): ... here.
8645         (ix86_emit_save_regs): Break out from ...
8646         (ix86_expand_prologue): ... here.
8647         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8648         out from ...
8649         (ix86_expand_epilogue): ... here.
8650         (ix86_compute_frame_size): Make static, add prototype.
8651         (ix86_initial_elimination_offset): Break out from ...
8652         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8653
8654 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8655
8656         * recog.h (OUT_FCN): Delete.
8657
8658         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8659
8660 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8661
8662         * cppalloc.c: PROTO -> PARAMS.
8663         * cpperror.c: Likewise.
8664         * cppfiles.c: Likewise.
8665         * cpplib.c: Likewise.
8666         * cpplib.h: Likewise.
8667
8668         * config/arm/arm-protos.h: PROTO -> PARAMS.
8669         * config/arm/arm.c: Likewise.
8670         * config/c4x/c4x.c: Likewise.
8671         * config/fr30/fr30-protos.h: Likewise.
8672         * config/nextstep.c: Likewise.
8673         * config/pa/pa.c: Likewise.
8674         * config/pj/pj.c: Likewise.
8675         * config/rs6000/rs6000.c: Likewise.
8676         * config/v850/v850-protos.h: Likewise.
8677         * config/v850/v850.c: Likewise.
8678
8679 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8680
8681         * i370-protos.h: New file.
8682
8683         * i370.c: Include tm_p.h.  Fix compile time warnings.
8684
8685         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8686         warnings.
8687
8688         * i370.md: Likewise.
8689
8690 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8691
8692         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8693         (target_isinf, target_isnan, eisnan): Mark parameter with
8694         ATTRIBUTE_UNUSED.
8695         (eiisinf): Wrap in INFINITY.
8696         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8697         (ibmtoe): Remove unused variable `rndsav'.
8698
8699 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8700
8701         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8702         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8703
8704 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8705
8706         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8707         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8708         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8709
8710         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8711         Recognize Emacs mode markers also.
8712         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8713         C++ comments in C++ headers.  Call is_cxx_header only if
8714         necessary.
8715
8716         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8717         bypass for ncurses.
8718         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8719         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8720         ... these, which use the new C fixes.
8721         (math_exception): Escape literal '+' in bypass expression.
8722
8723         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8724         Regenerate.
8725
8726 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8727
8728         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8729         inside the MEM.
8730
8731 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8732
8733         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8734         prior to calling scan_loop.
8735
8736 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8737
8738         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8739         (split_branches, calc_live_regs): Likewise.
8740
8741 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8742
8743         * sh.md (fpu_single, fp_mode): New attributes.
8744
8745 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8746
8747         * loop.c (current_loop_info): Renamed from loop_info_data
8748         and changed to a pointer.
8749         (loop_optimize): Allocate loop_info structure for each loop
8750         and initialise to zero.
8751         (scan_loop): Set current_loop_info.
8752
8753         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8754         on iteration_var.
8755
8756 2000-01-19  Richard Henderson  <rth@cygnus.com>
8757
8758         * stupid.c: Die die die.
8759         * Makefile.in (OBJS): Remove stupid.o.
8760         (stupid.o): Likewise.
8761
8762         * except.c (emit_eh_context): Don't emit USEs for stupid.
8763         * explow.c (probe_stack_range): Likewise.
8764         * flags.h (obey_regdecls): Remove.
8765         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8766         when not optimizing.
8767         (life_analysis): Limit data collection when not optimizing.
8768         (mark_regs_live_at_end): Always mark the return value registers.
8769         (mark_used_regs): Remove dummy RETURN case.
8770         (print_rtl_with_bb): Don't consult obey_regdecls.
8771         * function.c (use_variable, use_variable_after): Remove.
8772         (assign_parms): Consult optimize not obey_regdecls.
8773         (expand_function_start): Don't emit USEs for stupid.
8774         (expand_function_end): Likewise.
8775         * global.c (build_insn_chain): Export.
8776         * integrate.c (expand_inline_function): Kill return-value USE
8777         handling code.
8778         * jump.c (jump_optimize_1): Do simple jump optimizations and
8779         dead code elimination.
8780         (calculate_can_reach_end): Remove check_deleted argument.
8781         (delete_insn): Patch out insns even when not optimizing.
8782         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8783         * rtl.h (use_variable, use_variable_after): Remove declarations.
8784         (build_insn_chain): Declare.
8785         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8786         (expand_end_bindings): Likewise.
8787         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8788         * toplev.c (obey_regdecls): Remove.
8789         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8790         flow1, local-alloc, and reload.
8791         (main): Don't set obey_regdecls.
8792
8793         * config/nextstep.c (handle_pragma): Likewise.
8794
8795         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8796
8797         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8798
8799 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8800
8801         * alpha-protos.h: PROTO -> PARAMS.
8802         * alpha.c: Likewise.
8803         * elf.h: Likewise.
8804         * h8300.c: Likewise.
8805         * i386-protos.h: Likewise.
8806         * i386.c: Likewise.
8807         * m32r-protos.h: Likewise.
8808         * m32r.c: Likewise.
8809         * mips.c: Likewise.
8810         * mips.md: Likewise.
8811         * gmon-sol2.c: Likewise.
8812         * sparc.c: Likewise.
8813
8814 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8815
8816         * ns32k-protos.h: New file.
8817
8818         * ns32k.c: Fix compile time warnings.
8819
8820         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8821         warnings.
8822
8823         * ns32k.md: Likewise.
8824
8825 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8826
8827         * vax-protos.h: New file.
8828
8829         * vax.c: Fix compile time warnings.
8830
8831         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8832         warnings.
8833
8834         * vax.md: Likewise.
8835
8836         * vaxv.md: Likewise.
8837
8838 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8839
8840         * romp-protos.h: New file.
8841
8842         * romp.c: Fix compile time warnings.
8843
8844         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8845         warnings.
8846
8847         * romp.md: Likewise.
8848
8849 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8850
8851         * we32k-protos.h: New file.
8852
8853         * we32k.c: Fix compile time warnings.
8854
8855         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8856         warnings.
8857
8858 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8859
8860         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8861
8862         * except.c (eh_regs): Likewise.
8863
8864         * final.c (output_operand): Likewise.
8865
8866         * fold-const.c (target_isinf, target_isnan): Likewise.
8867
8868 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8869
8870         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8871         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8872
8873         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8874         when optimize_size.
8875         (clrstrsi): Rewrite.
8876         (strsethi, strsetqi): New expanders.
8877         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8878         (cmpstrsi): Emit compare insn before cmpstrsi_1
8879         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8880         (strlensi_1): Likewise.
8881         (cmpstrsi_1): Likewise; do not output compare.
8882         (strlen expander): Do not unroll when optimizing for size.
8883         (*subsi3_carry): Rename to subsi3_carry
8884         (addqi3_cc): New pattern.
8885         * i386.h (processor_costs): Add move_ratio field.
8886         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8887         * i386.c (*_cost): Set move_ratio.
8888         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8889         (x86_expand_strlensi_1): Rewrite the main loop.
8890
8891 2000-01-17  Richard Henderson  <rth@cygnus.com>
8892
8893         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8894         * cse.c (find_comparison_args, fold_rtx): Likewise.
8895         * integrate.c (subst_constants): Likewise.
8896         * loop.c (get_condition): Likewise.
8897
8898         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8899
8900         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8901
8902 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8903
8904         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8905         (RESTORE_WARN_FLAGS): Unpack it.
8906         Change semantic type of extension to ttype.
8907         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8908         * c-parse.y, c-parse.c, objc/objc-parse.y,
8909         objc/objc-parse.c: Regenerate.
8910
8911 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8912
8913         * fixinc/fixlib.c: Add copyright notice.
8914         (compile_re): New function.
8915         * fixinc/fixlib.h: Prototype compile_re.
8916
8917         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8918         Use compile_re to compile regular expressions.
8919
8920         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8921         where the pattern matched.
8922
8923         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8924         use 'replace'.
8925         (ultrix_ansi_compat): Likewise.
8926         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8927         add egrep test.
8928         (interactv_add2, interactv_add3): Delete.
8929         (x11_sprintf): Don't use filename glob.
8930         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8931         Regenerate.
8932
8933 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8934
8935         * print-rtl.c: PROTO -> PARAMS.
8936         * real.c: Likewise.
8937         * reg-stack.c: Likewise.
8938         * resource.c: Likewise.
8939         * sdbout.h: Likewise.
8940         * simplify-rtx.c: Likewise.
8941         * stor-layout.c: Likewise.
8942         * stupid.c: Likewise.
8943         * xcoffout.c: Likewise.
8944         * xcoffout.h: Likewise.
8945
8946 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8947
8948         * toplev.c: PROTO -> PARAMS.
8949         * toplev.h: Likewise.
8950         * tree.c: Likewise.
8951         * tree.h: Likewise.
8952         * unroll.c: Likewise.
8953         * varasm.c: Likewise.
8954         * varray.c: Likewise.
8955         * varray.h: Likewise.
8956
8957 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8958
8959         * reload.c: PROTO -> PARAMS.
8960         * reload.h: Likewise.
8961         * reload1.c: Likewise.
8962         * reorg.c: Likewise.
8963         * resource.h: Likewise.
8964         * rtl.c: Likewise.
8965         * rtl.h: Likewise.
8966         * rtlanal.c: Likewise.
8967         * sbitmap.h: Likewise.
8968         * sdbout.c: Likewise.
8969         * stack.h: Likewise.
8970         * stmt.c: Likewise.
8971         * system.h: Likewise.
8972
8973 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8974
8975         * machmode.h: PROTO -> PARAMS.
8976         * mbchar.h: Likewise.
8977         * mips-tdump.c: Likewise.
8978         * mips-tfile.c: Likewise.
8979         * optabs.c: Likewise.
8980         * output.h: Likewise.
8981         * prefix.c: Likewise.
8982         * profile.c: Likewise.
8983         * protoize.c: Likewise.
8984         * real.h: Likewise.
8985         * recog.c: Likewise.
8986         * recog.h: Likewise.
8987         * regclass.c: Likewise.
8988         * regmove.c: Likewise.
8989         * regs.h: Likewise.
8990
8991 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8992
8993         * ggc-common.c: PROTO -> PARAMS.
8994         * ggc-page.c: Likewise.
8995         * ggc-simple.c: Likewise.
8996         * ggc.h: Likewise.
8997         * global.c: Likewise.
8998         * graph.c: Likewise.
8999         * gthr-win32.h: Likewise.
9000         * haifa-sched.c: Likewise.
9001         * halfpic.h: Likewise.
9002         * integrate.c: Likewise.
9003         * integrate.h: Likewise.
9004         * jump.c: Likewise.
9005         * lcm.c: Likewise.
9006         * local-alloc.c: Likewise.
9007         * loop.c: Likewise.
9008         * loop.h: Likewise.
9009
9010 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9011
9012         * genattr.c: PROTO -> PARAMS.
9013         * genattrtab.c: Likewise.
9014         * gencheck.c: Likewise.
9015         * gencodes.c: Likewise.
9016         * genconfig.c: Likewise.
9017         * genemit.c: Likewise.
9018         * genextract.c: Likewise.
9019         * genflags.c: Likewise.
9020         * gengenrtl.c: Likewise.
9021         * genopinit.c: Likewise.
9022         * genoutput.c: Likewise.
9023         * genpeep.c: Likewise.
9024         * genrecog.c: Likewise.
9025
9026 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
9027
9028         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9029
9030 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9031
9032         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9033         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9034         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9035         * configure, config.in: Rebuilt.
9036
9037 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
9038
9039         * config/i386/i386.md: Add peephole to merge successive stack
9040         adjusts.
9041
9042 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
9043
9044         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9045         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
9046         when walking backwards to find all the parameter loads when
9047         the basic block ends in a call.
9048
9049 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9050
9051         * loop.c (this_loop_info): Delete.
9052         (uid_loop): Add in place of uid_loop_num.  All uses updated.
9053         (loop_number_exit_count): Delete and replace with entry in loop
9054         structure.  All uses updated.
9055         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9056         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9057         (loop_outer_loop): Likewise.
9058         (loop_invalid, loop_number_exit_labels): Likewise.
9059         (loop_used_count_register): Delete and replace with entry in
9060         loop_info structure.
9061         (find_and_verify_loops): Add loops argument.
9062         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9063         loop_end, etc. arguments with loop structure pointer.  All callers
9064         changed.
9065         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9066         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9067         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9068         (insert_bct): Likewise.
9069         (basic_induction_var): New argument level.
9070         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9071         vtop, and cont.  Add used_count_register.
9072         (uid_loop): Delete declaration.
9073         (loop_number_exit_count): Likewise.
9074         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9075         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9076         (loop_outer_loop, loop_used_count_register): Likewise.
9077         (loop_invalid, loop_number_exit_labels): Likewise.
9078         (unroll_loop): Replace loop_start and loop_end arguments
9079         with loop structure pointer.
9080         (loop_precondition_p, loop_iterations): Likewise.
9081         Include basic-block.h.
9082         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9083         with loop structure pointer.
9084         (loop_precondition_p, loop_iterations): Likewise.
9085         * basic-block.h (struct loop): New entries vtop, cont,
9086         cont_dominator, start, end, top, scan_start, exit_labels,
9087         exit_count.
9088         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9089
9090 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9091
9092         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9093
9094 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
9095
9096         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9097
9098 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9099
9100         * pdp11-protos.h: New file.
9101
9102         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
9103         time warnings.
9104
9105         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
9106         warnings.
9107
9108         * pdp11.md: Likewise.
9109
9110         * 2bsd.h: Likewise.
9111
9112 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9113
9114         * mn10300-protos.h: New file.
9115
9116         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9117         time warnings.
9118
9119         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
9120         warnings.
9121
9122         * mn10300.md: Likewise.
9123
9124 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9125
9126         * mn10200-protos.h: New file.
9127
9128         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
9129         time warnings.
9130
9131         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
9132         warnings.
9133
9134         * mn10200.md: Likewise.
9135
9136 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9137
9138         * h8300-protos.h: New file.
9139
9140         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9141         time warnings.
9142
9143         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
9144         warnings.
9145
9146         * h8300.md: Likewise.
9147
9148 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9149
9150         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9151         (asm_emit_uninitialised): Likewise.
9152
9153 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
9154
9155         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9156         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9157
9158 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9159
9160         * config/mips/mips.c (override_options): Don't turn on extra
9161         alignment for mips16.
9162
9163 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9164
9165         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9166         eabi, and make sure queued POSTINCREMENT rtl is emitted at
9167         the right point.
9168
9169 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9170
9171         * builtins.c (PAD_VARARGS_DOWN): Define.
9172         (std_expand_builtin_va_arg): Use the above macro.
9173         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9174         * tm.texi (Register Arguments): Document the above macro.
9175
9176 2000-01-14  Nick Clifton  <nickc@cygnus.com>
9177
9178         * emit-rtl.c (emit_insn): If checking is enabled, make sure
9179         that this function has not been used to emit a jump
9180         instruction.
9181
9182         * jump.c (return_jump_1): Cope with being passed a null rtx.
9183
9184 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9185
9186         * eh-common.h: PROTO -> PARAMS.
9187         * emit-rtl.c: Likewise.
9188         * errors.c: Likewise.
9189         * errors.h: Likewise.
9190         * except.c: Likewise.
9191         * except.h: Likewise.
9192         * explow.c: Likewise.
9193         * expmed.c: Likewise.
9194         * expr.c: Likewise.
9195         * expr.h: Likewise.
9196         * final.c: Likewise.
9197         * fix-header.c: Likewise.
9198         * flow.c: Likewise.
9199         * fold-const.c: Likewise.
9200         * function.c: Likewise.
9201         * function.h: Likewise.
9202         * gcc.c: Likewise.
9203         * gcov-io.h: Likewise.
9204         * gcov.c: Likewise.
9205         * gcse.c: Likewise.
9206
9207 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9208
9209         * sh-protos.h: New file.
9210
9211         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9212         Add static prototypes.  Fix compile time warnings.
9213
9214         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9215         * sh.md: Likewise.
9216         * elf.h: Likewise.
9217
9218 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9219
9220         * arc-protos.h: New file.
9221
9222         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9223         time warnings.
9224
9225         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9226         warnings.
9227
9228         * arc.md: Likewise.
9229
9230 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9231
9232         * dsp16xx-protos.h: New file.
9233
9234         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9235         time warnings.
9236
9237         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9238         warnings.
9239
9240         * dsp16xx.md: Likewise.
9241
9242 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9243
9244         * convex-protos.h: New file.
9245
9246         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9247         time warnings.
9248
9249         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9250         warnings.
9251
9252 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9253
9254         * elxsi-protos.h: New file.
9255
9256         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9257         time warnings.
9258
9259         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9260         warnings.
9261
9262         * elxsi.md: Likewise.
9263
9264 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9265
9266         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9267         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9268         match the comment for MIPS16.
9269
9270 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9271
9272         * flow.c (split_edge): Do not call set_block_for_insn if we
9273         do not have a basic_block_for_insn structure.
9274
9275         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9276         and destination functions are 32bit aligned within the trampoline.
9277         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9278         (TRAMPOLINE_ALIGNMENT): Define.
9279
9280         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9281         (set (pc) (label_ref)), verify the change creates a valid insn.
9282
9283         * fr30.c (call_operand): Tighten and rework to match rules for
9284         call RTL expressions.
9285         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9286         * fr30.md (call patterns): Improve constraints.
9287
9288 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9289
9290         * fr30.c (fr30_expand_epilogue): Revert last change.
9291         Use emit_jump_insn for the return insn.
9292
9293 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9294                           Stan Cox  <scox@cygnus.com>
9295
9296         * predict.c: New file. Preliminary infrastructure work for static
9297         branch prediction and basic block reordering.
9298         * basic-block.h: Add prototype for estimate_probability.
9299         * Makefile.in: Add rules for predict.o.
9300
9301 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9302
9303         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9304         * fixinc/*: Likewise.
9305
9306 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9307
9308         * cccp.c: PROTO -> PARAMS.
9309         * cexp.y: Likewise.
9310         * collect2.c: Likewise.
9311         * combine.c: Likewise.
9312         * convert.h: Likewise.
9313         * cse.c: Likewise.
9314         * dbxout.c: Likewise.
9315         * dbxout.h: Likewise.
9316         * diagnostic.c: Likewise.
9317         * doprint.c: Likewise.
9318         * dwarf2out.c: Likewise.
9319         * dwarf2out.h: Likewise.
9320         * dwarfout.c: Likewise.
9321         * dwarfout.h: Likewise.
9322         * dyn-string.h: Likewise.
9323
9324 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9325
9326         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9327         macro conditionals guarding use.
9328
9329         * dwarf2out.c: Include "tm_p.h".
9330
9331         * function.c (locate_and_pad_parm): Mark parameter with
9332         ATTRIBUTE_UNUSED.
9333         (expand_function_end): Likewise for variable `context'.
9334
9335         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9336
9337 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9338
9339         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9340         register to prevent compile time warnings.
9341
9342 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9343
9344         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9345         to avoid -Wtraditional warning.
9346
9347 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9348
9349         * 1750a-protos.h: New file.
9350
9351         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9352         time warnings.
9353
9354         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9355         warnings.
9356
9357         * 1750a.md: Likewise.
9358
9359 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9360
9361         * a29k-protos.h: New file.
9362
9363         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9364         time warnings.
9365
9366         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9367         warnings.
9368
9369 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9370
9371         * clipper-protos.h: New file.
9372
9373         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9374         time warnings.
9375
9376         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9377         warnings.
9378
9379 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9380
9381         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9382
9383 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9384
9385         * configure.in (--enable-new-gxx-abi): New option.
9386         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9387         * Makefile.in (GXX_ABI_FLAG): New variable.
9388         * configure: Regenerate.
9389
9390 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9391
9392         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9393         * tm.texi (FORCE_STRUCT_BLK): Document.
9394         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9395
9396 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9397
9398         * config/ns32k/ns32k.md: Revert Jan 9 change.
9399
9400         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9401         to a mode-test, if the predicate is address_operand.
9402
9403 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9404
9405         * combine.c (if_then_else_cond): Be careful about what kinds
9406         of RTL expressions are passed to operand_subword.
9407
9408         * flow.c (split_edge): If we have to insert a new jump, make
9409         sure to associate it with a basic block.
9410
9411         * flow.c (commit_one_edge_insertion): A block with one successor
9412         can end in a JUMP_INSN that is not a simplejump.
9413
9414 2000-01-12  Robert Lipe  <robertl@sco.com>
9415
9416         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9417         (BUILD_VA_LIST_TYPE): Define.
9418         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9419         with crtstuff.c.
9420
9421 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9422
9423         * cccp.c (do_pragma): Add cast to (char *).
9424
9425 2000-01-12  Richard Henderson  <rth@cygnus.com>
9426             Fred Fish  <fnf@be.com>
9427             Jason Merrill  <jason@cygnus.com>
9428
9429         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9430         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9431         * i386/beos-elf.h, i386/beos-pe.h: New files.
9432
9433         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9434         * cross-make (SYSTEM_HEADER_DIR): Define using
9435         CROSS_SYSTEM_HEADER_DIR.
9436
9437         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9438         (process_command): Use it.
9439         (main): Likewise.  Kill trailing = from env vars.
9440         (build_search_list): Put it back.
9441         * collect2.c (main): Use LIBRARY_PATH_ENV.
9442
9443         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9444         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9445
9446         * tm.texi (Frame Layout): Document SMALL_STACK.
9447         * c-common.c (c_common_nodes_and_builtins): Check it.
9448
9449         * system.h: Undef alloca after including glibc's <stdlib.h>,
9450         if USE_C_ALLOCA is defined.
9451
9452         * gcc.c (set_input): New fn.
9453         (main): After all input files are compiled, reset the input file
9454         info to the first.
9455
9456         * aclocal.m4 (rindex, index): If already defined, don't attempt
9457         to redefine.
9458
9459         * ginclude/varargs.h: (__va_list__): Define ifndef.
9460         * ginclude/stdarg.h: Likewise.
9461
9462         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9463         instead of unsigned char.
9464
9465         * hash.h (true, false, boolean): Undef before enum.
9466
9467         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9468         proper type of "HOST_WIDE_INT *", rather than their natural type of
9469         "unsigned HOST_WIDE_INT *".
9470
9471 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9472
9473         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9474
9475         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9476
9477         * regclass.c (choose_hard_reg_mode): Likewise.
9478
9479         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9480
9481         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9482
9483 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9484
9485         * c-common.c: PROTO -> PARAMS.
9486         * c-common.h: Likewise.
9487         * c-decl.c: Likewise.
9488         * c-iterate.c: Likewise.
9489         * c-lang.c: Likewise.
9490         * c-lex.c: Likewise.
9491         * c-lex.h: Likewise.
9492         * c-parse.in: Likewise.
9493         * c-pragma.c: Likewise.
9494         * c-pragma.h: Likewise.
9495         * c-tree.h: Likewise.
9496         * c-typeck.c: Likewise.
9497         * objc/objc-act.c: Likewise.
9498         * objc/objc-act.h: Likewise.
9499
9500 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9501
9502         * m88k-protos.h: New file.
9503
9504         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9505         time warnings.
9506
9507         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9508
9509         * m88k.md: Likewise.
9510
9511         * tekXD88.h: Likewise.
9512
9513 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9514
9515         * m68k-protos.h: New file.
9516
9517         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9518         time warnings.
9519
9520         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9521
9522         * mot3300.h: Likewise.
9523
9524 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9525
9526         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9527         extract_bitlst.
9528         (extract_bitlist): Declare bitlen.
9529
9530 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9531
9532         * cccp.c: Accept and ignore -lang-fortran.
9533
9534         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9535         qualifiers don't match at any level of pointerness.
9536
9537 2000-01-12  Robert Lipe  <robertl@sco.com>
9538
9539         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9540
9541 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9542
9543         * reload1.c (reload_reg_unavailable): New static variable.
9544         (reload_reg_free_p): Test it.
9545         (reload_reg_free_for_value_p): Test it instead of
9546         reload_reg_used.
9547         (choose_reload_regs_init): Compute it.
9548
9549 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9550
9551         * reorg.c (fill_slots_from_thread): Check modified_in_p
9552         before replacing.
9553
9554 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9555
9556         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9557         these nodes even if INTERNALS is not set.
9558
9559 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9560
9561         * gcse.c (delete_null_pointer_checks_1): Cope when
9562         get_condition cannot determine the condition.
9563
9564 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9565
9566         * toplev.h (set_message_length): Declare.
9567
9568         * diagnostic.c (obstack_chunk_alloc): Define macro.
9569         (obstack_chunk_free): Likewise.
9570         (struct output_buffer): New data structure.
9571         (vmessage): Remove.
9572         (output_maximum_width): New variable.
9573         (doing_line_wrapping, set_message_length, init_output_buffer,
9574         get_output_prefix, output_space_left, emit_output_prefix,
9575         output_newline, output_append, output_puts, dump_output,
9576         vbuild_message_string, build_message_string, build_location_prefix,
9577         voutput_notice, output_printf, line_wrapper_printf,
9578         vline_wrapper_message_with_location):  New functions. Implement
9579         automatic line wrapping.
9580         (v_message_with_decl): Make it handle automatic line wrapping.
9581         (v_error_with_file_and_line): Likewise.
9582         (v_warning_with_file_and_line): Likewise.
9583         (announce_function): Likewise.
9584         (default_print_error_function): Likewise.
9585
9586 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9587
9588         * cpplib.h (struct cpp_options): Change lang_asm to char.
9589         Add lang_fortran.
9590         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9591         done in cpp_handle_option now.
9592         (initialize_builtins): Take out special case code used only by
9593         __STDC_VERSION__.
9594         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9595         if -traditional.  Recognize -lang-fortran and set
9596         lang_fortran, also turn off cplusplus_comments.
9597         (print_help): Document -lang-fortran.
9598         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9599         lang_asm. Ignore all directives other than `# 123 "file"' if
9600         CPP_PREPROCESSED.
9601         (cpp_get_token): If -traditional, don't recognize directives
9602         unless the # is in column 1.
9603         (parse_string): If lang_fortran or lang_asm, silently
9604         terminate strings ('' or "") at end of line.
9605         Remove unnecessary braces.
9606
9607 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9608             Richard Henderson  <rth@cygnus.com>
9609
9610         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9611         as used.
9612         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9613         strict_low_part when possible.
9614
9615 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9616
9617         * alias.c: PROTO -> PARAMS.
9618         * basic-block.h: Likewise.
9619         * bitmap.c: Likewise.
9620         * bitmap.h: Likewise.
9621         * builtins.c: Likewise.
9622         * c-aux-info.c: Likewise.
9623         * caller-save.c: Likewise.
9624         * calls.c: Likewise.
9625
9626 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9627
9628         * Makefile.in (toplev.o): Depend on regs.h.
9629
9630         * output.h (tdesc_section): Prototype.
9631
9632         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9633
9634         * sdbout.c: Include "tm_p.h".
9635
9636         * toplev.c: Include "regs.h".
9637
9638 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9639
9640         * unroll.c (unroll_loop): Add EH support.
9641
9642 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9643
9644         * pa-protos.h: New file.
9645
9646         * pa.c: Include recog.h and tm_p.h.
9647         (compute_zdepwi_operands, compute_movstrsi_length,
9648         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9649         find_addr_reg, import_milli): Add static prototypes.
9650         (pa_cpu_string, pa_arch_string): Constify a char*.
9651         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9652         (read_only_operand): Add argument `mode'.
9653         (singlemove_string, output_move_double, output_fp_move_double,
9654         output_block_move, output_and, output_ior, output_ascii,
9655         remove_useless_addtr_insns, milli_names, output_mul_insn,
9656         output_div_insn, output_mod_insn, output_arg_descriptor,
9657         output_cbranch, output_bb, output_bvb, output_dbra, ,
9658         output_millicode_call, output_call, hppa_encode_label,
9659         output_parallel_movb, output_parallel_addb): Constify a char*.
9660         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9661         (output_parallel_addb): Remove extra arg to `constrain_operands'
9662
9663         * pa.h:  Move all prototypes to pa-protos.h.
9664         (pa_cpu_string, pa_arch_string): Constify a char*.
9665         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9666
9667         * pa.md: Call `function_label_operand' with mode argument.
9668         Likewise for `read_only_operand'.
9669         Fix nesting of parens in call to `symbolic_operand'.
9670
9671 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9672
9673         * i860-protos.h: New file.
9674
9675         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9676         time warnings.
9677
9678         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9679
9680         * i860.md: Likewise.
9681
9682 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9683
9684         * i386.md (movstrsi expander): Rewrite.
9685         (movstrsi_1 insn): Deleted.
9686         (strmovhi, strmovqi expander): New expanders.
9687         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9688         * i386.c (x86_single_stringop): New global variable.
9689         * i386.h (x86_single_stringop): Declare.
9690         (TARGET_SINGLE_STRINGOP): New macro.
9691
9692 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9693
9694         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9695         integer vararg POSTINCREMENT before the destination of the jump
9696         for the hard fp case.
9697         (function_arg_pass_by_reference): Pass a copy of CUM to
9698         FUNCTION_ARG.
9699
9700         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9701         for CONSTANT_ADDRESS_P above while loop for subreg.
9702
9703 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9704
9705         * flow.c (propagate_block): When a prologue/epilogue insn
9706         is marked dead, unconditionally clear libcall_is_dead and
9707         insn_is_dead, and only dump rtl if warnings aren't being
9708         suppressed.
9709
9710 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9711
9712         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9713         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9714         (FIXED_REGISTERS): Set dirflag as fixed.
9715         (CALL_USED_REGISTERS): Set dirflag as used.
9716         (REG_ALLOC_ORDER): Set dirflag as last one.
9717         (DIRFLAG_REG): New macro.
9718         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9719         (HI_REGISTER_NAMES): Add dirflag.
9720         (DEBUF_PRINT_REG): Handle dirflag.
9721         * i386.md (type attribute): New cld and str types.
9722         (length_opcode attribute): Set cld and str to 1.
9723         (memory attribute): Set str to unknown - it is not clear from the
9724         patterns.
9725         (pent_np function unit): Prefixed string operations takes 12 cycles
9726         minimally; cld takes 2 cycles.
9727         (ppro_uops attribute): Str is "many" and cld is "few".
9728         (ppro_p0 unit): Handle cld here.
9729         (k6_alux unit): Handle cld and str types.
9730         (k6_load unit): It is ocupied by str opcodes.
9731         (k6_store unit): It is ocupied by str opcodes.
9732         (athlon_decode): Str is vector decoded.
9733         (athlon_ieu): Handle str and cld.
9734         (cld pattern): New.
9735         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9736         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9737         cmpstrsi_nz_1 insn): Do not output cld instruction
9738
9739 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9740
9741         * gcc.texi (G++ and GCC): Add Java and Chill.
9742         (Bug Critera): Don't list languages.
9743
9744         * gcc.texi (Incompatibilities): No longer claim most C compilers
9745         are K&R.
9746
9747         * gcc.texi (G++ and GCC): Update other front-ends list.
9748
9749 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9750
9751         * i386.c (ix86_expand_setcc): Fix typo.
9752         (ix86_expand_movcc): Similarly.
9753
9754         * Band-aid until haifa's bitset implementation is nuked.
9755         * haifa-sched.c (extract_bitlst): New parameter for size of the
9756         bitset in bits.  All callers changed.  Avoid looking at undefined
9757         bits in the bitset.
9758         (edgeset_bitsize): New variable.
9759         (schedule_region): Initialize edgeset_bitsize.
9760
9761 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9762
9763         * Makefile.in (optabs.o): Depend on real.h
9764         (resource.o): Depend on insn-attr.h
9765
9766         * builtins.c (result_vector): Wrap prototype in macro conditions
9767         governing definition and use.
9768
9769         * c-common.c: Include tm_p.h.
9770
9771         * c-lex.c: Likewise.
9772
9773         * elfos.h: Constify a char*.
9774
9775         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9776         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9777         parameter with ATTRIBUTE_UNUSED.
9778
9779         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9780         CHECK_FLOAT_VALUE.
9781
9782         * haifa-sched.c (schedule_insns): Mark parameter with
9783         ATTRIBUTE_UNUSED.
9784
9785         * optabs.c: Include real.h.
9786
9787         * real.h (ereal_atof): Add prototype arguments.
9788
9789         * resource.c: Include insn-attr.h.
9790
9791         * sdbout.c (sdbout_queue_anonymous_type,
9792         sdbout_dequeue_anonymous_types): Wrap in macro
9793         SDB_ALLOW_FORWARD_REFERENCES.
9794         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9795         ATTRIBUTE_UNUSED.
9796
9797         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9798
9799         * stupid.c: Include tm_p.h.
9800
9801         * tree.c (real_value_from_int_cst): Mark parameter with
9802         ATTRIBUTE_UNUSED.
9803
9804 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9805
9806         * i960-protos.h: New file.
9807
9808         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9809         time warnings.
9810
9811         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9812
9813 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9814
9815         * combine.c (expand_field_assignment): Do not discard SUBREGs
9816         while computing nonzero_bits.
9817
9818 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9819
9820         * config/arm/arm.c: Fix compile time warnings about signed vs
9821         unsigned constants.
9822         * config/arm/arm.h: Fix compile time warnings about signed vs
9823         unsigned constants.
9824
9825 2000-01-09  Philip Blundell  <philb@gnu.org>
9826
9827         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9828         than `ldm' with only one register.
9829         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9830         only one register.
9831
9832         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9833         clobbered.
9834
9835 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9836
9837         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9838         must have SImode.
9839
9840 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9841
9842         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9843         assignment used as truth value.
9844
9845         * function.c (assign_temp): Mark parameter `dont_promote' with
9846         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9847         PROMOTE_FOR_CALL_ONLY.
9848
9849         * genrecog.c (write_subroutine): Mark variable `operands' with
9850         ATTRIBUTE_UNUSED.
9851
9852         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9853         ATTRIBUTE_UNUSED.
9854
9855         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9856         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9857
9858         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9859         for `decl'.
9860
9861 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9862
9863         * config/c4x.h: Tidy up comments.
9864         * config/c4x.c: Likewise.
9865
9866 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9867
9868         * fold-const.c (lshift_double, rshift_double): Handle
9869         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9870
9871 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9872
9873         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9874         in prepare_function_start().
9875
9876 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9877
9878         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9879         longer allocate extra stack for function calls.
9880
9881 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9882
9883         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9884
9885 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9886
9887         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9888
9889 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9890
9891         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9892         * aix43.h: Revert Aug 2 change.
9893         (HAS_INIT_SECTION): Define, not visible yet.
9894         (LD_INIT_SWITCH): Define, not visible yet.
9895         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9896
9897         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9898
9899         * collect2.c (main): Expand ld2 size further.
9900         (export_object_lst): Cast assignment to avoid warning.
9901         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9902         (scan_prog_file, COFF): Do not collect initialization or
9903         finalization functions generated for entire shared object if
9904         init/fini support present.
9905
9906 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9907
9908         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9909         that .section directives are always prefixed by a tab.
9910
9911         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9912         definitions.
9913
9914 2000-01-07  Matt Austern  <austern@sgi.com>
9915
9916         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9917         expon.
9918
9919 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9920
9921         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9922         crtstuff.c.
9923         (crtbegin.o, s-crtS): Likewise.
9924
9925 2000-01-06  Richard Henderson  <rth@cygnus.com>
9926
9927         * alpha.md (adddi_2+1): Limit offset such that it will be
9928         loadable with a single ldah+lda pair.
9929         (adddi_2+2): Explicitly fail split if we can't make it work.
9930
9931 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9932
9933         * protoize.c: Conditionally include unistd.h.
9934         (IS_SAME_PATH_CHAR): New macro.
9935         (IS_SAME_PATH): New macro.
9936         (CPLUS_FILE_SUFFIX): New macro.
9937         (cplus_suffix): New static variable.
9938         (is_abspath): New static function.
9939         (in_system_include_dir): Handle DOS style pathnames.
9940         (file_could_be_converted): Likewise.
9941         (file_normally_convertible): Likewise.
9942         (directory_specified_p): Likewise.
9943         (file_excluded_p): Likewise.
9944         (abspath): Likewise.
9945         (shortpath): Likewise.
9946         (referenced_file_is_newer): Likewise.
9947         (save_def_or_dec): Likewise.
9948         (do_processing): Likewise.
9949         (main): Likewise.
9950         (edit_file): Likewise. Use rename instead of link.
9951         (rename_c_file): Likewise. Don't rename syscalls file.
9952         (munge_compile_params): Define null device for DOS based systems.
9953         (process_aux_info_file): Use binary mode if appliable.
9954         (edit_file): Likewise.
9955         * invoke.texi (Running Protoize): Document C++ suffixes used.
9956
9957         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9958         IS_DIR_SEPARATOR macros.
9959         * collect2.c: Likewise.
9960         * cppinit.c: Likewise.
9961         * dwarf2out.c: Likewise.
9962         * gcc.c: Likewise.
9963         * gcov.c: Likewise.
9964         * prefix.c: Likewise.
9965         * rtl.c: Likewise.
9966         * toplev.c: Likewise.
9967         * system.h: And move to here.
9968
9969         * prefix.c (update_path): Fix typo in variable name.
9970
9971 2000-01-06  Richard Henderson  <rth@cygnus.com>
9972
9973         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9974         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9975         (count_reg_sets_1, count_reg_references): Likewise.
9976         (flow_loops_level_compute): Start counting actual loop depth at 1.
9977         (flow_loops_find): Likewise.
9978         * local-alloc.c (update_equiv_regs): Likewise.
9979         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9980
9981 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9982
9983         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9984         FIRST_PSEUDO_REGISTER
9985         * dwarf2out.c: Don't include frame.h
9986         * dwarfout.c: Likewise
9987         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9988         frame.h
9989
9990 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
9991
9992         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9993         dead registers.
9994
9995         * i386.c (movsf splitter): Fix typo in my last checkin.
9996
9997 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9998
9999         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10000         own definition of this macro.
10001         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10002         flag_data_sections or UNIQUE_SECTION_P are true.
10003
10004         * tm.texi (UNIQUE_SECTION): Document that it can be called for
10005         unitialised data decls.
10006
10007         * config/i386/winnt.c (i386_pe_unique_section): Cope with
10008         being called for uninitialised data.
10009
10010         * config/i386/interix.c (i386_pe_unique_section): Cope with
10011         being called for uninitialised data.
10012
10013         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10014         for uninitialised data.
10015
10016         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10017         for uninitialised data.
10018
10019         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10020         for uninitialised data.
10021
10022         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10023         (UNIQUE_SECTION_P): Always generate a unique section if
10024         flag_data_sections is true.
10025         (UNIQUE_SECTION): Also generate unique sections for
10026         uninitialised data.
10027         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10028         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10029         named_section().
10030
10031 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10032
10033         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10034         SI, or DI.
10035
10036 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10037
10038         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10039         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10040         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10041         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10042         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10043
10044         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10045
10046 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10047
10048         * c-decl.c (finish_enum): Simplify code to determine minimum and
10049         maximum values of the enum, and calculate the type.  Remove check
10050         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
10051         the DECL_INITIAL of each enumeration constant with a copy converted
10052         to the enumeration type.  When updating variant types, don't bother
10053         updating the type itself.
10054
10055         * c-typeck.c (build_binary_op): Simplify conditional expressions
10056         when weeding out spurious signed-unsigned warnings.  Add new
10057         spurious warning category: if the unsigned quantity is an enum
10058         and its maximum value fits in signed_type(result_type).  Update
10059         commentary.
10060         (build_conditional_expr): Warn here if one alternative is signed
10061         and the other is unsigned.
10062
10063 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10064
10065         * config/fr30/fr30.h: Remove extraneous comments.
10066
10067 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
10068
10069         * reload1.c (choose_reload_regs): When disabling a reload, also
10070         set reload_spill_index to -1.
10071
10072 2000-01-04  Joel Sherrill (joel@OARcorp.com>
10073
10074         * configure.in (m68*-*-rtemscoff*): New target, formal name for
10075         old m68*-*-rtems*.
10076         (m68*-*-rtemself*): New target.
10077         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10078         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10079         (sparc*-*-rtemself*): New target.
10080         (sparc*-*-rtems*): Now elf not a.out.
10081         * config/i386/rtems.h: Include config/rtems.h.
10082         * config/i386/rtemself.h: Include config/rtems.h.
10083         * config/i960/rtems.h: Include config/rtems.h.
10084         * config/m68k/rtems.h: Include config/rtems.h.
10085         * config/m68k/rtemself.h: Include config/rtems.h.
10086         * config/mips/rtems64.h: Include config/rtems.h.
10087         * config/pa/rtems.h: Include config/rtems.h.
10088         * config/rs6000/rtems.h: Include config/rtems.h.
10089         * config/sh/rtems.h: Include config/rtems.h.
10090         * config/sh/rtemself.h: Include config/rtems.h.
10091         * config/sparc/rtems.h: Include config/rtems.h.
10092         * config/sparc/rtemself.h: Include config/rtems.h
10093
10094 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
10095
10096         * final.c (shorten_branches): Correctly compute length of
10097         asms without operands.
10098
10099 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
10100
10101         * configure.in: Add pj target.
10102         * configure: Regenerate.
10103         * config/pj: New directory.
10104         * config/pj/lib1funcs.S: New file.
10105         * config/pj/linux.h: New file.
10106         * config/pj/pj.c: New file.
10107         * config/pj/pj.md: New file.
10108         * config/pj/pjl.h: New file.
10109         * config/pj/t-pj: New file.
10110         * config/pj/xm-pj.h: New file
10111
10112 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
10113
10114         * toplev.c (rest_of_compilation): Run shorten-branches before
10115         reg-stack for now.
10116
10117 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10118
10119         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
10120         macros so that they're consistent with their names.
10121         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10122         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10123
10124 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10125
10126         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
10127         modified inadvertently.
10128
10129 2000-01-04  Joel Sherrill <joel@OARcorp.com>
10130
10131         * configure.in (v850*-*-rtems*): New target.
10132         * configure: Regenerate.
10133         * config/v850/rtems.h: New file.
10134
10135 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
10136
10137         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
10138         (__gthread_key_create): Likewise.
10139         (__gthread_key_dtor):  Likewise.
10140         (__gthread_once): Fix logic.
10141         (__gthread_key_delete): Cast away constness.
10142
10143         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
10144         * invoke.texi: Document.
10145         * i386/mingw32.h (CPP_SPEC): Use.
10146         (LIBGCC_SPEC): Likewise.
10147         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10148
10149 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10150
10151         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10152         (HANDLE_PRAGMA_PACK): Undefine.
10153         (SLOW_UNALIGNED_ACCESS): Define.
10154
10155 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10156
10157         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10158         to default definition.
10159         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10160         (store_fixed_bit_field): Call macro with word_mode and alignment.
10161         (extract_bit_field): Call macro with relevant mode and alignment.
10162         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10163         to default definition.
10164         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10165         and alignment.
10166         (move_by_pieces_ninsns): Likewise.
10167         (clear_by_pieces): Likewise.
10168         (emit_push_insn): Likewise.
10169         (store_field): Call macro with relevant mode and alignment.
10170         (expand_expr): Likewise.
10171         (expand_expr_unaligned): Likewise.
10172
10173         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10174         (SLOW_UNALIGNED_ACCESS): Define.
10175         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10176         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10177         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10178         (toc_section): Likewise and .toc pseudo-op.
10179         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10180         64-bit mode.
10181         (TEXT_SECTION_ASM_OP): Likewise.
10182         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10183         32-bit offsets.
10184
10185         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10186         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10187         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10188         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10189         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10190
10191 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
10192
10193         * regclass.c: Revert my Jan 4 change to loop cost computation.
10194
10195 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10196
10197         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10198         compilation.
10199
10200 2000-01-04  Stan Cox  <scox@cygnus.com>
10201
10202         * haifa-sched.c (build_control_flow): Change unreachable simple
10203         loop test to check if current block has only one predecessor.
10204         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10205
10206 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10207
10208         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10209
10210         * calls.c (expand_call): Likewise for
10211         `old_stack_arg_under_construction'.
10212
10213         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10214
10215         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10216         `save_constant'.
10217
10218         * gcc.c (execute): Likewise for `ut' and `st'.
10219
10220         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10221
10222         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10223
10224         * jump.c (jump_optimize_1): Likewise for `temp2'.
10225
10226         * local-alloc.c (block_alloc): Likewise for `r1'.
10227
10228         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10229
10230         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10231         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10232
10233         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10234         and `set2'.
10235
10236         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10237         and `goal_earlyclobber'.
10238
10239         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10240
10241         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10242
10243         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10244
10245         * unroll.c (copy_loop_body): Likewise for `copy'.
10246
10247         * varasm.c (output_constructor): Likewise for `byte'.
10248
10249 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10250
10251         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10252         all FP constants for constant->reg moves.
10253         (ix86_split_to_parts): Try to convert memory address into immediate
10254         when available in the constant pool.
10255         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10256         moves.
10257         (LEGITIMATE_CONSTANT_P): Return 1.
10258         * i386.md (pushsf): New splitter to convert constant pool memory
10259         reference to immediate.
10260         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10261         reload.
10262
10263 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10264
10265         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10266         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10267         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10268         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10269         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10270
10271 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10272
10273         * ginclude/stdbool.h:  Support compilation as C++.
10274
10275 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10276
10277         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10278
10279 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10280
10281         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10282         comments.
10283
10284         * regclass.c: Fix minor whitespace problems.
10285
10286 2000-01-03  Anthony Green  <green@cygnus.com>
10287
10288         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10289         Restore the pic register if required.
10290
10291 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10292
10293         * c-common.c (format_char_info): Update comment.
10294         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10295         was recognized.  Emit warning for formats new in ISO C99 only
10296         if flag_isoc9x is not set.
10297
10298 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10299
10300         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10301
10302 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10303
10304         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10305         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10306         (make_compound_operation): Choose cheaper alternative between
10307         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10308
10309         * regclass.c (op_costs): Remove global variable.
10310         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10311         (record_operand_costs): Break out from ...
10312         (scan_one_insn): ... here.
10313         (dump_regclass): Make dumps nicer.
10314         (regclass): Dump preferrences choosed and changes done during passes.
10315
10316 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10317
10318         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10319
10320 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10321
10322         * config/sparc/sparc.c (gen_df_reg): New function.
10323         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10324         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10325         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10326         movtf_cc_reg_sp64+1): Use it.
10327
10328 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10329
10330         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10331         copied LABEL_DECLs.
10332
10333 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10334
10335         * config/i386/i386.c (ix86_expand_unary_operator): Function
10336         definition made void.
10337         (ix86_expand_binary_operator): Update outdated preceding comment.
10338         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10339         prototype.
10340
10341         * config/i386/i386.c (override_options): Fix option-name typo.
10342
10343 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10344
10345         * system.h (CEIL): Define.
10346         * builtins.c (CEIL): Remove.
10347         * expmed.c (CEIL): Likewise.
10348         * expr.c (CEIL): Likewise.
10349         * stor-layout.c (CEIL): Likewise.
10350
10351 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10352
10353         * expr.c (store_constructor_field): Fix typo introduced with last
10354         gcc2 merge.
10355
10356 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10357
10358         * tree.h (BINFO_N_BASETYPES): New macro.
10359
10360 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10361
10362         * expmed.c (emit_store_flag): Prevent losing a pending stack
10363         adjust the same way we prevent losing queued increments.
10364
10365 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10366
10367         * function.c (update_temp_slot_address): Handle case where sum of
10368         temporary address plus offset in register is a valid address.
10369
10370 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10371
10372         * genrecog.c (change_state) Corrected typo.
10373
10374 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10375
10376         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10377         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10378         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10379
10380 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10381
10382         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10383         case, expand GT comparisons correctly.  Fix a comment before this
10384         part of the code.
10385
10386 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10387
10388         * dwarfout.c: Include "frame.h"
10389         * dwarf2out.c: Likewise.
10390         * Makefile.in (dwarfout.o): Depend on frame.h
10391         (dwarf2out.o): Likewise.
10392
10393 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10394
10395         Restore i386 binary compatibility in Dwarf EH info.
10396         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10397         value of FIRST_PSEUDO_REGISTER.
10398         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10399         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10400         * dwarfout.c (output_reg_number): Ditto.
10401         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10402         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10403
10404 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10405
10406         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10407         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10408         (<hack>_RE_CT): not needed
10409         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10410         rewritten to scan the file text once only
10411         "template<..." test added
10412         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10413         (is_cxx_header): declaration added
10414         * fixinc/fixtests.c(is_cxx_header): removed
10415         (apply_fix_p_t): removed
10416         (double_slash_test): is_cxx_header is only called once now
10417         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10418         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10419         within the templates.
10420         The borken spelling of "broken" was fixed.
10421         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10422         The default level depends on FIXINC_DEBUG.
10423
10424 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10425
10426         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10427         Otherwise provide a declaration for atexit.
10428         (init_dummy): Make sure dummy call to atexit is nevertheless
10429         called with correct number of args.
10430
10431         * frame.c: Update comments referring to other files.
10432
10433         * libgcc2.c: Likewise.
10434
10435 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10436
10437         * cse.c (free_element, get_element): Remove unused prototypes.
10438
10439         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10440         `op1'.
10441
10442         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10443         `else' clauses.
10444
10445 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10446
10447         * configure.in,configure: case arm for mn10200-*-* now sets
10448         float_format=i32 so that float.h will correctly claim "double"
10449         to be 32 bits. Ran autoconf to generate configure from .in file.
10450
10451 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10452
10453         * pa.md (conditional zero): If op1 is a register, force it into
10454         the same register as op0.
10455
10456 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10457
10458         * tree.h (BINFO_BASETYPES): Improve documentation.
10459
10460 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10461
10462         * configure.in (--enable-checking): Use a more portable `for'
10463         loop syntax.
10464
10465 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10466
10467         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10468         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10469
10470         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10471         Delete files.
10472
10473         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10474         Delete descriptions.
10475
10476         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10477         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10478         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10479         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10480         xm-svr4.h: Remove all instances of sys_siglist handling.
10481
10482 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10483
10484         * config/sparc/sparc.md (cmp_zero_qi,
10485         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10486         cmp_zero_extendqidi2_andcc_set): New patterns.
10487
10488 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10489
10490         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10491         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10492         (fpgnulib.c, xfgnulib.c): Add rules.
10493         * m68k/t-mot3300-gas: Likewise.
10494
10495 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10496
10497         * configure.in: Avoid [[ by using test and changequote.  Add
10498         changequote required by 1999-12-14 change.
10499         * configure: Rebuild.
10500
10501 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10502
10503         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10504
10505 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10506
10507         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10508         * flow.c (find_use_as_address): Likewise.
10509         * function.c (fixup_var_refs_1): Likewise.
10510         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10511         * jump.c (invert_exp, redirect_exp): Likewise.
10512         * loop.c (replace_call_address): Likewise.
10513         (count_nonfixed_reads): Likewise.
10514         * rtlanal.c (modified_between_p): Likewise.
10515         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10516         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10517         * unroll.c (remap_split_bivs): Likewise.
10518
10519 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10520
10521         * diagnostic.c (v_message_with_decl): Use .* format specifier
10522         instead of building the format specifier width manually.
10523
10524         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10525         determining whether to provide a prototype.  Remove the
10526         sys_siglist clause in the conditional.
10527
10528 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10529
10530         * fold-const.c (operand_equal_p): Use memcmp to compare string
10531         constants.
10532         Suggested by D. J. Bernstein
10533
10534 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10535
10536         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10537         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10538         compiling libgcc2.
10539         * config/mips/mips.h (TARGET_64BIT): Likewise.
10540         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10541         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10542         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10543         dsps.  Give routines proper names if SI/DI modes are not used.
10544         * longlong.h: Use DWunion instead of DIunion.
10545
10546 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10547
10548         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10549         GC_CHECKING, GC_ALWAYS_COLLECT.
10550         * configure.in: Allow --enable-checking with an argument
10551         listing check modes to enable.
10552         * config.in, configure: Rebuilt.
10553         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10554         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10555         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10556         ENABLE_GC_ALWAYS_COLLECT.
10557         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10558         throughout.
10559         * tree.h, tree.c: Change ENABLE_CHECKING to
10560         ENABLE_TREE_CHECKING throughout.
10561
10562 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10563
10564         * fold-const.c (fold_truthop): Properly check for FP RHS.
10565
10566 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10567
10568         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10569         * toplev.c (note_deferral_of_defined_inline_function): New
10570         function, split out from ...
10571         (rest_of_compilation): ... here.  Use it.
10572
10573 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10574
10575         * expr.c (store_constructor): Don't call clear_storage if size is
10576         variable.
10577
10578 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10579
10580         * Makefile.in (toplev.o): Depend on loop.h.
10581
10582         * dwarfout.c: Include tm_p.h.
10583
10584         * emit-rtl.c (restore_emit_status): Mark parameter with
10585         ATTRIBUTE_UNUSED.
10586
10587         * final.c (final_scan_insn): Likewise.
10588
10589         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10590         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10591         flow_depth_first_order_compute, flow_loop_pre_header_find,
10592         flow_loop_tree_node_add, flow_loops_tree_build,
10593         flow_loop_level_compute, flow_loops_level_compute,
10594         flow_loop_outside_edge_p): Add prototypes.
10595         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10596
10597         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10598         Mark with ATTRIBUTE_NORETURN.
10599
10600         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10601
10602         * local-alloc.c (no_conflict_p): Likewise.
10603
10604         * loop.c (insert_bct): Hide definitions of variables with hidden
10605         usage.
10606         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10607
10608         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10609         with ATTRIBUTE_UNUSED.
10610         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10611         (reg_scan): Likewise.
10612
10613         * reload.c (find_reloads): Remove unused variables `changed'.
10614
10615         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10616         away const-ness.
10617         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10618         Remove unused variable `insn'.
10619
10620         * toplev.c: Include loop.h.
10621         (report_file_and_line): Remove unnecessary prototype.
10622
10623         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10624
10625         * unroll.c (biv_total_increment): Likewise.
10626
10627 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10628
10629         * reload1.c (emit_input_reload_insns): Restore old behaviour
10630         wrt. 'special' reloads.
10631
10632 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10633
10634         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10635         hash.h.  (cse.c): Don't depend on hashtab.h.
10636
10637         * cse.c: Don't include hashtab.h.
10638         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10639         of dead functions.
10640         * ggc-simple.c: Don't include hash.h.
10641
10642 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10643
10644         * dwarf2out.c (add_abstract_origin_attribute): Call
10645         gen_abstract_function on our function context.
10646
10647 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10648
10649         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10650
10651 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10652
10653         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10654         case in switch.
10655
10656 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10657
10658         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10659         constraints to "a!r".
10660
10661 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10662
10663         * Makefile.in (calls.o): Depend on function.h.
10664         (alias.o): Likewise.
10665
10666 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10667
10668         * reload1.c (emit_reload_insns): Break out code and variables into...
10669         (input_reload_insns, other_input_address_reload_insns,
10670         other_input_reload_insns, input_address_reload_insns,
10671         inpaddr_address_reload_insns, output_reload_insns,
10672         output_address_reload_insns, outaddr_address_reload_insns,
10673         operand_reload_insns, other_operand_reload_insns,
10674         other_output_reload_insns): ... new static variables, and...
10675         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10676         do_output_reload): ... new functions.
10677
10678 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10679
10680         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10681
10682 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10683
10684         * md.texi: Add c4x constraints documentation.
10685
10686 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10687
10688         * config/i386/dgux.c (struct option): Rename to
10689         lang_independent_option.
10690         (struct m_options): Add description field.
10691         (output_options): Rename option type, add sep declaration, output
10692         ix86_cpu_string and ix86_arch_string only if set.
10693         (output_file_start): Rename option type.
10694
10695 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10696
10697         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10698         stmp-int-hdrs.
10699         (libgcc2.a): Similarly.
10700
10701 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10702
10703         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10704         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10705         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10706
10707 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10708
10709         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10710         Remove redundant initialization of "frexpon" and "expon".
10711
10712 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10713
10714         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10715
10716         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10717         (store_constructor_field, expand_expr): Pass new arg.
10718
10719 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10720
10721         * Makefile.in (explow.o): Depend on function.h.
10722
10723         * stor-layout.c (set_sizetype): Fix typo.
10724
10725 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10726
10727         * function.c (cfun): Renamed from current_function.  All users
10728         changed.
10729         * function.h (cfun): Rename declaration as well.
10730
10731         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10732         to be of type regset_head, not regset.  All users changed by adding
10733         address operator.
10734         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10735
10736 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10737
10738         * config/c4x/rtems.h: New file.
10739
10740 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10741
10742         * reload1.c (spill_failure): Take class of failed reload as argument
10743         and print it.  Caller changed.
10744
10745 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10746
10747         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10748         (TARGET_SWITCHES): Allow subtargets to default switches.
10749         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10750
10751 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10752
10753         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10754         in a main program.
10755
10756 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10757
10758         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10759         * cppinit.c (cpp_handle_option): Likewise.
10760
10761         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10762         determine when to define.
10763
10764 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10765
10766         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10767         cmove with mismatched test and data modes.
10768
10769 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10770
10771         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10772         in system headers.
10773
10774 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10775
10776         * alias.c: Minor reformatting.
10777         * flow.c: Likewise.
10778         * regs.h: Likewise.
10779         * stor-layout.c: Likewise.
10780         * fold-const.c: Likewise.
10781         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10782         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10783         not arg itself.
10784         (size_int_wide): Cache nodes even if garbage collecting.
10785         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10786         of SAVE_EXPR has no side effects.
10787         * cse.c: Move a comment.
10788         * tree.c: Minor reformatting.
10789         (int_size_in_bytes): Return -1 if constant overflows.
10790
10791 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10792
10793         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10794
10795 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10796
10797         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10798         after any change to c-parse.in, even if objc-parse.y didn't
10799         change.  Oops.
10800
10801 1999-12-18  David S. Miller  <davem@redhat.com>
10802
10803         * toplev.c (rest_of_compilation): Restore BLOCK tree
10804         reconstruction and branch shortening changes lost in
10805         December 18th change.
10806
10807 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10808
10809         * config/arm/linux-elf.h: Change all instances of
10810         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10811         * config/arm/uclinux-elf.h: Likewise.
10812
10813 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10814
10815         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10816         v_message_with_decl, file_and_line_for_asm,
10817         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10818         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10819         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10820         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10821         pfatal_with_name, fatal_io_error, need_error_newline,
10822         last_error_function, last_error_tick, announce_function,
10823         default_print_error_function, print_error_function,
10824         report_error_function, fnotice, error_with_file_and_line,
10825         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10826         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10827         warning_with_decl, warning_for_asm, warning, pedwarn,
10828         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10829         diagnostic.c
10830         (compile_file): Use fnotice instead of notice.  Adjust call.
10831
10832         * diagnostic.c: New file.
10833
10834         * Makefile.in (OBJS): Include diagnostic.o
10835         (diagnostic.o): Define dependence.
10836
10837 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10838
10839         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10840         Tweak formatting.
10841
10842 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10843
10844         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10845
10846 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10847
10848         * fixtests.c (is_cxx_header): New fn, split out of
10849         double_slash_test.
10850         (else_endif_label): Allow "#endif // comment" in C++ headers,
10851         as determined by is_cxx_header.
10852         * fixfixes.c (else_endif_label_fix): Update comment.
10853         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10854         a tty.
10855         * genfixes: Correct double thinko in commandline parsing.
10856         * hackshell.tpl: Generate correct sh syntax for bypass
10857         entries.
10858
10859         * inclhack.def (all): Whenever an inserted preprocessor
10860         conditional is split over multiple lines, use double
10861         backslashes in this file so the fixed header will be readable.
10862
10863         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10864         and add bypass entry for correct version of this header.
10865         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10866         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10867
10868         (hpux8_bogus_inlines): New fix, split from...
10869         (ultrix_atof_param) ... here.
10870         (math_expression): Add bypass entry keyed to glibc comment
10871         indicating the problem has been dealt with; disable
10872         unnecessary sed operations; update commentary.
10873         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10874         add select and bypass entries, simplify shell operation.
10875         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10876
10877         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10878          ultrix_atof_param): Add select entry.
10879         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10880         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10881         comments with the fixes they describe.
10882
10883         * c-parse.in (string action): Do not warn about ANSI string
10884         concatenation in system headers.  Affects C parser only.
10885         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10886
10887 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10888
10889         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10890         compiling libgcc2 the macro depends always on arch cpp defines.
10891
10892 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10893
10894         * loop.c (insert_loop_mem): Don't record MEMs from inside
10895         EXPR_LISTs.
10896
10897 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10898
10899         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10900
10901         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10902         notes too, create one when replacement failed, attempt to simplify
10903         resulting notes.
10904         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10905         or REG_EQUIV notes.
10906
10907 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10908
10909         * crtstuff.c (__dso_handle): Declare.
10910         (__cxa_finalize): Likewise.
10911         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10912         non-NULL.
10913
10914         * invoke.texi: Document -fuse-cxa-atexit.
10915
10916         * tree.h (ptr_type_node): Document.
10917         (const_ptr_type_node): Likewise.
10918
10919 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10920
10921         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10922         (optimize_reg_copy_2): Likewise.
10923         (optimize_reg_copy_3): Likewise.
10924         (fixup_match_2): Likewise.
10925         (regmove_optimize): Likewise.
10926         (fixup_match_1): Liekwise.
10927
10928         * i386.md (HI to SImode promoting splitters): Rewrite.
10929         (pushsf mem peep2): New.
10930         (testhi to andhi peep2): Remove.
10931         * i386.h (x86_promote_QImode): New.
10932         (TARGET_PROMOTE_QImode): New.
10933         (PREDICATE_CODES): Add promotable_binary_operator.
10934         * i386.c (x86_promote_QImode0: New.
10935         (promotable_binary_operator): New.
10936         * i386-protos.h (promotable_binary_operator): New.
10937
10938         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10939         condition.
10940         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10941
10942 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10943
10944         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10945         * function.c (insert_block_after_note): Remove.
10946         (retrofit_block): Likewise.
10947         (identify_blocks): Fix indentation.
10948         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10949         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10950         * function.h (insert_block_after_note): Remove prototype.
10951         (retrofit_block): Likewise.
10952         * integrate.c (expand_inline_function): Don't call
10953         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10954         just expand_start_bindings.  Use the block_map to remap old
10955         NOTE_BLOCKs to new ones.
10956         (integrate_decl_tree): Keep track of remapped blocks.
10957         * integrate.h (struct inline_remap): Add block_map.
10958         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10959         NOTE_BLOCK on the notes.
10960         (expand_start_bindings): Rename to ...
10961         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10962         (expand_end_bindings): Set NOTE_BLOCK.
10963         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10964         reconstruct the BLOCK tree.
10965         * tree.h (expand_start_bindings): Macroize.  Call ...
10966         (expand_start_bindings_and_block): New function.
10967
10968 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10969
10970         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10971         to match the format.
10972
10973 1999-12-16  David S. Miller  <davem@redhat.com>
10974
10975         * expr.c (emit_move_insn_1): Only emit clobbers if one of
10976         the outputs is a SUBREG.
10977         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10978         change.
10979
10980         * config/sparc/sparc.c (epilogue_renumber): Add default case
10981         to switch stmt.
10982
10983 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10984
10985         * toplev.c (rest_of_compilation): Run branch shortening after
10986         reg-stack.
10987
10988         * regclass.c (loop_depth): Remove
10989         (scan_one_insn): Do not handle LOOP_NOTE insns.
10990         (regclass): Go through basic blocks and set loop_cost
10991
10992 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
10993
10994         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10995
10996 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10997
10998         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10999         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11000         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11001
11002 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
11003
11004         * loop.c (insert_loop_mem): Ignore memory clobbers.
11005
11006         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11007         to (OP A B).
11008
11009 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
11010
11011         * profile.c: Remove redundant #include "output.h".
11012
11013         * h8300.md (HImode preinc peephole): Fix typo.
11014
11015 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11016
11017         * function.c (retrofit_block): Abort if we don't find a suitable insn.
11018         (insert_block_after_note): Abort if we don't have a previous block.
11019         Remove FN parameter.
11020         * function.h: Adjust.
11021
11022 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
11023
11024         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11025         argument more than once.
11026
11027 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11028
11029         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11030
11031 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
11032
11033         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11034
11035 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11036
11037         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11038         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11039         update stack_alignment_needed.
11040         (prepare_function_start): Initialize stack_alignment_needed
11041         * function.h (struct function): Add field stack_alignment_needed.
11042
11043 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11044
11045         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11046         Handle live_throughout / dead_or_set instead of live_before /
11047         live_after.
11048         (save_call_clobbered_regs): Get register livenessinformation from
11049         chain->live_throughout.
11050         (add_stored_regs): New function.
11051         (insert_restore, insert_save): Add restored / saved registers to
11052         dead_or_set.
11053         * global.c (reg_dies): New parameter chain.
11054         (reg_becomes_live): Third parameter is regs_set now.
11055         Changed all callers.
11056         (reg_dies): New parameter chain.  Changed all callers.
11057         (build_insn_chain): Set live_throughout instead of
11058         live_before / live_after.
11059         * reload.h (struct insn_chain): Replace members live_before /
11060         live_after with live_throughout / dead_or_set.
11061         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11062         instead of live_before / live_after.
11063         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11064         (order_regs_for_reload, find_reg, finish_spills): Likewise.
11065         (choose_reload_regs_init): Likewise.
11066         * stupid.c (current_chain, find_clobbered_regs): Delete.
11067         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11068         instead of chain->live_before / chain->live_after.
11069         (mark_hard_ref): New function.
11070         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11071
11072 1999-12-15  David S. Miller  <davem@redhat.com>
11073
11074         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11075
11076 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11077
11078         * flow.c (calculate_loop_depth): Make global, remove prototype,
11079         rewrite to use new loop infrastructure.
11080         (find_basic_block): Remove calculate_loop_depth call.
11081         * toplev.c (rest_of_compilation): Call find_basic_block.
11082         * output.h (calculate_loop_depth): Declare.
11083
11084         * flow.c (dump_flow_info): Dump loop_depth.
11085         (flow_loops_nodes_find): Increase loop_depth for basic block in the
11086         body.
11087         (flow_loops_find): Initialize the loop_depth for each basic block.
11088
11089 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11090
11091         * tree.c (decl_function_context): Handle virtual functions.
11092
11093         * tlink.c (scan_linker_output): Don't look in demangled name when
11094         looking for linker output keywords.
11095
11096         * dwarfout.c (output_type): We can defer namespace-scope classes.
11097
11098 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
11099
11100         * regclass.c (record_reg_classes): Update comment for merging
11101         register class preferences in reg->reg copies.  Tighten conditions
11102         for merging register class preferences in reg->reg copies.
11103
11104 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
11105
11106         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11107
11108 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
11109
11110         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11111         (INIT_SECTION_ASM_OP): Delete.
11112         (FINI_SECTION_ASM_OP): Delete.
11113         (STARTFILE_SPEC): Define to hold just crtbegin.o.
11114
11115 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
11116
11117         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
11118         the abstract origin wasn't emitted.
11119
11120         * dwarf2out.c (class_scope_p): New fn.
11121         (gen_subprogram_die): Use it.
11122         (gen_variable_die): Use it.  Tweak logic.
11123         (gen_struct_or_union_type_die): Check context_die to determine
11124         if we're function-local.
11125         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
11126
11127 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11128
11129         * loop.c (check_dbra_loop): Can't reverse a biv that has
11130         maybe_multiple set.
11131
11132 1999-12-14  Nick Clifton  <nickc@cygnus.com>
11133
11134         * config/arm/arm.c: Add support for -mcpu=arm720 command line
11135         switch.
11136
11137 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11138
11139         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
11140         for givs made from biv increments.
11141
11142 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
11143
11144         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
11145         * alpha.c (override_options): Recognize -mcpu=ev67.
11146         * alpha.h (CPP_CPU_EV67_SPEC): New.
11147         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11148         (EXTRA_SPECS): Update.
11149
11150 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
11151
11152         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11153         appropriate for -lang-c89 and -std=*.
11154         * cppinit.c (cpp_handle_option): Likewise.
11155         (new_pending_define): New, split out from cpp_handle_option.
11156         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11157         or enable trigraphs for -ansi/-std=*.
11158
11159         * ginclude/stdarg.h (__va_copy): New.
11160         (va_copy): Don't define for C89.
11161
11162 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
11163
11164         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11165         for long long multiply-accumulate.
11166
11167 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11168
11169         * regclass.c (scan_one_insn): Set loop_cost to 1 when
11170         optimizing for size.
11171
11172 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11173
11174         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11175         if something changed.  Back out that part of yesterday's changes.
11176
11177         * loop.c (loop_max_reg): New static variable.
11178         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
11179         max_reg_num.
11180         (scan_loop): Call reg_scan_update whenever we may have added new
11181         registers, and update loop_max_reg.
11182
11183 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11184
11185         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
11186         when source does not die.
11187
11188         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11189
11190 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
11191
11192         * config/sparc/linux64.h (TARGET_LIVE_G0,
11193         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11194         variants on Linux.
11195         * config/sparc/linux.h (TARGET_LIVE_G0,
11196         TARGET_BROKEN_SAVERESTORE): Likewise.
11197         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11198         TARGET_BROKEN_SAVERESTORE): Likewise.
11199
11200         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11201         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11202         not %g2.
11203         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11204         as sparc64 block profiling register.
11205         * config/sparc/sparc.c (sparc_override_options): Allow block
11206         profiling with -m32.
11207         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11208         profiling register.
11209         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11210         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11211         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11212
11213         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11214         for sparc64.
11215         * config/sparc/sparc.h: Likewise.
11216         * config/sparc/xm-sysv4-64.h: Likewise.
11217         * config/float-sparc.h: Likewise.
11218         * glimits.h: Likewise.
11219         * longlong.h: Likewise.
11220
11221         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11222         (ASM_IDENTIFY_GCC): Remove.
11223
11224 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11225
11226         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11227         (simplify_logical): Likewise.
11228
11229 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11230
11231         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11232         * cppfiles.c (INO_T_EQ): Likewise.
11233
11234 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11235
11236         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11237         * i386/mingw32.h (LIB_SPEC): Likewise.
11238         (STARTFILE_SPEC): Likewise.
11239         * i386/uwin.h (LIB_SPEC): Likewise.
11240         (STARTFILE_SPEC): Likewise.
11241
11242         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11243         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11244
11245 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11246
11247         * combine.c (combine_simplify_rtx): Fix order of checks for
11248         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11249
11250 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11251
11252         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11253         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11254
11255 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11256
11257         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11258         defined.
11259         * regclass.c (inv_reg_alloc_order): New array.
11260         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11261
11262         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11263         counted_for_groups, counted_for_nongroups.  Add fields rld and
11264         n_reloads.
11265         * reload.c (push_secondary_reload): Don't set nongroup field of
11266         new reloads.
11267         (push_reload): Likewise.
11268         (find_reloads): Delete code to compute nongroup fields.
11269         * reload1.c (reload_insn_firstobj): New static variable.
11270         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11271         users changed.
11272         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11273         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11274         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11275         functions.
11276         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11277         functions.
11278         (struct hard_reg_n_uses): Deleted.
11279         (potential_reload_regs): Deleted.
11280         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11281         (reload): Don't try to allocate reload registers if we already know
11282         we have to make another pass.  Call select_reload_regs.  Free memory
11283         starting with reload_firstobj when starting another pass.
11284         Don't allocate spilled_pseudos.
11285         (calculate_needs_all_insns): Call copy_reloads for an insn that
11286         needs reloads; don't call calculate_needs.
11287         (spill_cost): New static array.
11288         (used_spill_regs_local): New static variable.
11289         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11290         to compute potential_reload_regs.
11291         (find_reload_regs): Completely rewritten to use find_reg.
11292         (allocate_reload_reg): Don't test counted_for_groups or
11293         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11294         all cllers changed.
11295         (choose_reload_regs): Add fallback code that uses the existing
11296         register allocation from find_reload_regs.
11297
11298 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11299
11300         * flow.c (create_edge_list): Cast xmalloc return value.
11301
11302 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11303
11304         * doprnt.c: Remove incorrect comment closure.
11305
11306         * cse.c: Fix a few minor whitespace goofs.
11307
11308 1999-12-13  Don Bowman  <don@pixstream.com>
11309
11310         * mips/vxworks.h: Fix problem with comment termination.
11311         (EXTRA_SECTIONS): Add in_sbss.
11312         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11313
11314 1999-12-12  David S. Miller  <davem@redhat.com>
11315
11316         * cse.c (struct cse_reg_info): Add hash_next member,
11317         reorder rest of struct for better packing on 64-bit
11318         hosts.
11319         (cse_reg_info_tree): Kill.
11320         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11321         REGHASH_FN): New custom pow2 hash mechanism.
11322         (NBUCKETS): Kill.
11323         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11324         use a pow2 hash table.
11325         (get_cse_reg_info): Rework to use new REGHASH.
11326         (new_basic_block): Likewise, use HASH_SIZE, and inline
11327         free_element call.
11328         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11329         and inline free_element call.
11330         (lookup_as_function, insert, flush_hash_table, invalidate,
11331         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11332         invalidate_for_call, use_related_value, find_comparison_args,
11333         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11334         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11335         get_element): Kill.
11336
11337 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11338
11339         * cse.c (cse_basic_block): Free qty_table consistently.
11340
11341 1999-12-12  David S. Miller  <davem@redhat.com>
11342             Jakub Jelinek    <jakub@redhat.com>
11343
11344         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11345         SUBREGs by hand, gen the appropriate hard reg directly.
11346         (movtf reg/mem split): Likewise and alter_subreg on destination
11347         if necessary.
11348         (movtf mem/reg split): Similarly.
11349         (movdf_cc_sp64): Rename from hidden pattern.
11350         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11351         (movtf_cc_sp64, following split): New pattern and splitter.
11352         (movdf_cc_reg_sp64): Rename from hidden pattern.
11353         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11354         TARGET_HARD_QUAD.
11355         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11356
11357 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11358
11359         * loop.c (load_mems): Don't hoist written floating point mem
11360         if -ffloat-store.
11361
11362 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11363
11364         * except.h (struct eh_queue): Add `next' pointer.
11365         (struct eh_status): Make x_ehqueue a pointer.
11366         (push_ehqueue):  Declare.
11367         (pop_ehqueue): Likewise.
11368         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11369         pointer.
11370         (expand_fixup_region_end): Likewise.
11371         (expand_leftover_cleanups): Likewise.
11372         (push_ehqueue): Define.
11373         (pop_ehqueue): Likewise.
11374         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11375         than doing it inline.
11376         (expand_start_all_catch):  Adjust now that ehqueue is a
11377         pointer.
11378         (mark_eh_queue): Mark all level of the queue.
11379         (mark_eh_status):  Adjust now that ehqueue is a
11380         pointer.
11381         (init_eh_for_function): Allocate ehqueue.
11382         (free_eh_status): Free it.
11383         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11384         expansion for a fixup.
11385
11386 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11387
11388         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11389
11390         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11391         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11392         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11393         function_ptr, getpagesize, __enable_execute_stack,
11394         __enable_execute_stack, __clear_insn_cache,
11395         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11396         _cleanup, _exit, __default_terminate, __terminate_func,
11397         __terminate, __empty, __throw, new_eh_context,
11398         eh_context_initialize, eh_context_static, eh_context_specific,
11399         get_eh_context, __get_eh_context, __get_eh_info,
11400         init_reg_size_table, eh_threads_initialize,
11401         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11402         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11403         __pure_virtual): Add prototype arguments.
11404         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11405         Cast a signed value to unsigned long when comparing against one.
11406         (new_eh_context): Wrap in _GTHREADS macro.
11407         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11408         declaration.
11409         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11410         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11411
11412 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11413
11414         * combine.c (record_promoted_value): Remove unused variable
11415         `links2'.
11416
11417         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11418
11419         * global.c (record_conflicts): Likewise for `j'.
11420
11421         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11422         const-ness.
11423
11424 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11425
11426         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11427         output_fp_compare): Constify a char*.
11428
11429         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11430         static prototypes.
11431         (override_options, ix86_comp_type_attributes, print_operand,
11432         output_387_binary_op, output_fix_trunc, output_fp_compare):
11433         Constify a char*.
11434         (ix86_sched_reorder): Mark parameter `clock_var' with
11435         ATTRIBUTE_UNUSED.
11436
11437         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11438
11439 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11440
11441         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11442         operand, for use in the Java front-end.
11443
11444 1999-12-10  Ben Collins  <bcollins@debian.org>
11445
11446         * configure.in: Fix typo for "-64" in 64bit as check.
11447         * configure: Rebuilt.
11448
11449 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11450
11451         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11452         appropriate.
11453
11454 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11455
11456         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11457         concatenation is utilized.
11458
11459         * invoke.texi (-Wtraditional): Document it.
11460
11461 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11462
11463         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11464         Cast a ptrdiff_t to long and pass it to printf with %ld.
11465
11466 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11467
11468         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11469         68881, we have no 68881 registers at all.
11470         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11471         value in a 68881 register if it is available.
11472
11473 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11474
11475         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11476         for long long multiply-accumulate.
11477
11478 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11479
11480         * loop.c (insert_loop_mem): Undo last change.
11481
11482 1999-12-10  David S. Miller  <davem@redhat.com>
11483
11484         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11485         New functions.
11486         * config/sparc/sparc-protos.h: Add them.
11487         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11488         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11489         constraints which use those helpers.
11490         (EXTRA_CONSTRAINT): Use this new macro.
11491         * md.texi: Update sparc target constraints documentation.
11492         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11493         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11494         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11495         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11496         (movsf high/lo_sum split): Rework for new patterns.
11497         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11498
11499 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11500
11501         * c-common.c (c_common_nodes_and_builtins):
11502         Create __builtin_ptrdiff_t and __builtin_size_t.
11503
11504 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11505
11506         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11507
11508 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11509
11510         * regclass.c (globalize_reg): Re-instate test that allows
11511         fixed registers to be declared as a variable even after functions
11512         are defined.
11513
11514 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11515
11516         * i386.md (cpu attribute): Add "athlon".
11517         (athlon_decode): New attribute.
11518         (Athlon scheduling units definitions): New.
11519         (fcmp and shld patterns): Set athlon_decode to "vector".
11520         * i386.c (athlon_cost): New.
11521         (m_ATHLON): New.
11522         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11523         x86_use_sahf): Set for Athlon.
11524         (x86_use_fiop): Unset for Athlon.
11525         (override_options): Define Athlon alignments and "athlon" name.
11526         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11527         * i386.h (TARGET_ATHLON): New.
11528         (enum processor_type): Add PROCESSOR_ATHLON.
11529         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11530         for CPU_DEFAULT==5
11531         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11532
11533 1999-12-09  Andreas Jaeger  <aj@suse.de>
11534
11535         * loop.c (record_biv): Declare parameter as int.
11536
11537         * config/i386/i386-protos.h: Declare long_memory_operand.
11538
11539 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11540
11541         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11542         EXPR_WITH_FILE_LOCATION.
11543
11544 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11545
11546         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11547         in expander.
11548
11549         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11550
11551         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11552         updating code.
11553
11554 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11555
11556         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11557         default on linux64 again.
11558         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11559         models for multilibing.
11560         * genmultilib: Accept | as alternative separator within a set in
11561         MULTILIB_OPTIONS.
11562
11563         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11564
11565         * calls.c (precompute_arguments): Make sure initial_value contains
11566         value pseudo which CSE expects.
11567         * cse.c (struct set): New entry orig_src.
11568         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11569         replacement.
11570
11571 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11572
11573         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11574
11575 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11576
11577         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11578
11579 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11580
11581         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11582         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11583
11584         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11585         if TARGET_ARCH32.
11586
11587         * longlong.h: Merge in changes from glibc.
11588         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11589         -mno-app-regs libgcc can be compiled.
11590         * libgcc2.c: Add defines so that the updated longlong.h
11591         can be used in libgcc2.a. Also, make sure on most architectures
11592         (at least on all which have optimized code in longlong.h defined
11593         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11594
11595 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11596
11597         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11598         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11599         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11600         is GNU ld.
11601         * configure: Rebuilt.
11602
11603 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11604
11605         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11606         outputs require a register.
11607
11608 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11609
11610         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11611         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11612         functions like dptoul will be resolved.
11613         (libgcc2.a): Make sure that the object files from DPBIT are named
11614         differently (prefix `_dp') from those that would be coming from
11615         FPBIT.
11616
11617 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11618
11619         * configure.in: When target is sparc* and tm_file contains 64,
11620         test for 64bit support in assembler.  If not supported, remove
11621         sparc/t-sol2-64 from target-dependent Makefile fragments.
11622         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11623         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11624         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11625         * acconfig.h (AS_SPARC64_FLAG): Added.
11626         * configure, config.in: Rebuilt.
11627         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11628         support.  Use AS_SPARC64_FLAG.
11629
11630 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11631
11632         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11633         suitable for holding OFmode values so that gcc works with complex
11634         quad long doubles.
11635         (hard_64bit_mode_classes): Likewise.
11636
11637         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11638         so that it is actually matched.
11639         (sethi_di_medlow): Likewise.
11640
11641         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11642         as legitimate constant if -mvis.
11643         * config/sparc/sparc.md (movtf): Likewise.
11644         (clear_sf): Use const_double_operand.
11645         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11646
11647         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11648         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11649         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11650         routines, _Qp_* cannot be handled like that now.
11651         (INIT_TARGET_OPTABS): Likewise.
11652         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11653         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11654         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11655         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11656         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11657         divtf3, sqrttf3): New expanders.
11658         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11659         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11660         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11661         non-_hq patterns.
11662
11663         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11664         * configure: Rebuilt.
11665         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11666         -mcpu is given and we're doing 64bit compiles.
11667
11668 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11669
11670         * loop.h (struct induction): Add multi_insn_incr.
11671         * loop.c (basic_induction_var): New multi_insn_incr argument.
11672         Set it if we search back through previous insns for the biv.
11673         (record_biv): New multi_insn_incr argument; fill in struct induction.
11674         (strength_reduce): Discard an iv with multiple bivs, any of
11675         which require multiple insns to increment.
11676
11677 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11678
11679         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11680         documentation.
11681
11682 1999-12-06  David S. Miller  <davem@redhat.com>
11683
11684         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11685         PROMOTE_FUNCTION_RETURN.
11686
11687 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11688
11689         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11690         and handle REG_UNUSED note on insn.
11691
11692         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11693         inner_mask instead of mask.
11694
11695 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11696
11697         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11698         zero if there was an error.
11699
11700 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11701
11702         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11703         output string.
11704
11705         * longlong.h: Fix clobbers in SPARC asm statements.
11706
11707         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11708         valid sethi operations when TARGET_ARCH64.
11709
11710         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11711         always use move_by_pieces to avoid infinite recursion.
11712         (restore_fixed_argument_area): Likewise.
11713
11714         * combine.c (check_promoted_subreg, record_promoted_value): New
11715         functions.
11716         (combine_instructions): Use them to retain nonzero and sign bit
11717         information after SUBREGs are eliminated by optimizations in
11718         this pass if PROMOTE_FUNCTION_RETURN.
11719
11720         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11721         .register declaration. Don't use variables with __ prefixes.
11722
11723 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11724
11725         * fold-const.c (optimize_bit_field_compare): Only use one mode
11726         for both RHS and LHS in non-constant case.
11727
11728 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11729
11730         * frame.c (start_fde_sort): Only allocate erratic array, if
11731         linear one was allocated. Return allocated flag.
11732         (fde_insert): Only insert, if there's a valid array.
11733         (fde_end_sort): Split, sort and merge if linear and erratic
11734         arrays exist, else just sort linear one.
11735         (search_fdes): New function. Linear search through original fde
11736         structure.
11737         (frame_init): Permit multiple initializations. Cope with
11738         memory shortages.
11739         (find_fde): Fallback on linear search, if failed to sort array.
11740         (__deregister_frame_info): Only free sorted array, if we
11741         allocated it.
11742
11743 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11744
11745         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11746
11747 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11748
11749         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11750
11751 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11752
11753         * tree.h (special_function_p): Declare.
11754         * calls.c (special_function_p): Make it global.  Don't take `name'
11755         as a parameter.  Fix typo in 1999-11-28 change.
11756         (expand_cal): Adjust.
11757
11758 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11759
11760         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11761         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11762         EXPR_WFL_FILENAME_NODE.
11763         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11764         the TREE_CHAIN.
11765         * print-tree.c (print_note): Print TREE_PRIVATE and
11766         TREE_PROTECTED.
11767
11768         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11769         the original die cannot be found.
11770
11771         * varray.h (varray_head_tag): Add elements_used.
11772         (VARRAY_PUSH): New macro.
11773         (VARRAY_POP): Likewise.
11774         (VARRAY_TOP): Likewise.
11775         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11776         types.
11777         * varray.c (varray_init): Initialize elements_used.
11778         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11779         (INTEGRATE_H): New variable.
11780         (integrate.o): Depend on INTEGRATE_H.
11781         (unroll.o): Likewise.
11782
11783         * function.h (insert_block_after_note): Declare.
11784         * function.c (insert_block_after_note): Split out from ...
11785         (retrofit_block): ... here.
11786
11787         * stmt.c (expand_fixup): Fix typo in comment.
11788
11789 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11790
11791         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11792         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11793         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11794         (regmove_optimize, fixup_match_1): Likewise.
11795
11796 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11797
11798         * flow.c (flow_loops_dump): Add missing argument when calling
11799         flow_loop_nested_p.
11800
11801 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11802             Greg McGary  <gkm@gnu.org>
11803
11804         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11805         (init_attributes): Add A_NO_LIMIT_STACK.
11806         (decl_attributes): Handle A_NO_LIMIT_STACK.
11807         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11808         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11809         Handle stack bounds checking.
11810         * flags.h (flag_stack_check): Use the word 'probe' rather than
11811         'check', because the flag doesn't actually cause any checking to
11812         be done.
11813         * function.c (expand_function_start): Set
11814         current_function_limit_stack.
11815         * function.h (struct function): Add limit_stack.
11816         (current_function_limit_stack): Define.
11817         * invoke.texi (Code Gen Options): Document new options.
11818         * rtl.h: Declare stack_limit_rtx.
11819         * toplev.c (stack_limit_rtx): New variable.
11820         (decode_f_option): Handle new options -fstack-limit-register=REG,
11821         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11822         (main): Add stack_limit_rtx as GC root.
11823         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11824         (struct tree_decl): New member no_limit_stack.
11825
11826         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11827         stack_limit_rtx.
11828         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11829         (conditional_trap+1): Get new mnemonic correct.
11830         (conditional_trap+2): New pattern for DImode traps.
11831
11832         * config/m68k/m68k.c (output_function_prologue): Handle
11833         stack_limit_rtx.
11834         * config/m68k/m68k.md (trap): New insn.
11835         (conditional_trap): New insn.
11836         * md.texi (Standard Names): Document `trap' and
11837         `conditional_trap'.
11838         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11839         so a cc0 setter doesn't get emitted at some random place in the
11840         function.
11841
11842         * config/i960/i960.md (trap): New insn.
11843         (conditional_trap): New expander.
11844         (conditional_trap+1, conditional_trap+2): New insns for signed
11845         and unsigned cases.
11846         * config/i960/i960.c (i960_function_prologue): Use
11847         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11848
11849 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11850                           Geoffrey Keating  <geoffk@cygnus.com>
11851
11852         * flags.h (warn_padded, warn_packed): Add global var decls.
11853         * toplev.c (warn_padded, warn_packed): Add global var defns.
11854         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11855         * stor-layout.c (layout_record): Add local variable `type'
11856         to hold often-used TREE_TYPE (field).  Add local variable
11857         `unpacked_align' to hold alignment that would be in force
11858         if no `packed' attribute were present.  Warn if `packed' attribute
11859         is unnecessary, or even harmful.  Warn when gcc inserts padding
11860         to satisfy alignment requirements of members.  Use NULL_TREE
11861         when checking whether var_size is set.
11862         * invoke.texi: Document new flags.
11863
11864 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11865
11866         * frame.c (fde_split): Reimplement to avoid variable sized array.
11867
11868 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11869
11870         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11871         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11872
11873 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11874
11875         * invoke.texi: Document the mips option -mno-crt0
11876
11877 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11878
11879         * cccp.c (argdata): Added free_ptr member.
11880         (macroexpand): Initialize free_ptr of each argument. When an
11881         argument's buffers are freed, if the argument's free_ptr corresponds
11882         to a buffer on the input stack, then return the free_ptr to that stack
11883         frame, otherwise, free it.
11884         (macarg): If an argument begins and ends on the same input stack level,
11885         then transfer the free_ptr of that buffer to the argument in case
11886         the stack is popped during the processing of a subsequent argument.
11887
11888 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11889
11890         * loop.c (note_reg_stored): New function.
11891         (struct note_reg_stored_arg): New structure.
11892         (try_copy_prop): Change to be more conservative; only replace within
11893         one extended basic block and stop replacing if a store to the
11894         replacement reg is seen.
11895
11896 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11897
11898         * config/fp-bit.c: Initialise all fields of the NAN
11899         constants.
11900
11901         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11902         to HANDLE_PRAGMA.
11903
11904 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11905
11906         * i386.md (extend?f?f2): Force the input into a register, not
11907         the output.
11908
11909 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11910
11911         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11912         regclass' sake.
11913         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11914         alternative because setting up 64bit constant is usually costly,
11915         especially when reload is in progress or completed.
11916         (movdf_const_intreg_sp64): Likewise.
11917         (movdf_const_intreg split): Fix building up constants when
11918         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11919
11920 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11921
11922         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11923         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11924         case.
11925
11926         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11927         (asm_file_start): Emit .am33 into assembly file when compiling for
11928         the AM33.
11929         (print_operand_address): Handle POST_INC addresses.
11930         (can_use_return_insn, initial_offset): Check AM33 registers too.
11931         (expand_prologue): Check & save AM33 registers too.
11932         (expand_epilogue): Similarly.
11933         (secondary_reload_class): Handle AM33 specific secondary reloads.
11934         (output_tst): Emit efficient code for the AM33 too.
11935         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11936         (TARGET_SWITCHES): Add -mam33 switch.
11937         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11938         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11939         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11940         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11941         (enum reg_class, REG_CLASS_NAMES): Likewise.
11942         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11943         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11944         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11945         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11946         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11947         (HAVE_POST_INCREMENT): Define.
11948         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11949         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11950         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11951         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11952         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11953         (zero_extend to SI from QI/HI): Likewise.
11954         (sign_extend to SI from QI/HI): Likewise.
11955         (mulsidi3, umulsidi3): New patterns for the AM33.
11956         (tstsi with zero extension from QI/HI): Add AM33 variants.
11957         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11958         (return_internal_regs, store_movm): Handle new AM33 registers.
11959         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11960         (LIBGCC, INSTALL_LIBGCC): Likewise.
11961         * invoke.texi: Document new flags.
11962
11963 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11964
11965         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11966         (addsi3_carry): Likewise.
11967         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11968         (sbbsi3_carry): Likewise.
11969         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11970         (mulhi3): Likewise.
11971         (test?i_1): Ensure that only one operand is memory.
11972         (conditional move patterns): likewise.
11973         (shift and rotate patterns): Rewrite to expander, add
11974         "binary_operator_ok" to the condition.
11975
11976         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11977         * i386.h (procesor_costs): Add movzbl_load field.
11978         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11979         non-Q registers, accept DImode registers anywhere.
11980         (Q_CLASS_P): New.
11981         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11982         * i386.c (*_cost): Set value for movxbl_load field.
11983
11984         * (addsi): New add to lea splitter.
11985         (ashlsi): Likewise.
11986         (lea to add/shift peep2): New.
11987
11988 1999-12-01  Mark Salter <msalter@cygnus.com>
11989
11990         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11991         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11992         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11993
11994 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11995
11996         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11997         * i386.md (movsi_xor): New.
11998         (movsi_or): New.
11999         (movsi_1, movhi_1, movqi_1): Remove.
12000         (movsi_2): Rename to movsi_1.
12001         (movhi_2): Rename to movhi_1.
12002         (movqi_2): Rename to movqi_1.
12003         (movdi_1): Remove; remove splitter.
12004         (movdi_2): Rename to movdi_1.
12005         (divmodsi4 splitter): Do not emit clobbers for move patterns.
12006         (long move peep2): Do not create QI or HI mode mov0s
12007         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12008
12009         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12010         rewrite splitters.
12011
12012         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12013         (abs?f2_if): Likewise.
12014
12015 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
12016
12017         * ggc.h (ggc_test_and_set_mark): New macro.
12018         (ggc_mark_rtx): Use ggc_test_and_set_mark.
12019         (ggc_mark_tree): Likewise.
12020         (ggc_mark_rtvec): Likewise.
12021         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12022
12023 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
12024
12025         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
12026         containing types.
12027         (decl_scope_table): Just an array of trees now.
12028         (push_decl_scope): Simplify.
12029         (dwarf2out_init): Adjust.
12030         (local_scope_p): New fn.
12031         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12032         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12033         (gen_typedef_die): Likewise.
12034         (gen_lexical_block_die): Don't call push/pop_decl_scope.
12035         (gen_inlined_subroutine_die): Likewise.
12036         (gen_abstract_function): Set current_function_decl temporarily.
12037         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12038         Handle block extern declarations.  Don't call push/pop_decl_scope.
12039         (gen_decl_die): Fix logic for block externs.
12040
12041 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12042
12043         * calls.c (special_function_p): Remove `realloc' and add `strdup'
12044         to the list of functions which have attribute malloc by default.
12045
12046 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12047
12048         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12049         integer constant does not match the traditional type, limit the
12050         warnings to cases where the base of the type is ten.
12051
12052         * invoke.texi (-Wtraditional): Document it.
12053
12054 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12055
12056         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12057         * rs6000.md: Only access a CONST_INT with INTVAL
12058
12059 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
12060
12061         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12062         (compute_nearerout): Likewise.
12063         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12064         size_t to unsigned long for formatting.
12065
12066 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12067
12068         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12069         Allow the user to override call-used/fixed state of %g2-5
12070         registers from the command line (with the exception of %g4 for
12071         embedded model).
12072         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12073         there is a higher chance of having a leaf function.
12074         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12075         for ARCH64 which has %ccr register.
12076         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12077         patterns.
12078         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12079         insn accept into delay slot any insn which does not use %[ol]
12080         registers.  Accept some LO_SUM and shift left by 1 for the normal
12081         restore case.
12082         (output_function_epilogue): Likewise.
12083         (epilogue_renumber): Added argument which inhibits any renumbering
12084         and just tests if the rtx does not use any %[ol] registers.
12085         (output_return): Reflect above change.
12086
12087 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12088
12089         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12090         aggregate passing for sizes <= 16 bytes.
12091
12092 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12093
12094         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12095         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12096         * reload.c (find_dummy_reload): Likewise.
12097         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12098         * reload1.c (reload_as_needed): Likewise.
12099         * stupid.c (stupid_find_reg): Likewise.
12100         * tm.texi (Obsolete Register Macros): Delete section.
12101         * gmicro.h: Remove all traces of the two macros.
12102         * i386.h: Likewise.
12103         * m88k.h: Likewise.
12104         * mips.h: Likewise.
12105
12106 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
12107
12108         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12109         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12110         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12111         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12112         units for the sparclite86x chip.
12113         (flush): Revert October 14th change; add SImode specifically.
12114         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12115         * invoke.texi: Document it.
12116
12117 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
12118
12119         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
12120         psimode_truncation_operand.
12121
12122         * config/mn10200/mn10200.c (psimode_truncation_operand): New
12123         function.  Return true if the operand is either a MEM valid
12124         for a PSImode address or not a MEM at all.
12125
12126         * config/mn10200/mn10200.md (truncsipsi2): Use
12127         psimode_truncation_operand.
12128
12129 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12130
12131         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
12132         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
12133         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
12134         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
12135         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
12136         (flow_loop_level_compute, low_loops_level_compute): Likewise.
12137         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
12138         * basic-block.h: Protect from multiple inclusion.
12139         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
12140         (struct loops, struct loop): Define structures.
12141         * sbitmap.c (sbitmap_a_subset_b_p): New function.
12142         * sbitmap.h: Protect from multiple inclusion.
12143         (sbitmap_a_subset_b_p): Add prototype.
12144         * Makefile.in (LOOP_H): New macro.
12145         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
12146
12147 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
12148
12149         * cppinit.c (CAT): The argument list of this macro may not contain
12150         spaces !
12151
12152 1999-11-29  David S. Miller  <davem@redhat.com>
12153
12154         Move quantity tables and register equivalence chains into
12155         per-qty and per-register structure arrays respectively.
12156         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12157         qty_const_insn, qty_comparison_code, qty_comparison_const,
12158         qty_comparison_qty): Delete, replace with...
12159         (qty_table): this structure table.
12160         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12161         (reg_eqv_table): this structure table.
12162         (make_new_qty): Add argument MODE.  Caller updated.
12163         Update to use qty_table and reg_eqv_table.
12164         (make_regs_eqv, delete_reg_equiv, insert_regs,
12165         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12166         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12167         cse_process_notes, cse_main, cse_basic_block): Likewise.
12168
12169 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12170
12171         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12172         operation if C is negative.
12173         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12174         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12175         law for some divisions if constant is negative and change other
12176         divisions to the opposite rounding.
12177
12178         * expr.c (store_constructor_field): If bit position is not multiple
12179         of alignment of TARGET's mode, use BLKmode.
12180
12181         * expr.c (expand_expr_unaligned): Add more code from full case
12182         that is needed when OP0 is in a register.
12183
12184 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12185
12186         * dwarfout.c (field_byte_offset): Size can be zero if there was
12187         an error.
12188
12189 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12190
12191         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12192         (associate_trees): Delete unused var TEM.
12193         (extract_muldiv): Delete unused var CANCEL_P.
12194
12195         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12196         (target_isinf, target_isnan, target_negative): Add return types to
12197         function definitions.
12198
12199 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12200
12201         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12202         * fixinc/hackshell.tpl: ditto
12203         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12204         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12205
12206 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12207
12208         * reload.c (push_reload): When looking for a register to put into
12209         reg_rtx, make sure all hard regs in a multi-reg register are in the
12210         right class and nonfixed.
12211
12212         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12213         pending_read_insns, pending_write_insns, pending_read_mems,
12214         pending_write_mems, pending_list_length, last_pending_memory_flush,
12215         last_function_call, sched_before_next_call): Move static variables
12216         into a structure.
12217         (bb_ prefixed versions): Replace with single array bb_deps.
12218         (struct deps): New structure.
12219         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12220         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12221         argument of type "struct deps *"; use that instead of global
12222         variables.  All callers changed.
12223         (init_rgn_data_dependencies): Delete function.
12224         (init_rtx_vector): Delete function.
12225         (init_deps): New function.
12226
12227         (free_pending_lists): Simplify, we always use the bb_deps array even
12228         if only one basic block.
12229         (compute_block_backward_dependences): Likewise.
12230         (schedule_region): Likewise.
12231
12232         (propagate_deps): New function, broken out of
12233         compute_block_backward_dependences.
12234         (compute_block_backward_dependences): Use it.
12235
12236         * alpha.md: Delete useless patterns that tried to work around
12237         register elimination problems.
12238
12239         * unroll.c (loop_iterations): Don't abort if iteration variable
12240         was made by loop.
12241
12242         From Joern Rennecke:
12243         * reload1.c (reloads_conflict): Reverse test comparing operand
12244         numbers when testing for conflict between output/outaddr reloads.
12245
12246 1999-11-29  David S. Miller  <davem@redhat.com>
12247
12248         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12249         arg.
12250         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12251
12252 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12253
12254         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12255         table from .fini into .dtor.
12256
12257 1999-11-28  Anthony Green  <green@cygnus.com>
12258
12259         * tree.h (struct tree_decl): Add malloc_flag.
12260         (DECL_IS_MALLOC): Define.
12261         * c-common.c (attrs): Add A_MALLOC attribute.
12262         (init_attributes): Add this attribute to the table.
12263         (decl_attributes): Handle malloc attribute.
12264         * calls.c (special_function_p): Check for the malloc attribute.
12265         * extend.texi (Function Attributes): Document malloc attribute.
12266
12267 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12268
12269         * pa.md (reload shift-add patterns): Remove.
12270
12271 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12272
12273         * reorg.c (dbr_schedule) Print more statistics. Corrected
12274         problem when printing info when 3 delay slots are filled.
12275
12276 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12277
12278         * combine.c (setup_incoming_promotions): Pass an outgoing
12279         regno to FUNCTION_ARG_REGNO_P which it expects.
12280
12281 1999-11-28  Andreas Jaeger  <aj@suse.de>
12282
12283         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12284
12285 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12286
12287         * cccp.c (do_include): Avoid initialization of automatic variable.
12288
12289         * integrate.c (mark_stores): Function definition made void, to match
12290         previous declaration.
12291         * regclass.c (dump_regclass): Ditto.
12292         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12293
12294 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12295
12296         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12297         known to be multiple of divisor.
12298
12299         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12300
12301         * combine.c (try_combine): Add code to try to merge a set of a
12302         two-word pseudo to a constant with a setting of one of those words
12303         to a constant.
12304
12305         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12306         (split_tree): Completely rework to make more general.
12307         (make_range, fold): Call negate_expr.
12308         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12309         (fold, associate): Call new split_tree and associate_trees.
12310         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12311
12312 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12313
12314         * loop.c (try_copy_prop): Avoid GNU C extension.
12315
12316 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12317
12318         * except.c (init_eh_for_function): Still zero eh_return_context,
12319         eh_return_stack_adjust, and eh_return_handler.
12320
12321         * except.h (eh_status): Adjust documentation for x_protect_list.
12322         (begin_protect_partials): New function.
12323         * except.c (enqueue_eh_entry): Fix formatting.
12324         (get_first_handler): Add consistency check.
12325         (add_partial_entry): Adjust usage of protect_list.
12326         (emit_cleanup_handler): Save and restore ehqueue.
12327         (expand_start_all_catch): Add comment.
12328         (begin_protect_partials): New function.
12329         (end_protect_partials): Adjust usage of protect_list.
12330         (init_eh_for_function): Use xcalloc.
12331
12332 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12333
12334         * c-common.c (check_format_info): Don't call a variadic function
12335         with a non-literal format string.
12336
12337         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12338
12339         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12340         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12341         Likewise.
12342
12343         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12344         Likewise.
12345
12346         * collect2.c (collect_wait): Likewise.
12347
12348         * dbxout.c (dbxout_type): Likewise.
12349
12350         * gcc.c (do_spec_1): Likewise.
12351
12352         * genemit.c (gen_insn, gen_expand): Likewise.
12353
12354         * genrecog.c (write_switch, write_subroutine): Likewise.
12355
12356         * mips-tfile.c (catch_signal, botch): Likewise.
12357
12358         * print-rtl.c (print_rtx): Likewise.
12359
12360         * toplev.c (default_print_error_function, report_error_function,
12361         _fatal_insn): Likewise.
12362
12363 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12364
12365         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12366
12367 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12368
12369         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12370         operations when needed.
12371         * i386.md (fop_?f_comm): New.
12372         (fop_?f_1): Do not accept commutative operands.
12373
12374 1999-11-25  Andreas Jaeger  <aj@suse.de>
12375
12376         * config/mips/mips.md (casesi_internal): Add missing brace.
12377
12378 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12379
12380         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12381         (splice_child_die): Handle moving a child DIE from the declaration
12382         DIE of a class to its specification.
12383         (gen_struct_or_union_type_die): Use 'complete' consistently.
12384         (gen_decl_die): Generate the virtual context DIE first.
12385         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12386
12387 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12388
12389         * config/mips/mips.md (call_value_multiple_interanal1): New.
12390
12391 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12392
12393         * dwarf2out.c (free_AT, free_die): New fns.
12394         (remove_children): Call them.
12395         (output_line_info): Disable removal of duplicate notes.
12396
12397         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12398         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12399         means pretend the type isn't defined.
12400         Don't defer emitting types.
12401         (gen_type_die_for_member): New fn.
12402         (gen_decl_die): Call it.
12403         (splice_child_die): New fn.
12404         (gen_member_die): Call it rather than generate duplicate dies.
12405
12406         Defer emitting information for the abstract instance of an inline
12407         until we either inline it or emit an out-of-line copy.
12408         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12409         from output_inline_function if DECL_ABSTRACT is also set.
12410         (block_ultimate_origin): Likewise.
12411         (gen_abstract_function): New fn.
12412         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12413         (gen_subprogram_die):  An abstract instance is not a declaration
12414         just because it doesn't match current_function_decl.  Don't abort
12415         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12416         has an abstract origin.
12417         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12418         abstract instance here.
12419
12420 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12421
12422         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12423         where we need to reload fpul from a system register.
12424
12425 1999-11-24  Andreas Jaeger  <aj@suse.de>
12426
12427         * config/mips/linux.h (CPP_PREDEFINES): Added.
12428         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12429
12430 1999-11-24  Andreas Jaeger  <aj@suse.de>
12431
12432         * config/mips/linux.h (TARGET_VERSION): Added.
12433         (HANDLE_SYSV_PRAGMA): Added.
12434         (DEFAULT_VTABLE_THUNKS): Added.
12435
12436 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12437
12438         * local-alloc.c (qty): New structure and static variable.
12439         (qty_phys_reg): Remove, all references changed to qty.
12440         (qty_n_refs): Likewise.
12441         (qty_min_class): Likewise.
12442         (qty_birth): Likewise.
12443         (qty_death): Likewise.
12444         (qty_size): Likewise.
12445         (qty_mode): Likewise.
12446         (qty_n_calls_crossed): Likewise.
12447         (qty_alternate_class): Likewise.
12448         (qty_changes_size): Likewise.
12449         (qty_first_reg): Likewise.
12450         (alloc_qty): Rename variable QTY to QTYNO.
12451         (finf_free_reg): Likewise.
12452         (local_alloc): Allocate qty, do not allocate the removed variables.
12453
12454 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12455
12456         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12457         when -membedded-pic is passed.
12458
12459         * config/mips/mips.md (casesi): Handle 64-bit case too.
12460         (casesi_internal_di): New insn.
12461
12462         * config/mips/mips.c (embedded_pic_offset): Always make the
12463         embedded-pic subtractions relative to the name of the current
12464         function by use of the magic string "..CURRENT_FUNCTION".
12465         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12466
12467 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12468
12469         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12470         of (const_int 0), when what we really care about is
12471         whether it's a zero constant anyway.
12472         (div_trap_mips16): Likewise.
12473
12474 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12475
12476         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12477         unroll_block_trees when generating debuggable code.
12478
12479         * tree.h (unsave_expr_1): New function.
12480         (lang_unsave): New variable.
12481         (get_callee_fndecl): New function.
12482         * tree.c (unsave_expr_now_r): New function.
12483         (lang_unsave): Define.
12484         (unsave_expr_1): Likewise.
12485         (unsave_expr_now_r): Split out from unsave_expr_now.
12486         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12487         call unsave_expr_now_r.
12488         (get_callee_fndecl): Define.
12489
12490         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12491         (gencheck.o): Do depend on lang_tree_files.
12492
12493         * integrate.h (copy_decl_for_inlining): New declaration.
12494         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12495         (copy_decl_for_inlining): New function.
12496         (integrate_parm_decls): Use it.
12497         (integrate_decl_tree): Likewise.
12498
12499 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12500
12501         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12502         the second two from the first.
12503         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12504         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12505         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12506         ISA_HAS_FP4.
12507         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12508         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12509         ISA_HAS_FP4.
12510
12511 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12512
12513         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12514         needed on the address operand.
12515         * pa.c (call_operand_address): Check for the correct mode.
12516
12517 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12518
12519         * loop.c: Include "basic-block.h".
12520         (try_copy_prop, replace_loop_reg): New functions.
12521         (load_mems): Detect registers that just hold copies of the hoisted
12522         mem, and call try_copy_prop to eliminate them.
12523         * Makefile.in (loop.o): Update dependencies.
12524
12525 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12526
12527         * Makefile.in (gencheck.o): Depend on gencheck.h.
12528         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12529         (insn-peep.o): Depend on except.h and function.h.
12530         (insn-attrtab.o): Depend on RECOG_H.
12531         (insn-output.o): Depend on toplev.h and flags.h.
12532         (gengenrtl.o): Depend on real.h.
12533         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12534         Unify all dependencies to be on RECOG_H rather than recog.h.
12535
12536 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12537
12538         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12539         * configure.in: Try building a bi-arch 32/64-bit compiler on
12540         sparc-*-solaris2.7 and higher.
12541         * configure: Rebuild.
12542
12543 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12544
12545         * config/freebsd.h: New, FreeBSD architecture independent file.
12546         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12547         independent pieces.
12548         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12549         directly by i386/freebsd.h.
12550         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12551         independent configuration file.
12552         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12553         directly by i386/freebsd.h.
12554         * configure: Rebuilt.
12555
12556         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12557         which is in the user's namespace.
12558         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12559         `i386' which is not in our namespace.
12560
12561 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12562
12563         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12564
12565 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12566
12567         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12568         (add_dwarf_attr, add_child_die): Just push onto the front.
12569         (reverse_die_lists): New fn.
12570         (add_sibling_attributes): Use it.
12571         (push_decl_scope): Reorganize.
12572         (add_name_and_src_coords_attributes): Don't set file and line for
12573         an artificial decl.
12574         (gen_subprogram_die): An artificial function doesn't need to match
12575         file and line.
12576         (gen_compile_unit_die): Return the generated die.  Only add
12577         AT_comp_dir if the filename is relative.
12578         (remove_AT): Simplify loop.  Also free string values.
12579         (output_die): A DIE ref can't be null.
12580         (output_value_format, value_format): Take a dw_attr_ref.
12581         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12582         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12583         AT_addr, AT_lbl): New fns.
12584         (various): Use them.
12585         (various): Constify.
12586
12587 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12588
12589         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12590         take SUBREG_WORD into account.
12591         (if_then_else_cond): Likewise.
12592
12593 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12594
12595         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12596         clause from BSD license, pursuant with
12597
12598           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12599
12600 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12601
12602         * loop.c (load_mems): Reformat slightly.
12603         * basic-block.h (regset_head): New typedef.
12604         (INIT_REG_SET): New macro.
12605
12606 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12607
12608         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12609         (mips-dec-bsd*): non-functional code
12610         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12611
12612         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12613         added three replacement fixes
12614         (no_double_slash): removed comments that are not (any longer) pertinent
12615         (bad_lval): this fix currently runs against many files.
12616         The comment seems to indicate that we should select for files
12617         containing 'pragma extern_prefix'.
12618
12619         * fixinc/fixinc.x86-linux-gnu: deleted
12620         * fixinc/inclhack.sh:  regen
12621         * fixinc/fixincl.x:  regen
12622         * fixinc/fixincl.sh:  regen
12623
12624 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12625
12626         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12627         its code is INSN and it has no notes.
12628
12629 1999-11-22  Andrew Haley  <aph@cygnus.com>
12630
12631         * varasm.c (function_defined): Remove.
12632         (make_function_rtl): Don't set function_defined.
12633         (make_decl_rtl): Remove global register warning.
12634         * regclass.c (no_global_reg_vars): New variable.
12635         (globalize_reg): Warn if function has already been defined.
12636         (regclass_init): Set no_global_reg_vars.
12637
12638 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12639
12640         * regclass.c (reg_pref): New structure and static variable
12641         (prefclass): Delete.
12642         (altclass): Delete.
12643         (all uses of prefclass and altclass): Use reg_pref instead.
12644
12645 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12646
12647         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12648         -malignment-traps.
12649         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12650         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12651         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12652
12653 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12654
12655         * varasm.c (output_constructor): Solve problem with long long
12656         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12657
12658 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12659
12660         * global.c (allocno): New structure and static variable.
12661         (allocno_reg): Remove, all references replaced by allocno.
12662         (allocno_size): Likewise.
12663         (hard_reg_conflicts): Likewise.
12664         (hard_reg_preferences): Likewise.
12665         (hard_reg_copy_preferences): Likewise.
12666         (hard_reg_full_preferences): Likewise.
12667         (regs_someone_prefers): Likewise.
12668         (allocno_calls_crossed): Likewise.
12669         (allocno_n_refs): Likewise.
12670         (allocno_live_length): Likewise.
12671         (find_reg): Rename ALLOCNO to NUM.
12672
12673         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12674         references updated.
12675         (may_move_out_cost): New variable.
12676         (init_reg_sets_1): Initialize may_move_out_cost.
12677         (record_reg_classes): Use may_move_out_cost.
12678
12679         * regclass.c (dump_regclass): New function.
12680         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12681         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12682         pass rtl_dump_file to regclass.
12683         * rtl.h (regclass): Update prototype.
12684
12685 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12686
12687         * i386.md (neg, not and abs patterns): Revmap to use
12688         ix86_expand_unary_operator and ix86_unary_operator_ok.
12689         (add?f and sub?f expanders): Force operand 1 to register.
12690         * i386.c (ix86_expand_unary_operator): Rewrite.
12691         (ix86_unary_operator_ok): Ensure that memory operands
12692         match real opcode.
12693         (ix86_binary_operator_ok): Do not allow operand 1 to
12694         come into memory and operand 0 not.
12695         (ix86_expand_binary_operator): Ensure that
12696         src1 is not non-matching memory.
12697
12698         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12699         to support integer registers and memory.
12700         (abss?2_integer): Likewise.
12701
12702         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12703         (REG_CLASS_NAMES): Likewise.
12704         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12705         and GENERAL_REGS.
12706         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12707         (movsf): Likewise; unify 4th and 5th alternative.
12708         (pushdf): Likewise.
12709         (movdf_1): Likewise; rename to movdf_integer.
12710         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12711         remove redundant splitter.
12712         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12713         (movdf_nointeger): New.
12714         (movxf_nointeger): New.
12715         (pushxf_nointeger): New.
12716
12717         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12718         memory operands in patterns.
12719         (fop*): Refuse two memory operands.
12720
12721         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12722         on !TARGET_USE_CLTD CPUs.
12723
12724 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12725
12726         * extend.texi: Document C++ restricted pointers and references.
12727
12728 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12729
12730         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12731         (invalidate_skipped_set): Call it unconditionally.
12732         (cse_set_around_loop): Likewise.
12733
12734 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12735
12736         * rtl.texi (mem): Add documentation for alias-set argument
12737         to RTX `mem'.
12738
12739 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12740
12741         * i386.h (struct_processor_costs): New fields int_load, int_store,
12742         fp_move, fp_load and fp_store
12743         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12744         fp->int moves
12745         (MEMORY_MOVE_COST): New macro.
12746         * i386.c (386_cost): Define new fields.
12747         (i486_cost): Likewise.
12748         (pentium_cost): Likewise.
12749         (pentiumpro_cost): Likewise.
12750         (k6_cost): Likewise.
12751
12752 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12753                           Geoffrey Keating  <geoffk@cygnus.com>
12754
12755         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12756
12757         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12758         MASK_ALIGN_INT.
12759
12760         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12761         (TARGET_STRICT_ALIGNMENT): New macro.
12762         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12763         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12764         * invoke.texi (M680x0 Options): Document -mstrict-align.
12765
12766 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12767                           Richard Henderson  <rth@cygnus.com>
12768
12769         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12770         (ix86_split_long_move): Declare.
12771         * i386.c (split_xf, ix86_split_movdi): Remove.
12772         (ix86_split_to_parts, ix86_split_long_move): New.
12773         * i386.md (dimode move splitters): Use ix86_split_long_move.
12774         (dfmode move splitters): Likewise.
12775         (xfmode move splitters): Likewise.
12776         (movsf_1): Allow F->r.
12777         (movdf_1, movxf_1): Allow F->ro.
12778
12779 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12780
12781         * except.h (struct eh_entry): Add goto_entry_p.
12782         (eh_region_from_symbol): Remove prototype.
12783         * except.c (find_func_region_from_symbol): New function.
12784         (emit_cleanup_handler): Likewise.
12785         (eh_region_from_symbol): Make it static.
12786         (add_new_handler): Verify the argument.
12787         (find_func_region): Update comment.
12788         (expand_eh_region_end): Expand handlers here, rater than waiting
12789         until expand_leftover_cleanups or start_all_catch.
12790         (expand_leftover_cleanups): Don't expand here.
12791         (expand_start_all_catch): Or here.
12792         (expand_rethrow): Check the return value from find_func_region.
12793         * function.c (expand_function_end): Emit the catch_clauses.
12794
12795 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12796
12797         * integrate.c (expand_inline_function): Add necessary check for NULL.
12798
12799 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12800
12801         * toplev.c (main): Correctly detect an unrecognised option.
12802
12803         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12804         a -f option if it has not been recognised.
12805
12806 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12807
12808         * basic-block.h (update_life_extent): Remove trailing comma on
12809         enumeration type list.
12810
12811 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12812
12813         * varasm.c (output_constructor) Solved problem with long long
12814         bitfields. Corrected calculating this_time and shift. Also
12815         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12816
12817 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12818
12819         * flow.c (split_edge): Take looping structure into account when
12820         determining where to put the new block note.
12821
12822 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12823
12824         * Makefile.in (ggc-none.o): Provide host specific version if
12825         needed.
12826
12827 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12828
12829         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12830         containing subregs too.
12831
12832 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12833
12834         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12835         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12836         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12837         (text_section): Add switches -munint-const-in-rodata and
12838         -mno-uninit-const-in-rodata.
12839         (ASM_OUTPUT_COMMON): Remove.
12840         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12841         const objects should be placed in read-only data. Otherwise declare
12842         them in common.
12843
12844 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12845
12846         * jump.c (jump_optimize_1): Revert last change.
12847
12848 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12849
12850         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12851         test if optimizing for size.
12852
12853 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12854
12855         * Makefile.in (toplev.o): Depend on except.h.
12856         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12857
12858 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12859
12860         * i386.md (divmodsi4): Rewrite to expander.
12861         (*divmodsi4_nocltd): New.
12862         (*divmodsi4_cltd): New.
12863         (divmodsi4 splitter): Handle the case when input comes in edx.
12864         (udivmodhi4): Do not use constraints in exander.
12865         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12866
12867 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12868
12869         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12870         for the common case.
12871
12872 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12873
12874         * explow.c (hard_function_value): Add outgoing argument.
12875         * expr.h (hard_function_value): Declare it.
12876         * calls.c (expand_call, emit_library_call_value): Update callers.
12877         * function.c (aggregate_value_p): Ditto.
12878         (diddle_return_value): Must look at the outgoing registers
12879         on archs with register windows.
12880
12881 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12882
12883         * alpha.c (alpha_build_va_list): Use make_lang_type and
12884         initialize TYPE_NAME for the va_list record.
12885
12886         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12887
12888         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12889         for printing.
12890         * ggc.h (struct ggc_statistics): Rearrange elements for better
12891         packing on 64-bit hosts.
12892         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12893         (compute_nearerout): Likewise.
12894
12895 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12896
12897         * config/rs6000/rs6000.c (first_reg_to_save): Save
12898         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12899
12900 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12901
12902         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12903         notion of nesting to find the DIE for a type or function.
12904         DIEs can go in limbo even if we got a context_die.
12905         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12906         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12907         for local type.
12908         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12909         (gen_type_die): Writing out the context doesn't cause member class
12910         template instantiations to be written out as well.
12911
12912 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12913
12914         * rs6000.h (ASM_OUTPUT_DEF): New.
12915         Based on proposed addition from David Edelsohn.
12916
12917 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12918             Bruce Korb  <autogen@linuxbox.com>
12919
12920         * fixinc/inclhack.def
12921         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12922         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12923                 in net/inet.h.
12924         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12925         (svr4_endian): enabled with SVR5
12926         (svr4_mkdev): simplified syntax and enabled with SVR5
12927
12928 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12929
12930         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12931         * configure: Rebuilt.
12932         * config/t-freebsd-thread: New file.
12933
12934 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12935
12936         * i386.c (ix86_decompose_address): Verify the base is a REG
12937         before trying to examine its register number.
12938
12939         * basic-block.h: Remove all #defines and prototypes related to
12940         integer lists.
12941         (free_bb_mem, compute_preds_succs): Remove prototype.
12942         * rtl.h (free_bb_mem): Remove prototype.
12943         * flow.c (alloc_int_list_node); Remove function.
12944         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12945         (compute_preds_succs, free_bb_mem): Likewise.
12946         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12947         * toplev.c (rest_of_compilation): Likewise.
12948         * haifa-sched.c (build_control_flow): Use flow generated edge
12949         list to build the haifa specific edge list.
12950         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12951         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12952         build the edge table.
12953
12954         * basic-block.h (dump_bb_data): Remove declaration.
12955         * flow.c (dump_bb_data): Remove function.
12956         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12957         (sbitmap_union_of_predsucc): Likewise.
12958
12959         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12960         argument.  All callers changed.
12961         (delete_null_pointer_checks_1): No longer need to compute the
12962         pred/succ lists.
12963
12964         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12965         All callers changed.
12966         (pre_expr_reaches_here_p_work): Likewise.
12967         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12968         * lcm.c (compute_laterin): Fix initialization of LATER.
12969         (compute_nearerout): Similarly for NEARER.
12970
12971 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12972
12973         * cse.c (set_nonvarying_address_components): Delete unused function.
12974         (refers_to_p): Likewise.
12975
12976 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
12977
12978         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12979         needed.
12980
12981 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12982
12983         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12984         definition in do while (0).
12985
12986 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
12987
12988         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12989
12990 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
12991
12992         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12993
12994 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
12995
12996         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12997         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12998         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12999         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13000
13001         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13002         saved on the stack.  Output more accurate stack frame statistics
13003         into assembler file.
13004
13005 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
13006
13007         * genextract.c (record_insn_name): New function.
13008         (get_insn_name): No longer a stub.
13009         (main): Call record_insn_name for each insn.  After each label
13010         written, print the insn name in a comment.
13011
13012 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13013
13014         * output.h (const_section, init_section, fini_section): Add
13015         prototypes.
13016
13017         * alpha/elf.h (const_section): Delete declaration.
13018
13019         * svr4.h (const_section): Likewise.
13020
13021 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
13022
13023         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13024         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13025         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13026         expressions.
13027         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13028         variable-sized array bounds.
13029
13030 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
13031
13032         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
13033         ASM_OUTPUT_LABEL.
13034
13035 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13036
13037         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13038         addresses the same way GO_IF_LEGITIMATE_INDEX does.
13039
13040 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13041
13042         * cse.c (hash_arg_in_struct): Delete.
13043         (struct table_elt): Delete elt in_struct.
13044         (struct set): Delete elt src_in_struct.
13045         (merge_equiv_classes): Don't set either hash_arg_in_struct or
13046         the corresponding in_struct elts.
13047         (canon_hash): Likewise.
13048         (safe_hash): Likewise.
13049         (find_best_addr): Likewise.
13050         (record_jump_cond): Likewise.
13051         (cse_insn): Likewise.
13052
13053 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
13054
13055         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13056
13057         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13058         unsigned types.
13059
13060 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
13061
13062         * function.c (diddle_return_value): Put back check that the DECL_RTL
13063         for the function is a register.
13064
13065         * function.c (diddle_return_value): Use hard_function_value to
13066         get an rtx suitable for use in the USE/CLOBBER insn.
13067
13068         * global.c (global_conflicts): Update comments.
13069         (record_conflicts): No need to record conflicts between pseudos here.
13070
13071 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
13072
13073         * fixinc/fixincl.c: Added verbose levels for status messages
13074
13075 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13076
13077         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13078         operand as argument to expand_and or expand_binop.
13079
13080 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
13081
13082         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13083         gcc_add_string_root.
13084
13085 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
13086
13087         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13088
13089 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
13090
13091         * flow.c (compute_flow_dominators): Initially put all blocks on
13092         the worklist.
13093         * lcm.c (compute_antinout_edge, compute_available): Similarly.
13094         * gcse.c (compute_cprop_avinout): Remove.
13095         (compute_cprop_data): Use compute_available.
13096         (delete_null_pointer_checks_1): Use compute_available.
13097
13098         * basic-block.h (compute_available): Returns a void now.
13099         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13100         to return a value anymore.
13101         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13102         worklists.  Fix boundary cases. Compute maximal solutions.
13103         (compute_laterin, compute_nearerout): Similarly.
13104
13105         * dwarf2out.c (add_AT_location_description): Allow
13106         (mem (plus (pseudo) (...)) too.
13107
13108 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
13109
13110         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13111
13112 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
13113                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13114
13115         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13116
13117         * gansidecl.h: Likewise.
13118
13119         * rtl.c: Likewise.
13120
13121         * rtl.h: Likewise.
13122
13123         * toplev.h: Likewise.
13124
13125         * tree.c: Likewise.
13126
13127         * tree.h: Likewise.
13128
13129         * varray.c: Likewise.
13130
13131         * varray.h: Likewise.
13132
13133 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
13134
13135         * gcov.c (struct arcdata): Add hits and total, remove prob.
13136         (output_branch_counts): New.
13137         (process_args): Set output_branch_counts if -c.
13138         (calculate_branch_probs): Store hits and total instead of
13139         percentage.
13140         (output_data): Emit counts if output_branch_counts is true.
13141         * gcov.texi (Invoking Gcov): Document -c switch..
13142
13143 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
13144
13145         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
13146         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
13147
13148 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
13149
13150         * invoke.texi (C Dialect Options): Add missing builtins from
13151         c-common.c to list.
13152         * extend.texi (Other Builtins): Copy to this list.
13153
13154 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13155
13156         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13157         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
13158         redundant bitmap.h.
13159
13160 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
13161
13162         * flow.c (compute_flow_dominators): No longer treat basic block 0
13163         or (n_basic_blocks - 1) specially.  Clear the AUX field before
13164         starting computation of doms/pdoms.  Fix initial state for pdoms.
13165
13166 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13167
13168         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13169         match rtl.o's: added ggc.h and toplev.h
13170         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13171         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13172         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13173
13174 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
13175
13176         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13177         from HAVE_DOS_BASED_FILESYSTEM.
13178         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13179         HAVE_DOS_BASED_FILESYSTEM.
13180         (main): Likewise.
13181         (split_directories): Only special-case DOS file names if
13182         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
13183         instead of explicit tests.  Conditionalize on !VMS.
13184         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13185         tests.  Conditionalize on !VMS.
13186         (process_command): Only use make_relative_prefix if !VMS.
13187         (free_split_directories): Conditionalize on !VMS.
13188         (DIR_UP): Conditionalize on !VMS.
13189
13190 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13191
13192         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13193
13194 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13195
13196         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13197         case.
13198
13199 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13200
13201         * invoke.texi (Environment Variables): Document relative path
13202         lookup.
13203         * gcc.c (DIR_UP): If not defined, define as "..".
13204         (standard_bindir_prefix): New static, holds target location to
13205         install binaries.
13206         (split_directories): New function to split a filename into
13207         component directories.
13208         (free_split_directories): New function, release memory allocated
13209         by split_directories.
13210         (make_relative_prefix): New function, make a relative pathname if
13211         the compiler is not in the expected location.
13212         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13213         can figure out an appropriate prefix from argv[0].
13214         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13215         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13216         STANDARD_BINDIR_PREFIX.
13217
13218 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13219
13220         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13221         in c4x.c.
13222         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13223         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13224         c4x_secondary_memory_needed) Delete.
13225         (fp_zero_operand): Add mode argument.
13226
13227 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13228
13229         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13230         that is in reload_reg_used.
13231
13232 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13233
13234         * config/arm/arm-protos.h: New file: Prototypes for functions
13235         defined in arm.c and pe.c.
13236         * config/arm/arm.h: Fix compile time warnings.
13237         * config/arm/arm.c: Fix compile time warnings.
13238         * config/arm/pe.h: Fix compile time warnings.
13239         * config/arm/aout.h: Fix compile time warnings.
13240
13241 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13242
13243         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13244         defined in m32r.c
13245
13246         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13247         Add support for subtargets.
13248         Add prototypes for new predicates.
13249         Add scheduling macros.
13250
13251         * config/m32r/m32r.c: Fix compile time warnings.
13252         (int8_operand): New predicate function.
13253         (reg_or_cmp_int16_operand): New predicate function.
13254         (extend_operand): New predicate function.
13255         (m32r_adjust_code): New scheduling function.
13256         (m32r_adjust_priorty): New scheduling function.
13257         (m32r_sched_init): New scheduling function.
13258         (m32r_sched_reorder): New scheduling function.
13259         (m32r_sched_variable_issue): New scheduling function.
13260         (direct_return): New codegen function.
13261         (m32r_not_same_reg): New rtl testsing function.
13262
13263         * config/m32r/m32r.md: Fix compile time warnings.
13264         Add support for pre decrement and post increment memory
13265         references.
13266         Add S<cc> patterns.
13267         Add fabs patterns.
13268
13269 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13270
13271         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13272         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13273         (find_reg): Likewise.
13274
13275 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13276
13277         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13278         to avoid assembler errors.
13279
13280 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13281
13282         * config/v850/v850-protos.h: New file: Prototypes for functions
13283         defined in v850.c
13284         * config/v850/v850.h: Move prototypes to v850-protos.h
13285         * config/v850/v850.c: Move prototypes to v850-protos.h
13286         * config/v850/v850.md: Fix compile time warnings.
13287
13288         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13289         defined in fr30.c
13290         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13291         * config/fr30/fr30.c: Fix compile time warnings.
13292         * config/fr30/fr30.md: Fix compile time warnings.
13293
13294 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13295
13296         * tree.h (get_containing_scope): Declare it.
13297         * tree.c (get_containing_scope): New fucntion.
13298         (decl_function_context): Use it.
13299         * toplev.c (rest_of_compilation): Use get_containing_scope.
13300
13301 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13302
13303         * Makefile.in (rtl.o): Depend on toplev.h.
13304
13305 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13306
13307         * cse.c (delete_trivially_dead_insns): Replace alloca with
13308         xmalloc/xcalloc.
13309         * except.c (update_rethrow_references): Likewise.
13310         (init_eh_nesting_info): Likewise.
13311         * function.c (identify_blocks): Likewise.
13312         * gcse.c (dump_hash_table): Likewise.
13313         * graph.c (print_rtl_graph_with_bb): Likewise.
13314         * loop.c (combine_movables): Likewise.
13315         (move_movables): Likewise.
13316         (count_loop_regs_set): Likewise.
13317         (strength_reduce): Likewise.
13318         * profile.c (compute_branch_probabilities): New function, split
13319         out from ...
13320         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13321         * regclass.c (regclass): Likewise.
13322         * regmove.c (regmove_optimize): Likewise.
13323         * toplev.c (compile_file): Likewise.
13324         (main): Don't mess with the stack rlimit.
13325
13326 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13327
13328         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13329         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13330
13331 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13332
13333         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13334
13335 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13336
13337         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13338         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13339         macro expansion.
13340
13341 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13342
13343         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13344
13345 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13346
13347         * gcse.c (post_dominators): Kill.
13348         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13349         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13350         pass in a pdom array since we do not need pdoms.
13351         * haifa-sched.c (schedule_insns): Similarly.
13352         * flow.c (compute_dominators): Remove dead function.
13353         (compute_flow_dominators): Do not compute doms or pdoms if the
13354         caller does not request them.  Split up loop to build doms and
13355         pdoms.  Use a worklist to compute doms and pdoms.
13356         * basic-block.h (compute_dominators): Remove prototype.
13357
13358 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13359
13360         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13361         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13362         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13363         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13364         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13365         (schedule_region): Remove unused variable.
13366         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13367
13368 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13369
13370         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13371         (update_equiv_regs): Likewise.
13372         (block_alloc): Likewise.
13373         * reg-stack.c (reg_to_stack): Likewise.
13374         (convert_regs_2): Likewise.
13375         * reload1.c (reload_as_needed): Likewise.
13376
13377 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13378
13379         * Makefile.in (dbxout.o): Depend on ggc.h.
13380         (dwarf2out.o): Likewise.
13381         (xcoffout.o): Likewise.
13382         * dbxout.c: Include ggc.h.
13383         (dbxout_init): Register lastfile as a root.
13384         * dwarf2out.c: Include ggc.h.
13385         (dwarf2out_line): Register lastfile as a root.
13386         * xcoffout.c: Include ggc.h.
13387         (xcoffout_source_line): Register xcoff_lastfile as a root.
13388
13389 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13390
13391         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13392
13393 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13394
13395         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13396         defined.
13397         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13398
13399 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13400
13401         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13402         (EXECUTE_IF_CONFLICT): Likewise.
13403         (ALLOCNO_LIVE_P): Avoid signed division.
13404         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13405         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13406         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13407
13408 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13409
13410         * haifa-sched.c (schedule_block): Don't crash if there's no
13411         next insn for an interblock movement.
13412         (add_branch_dependences): Don't allow clobber insns to move either.
13413
13414 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13415
13416         * i386.c (split_xf): New.
13417         * i386-protos.h: Declare it.
13418         * i386.md (movxf_1): Add general regs alternatives.
13419         (movxf_1+1): New splitter for same.
13420
13421 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13422
13423         * function.c (purge_addressof_1): Add missing return values.
13424
13425 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13426
13427         * function.c (is_addressof): New function.  Returns true if
13428         the given piece of RTL is an ADDRESSOF.
13429         (purge_addressof_1): Make boolean.  Return false if the
13430         ADDRESSOFs could not be purged.
13431         (purge_addressof): If ADDRESSOFs could not be purged from the
13432         notes attached to an insn, remove the offending note(s),
13433         unless they are attached to a libcall.
13434
13435 1999-11-05  Andreas Jaeger  <aj@suse.de>
13436
13437         * genoutput.c (null_operand =): Initialize all fields.
13438
13439         * errors.h: Add extern to prototypes.
13440
13441 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13442
13443         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13444         * configure: Rebuilt.
13445
13446 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13447
13448         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13449         (mirror_conflicts): New function.
13450         (global_alloc): Call it.
13451         (expand_preferences): Remove redundant CONFLICTP test.
13452         (find_reg, dump_conflicts): Likewise.
13453         (prune_preferences): Process conflicts one word at a time.
13454
13455 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13456
13457         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13458         instead of an explicit loop.
13459
13460 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13461
13462         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13463         if REG_RETVAL check succeeds, then put classp in src_elt.
13464
13465 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13466
13467         * function.c (pad_to_arg_alignment): Only update argument_pad
13468         if the argument's alignment is greater than STACK_BOUNDARY.
13469
13470 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13471
13472         * bitmap.h (BITMAP_XFREE): New.
13473         * flow.c (life_analysis): Use it.
13474         (life_analysis_1): Free blocks.
13475
13476         * combine.c (undo_commit): New.
13477         (try_combine): Use it.  Don't zap undobuf.undos.
13478         (combine_instructions): Don't zap undobuf.undos; free the
13479         undobuf.frees list.
13480
13481         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13482
13483         * stmt.c (cost_table_): New.
13484         (estimate_case_costs): Use it instead of xmalloc.
13485
13486         * toplev.c (compile_file): Reuse dumpname memory instead
13487         of strdup'ing it.
13488
13489 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13490
13491         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13492         after verifying an EH edge.
13493
13494         * haifa-sched.c (init_rgn_data_dependences): Correctly
13495         size bb_pending_lists_length when zeroing.
13496
13497 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13498
13499         * function.c (diddle_return_value): New.
13500         (expand_function_end): Use it.
13501         * stmt.c (expand_null_return): Likewise.
13502         (expand_value_return): Likewise.
13503
13504         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13505
13506         * reload1.c (reload): Don't remove return value clobbers.
13507
13508 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13509
13510         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13511
13512 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13513
13514         * cse.c (cse_main): Use xmalloc, not alloca.
13515         (cse_basic_block): Likewise.
13516         * local-alloc.c (local_alloc): Likewise.
13517
13518 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13519                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13520
13521         * rtl.c: Include toplev.h.
13522         (fatal): Remove declaration.
13523
13524 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13525
13526         * haifa-sched.c (schedule_block): Fix thinko.
13527
13528 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13529
13530         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13531         S_IR* defined values
13532
13533 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13534
13535         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13536         call `malloc' instead.
13537
13538 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13539
13540         * flags.h (flag_renumber_insns): Declare.
13541         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13542         renumbering table.
13543         * rtl.h (renumber_insns): Change prototype.
13544         * toplev.c (flag_renumber_insns): Define.
13545         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13546
13547 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13548
13549         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13550         and fpsqrtd.  Use them and create fdiv function unit to more
13551         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13552         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13553
13554 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13555
13556         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13557         3 on UltraSparc.
13558         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13559         insn into ready list, do not use just a raw swap.
13560
13561 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13562
13563         * rtl.h (renumber_insns): New function.
13564         (remove_unnecessary_notes): Likewise.
13565         * emit-rtl.c (renumber_insns): Define.
13566         (remove_unncessary_notes): Likewise.
13567         * toplev.c (rest_of_compilation): Remove dead code.
13568         Use renumber_insns and remove_unncessary_notes.
13569
13570         * gcse.c (struct null_pointer_info): New type.
13571         (get_bitmap_width): New function.
13572         (current_block): Remove.
13573         (nonnull_local): Likewise.
13574         (nonnull_killed): Likewise.
13575         (invalidate_nonnull_info): Take a null_pointer_info as input.
13576         (delete_null_pointer_checks_1): New function.
13577         (delete_null_pointer_checks): Use it.
13578
13579         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13580         (split_edges): Likewise.
13581         (schedule_block): Likewise.
13582         (compute_block_backward_dependencies): Likewise.
13583         (schedule_region): Likewise.
13584         (schedule_insns): Likewise.
13585
13586 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13587
13588         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13589         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13590         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13591         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13592         * jump.c (delete_unreferenced_labels): Don't delete if
13593         LABEL_ALTERNATE_NAME is set.
13594         * print-rtl.c (print_rtx): Dump alternate name.
13595         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13596         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13597         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13598         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13599
13600 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13601
13602         * fix-header.c (recognized_extern, recognized_function): Constify
13603         a char*.
13604
13605         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13606         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13607         (compute_available): Remove unused variable `last'.
13608         (compute_nearerout): Remove unused variable `temp_bitmap'.
13609         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13610         Remove unused variable `x'.
13611
13612         * scan.h (recognized_function, recognized_extern): Constify a
13613         char*.
13614
13615         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13616
13617 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13618
13619         * varasm.c (decode_rtx_const): Use XSTR to access the string
13620         of a SYMBOL_REF.
13621
13622 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13623
13624         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13625
13626 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13627
13628         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13629
13630 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13631
13632         * pa.c (ireg_operand): New function.
13633         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13634         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13635         Fix out of date comment.
13636
13637         * pa.md (negdi2): Turn into expander + anonymous pattern.
13638
13639         * reload.c (find_reloads): Fix typos in recent change.
13640
13641         * dwarf2out.c: Do not include ctype.h.
13642
13643 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13644
13645         * regclass.c (record_reg_classes): Always use may_move_cost when
13646         seeing how operand fits with various register classes.
13647
13648 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13649
13650         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13651         * toplev.c: Revert Nov 1 13:22 change.
13652
13653 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13654
13655         * config/pa/pa.md (height reduction patterns): Add checks for
13656         overlapping operands to avoid semantic-destroying splits for
13657         height reduction patterns.
13658
13659 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13660
13661         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13662         have been an hyphen, fixed.
13663         * configure: Rebuilt.
13664
13665 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13666
13667         * config/arm/tpe.h: Add prototypes for exported functions.
13668         * config/arm/pe.c: Fix compile time warnings.
13669         * config/arm/semi.h: Fix compile time warnings.
13670         * config/arm/arm.c: Fix compile time warnings.
13671         * config/arm/arm.h: Fix compile time warnings.
13672         * config/arm/arm.md: Fix compile time warnings.
13673         * config/arm/thumb.c: Fix compile time warnings.
13674         * config/arm/thumb.h: Fix compile time warnings.
13675         * config/arm/thumb.md: Fix compile time warnings.
13676
13677 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13678
13679         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13680         detection code
13681
13682         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13683         completely unrolled.
13684
13685 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13686
13687         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13688
13689 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13690
13691         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13692         * rtl.h (rtx_equal_p): Move prototype.
13693         * rtl.c (rtx_equal_function_value_matters): Move from
13694         rtlanal.c
13695         (rtx_equal_p): Likewise.
13696         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13697         (rtx_equal_p): Likewise.
13698
13699 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13700
13701         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13702         ! HAS_INIT_SECTION.
13703
13704 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13705
13706         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13707
13708         * pa.h (ADDR_VEC_ALIGN): Define.
13709
13710         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13711         notes when presented with "if (foo) break; end_of_loop" and
13712         the break sequence gets moved out of the loop.
13713
13714         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13715         Remove explicit zero initializations of entries within MAP.
13716
13717 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13718
13719         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13720
13721 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13722
13723         * bitmap.h (BITMAP_XMALLOC): New macro.
13724         * flow.c (CLEAN_ALLOCA): Remove.
13725         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13726         (life_analysis): Likewise.
13727         (update_life_info): Don't use CLEAN_ALLOCA.
13728         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13729         (calculate_global_regs_live): Likewise.
13730         (print_rtl_with_bb): Likewise.
13731         (verify_flow_info): Likewise.
13732         * global.c (global_alloc): Likewise.
13733         (global_conflicts): Likewise.
13734         * integrate.c (save_for_inline_nocopy): Likewise.
13735         (expand_inline_function): Likewise.
13736         * jump.c (jump_optimize_1): Likewise.
13737         (duplicate_loop_exit_test): Likewise.
13738         (thread_jumps): Likewise.
13739         * loop.c (loop_optimize): Likewise.
13740         (combine_givs): Likewise.
13741         (recombine_givs): Likewise.
13742         * reorg.c (dbr_schedule): Likewise.
13743         * unroll.c (unroll_loop): Likewise.
13744
13745         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13746
13747 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13748
13749         * toplev.c (rest_of_compilation): Don't optimize the CFG
13750         when rebuilding, just before dbr.
13751
13752 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13753
13754         * output.h (assemble_end_function, assemble_destructor,
13755         assemble_constructor, assemble_gc_entry, assemble_global,
13756         assemble_label, output_constant_pool) Constify a char*.
13757
13758         * varasm.c (assemble_destructor, assemble_constructor,
13759         assemble_gc_entry, assemble_end_function, assemble_global,
13760         assemble_label, output_constant_pool): Likewise.
13761
13762 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13763
13764         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13765         explaining what is goin on in this function.
13766
13767 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13768
13769         * regclass.c (record_reg_classes): In matching case, recompute
13770         costs since the direction of movement is different.
13771
13772 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13773
13774         * resource.c (mark_target_live_regs): For unconditional branches,
13775         the resources found at the branch target should be added to the
13776         resources found so far, not intersected.
13777
13778 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13779
13780         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13781         old cpp's.
13782         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13783         (sys/mman.h): Include this file only if #HAVE_MMAP.
13784         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13785         with automatically concatenated ANSI strings.
13786
13787 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13788
13789         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13790         (DIV_ROUND_UP): Robustify.
13791         (ggc_recalculate_in_use_p): New function.
13792         (release_pages): Don't inline it.
13793         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13794         outer contexts.
13795         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13796         (clear_marks): Always save in_use_p.
13797         (sweep_pages): Use ggc_recalculate_in_use_p.
13798         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13799         Release pages before counting statistics.
13800
13801 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13802
13803         * toplev.c (rest_of_compilation): Fix thinko in this change:
13804
13805         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13806
13807         (rest_of_compilation): If inside an inlined external function,
13808         pretend we are just being declared.
13809
13810 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13811
13812         * flow.c (calculate_global_regs_live): Fix thinko.
13813
13814         * integrate.c (expand_inline_function): Fix bugs in previous
13815         change from Oct 28, 1999.
13816
13817 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13818
13819         * stmt.c (expand_value_return): Fix typo in this change:
13820
13821         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13822         (expand_value_return): Correctly convert VAL when promoting function
13823         return; support RETURN_REG being a PARALLEL.
13824
13825 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13826
13827         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13828
13829 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13830
13831         * hard-reg-set.h (reg_names): Constify a char*.
13832
13833         * regclass.c  (reg_names): Likewise.
13834
13835         * regs.h (reg_names): Likewise
13836
13837         * a29k/a29k.c (reg_names): Delete declaration.
13838
13839         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13840
13841         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13842         arc_output_function_epilogue): Likewise.
13843
13844         * elxsi/elxsi.c (reg_names): Likewise.
13845
13846         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13847
13848         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13849         Likewise.
13850
13851         * m88k/m88k.c (output_function_profiler): Likewise.
13852
13853         * sparc/sparc.c (sparc_flat_output_function_prologue,
13854         sparc_flat_output_function_epilogue): Likewise.
13855
13856 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13857
13858         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13859         warning from -Wuninitialized and put it under -W.
13860         * function.c (uninitialized_vars_warning): Warn only when the
13861         corresponding flag is set.
13862
13863 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13864
13865         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13866         is nonzero and the single set does not have an elt, then assign
13867         it an elt.
13868
13869         * simplify-rtx.c: New file.
13870         * Makefile.in (OBJS): Add simplify-rtx.o
13871         (simplify-rtx.o): Add dependencies.
13872         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13873         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13874         (cse_gen_binary, simplify_unary_operation): Delete.
13875         (simplify_binary_operation, simplify_plus_minus): Likewise.
13876         (check_fold_consts, simplify_relation_operation): Likewise.
13877         (simplify_ternary_operation): Likewise.
13878         (delete_trivially_dead_insns): Simplify the contents of the
13879         REG_EQUAL note before trying to substitute it into the source
13880         of the reg-reg copy at the end of a libcall sequence.
13881
13882         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13883         references/callers changed.
13884
13885         * mn10200.c (mn10200_va_arg): Force the return value into a
13886         register.
13887
13888         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13889
13890         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13891         arguments.
13892
13893 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13894
13895         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13896
13897 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13898
13899         * fold-const.c (fold): Fix thinko when optimizing comparisons
13900         against -0.0.
13901
13902 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13903
13904         * gcc.texi (Passes): Update front-end files to their current
13905         location.
13906
13907 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13908
13909         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13910         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13911         (PREDICATE_CODES): Add addition_operation.
13912         * alpha-protos.h (addition_operation): Declare.
13913         (secondary_reload_class): Likewise.
13914         * alpha.c (addition_operation): New.
13915         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13916         * alpha.md (adddi3): Turn into expander.
13917         (*lda, *adddi_2): New.
13918         (movsf, movdf patterns): Don't preference integer regs.
13919         (movsi, movdi patterns): Don't preference fp regs.
13920
13921 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13922
13923         * genrecog.c (write_switch): Check for duplicate CODE cases.
13924
13925 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13926
13927         * ggc-common.c: Update pre-function commentary.
13928         * ggc-page.c: Likewise.
13929         (poison): Remove.
13930         (poison_pages): Use memset directly.
13931         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13932         (ggc_collect): Poison before sweeping.
13933         * ggc-simple.c: Update pre-function commentary.
13934         (ggc_alloc_obj): Poison non-zeroed memory.
13935
13936 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13937
13938         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13939         match format string, even on 64-bit hosts.
13940         * gcc-page.c (ggc_page_print_statistics): Likewise.
13941
13942 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13943
13944         * config/i386/i386.c (ix86_cpu): Revert last patch.
13945         * config/i386/i386.h (ix86_cpu): Ditto.
13946
13947 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13948
13949         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13950         TYPE_SIZE, convert type of result to sizetype.
13951
13952 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13953
13954         * flow.c (count_or_remove_death_notes): Equate NULL with the
13955         universal set.
13956
13957         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13958         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13959         dbr_schedule.
13960
13961         * i386.c (pic_label_no): Delete.
13962         (ix86_attr_length_default): Don't use single_set to peek
13963         inside a parallel.
13964
13965         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13966         the first insn after bb->end.
13967         * i386.md (push mem peeps): Scratch is live after evaluation
13968         of the memory.
13969         (cmp mem peep): Similarly.
13970
13971 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13972
13973         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13974         * function.c (pad_to_arg_alignment): Add missing braces.
13975
13976 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13977
13978         * alpha/alpha-protos.h (literal_section): Add prototype.
13979         (alpha_need_linkage, alpha_start_function,alpha_end_function):
13980         Constify a char*.
13981
13982         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13983         prototype.
13984         (alpha_start_function, alpha_end_function, float_strings,
13985         alpha_need_linkage): Constify a char*
13986
13987         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13988
13989         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13990
13991         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13992
13993         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13994
13995 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13996
13997         * flow.c (debug_flow_info): Add prototype.
13998
13999         * gcc.c (main): Likewise.
14000
14001         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14002         Likewise.
14003
14004         * reload1.c (failed_reload, set_reload_reg): Likewise.
14005
14006         * mips-tfile.c (main): Likewise.
14007         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14008         with ATTRIBUTE_NORETURN.
14009
14010 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
14011
14012         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14013         DECL is not a memory ref.
14014
14015 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
14016
14017         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14018         * config/i386/i386.c (ix86_cpu): Add extern attribute.
14019
14020 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
14021
14022         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14023         * config/mips/elf64.h: ditto.
14024
14025 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
14026
14027         * expr.c (emit_push_insn): New argument alignment_pad.
14028         Update all callers.  Adjust stack pointer based on alignment pad.
14029         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
14030         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
14031         (locate_and_pad_parm): New argument alignment_pad.  Update all
14032         callers.
14033         * expr.h (emit_push_insn): Update prototype.
14034         (locate_and_pad_parm): Update prototype.
14035         * calls.c (arg_data):  Add new field alignment_pad.
14036         (initialize_argument_information): Initialize alignment_pad.
14037
14038 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
14039
14040         * except.c (free_eh_nesting_info): Free the info itself.
14041         * function.c (free_after_compilation): Don't free NULL.
14042         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14043         (pre_edge_insert): Free inserted.
14044         * stmt.c (free_stmt_status): Don't free NULL.
14045
14046 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14047
14048         * gcov.c (DIR_SEPARATOR): Provide default.
14049         (output_data): Add test for MS-DOS format absolute filename.
14050         (fancy_abort): Correct program name.
14051         (open_files): Open all files in binary mode.
14052         * libgcc2.c (__bb_exit_func): Likewise.
14053
14054         * profile.c (init_branch_prob): Specify binary when opening files.
14055
14056         * flags.h (flag_unwind_tables): New decl.
14057         * toplev.c (flag_unwind_table): New definition.
14058         (f_options): Add -funwind-tables.
14059         (decode_g_option): Clarify warning when unknown -g option is given.
14060         (rest_of_compilation): If inside an inlined external function,
14061         pretend we are just being declared.
14062
14063         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14064         (dwarf2out_frame_finish): Likewise.
14065
14066 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
14067
14068         * fold-const.c (merge_ranges): If not in0, but in1, handle
14069         upper bounds equal like subset case.
14070
14071 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
14072
14073         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14074         passed in a register but moved to the stack.
14075
14076 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
14077
14078         * gcc.c (pass_exit_codes, greatest_status): New variables.
14079         (struct option_map): Add entry for "--pass-exit-codes".
14080         (execute): Update greatest_status if error.
14081         (display_help): Add documentation for -pass-exit-codes.
14082         (process_command): Handle -pass-exit-codes.
14083         (main): Look at pass_exit_codes and greatest_status on call to exit.
14084
14085 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14086
14087         * reload.c (find_reloads): Refine test for no input reload
14088         case to not includes reloads emitted after insn.
14089
14090         * function.c (find_temp_slots_from_address): Handle sum involving
14091         a register that points to a temp slot.
14092         (update_temp_slot_address): Make recursive call if both old and
14093         new are PLUS with a common operand.
14094         * calls.c (expand_call): Mark temp slot for result as having
14095         address taken.
14096
14097         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14098
14099         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14100         component as well as "BINUTILS".
14101
14102         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14103         * integrate.c (copy_rtx_and_substitute): Likewise.
14104         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14105         All callers changed.
14106         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14107
14108         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14109         gdb extensions, write size of type; also be more consistent
14110         in using references when this is a subtype.
14111
14112         * pa.md (extv, extzv, insv): Use define_expand to reject constant
14113         that is out of range.
14114
14115         * loop.c (unknown_constant_address_altered): New variable.
14116         (prescan_loop): Initialize it.
14117         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
14118         (invariant_p, case MEM): Remove handling for volatile and readonly;
14119         check new variable if readonly.
14120         (check_dbra_loop): Chdeck unknown_constant_address_altered.
14121
14122         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
14123         (addr_affects_sp_p): Removed from note_mem_written and only
14124         define #ifdef AUTO_INC_DEC.
14125
14126         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
14127
14128         * regclass.c (record_reg_classes): Properly handle register move
14129         directions.
14130
14131         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
14132         Don't think valid if both operands are invalid.
14133         (struct constant_descriptor): New field RTL.
14134         (mark_const_hash_entry): Mark it.
14135         (record_constant{,_rtx}): Initialize it.
14136         (output_constant_def): Allocate RTL in permanent obstack and
14137         save in table.
14138         ({record,compare}_constant_1): Modes must match for
14139         CONSTRUCTOR of ARRAY_TYPE.
14140
14141         * c-common.h (initializer_constant_valid_p): Delete decl from here.
14142         * output.h (initializer_constant_valid_p): Move decl to here.
14143         * c-common.c (initializer_constant_valid_p): Delete function from here.
14144         * varasm.c (initializer_constant_valid_p): Move function to here.
14145
14146         * tree.h (STRIP_SIGN_NOPS): New macro.
14147         * fold-const.c (optimize_minmax_comparison): New function.
14148         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14149         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14150         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14151         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14152         widening conversions.
14153         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14154         to look at size of mode, not precision of type; also add missing cases.
14155         (optimize_bit_field_compare, decode_field_reference): Don't try to
14156         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14157
14158         * dwarf2out.c (ctype.h): Include.
14159         (dwarf2out_set_demangle_name_func): New function.
14160         (size_of_line_info): Deleted.
14161         (output_line_info): Compute size of line info table from difference
14162         of labels.
14163         (base_type_die, add_name_attribute): Call demangle function, if any.
14164         (field_byte_offset): Use bits per word for variable length fields.
14165         (gen_array_type_die): Add array name.
14166         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14167         (dwarf2out_add_library_unit_info): New function.
14168
14169         * explow.c (set_stack_check_libfunc): New function.
14170         (stack_check_libfunc): New static variable.
14171         (probe_stack_range): Allow front-end to set up a libfunc to call.
14172
14173         * combine.c (simplify_comparison): When making comparison in wider
14174         mode, check for having commuted an AND and a SUBREG.
14175         (contains_muldiv): New function.
14176         (try_combine): Call it when dividing a PARALLEL.
14177         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14178         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14179         a PLUS.
14180         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14181         use one of the CLOBBERs instead.
14182         (if_then_else_cond): If comparing against zero, just return thing
14183         being compared.
14184
14185         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14186         Don't generate shifts and subtract if have conditional arithmetic.
14187
14188         * rtl.h (delete_barrier): New declaration.
14189         * jump.c (jump_optimize): Set up to handle conditional call.
14190         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14191         (delete_barrier): New function.
14192
14193         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14194
14195         * recog.c (nonmemory_operand): Accept ADDRESSOF.
14196
14197         * tree.c (build_type_attribute_variant): Push to obstack of
14198         ttype around type_hash_canon call.
14199
14200         * expr.c (placeholder_list): Move decl to file scope.
14201         (expand_expr): Don't force access to volatile just because its
14202         address is taken.
14203         If ignoring reference operations, just expand the operands.
14204         (expand_expr, case COMPONENT_REF): Propagate
14205         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14206         Refine test for using bitfield operations vs pointer punning.
14207         (expand_expr, case CONVERT_EXPR): If converting to
14208         BLKmode UNION_TYPE from BLKmode, just return inner object.
14209         Use proper mode in store_field call.
14210         Properly set sizes of object to store and total size in store_field
14211         call for convert to union.
14212         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14213         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14214         we'll want it in memory.
14215         (readonly_fields_p): New function.
14216         (expand_expr, case INDIRECT_REF): Call it if LHS.
14217         (expand_assignment): Handle a RESULT_DECL where
14218         DECL_RTL is a PARALLEL.
14219         (do_jump, case WITH_RECORD_EXPR): New case.
14220         (get_inner_reference): Always go inside a CONVERT_EXPR
14221         and NOP_EXPR if both modes are the same.
14222         (store_field): Use bitfield operations if size of bitsize is not same
14223         as size of RHS's type.
14224         Check for bitpos not a multiple of alignment in BLKmode case.
14225         Do block move in largest possible alignment.
14226         (store_constructor): Set BITSIZE to -1 for variable size and properly
14227         in case of array of BLKmode.
14228         (expand_expr_unaligned): New function.
14229         (do_compare_and_jump): Call it.
14230
14231         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14232         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14233         does not include 'o'.
14234
14235         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14236         both SET_DEST and SET_SRC reference a virtual register.
14237         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14238
14239         * integrate.c (expand_inline_function): Handle case of setting
14240         virtual stack vars register (from built in setjmp); when parameter
14241         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14242         (subst_constant): Add new parm, MEMONLY.
14243         (expand_inline_function, integrate_parm_decls): Pass new parm.
14244         (integrate_decl_tree): Likewise.
14245         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14246         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14247         (copy_rtx_and_substitute, case SET): Add explicit calls to
14248         copy_rtx_and_substitute for both sides.
14249
14250         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14251         constraints.
14252         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14253         within INDEX_TYPE, instead of before.
14254         (fixup_gotos): Use f->target_rtl, not the next insn,
14255         since latter may be from a later fixup.
14256         (expand_value_return): Correctly convert VAL when promoting function
14257         return; support RETURN_REG being a PARALLEL.
14258         (expand_return): When checking for result in regs and having
14259         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14260
14261 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14262
14263         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14264         last_nominal_fname): Mark const.
14265         (struct include_hash: name, nshort, control_macro): Mark
14266         const.
14267         (struct macrodef: symnam): Mark const.
14268         (struct if_stack: fname): Mark const.
14269         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14270         (IStable): New character-syntax array which encompasses all
14271         the old is_foo arrays.
14272         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14273         is_space): New macros for interrogating IStable.
14274         (check_macro_name): Kill last argument.  All callers changed.
14275
14276         * cppinit.c (initialize_char_syntax): Delete.
14277         (is_idchar, is_idstart, is_hor_space, is_space,
14278         trigraph_table): Delete.
14279         (IStable): New.  Initialize with clever macros to avoid
14280         information duplication.
14281         (builtin_array): Table of builtins to get rid of explicit list
14282         in initialize_builtins.
14283         (initialize_builtins): Use builtins_array.
14284         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14285         opts->dollars_in_ident.
14286
14287         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14288         is_xyz() macros.
14289         (cpp_parse_expr): Avoid 'format string is not constant'
14290         warning. Use ISGRAPH to identify printable chars.
14291         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14292         is_xyz() macros.
14293         (read_and_prescan): Map trigraphs to chars with open-coded
14294         if-else-if-... sequence, not a lookup table.
14295         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14296         is_xyz() macros.
14297         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14298         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14299         (check_macro_name): Remove ability to report an invalid
14300         assertion name, which is never used.
14301         (do_line): Constify a couple of char *'s.
14302         * cppmain.c (main): Call cpp_cleanup before returning.
14303
14304 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14305
14306         * ggc.h (struct ggc_statistics): New type.
14307         (ggc_get_size): New function.
14308         (ggc_print_statistics): Likewise.
14309         * ggc-common.c (ggc_stats): New variable.
14310         (ggc_mark_rtx_children): Keep statistics.
14311         (ggc_mark_tree_children): Likewise.
14312         (ggc_print_statistics): New function.
14313         * ggc-page.c (struct globals): Add bytes_mapped field.
14314         (alloc_anon): Update it.
14315         (release_pages): Likewise.
14316         (ggc_get_size): New function.
14317         (ggc_page_print_statistics): New function.
14318         * ggc-simple.c (ggc_get_size): New function.
14319
14320 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14321
14322         * flow.c (propagate_block): When the last reference to a label
14323         before an ADDR_VEC is deleted because the reference is a dead
14324         store, delete the ADDR_VEC.
14325
14326 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14327
14328         * resource.c (find_free_register): Don't use the frame pointer
14329         if frame_pointer_needed.
14330
14331 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14332
14333         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14334         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14335
14336         * config/i960/i960.c (i960_va_start): New locals base, num.
14337         Use INDIRECT_REF instead of ARRAY_REF on valist.
14338         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14339
14340 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14341
14342         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14343
14344 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14345
14346         * tree.def (PLACEHOLDER_EXPR): Update comments.
14347
14348 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14349
14350         * c-common.c (check_format_info): Avoid non-literal format string
14351         warnings when `first_arg_num' is zero.
14352
14353 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14354
14355         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14356
14357 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14358
14359         * arm.md (casesi_insn): Add a clobber of the condition code
14360         register.
14361
14362 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14363
14364         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14365         used by both cc1 and cc1plus.
14366
14367 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14368
14369         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14370         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14371         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14372         to the value 32 if it has not already been defined.
14373         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14374         Override definition in arm.h with a value of 8.
14375
14376 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14377
14378         * c-pragma.c (push_alignment): Don't check the return value
14379         of xmalloc.
14380
14381 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14382
14383         * sparc.h (ADJUST_COST): Fix thinko.
14384
14385 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14386
14387         * cccp.c (rescan): Fixed obp pointer handling around call to
14388         check_expand subroutine.
14389
14390 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14391
14392         * gcse.c (delete_null_pointer_checks): Only record non-null info
14393         for pseudos when examining stores.
14394
14395         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14396         splitters for these patterns.  Use "#" for output templates.
14397         (addsi3_carryin_shift): New pattern.
14398
14399 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14400
14401         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14402         of the function return register into a plain REG until
14403         after function inlining is done.
14404
14405 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14406
14407         * jump.c (jump_optimize_1): If we did cross-jumping, and
14408         the data will matter, rebuild the CFG.
14409         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14410         not optimizing.  Don't run shorten_branches.
14411         * toplev.c (rest_of_compilation): Run shorten_branches after
14412         reg_to_stack.
14413
14414 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14415
14416         * rtl.h (note_stores): Add additional paramter.
14417         * rtlanal.c (reg_set_p_1): Take additional paramter.
14418         (reg_set_last_1): Likewise.
14419         (reg_set_p): Adjust call to note_stores.
14420         (reg_set_last): Likewise.
14421         (note_stores): Pass data parameter to worker function.
14422         * alias.c (record_set): Take additional parameter.
14423         (init_alias_analysis): Pass it.
14424         * caller-save.c (mark_set_regs): Take additional parameter.
14425         (save_call_clobbered_regs): Pass NULL to note_stores.
14426         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14427         parameter.
14428         (record_dead_and_set_regs_1): Likewise.
14429         (reg_dead_at_p_1): Likewise.
14430         (combine_instructions): Adjust calls to note_stores.
14431         (try_combine): Likewise.
14432         (record_dead_insn): Remove.
14433         (record_dead_and_set_regs): Adjust calls to note_stores.
14434         (reg_dead_at_p): Likewise.
14435         * cse.c (invalidate_skipped_set): Take additional parameter.
14436         (cse_check_loop_start): Likewise.
14437         (cse_check_loop_start_value): Remove.
14438         (cse_set_around_loop): Adjust calls to note_stores.
14439         * flow.c (notice_stack_pointer_modification): Take additional
14440         parameter.  Remove duplicate declaration.
14441         (record_volatile_insns): Adjust calls to note_stores.
14442         * gcse.c (record_set_info): Take additional parameter.
14443         (record_last_set_info): Likewise.
14444         (invalidate_nonnull_info): Likewise.
14445         (record_set_insn): Remove.
14446         (compute_sets): Adjust calls to note_stores.
14447         (last_set_insn): Remove.
14448         (compute_hash_table): Adjust calls to note_stores.
14449         (insert_insn_end_bb): Likewise.
14450         (delete_null_pointer_checks): Likewise.
14451         * global.c (mark_reg_store): Take additional parameter.
14452         (mark_reg_clobber): Likewise.
14453         (reg_becomes_live): Likewise.
14454         (global_conflicts): Adjust calls to note_stores.
14455         (build_insn_chain): Likewise.
14456         * integrate.c (note_modified_parmregs): Take additional parameter.
14457         (mark_stores): Likewise.  Make it static.
14458         (save_for_inline_nocopy): Adjust calls to note_stores.
14459         (try_constants): Likewise.
14460         * integrate.h (mark_stores): Remove declaration.
14461         * jump.c (mark_modified_reg): Take additional parameter.
14462         (thread_jumps): Adjust calls to note_stores.
14463         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14464         parameter.
14465         (no_equiv): Likewise.
14466         (reg_is_set): Likewise.
14467         (validate_equiv_mem): Adjust calls to note_stores.
14468         (update_equiv_regs): Likewise.
14469         (block_alloc): Likewise.
14470         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14471         (note_addr_stored): Take additional parameter.
14472         (note_set_pseudo_multiple_uses): Likewise.
14473         (record_initial): Likewise.
14474         (prescan_loop): Adjust calls to note_stores.
14475         (strength_reduce): Likewise.
14476         (check_dbra_loop): Likewise.
14477         * regmove.c (flags_set_1): Take additional paramter.
14478         (mark_flags_life_zones): Adjust calls to note_stores.
14479         * reload1.c (mark_not_eliminable): Take additional parameter.
14480         (forget_old_reloads_1): Likewise.
14481         (reload_cse_invalidate_rtx): Likewise.
14482         (reload_cse_check_clobber): Likewise.
14483         (reload_combine_note_store): Likewise.
14484         (move2add_note_store): Likewise.
14485         (reload): Adjust calls to note_stores.
14486         (reload_as_needed): Likewise.
14487         (emit_reload_insns): Likewise.
14488         (reload_cse_regs_1): Likewise.
14489         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14490         (reload_combine): Adjust calls to note_stores.
14491         * resource.c (update_live_status): Take additional paramter.
14492         (mark_target_live_regs): Adjust calls to note_stores.
14493         * stupid.c (find_clobbered_regs): Take additional parameter.
14494         (stupid_life_analysis): Adjust calls to note_stores.
14495
14496 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14497
14498         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14499         definition.
14500
14501         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14502         definition.
14503
14504         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14505         of the variable arm_structure_size_boundary.
14506
14507 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14508
14509         * alias.c (init_alias_analysis): Allocate reg_known_value and
14510         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14511         and reg_seen.
14512         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14513         * cse.c (cse_main): Call end_alias_analysis.
14514         * haifa-sched.c (schedule_insns): Likewise.
14515         * local-alloc. (update_equiv_regs): Likewise.
14516         * reload1.c (reload_cse_regs): Likewise.
14517
14518 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14519
14520         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14521         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14522         mapping from MASK_FPU.
14523
14524 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14525
14526         * sparc.md (call): Don't bound structure return size to 0xfff.
14527
14528 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14529
14530         * resource.c (mark_target_live_regs): Check that the target
14531         insn wasn't created after compute_bb_for_insn.
14532
14533 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14534
14535         * ggc-page.c (poison_pages): Don't be overzealous.
14536
14537 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14538
14539         * alias.c: Update comments for ADDRESS.
14540         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14541         it is a local memory reference.
14542
14543         * c-typeck.c (build_function_call): Check that the built-in
14544         function is of class BUILT_IN_NORMAL before trying to recongize
14545         it as BUILT_IN_ABS.
14546         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14547         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14548
14549 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14550
14551         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14552         of alloca.
14553         (pre_gcse): Likewise.
14554         (hoist_expr_reaches_here_p): Likewise.
14555         (hoist_code): Likewise.
14556         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14557         code to ...
14558         (pre_expr_reaches_here_p_work): ... here.
14559         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14560         code to ...
14561         (expr_reaches_here_p_work): ... here.
14562
14563 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14564
14565         * resource.c (find_basic_block): Delete.
14566         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14567         (init_resource_info): Call compute_bb_for_insn.
14568
14569 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14570
14571         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14572         with already adjacent blocks, but no fallthru.
14573         (merge_blocks_move_successor_nojumps): Simplify.
14574         (debug_flow_info): New.
14575
14576         * toplev.c (rest_of_compilation): Open jump1 dump file before
14577         jump and close after, as opposed to just using dump_rtl.
14578
14579 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14580
14581         * reload.h (earlyclobber_operand_p): Declare.
14582         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14583         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14584         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14585         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14586
14587 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14588                           Richard Henderson  <rth@cygnus.com>
14589
14590         * emit-rtl.c (emit_block_insn_before): New.
14591         (emit_block_insn_after): New.
14592         * basic-block.h: Declare them.
14593
14594         * bitmap.h: Protect from multiple inclusion.
14595
14596         * recog.c (scratch_operand): Handle VOIDmode correctly.
14597
14598         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14599
14600         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14601         * function.c (assign_parms): Likewise.
14602         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14603
14604         * reg-stack.c (max_uid): Remove.
14605         (blocks, block_begin, block_end, block_drops_in): Remove.
14606         (block_stack_in, block_out_reg_set, block_number): Remove.
14607         (struct block_info_def, BLOCK_INFO): New.
14608         (enum emit_where): New.
14609         (current_block): New.
14610         (BLOCK_NUM): Remove.
14611         (mark_regs_pat, record_label_references): Remove.
14612         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14613         (nan): New.
14614         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14615         (reg_to_stack): Simplified test for existance of fp code.  Use
14616         flow.c code.  Call shorten_branches after cross-jump opt.
14617         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14618         Return false if the asm doesn't use stack regs.  Don't do life
14619         analysis on the asm.
14620         (emit_pop_insn): Replace function pointer arg `when' with
14621         enum `where'.  Update all callers.
14622         (change_stack): Likewise.  Update basic block end.
14623         (emit_swap_insn): Use current_block->head to limit reverse search
14624         for start of block.  Use emit_block_insn_after.
14625         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14626         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14627         structure assignment instead of bcopy.
14628         (print_stack): New.
14629         (convert_regs_entry, convert_regs_exit): New.
14630         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14631         Work on basic blocks and the CFG.
14632         (convert_regs): Use them.
14633
14634         * i386.c (output_fix_trunc): Remove code for DImode input operand
14635         not at top-of-stack.
14636         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14637         appropriate mode.
14638         (fix_truncdi_1): Allow any mode scratch.
14639
14640 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14641
14642         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14643         * linux.h, netbsd.h, vms.h: Not here.
14644
14645 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14646
14647         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14648         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14649         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14650         CONDITIONAL_REGISTER_USEAGE): Use them.
14651         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14652         gen_conditional_branch,override_options) : Use them.
14653         * config/mips/mips.md : Use them.
14654
14655 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14656
14657         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14658
14659 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14660
14661         * integrate.c (function_cannot_inline_p): Don't allow inlining
14662         if setjmp is used.
14663
14664 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14665
14666         * c-parse.in (cast_expr): Constify.
14667
14668         * cccp.c (special_symbol): Likewise.
14669
14670         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14671
14672         * dwarf2out.c (base_type_die): Likewise.
14673
14674         * global.c (allocno_compare): Likewise.
14675
14676         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14677
14678         * regclass.c (fix_register): Likewise.
14679
14680         * rtl.h (fix_register): Likewise.
14681
14682         * stupid.c (stupid_reg_compare): Likewise.
14683
14684         * toplev.c (decode_f_option): Likewise.
14685
14686         * tree.c (build_complex_type): Likewise.
14687
14688 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14689
14690         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14691
14692 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14693
14694         * reload.c (find_reloads): Compute mode and nregs fields of all
14695         reloads.
14696         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14697         (calculate_needs): Use precomputed mode/nregs values.
14698         (allocate_reload_reg): Likewise.
14699         Break out two...
14700         (failed_reload, set_reload_reg): ... new functions.
14701         (choose_reload_regs_init): New function, mostly broken out from...
14702         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14703         Also lose one #if 0 block.
14704
14705 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14706
14707         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14708         substitution.
14709
14710 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14711
14712         * tree.h (BLOCK_TYPE_TAGS): Remove.
14713         (BLOCK_END_NOTE): Likewise.
14714         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14715         (BLOCK_LIVE_RANGE_START): Likewise.
14716         (BLOCK_LIVE_RANGE_END): Likewise.
14717         (tree_block): Remove live_range_flag, live_range_var_flag, and
14718         type_tags.  Remove end_note, live_range_start, and live_range_end.
14719         (remember_end_note): Remove prototype.
14720         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14721         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14722         remember_end_note.
14723         * ggc-common.c (ggc_mark_tree_children): Don't mark
14724         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14725         * integrate.c (adjust_copied_decl_tree): Remove.
14726         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14727         * stmt.c (last_block_end_note): Remove.
14728         (init_stmt): Don't add a GC root for it.
14729         (expand_fixup): Don't set it.
14730         (remember_end_note): Remove.
14731         (expand_end_bindings): Don't set last_block_end_note.
14732
14733 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14734
14735         * reload1.c (reload_reg_free_for_value_p): Show
14736         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14737         reloads.
14738
14739 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14740
14741         * expmed.c (extract_bit_field): Allow for the case of non-integer
14742         objects that are smaller than a word (like SFmode on a 64-bit
14743         machine).
14744
14745         * loop.c (basic_induction_var): A non-integer variable which is
14746         being set by a paradoxical subreg is probably not a biv.
14747
14748 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14749
14750         * prefix.c (translate_name) Check for empty prefix string.
14751
14752 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14753
14754         * Makefile.in (CPP_CROSS_NAME): New variable.
14755         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14756         xcpp.
14757         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14758         names of the files to be uninstalled.
14759
14760 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14761
14762         * collect2.c (IS_DIR_SEPARATOR): Define.
14763         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14764
14765         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14766         functions too.
14767
14768         * haifa-sched.c (add_dependence): Update the true dependency
14769         cache the first time we add a true dependence to the LOG_LINKS chain.
14770
14771 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14772
14773         * fold-const.c (fold): Fix comment.
14774
14775 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14776
14777         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14778         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14779         dbxout_start_new_source_file, dbxout_source_file,
14780         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14781         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14782         Constify a char*.
14783         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14784         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14785         (dbxout_block): Initialize variable `blocknum'.
14786
14787         * dbxout.h (dbxout_init, dbxout_finish,
14788         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14789         dbxout_args, dbxout_source_line): Constify a char*.
14790
14791         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14792         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14793         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14794         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14795         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14796         src_info_attribute, mac_info_attribute, producer_attribute,
14797         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14798         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14799         dwarfout_undef): Constify a char*.
14800         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14801
14802         * dwarfout.h (dwarfout_define, dwarfout_undef,
14803         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14804
14805 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14806
14807         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14808         (MULTILIB_ISA_DEFAULT): New.
14809         (MULTILIB_DEFAULTS): Use it.
14810         * config/mips/mips.c (): Remove the now unnecessary definition
14811         of MIPS_ISA_DEFAULT.
14812         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14813         unnecessary definition.
14814
14815 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14816
14817         * arm.md (pic_load_addr): Add constraints to operand 1.
14818
14819 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14820
14821         * fixinc/genfixes:  Provide a means for specifying -D options to
14822         AutoGen
14823
14824 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14825
14826         * arm.c (arm_override_options): Correct initialization of
14827         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14828         arm_is_strong, and arm_is_6_or_7.
14829
14830         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14831         (note_set_pseudo_multiple_uses): New function.
14832         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14833         if a pseudo set in the loop exit is used elsewhere.
14834
14835 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14836
14837         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14838
14839 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14840
14841         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14842         a single load-address pattern.
14843
14844 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14845
14846         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14847         depending on whether or not line-number notes are present.
14848
14849 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14850
14851         * cccp.c (progname, file_buf, default_include, include_file,
14852         macrodef, definition, hashval, wchar_type, user_label_prefix,
14853         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14854         expand_to_temp_buffer, is_system_include, base_name,
14855         absolute_filename, read_name_map, open_include_file,
14856         record_control_macro, check_precompiled, check_preconditions,
14857         pcfinclude, pass_thru_directive, create_definition,
14858         check_macro_name, comp_def_part, collect_expansion,
14859         check_assertion, read_token_list, assertion_install,
14860         assertion_lookup, eval_if_expression, conditional_skip,
14861         validate_else, skip_quoted_string, quote_string, macarg1,
14862         error_from_errno, install, lookup, hashf, dump_defn_1,
14863         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14864         check_white_space, rescan, handle_directive, monthnames,
14865         special_symbol, do_include, remap_include_file, write_output,
14866         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14867         do_ident, do_sccs, do_xifdef, skip_if_group,
14868         output_line_directive, macroexpand, macarg, change_newlines,
14869         initialize_builtins, make_definition): Constify a char*.
14870
14871         * pcp.h (stringdef): Likewise.
14872
14873 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14874
14875         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14876         not of pattern.
14877
14878 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14879                           Richard Henderson  <rth@cygnus.com>
14880
14881         * alias.c: Include ggc.h.
14882         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14883         (record_set): Verify enough room in reg_base_value.
14884         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14885         Register it as a GC root.
14886         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14887         * Makefile.in (alias.o): Depend on ggc.h.
14888
14889         * unroll.c (unroll_loop): Verify the insn before a barrier
14890         is a JUMP_INSN before checking JUMP_LABEL.
14891
14892 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14893
14894         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14895         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14896         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14897         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14898         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14899         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14900
14901 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14902
14903         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14904
14905         * alpha/alpha-interix.h (text_section): Delete prototype.
14906         * alpha/elf.h (text_section): Likewise.
14907         * arm/linux-elf.h (text_section): Likewise.
14908         * arm/linux-telf.h (text_section): Likewise.
14909         * c4x/c4x.h (text_section): Likewise.
14910         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14911         * elfos.h (text_section): Likewise.
14912         * i386/aix386ng.h (text_section): Likewise.
14913         * i386/i386-interix.h (text_section): Likewise.
14914         * i386/sco5.h (text_section): Likewise.
14915         * i386/svr3gas.h (text_section): Likewise.
14916         * nextstep.h (text_section): Likewise.
14917         * psos.h (text_section): Likewise.
14918         * ptx4.h (text_section): Likewise.
14919         * svr3.h (text_section): Likewise.
14920         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14921
14922 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14923
14924         * final.c (peephole): Delete prototype.
14925
14926         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14927         (pre_insert_copies): Remove unused variable `bb'.
14928
14929         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14930         prototypes.
14931
14932         * output.h (peephole): Add prototype.
14933
14934 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14935
14936         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14937         -O0.
14938
14939 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14940
14941         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14942         for inlined declarations.
14943
14944 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14945
14946         * arm.c (logical_binary_operator): New fucntion.
14947         * arm.h (logical_binary_operator): Declare it.
14948         (PREDICATE_CODES): Handle logical_binary_operator.
14949         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14950         output constraints.  Add appropriate splitters.
14951         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14952         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14953         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14954
14955 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14956
14957         * genoutput.c (struct operand_data): New elt eliminable.
14958         (output_operand_data): Write it.
14959         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14960         (compare_operands): Take it into account.
14961         * recog.h (struct insn_operand_data): New elt eliminable.
14962         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14963         functions.
14964         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14965         (eliminate_regs): Move code that detects changes to elimination
14966         target regs into new function elimination_effects.
14967         Delete one #if 0 block.
14968         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14969         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14970         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14971         Only call eliminate_regs for real operands of the insn, not for parts
14972         of its structure or parts matched by things like match_operator.
14973         Use elimination_effects and check_eliminable_occurrences.  Use
14974         copy_insn to duplicate the pattern when not in the final pass.
14975
14976 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
14977
14978         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14979         and fld.
14980
14981 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
14982
14983         * fixinc/README: document the "mach" machine matching test
14984         * fixinc/fixfixes.c: Implement the #else/#endif label fix
14985         * fixinc/fixtests.c: Implement the #else/#endif label test
14986         * fixinc/inclhack.def: utilize these tests and fixes
14987         * fixinc/inclhack.sh:  regen
14988         * fixinc/fixincl.x:  regen
14989         * fixinc/fixincl.sh:  regen
14990
14991 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
14992
14993         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
14994         depend on ggc.h.
14995
14996 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
14997
14998         * gcc.1: Document exit codes.
14999
15000 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15001
15002         * calls.c: Include tm_p.h later, so everything we need is defined.
15003         * expr.c: Likewise.
15004         * function.c: Likewise.
15005
15006         * except.c: Include tm_p.h.
15007
15008         * sparc.c: Likewise.
15009         (dwarf2out_cfi_label): Don't prototype.
15010         (check_return_regs, epilogue_renumber,
15011         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15012         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15013         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15014         ultra_schedule_insn): Add static prototype.
15015         (data_segment_operand, text_segment_operand): Call itself with the
15016         proper number of arguments.
15017         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15018
15019         * sparc.h: Move all declarations to sparc-protos.h.
15020         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
15021         symbolic_operand.
15022
15023         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15024
15025         * config/svr4.h (text_section, ctors_section, dtors_section): Add
15026         Prototypes.
15027         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15028         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15029         ASM_OUTPUT_ASCII): Constify a char*.
15030
15031         * sparc-protos.h: New file for sparc prototypes.
15032
15033 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15034
15035         * function.c (record_insns, contains): Always declare and define.
15036         (record_insns): Mark with ATTRIBUTE_UNUSED.
15037
15038 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15039
15040         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15041         to .section when outputting a .bss section to deal with multiple
15042         .bss input sections (as happens with -fdata-sections)
15043         Also output %progbits, not @progbits so the assembler doesn't treat as
15044         a comment.
15045         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15046
15047         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15048         thumb parts even when building with non-thumb CPUs, by forcing
15049         thumb mode.
15050
15051 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
15052
15053         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15054         (movdf_const_intreg_sp64): Similarly.
15055
15056         * local-alloc.c (update_equiv_regs): Check the correct insn
15057         for pre-existing REG_EQUIV notes.
15058
15059 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
15060
15061         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15062         block reached by a branch if we're not going to actually process
15063         this block.
15064
15065 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
15066
15067         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15068         a local extern function declaration.
15069
15070 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
15071
15072         * i386.c (ix86_expand_prologue): Properly wrap USE around
15073         reg for CALL_INSN_FUNCTION_USAGE.
15074
15075 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
15076
15077         * config/mips/mips.md (movdf_internal1a): Allow floating-point
15078         move between GP_REGs.
15079
15080 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
15081
15082         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15083         the mode size when finding out if an offset is legal.
15084
15085 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
15086
15087         * basic-block.h (PROP_*): Move constants from ...
15088         * flow.c: ... here.
15089         (compute_bb_for_insn): Free the array before reallocating.
15090         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15091         (allocate_reg_life_data): Reset all reg variables collected by
15092         propagate_block.
15093         (get_block_head_tail): Don't convert from bb to block.
15094         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
15095         (find_insn_reg_weight): Take block not bb.
15096         (schedule_block): Don't set block num for moved insns.
15097         (schedule_region): Don't update_life_info or find_insn_reg_weight.
15098         (schedule_insns): Do it here instead.
15099         * combine.c (combine_instructions): Invoke compute_bb_for_insn
15100         before update_life_info.
15101         * recog.c (split_all_insns, peephole2_optimize): Update for
15102         new arg to update_life_info.
15103         * rtlanal.c (remove_note): Cope with NULL note.
15104         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15105         if we did sched1.
15106
15107 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
15108
15109         * jump.c (jump_optimize_1): More accurately detect casesi insns.
15110
15111         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15112         block records so that merge_blocks_nomove will clean up correctly.
15113         (split_edge): Handle casesi insns.
15114
15115         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15116
15117 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
15118
15119         * pa.md (call, call_value): Do not emit a blockage after restoring
15120         the PIC register.
15121
15122 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
15123
15124         * c-typeck.c (c_expand_asm_operands): Fix typo.
15125
15126 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15127
15128         * arm.c (fpu_rhs_operand): Verify modes.
15129         (fpu_add_operand): Likewise.
15130         (di_operand): Likewise.
15131         (soft_df_operand): Likewise.
15132
15133 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
15134
15135         * arm.c (arm_return_in_memory): APCS rules state that the elements
15136         of a structure returned in a register must be 'integer-like'.
15137
15138 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
15139
15140         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
15141         in the source tree when the generated targets are out of date
15142         * fixinc/genfixes: Alter it to run individual fixes for make.
15143         * fixinc/README: rewrite
15144         * fixinc/inclhack.def: moved initial comments to README
15145
15146 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
15147
15148         * toplev.c (main): Do not generate an error message if an
15149         unrecognised command line switch is recognisable by another
15150         language.  If extra_warnings are enabled, then generate a
15151         warning message instead.
15152
15153 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15154
15155         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15156         (insert_pack_attributes): Delete prototype.
15157
15158         * c-pragma.c (default_alignment): New static variable.
15159         (push_alignment): Initialize to current effective alignment.
15160         (pop_alignment): Use to set new alignment.
15161         (insert_pack_attributes): Delete function.
15162         (handle_pragma_token): Set default_alignment as well each time
15163         a #pragma pack(<n>) is encountered.
15164
15165 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
15166
15167         * reg-stack.c (stack_result): Aggregates are not returned in
15168         stack registers.
15169
15170 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
15171
15172         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15173
15174 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
15175
15176         * basic-block.h (set_block_num): Declare.
15177         * flow.c (update_life_info): Don't call compute_bb_for_insn
15178         or free_basic_block_vars.
15179         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15180         (insn_orig_block): Remove.
15181         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
15182         (schedule_block): Keep BLOCK_NUM up-to-date.
15183         (schedule_insns): Use compute_bb_for_insn.
15184         * recog.c (split_all_insns): Likewise.
15185         (peephole2_optimize): Likewise.
15186
15187 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
15188
15189         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15190         if the pic register is used.
15191
15192 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15193
15194         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15195         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15196         if that tests TREE_PERMANENT.
15197
15198 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15199
15200         * cse.c (invalidate_for_call): Do not remove memory references from
15201         the table here.  It's handled elsewhere.
15202
15203         * haifa-sched.c (add_dependence): Protect references to the
15204         true dependency cache with #ifdef INSN_SCHEDULING.
15205         (remove_dependence): Similarly.
15206
15207         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15208         to the cfg code that this is a return instruction.
15209         * mn10300.md (return_internal): Similarly.
15210
15211         * combine.c (get_last_value): If the last set of a register
15212         is after subst_low_cuid, then we can not use it to determine
15213         the register's last value.
15214
15215 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15216
15217         * Makefile.in: Back out previous change.
15218
15219 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15220
15221         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15222
15223         * haifa-sched.c (add_dependence): Only check/update the cache
15224         if it exists.
15225         (remove_dependence): Likewise.
15226         (schedule_insns): Only create the true_dependency_cache if the
15227         average number of instructions in a basic block is very large.
15228
15229 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15230
15231         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15232         (ggc-simple.o): Likewise.
15233         (ggc-page.o): Likewise.
15234
15235 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15236
15237         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15238         Prototype for exported functions.
15239         (pre_lcm, pre_rev_lcm): Remove prototypes.
15240         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15241         (compute_available): Move to lcm.c, and change parameter order.
15242         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15243         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15244         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15245         set table after reach pre pass.
15246         (pre_insert_map, pre_delete_map, edge_list): New.
15247         (alloc_pre_mem): Allocate edge vectors.
15248         (free_pre_mem): Delete edge vectors.
15249         (compute_pre_data): Call new edge based lcm routines.
15250         (process_insert_insn): New function.
15251         (insert_insn_end_bb): Use it.
15252         (pre_edge_insert): New function.
15253         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15254         needed.
15255         (pre_insert_copies): Revamp using new edge based lcm outputs.
15256         (pre_delete): Likewise.
15257         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15258         block.
15259         (compute_code_hoist_vbeinout): New new edge based routines.
15260         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15261         that work with the new cfg datastructures and work with edges
15262         instead of blocks.
15263
15264 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15265
15266         * reload.h (struct reload): Add new fields "mode" and "nregs".
15267         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15268         to reference the "mode" and "nregs" field within struct reload.
15269
15270 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15271
15272         * haifa-sched.c (true_dependency_cache): New.
15273         (add_dependence): Use the true dependency cache to avoid expensive
15274         walks down the LOG_LINKS dependency list.  Add entries to the
15275         cache as necessary.
15276         (remove_dependence): Remove entries from the true dependency cache
15277         as needed.
15278         (schedule_insns): Allocate and initialize and free the true
15279         dependency cache.
15280
15281         * haifa-sched.c (schedule_insns): Do not remove inter-block
15282         dependencies anymore.
15283
15284 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15285
15286         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15287         * i386/t-winnt: Likewise.
15288
15289 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15290
15291         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15292
15293 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15294
15295         * Makefile.in (LANGUAGES): Omit "proto".
15296         (clean): Remove stale comment about removing unprotoize.c.
15297
15298 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15299
15300         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15301         using arithmetic on void pointers.
15302
15303 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15304
15305         * haifa-sched.c (compute_block_forward_dependencies): Only check
15306         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15307
15308 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15309
15310         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15311         (expr_equiv_p): Reject memories with different alias sets.
15312
15313 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15314
15315         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15316         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15317         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15318         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15319         (lang_init): Set default for flag_bounds_check if still "unspecified".
15320
15321 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15322
15323         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15324
15325 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15326
15327         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15328         instructions.
15329
15330 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15331
15332         * config/c4x/c4x.md (*db_noclobber,
15333         *decrement_and_branch_until_zero_noclobber): New patterns and
15334         associated splitters.
15335
15336 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15337
15338         * config/c4x/c4x.md (parallel instruction patterns): Rework
15339         constraints to keep reload happy.
15340
15341 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15342
15343         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15344         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15345         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15346         Add new patterns and associated post-reload splitters.
15347
15348 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15349
15350         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15351
15352 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15353
15354         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15355         if appropriate.
15356         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15357
15358 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15359
15360         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15361         memory mode.
15362
15363 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15364
15365         * pa.c (move_operand): Rely on memory_address_p to determine the
15366         validity of non-indexed memory addresses.
15367         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15368         operand in DFmode and SFmode when generating PA2.0 code.
15369
15370 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15371
15372         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15373
15374 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15375
15376         * mips.c (function_prologue): Fix argument types.
15377         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15378         (casesi_internal): Write to the scratch register.
15379
15380 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15381
15382         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15383         to U_CHAR **.
15384         (parse_charconst): Delete unnecessary cast when calling
15385         cpp_parse_escape.
15386         (cpplib.h): Kill prototype of cpp_parse_escape.
15387
15388 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15389
15390         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15391         * unroll.c (unroll_loop): Cast return value of alloca.
15392         * i370/i370.c: Include function.h and toplev.h.
15393         (i370_label_scan): Remove c++ commented abort.
15394         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15395         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15396         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15397         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15398
15399 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15400
15401         * config/t-freebsd: Do not override USER_H.
15402         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15403
15404 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15405                           Mumit Khan  <khan@xraylith.wisc.edu>
15406
15407         * c-parse.in (component_decl): Support anonymous struct/union.
15408         (%expect): Update.
15409         * c-parse.y: Regenerate.
15410         * c-parse.c: Likewise.
15411         * objc/objc-parse.y: Likewise.
15412         * objc/objc-parse.c: Likewise.
15413         * c-decl.c (finish_struct): Don't sort the fields.
15414         (field_decl_cmp): Delete unused function.
15415
15416 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15417
15418         * sparc.md (movsf_const_intreg): Revert last constraint change.
15419         (movdf_const_intreg_sp32): Likewise.
15420
15421 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15422
15423         * cse.c: Include hashtab.h instead of splay-tree.h
15424         (struct cse_reg_info): No longer use variant union.  Add new
15425         field "regno".  All references changed to avoid union.
15426         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15427         (free_cse_reg_info): Remove.
15428         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15429         (get_cse_reg_info): Revamp to use expandable hash tables instead
15430         of splay trees.  Initialize new fields in cse_reg_info structure.
15431         (new_basic_block): Similarly.
15432
15433 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15434
15435         * genrecog.c (message_with_line): Prototype.
15436         (validate_pattern): Pass along the set for the dest, not a flag.
15437         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15438         Check for PC/CC0 as sources.
15439         (nodes_identical): Check for children position match before
15440         allowing the combination.
15441
15442         * rtl.c (read_rtx): Track line number across \\\n.
15443
15444 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15445
15446         * mips.h (SPECIAL_MODE_PREDICATES): New.
15447         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15448         (movdi+1, movsi+1): Add output reload constraint.
15449         (casesi_internal): Likewise.  Fix commentary.
15450         (return_internal): Use pmode_register_operand.
15451
15452 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15453
15454         * 1750a.md (movstrqi): Add missing output reload constraint.
15455         (call_value): Likewise.
15456         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15457         (jmpfdec): Add missing inout reload constraint.
15458         * elxsi.md (addsi patterns): Add missing output reload constraint.
15459         (move from sp): Use @ alternates.
15460         (call_value): No constraint on output.
15461         * fr30.md (movsi_pop): Add missing output reload constraint.
15462         (movsf_constant_store): Likewise.
15463         (splits): Remove constraints.
15464         (subsi3): Add missing mode.
15465         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15466         (call_value): Likewise.
15467         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15468         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15469         * m32r.md (movsicc_internal): Add output reload constraint.
15470         (movstrsi_internal): Add inout reload constraints.
15471         * m88k.h (reg_names): Don't declare.
15472         (SPECIAL_MODE_PREDICATES): New.
15473         * m88k.md (*): Use register_operand not reg_or_0_operand
15474         on destinations.
15475         * mn10200.h (PREDICATE_CODES): New.
15476         * ns32k.md (ffs pattern): Add output reload constraint.
15477         * pdp11.md (sob pattern): Add inout reload constraint.
15478         * sh.md (splits): Remove constraints.
15479         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15480         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15481         * vax.md (jgequ pattern): Add inout reload constraint.
15482
15483 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15484
15485         * configure.in (djgpp): Revert previous patch.
15486         * configure: Rebuit.
15487         * config/i386/djgpp.h: Revert previous patch.
15488
15489 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15490
15491         * fixinc/inclhack.def: Restore patch lost during last merge of
15492         "no_bogosity" branch.
15493         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15494
15495 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15496
15497         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15498         * fixinc/inclhack.def: Same.
15499         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15500
15501 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15502
15503         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15504         as the base of a PLUS.
15505
15506 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15507
15508         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15509         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15510
15511 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15512
15513         * pa.md (post_stw+1): Use pmode_register_operand.
15514         (dcacheflush, icacheflush): Likewise.
15515
15516         * i386.md (movstricthi_1): Allow r/r.
15517
15518 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15519
15520         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15521         to (not (and (arg0) (arg1))). Similary for and.
15522
15523         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15524         fallthrough to associate code.
15525         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15526         bits in common.
15527
15528         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15529         no bits in common; remove XOR to ROTATE conversion.
15530
15531 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15532
15533         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15534
15535 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15536
15537         * config/c4x/c4x.c (dst_operand): New.
15538         (PREDICATE_CODES): Update.
15539         * config/c4x/c4x.h (dst_operand): Declare it.
15540         * config/c4x/c4x.md:  Define mode for each unspec usage.
15541         (move patterns):  Use dst_operand predicate instead of src_operand.
15542         (movqi_update, movqf_update): Delete.
15543
15544 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15545
15546         * recog.c (pmode_register_operand): New.
15547         * recog.h: Declare it.
15548         * genrecog.c (pred_codes): Likewise.
15549         (special_mode_pred_table): Likewise.
15550         (validate_pattern): Don't warn no mode for address_operand.
15551
15552         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15553         if the operand is not insn-like.
15554
15555 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15556                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15557
15558         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15559
15560 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15561
15562         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15563         instead of general_operand in a SET_DEST.  Use const_double_operand
15564         instead of an explicit test against CONST_DOUBLE.
15565         (movsf_const_lo): Add missing register mode.
15566         (goto_handler_and_restore): Add auxiliary test for Pmode.
15567         (flush): Adjust to use address_operand.
15568         (return_sf_no_fpu): Add missing output constraint.
15569
15570 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15571
15572         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15573         for call return value.
15574         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15575
15576 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15577
15578         * toplev.c (main): Only warn about options for other languages.
15579         * collect2.c (main): Pass -w to sub-gcc.
15580
15581 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15582
15583         * flow.c (propagate_block): Add call-clobbered registers to
15584         significant too.
15585
15586         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15587         zapping mem_set_list.
15588         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15589         (mark_set_1, mark_used_regs): Likewise.
15590
15591 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15592
15593         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15594
15595 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15596
15597         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15598         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15599         options. Also add a new item "C-only Warning Options" to the
15600         option summary.
15601
15602 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15603
15604         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15605         from multiple calls.
15606
15607 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15608
15609         * i386.md (call value patterns): Move to the end of the file.
15610         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15611
15612 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15613
15614         * configure.in (djgpp configuration): Define extra_objects..
15615         * configure: Rebuilt.
15616         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15617         (DTORS_SECTION_ASM_OP): Define.
15618         (INIT_SECTION_ASM_OP): Define.
15619         (FINI_SECTION_ASM_OP): Define.
15620         (DATA_SECTION_ASM_OP): Define.
15621         (TEXT_SECTION_ASM_OP): Define.
15622         (EH_FRAME_SECTION_ASM_OP): Define.
15623         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15624         (STARTFILE_SPEC): Add crtbegin.o.
15625         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15626         to here from LINK_COMMAND_SPEC.
15627         (DO_GLOBAL_CTORS_BODY): Define.
15628         (CRTSTUFF_USE_FINI_SECTION): Define
15629         (HAS_INIT_SECTION): Delete.
15630
15631 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15632
15633         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15634
15635 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15636
15637         * pa.h (PREDICATE_CODES): New.
15638
15639         * genrecog.c (validate_pattern): Condense the destination
15640         non-lvalue message.
15641
15642 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15643
15644         * alpha.md (call-1): Supply missing mode for operator.
15645         (*): Add missing output reload constraints.  Remove constraints
15646         from define_splits.
15647
15648         * i386.h (SPECIAL_MODE_PREDICATES): New.
15649         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15650         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15651         (addsi_lea_3): Add missing mode for op 3.
15652         (prologue_set_got, prologue_get_pc): Add missing modes.
15653         (*) Add missing output reload constraints.
15654
15655 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15656
15657         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15658         check for member bit-size overflow and use var_size if it occurs.
15659         (layout_record): Use bitsize_int() to define the type size in bits.
15660         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15661         (layout_decl): Likewise when assigning to DECL_SIZE.
15662
15663 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15664
15665         * genrecog.c (validate_pattern): Typo last change.  Verify
15666         that output operands have output reloads.
15667
15668 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15669
15670         * genrecog.c (special_mode_pred_table): New.
15671         (NUM_SPECIAL_MODE_PREDS): New.
15672         (find_operand): New.
15673         (validate_pattern): New argument `insn'.  Warn for assignment to
15674         any predicate accepting non-lvalues.  Conditionaly warn for
15675         match_operand without a mode.  Try much harder to match source
15676         and destination modes on a set.
15677         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15678
15679 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15680
15681         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15682
15683 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15684
15685         * combine.c (simplify_logical): Recognize xor pattern that encodes
15686         rotation.
15687
15688 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15689
15690         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15691         alignment.
15692
15693 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15694
15695         * ggc-page.c (MAP_FAILED): Provide default.
15696
15697 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15698
15699         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15700         * sparc.h (PREDICATE_CODES): Update.
15701
15702 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15703
15704         * alpha.c (some_ni_operand): New.
15705         * alpha-protos.h: Declare it.
15706         * alpha.h (PREDICATE_CODES): Update.
15707         * alpha.md (sXaddq reload insns): Use some_ni_operand
15708         for SET_DEST instead of some_operand.
15709
15710 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15711                           Jim Wilson  <wilson@cygnus.com>
15712
15713         * genrecog.c (maybe_both_true_2): Don't compare modes of
15714         two DT_pred tests.
15715         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15716         after find_afterward.
15717         (debug_decision_1): Dump next and afterward codes.
15718
15719 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15720
15721         * rtl.c (dump_and_abort): Remove.
15722         (fatal_with_file_and_line): New.
15723         (fatal_expected_char): New.
15724         (read_rtx_lineno, read_rtx_filename): New.
15725         (read_skip_spaces): Track line number.
15726         (read_name): Use fatal_with_file_and_line.
15727         (read_rtx): Use fatal_expected_char.  Track line number.
15728         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15729
15730         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15731         if it isn't a CODE_LABEL.
15732
15733         * genattr.c (main): Set read_rtx_filename.
15734         * genattrtab.c (main): Likewise.
15735         * gencodes.c (main): Likewise.
15736         * genconfig.c (main): Likewise.
15737         * genemit.c (main): Likewise.
15738         * genextract.c (main): Likewise.
15739         * genflags.c (main): Likewise.
15740         * genopinit.c (main): Likewise.
15741         * genoutput.c (main): Likewise.
15742         * genpeep.c (main): Likewise.
15743
15744         * genrecog.c (decision_test.u.insn): Add `lineno'.
15745         (pattern_lineno, error_count): New variables.
15746         (message_with_line): New.
15747         (add_to_sequence): Break out checking code to ...
15748         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15749         (merge_insn): Use message_with_line.
15750         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15751         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15752
15753 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15754
15755         * expr.c (store_constructor): Clear union if constructor is empty.
15756
15757 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15758
15759         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15760         Add !endian checks.  Change %{...} to %(...).
15761
15762 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15763
15764         * i386.md (*addsi3_cc): Renamed from addcsi3.
15765         (*addsi3_carry): Renamed from addxsi3.
15766         (*subsi3_cc): Renamed from subcsi3.
15767         (*subsi3_carry): Renamed from subxsi3.
15768         (*xorqi_cc_1): Renamed from xorcqi_1.
15769         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15770         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15771
15772 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15773
15774         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15775         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15776
15777 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15778
15779         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15780         climb up the chain of insns.
15781
15782 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15783
15784         * genrecog.c (write_subroutine): Careful for null trees.
15785         (process_tree): Don't elide empty functions.
15786
15787 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15788
15789         * Makefile.in (genrtl.o): Depend on ggc.h.
15790         * configure.in (valloc): Probe for it.
15791         (with-gc): Use ggc-page if valloc present.
15792         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15793         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15794         (ggc_alloc_string): Moved from ggc-page.c.
15795         * ggc-none.c (ggc_alloc_obj): New.
15796         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15797         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15798         (struct globals): Likewise for dev_zero_fd.
15799         (init_ggc): Likewise for it's initialization.
15800         (ggc_allocated_p): Move careful dereference from ...
15801         (ggc_lookup_page_table): ... here.  Delete.
15802         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15803         (alloc_anon): Use valloc if no mmap.
15804         (release_pages): Use free if using valloc.
15805         (ggc_alloc_obj): Renamed from alloc_obj.
15806         (ggc_set_mark): Renamed from mark_obj.
15807         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15808         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15809         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15810         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15811         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15812         (ggc_collect): Use fp printing instead of our own rounding.
15813         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15814         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15815         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15816         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15817         (struct ggc_string, struct ggc_any): Delete.
15818         (offsetof): Provide default definition.
15819         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15820         (PTR_KEY): New.
15821         (struct ggc_mem): New, from corpse of ggc_any.
15822         (struct ggc_status): Delete.
15823         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15824         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15825         (n_strings_collected, n_anys_collected): Delete.
15826         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15827         (ggc_alloc_string, ggc_alloc): Delete.
15828         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15829         (ggc_free_string, ggc_free_any): Delete.
15830         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15831         (ggc_compare_addresses, ggc_mark_string): Delete.
15832         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15833         (search_data): Delete.
15834         (struct globals): New.
15835         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15836         (tree_insert, tree_lookup): New.
15837         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15838         (clear_marks, sweep_objs): New.
15839         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15840         (init_ggc): Set allocated_last_gc.
15841         (ggc_push_context): Gut.  Use G.context.
15842         (ggc_pop_context): Likewise.
15843         (ggc_pop_context_1): New.
15844         (debug_ggc_tree): New.
15845         (debug_ggc_balance, tally_leaves): New.
15846         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15847         (ggc_mark_string_if_gcable): Remove decl.
15848         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15849         (ggc_mark_rtvec_children): New.
15850         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15851         (ggc_mark_if_gcable): New decl.
15852         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15853         (ggc_alloc_tree, ggc_alloc): Likewise.
15854         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15855         (ggc_alloc_obj): New decl.
15856         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15857         (ggc_alloc_tree, ggc_alloc): Likewise.
15858         (ggc_set_mark): New decl.
15859         * rtl.h (struct rtx_def): Remove gc_mark.
15860         (struct rtvec_def): Likewise.
15861         * tree.h (struct tree_common): Likewise.
15862
15863 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15864
15865         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15866         float_format and thread_file definitions.
15867         * configure: Rebuilt.
15868
15869 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15870
15871         * extend.texi (Function Names): Document types of function names.
15872
15873 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15874
15875         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15876         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15877
15878 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15879
15880         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15881
15882 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15883
15884         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15885
15886 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15887
15888         * collect2.c (main): Do prelimnary link on AIX if rflag.
15889
15890 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15891
15892         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15893         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15894         constructors.
15895         (__do_global_dtors): similarly for __DTOR_LIST__.
15896
15897 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15898                                 Diego Novillo <dnovillo@cygnus.com>
15899
15900         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15901         FPUL_REGS.
15902
15903 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15904
15905         * fixincl/*: Merged "no_bogosity" branch
15906         * fixincl/fixlib.h: protect against doubly defining t_bool
15907         * fixincl/server.h: protect against doubly defining t_bool
15908
15909 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15910
15911         * genoutput.c: Include toplev.h.
15912
15913 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15914
15915         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15916         Undef.
15917         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15918         * configure: Regenerate.
15919
15920 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15921
15922         * gcse.c (delete_null_pointer_checks): Returns void.
15923
15924 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15925
15926         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15927         * emit-rtl.c (copy_insn_1): Likewise.
15928
15929 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15930
15931         * config/mips/mips.c (mips_build_va_list): Correct
15932         TREE_CHAIN setting when hard-float.
15933         (mips_va_start): Use corrected setting.
15934         (mips_va_arg): Likewise.  Also pass a tree to build of
15935         POSTINCREMENT_EXPR rather than a naked 'int'.
15936
15937 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15938
15939         * ggc.h (ggc_push_context): Fix comment.
15940         (ggc_pop_context): Likewise.
15941         (mark_string_if_gcable): Likewise.
15942         * ggc-common.c (ggc_mark_rtx_children): Use
15943         ggc_mark_string_if_gcable.
15944         * ggc-page.c (ggc_lookup_page_table): New function.
15945         (ggc_allocated_p): Likewise.
15946         (mark_obj): Fix formatting.
15947         (ggc_mark_string_if_gcable): New function.
15948         * ggc-simple.c (ggc_allocated_strings): New variable.
15949         (ggc_strings_used): Likewise.
15950         (ggc_compare_addresses): New function.
15951         (ggc_pop_context): Pop the `any' memory too.
15952         (ggc_mark_string_if_gcable): New function.
15953         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15954
15955 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15956
15957         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15958         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15959         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15960         changes.
15961
15962 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15963
15964         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15965         (sched_reg_live_length, sched_reg_basic_block): Delete.
15966         (current_block_num, bb_live_regs, old_live_regs): Delete.
15967         (dead_notes, struct sometimes): Delete.
15968         (sched_note_set, birthing_insn_p): Delete.
15969         (adjust_priority): Gut useless reg lifetime code.
15970         (create_reg_dead_note, attach_deaths): Delete.
15971         (attach_deaths_insn, new_sometimes_live): Delete.
15972         (finish_sometimes_live): Delete.
15973         (find_pre_sched_live, find_post_sched_live): Delete.
15974         (update_reg_usage): Delete.
15975         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15976         (schedule_insns): Delete reg lifetime code.
15977         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15978         (unlink_other_notes): Adjust REG_NOTE commentary.
15979         (reemit_notes): Use REG_SAVE_NOTE.
15980         (schedule_block): Likewise.
15981         (schedule_region): Allocate bitmap of blocks in region.  Use
15982         count_or_remove_death_notes.  Use update_life_info.
15983
15984         * rtl.h (REG_SAVE_NOTE): New.
15985         * rtl.c (reg_note_name): Update.
15986
15987 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
15988
15989         * combine.c (refresh_blocks, need_refresh): New.
15990         (combine_instructions): Allocate refresh_blocks.  Invoke
15991         update_life_info if needed.
15992         (distribute_notes): Mark refresh_blocks instead of installing
15993         USE insns.
15994         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15995         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15996
15997         * Makefile.in (recog.o): Depend on basic-block.h.
15998
15999 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
16000
16001         * genrecog.c (add_to_sequence): Thinko last change: delete
16002         shadowing allow_const_int variable.
16003
16004 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16005
16006         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16007         __GNUC__ and __GNUC_MINOR__.
16008
16009         * gansidecl.h: Likewise.
16010
16011         * rtl.c: Likewise.
16012
16013         * rtl.h: Likewise.
16014
16015         * toplev.h: Likewise.
16016
16017         * tree.c: Likewise.
16018
16019         * tree.h: Likewise.
16020
16021         * varray.c: Likewise.
16022
16023         * varray.h: Likewise.
16024
16025 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16026
16027         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16028         use one before a jump table.
16029
16030         * rtl.def (ADDRESS): Change documentation to match reality.
16031         * md.texi: Don't document it.
16032         * gmicro.md (load address pattern): Use 'p' constraint, delete use
16033         of ADDRESS rtx.
16034
16035         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16036
16037 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
16038
16039         * genrecog.c (add_to_sequence): Move allow_const_int test outside
16040         known predicate block; default allow_const_int true.
16041         (debug_decision_list): New.
16042
16043 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
16044
16045         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16046
16047 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
16048
16049         * gcse.c (gcse_main): Avoid global optimizations if we have a
16050         large number of basic blocks and the ratio of edges to blocks
16051         is high.
16052         (delete_null_pointer_checks): Likewise.
16053
16054 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
16055
16056         * c-common.c (check_format_info): Warn if format string isn't a
16057         string literal.
16058
16059 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16060
16061         * configure.in (arm*-*-*): Don't let autoconf remove brackets
16062         * configure: regenerate
16063
16064 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
16065
16066         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
16067         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
16068         (peepholes): Re-enable.
16069
16070 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
16071
16072         * Makefile.in (flow.o): Depend on TREE_H.
16073         * basic-block.h (REG_SET_EQUAL_P): New.
16074         (XOR_REG_SET): New.
16075         (n_edges): Declare.
16076         (free_regset_vector): Remove declaration.
16077         (flow_delete_insn_chain): Declare.
16078         (enum update_life_extent): New.
16079         (update_life_info, count_or_remove_death_notes): Declare.
16080         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16081         Verify register live at bb->global_live_at_start before adding USE.
16082         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16083         (CLEAN_ALLOCA): New.
16084         (n_edges): New.
16085         (PROP_*): New flags.
16086         (find_basic_blocks_1): Use alloc_EXPR_LIST.
16087         (clear_edges): Zero n_edges.
16088         (make_edge): Increment n_edges.
16089         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
16090         (flow_delete_insn_chain): Export.
16091         (delete_block): Decrement n_edges.
16092         (merge_blocks_nomove): Likewise.
16093         (life_analysis): Give life_analysis_1 PROP flags.
16094         (verify_wide_reg_1, verify_wide_reg): New.
16095         (verify_local_live_at_start): New.
16096         (update_life_info): Rewrite to call into propogate_block.
16097         (mark_reg): New.
16098         (mark_regs_live_at_end): After reload, if epilogue as rtl,
16099         always mark stack pointer.  Conditionally mark PIC register.
16100         After reload, mark call-saved registers, return regsiters.
16101         (life_analysis_1): Accept PROP flags not remove_dead_code.
16102         Call mark_regs_live_at_end before zeroing regs_ever_live.
16103         Use calculate_global_regs_live.  Copy global_live_at_end before
16104         calling final propagate_block.  Zero reg_next_use on exit.
16105         (calculate_global_regs_live): New.
16106         (allocate_bb_life_data): Don't allocate bb->local_set.
16107         (init_regset_vector, free_regset_vector): Remove.
16108         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16109         Test flags before every operation.  Warn if prologue/epilogue insn
16110         would have been deleted.
16111         (mark_set_regs, mark_set_1): Accept and use FLAGS.
16112         Use alloc_EXPR_LIST.
16113         (mark_used_regs): Accept and use FLAGS, not FINAL.
16114         Remove special handling for RETURN.
16115         (try_pre_increment): Use alloc_EXPR_LIST.
16116         (dump_flow_info): Dump n_edges.
16117         (unlink_insn_chain, split_hard_reg_notes): Remove.
16118         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
16119         (find_insn_with_note, new_insn_dead_notes): Remove.
16120         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
16121         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
16122         (replace_insns): Remove.
16123         (count_or_remove_death_notes): New.
16124         (verify_flow_info): Abort on error after all checks.
16125         (remove_edge): Decrement n_edges.
16126         (remove_fake_edges): Tweek format.
16127         * haifa-sched.c (schedule_insns): Use split_all_insns.
16128         * output.h (update_life_info): Remove declaration.
16129         * recog.c (split_all_insns): From the corpse of split_block_insns,
16130         do the whole function block by block.  Use update_life_info.
16131         (recog_last_allowed_insn): New.
16132         (recog_next_insn): Mind it.
16133         (peephole2_optimize): Set it.  Walk backwards through blocks.
16134         Use update_life_info.
16135         * rtl.h (update_flow_info, replace_insns): Remove declarations.
16136         (split_all_insns): Declare.
16137         * toplev.c (rest_of_compilation): Thread prologue before flow2.
16138         Use split_all_insns.
16139
16140         * i386.md (or -1 peep2s): Disable.
16141
16142 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
16143
16144         * config/mips/mips.md (movstrsi+[123]) : Combine these into
16145         a single pattern.  Scrap the 'd' versions as unnecessary.
16146
16147         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16148         tablejump_mips162,tablejump_internal4): The operands to a
16149         label_ref must be VOIDmode.
16150
16151 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16152
16153         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16154
16155 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16156
16157         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16158
16159 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16160
16161         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16162         cache every function if ggc_p.
16163
16164 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16165
16166         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16167         instead of copy_rtx.  Accept sequences that contain asm statements.
16168         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16169         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16170         orig_asm_operands_vector, copy_asm_operands_vector,
16171         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16172         variables.
16173         * rtl.h (copy_insn, copy_insn_1): Declare.
16174
16175 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16176
16177         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16178
16179         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16180         arguments to `current_file_function_operand'.
16181
16182         * genrecog.c: Include hard-reg-set.h and resource.h in the
16183         generated output file.
16184
16185         * real.c: Include tm_p.h.
16186
16187 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16188
16189         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16190         output operand.
16191
16192 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
16193
16194         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16195         before the fctiwz insn.
16196
16197 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16198                           Mark Mitchell  <mark@codesourcery.com>
16199
16200         * tree.c (make_lang_type_fn): New funtion pointer.
16201         (make_lang_type): Call it.
16202         * tree.h (make_lang_type): Declare.
16203         (make_lang_type_fn): Likewise.
16204         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16205
16206 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16207
16208         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16209         make sure that HIGH instructions are copied into BASE_REGS.
16210
16211 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16212
16213         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16214
16215 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16216
16217         * c-decl.c (finish_struct): Use simpler method of
16218         removing elements of a singly-linked list.
16219
16220 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16221
16222         * alpha.md (peephole2's): Comment out peephole2's that generate
16223         buggy code.
16224
16225 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16226
16227         * genrecog.c (add_to_sequence): Disable mode check for
16228         wildcard matches.
16229
16230 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16231
16232         * ggc-simple.c (init_ggc): Set empty_string.
16233
16234 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16235
16236         * configure.in: Detect mmap.  Add --with-gc=foo to select
16237         garbage collector; default to page if mmap available.
16238         * Makefile.in (GGC): Substitute.
16239
16240 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16241
16242         * c-decl.c (ggc_p): Enable.
16243
16244 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16245
16246         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16247
16248 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16249
16250         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16251         string for little-endian-data.
16252
16253 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16254
16255         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16256         case somebody tries to compile --enable-checking code with gcc
16257         1.34 or such.
16258
16259 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16260
16261         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16262         VOIDmode.
16263
16264 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16265
16266         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16267         * jump.c (jump_optimize_1): Document why.
16268
16269 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16270
16271         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16272         pointers and casts for `int_handler' and `quit_handler'.
16273
16274         * flow.c (verify_flow_info, split_hard_reg_notes,
16275         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16276         remove_edge, remove_fake_successors): Add static prototypes.
16277         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16278         (mark_set_1): Initialize variable `regno'.
16279         (unlink_insn_chain): Likewise for variable `curr'.
16280         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16281
16282         * loop.c (strength_reduce): Initialize variable
16283         `unrolled_insn_copies'.
16284         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16285         prototypes.  Change these functions to take const PTR parameters
16286         to avoid prototype conflict when used as the comparson argument
16287         for qsort.
16288         (check_dbra_loop): Initialize variable `comparison_val'.
16289
16290         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16291         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16292         (find_valid_class): Initialize variable `best_class'.
16293         (find_reloads): Call memcpy, not bcopy.
16294
16295         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16296         (hard_reg_use_compare): Don't needlessly cast away const.
16297         (reload_reg_class_lower): Likewise.
16298         (choose_reload_regs): Initialize variable `regno'.
16299
16300 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16301
16302         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16303
16304 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16305
16306         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16307         ({,d}discard): Add forward declarations.  Declare parameter as
16308         unused.
16309         (main_without_main): Explicitly declare return type to be int.
16310         (memcpy): Properly declare.
16311
16312         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16313         building the trampoline support, declare malloc, free, and
16314         atexit.
16315         (__clear_cache): Mark arguments as potentially unused.
16316
16317         * frame.c (toplevel): If inhibit_libc is defined, declare
16318         malloc and free.
16319
16320 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16321
16322         * flow.c (make_edge): Accept an optional 2D bitmap in which
16323         to cache edge existence.  Update all callers.
16324         (make_label_edge, make_eh_edge): Pass through the edge cache.
16325         (make_edges): Provide the cache.
16326
16327 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16328
16329         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16330         a char*.
16331         (local_mbtowc): Change the type of variable `i' from int to size_t.
16332
16333         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16334         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16335
16336 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16337
16338         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16339         after other includes that define the appropriate types.  Include
16340         tm_p.h for getting user prototypes.
16341         * ggc-callbacks.c (toplevel): Ditto.
16342         * ggc-none.c (toplevel): Ditto.
16343         * gcc-page.c (toplevel): Ditto.
16344         * ggc-simple.c (toplevel): Ditto.
16345
16346 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16347                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16348
16349         * config/mips/mips.c (mips_move_2words): Split doubles if
16350         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16351
16352 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16353
16354         * genrecog.c (struct decision_test): New.
16355         (struct decision): Remove test-related members, sort the rest by size.
16356         (IS_SPLIT): Simplify.
16357         (new_decision, new_decision_test): New.
16358         (add_to_sequence): Use them.  No special handling for args of
16359         non-MATCH codes.
16360         (maybe_both_true): Renamed from not_both_true; return sense changed.
16361         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16362         of maybe_both_true and adjusted for decision_test.
16363         (position_merit): Remove.
16364         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16365         (merge_accept_insn): New, broken out of merge_trees.
16366         (merge_trees): Use them.  No special case for c_test; no node
16367         splitting; use test type instead of position_merit.
16368         (factor_tests): New.
16369         (simplify_tests): New.
16370         (break_out_subroutines): Don't write code now.
16371         (find_afterward): New.
16372         (write_afterward, write_switch, write_cond): New.
16373         (write_action, is_unconditional): New.
16374         (write_node): New.  Use them.
16375         (write_tree_1): Rewrite.  Use the new functions above.
16376         (write_tree): Remove afterward processing.
16377         (write_subroutine): Simplify function variant emission.
16378         (write_subroutines): New.
16379         (same_codes, clear_codes): Remove.
16380         (same_modes, clear_modes): Remove.
16381         (write_header): New, broken out of main.
16382         (make_insn_sequence): Use new_decision and new_decision_test.
16383         (process_tree): New, broken out of main.
16384         (main): Adjust for merge_trees interface change.
16385         Don't #define operands in the output file.
16386         (record_insn_name): New, broken out of make_insn_sequence.
16387         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16388         (debug_decision): New.
16389
16390 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16391
16392         * resource.c (find_free_register): Mark class_str argument const.
16393         * resource.h: Update prototype to match.
16394
16395         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16396         * i386.md: Give all anonymous insns names.
16397
16398 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16399
16400         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16401         blocks.
16402
16403 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16404
16405         * toplev.c (dbr_sched_time): Unconditional.
16406         (peephole2_time): New.
16407         (compile_file): Add pass numbers to all of the dump file suffixes.
16408         Dump peephole2_time.  Don't dump times for non-applicable passes.
16409         (rest_of_compilation): Add pass numbers to dump file suffixes.
16410         Conditionalize calls to the scheduler.
16411         * invoke.texi: Update.
16412
16413 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16414
16415         * flow.c (make_edges): Fix insn iteration.
16416         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16417         (find_basic_blocks_1): Fix spelling mistake.
16418
16419 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16420
16421         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16422         always have side-effects.  Use memset not bzero.
16423         (make_node): Likewise.
16424
16425 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16426
16427         * stmt.c (expand_anon_union_decl): When any of the elements of the
16428         union is addressable, so is the entire union.
16429
16430 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16431
16432         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16433
16434         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16435         * bitmap.c (bitmap_operation): Return true iff TO changed.
16436         (bitmap_equal_p): New.
16437         (bitmap_bit_p): Tidy arithmetic.
16438         (debug_bitmap_file): Likewise.
16439
16440 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16441
16442         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16443         before cse2 instead of after.
16444
16445 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16446
16447         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16448         register offsets.
16449
16450 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16451
16452         * cppinit.c (is_idchar initializer): Loosen tests to accept
16453         gcc 2.>6 and >2.
16454
16455 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16456
16457         * mips.md: Define conditional move patterns for floating point
16458         operands and DI mode conditions.
16459
16460 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16461
16462         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16463         always have side-effects.
16464
16465 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16466
16467         * mn10200.c (asm_file_start): Fix typo.
16468
16469         * cppinit.c (is_idchar initializer): Tighten tests for when
16470         to put the table into initialized memory.
16471
16472         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16473         not an array of rtunion.
16474         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16475         * gcc-simple (ggc_free_rtvec): Similarly.
16476
16477         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16478         of rtunions.
16479
16480         * mbchar.h: Add missing #endif.
16481
16482         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16483         (FPBIT, DPBIT): Define.
16484
16485 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16486
16487         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16488
16489         * profile.c (instrument_arcs, output_gcov_string,
16490         tablejump_entry_p): Add static prototypes.
16491         (output_gcov_string): Constify a char*.
16492
16493         * regmove.c (replacement_quality, fixup_match_2): Add static
16494         prototypes.
16495
16496         * resource.h (reg_dead_p): Add extern prototype.
16497
16498         * rtl.c (trim_filename): Add static prototype.
16499
16500         * scan-decls.c (skip_to_closing_brace): Likewise.
16501
16502         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16503         (expand_end_case): Initialize variable `range'.
16504         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16505
16506         * varasm.c (asm_emit_uninitialised): Add static prototype.
16507         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16508         ATTRIBUTE_UNUSED.
16509
16510 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16511
16512         * cpplib.c (if_directive_nameo): Add static prototype.
16513
16514         * cse.c (cse_insn): Remove unused variable `p'.
16515
16516         * except.c (create_rethrow_ref, push_entry,
16517         receive_exception_label, new_eh_region_entry, find_func_region,
16518         clear_function_eh_region, process_nestinfo): Add static prototypes.
16519         (get_reg_for_handler): Hide definition.
16520         (process_nestinfo): Initialize variable `extra_handlers'.
16521
16522         * expr.h (expand_builtin_longjmp): Add extern prototype.
16523
16524         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16525
16526         * function.c (prepare_function_start): Likewise.
16527         (pop_function_context_from): Mark parameter `context' with
16528         ATTRIBUTE_UNUSED.
16529         (push_temp_slots_for_block, flush_addressof): Hide definition.
16530
16531         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16532         solve_program_flow_graph, calculate_branch_probs,
16533         function_summary, main, fancy_abort): Add prototypes.
16534
16535         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16536         (add_hash): Constify a char*.
16537
16538         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16539         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16540         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16541
16542         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16543
16544         * lists.c (free_list, zap_lists): Likewise.
16545
16546 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16547
16548         * alias.c (nonlocal_reference_p): Add static prototype.
16549
16550         * bitmap.c (bitmap_element_allocate): Prototype args in function
16551         pointer cast.
16552
16553         * builtins.c (stabilize_va_list): Add static prototype.
16554         (expand_builtin_va_arg): Constify a char*.
16555
16556         * c-lex.c (getch, put_back, extend_token_buffer_to,
16557         read_line_number, token_getch, token_put_back): Add static
16558         prototypes.
16559
16560         * c-parse.gperf (hash, is_reserved_word): Likewise.
16561
16562         * cccp.c (is_dir_separator): Likewise.
16563
16564 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16565
16566         * graph.h: New file to prototype functions exported by graph.c.
16567
16568         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16569
16570         * graph.c: Include graph.h.
16571
16572         * toplev.c: Likewise.  Remove redundant prototypes.
16573
16574 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16575
16576         * invoke.texi: Removed duplicated description for -Q.
16577
16578 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16579
16580         * extend.texi: Grammar fix in __extension__ text.
16581
16582 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16583
16584         * md.texi (define_peephole2): New section.
16585
16586 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16587
16588         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16589         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16590         speed.
16591
16592 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16593
16594         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16595
16596 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16597
16598         * i386.md (ffs expander): Emit Pentium friendly code for
16599         TARGET_PENTIUM.
16600
16601 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16602
16603         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16604         for non-trees.
16605         (build1): Likewise.
16606
16607 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16608
16609         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16610
16611 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16612
16613         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16614         register is in use.
16615
16616 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16617
16618         * md.texi (No Constraints): Delete section.
16619         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16620         * final.c (final_scan_insn): We always have register constraints.
16621         * genattrtab.c: Don't include "insn-config.h".
16622         (write_attr_case): We always have register constraints.
16623         * genconfig.c (register_constraint_flag): Delete.
16624         (walk_insn_part): Don't check whether we have register constraints.
16625         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16626         * genoutput.c (have_constraints): Delete.
16627         (main): Don't set it.
16628         (output_operand_data): We always have constraints.
16629         (scan_operands): Likewise.
16630         (compare_operands): Likewise.
16631         * local-alloc.c (block_alloc): We always have constraints.
16632         (requires_inout): Always compile this function.
16633         * recog.c (extract_insn): We always have constraints.
16634         (constrain_operands, reg_fits_class_p): Always compile these
16635         functions.
16636         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16637         fields.
16638         (struct insn_operand_data): Likewise.
16639         * regclass.c (regclass): We always have constraints.
16640         (record_reg_classes, copy_cost, record_address_regs,
16641         auto_inc_dec_reg_p): Always compile these functions.
16642         * regmove.c (regmove_optimize): We always have constraints.
16643         * reload.c (find_reloads): Likewise.
16644         * reload1.c (reload): Likewise.
16645         (reload_cse_simplify_operands): Likewise.
16646         * i860.c (output_delay_insn): Likewise.
16647
16648 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16649
16650         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16651
16652 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16653
16654         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16655         for the va_list record.
16656
16657 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16658
16659         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16660         prologues.
16661
16662 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16663
16664         * alias.c: Include insn-flags.h.
16665         * Makefile.in (alias.o): Update.
16666
16667 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16668
16669         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16670         to LTU and GEU.  Handle more cases using sbb.
16671
16672 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16673
16674         * i386.md (truncatexfdf splitters): Do not use subreg.
16675         (fop XFmode patterns): Fix mode in operand testing.
16676
16677 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16678
16679         * jump.c (jump_optimize_1): Amend last change to test only the
16680         form of the operand, not the insn.
16681
16682         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16683         not register_operand to determine when B may need preloading.
16684
16685 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16686
16687         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16688         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16689         (call-value patterns): Move to end of file.
16690         (*): Remove mode from label_ref in (pc) context.
16691         (movstrqi): Use memory not general_operand for BLKmode operands.
16692         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16693         to register_operand operands.
16694         (peep2 patterns): Convert from commented-out peephole patterns.
16695
16696 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16697
16698         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16699         to BUILT_IN_INIT_DWARF_REG_SIZES.
16700         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16701         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16702         expand_builtin_init_dwarf_reg_sizes.
16703         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16704         with __builtin_init_dwarf_reg_size_table.
16705         * dwarf2out.c (struct reg_size_range): Delete.
16706         (expand_builtin_init_dwarf_reg_sizes): New function.
16707         (expand_builtin_dwarf_reg_size): Delete.
16708         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16709         (expand_builtin_dwarf_reg_size): Don't declare.
16710         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16711         (dwarf_reg_size_table): New.
16712         (init_reg_size_table): New function.
16713         (copy_reg): Use dwarf_reg_size_table.
16714         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16715         before use.
16716
16717 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16718
16719         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16720         Correctly build argument list to constructor and destructor functions.
16721
16722 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16723
16724         * c-tree.h (warn_float_equal): Declare.
16725         * c-decl.c (warn_float_equal): Define.
16726         (c_decode_option): Recognize -W[no-]float-equal.
16727         * c-typeck.c (build_binary_op): Conditionally warn
16728         about equality tests of floating point types.
16729         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16730         * invoke.texi: Add docs for -Wfloat-equal warning.
16731
16732 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16733
16734         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16735         generating RTL directly.
16736         * mips.h (INIT_TARGET_OPTABS): Likewise.
16737         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16738
16739         * expr.h (init_mov_optab): Delete declaration
16740
16741         * h8300.c (WORD_REG_USED): Update to avoid useless register
16742         saves in interrupt functions and functions which never return.
16743
16744         * cse.c (struct set): Delete inner_dest_loc field.
16745         (cse_insn): Remove assignments to inner_dest_loc field.
16746
16747 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16748
16749         * ggc-page.c: Don't include <unistd.h> etc taken care of
16750         by "system.h".  Include <sys/mman.h> afterward.
16751
16752 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16753
16754         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16755         ggc_alloc_string.
16756
16757 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16758
16759         * xcoffout.c (xcoffout_declare_function): Add documentation.
16760         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16761         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16762         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16763         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16764         gen_movsi typos.
16765
16766 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16767
16768         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16769         origin_die is NULL.
16770         (gen_inlined_enumeration_type_die): Do not abort if the type has
16771         not been writeen out.
16772         (gen_inlined_structure_type_die): Do not abort if the type has
16773         not been writeen out.
16774         (gen_inlined_union_type_die): Do not abort if the type has
16775         not been writeen out.
16776         (gen_tagged_type_instantiation_die): Do not abort if the type
16777         has not been written out.
16778
16779 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16780
16781         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16782         call it.
16783         * reg-stack.c (straighten_stack): Copy hard reg set with
16784         COPY_HARD_REG_SET.
16785
16786 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16787
16788         * builtins.c (stabilize_va_list): Stabilize array type va_list
16789         to a pointer type, not the base record type.
16790         (expand_builtin_va_copy): Dereference the pointers explicitly;
16791         use the correct size for the copy.
16792
16793         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16794         (rs6000_va_arg): Likewise.
16795
16796 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16797
16798         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16799
16800 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16801
16802         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16803         field.
16804         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16805
16806 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16807
16808         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16809         (init_ggc): Use it instead of a constant.
16810         (ggc_collect): Bound allocated_last_gc by it.
16811
16812 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16813
16814         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16815         with va_list.
16816
16817 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16818
16819         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16820         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16821         * configure:  Regen.
16822         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16823         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16824         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16825
16826 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16827
16828         * config/m68k/m68k.c (output_function_prologue,
16829         output_function_epilogue): Use
16830         current_function_uses_pic_offset_table instead of regs_ever_live
16831         to decide whether to save/restore pic register.
16832         (legitimize_pic_address): Don't modify regs_ever_live any more.
16833
16834 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16835
16836         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16837         * stor-layout.c (variable_size): Don't add sizes to the pending
16838         sizes list if x_dont_save_pending_sizes_p is set.
16839
16840 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16841
16842         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16843         for symbolic_operand().
16844         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16845
16846 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16847
16848         * combine.c (gen_rtx_combine): Add missing call to va_end().
16849
16850         * final.c (asm_fprintf): Likewise.
16851
16852         * genattrtab.c (attr_rtx): Likewise.
16853
16854 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16855
16856         * cse.c: Update comments.
16857         (cse_insn): When converting a conditional/computed jump into
16858         an unconditional jump, always make sure a BARRIER immediately
16859         follows the converted jump.  Do not delete unreachable code.
16860         (cse_basic_block): Do not delete unreachable code.
16861         * toplev.c (rest_of_compilation): Move call to
16862         delete_trivially_dead_insns after the conditional call to
16863         jump_optimize.
16864
16865 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16866
16867         * collect2.c (make_temp_file): Don't prototype.
16868
16869         * gcc.c (make_temp_file): Likewise.
16870
16871         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16872
16873 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16874
16875         * varasm.c (asm_emit_uninitialised): New function: Generate
16876         the assembler statements necessary to declare an uninitialised
16877         variable.
16878         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16879         variable.
16880         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16881         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16882         section.
16883         (assemble_variable): Use asm_emit_uninitialised to emit an
16884         uninitialised variable.
16885
16886 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16887
16888         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16889         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16890         <geoffk@cygnus.com>.
16891
16892 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16893
16894         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16895         * c-common.h (builtin_function): Don't declare.
16896
16897         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16898         DECL_BUILT_IN.
16899         (pushdecl): Likewise.
16900         (finish_decl): Likewise.
16901         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16902         int.  All callers changed.
16903         Set the builtin's DECL_BUILT_IN_CLASS.
16904         * tree.h (enum built_in_class): New.
16905         (enum built_in_function): Delete NOT_BUILT_IN.
16906         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16907         in a union.
16908         (DECL_SET_FUNCTION_CODE): Likewise.
16909         (DECL_BUILT_IN_CLASS): New macro.
16910         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16911         (struct tree_decl): Split builtin function code field into a
16912         struct.
16913         (builtin_function): Declare.
16914
16915 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16916
16917         * optabs.c (init_traps): Fix typo in last change.
16918
16919 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16920
16921         * toplev.c (rest_of_decl_compilation): Update comment.
16922
16923 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16924
16925         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16926         in .sbss if appropriate.
16927         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16928         (SBSS_SECTION_ASM_OP): New macro.
16929         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16930         (EXTRA_SECTIONS): Add in_sbss.
16931         * config/mips/mips.h: Prototype sbss_section.
16932
16933 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16934
16935         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16936         to disappear.
16937
16938 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16939
16940         * optabs.c (init_traps): Register trap_rtx as a GC root.
16941
16942 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16943
16944         * config/mips/mips.c (function_arg_pass_by_reference): Define
16945         unconditionally, since it's called unconditionally.
16946
16947 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16948
16949         * toplev.c (documented_lang_options): Add -fshort-wchar.
16950         * c-decl.c (c_decode_option): Likewise.
16951         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16952         for wchar_t.
16953         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16954         * gcc.c (default_compilers): If -fshort-wchar,
16955         override __WCHAR_TYPE__.
16956         * tm.texi (C Dialect Options): Add -fshort-wchar.
16957
16958         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16959         symbol for a variable.
16960
16961         * cpplib.h (CPP_PREPROCESSED): New macro.
16962         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16963         we're seeing this input for a second time.
16964
16965 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16966
16967         * emit-rtl.c (init_emit_once): Initialize modes first.
16968
16969 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16970
16971         * config/i386/i386.c (pic_label_name): Change to char pointer.
16972         (global_offset_table): New variable.
16973         (load_pic_register): Fill global_offset_table if it hasn't
16974         already been done.  Allocate pic_label_name dynamically.
16975         * ggc.h (empty_string): New variable.
16976         * ggc-simple.c (empty_string): Likewise.
16977         (init_ggc): Allocate empty_string and add as root.
16978         * stmt.c (digit_strings): New variable.
16979         (init_stmt): Add last_block_end_note as root.  Allocate and
16980         initialize digit_strings.
16981         (expand_asm_operands): Use empty_string instead of string
16982         constant.  Use digit_strings instead of string constants.
16983         * profile.c (init_arc_profiler): Allocate string with
16984         ggc_alloc_string instead of xmalloc.
16985         (output_func_start_profiler): Likewise.
16986         * c-typeck.c (digest_init): Check if init is error_mark_node.
16987
16988 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
16989                           Richard Henderson  <rth@cygnus.com>
16990
16991         * ggc-page.c: New file.
16992         * Makefile.in (ggc-page.o): New.
16993
16994 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
16995
16996         * invoke.texi: Document -fdelete-null-pointer-checks
16997         * toplev.c (flag_delete_null_pointer_checks): New.
16998         (f_options): Add entry for -fdelete-null-pointer-checks.
16999         (rest_of_compilation): Conditionalize null pointer check
17000         elimination on flag_delete_null_pointer_checks.
17001         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17002
17003 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
17004
17005         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17006         copyright notice and special exception to GPL.
17007
17008 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17009
17010         * abi64.h (mips_function_value): Add prototype arguments.
17011
17012         * mips-protos.h: New file with mips prototypes.
17013
17014         * mips.c: Include "tm_p.h".
17015         (mktemp, lookup_name): Add prototype arguments.
17016         (extern_list, string_constant, mips_fill_delay_slot,
17017         mips_output_external, mips_output_external_libcall,
17018         mips_output_filename, mips_declare_object, function_prologue,
17019         mips_expand_prologue, function_epilogue, mips16_constant,
17020         build_mips16_function_stub, mips_output_conditional_branch):
17021         Constify a char*.
17022         (mips_va_start): Remove unused variable `u'.
17023         (mips_va_arg): Cast value to unsigned when comparing against one.
17024         (trace): Delete.
17025         (save_restore_insns, mips_expand_prologue): Add missing arg in
17026         call to `large_int'.
17027
17028         * mips.h: Move prototypes to mips-protos.h.
17029         (data_section, memory_address_p, rdata_section,
17030         readonly_data_section, simple_epilogue_p, text_section): Delete
17031         prototypes delcared elsewhere.
17032         (mips_epilogue_delay_slots, print_options): Delete unused decls.
17033         (trace): Delete.
17034         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17035
17036         * mips.md: Delete extra args in call to `mips_move_2words'.
17037
17038         * xm-iris6.h (alloca): Add prototype argument.
17039
17040         * genpeep.c: Include "tm_p.h" in generated output file.
17041
17042 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17043
17044         * basic-block.h (find_edge_index): Change parameters.
17045         * flow.c (verify_edge_list): Pass basic_block parameters to
17046         find_edge_index instead of integers.
17047
17048 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
17049
17050         * combine.c (simplify_comparison): Use an unsigned shift to adjust
17051         the constant.
17052
17053 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
17054
17055         * gcc.1: Fix a formatting error.
17056
17057 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17058
17059         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17060         i786, mn10200, mn10300, pdp11, v850.
17061
17062 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
17063
17064         * libgcc2.c (num_digits): Add prototype with
17065         __attribute__((const)).
17066         (__terminate): Add prototype.
17067
17068 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
17069
17070         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17071
17072         * alpha/alpha.c (print_operand): Fix type of `code'.
17073         (alpha_output_filename): Constify.
17074         * alpha/alpha.h: Move all function declarations ...
17075         * alpha/alpha-protos.h: ... here.  New file.
17076         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17077         (SECTION_FUNCTION_TEMPLATE): Likewise.
17078
17079 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17080
17081         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17082         * expr.c (expand_expr): Likewise.
17083         (do_jump): Likewise.
17084         (do_store_flag): Pass ccp_store_flag to can_compare_p.
17085         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17086         accessor macros.
17087         (enum can_compare_purpose): New.
17088         (can_compare_p): Adjust prototype.
17089         (prepare_cmp_insn, prepare_operand): Declare.
17090         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17091         * optabs.c (cmp_available_p): Deleted.
17092         (expand_abs): Pass ccp_jump to can_compare_p.
17093         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
17094         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
17095         Call can_compare_p rather than cmp_available_p.
17096         (prepare_operand): No longer static.
17097         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17098         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17099         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17100         sequence to use emit_cmp_and_jump_insns.
17101         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17102
17103 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
17104
17105         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17106         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17107         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17108         (plus (reg) (const_int 0))
17109         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17110
17111 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
17112
17113         * rs6000.c (expand_block_move): DImode loads and stores require
17114         word-aligned displacements.  Increment address registers with
17115         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
17116
17117 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
17118
17119         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
17120         is no name for the base type, rather than segfault.  If we are
17121         writing out a complex integer type, use DW_ATE_lo_user.
17122
17123         * expr.c (emit_move_insn_1): If we are copying a complex that fits
17124         in one word or less (complex char, complex short, or on 64 bit
17125         systems complex float) to/from a hard register, copy it through
17126         memory instead of dying in gen_{real,imag}part.  If we have a
17127         short complex type, prevent inlining since it allocates stack
17128         memory.
17129
17130         * tree.c (build_complex_type): If we are writing dwarf2 output,
17131         generate a name for complex integer types.
17132
17133 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17134
17135         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
17136         * flow.c (remove_edge): Remove extra whitespace.
17137         (remove_fake_edges): Fix comment.
17138         (add_noreturn_fake_exit_edges): Use the correct name.
17139
17140 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
17141
17142         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
17143         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
17144         (clean): Depend on INTL_CLEAN.
17145         (maintainer-clean): Adjust.
17146
17147 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17148
17149         * configure.in (AC_PREREQ): Bump to 2.13.
17150         (AC_C_STRINGIZE): Call this instead of using a custom macro.
17151
17152         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17153
17154         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17155
17156         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17157
17158         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17159         (HAVE_STRINGIZE): Define.
17160
17161 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
17162
17163         * c-parse.in: save and restore warn_pointer_arith on __extension__
17164         along with pedantic.
17165         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17166         Set the type of extension to itype rather than $<itype>1 kludge.
17167         * extend.texi (Alternate Keywords): Adjust documentation.
17168         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17169
17170 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
17171
17172         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17173         most assembler templates.
17174
17175         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17176         FP loads and stores.
17177         (following_call): Always return zero for the PA8000.
17178         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17179         FP loads and stores.
17180         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17181
17182         * pa.h (BRANCH_COST): Define.
17183
17184         * pa.md (return, return_internal): Use bve for PA2.0.
17185
17186         * pa.md (fused multiply): Add variants which reduce height for the
17187         fused multiply, but which still generate 2 insns.
17188         (fnegabs): Similarly.
17189
17190         * pa.md (subsi3): Turn into an expander.  Create two anonymous
17191         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
17192         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17193
17194         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17195         for TARGET_PA_20.
17196         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17197         code generation.
17198         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17199         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17200
17201         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17202         collection root.
17203
17204         * flow.c (record_active_eh_regions): Terminate loop after finding
17205         the last insn in the last basic block.
17206
17207 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17208
17209         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17210
17211 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17212
17213         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17214
17215 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17216
17217         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17218         splitting to not use output template.
17219
17220 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17221
17222         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17223         * config/c4x/c4x.c (c4x_va_start): New function.
17224
17225 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17226
17227         * genrecog.c (not_both_true): Handle correctly cases when called for
17228         tests with different positions in the insn.
17229
17230 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17231
17232         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17233
17234         * system.h (HOST_PTR_PRINTF): ... to here.
17235
17236         * mips-tfile.c: Don't include machmode.h.
17237
17238         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17239         (mips-tfile.o): Don't depend on machmode.h.
17240
17241 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17242
17243         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17244         avoid conflicts with typedef struct `region' at the top level scope.
17245
17246 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17247
17248         * basic-block.h (basic_block): Add eh_beg, eh_end.
17249         * flow.c (entry_exit_blocks): Update.
17250         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17251         Call new functions.
17252         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17253         lists.c functions to allocate insn lists.
17254         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17255         edge creation ...
17256         (make_eh_edge): ... here.  New.
17257         (move_stray_eh_region_notes): New.
17258         (record_active_eh_regions): New.
17259         (delete_unreachable_blocks): Split out block merging ...
17260         (try_merge_blocks): ... here.  New.
17261         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17262         Dump debugging data.
17263         (merge_blocks_move_successor_nojumps): Likewise.
17264         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17265
17266 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17267
17268         * extend.texi (Bound member functions): Document unbound pmf
17269         conversion.
17270
17271 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17272
17273         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17274         has the EXIT_BLOCK as a dest.
17275
17276 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17277
17278         * flow.c (remove_edge): New function to remove an edge from the
17279         flow graph.
17280         (remove_fake_successors): New function to remove fake successor edges.
17281         (remove_fake_edges): New function to remove all fake edges from the
17282         flow graph.
17283         (add_fake_exit_edges): New function to add fake edges from all blocks
17284         with no successors to the exit block.
17285         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17286         prototypes for new functions.
17287
17288 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17289
17290         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17291         Use Pmode to determine whether to output .dword or .word.
17292
17293 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17294
17295         * tree.c (built_in_filename): New variable.
17296         (BUILT_IN_FILENAME): New macro.
17297         (init_tree_codes): Allocate built_in_filename.
17298         (make_node): Use built_in_filename instead of string constant.
17299
17300 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17301
17302         * configure.in: Add fr30 target.
17303         * configure: Regenerate.
17304         * config/fr30: New directory.
17305         * config/fr30/crti.asm: New file.
17306         * config/fr30/fr30.c: New file.
17307         * config/fr30/crtn.asm: New file.
17308         * config/fr30/fr30.h: New file.
17309         * config/fr30/fr30.md: New file.
17310         * config/fr30/lib1funcs.asm: New file.
17311         * config/fr30/t-fr30: New file.
17312         * config/fr30/xm-fr30.h: New file.
17313
17314 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17315
17316         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17317         BARRIER at the end of the successor, not the BARRIER before
17318         the successor.
17319
17320         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17321
17322 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17323
17324         * stmt.c (any_pending_cleanups): Don't crash when
17325         current_function->stmt is unset.
17326
17327 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17328
17329         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17330         other initializations that may use it for relative offsets.
17331
17332 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17333
17334         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17335         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17336         * config/i386/sol2dbg.h: Removed.
17337         * config/i386/sol2gas.h: New file, to enable gas work-around.
17338         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17339         Don't use sol2dbg.h.
17340         * configure: Rebuilt.
17341
17342 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17343
17344         * invoke.texi (-fthis-is-variable): Remove documentation.
17345
17346 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17347
17348         * basic-block.h (compute_bb_for_insn): Declare.
17349         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17350         to use; set size of basic_block_for_insn directly.
17351         (find_basic_blocks): Update.
17352
17353 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17354
17355         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17356
17357 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17358
17359         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17360         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17361
17362 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17363
17364         * c-decl.c (c_decode_option): Extend comment.
17365
17366 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17367
17368         * toplev.c (progname): Make 'const char *'
17369         (flag_print_mem): Move out of main.
17370         (version_flag): Move out of main.
17371         (filename): Move out of main.
17372         (debug_args): Remove g prefix from options.
17373         (documented_lang_options): Remove cpplib specific options.
17374         (display_help): Add g prefix to debug options.
17375         (check_lang_option): Delete this function.
17376         (decode_d_option): New function: Decode -d... option.
17377         (decode_f_option): New function: Decode -f... option.
17378         (decode_W_option): New function: Decode -W... option.
17379         (decode_g_option): New function: Decode -g... option.
17380         (independent_decode_option): New function: Decode a language
17381         independent command line option.
17382         (main): Invoke lang_decode_option and then
17383         independent_decode_option on each command line option in
17384         turn.
17385
17386 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17387
17388         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17389          * fold-const.c (fold_range_test): Do not try to fold the range
17390          test if the rhs or lhs has side effects.
17391
17392         * basic-block.h (compute_flow_dominators): Declare.
17393
17394         * gcse.c (alloc_code_hoist_mem): New function.
17395         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17396         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17397         (hoist_code, one_code_hoisting_pass): Likewise.
17398         (gcse_main): If optimizing for size, then hoist expressions
17399         computed in multiple dominated basic blocks.
17400
17401         * gcse.c (invalid_nonnull_info): New function.
17402         (delete_null_pointer_checks): Likewise.
17403         * rtl.h (delete_null_pointer_checks): Declare.
17404         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17405
17406         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17407         (merge-blocks_move_successor_nojumps): Likewise.
17408         (merge_blocks): Allow merging of some blocks, even if it requires
17409         physical movement of the blocks, but not if it requires new jumps.
17410
17411         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17412         Callers and prototype changed.
17413         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17414
17415 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17416
17417         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17418         -YP when both -p and -pg are present.  From i386/sol2.h.
17419
17420 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17421
17422         * Makefile.in (distclean): Delete tm_p.h.
17423         * configure.in: Create a new file, "tm_p.h", from a list in
17424         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17425         "i386/i386-protos.h".
17426
17427         * alias.c: Include "tm_p.h".
17428         * c-typeck.c: Likewise.
17429         * calls.c: Likewise.
17430         * cse.c: Likewise.
17431         * emit-rtl.c: Likewise.
17432         * explow.c: Likewise.
17433         * expmed.c: Likewise.
17434         * expr.c: Likewise.
17435         * final.c: Likewise.
17436         * flow.c: Likewise.
17437         * fold-const.c: Likewise.
17438         * function.c: Likewise.
17439         * gcse.c: Likewise.
17440         * global.c: Likewise.
17441         * haifa-sched.c: Likewise.
17442         * integrate.c: Likewise.
17443         * jump.c: Likewise.
17444         * local-alloc.c: Likewise.
17445         * loop.c: Likewise.
17446         * optabs.c: Likewise.
17447         * recog.c: Likewise.
17448         * reg-stack.c: Likewise.
17449         * regclass.c: Likewise.
17450         * regmove.c: Likewise.
17451         * reload.c: Likewise.
17452         * reload1.c: Likewise.
17453         * reorg.c: Likewise.
17454         * resource.c: Likewise.
17455         * stmt.c: Likewise.
17456         * stor-layout.c: Likewise.
17457         * toplev.c: Likewise.
17458         * tree.c: Likewise.
17459         * unroll.c: Likewise.
17460         * genattrtab.c (main): Make generated file include "tm_p.h".
17461         * genemit.c (main): Likewise.
17462         * genoutput.c (main): Likewise.
17463         * genrecog.c (main): Likewise.
17464
17465         * i386.h: Delete all prototypes.
17466         * i386.c: Include "tm_p.h".
17467         (ix86_attr_length_default): Call constant_call_address_operand
17468         with correct number of arguments.
17469         * i386-protos.h: New file.
17470         * i386.md (unnamed patterns): Call constant_call_address_operand
17471         with correct number of arguments.
17472         (exception_receiver): Call load_pic_register with correct number
17473         of arguments.
17474
17475 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17476
17477         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17478
17479 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17480
17481         * rtl.h (insns_safe_to_move_p): New function.
17482         * loop.c (find_and_verify_loops): Use it.
17483         * rtlanal.c (insns_safe_to_move_p): Define it.
17484
17485 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17486
17487         * c-pragma.c: Include ggc.h.
17488         * Makefile.in (c-pragma.o): Update.
17489
17490 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17491
17492         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17493         (LIB_SPEC): Likewise.
17494         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17495         Reindent -YP/-p/-pg.
17496         Copied from config/sparc/sol2.h.
17497
17498 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17499
17500         * c-pragma.c (mark_align_stack): New.
17501         (init_pragma): New.
17502         * c-pragma.h (init_pragma): Declare it.
17503         * c-lex.c (init_parse): Call it.
17504
17505 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17506
17507         * configure.in: Pick up thread library on Solaris/x86 just
17508         like on Solaris/sparc.
17509         * configure: Rebuilt.
17510
17511 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17512
17513         * rtl.h (global_rtx_index): New enum.
17514         (global_rtl): Change to array of rtx.
17515         (pc_rtx, cc0_rtx): Redefine accordingly.
17516         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17517         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17518         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17519         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17520         (const_int_rtx): Change to array of rtx.
17521         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17522         accordingly.
17523         * emit-rtl.c (global_rtl): Change to array of rtx.
17524         (const_int_rtx): Change to aray of rtx.
17525         (gen_rtx_CONST_INT): Redefine accordingly.
17526         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17527         for const_int_rtx.  Add both as GC roots.
17528         * genattrtab.c (global_rtl): Update declaration.
17529
17530 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17531
17532         * Makefile (USER_H): Add iso646.h back.
17533
17534 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17535
17536         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17537         zapping the LOG_LINKS of sched_before_next_call.
17538
17539         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17540         * pa.c (insn_refs_are_delayed): Renamed from
17541         insn_sets_and_refs_are_delayed.
17542
17543 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17544
17545         * functiion.h (struct function): Add x_whole_function_mode_p.
17546         (retrofit_block): Declare.
17547         * function.c (retrofit_block): New function.
17548         (identify_blocks): Add assertions.  Allow an incomplete set of
17549         block notes if we're still generating code for the function.
17550         * integrate.c: Include loop.h.
17551         (expand_inline_function): Call find_loop_tree_blocks to map block
17552         notes to blocks when in whole-function mode.  Use retrofit_block
17553         to insert new BLOCKs for the inlined function, rather than
17554         insert_block.
17555         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17556         * Makefile.in (integrate.o): Depend on loop.h.
17557
17558 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17559
17560         * tree.h (warn_about_unused_variables): Declare.
17561         * stmt.c (warn_about_unused_variables): New function, split out
17562         from ...
17563         (expand_end_bindings): Here.
17564
17565 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17566
17567         * stmt.c (preserve_subexpressions_p): Don't crash when
17568         current_function->stmt is unset.
17569
17570 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17571
17572         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17573         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17574         (expand_start_target_temps): Use it.
17575         * except.c (expand_eh_region_start_for_decl): Likewise.
17576         * expr.c (expand_expr): Likewise.
17577
17578 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17579
17580         * fold-const.c (operand_equal_p): Pay attention to side effects.
17581
17582 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17583
17584         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17585         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17586
17587         * tlink.c (scan_linker_output): Look for keywords before accepting
17588         a mangled name in quotes.
17589
17590 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17591
17592         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17593         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17594
17595 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17596
17597         * alpha.md: Revert Thu Nov 26 change that came in through the
17598         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17599         Avoid earlyclobber when possible.
17600
17601 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17602
17603         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17604
17605         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17606         Define HAVE_ON_EXIT.
17607
17608 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17609
17610         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17611         CTYPE_CONV in all ctype macros.
17612
17613         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17614         from system.h.
17615
17616         * cexp.y (initialize_random_junk): Likewise.
17617
17618         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17619
17620         * i370.c (handle_pragma): Likewise.
17621
17622         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17623
17624         * v850.c (override_options): Likewise.
17625
17626         * doprint.c (_doprnt): Likewise.
17627
17628         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17629         Likewise.
17630
17631         * fixinc/server.c (load_data): Likewise.
17632
17633         * fold-const.c (real_hex_to_f): Likewise.
17634
17635         * genattr.c (write_upcase, gen_attr): Likewise.
17636
17637         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17638         write_upcase): Likewise.
17639
17640         * genemit.c (print_code): Likewise.
17641
17642         * genopinit.c (gen_insn): Likewise.
17643
17644         * genpeep.c (print_code): Likewise.
17645
17646         * genrecog.c (print_code): Likewise.
17647
17648         * optabs.c (init_libfuncs): Likewise.
17649
17650 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17651
17652         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17653         in pairs.
17654         (reemit_notes): Likewise.
17655
17656 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17657
17658         * ggc.h (ggc_root): Move to ggc-common.c.
17659         (roots): Remove.
17660         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17661         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17662         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17663         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17664         * ggc-common.c (ggc_root): Move from ggc.h.
17665         (roots): Declare, static.
17666         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17667         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17668         null or check/set mark bit.
17669         (ggc_mark_roots): New.
17670         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17671
17672 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17673
17674         * m32r.c: Include toplev.h.
17675         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17676         (gen_compare): Rename swap_p to must_swap to match uses.
17677         Add default abort case.
17678         (m32r_output_function_epilogue): Remove unused variables.
17679         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17680         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17681         define to empty parameter list.  Update all uses.
17682         (predicate decls): Use enum machine_mode not int.
17683         * m32r.md (movsi): Call abort, not fatal_insn.
17684         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17685
17686 1999-09-14  Andrew Haley  <aph@cygnus.com>
17687
17688         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17689         use $0 instead of 0.
17690
17691 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17692
17693         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17694         computation out of loop over hard regs.
17695
17696 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17697
17698         * function.c (identify_blocks): Don't shadow a variable in an
17699         outer scope.
17700         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17701         pushdecl, or poplevel to build up the new BLOCK tree.
17702         (expand_inline_function): Likewise.
17703         (integrate_parm_decls): Likewise.
17704
17705 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17706
17707         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17708
17709 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17710
17711         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17712         * invoke.texi: Document this change.
17713
17714 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17715
17716         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17717         Free the struct.
17718         (mark_emit_status): Renamed from mark_emit_state.
17719         * except.c (mark_eh_status): Renamed from mark_eh_state.
17720         Check not null before marking.
17721         (free_eh_status): New.
17722         * expr.c (mark_expr_status, free_expr_status): New.
17723         * function.c (free_machine_status): New.
17724         (free_after_parsing): New.
17725         (free_after_compilation): Move bits to free_after_parsing; call
17726         free_eh_status, free_expr_status; zero the marked members of the
17727         function state.
17728         (prepare_function_start): No can_garbage_collect.
17729         Call init_eh_for_function.
17730         (expand_dummy_function_end): Free up current_function state.
17731         (mark_function_status): Renamed from mark_function_state.
17732         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17733         * function.h (struct function): No can_garbage_collect.
17734         (free_machine_status, free_after_parsing): Declare.
17735         (free_eh_status, free_expr_status): Declare.
17736         * ggc.h (mark_expr_status): Declare.
17737         * stmt.c (free_stmt_status): Free the struct.
17738         (mark_stmt_status): Renamed from mark_stmt_state.
17739         (init_stmt): Don't call init_eh.
17740         (init_stmt_for_function): Don't call init_eh_for_function.
17741         * toplev.c (compile_file): Call init_eh.
17742         (rest_of_compilation): Free basic block info before ggc_collect.
17743         Call free_after_parsing; conditionally call free_after_compilation.
17744         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17745         Check not null before marking.
17746         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17747
17748 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17749
17750         * c-lex.c (yylex): Initialize warn.
17751
17752 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17753
17754         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17755         register when performing secondary reloads for the SAR register.
17756
17757 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17758
17759         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17760         (NOTE_BLOCK): New macro.
17761         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17762         * function.h (identify_blocks): Change prototype.
17763         * function.c (identify_blocks): Simplify.
17764         (reorder_blocks): Likewise.
17765         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17766         NOTE_INSN_BLOCK_{BEG,END}.
17767         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17768         the list of saved notes if the note isn't a
17769         NOTE_INSN_BLOCK_{BEG,END}.
17770         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17771         NOTE_BLOCK_NUMBER.
17772         (reemit_notes): Adjust recreation of notes to reflect new saved
17773         note structure.
17774         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17775         printing a block note.
17776         * stmt.c (block_vector): Remove.
17777         (find_loop_tree_blocks): Simplify.
17778         (unroll_block_trees): Likewise.
17779         * tree.h (reorder_block): Change prototype.
17780
17781 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17782
17783         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17784         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17785         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17786         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17787         (atexit, exit): Simplify.
17788         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17789         * config/lots: Remove defns of HAVE_ATEXIT.
17790
17791 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17792
17793         * calls.c (precompute_arguments): Fix typo in comment.
17794         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17795         TARGET_EXPR.
17796
17797 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17798
17799         * dsp16xx.c (override_options): Fix typos in GC root registration.
17800
17801 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17802
17803         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17804         from config/svr4.h.
17805         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17806         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17807         (CC1_SPEC): Likewise.
17808
17809 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17810
17811         * genattr.c (main): Add extern prototype.  Call return, not exit.
17812         * genattrtab.c (main): Likewise.
17813         * gencheck.c (main): Likewise.
17814         * gencodes.c (main): Likewise.
17815         * genconfig.c (main): Likewise.
17816         * genemit.c (main): Likewise.
17817         * genextract.c (main): Likewise.
17818         * genflags.c (main): Likewise.
17819         * gengenrtl.c (main): Likewise.
17820         * genopinit.c (main): Likewise.
17821         * genoutput.c (main): Likewise.
17822         * genpeep.c (main): Likewise.
17823         * genrecog.c (main): Likewise.
17824
17825         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17826         * genattrtab.c (get_insn_name): Likewise.
17827         * gencodes.c (get_insn_name): Likewise.
17828         * genconfig.c (get_insn_name): Likewise.
17829         * genemit.c (get_insn_name): Likewise.
17830         * genextract.c (get_insn_name): Likewise.
17831         * genflags.c (get_insn_name): Likewise.
17832         * genopinit.c (get_insn_name): Likewise.
17833         * genpeep.c (get_insn_name): Likewise.
17834
17835         * gencheck.c (usage): Add static prototype.
17836         * genextract.c (print_path): Constify a char*.
17837         * genopinit.c (optabs): Likewise.
17838         * genoutput.c (operand_data, data, output_predicate_decls,
17839         compare_operands): Likewise.
17840         * genrecog.c (write_tree): Add default case in switch.
17841
17842 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17843
17844         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17845
17846         * print-rtl.c (get_insn_name): Remove prototype.
17847
17848         * toplev.h (progname): Declare const.
17849
17850         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17851         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17852         dump_sched_info, dump_local_alloc, regset_release_memory,
17853         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17854         error_with_file_and_line, error_with_decl, error_for_asm, error,
17855         fatal, warning_with_file_and_line, warning_with_decl, warning,
17856         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17857         Remove redundant prototypes.
17858
17859         (notice, check_lang_option, report_file_and_line, vnotice,
17860         mark_file_stack): Add static prototype.
17861         (set_fatal_function): Add prototype.
17862         (vnotice, report_file_and_line, set_fatal_function,
17863         check_lang_option): Constify a char*.
17864         (main): Prototype.  Call return, not exit.
17865
17866 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17867
17868         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17869
17870         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17871
17872         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17873
17874         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17875
17876 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17877
17878         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17879         behave as if it's zero in all cases.
17880         (expand_function_start): Adjust call to assign_parms.
17881         * tree.h (assign_parms): Adjust prototype.
17882         * objc/objc-act.c (hack_method_prototype): Adjust call to
17883         assign_parms.
17884
17885 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17886
17887         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17888         arg_pointer_rtx fixed if the argument pointer register is
17889         not fixed.
17890         (NONZERO_BASE_PLUS_P): Likewise.
17891
17892 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17893
17894         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17895         match_insn2 to match_insn.
17896         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17897
17898 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17899
17900         * Makefile.in (USER_H): Remove va-foo.h.
17901
17902         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17903         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17904         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17905         va-spur.h,va-v850.h}: Remove.
17906
17907 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17908
17909         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17910         (in_return_delay): Use it instead of match_insn.
17911
17912 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17913
17914         * config/alpha/va_list.h (va-alpha.h): Do not include.
17915         (__gnuc_va_list): Typedef as in varargs.h.
17916
17917 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17918
17919         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17920         DECL_LIVE_RANGE_RTL.
17921
17922 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17923
17924         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17925         not NOTE_BLOCK_NUMBER.
17926         (expand_eh_region_end): Likewise.
17927         (find_exception_handler_labels): Likewise.
17928         (scan_region): Likewise.
17929         (exception_optimize): Likewise.
17930         (update_rethrow_references): Likewise.
17931         (set_insn_eh_region): Likewise.
17932         * final.c (final_scan_insn): Likewise.
17933         * flow.c (make_edges): Likewise.
17934         * integrate.c (expand_inline_function): Likewise.
17935         * print-rtl.c (print_rtx): Likewise.
17936
17937 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17938
17939         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17940         terms of builtin functions and types.
17941
17942         * mips.c (mips_build_va_list): New.
17943         (mips_va_start, mips_va_arg): New.
17944         * mips.h (BUILD_VA_LIST_TYPE): New.
17945         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17946
17947         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17948         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17949         * sh.h (BUILD_VA_LIST_TYPE): New.
17950         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17951
17952 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17953
17954         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17955         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17956         (struct insn_data): Likewise with n_operands, n_dups,
17957         n_alternatives, output_format.
17958         * regclass.c (scan_one_insn): Cast n_operands to int before
17959         arithmetic inside comparison.
17960
17961 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17962
17963         * toplev.c (compile_function): Unconditionally emit nop.
17964
17965 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17966
17967         * haifa-sched.c (actual_hazard): Move declaration of variable
17968         `this_cost' into the scope where it is used.
17969
17970 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17971
17972         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17973         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
17974         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17975
17976         * genrecog.c (make_insn_sequence): Call memset, not bzero.
17977
17978         * jump.c (find_insert_position): Don't declare or define unless
17979         !HAVE_conditional_arithmetic.
17980         (returnjump_p_1, delete_prior_computation): Add static prototypes.
17981
17982         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17983
17984         * recog.c (offsettable_address_p): Prototype function pointer.
17985         (preprocess_constraints): Call memset, not bzero.
17986
17987         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
17988         (gcc_obstack_init): Don't declare.
17989         (fix_sizetype): Add static prototype.
17990         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17991         (tree_cons): Call memset, not bzero.
17992
17993         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17994         definition in macro ASM_WEAKEN_LABEL.
17995         (mark_const_hash_entry): Add static prototype.
17996
17997 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17998
17999         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18000
18001         * unroll.c (find_common_reg_term, subtract_reg_term,
18002         loop_find_equiv_value): Add static prototypes.
18003         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18004         (copy_loop_body): Remove unreachable break statement.
18005
18006         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18007
18008         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18009
18010 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18011
18012         Undo some changes from the gcc2 merge:
18013         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18014         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18015         pointers.
18016
18017         Undo this change:
18018         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
18019         * emit-rtl.c (gen_lowpart_common): Disable optimization of
18020         initialized float-int union if the value is a NaN.
18021
18022 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18023
18024         * gthr-win32.h: New file.
18025
18026         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18027         shared as a valid attribute.
18028         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18029         * extend.texi: Document `shared' variable attribute.
18030
18031 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
18032
18033         * configure.in: Handle --enable-threads on FreeBSD.
18034         * configure: Rebuit.
18035
18036 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18037
18038         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18039         thread support.
18040         * configure: Rebuilt.
18041
18042 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
18043                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18044                           Rosimildo DaSilva <rdasilva@connecttel.com>
18045
18046         * configure.in (m68k-*-rtemscoff*): Added.
18047         * configure.in (mips64orion-*-rtems*): Converted to ELF.
18048         * configure.in (sparc-*-rtemsaout*): Added as alias for old
18049         sparc-rtems configuration.
18050         * configure.in (sparc-*-rtemself*): Added.
18051         * configure.in (sparc-*-rtems*): Now ELF not a.out.
18052         * config/i386/rtems.h: Added comment.
18053         * config/sparc/rtemself.h: New file.
18054
18055         * configure.in (m68k-rtemself): Added.
18056         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18057         and DWARF_DEBUGGING_INFO.
18058         * config/m68k/crti.s: New file.
18059         * config/m68k/crtn.s: New file.
18060         * config/m68k/t-crtstuff: New file.
18061         * config/m68k/rtemself.h: New file.
18062
18063         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18064         global ctor/dtor and C++ exception handling.
18065         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18066         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18067         ENDFILE_SPEC.
18068         * config/i386/t-rtems-i386: New File.
18069
18070 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
18071
18072         * stmt.c (expand_end_case): Return right away if the case stack is
18073         empty.
18074
18075 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
18076
18077         * Makefile.in (version.c): Remove rule incorrectly brought in from
18078         the gcc2 merge.
18079
18080 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
18081
18082         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
18083         * msdos/top.sed:  Take into account a prepended $(SHELL) to
18084         move-if-change.
18085         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
18086
18087         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18088
18089 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18090
18091         * regmove.c (fixup_match_1): Don't change an unchanging register.
18092         (stable_but_for_p): Renamed to:
18093         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
18094         Changed all callers.
18095
18096 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
18097
18098         * loop.c (strength_reduce): Don't call reg_used_between_p if the
18099         insn from BL2 is after the insn from BL.
18100
18101 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
18102
18103         * recog.h (INSN_OUTPUT_FORMAT_*): New.
18104         (struct insn_data): Merge `template' and `outfun' into `output'.
18105         Add `output_format'.
18106         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18107         (struct data): Remove `outfun'; add `output_format'.
18108         (name_for_index): Remove declaration.
18109         (output_insn_data): Handle output formats.
18110         (process_template): Emit the bare array for @.
18111         (gen_expand, gen_split): Set output_format to NONE.
18112         * output.h (get_insn_template): Declare.
18113         * final.c (get_insn_template): New.
18114         (final_scan_insn): Use it.
18115         * toplev.c (compile_file): Likewise.
18116
18117         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18118         * i860/i860.c (output_delayed_branch): Likewise.
18119         (output_delay_insn): Likewise.
18120
18121 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18122
18123         * rtl.c (obstack_alloc_rtx): Removed.
18124
18125 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
18126
18127         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
18128
18129 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
18130
18131         * i386.c (call_insn_operand): Reject const_int.
18132         (expander_call_insn_operand): Use call_insn_operand.
18133
18134 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18135
18136         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
18137
18138 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
18139
18140         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
18141         Use DImode operation.
18142
18143 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
18144
18145         * gcc.c: Include sys/resource.h.
18146         (report_times): New flag.
18147         (execute):  If report_times is set, calculate and report the
18148         CPU time consumed by each subprocess.
18149
18150         (rus, prus): New globals.
18151         (option_map): Add --time.
18152         (display_help): Document -time.
18153         (process_command): Set report_times if -time is given.
18154         Turn off -pipe if -time is given.
18155
18156         * invoke.texi: Document new option -time.
18157
18158         * configure.in: Check for getrusage.  Check if we have to
18159         prototype getrusage.
18160         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18161         * configure: Regenerate.
18162         * config.in: Regenerate.
18163
18164 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
18165
18166         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18167         fields.
18168
18169 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
18170
18171         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18172         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18173         (nan): Return _thenan_sf or _thenan_df as appropriate.
18174         (L_thenan_sf): Define _thenan_sf.
18175         (L_thenan_df): Define _thenan_df.
18176
18177         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18178         (DPBIT_FUNCS): Add _thenan_df.
18179
18180 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
18181
18182         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
18183         TYPE_SIZE_UNIT.
18184
18185 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18186
18187         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18188
18189         * gcc.h: New file.
18190         (lang_specific_driver): Don't take a function pointer parameter.
18191         All callers changed.
18192
18193         * gcc.c: Include gcc.h.
18194         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18195         lang_specific_extra_outfiles, fatal): Don't declare.
18196         (multilib_defaults_raw): Constify.
18197         (read_specs): Call memset, rather than bzero.
18198         (main): Call return, not exit.
18199         (lookup_compiler): Call memcpy, not bcopy.
18200         (fatal): Make extern.
18201
18202         * cppspec.c: Include gcc.h.
18203         (lang_specific_driver): Initialize variable `quote'.  Constify a
18204         char*.  All calls to the function pointer parameter now
18205         explicitly call `fatal'.
18206
18207         * gccspec.c (lang_specific_driver): Include gcc.h.
18208
18209 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18210
18211         * arm.c (note_invalid_constants): Use recog_data.operand_type
18212         for recog_op_type.
18213
18214 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18215
18216         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18217         Declare.
18218
18219         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18220         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18221         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18222         reload_secondary_in_reload, reload_secondary_out_reload,
18223         reload_secondary_in_icode, reload_secondary_out_icode,
18224         reload_reg_rtx, reload_when_needed): Delete declarations.
18225         (struct reload): New structure.
18226         (rld): Declare new array.
18227         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18228         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18229         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18230         reload_secondary_in_reload, reload_secondary_out_reload,
18231         reload_secondary_in_icode, reload_secondary_out_icode,
18232         reload_reg_rtx, reload_when_needed): Delete definitions.
18233         (rld): New array.
18234         (whole file): Replace uses of the deleted arrays with uses of rld.
18235         * reload1.c (whole file): Replace uses of the deleted arrays with
18236         uses of rld.
18237         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18238         explicit loops, not with bcopy.
18239
18240 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18241
18242         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18243         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18244         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18245         insn_name): Delete and consolidate into new structures.
18246         (insn_operand_predicate_fn): New.
18247         (insn_output_fn): New.
18248         (insn_gen_fn): New.
18249         (struct insn_operand_data): New.
18250         (struct insn_data): New.
18251         (insn_data): New.
18252         (OUT_FCN): Update for insn_data change.
18253         * builtins.c (expand_builtin_strlen): Likewise.
18254         (expand_builtin_memcmp): Likewise.
18255         * combine.c (make_extraction, simplify_comparison): Likewise.
18256         * cse.c (canon_reg, cse_insn): Likewise.
18257         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18258         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18259         (emit_store_flag): Likewise.
18260         * expr.c (convert_move, emit_block_move): Likewise.
18261         (clear_storage, emit_push_insn, expand_increment): Likewise.
18262         (do_store_flag): Likewise.
18263         * expr.h (GEN_FCN): Likewise.
18264         (insn_gen_function): Die.
18265         * final.c (final_scan_insn): Update for insn_data change.
18266         (output_asm_name): Likewise.
18267         * function.c (fixup_var_refs_1): Likewise.
18268         * loop.c (check_dbra_loop): Likewise.
18269         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18270         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18271         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18272         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18273         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18274         * regmove.c (gen_add3_insn): Likewise.
18275         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18276         (find_reloads, find_reloads_address_1): Likewise.
18277         (debug_reload_to_stream): Likewise.
18278         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18279         * stmt.c (expand_end_case): Likewise.
18280         * toplev.c (compile_file): Likewise.
18281
18282         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18283         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18284
18285         * print-rtl.c (insn_name_ptr): Remove declaration.
18286         (get_insn_name): Declare.
18287         (print_rtx): Use it.
18288         * genoutput.c (insn_name_ptr): Remove.
18289         (next_operand_number): New.
18290         (struct operand_data): New.
18291         (null_operand, odata, odata_end): New.
18292         (struct data): Use struct operand_data.
18293         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18294         (get_insn_name): Renamed from name_for_index.
18295         (output_prologue): Define NO_MD_PROTOTYPES.
18296         (output_predicate_decls): Break out from output_epilogue.
18297         Iterate over the operands list.
18298         (output_operand_data): Break out from output_epilogue.  Emit
18299         just the operands list.
18300         (output_insn_data): Break out from output_epilogue.  Emit just
18301         the insn data.
18302         (output_epilogue): Remove.
18303         (output_get_insn_name): New.
18304         (constraints, op_n_alternatives, predicates, address_p): Die.
18305         (modes, strict_low, seen): Die.
18306         (scan_operands): Take new param `d' instead of writing to
18307         seven global variables.
18308         (compare_operands): New.
18309         (place_operands): New.
18310         (validate_insn_alternatives): Update for struct data change.
18311         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18312         scan_operands; call place_operands.
18313         (gen_peephole, gen_expand, gen_split): Likewise.
18314         (main): Update for new output routines.
18315
18316         * genattr.c (insn_name_ptr): Remove.
18317         (get_insn_name): New function.
18318         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18319         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18320         * genrecog.c: Likewise.
18321
18322         * alpha.md (adddi3): Make `pattern' array static.
18323
18324 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18325
18326         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18327         c4x_cpu_version_string): Constify char *.
18328         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18329         c4x_cpu_version_string): Likewise.
18330
18331 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18332
18333         * tree.c (save_tree_status): Revert 10 Sep change.
18334         (restore_tree_status): Likewise.  Call obstack_free with NULL
18335         before freeing the obstack proper.
18336
18337 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18338
18339         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18340
18341         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18342         surrounding context.
18343
18344 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18345
18346         * tree.c (type_hash_canon): Put all types in the hash-table, when
18347         GC'ing.
18348
18349 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18350
18351         * recog.h (struct recog_data, recog_data): New.
18352         (recog_foo variables): Kill.
18353         * recog.c (recog_operand, recog_operand_loc): Kill.
18354         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18355         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18356         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18357         (recog_data): Define.
18358         (extract_insn): Update all recog_foo references to use recog_data.
18359         (preprocess_constraints, constrain_operands): Likewise.
18360         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18361         * genattrtab.c (main): Likewise.
18362         * genextract.c (main): Likewise.
18363         * genoutput.c: Likewise.
18364         * genrecog.c (write_subroutine, main): Likewise.
18365         * local-alloc.c (block_alloc): Likewise.
18366         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18367         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18368         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18369         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18370         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18371         (reload_cse_simplify_operands): Likewise.
18372
18373         * arc/arc.c (arc_final_prescan_insn): Likewise.
18374         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18375         * h8300/h8300.c (notice_update_cc): Likewise.
18376         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18377         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18378         * mn10200/mn10200.c (notice_update_cc): Likewise.
18379         * mn10300/mn10300.c (notice_update_cc): Likewise.
18380         * romp/romp.c (update_cc): Likewise.
18381         * sparc/sparc.c (check_pic): Likewise.
18382         * v850/v850.c (notice_update_cc): Likewise.
18383
18384         * genemit.c (main): Don't declare recog_operand.
18385
18386 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18387
18388         * ggc.h (rtvec_def): Forward declare.
18389         (tree_node): Likewise.
18390         (ggc_root): Define.
18391         (roots): Declare.
18392         (ggc_set_mark_rtx): Add prototype.
18393         (ggc_set_mark_rtvec): Likewise.
18394         (ggc_set_mark_tree): Likewise.
18395         * ggc-simple.c (ggc_root): Don't define.
18396         (roots): Don't declare.
18397         (ggc_mark_rtx): Remove.
18398         (ggc_mark_rtvec): Likewise.
18399         (ggc_mark_tree): Likewise.
18400         (ggc_mark_varray): Likewise.
18401         (ggc_mark_tree_hash_table_entry): Likewise.
18402         (ggc_mark_tree_hash_table): Likewise.
18403         (ggc_set_mart_rtx): New function.
18404         (ggc_set_mark_rtvec): Likewise.
18405         (ggc_set_mark_tree): Likewise.
18406         (ggc_add_root): Remove.
18407         (ggc_add_rtx_root): Likewise.
18408         (ggc_remove_tree_root): Likewise.
18409         (ggc_add_string_root): Likewise.
18410         (ggc_add_tree_varray_root): Likewise.
18411         (ggc_add_tree_hash_table_root): Likewise.
18412         (ggc_del_root): Likewise.
18413         (ggc_mark_rtx_ptr): Likewise.
18414         (ggc_mark_tree_ptr): Likewise.
18415         (ggc_mark_string_ptr): Likewise.
18416         (ggc_mark_tree_varray_ptr): Likewise.
18417         (ggc_mark_tree_hash_table_ptr): Likewise.
18418         * ggc-common.c: New file.
18419         * Makefile.in (OBJS): Add ggc-common.o.
18420         (ggc-common.o): List dependencies.
18421
18422 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18423
18424         * cppalloc.c (xstrdup): Use memcpy.
18425         * cpperror.c (cpp_print_containing_files): Don't use
18426         cpp_notice.
18427         * cpplib.c (conditional_skip): Set temp->lineno.
18428         (do_endif): Make error message less obscure.
18429         (if_directive_name): New function.
18430         (cpp_get_token [case EOF]): Unwind the if stack and generate
18431         error messages for each unterminated conditional in this file.
18432         (parse_string):  Do not behave differently if -traditional.
18433
18434 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18435
18436         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18437         va_list decomposing to pointer-type.
18438         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18439         (rs6000_va_arg): Likewise.
18440
18441 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18442
18443         * except.c (start_dynamic_handler): Compute size using
18444         STACK_SAVEAREA_MODE.
18445
18446 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18447
18448         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18449         include directory headers.  Don't define strrchr.  Don't provide
18450         my_* replacement functions.  Prefer PTR over `pointer_type'.
18451         Don't prototype system functions.  Don't redefine getopt.
18452
18453         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18454         safe_read, safe_write, save_pointers, restore_pointers,
18455         is_id_char, in_system_include_dir, directory_specified_p,
18456         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18457         find_corresponding_lparen, referenced_file_is_newer,
18458         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18459         process_aux_info_file, identify_lineno, check_source,
18460         seek_to_line, forward_to_next_token_char, output_bytes,
18461         output_string, output_up_to, other_variable_style_function,
18462         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18463         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18464         find_static_definition, connect_defs_and_decs, add_local_decl,
18465         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18466         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18467         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18468         scan_for_missed_items, edit_file, string_list_cons): Add static
18469         prototypes.
18470         (standard_exec_prefix, target_machine, target_version,
18471         default_syscalls_dir, string_list, string_list_cons, find_file,
18472         do_cleaning): Constify a char*.
18473         (safe_read, safe_write): Use PTR, not a char*.
18474         (is_id_char): Take an int, not a char.
18475         (main): Add prototype.  Call return, not exit.
18476
18477 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18478
18479         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18480         when comparing types.
18481
18482 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18483
18484         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18485         (strength_reduce): Release the varrays from the no-bivs early exit.
18486
18487         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18488         the loop over the registers.
18489
18490         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18491         for a new obstack.
18492         (restore_tree_status): Check that instead when freeing the obstack.
18493
18494 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18495
18496         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18497         as pointers.
18498
18499 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18500
18501         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18502         operand size modifiers.
18503
18504 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18505
18506         * c-common.c (c_common_nodes_and_builtins): Don't build
18507         va_list_type_node.
18508         * c-common.h (enum c_tree_index and related accesor macros): Remove
18509         everything now declared in tree.h.
18510         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18511         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18512         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18513         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18514         unsigned_type_node, ptr_type_node, va_list_type_node,
18515         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18516         (init_decl_processing): Call build_common_tree_nodes and
18517         build_common_tree_nodes_2 instead of building their nodes here.
18518         Don't add roots for these nodes.
18519         * stor-layout.c (size_zero_node, size_one_node): Delete.
18520         (set_sizetype): Make a new node for bitsizetype each time.
18521         * tree.c (global_trees): New variable.
18522         (init_obstacks): Add a gc root for it.
18523         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18524         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18525         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18526         (build_common_tree_nodes): New function.
18527         (fix_sizetype): New function.
18528         (build_common_tree_nodes_2): New function.
18529         * tree.h (enum tree_index): New.
18530         (global_trees): Declare.
18531         Add accessor macros for all nodes now moved to global_trees.
18532         Delete their declarations.
18533
18534 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18535
18536         * c-decl.c (finish_function): When processing a nested function,
18537         push and pop GC context around rest_of_compilation.
18538
18539 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18540
18541         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18542         Default ix86_arch to PROCESSOR_I386.
18543         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18544         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18545         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18546         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18547         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18548         (EXTRA_SPECS): Remove deleted specs.
18549
18550 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18551
18552         * function.c (assign_stack_local_1): Allocate from
18553         function->x_frame_offset, not frame_offset.
18554
18555 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18556
18557         * ggc.h (lang_cleanup_tree): Remove.
18558         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18559         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18560
18561         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18562         TYPE_LANG_SPECIFIC when garbage collecting.
18563         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18564         (lang_cleanup_tree): Remove.
18565
18566 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18567
18568         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18569         * crtstuff.c: Not here.
18570         * dwarf2out.c: Or here.
18571         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18572         info.
18573
18574 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18575
18576         * function.h (free_after_compilation): Remove decl parameter.
18577         (free_varasm_status0: Likewise.
18578         (free_emit_status): Likewise.
18579         (free_stmt_status): Likewise.
18580         (free_after_compilation): Likewise.
18581         (init_lang_status): New variable.
18582         (free_lang_status): Likewise.
18583         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18584         * function.c (init_lang_status): New variable.
18585         (free_lang_status): Likewise.
18586         (push_function_context_to): Don't set function::decl here.
18587         (free_after_copmilation): Make decl parameter implicit.  Call
18588         free_lang_status if defined.
18589         (prepare_function_start): Call init_lang_status if defined.
18590         (init_function_start): Set function::decl here.
18591         * profile.c (output_func_start_profiler): Don't call pushdecl
18592         until we've actually started the function.
18593         * stmt.c (free_stmt_status): Make decl parameter implicit.
18594         * toplev.c (rest_of_compilation): Don't pass decl to
18595         free_after_compilation.
18596         * varasm.c (free_varasm_status): Likewise.
18597
18598 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18599
18600         * except.c (call_get_eh_context): Add root when allocating static
18601         tree variable.
18602
18603 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18604
18605         * arm.c: Include "ggc.h".
18606         (arm_add_gc_roots): New function.
18607         (arm_override_options): Call it.
18608         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18609
18610         * arm.md (define_asm_attributes): Add a pool_range attribute.
18611
18612 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18613
18614         * extend.texi (Volatiles): New node.
18615
18616 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18617
18618         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18619         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18620         (struct ggc_any): Replace `mark' with `magic_mark'.
18621         (ggc_alloc_string): Use memcpy, not bcopy.
18622         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18623         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18624         (ggc_free_any): New.
18625         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18626         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18627         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18628         Use IS_MARKED. Use ggc_free_any.
18629
18630 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18631
18632         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18633
18634 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18635
18636         * toplev.c (main): Always init_ggc.
18637
18638 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18639
18640         * except.c (find_all_handler_type_matches): Free the list if
18641         we found no matches.
18642
18643         * combine.c (SUBST): Break out to a real function do_SUBST.
18644         (SUBST_INT): Likewise.
18645         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18646         (pre_insert): Free `inserted'.
18647         * loop.c (basic_induction_var): Always set `location'.
18648
18649         * function.c (expand_function_end): Add initial_trampoline as a root.
18650         * rtl.h (init_varasm_once): Declare.
18651         * toplev.c (compile_file): Call it.
18652         * ggc-simple.c (ggc_mark_string_ptr): New.
18653         (ggc_add_string_root): New.
18654         (ggc_collect): Disable collection avoidance temporarily.
18655         * ggc.h (ggc_add_string_root): Declare.
18656         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18657         * optabs.c (init_libfuncs): Likewise.
18658         * varasm.c (named_section): Use ggc_alloc_string.
18659         (make_function_rtl): Likewise.
18660         (make_decl_rtl): Likewise.
18661         (assemble_static_space): Likewise.
18662         (assemble_trampoline_template): Likewise.
18663         (output_constant_def): Likewise.
18664         (force_const_mem): Likewise.
18665         (mark_const_hash_entry): New.
18666         (mark_pool_sym_hash_table): New.
18667         (mark_varasm_state): Use it.
18668         (init_varasm_once): New.
18669
18670         * expr.h (init_one_libfunc): Declare.
18671         * optabs.c (init_one_libfunc): New.
18672         (init_optabs): Use it.
18673         * config/gofast.h: Likewise.
18674         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18675         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18676
18677 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18678
18679         * Makefile.in (cppexp.o): Depend on cpphash.h.
18680         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18681         Include cpphash.h.
18682         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18683         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18684         redefining poisoned identifiers, etc.
18685         (do_undef): Don't allow poisoned identifiers to be undefined.
18686         (do_pragma): Add #pragma poison.
18687         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18688
18689         * cccp.c: Add T_POISON node type.
18690         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18691         poisoned xxx.
18692         (do_define): Generalise to handle poisoned definitions,
18693         redefining poisoned identifiers, etc.
18694         (do_undef): Don't allow poisoned identifiers to be undefined.
18695         (do_pragma): Add #pragma poison.
18696         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18697
18698         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18699         * c-pragma.h: Add ps_poison state.  We now always have generic
18700         pragmas.
18701
18702 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18703
18704         * ggc.h (ggc_alloc): New function.
18705         (ggc_mark): Likewise.
18706         * ggc-simple.c (ggc_any): New structure.
18707         (ggc_status): Add anys.
18708         (n_anys_collected): New variable.
18709         (ggc_alloc): Define.
18710         (ggc_mark): Likewise.
18711         (ggc_collect): Collect the anys.
18712
18713 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18714
18715         * c-decl.c (mark_binding_level): Make static to match prototype.
18716
18717 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18718
18719         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18720
18721 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18722
18723         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18724         will use into account.  Expand the max width to 5.
18725         * rtl.c: Likewise.
18726
18727 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18728
18729         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18730         for the rtx length.
18731
18732 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18733
18734         * alpha.md (call value patterns): Remove the result predicates.
18735
18736 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18737
18738         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18739         last change.
18740
18741 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18742
18743         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18744         changed from extern char *, to extern PTR.  Also fix typo in
18745         NEED_DECLARATION_REALLOC test.
18746
18747         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18748
18749 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18750
18751         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18752         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18753         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18754         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18755
18756         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18757
18758         * cccp.c (pcfinclude): Likewise.
18759
18760         * global.c (allocno_compare): Likewise.
18761
18762         * haifa-sched.c (rank_for_schedule): Likewise.
18763
18764         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18765
18766         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18767
18768         * stupid.c (stupid_reg_compare): Likewise.
18769
18770         * tree.c (_obstack_allocated_p): Likewise.
18771
18772         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18773
18774 1999-09-08  Bruce Korb  autogen@linuxbox.com
18775
18776         * Makefile.in: Give the hapless gperf user a hint about
18777         why "gperf -F" fails.
18778
18779 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18780
18781         * lists.c: Include ggc.h.
18782         (zap_lists): New.
18783         (init_EXPR_INSN_LIST_cache): Install it.
18784
18785         * ggc-simple.c (init_ggc): Absorb the old init.
18786         (ggc_push_context): Use xcalloc.
18787         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18788         (ggc_collect): Add [rvts] tags to the collection stats.
18789
18790 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18791
18792         * cccp.c (main): Fix handling of -include and -imacros options.
18793
18794 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18795
18796         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18797
18798 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18799
18800         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18801         genrtl.c.
18802
18803 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18804
18805         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18806         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18807         and SET_DEST. Update comment.
18808
18809 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18810
18811         * config/c4x/c4x.c: Include ggc.h.
18812         (c4x_add_gc_roots): New function.
18813         (c4x_override_options): Call c4x_add_gc_roots.
18814
18815 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18816
18817         * defaults.h (TARGET_ESC): Move ...
18818         * system.h: ... here, where Linas had it in the first place.  Silly me.
18819
18820 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18821
18822         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18823         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18824         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18825         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18826         * defaults.h (TARGET_ESC): Add default.
18827
18828 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18829
18830         * configure.in: add i370-*-openedition, i370-*-mvs and
18831         i370-*-linux targets
18832
18833 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18834
18835         * dsp16xxx.c: Include ggc.h
18836         (override_options): Mark GC roots.
18837         * mn10200.c: Include ggc.h.
18838         (asm_file_start): Mark GC roots.
18839         * tahoe.c: Include ggc.h.
18840         (extensible_operand): Mark GC roots.
18841
18842 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18843
18844         * README: Add section discussing status of ELF ABI.
18845         * i370.c: Fix misc spelling mistakes.
18846         (i370_label_scan): Updated notes, exception handling.
18847         (i370_function_prolog): Simplify ELF stack handling.
18848         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18849         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18850         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18851         * i370.md: (movdi): Add notes.
18852         (floatsidf2): Use stack not rtca for scratch float area.
18853         (iorsi3): Correct operand constraints.
18854         * x-oe: Restore TAROUTOPTS which are used by pax.
18855
18856 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18857
18858         * rs6000.c: Include ggc.h.
18859         (rs6000_add_gc_roots): New function.
18860         (override_options): Call it.
18861
18862 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18863
18864         * alpha.h (alpha_compare): New.
18865         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18866         * alpha.c: Likewise for the definitions.
18867         (alpha_emit_conditional_branch): Update for alpha_compare.
18868         (alpha_emit_conditional_move): Likewise.
18869         * alpha.md (cmpdf, cmpdi): Likewise.
18870         (setcc patterns): Likewise.  Zero alpha_compare after use.
18871         (sne): Optimize (x != 0) into (0U < x).
18872
18873 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18874
18875         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18876         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18877         (INIT_EXPANDERS): Remove.
18878         * alpha.c: Include ggc.h.
18879         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18880         (alpha_init_machine_status, alpha_mark_machine_status): New.
18881         (override_options): Install them.
18882         (struct machine_function): Moved to alpha.h.
18883         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18884         (alpha_init_expanders): Remove.
18885         (alpha_return_addr): Adjust to use current_function->machine.
18886         (alpha_ra_ever_killed): Likewise.
18887         (alpha_expand_epilogue): Likewise.
18888         * alpha.md (eh_epilogue): Likewise.
18889
18890 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18891                           Melissa O'Neill  <oneill@cs.sfu.ca>
18892                           Geoffrey Keating  <geoffk@cygnus.com>
18893
18894         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18895         call-used registers (call-saved registers must still be contiguous
18896         and end with r31, of course).
18897
18898 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18899
18900         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18901         (self_promoting_type_p): Delete.
18902         (self_promoting_args_p): Move ...
18903         * c-common.c: ... here.
18904         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18905         (simple_type_promotes_to): New.
18906         * builtins.c (lang_type_promotes_to): New.
18907         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18908         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18909         * c-common.h: ... here.
18910         (self_promoting_args_p, simple_type_promotes_to): Declare.
18911         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18912         (grokdeclarator): Likewise.
18913         * tree.h (lang_type_promotes_to): Declare.
18914
18915 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18916
18917         Add some machine-dependent GC roots.
18918         * sparc.c: Include ggc.h.
18919         (sparc_add_gc_roots): New function.
18920         (mark_ultrasparc_pipeline_state): Likewise.
18921         (override_options): Call sparc_add_gc_roots.
18922         * pa.c: Include ggc.h.
18923         (pa_add_gc_roots): New function.
18924         (mark_deferred_plabels): Likewise.
18925         (override_options): Call pa_add_gc_roots.
18926         * mips.c: Include ggc.h.
18927         (mips_add_gc_roots): New function.
18928         (override_options): Use it.
18929
18930 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18931
18932         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18933
18934         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18935         cpp_parse_expr): Add static prototypes.
18936         (parse_charconst): Don't cast away const-ness.
18937         (token): Constify a char*.
18938
18939         * cppfiles.c (file_name_list, include_hash, find_include_file,
18940         finclude, initialize_input_buffer): Constify a char*.
18941         (file_cleanup, find_position): Add static prototypes.
18942
18943         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18944         collect_expansion): Add static prototypes.
18945         (cpp_install, create_definition, monthnames): Constify a char*.
18946
18947         * cpphash.h (cpp_install): Likewise.
18948
18949         * cppinit.c (known_suffixes, default_include,
18950         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18951         (base_name, dump_special_to_buffer, initialize_dependency_output):
18952         Add static prototypes.
18953
18954         * cpplib.c (my_strerror): Constify a char*.
18955         (null_underflow, null_cleanup, skip_comment, copy_comment,
18956         copy_rest_of_line, handle_directive, pass_thru_directive,
18957         get_directive_token, read_line_number, cpp_print_file_and_line,
18958         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18959         v_cpp_warning_with_line, detect_if_not_defined,
18960         consider_directive_while_skipping): Add static prototypes.
18961         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18962         cpp_pedwarn_with_file_and_line): Constify a char*.
18963
18964         * cpplib.h (cpp_options, include_hash, progname, definition,
18965         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18966         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18967         find_include_file, deps_output, include_hash): Constify a char*.
18968
18969         * cppmain.c (progname): Constify.
18970         (main): Add prototype.  Use return, not exit.
18971
18972         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18973         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18974         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18975         check_protection): Add static prototype.
18976         (xfree): Remove.
18977         (progname, recognized_macrom, recognized_extern): Constify a char*.
18978         (main): Add prototype.
18979
18980         * gen-protos.c (progname): Constify a char*.
18981
18982 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
18983
18984         * emit-rtl.c (free_emit_status): Take decl as a parameter.
18985         (init_emit_once): Add more GC roots.
18986         * except.c (mark_func_eh_entry): New function.
18987         (mark_eh_node): Mark false_label and rethrow_label.
18988         (init_eh): Add more GC roots.
18989         * function.c (free_after_compilation): Take decl as a paramter.
18990         Call free_stmt_status.
18991         (mark_function_state): Don't assume x_parm_reg_stack_loc is
18992         non-NULL.
18993         * function.h (free_after_compilation): Change prototype.
18994         (free_varasm_status): Likewise.
18995         (free_emit_status): Likewise.
18996         (free_stmt_status): New function.
18997         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18998         Remove, replacing with ...
18999         (ggc_status): New structure.
19000         (ggc_chain): New variable.
19001         (init_gcc): Define.
19002         (ggc_push_context): New function.
19003         (ggc_pop_context): Likewise.
19004         (ggc_alloc_rtx): Adjust for use of ggc_chain.
19005         (ggc_alloc_rtvec): Likewise.
19006         (ggc_alloc_tree): Likewise.
19007         (ggc_alloc_string): Likewise.
19008         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19009         (ggc_mark_tree): Give language-dependent code a chance to mark
19010         `x' nodes.
19011         (ggc_mark_tree_varray): Handle empty arrays.
19012         (ggc_collect): Adjust for use of ggc_chain.  Clear
19013         bytes_alloced_since_last_gc.
19014         * ggc.h (ggc_pop_context): New function.
19015         (ggc_push_context): Likewise.
19016         * print-tree.c (print_node): Don't print obstacks when GC'ing.
19017         * stmt.c (free_stmt_status): New function.
19018         (init_stmt_for_function): Clear last_expr_value.
19019         * toplev.c (rest_of_compilation): Always call free_after_compilation.
19020         Conditionalize call to ggc_collect.
19021         (main): Call init_ggc.
19022         * tree.c (push_obstacks): Do the push, even when GC'ing.
19023         (push_obstacks_nochange): Likewise.
19024         (pop_obstacks): Liekwise.
19025         * varasm.c (free_varasm_status): Take decl as a parameter.
19026
19027 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19028
19029         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19030         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19031         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19032         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19033
19034 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
19035
19036         * pa/x-pa-mpeix: New file for the MPE port.
19037
19038         * pa/quadlib.asm: New file for long double support.
19039
19040         * configure.in: Add hppa1.0-*-mpeix for MPE port.
19041         * configure: Rebuilt.
19042
19043 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
19044
19045         * final.c (shorten_branches): Fix last change.
19046
19047 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
19048
19049         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19050
19051 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
19052
19053         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
19054         details.
19055
19056 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19057
19058         * c-aux-info.c (concat): Don't define.
19059
19060         * cccp.c (my_strerror): Likewise.  All callers changed to use
19061         xstrerror instead.
19062         (do_include): Call xstrdup, not xmalloc/strcpy.
19063         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19064         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19065
19066         * collect2.c (my_strsignal): Likewise.  All callers changed to use
19067         strsignal instead.
19068         (locatelib): Call xstrdup, not xmalloc/strcpy.
19069
19070         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19071
19072         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19073
19074         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19075
19076         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19077
19078         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19079
19080         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19081
19082         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19083         malloc/realloc.
19084         (find_all_handler_type_matches): Likewise.  Don't check return
19085         value.
19086         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19087         xmalloc, not malloc.
19088         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
19089
19090         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19091         (init_spec): Call xcalloc, not xmalloc/bzero.
19092         (set_spec): Call xstrdup, not save_string.
19093         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19094         (find_a_file): Call xstrdup, not xmalloc/strcpy.
19095         (process_command): Call xstrdup, not save_string.
19096         (main): Call xcalloc, not xmalloc/bzero.
19097
19098         * gcov.c (xmalloc): Don't define.
19099         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19100         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19101         (output_data): Call xcalloc, not xmalloc/bzero.
19102
19103         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19104
19105         * mips-tdump.c (xmalloc): Don't define.
19106         (print_symbol): Call xmalloc, not malloc.
19107         (read_tfile): Call xcalloc, not calloc.
19108
19109         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19110         Don't define.  All callers of xfree/my_strsignal changed to use
19111         free/strsignal instead.
19112         (allocate_cluster): Call xcalloc, not calloc.
19113
19114         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19115         Fix memory leak, free allocated memory.
19116
19117         * prefix.c (translate_name): Call xstrdup, not save_string.
19118         (update_path): Likewise.
19119
19120         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
19121
19122         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
19123         Don't define.  Callers of xfree/savestring2 changed to use
19124         free/concat instead.
19125
19126         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
19127         (init_elim_table): Likewise.
19128
19129         * resource.c (init_resource_info): Likewise.
19130
19131         * stupid.c (stupid_life_analysis): Likewise.
19132
19133         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
19134         (open_dump_file): Call concat, not xmalloc/strcpy/...
19135         (clean_dump_file): Likewise.
19136         (compile_file): Call xstrdup, not xmalloc/strcpy.
19137
19138 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
19139
19140         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
19141         * v850.c (v850_va_arg): New.
19142
19143 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19144
19145         * haifa-sched.c: Tidy comments.
19146
19147 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19148
19149         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19150         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19151         $(out_object_file)): Depend on ggc.h.
19152         * c-common.c: Include "ggc.h".
19153         (combine_strings): If doing GC, use ggc_alloc_string.
19154         * c-decl.c: Include "ggc.h".
19155         (ggc_p): Define with value 0.
19156         (mark_binding_level): New function.
19157         (init_decl_processing): Add GC roots.
19158         (mark_c_function_context): New function.
19159         (lang_mark_false_label_stack): New function.
19160         (lang_mark_tree): New function.
19161         (lang_cleanup_tree): New function.
19162         * c-lang.c: Include "ggc.h".
19163         (lang_init): Call c_parse_init.
19164         * c-lex.c: Include "ggc.h".
19165         (check_linenum): If doing GC, don't copy filenames to permanent
19166         obstack.
19167         * c-parse.in: Include "ggc.h".
19168         (c_parse_init): New function.
19169         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19170         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19171
19172         * except.c (mark_eh_state): Mark more state.
19173         * function.c (mark_function_state): Likewise.
19174         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19175         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19176         * toplev.c (mark_file_stack): New function.
19177         (compile_file): If doing GC, use ggc_alloc_string on input filename.
19178         (main): Add root for input_file_stack.
19179
19180         * i386.c: Include "ggc.h".
19181         (ix86_mark_machine_status): New function.
19182         (override_options): Set mark_machine_status.
19183
19184 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19185
19186         * tree.c (copy_node): Copy node contents also if doing GC.
19187
19188 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19189
19190         * collect2.c (scan_libraries): Fix double-thinko :-).
19191
19192 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
19193
19194         * collect2.c (scan_libraries): Fix thinko.
19195
19196         * cse.c (delete_trivially_dead_insns): Do not skip the last
19197         insn if it is a real insn.
19198
19199 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19200
19201         * Makefile.in (ggc-simple.o): Depend on hash.h.
19202         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19203         (ggc_mark_tree_varray): Likewise.
19204         (ggc_mark_tree_hash_table): Likewise.
19205         * ggc-simple.c: Include hash.h.
19206         (ggc_mark_tree_hash_table_ptr): New function.
19207         (ggc_mark_tree_hash_table_entry): Likewise.
19208         (ggc_mark_tree_hash_table): Likewise.
19209         (ggc_add_tree_hash_table_root): Likewise.
19210         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19211         rtx, when defining fields.
19212
19213 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19214
19215         * profile.c (output_func_start_profiler): Remove apparently
19216         nonsensical call to start_sequence.
19217
19218 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19219
19220         * clipper/clipper.c (clipper_va_start): Fix typos.
19221
19222         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19223         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19224         (spur_va_arg): New stub.
19225
19226         * configure.in: Comment out pyramid.
19227
19228 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19229
19230         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19231         don't conflict with the bits that win32, cygwin, and dgux
19232         defines.
19233
19234 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19235                           Bernd Schmidt <bernds@cygnus.co.uk>
19236
19237         * integrate.c (function_cannot_inline_p): Do not inline
19238         functions with forced labels.
19239
19240 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19241                           Bernd Schmidt <bernds@cygnus.co.uk>
19242                           Mark Mitchell  <mark@codesourcery.com>
19243
19244         * Makefile.in (ggc-simple.o): Depend on varray.h.
19245         (rtl.o): Depend on ggc.h.
19246         (genattrtab.o): Depend on ggc.h.
19247         (print-tree.o): Likewise.
19248         (fold-const.o): Likewise.
19249         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19250         (make_insn_raw): Don't cache insns when GC'ing.
19251         (emit_insn_before): Likewise.
19252         (emit_insn_after): Likewise.
19253         (emit_insn): Likewise.
19254         (start_sequence): Use xmalloc to allocate the sequence_stack.
19255         (end_sequence): Add free to free it.
19256         (gen_sequence): Don't cache insns when GC'ing.
19257         (clear_emit_caches): Don't use sequence_element_free_list.
19258         (init_emit): Use xcalloc, not xmalloc+bzero.
19259         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19260         * function.c (pop_function_context_from): Use free to free the
19261         fixup_var_refs_queue.
19262         (put_reg_into_stack): Allocate it with xmalloc.
19263         * genattrtab.c: Include ggc.h.
19264         (operate_exp): Don't use obstack_free when GC'ing.
19265         (simplify_cond): Likewise.
19266         (simplify_text_exp): Likewise.
19267         (optimize_attrs): Likewise.
19268         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19269         GC'ing.
19270         (gencode): Generate a #include for ggc.h.
19271         * ggc-callbacks.c (ggc_p): Define it to zero.
19272         * ggc-none.c (ggc_p): Likewise.
19273         * ggc-simple.c: Include varray.h.
19274         (ggc_mark_tree_varray): New function.
19275         (ggc_add_tree_varray_root): Likewise.
19276         (ggc_mark_tree_varray_ptr): Likewise.
19277         * ggc.h (ggc_p): Declare.
19278         (varray_head_tag): Likewise.
19279         (ggc_add_tree_varray_root): Declare.
19280         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19281         inconsistencies when GC'ing.
19282         * rtl.c: Include ggc.h.
19283         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19284         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19285         (rtx_free): Don't call obstack_free when GC'ing.
19286         * toplev.c (rest_of_compilation): Call ggc_collect after every
19287         pass, if GC'ing.
19288         * tree.c (push_obstacks): Do nothing, if GC'ing.
19289         (pop_obstacks_nochange): Likewise.
19290         (pop_obstacks): Likewise.
19291         (make_node): Use ggc_alloc_tree when GC'ing.
19292         (copy_node): Likewise.
19293         (get_identifier): Use ggc_alloc_string when GC'ing.
19294         (build_string): Likewise.
19295         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19296         (tree_cons): Likewise.
19297         (build1): Likewise.
19298         (type_hash_canon): Don't call obstack_free when GC'ing.
19299
19300 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19301
19302         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19303         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19304
19305 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19306                           Bernd Schmidt <bernds@cygnus.co.uk>
19307                           Mark Mitchell  <mark@codesourcery.com>
19308
19309         * Makefile.in (stor-layout.o): Depend on ggc.h.
19310         (expr.o): Depend on ggc.h.
19311         (profile.o): Depend on ggc.h.
19312         (stor-layout.o): Depend on ggc.h.
19313         * emit-rtl.c (init_emit_once): Add gc roots.
19314         * expr.c: Include ggc.h.
19315         (emit_block_move): Add gc roots.
19316         (clear_storage): Likewise.
19317         * expr.h (init_stor_layout_once): New function.
19318         * profile.c: Include ggc.h.
19319         (init_arc_profiler): profiler_label is a root.
19320         * scan.c (make_sstring_space): Trust xrealloc to function
19321         correctly with first parameter NULL.
19322         * stor-layout.c: Include ggc.h.
19323         (set_sizetype): Add gc root.
19324         (init_stor_layout_once): New function.
19325         * toplev.c (compile_file): Call it.
19326
19327 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19328                           Bernd Schmidt <bernds@cygnus.co.uk>
19329                           Mark Mitchell  <mark@codesourcery.com>
19330
19331         * Makefile.in (tree.o): Depend on ggc.h.
19332         (varasm.o): Likewise.
19333         (function.o): Likewise.
19334         (stmt.o): Likewise.
19335         (except.o): Likewise.
19336         (optabs.o): Likewise.
19337         (emit-rtl.o): Likewise.
19338         * emit-rtl.c: Include ggc.h.
19339         (sequence_element_free_list): Remove, and all references.
19340         (mark_sequence): New functions.
19341         (mark_emit_state): New function.
19342         * except.c: Include ggc.h.
19343         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19344         (mark_tree_label_node): New functions.
19345         (mark_eh_state): New function.
19346         * function.c: Include ggc.h.
19347         (mark_temp_slot, mark_function_chain): New functions.
19348         (mark_function_state): New function.
19349         (init_function_once): New function.
19350         * function.h (init_function_once): New function.
19351         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19352         * ggc.h (label_node): Declare.
19353         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19354         (lang_mark_false_label_stack): New function.
19355         (mark_temp_slot): Remove declaration.
19356         (mark_function_chain): Likewise.
19357         (mark_eh_state): Adjust prototype.
19358         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19359         Likewise.
19360         * optabs.c: Include ggc.h.
19361         (mark_optab): New function.
19362         (init_optabs): Add gc roots.
19363         * stmt.c: Include ggc.h.
19364         (mark_cond_nesting, mark_loop_nesting): New functions.
19365         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19366         (mark_stmt_state): New function.
19367         * toplev.c (compile_file): Call init_function_once.
19368         * tree.c: Include ggc.h.
19369         (type_hash): Move declaration earlier in file.
19370         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19371         (init_obstacks): Add gc roots.
19372         (mark_type_hash): New function.
19373         * varasm.c: Include ggc.h.
19374         (mark_pool_constant): New function.
19375         (mark_varasm_state): New function.
19376
19377 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19378
19379         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19380
19381 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19382
19383         * c-decl.c (struct language_function): Renamed from struct c_function.
19384         Delete elt NEXT.
19385         (c_function_chain): Delete.
19386         (push_c_function_context): New arg F.  Don't warn about nested
19387         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19388         c_function_chain.  Don't call push_function_context.
19389         (pop_c_function_context): New arg F.  Restore from there instead of
19390         from c_function_chain.  Don't call pop_function_context.  Clear out
19391         LANGUAGE field of F when done.
19392         * c-lang.c: Include "function.h"
19393         (lang_init): Initialize save_lang_status and restore_lang_status.
19394         * c-parse.in (nested_function, nested_function_notype): Warn about
19395         nested functions.  Call push_function_context/pop_function_context
19396         instead of the _c_ variants.
19397         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19398         prototype.
19399         * Makefile.in (c-lang.o): Update dependencies.
19400
19401         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19402         regno_pointer_flag, regno_pointer_align.
19403         (gen_reg_rtx): Use xrealloc to enlarge them.
19404         (free_emit_status): New function.
19405         * function.c (mark_machine_status, mark_lang_status): New variables.
19406         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19407         in some bits from assign_stack_local.  All callers changed to use new
19408         name.
19409         (assign_stack_local): Just call assign_stack_local_1.
19410         (free_after_compilation): New function.
19411         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19412         (trampoline_address): Likewise.
19413         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19414         (prepare_function_start): Explicitly clear some more variables.
19415         * function.h (struct function): New elt can_garbage_collect.
19416         (mark_machine_status, mark_lang_status): Declare variables.
19417         (free_after_compilation, free_emit_status, free_varasm_status,
19418         init_varasm_status): Declare functions.
19419         * toplev.c (rest_of_compilation): Call free_after_compilation when
19420         done with the current function.
19421         * varasm.c (free_varasm_status): New function.
19422
19423 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19424
19425         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19426         (EXPAND_BUILTIN_VA_ARG): Define.
19427         * sparc.c (sparc_va_start): New.
19428         (sparc_va_arg): New.
19429
19430 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19431
19432         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19433
19434 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19435
19436         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19437
19438 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19439
19440         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19441         (OBJS): Add $(GGC).
19442         (ggc-callbacks.o): New target.
19443         * ggc-callbacks.c: New file.
19444
19445 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19446
19447         * expr.h: Collapse individual optab and libfunc vars to arrays.
19448         (optab_index, libfunc_index): New enumerations.
19449         (optab_table, libfunc_table): New arrays.
19450         Add accessor macros for both.
19451
19452         * optabs.c (optab_table, libfunc_table): New.
19453         Delete declarations for individual optab and libfunc vars.
19454
19455 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19456
19457         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19458
19459 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19460
19461         * Makefile.in (GGC, GGC_LIB): New.
19462         (HOST_RTL): Include ggc-none.o.
19463         (ggc-simple.o): New target.
19464         (ggc-none.o): Likewise.
19465         * tree.h (tree_common): Add gc_mark.
19466         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19467         (struct rtvec_def): Add gc_mark.
19468         * emit-rtl.c (global_rtl): Update static initializers to contain
19469         enough initializers.
19470         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19471         * toplev.c (gc_time): New variable.
19472         (all_time): New variable.
19473         (compile_file): Print gc time.
19474         (print_time): Calculate percentage of the whole.
19475
19476 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19477
19478         Change obstack memory management and varasm constant pool handling so
19479         that nested functions are treated like any other functions.
19480         * function.c (init_machine_status): New variable.
19481         (push_function_context_to): Set contains_functions for the outer
19482         function.  Don't call save_varasm_status.
19483         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19484         set current_function_contains_functions.
19485         (prepare_function_start): Call init_varasm_status rather than
19486         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19487         is non-null.
19488         * function.h (struct function) Add field varasm.  Delete fields
19489         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19490         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19491         (init_machine_status): Declare.
19492         (save_varasm_status, restore_varasm_status): Delete declarations.
19493         (save_tree_status, restore_tree_status): Delete last argument.
19494         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19495         code.  All callers changed.
19496         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19497         save_constants_in_decl_trees, restore_constants, save_constants,
19498         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19499         functions.
19500         (inlining): New variable.
19501         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19502         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19503         variables.
19504         (save_for_inline_nocopy): Don't save constants.
19505         Don't set inl_emit field in current_function.
19506         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19507         function.  Set new variable inlining before
19508         calling copy_rtx_and_substitute.
19509         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19510         constant pool references if inlining is nonzero.
19511         Delete ADDRESS and (most of the) CONST cases.
19512         (output_inline_function): Save and restore current_function/
19513         current_function_decl.  Delete restore_constants code.  Don't call
19514         init_const_rtx_hash_table.
19515         * output.h (init_const_rtx_hash_table): Don't declare.
19516         * rtl.h (struct function): Declare.
19517         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19518         * toplev.c (rest_of_compilation): Don't treat nested functions or
19519         functions containing them specially.  Delete all code to deal with
19520         save_for_inline_copying.
19521         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19522         inline_obstacks): Delete variables.
19523         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19524         Simply allocate a new function_maybepermanent_obstack for the new
19525         function, delete all the special cases.
19526         Don't save inline_obstacks.
19527         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19528         Delete special handling for function_maybepermanent_obstack; simply
19529         free it if empty.
19530         Don't restore inline_obstacks.
19531         (permanent_allocation):  Delete code that frees inline_obstacks.
19532         (print_inline_obstack_statistics): Delete function.
19533         (dump_tree_statistics): Don't call it.
19534         * varasm.c (struct varasm_status): New.
19535         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19536         last_pool, pool_offset, const_double_chain): Delete global
19537         variables, replace with accessor macros.
19538         (immed_double_const): Don't walk const_double_chain outside a
19539         function, but don't treat nested functions specially anymore.
19540         (immed_real_const_1): Likewise.
19541         (clear_const_double_mem): Don't treat nested functions specially.
19542         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19543         (save_varasm_status, restore_varasm_status): Delete functions.
19544         (init_varasm_status): New function.
19545         (force_const_mem): Don't treat nested functions specially.
19546         (find_pool_constant): Accept new arg F, search for constants in
19547         that function's pool rather than the current one.  All callers
19548         changed.
19549         (get_pool_constant_for_function, get_pool_mode_for_function): New
19550         functions.
19551
19552         * i386.c (init_386_machine_status): New function, mostly from
19553         clear_386_stack_locals.
19554         (struct machine_functions): Rename element names to avoid name
19555         clashes.
19556         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19557         macros, replacing global variables.
19558         (clear_386_stack_locals, save_386_machine_status,
19559         restore_386_machine_status): Delete functions.
19560         (override_options): Initialize init_machine_status.
19561         * i386.h (INIT_EXPANDERS): Delete macro.
19562         (save_386_machine_status, restore_386_machine_status,
19563         clear_386_stack_locals): Delete declarations.
19564
19565 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19566
19567         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19568         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19569         (doloop_end): Simplify pattern, switch operand order,
19570         and use emit_jump_insn.
19571
19572 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19573
19574         * function.h (struct function): Add new element LANGUAGE.
19575         (save_lang_status): Declare new variable.
19576         (restore_lang_status): Likewise.
19577         * function.c (save_lang_status): Define.
19578         (restore_lang_status): Likewise.
19579         (push_function_context_to): Call language-specific save function.
19580         (pop_function_context_from): Call language-specific restore function.
19581
19582 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19583
19584         * i386.md (movsf_1): Check REG_P before use of REGNO.
19585         (movdf_1): Likewise.
19586         (movxf_1): Likewise.
19587         (extendsfdf2): Likewise.
19588         (extendsfxf2): Likewise.
19589         (extenddfxf2): Likewise.
19590
19591 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19592
19593         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19594         constants into memory.
19595         (c4x_shiftable_constant): New function.
19596         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19597         (c4x_shiftable_constant): Declare.
19598         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19599         ashlqi3_noclobber): Add new patterns and associated splitters.
19600
19601 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19602
19603         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19604         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19605         * final.c (shorten_branches): Likewise.
19606         * global.c (global_alloc): Likewise.
19607         * haifa-sched.c (build_control_flow): Likewise.
19608         * stmt.c (check_for_full_enumeration_handling): Likewise.
19609         (estimate_case_costs): Likewise.
19610
19611 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19612
19613         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19614
19615 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19616
19617         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19618         (recompute_reg_usage): Likewise.
19619         * rtlanal.c (find_regno_fusage): Likewise.
19620
19621         * rtl.c (rtl_check_failed_code1): New function.
19622         (rtl_check_failed_code2): New.
19623         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19624         (RTL_CHECKC1, RTL_CHECKC2): New.
19625         (XC*): New accessor macros.
19626         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19627         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19628         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19629         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19630         (TRAP_*, RANGE_INFO_*): Likewise.
19631
19632 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19633
19634         * Makefile.in (tlink.o): Don't depend on toplev.h.
19635
19636         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19637         output_file, nm_file_name, ldd_file_name, strip_file_name,
19638         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19639         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19640         fork_execute, maybe_unlink, add_to_list,
19641         extract_init_priority, write_list, dump_list,
19642         dump_prefix_list, write_list_with_asm, write_c_file,
19643         write_c_file_stat, write_c_file_glob, scan_prog_file,
19644         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19645         ignore_library, extract_string, notice, dump_file, target_machine,
19646         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19647         read_file, print_load_command): Constify a char*.
19648         (fdopen, error, fatal, fatal_perror): Don't prototype.
19649         (my_strerror): Remove.  All callers use xstrerror instead.
19650         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19651         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19652         to xcalloc/strcpy/strcat/...  to one call to concat.
19653         (main, scan_prog_file, scan_libraries): Use an intermediate
19654         `const char **' to build an argv array.
19655         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19656
19657         * collect2.h (collect_execute, collect_wait, dump_file,
19658         file_exists): Constify a char*.
19659         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19660         temporary_firstobj, vflag, debug): Add extern declarations.
19661         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19662
19663         * tlink.c: Don't include toplev.h.
19664         (vflag, debug, ldout, c_file_name, temporary_obstack,
19665         permanent_obstack, temporary_firstobj): Don't declare.
19666         (tlink_execute, frob_extension, symbol_hash_lookup,
19667         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19668         recompile_files, read_repo_files, demangle_new_symbols,
19669         scan_linker_output): Constify a char*.
19670         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19671         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19672
19673 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19674
19675         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19676         (relative) rather than jsr (absolute) subroutine call insns.
19677         * config/m68k/m68k-coff.h: Ditto.
19678
19679 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19680
19681         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19682         now rework these too.
19683         (arm_reorg): If an insn can't reach the end of the current pool,
19684         ensure that we emit that pool before the insn.
19685
19686 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19687
19688         * tlink.c (scan_linker_output): Skip the initial underscore in
19689         a mangled name if appropriate.
19690
19691 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19692
19693         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19694         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19695         error_with_ivar, gen_declarator, create_builtin_decl,
19696         my_build_string, generate_descriptor_table, generate_ivars_list,
19697         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19698         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19699         dump_base_name, lang_decode_option, build_encode_expr,
19700         start_class, finish_class, encode_pointer, really_start_method,
19701         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19702         Constify.
19703         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19704         Add static prototypes.
19705         (build_objc_string_decl, build_selector_reference_decl,
19706         encode_bitfield, build_class_reference_decl): Remove unused
19707         parameter, all callers changed.
19708         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19709         (objc_printable_name): Likewise.  Change second parameter to type int.
19710         (init_objc): Use memcpy, not bcopy, to avoid casts.
19711
19712 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19713
19714         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19715         reg notes on a deleted insn.
19716         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19717
19718 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19719
19720         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19721
19722 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19723
19724         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19725         reading it.
19726
19727 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19728
19729         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19730         * tm.texi (MD_ASM_CLOBBERS): Document it.
19731
19732 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19733
19734         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19735         * except.c (expand_rethrow): Remove unused variable.
19736         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19737         * flow.c (replace_insns): Likewise.
19738         (create_edge_list, verify_edge_list): Likewise.
19739         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19740
19741         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19742         is special code to run.
19743         (main): Don't define operands to emit_operand.
19744         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19745
19746         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19747
19748         * alpha/alpha.h (normal_memory_operand): Declare.
19749         (reg_no_subreg_operand): Declare.
19750         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19751
19752 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19753
19754         * c-parse.in (compstmt_primary_start): New, broken out of first
19755         part of compstmt handling in primary.
19756         (primary): Use it.  Add an error clause.
19757         (compstmt_nostart): Renamed from compstmt; remove all
19758         initial invocations of compstmt_start.
19759         (compstmt): New.
19760
19761 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19762
19763         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19764         needed.
19765
19766 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19767
19768         * combine.c (simplify_shift_const): Remove extra semicolon.
19769         * dwarf2out.c (remove_AT): Likewise.
19770         * expmed.c (expand_mult): Likewise.
19771         * gcov.c (create_program_flow_graph): Likewise.
19772         * reorg.c (mostly_true_jump): Likewise.
19773
19774 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19775
19776         * fold-const.c (fold_range_test): Do not try to fold the range
19777         test if the rhs or lhs has side effects.
19778
19779         * combine.c (simplify_rtx): Recognize another case of a synthesized
19780         sign extension.
19781
19782         * varasm.c (mark_constant_pool): When marking indirect references,
19783         only look at SYMBOL_REFs.
19784
19785         * except.c (expand_fixup_region_end): Do not peek at
19786         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19787
19788 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19789
19790         * flags.h: New variables align_loops, align_loops_log,
19791         align_jumps, align_jumps_log, align_labels, align_labels_log,
19792         align_functions, align_functions_log.
19793         * toplev.c: Define them.
19794         (f_options): Handle -falign-* when they have no argument.
19795         (main): Add logic to set variables for -falign-functions,
19796         -falign-jumps, -falign-labels, -falign-loops.
19797         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19798         (display_help): Change help to match options.
19799         * final.c (LABEL_ALIGN): Default to align_labels_log.
19800         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19801         (LOOP_ALIGN): Default to align_loops_log.
19802         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19803         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19804         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19805         * varasm.c (assemble_start_function): Handle align_functions.
19806
19807         * config/sparc/sparc.h: Don't declare sparc_align_*.
19808         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19809         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19810         sparc.c.
19811         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19812         it's a promise.
19813         * config/sparc/sparc.c: Delete sparc_align_loops,
19814         sparc_align_jumps, sparc_align_funcs and the corresponding string
19815         variables.
19816         (sparc_override_options): Default align_functions on ultrasparc.
19817         Delete -malign-* handling.
19818
19819         * config/mips/mips.c (override_options):  On 64-bit targets,
19820         try to align code to 64-bit boundaries.
19821         (print_operand): New substitution, %~,
19822         which aligns labels to align_labels_log.
19823         * config/mips/mips.md (div_trap_normal): Use %~.
19824         (div_trap_mips16): Likewise.
19825         (abssi): Likewise.
19826         (absdi2): Likewise.
19827         (ffssi2): Likewise.
19828         (ffsdi2): Likewise.
19829         (ashldi3_internal): Likewise.
19830         (ashrdi3_internal): Likewise.
19831         (lshrdi3_internal): Likewise.
19832         (casesi_internal): Likewise.
19833
19834 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19835
19836         Merge new ia32 backend from the branch!
19837
19838         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19839         See ChangeLog.P2 on new_ia32_branch for details.
19840
19841         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19842         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19843         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19844         * i386/gas.h (ASM_FILE_START): Define.
19845         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19846         for name change of ix86_valid_decl_attribute_p.
19847         (i386_pe_valid_type_attribute_p): Similarly.
19848
19849 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19850
19851         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19852         to step through CC modes.
19853
19854 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19855
19856         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19857         it would end up in the shadow of a live flags regsiter.
19858
19859 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19860
19861         * reload1.c: Fix many indentation problems.
19862         * reload.c: Likewise.
19863
19864 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19865
19866         * alias.c (non_local_reference_p): Constify fmt.
19867
19868 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19869
19870         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19871
19872 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19873
19874         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19875         the internal_arg_pointer.
19876
19877 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19878
19879         Merge peephole2 from new_ia32_branch:
19880         * Makefile.in (STAGESTUFF): Add *.peephole2.
19881         (mostlyclean): Likewise.
19882         (recog.o): Depend on resource.h.
19883
19884         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19885         (final_scan_insn): Likewise for the invocation of peephole.
19886         * genconfig.c (main): Look for peephole and peephole2 patterns.
19887         Emit HAVE_peephole* accordingly.
19888         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19889         * flags.h (flag_peephole2): Declare.
19890         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19891
19892         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19893         * gencodes.c (main): Likewise.
19894         * genextract.c (main): Likewise.
19895         * genoutput.c (main): Likewise.
19896         * genemit.c (max_operand_1): Look for the max scratch operand.
19897         (gen_rtx_scratch): New.
19898         (gen_exp): Use it, and pass on new arg subroutine_type.
19899         (gen_expand): Take max scratch into account.
19900         (gen_split): Emit peephole2 functions.
19901         (output_peephole2_scratch): New.
19902         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19903         * genrecog.c (routine_type): Add PEEPHOLE2.
19904         (IS_SPLIT): New.
19905         (make_insn_sequence): Match outer parallel for peep2.  Discard
19906         top level scratches and dups.
19907         (add_to_sequence): New args insn_type and top.  Update all callers.
19908         Handle toplevel peep2 matching insns.
19909         (write_subroutine): Handle peep2.
19910         (write_tree_1): Likewise.
19911         (write_tree): Likewise.
19912         (main): Likewise.
19913         (change_state): New arg afterward.  Update all callers.
19914         Handle matching separate insns.
19915         * recog.c (recog_next_insn): New.
19916         (peephole2_optimize): New.
19917         * rtl.def (DEFINE_PEEPHOLE2): New.
19918         * resource.c (find_free_register): New argument last_insn.  Use it
19919         to find a register available through the entire span.
19920         * resource.h (find_free_register): Update prototype.
19921
19922 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19923
19924         * i386.c (output_strlen_unroll): Don't write xops[7]
19925         label if it wasn't set.
19926
19927 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19928
19929         * cpplib.c (struct directive): Const-ify name pointer and
19930         function pointer prototype.
19931         (validate_else, do_define, do_line, do_include, do_undef,
19932         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19933         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19934         do_warning): Const-ify second arg.
19935         (directive_table): Mark const.  Reorder entries by frequency
19936         of usage, record statistics.
19937
19938 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19939
19940         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19941         bounds- check RTL accesses if --enable-checking.
19942         (RTVEC_ELT): Bounds check if --enable-checking.
19943         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19944         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19945         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19946         GET_NUM_ELEM.
19947         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19948         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19949
19950         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19951         (NOTE_SOURCE_FILE): Use X0STR.
19952         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19953         MEM_ALIAS_SET): Use X0INT.
19954         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19955         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19956         Use X0EXP.
19957         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19958         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19959         (rtl_check_failed_bounds, rtl_check_failed_type1,
19960         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19961         functions.
19962         (fancy_abort): Fix comment.
19963
19964         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19965         (cse_insn): Decrement LABEL_NUSES for jump target before
19966         deleting jump insn.
19967         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19968         * final.c (alter_subreg): Compute regno before changing x to
19969         REG; set REGNO(x) after changing it.
19970         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19971         notes containing CONST_INTs.
19972         (delete_eh_regions): Use NOTE_EH_HANDLER.
19973         * function.c (put_reg_into_stack): Make reg a MEM before
19974         initializing it.
19975         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
19976         delete insn.
19977         (gen_mem_addressof): Make reg a MEM before initializing it.
19978         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19979         X0WINT.
19980         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19981         deleting an insn, not after.
19982         (block_alloc): Only look at PATTERN(insn) if we have to, and
19983         only if it's format class 'i'.
19984         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19985         CONST_INT before using its INTVAL.
19986         * print-rtl.c (print_rtx): Use X0STR.
19987         * regmove.c (fixup_match_1): Don't look at PATTERN of
19988         non-class-'i' insn chain elements.
19989         * reload.c (loc_mentioned_in_p): Take address of
19990         in->fld[1].rtx directly.
19991         * reload1.c (reload): Change reg to a MEM before initializing
19992         it.
19993         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19994         have no names.
19995         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19996
19997 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
19998
19999         * config/mips/mips.c (machine_dependent_reorg): Force a
20000         barrier to output the local constant pool if a barrier hasn't
20001         been found at a natural point in the instruction stream.
20002
20003 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20004
20005         * c-parse.in (language_string): Constify.
20006
20007         * dwarf2out.c (language_string): Remove declaration.
20008
20009         * dwarfout.c (language_string): Likewise.
20010
20011         * toplev.c (language_string, init_parse, finish_parse): Likewise.
20012
20013         * tree.h (language_string, init_parse, finish_parse): Declare.
20014
20015         * i386/sun386.h (language_string): Remove declaration.
20016
20017         * mips.h (language_string): Likewise.
20018
20019         * nextstep.h (language_string): Likewise.
20020
20021         * nextstep21.h (language_string): Likewise.
20022
20023         * rs6000.c (language_string): Likewise.
20024
20025 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20026
20027         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20028         (getpwd.o): Remove target.
20029
20030         * getpwd.c: Delete file.  Its in libiberty now.
20031
20032         * dbxout.c (getpwd): Don't prototype.
20033         * dwarf2out.c (getpwd): Likewise
20034         * dwarfout.c (getpwd): Likewise
20035         * final.c (getpwd): Likewise.
20036         * protoize.c (getpwd): Likewise.
20037
20038 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20039
20040         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20041
20042 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
20043
20044         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20045         mark_set_resources.
20046
20047 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
20048
20049         * fixinc/Makefile.in (subdir): New.
20050         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20051         (Makefile): New.
20052
20053 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
20054
20055         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20056         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20057         be shared.
20058
20059         * invoke.texi: Fix typo.
20060
20061         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
20062         changed.  Handle autoincrement addressing modes.
20063
20064         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20065         just like we would the virtual incoming args register when
20066         integrating.
20067
20068 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
20069
20070         * rs6000.h (ASM_FILE_START): Specify complete filename, including
20071         path, in .file directive.
20072
20073 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
20074
20075         * gcc.texi (External Bugs): Remove obsolete note about Perl on
20076         SunOS.
20077
20078 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
20079
20080         * stdbool.h: Make the typedef name _Bool, with bool a #defined
20081         alias.
20082
20083 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20084
20085         * tree.c (tree_code_name): Constify a char*.
20086
20087         * tree.h (tree_code_name, decl_printable_name): Likewise.
20088
20089         * function.h (struct function): Likewise.
20090
20091         * toplev.c (decl_name, decl_printable_name): Likewise.
20092
20093         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20094
20095         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20096         (init_objc): Remove function pointer cast.
20097
20098 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
20099
20100         * pa.md (interspace_jump): New pattern.
20101         (builtin_longjmp): New expander.
20102
20103 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
20104
20105         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20106         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20107         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20108
20109 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
20110
20111         * jump.c (delete_prior_computation): Also check calls
20112         to constant functions.  Don't bother checking for a
20113         REG_UNUSED note before adding it.
20114         (delete_computation): Handle multi-word hard registers
20115         when synthesizing missing REG_DEAD notes for a register
20116         which is both set and used by an insn.
20117
20118 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20119
20120         * loop.c (this_loop_info): New variable.
20121         (loop_has_call, loop_has_volatile, loop_has_tablejump,
20122         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
20123         All uses updated.
20124         (prescan_loop, strength_reduce): New argument loop_info.  All callers
20125         updated.
20126         (scan_loop): New variable loop_info, initialise to address of
20127         this_loop_info.
20128         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
20129         Delete variable loop_has_multiple_exit targets and replace with
20130         field in this_loop_info.
20131         (find_and_verify_loops): Rename this_loop to this_loop_num.
20132         (strength_reduce): Delete loop_iteration_info.  Replace variable
20133         loop_info with function argument of same name.
20134         (insert_bct): Rework test for loop being completely unrolled.
20135
20136         * loop.h (struct loop_info): New fields num, loops_enclosed,
20137         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
20138         has_indirect_jump, and cont.  Redefine use of unroll_number.
20139         (loop_unroll_number): Delete.
20140
20141         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
20142         field of loop_info.
20143         (loop_iterations): Delete variable vtop and instead use
20144         loop_info->vtop computed in prescan_loop.
20145
20146 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
20147
20148         * fix-header.c (main): Do not pass a null pointer to strcmp.
20149
20150 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
20151
20152         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20153         filenames.
20154         * configure: Rebuilt.
20155
20156 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
20157
20158         * jump.c (jump_optimize_1): Do not delete assignments to
20159         internal_arg_pointer.
20160         * cse.c (delete_trivially_dead_insns): Always consider a set of
20161         the internal_arg_pointer live.
20162
20163 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
20164
20165         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20166         (update_life_info) [REG_WAS_0]: Search the original insns rather
20167         than the new insns for the note.  Fix typos finding note_dest.
20168         If no dest found, discard the note rather than abort.
20169         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20170         (replace_insns): Remove the old insn list after update_life_info
20171         not before.
20172
20173 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
20174
20175         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20176         sched_analyze_insn.
20177         (sched_analyze_1): Let add_dependence care for not adding dups.
20178         (sched_analyze_2): Likewise.
20179         (add_branch_dependences): Likewise.
20180
20181 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20182
20183         * i386/winnt.c (export_list): New type.
20184         (exports_head): Rename to
20185         (export_head):  this.
20186         (i386_pe_record_exported_symbol): Add is_data flag.
20187         (i386_pe_asm_file_end): Emit directive for exported variables.
20188         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20189         prototype.
20190         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20191         (ASM_DECLARE_OBJECT_NAME): Likewise.
20192         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20193         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20194
20195 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20196
20197         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20198
20199         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20200         operand.
20201
20202 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20203
20204         * config/openbsd.h: Define SET_ASM_OP.
20205         * tm.texi: cross-reference SET_ASM_OP in the index.
20206
20207 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20208
20209         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20210         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20211         and class_narrowest_mode at compile time.  Kill init_rtl.
20212         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20213         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20214         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20215         EXTRA_CC_NAMES.
20216         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20217         format.
20218         * rtl.h: Declare rtx_length and rtx_format as const.
20219         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20220         EXTRA_CC_MODES is defined, expand it here.
20221         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20222         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20223         const.  Kill all references to EXTRA_CC_MODES.
20224
20225         * toplev.c: Don't prototype or call init_rtl.
20226         * optabs.c: Don't call init_mov_optab.
20227         * genemit.c: Don't generate init_mov_optab.  Don't call
20228         init_rtl.
20229         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20230         here.
20231         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20232         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20233         genrecog.c: Don't call init_rtl.
20234
20235         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20236         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20237         definition of EXTRA_CC_MODES.
20238
20239         * md.texi: Kill ref to EXTRA_CC_NAMES.
20240         * tm.texi: Document new way to define EXTRA_CC_MODES.
20241
20242         * genrecog.c: Do not look up the name of a define_split.
20243         (Unrelated bugfix.)
20244
20245 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20246
20247         * config/v850/v850.md: Fix typo introduced by previous delta.
20248
20249 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20250
20251         * gcc.c (fatal): Make definition static to match prototype.
20252
20253 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20254
20255         * combine.c (get_last_value): Don't look for earlier sets if the last
20256         known set is somewhere in between the insns being combined.
20257
20258 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20259
20260         * configure.in: Don't use shell ! to negate exit codes
20261         * configure: Regenerate
20262
20263 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20264
20265         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20266         the fact that ALIGN is measured in bits, not bytes.
20267
20268 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20269
20270         * errors.c: New file; defines functions error, warning, and
20271         fatal, variables have_error and progname.
20272         * errors.h: New file; prototypes and decls for stuff in errors.c.
20273
20274         * Makefile: Add rules to build errors.o and
20275         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20276         genopinit, genrecog, genextract, genpeep, genattr, and
20277         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20278         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20279         genpeep.o, genattr.o, and genoutput.o.
20280
20281         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20282         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20283         define or prototype fatal.  Set progname at beginning of main.
20284         * genoutput.c:  Likewise, and don't define or prototype error
20285         either.
20286
20287         * c-typeck.c (c_expand_start_case): Return immediately if exp
20288         is an ERROR_MARK.
20289         * fold-const.c (operand_equal_p): Return immediately if arg1
20290         or arg0 are ERROR_MARKs.
20291         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20292         fields of type ERROR_MARK when calculating if the record can
20293         go in a register.
20294
20295 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20296         with much help from Jeffrey A Law and Richard Henderson
20297
20298         * i386.md: In the 6 insns which call output_fix_trunc,
20299         earlyclobber operands[0].
20300
20301 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20302
20303         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20304         creating new registers.
20305
20306 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20307
20308         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20309         i386_reg_alloc_order, i386_regparm_string,
20310         i386_align_loops_string, i386_align_jumps_string,
20311         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20312         and i386_branch_cost_string as type "const char *".
20313         * i386.c: Define all above strings as type "const char *".
20314
20315 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20316
20317         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20318         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20319
20320 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20321
20322         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20323         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20324
20325 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20326
20327         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20328         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20329         (dwarf2out_line, dwarf2out_finish): Likewise.
20330         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20331
20332 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20333
20334         * tree.c (lang_unsave_expr_now) : Correct return type.
20335         * tree.h (lang_unsave_expr_now) : Same.
20336
20337 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20338
20339         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20340         instead of duplicating code.
20341
20342 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20343
20344         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20345
20346 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20347
20348         * tree.h: fancy_abort always takes three args.
20349         * resource.c: Move include of system.h before toplev.h.
20350
20351 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20352
20353         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20354         as SYMBOL_REFs.
20355
20356 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20357
20358         * system.h: Don't redefine abort or trim_filename.
20359         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20360         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20361         whether or not __FUNCTION__ is available.
20362         * tree.h: Duplicate rtl.h's definition of abort, for files
20363         that don't include rtl.h.  Delete all code to perform type
20364         checking with a compiler other than GCC.
20365         * varray.h: Delete all code to perform type checking with a
20366         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20367         its arguments exactly once, using a statement expression.
20368         Adjust the VARRAY_<type> accessor macros to match.
20369         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20370         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20371         caller's location.  Define fatal_insn and fatal_insn_not_found
20372         as macros that use _fatal_insn and _fatal_insn_not_found.
20373         (fancy_abort, trim_filename): Kill prototypes.
20374
20375         * rtl.c (trim_filename): Move here from toplev.c.
20376         (fancy_abort): New function.
20377         (DIR_SEPARATOR): Provide default definition.
20378         * tree.c (tree_check_failed, tree_class_check_failed): Go
20379         through fancy_abort.
20380         (tree_check, tree_class_check, cst_or_constructor_check,
20381         expr_check): Delete.
20382         * varray.c (varray_check_failed): New function.
20383         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20384         _fatal_insn and _fatal_insn_not_found.  Go through
20385         fancy_abort.
20386         (trim_filename, fancy_abort): Delete.
20387
20388         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20389         * except.c (start_catch_handler): Report ICE with error/abort
20390         combo.
20391         * final.c (output_operand_lossage): Likewise.
20392         * flow.c (verify_flow_info): Likewise.
20393
20394         * gcc.c: Prototype fatal.
20395         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20396         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20397         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20398         Don't define fancy_abort.
20399
20400 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20401
20402         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20403         canonization.
20404
20405 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20406
20407         * m88k.h (VERSION_INFO2): Kill.
20408         (VERSION_STRING): Kill.
20409         (TM_RCS_ID): Kill.
20410         (VERSION_INFO1): Tidy.
20411         (TARGET_VERSION): Update.
20412         * m88k/dgux.h (VERSION_INFO2): Kill.
20413         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20414         * m88k/luna.h (VERSION_INFO1): Tidy.
20415         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20416         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20417         (output_file_start): Adjust for death of VERSION_STRING.
20418
20419 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20420
20421         * cpplib.c (detect_if_not_defined): New function.
20422         (do_if): Use it to detect potential once-only headers.
20423
20424 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20425
20426         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20427
20428 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20429
20430         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20431         anywere in the function only if they are pseudos and set before
20432         being used (not live at the start of the function).
20433         (num_sign_bit_copies) : Same.
20434         (get_last_value_validate) : Same.
20435         (get_last_value) : Same.
20436
20437 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20438
20439         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20440         where N and M are constant and N is an integer multiple of M.
20441
20442 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20443
20444         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20445         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20446         sbitmap_union_of_preds): Add prototypes.
20447         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20448         the intersection of successors with the new flow graph structures.
20449         (sbitmap_intersection_of_preds): New function to compute the
20450         intersection of predecessors with the new flow graph structures.
20451         (sbitmap_union_of_succs): New function to compute the union of
20452         successors with the new flow graph structures.
20453         (sbitmap_union_of_preds): New function to compute the union of
20454         predecessors with the new flow graph structures.
20455         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20456         (expr_reaches_here_p): Use edge and basic_block structures instead
20457         of s_preds and s_succs.
20458         (compute_cprop_avinout): Use new sbitmap routines.
20459         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20460         of s_preds and s_succs.
20461         * flow.c (compute_flow_dominators): Compute dominators using
20462         edges and basic blocks instead of s_preds and s_succs.
20463
20464 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20465
20466         * lists.c (unused_insn_list, unused_expr_list): New file for
20467         maintaining various types of lists. New statics for maintaining a
20468         cache of available INSN_LIST and EXPR_LIST nodes.
20469         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20470         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20471         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20472         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20473         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20474         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20475         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20476         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20477         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20478         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20479         (remove_dependence, free_pending_lists): Use new global routines.
20480         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20481         (sched_analyze, compute_block_backward_dependences): Use new routines.
20482         (sched_analyze_1, sched_analyze_2): Use new routines.
20483         (schedule_insns): Use new global routines.
20484         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20485         prototypes.
20486         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20487         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20488         prototypes.
20489         * toplev.c (rest_of_compilation): Initialize node cache.
20490         * Makefile.in (OBJS): Add lists.o to list of object files.
20491         (lists.o): Add dependancies.
20492
20493 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20494
20495         * config/v850/v850.md: Fix compile time warning messages.
20496         * config/v850/v850.c: Fix compile time warning messages.
20497         * config/v850/v850.h: Fix compile time warning messages.
20498
20499 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20500
20501         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20502         Remove unused prototype for `init_lengths'.
20503
20504 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20505
20506         * calls.c (emit_call_1): Mark parameter `stack_size' with
20507         ATTRIBUTE_UNUSED.
20508         (expand_call): Initialize variable `insn'.
20509         (emit_library_call): Likewise for variable `high_to_save'.
20510         (emit_library_call_value): Likewise.
20511         (store_one_arg): Likewise for variables `lower_bound' and
20512         `upper_bound'.
20513
20514         * combine.c (try_combine): Likewise for variables `i2_code_number'
20515         and `other_code_number'.
20516         (find_split_point): Likewise for variables `pos', `unsignedp' and
20517         `inner'.
20518         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20519         (simplify_and_const_int): Remove unused variable `width'.
20520         (merge_outer_ops): Likewise.
20521
20522         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20523         HOST_WIDE_INT' when comparing against one.
20524         (simplify_relational_operation): Likewise.
20525         (cse_insn): Initialize variables `src_eqv_volatile',
20526         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20527
20528         * final.c (init_final): Constify parameter `filename'.
20529         (final_start_function): Mark parameter `optimize' with
20530         ATTRIBUTE_UNUSED.
20531         (profile_function): Likewise for parameters `first' and `optimize'.
20532         (output_source_line): Likewise for parameter `file'.
20533
20534         * integrate.c (subst_constants): Cast a value to `size_t' when
20535         comparing against one.
20536         (mark_stores): Initialize variable `mode'.  Cast a value to
20537         `size_t' when comparing against one.
20538
20539         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20540
20541         * loop.c (move_movables): Initialize variable `first'.
20542         (strength_reduce): Likewise for variable `increment'.
20543         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20544         value to `size_t' when comparing against one.
20545         (load_mems): Initialize variable `end_label'.
20546
20547         * output.h (init_final): Constify parameter.
20548
20549         * reload.c (decompose): Initialize variable `base'.
20550
20551         * reload1.c (reload): Likewise for variable `is_scalar'.
20552         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20553         (choose_reload_regs): Initialize variable `mode'.
20554         (emit_reload_insns): Likewise for variable `store_insn'.
20555         (reload_cse_noop_set_p): Mark parameter `insn' with
20556         ATTRIBUTE_UNUSED.
20557         (reload_combine): Initialize variable `set'.
20558
20559         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20560         (copy_loop_body): Cast a value to `size_t' when comparing against
20561         one.
20562
20563         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20564         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20565         (remove_from_pending_weak_list): Mark parameter `name' with
20566         ATTRIBUTE_UNUSED.
20567
20568 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20569
20570         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20571         gcse dump file.
20572
20573 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20574
20575         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20576         (ASM_DECLARE_FUNCTION_NAME): Define.
20577         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20578         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20579         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20580         not already defined.
20581
20582 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20583
20584         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20585         of n_popped when call/call_value are not defined.
20586
20587 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20588
20589         * tm.texi: GNU CC -> GCC conversion.
20590         (CC1_SPEC): Indicate it is used for all language front ends.
20591
20592 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20593
20594         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20595         NOTE_INSN_EH_REGION_END correctly.
20596
20597 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20598                           Jeff Law <law@cygnus.com>
20599
20600         * loop.c (strength_reduce): Automatically unroll loops if the
20601         unrolled loop size is smaller than the rolled loop size.
20602
20603         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20604         and delete comment that code should be rewritten.
20605
20606 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20607
20608         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20609         as reachable.
20610
20611         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20612
20613 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20614
20615         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20616         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20617         (LINK_SPEC): Add -u _main when building executables.
20618         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20619         (ASM_FILE_END): Use the default for ix86-pe.
20620         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20621
20622 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20623
20624         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20625         and ASM_CLOSE_PAREN are empty strings.
20626
20627 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20628                           Geoffrey Keating <geoffk@cygnus.com>
20629
20630         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20631         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20632         (unprotoize.o): Ditto.
20633         (test-protoize-simple): Don't define STD_PROTO_DIR.
20634         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20635         changes to make 'test-protoize-simple' pass.
20636         (STD_PROTO_DIR): Remove define.
20637         (STANDARD_EXEC_PREFIX): Supply default define.
20638         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20639         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20640         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20641         (GET_ENV_PATH_LIST): New macro.
20642         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20643         (do_processing): Initialize default_syscalls_dir using new
20644         macros.  Use it to initialize syscalls_absolute_filename.
20645
20646 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20647
20648         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20649         B into a register before emit_conditional_move.
20650
20651 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20652
20653         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20654         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20655         multiplicand out of (+ (* a b) (* c d)).
20656
20657 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20658                           Richard Henderson  <rth@cygnus.com>
20659
20660         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20661         (new_insn_dead_notes): Likewise.
20662         (update_n_sets): Likewise.
20663         (update_flow_info): Move to flow.c, renamed to update_life_info;
20664         extend to handle multiple source insns.
20665         * flow.c: Include resource.h
20666         (unlink_insn_chain): New.
20667         (split_hard_reg_notes): New.
20668         (maybe_add_dead_note): New.
20669         (maybe_add_dead_note_use): New.
20670         (find_insn_with_note): New.
20671         (new_insn_dead_notes): New.
20672         (update_n_sets): New.
20673         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20674         (maybe_remove_dead_notes): New.
20675         (update_life_info): New.
20676         (prepend_reg_notes): New.
20677         (replace_insns): New.
20678         * output.h (update_life_info): Declare.
20679         * recog.c (split_block_insns): Use update_life_info.
20680         * resource.c (find_free_register): Use reg_alloc_order, don't use
20681         fixed regs, make sure the mode is supported, don't use new regs.
20682         (reg_dead_p): New.
20683         * rtl.h (replace_insns): Declare.
20684
20685 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20686
20687         * expr.c (expand_expr): Cope with COND_EXPRs with one
20688         non-returning branch.
20689
20690 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20691
20692         * expr.c (store_expr): Always pass down the target, even when not
20693         doing CSE.
20694
20695 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20696
20697         * configure.in: Define target_cpu_default for v850 targets.
20698         * configure: Regenerate
20699
20700         * config/v850/v850.h (TARGET_CPU_generic): Define.
20701         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20702         addresses are 4 byte aligned.
20703
20704         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20705         addresses.
20706
20707 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20708
20709         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20710         (main): Add prototypes.
20711
20712         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20713         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20714         (write_attr_get): Emit prototypes along with function definition.
20715         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20716         (write_complex_function): Emit static prototype along with
20717         function definition.
20718
20719         * genemit.c (gen_split): Emit prototypes along with function
20720         definition.
20721
20722         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20723         Likewise for predicates and `insn_operand_predicate'.
20724         (process_template): Emit static prototype along with function
20725         definition.
20726
20727         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20728         prototypes for get_split_*().
20729         (write_subroutine): Emit prototypes along with function
20730         definition.
20731
20732 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20733
20734         * gcse.c (find_avail_set): Follow chains of register-register copies.
20735         Use oprs_not_set_p to guarantee that the returned value can be
20736         substituted.
20737         (cprop_insn): Don't verify the return value of find_avail_set with
20738         oprs_not_set_p.
20739
20740         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20741         (cprop_cc0_jump): New function.
20742         (cprop_insn): Break out new function cprop_jump and use it.
20743         Also use cprop_cc0_jump for machines with CC0.
20744         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20745
20746         * tree.h (current_function_calls_setjmp,
20747         current_function_calls_longjmp): Delete declarations.
20748         * dsp16xx.c: Include "function.h".
20749         * elxsi.c: Likewise.
20750         * gmicro.c: Likewise.
20751         * h8300.c: Likewise.
20752         * i370.c: Likewise.
20753         * m32r.c: Likewise.
20754         * mn10200.c: Likewise.
20755         * mn10300.c: Likewise.
20756         * ns32k.c: Likewise.
20757         * spur.c: Likewise.
20758         * v850.c: Likewise.
20759
20760         * rtl.h (rtx_equal_function_value_matters): Declare.
20761         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20762         * cse.c: Likewise.
20763         * function.c: Likewise.
20764         * emit-rtl.c: Likewise.
20765
20766 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20767
20768         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20769         call.
20770
20771 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20772
20773         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20774         exactly.
20775
20776 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20777
20778         * cpp.texi: Add a node documenting macro varargs (copied
20779         from extend.texi).
20780
20781 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20782
20783         * cppspec.c: Put a null pointer at the end of the new argv.
20784
20785 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20786
20787         * configure.in: Remove code to select/de-select the haifa
20788         scheduler.  Every scheduled port gets haifa now.
20789         * configure: Rebuilt.
20790         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20791         * sched.c Deleted.
20792         * Makefile.in: Corresponding changes.
20793
20794 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20795
20796         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20797         All callers changed.
20798         (prepare_float_lib_cmp): Likewise.
20799         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20800         * expr.h (emit_float_lib_cmp): Delete declaration.
20801         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20802         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20803         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20804         specially.
20805         (cmptf): Now conditional on TARGET_HARD_QUAD.
20806
20807 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20808
20809         * resource.c (mark_target_live_regs): Use
20810         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20811
20812 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20813
20814         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20815
20816         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20817
20818         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20819
20820 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20821
20822         * rtl.h (rtx_format): Constify a char*.
20823
20824         * rtl.c (rtx_format): Likewise.
20825         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20826         (init_rtl): Use accessor macro, not `rtx_format'.
20827
20828         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20829         char*.
20830
20831         * caller-save.c (mark_referenced_regs): Likewise.
20832
20833         * combine.c (subst, make_compound_operation, known_cond,
20834         gen_rtx_combine, update_table_tick, get_last_value_validate,
20835         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20836
20837         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20838         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20839         count_reg_usage): Likewise.
20840
20841         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20842         Likewise.
20843
20844         * final.c (leaf_renumber_regs_insn): Likewise.
20845
20846         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20847         dump_edge_info, count_reg_references): Likewise.
20848
20849         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20850         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20851         Likewise.
20852
20853         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20854         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20855         add_label_notes): Likewise.
20856
20857         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20858         clear_struct_flag, count_sub_rtxs, count_alternatives,
20859         compares_alternatives_p, contained_in_p, walk_attr_value,
20860         write_expr_attr_cache): Likewise.
20861
20862         * genconfig.c (walk_insn_part): Likewise.
20863
20864         * genemit.c (max_operand_1, gen_exp): Likewise.
20865
20866         * genextract.c (walk_rtx): Likewise.
20867
20868         * genflags.c (num_operands): Likewise.
20869
20870         * genoutput.c (scan_operands): Likewise.
20871
20872         * genpeep.c (match_rtx): Likewise.
20873
20874         * genrecog.c (add_to_sequence): Likewise.
20875
20876         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20877         Likewise.
20878
20879         * integrate.c (save_constants, copy_for_inline,
20880         copy_rtx_and_substitute, subst_constants, restore_constants):
20881         Likewise.
20882
20883         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20884         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20885
20886         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20887         Likewise.
20888
20889         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20890         add_label_notes, replace_call_address, count_nonfixed_reads,
20891         invariant_p, find_single_use_in_loop, find_mem_givs,
20892         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20893         Likewise.
20894
20895         * print-rtl.c (reg_names, print_rtx): Likewise.
20896
20897         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20898
20899         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20900         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20901         print_blocks): Likewise.
20902
20903         * regclass.c (fix_register, record_address_regs,
20904         reg_scan_mark_refs): Likewise.
20905
20906         * regmove.c (stable_but_for_p): Likewise.
20907
20908         * reload.c (loc_mentioned_in_p, operands_match_p,
20909         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20910         copy_replacements, refers_to_regno_for_reload_p,
20911         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20912         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20913         Likewise.
20914
20915         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20916         delete_address_reloads_1, count_occurrences,
20917         reload_cse_mem_conflict_p, reload_combine_note_use,
20918         add_auto_inc_notes): Likewise.
20919
20920         * resource.c (mark_referenced_resources, mark_set_resources):
20921         Likewise.
20922
20923         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20924         reg_mentioned_p, regs_set_between_p, modified_between_p,
20925         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20926         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20927         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20928         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20929
20930         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20931
20932         * stupid.c (stupid_mark_refs): Likewise.
20933
20934         * unroll.c (remap_split_bivs): Likewise.
20935
20936         * varasm.c (mark_constants): Likewise.
20937
20938         * a29k/a29k.c (uses_local_reg_p): Likewise.
20939
20940         * alpha/alpha.c (summarize_insn): Likewise.
20941
20942         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20943         eliminate_lr2ip): Likewise.
20944
20945         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20946
20947         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20948         reg_mentioned_in_mem): Likewise.
20949
20950         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20951         symbolic_reference_mentioned_p): Likewise.
20952
20953         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20954
20955         * sh/sh.c (regs_used, mark_use): Likewise.
20956
20957         * vax/vax.c (vax_rtx_cost): Likewise.
20958
20959 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20960
20961         * machmode.h (mode_name): Constify a char*.
20962
20963         * rtl.c (mode_name): Likewise.
20964
20965         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20966
20967         * optabs.c (init_libfuncs): Constify a char*.
20968
20969         * print-tree.c (mode_name): Remove redundant declaration.
20970         (print_node): Use accessor macro, not `mode_name'.
20971
20972         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20973         not `mode_name'.
20974         (new_spill_reg): Constify a char*.
20975
20976         * tree.c (mode_name): Remove redundant declaration.
20977
20978 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20979
20980         * rtl.c (rtx_name): Constify a char*.
20981
20982         * rtl.h (rtx_name, fix_sched_param): Likewise.
20983
20984         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20985         (mypr): Use accessor macro, not `rtx_name'.
20986
20987         * genemit.c (print_code): Constify a char*.
20988
20989         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20990
20991         * genpeep.c (print_code): Constify a char*.
20992
20993         * genrecog.c (print_code): Likewise.
20994
20995         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20996         end_bb): Add static prototype.
20997         (draw_edge): Constify a char*.
20998         (end_bb): Remove unused parameter.
20999
21000         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21001         print_block_visualization): Constify a char*.
21002
21003 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
21004
21005         * c-common.c (c_get_alias_set): Update comment.
21006
21007 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21008
21009         * linux.h (LIB_SPEC): Added.
21010
21011 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21012
21013         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21014
21015 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
21016
21017         * tree.c (expr_check): Fix typo in last change.
21018
21019 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
21020
21021         * rtl.def (NOTE): Change format to "iuu0n".
21022         (ADDR_DIFF_VEC): Change format to "eEee0".
21023         (ADDRESSOF): Change format to "eit".
21024
21025         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21026         (RTVEC_ELT): Change to match.
21027         (XVECEXP): Use XVEC and RTVEC_ELT.
21028         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21029         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21030         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21031         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21032         TRAP_CONDITION, TRAP_CODE): Use XEXP.
21033         (INTVAL): Use XWINT.
21034         (ADDRESSOF_DECL): Use XTREE.
21035         (SET_ADDRESSOF_DECL): Delete.
21036         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21037         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
21038         ifdefed out since 2.6 at least.
21039         (gen_rtvec_vv): Delete prototype.
21040
21041         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21042         not rtunion.
21043         (copy_most_rtx): Handle 't' format letter.
21044         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21045         (gen_rtvec_vv): Delete function.  All callers changed to use
21046         gen_rtvec_v instead.
21047         * print-rtl.c (print_rtx): Move special casing of NOTEs to
21048         the '0' format letter.
21049
21050         * function.c (gen_mem_addressof): Don't use
21051         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21052         instead.
21053         * integrate.c (copy_rtx_and_substitute): Likewise.
21054         Copy 't' slots with XTREE.
21055         (subst_constants): Treat 't' slots like '[swi]' slots.
21056         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21057         * jump.c (rtx_equal_for_thread_p): Likewise.
21058         * rtlanal.c (rtx_equal_p): Likewise.
21059         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21060         only four arguments.
21061         * gengenrtl.c (type_from_format): Provide correct types for
21062         'b' and 't' slots.
21063
21064
21065         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21066         If a recent gcc is in use (always in stage2 and beyond), use
21067         statement expressions, so we don't make a function call unless
21068         the check fails.  Evaluate arguments exactly once.
21069         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21070         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21071         Delete.
21072         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21073         they evaluate their arguments exactly once, irrespective of
21074         the compiler in use.
21075
21076         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21077         is used by the currently-enabled check macros.  This is:
21078         (tree_check_failed, tree_class_check_failed): For gcc.
21079         (tree_check, tree_class_check, cst_or_constructor_check,
21080         expr_check): For other compilers.
21081
21082         * gencheck.c: Do not define any *_CHECK1 macros.
21083
21084 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
21085                           Mark Mitchell <mark@codesourcery.com>
21086
21087         * c-common.c (c_get_alias_set): Fix support for poitners and
21088         references.
21089
21090 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
21091
21092         * alias.c: Include tree.h.
21093         (nonlocal_reference_p, mark_constant_function): New functions.
21094         * flow.c (life_analysis): Call mark_constant_function.
21095         * rtl.h (mark_constant_function): Declare it.
21096
21097 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
21098
21099         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21100         unrecognisable switches.
21101
21102 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21103
21104         * loop.c (recombine_givs): Set ix field after sorting.
21105         (recombine_givs): Remove bogus index / giv lockstep looping.
21106
21107 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21108
21109         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21110         on CODE.
21111         (emit_store_flag_force): Use do_compare_rtx_and_jump.
21112         (do_cmp_and_jump): Formatting fixes.
21113         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21114         do_compare_rtx_and_jump instead of compare_from_rtx.
21115         (do_compare_rtx_and_jump): New function; mostly copied from
21116         compare_from_rtx.
21117         (do_jump_for_compare): Delete.
21118         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
21119         MIN_EXPR.
21120         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
21121         of compare/do_jump_for_compare pairs.
21122         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
21123         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
21124         compare_from_rtx/do_jump_for_compare pairs.
21125         (do_jump_by_parts_equality): Likewise.
21126         (do_jump_by_parts_equality_rtx): Likewise.
21127         * expr.h (do_compare_rtx_and_jump): Declare.
21128         * optabs.c (prepare_cmp_insn): New function, contains most of the code
21129         that used to be in emit_cmp_insn.
21130         (cmp_available_p): New function.
21131         (prepare_operand): New function.
21132         (emit_cmp_and_jump_insn_1): New function, contains some code that used
21133         to be in emit_cmp_insn.
21134         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
21135         parameters to be pointers; don't emit final compare but modify some of
21136         the values pointed to by the args so the caller can perform the
21137         correct comparison.
21138         (expand_binop): Call emit_store_flag_force with signed forms of
21139         comparison code.
21140         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
21141         emit_jump_insn pair.
21142         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
21143         emit_cmp_and_jump_insn_1.  Call emit_queue.
21144         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
21145         arg.
21146         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
21147         jump sets cc0 before deleting it.
21148         * integrate.c (expand_inline_function): Likewise.
21149         * unroll.c (unroll_loop): Similar changes in several places.
21150         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21151         before deleting it.
21152
21153 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21154
21155         * Makefile.in (insn-recog.o): Update dependencies.
21156         * genrecog.c (main): Make generated file include "function.h".
21157
21158 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
21159
21160         * cse.c (cse_insn): Call never_reached_warning when a jump is
21161         changed to be unconditional.
21162         * flags.h: Declare warn_notreached.
21163         * flow.c (delete_block): Call never_reached_warning when
21164         a block is deleted.
21165         * jump.c (delete_barrier_successors): Call never_reached_warning
21166         when we delete everything after a BARRIER.
21167         (never_reached_warning): New function.
21168         * rtl.h: Declare never_reached_warning.
21169         * toplev.c (warn_notreached): New variable.
21170         (lang_independent_options): Set warn_notreached
21171         when -Wunreachable-code.
21172         (compile_file): We need line numbers for -Wunreachable-code.
21173
21174 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
21175
21176         * haifa-sched.c (insn_unit): Fix typo on out of range test.
21177         * sched.c (insn_unit): Likewise.
21178
21179 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
21180
21181         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21182
21183 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21184
21185         * flow.c (create_edge_list): Use xmalloc, not malloc.
21186
21187 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
21188
21189         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21190         C-style comments.  Do not lose the character before double slash.
21191
21192 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21193
21194         * basic-block.h (struct edge_list): Stucture to maintain a vector
21195         of edges.
21196         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21197          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21198         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21199         New function prototypes.
21200         * flow.c (create_edge_list): Function to create an edge list.
21201         (free_edge_list): Discards memory used by an edge list.
21202         (print_edge_list): Debug output showing an edge list.
21203         (verify_edge_list): Internal consistency check for an edge list.
21204         (find_edge_index): Function to find an edge index for a pred and succ.
21205
21206 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21207
21208         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21209         hashtable.
21210
21211 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21212
21213         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21214
21215 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21216
21217         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21218
21219 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21220
21221         * toplev.c (rest_of_compilation): Allow machine dependent
21222         reorganisation pass to place information into the RTL dump
21223         file if it so wishes.
21224
21225 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21226
21227         * explow.c (hard_function_value): Use VOIDmode instead of
21228         MAX_MACHINE_MODE.
21229         * stmt.c (expand_return): Likewise.
21230         * stor-layout.c (get_best_mode): Likewise.
21231
21232         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21233         emit call instead of emit_insn call.
21234
21235 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21236
21237         * configure.in: Handle --disable/enable-win32-registry.
21238         * install.texi: Document --disable/enable-win32-registry.
21239         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21240         (WIN32_REGISTRY_KEY): New macro.
21241         * prefix.c: Use to enable/disable win32-specific code.
21242         (lookup_key): Use versioned key.
21243         * configure: Regenerate.
21244         * config.in: Likewise.
21245
21246 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21247
21248         * cpplib.c (read_line_number): New fn, split out of...
21249         (do_line): Here.
21250
21251 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21252
21253         tree.c (lang_unsave_expr_now) : New.
21254         (unsave_expr_now): Call lang_unsave_expr_now.
21255         tree.h (lang_unsave_expr_now) : New.
21256
21257 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21258
21259         * toplev.c (flag_new_exceptions): On by default.
21260
21261 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21262
21263         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21264
21265 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21266
21267         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21268         INTEGER_TYPE with precision==1, it's __java_boolean.
21269
21270 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21271
21272         * global.c (prune_preferences): Move some invariants out of the
21273         inner loop.
21274
21275 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21276
21277         * configure.in (alpha*-dec-osf*): Add osf5.
21278
21279 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21280
21281         * configure.in: Rework handling of ARM GNU/Linux slightly.
21282         (arm*-*-linux-gnuoldld): New target.
21283         * configure: Regenerate.
21284         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21285         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21286         * config/arm/linux-oldld.h: New file.
21287         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21288         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21289         Don't define.
21290         * config/arm/linux-elf.h (ASM_SPEC): Define.
21291         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21292         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21293         for 26-bit APCS and old linker.
21294         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21295         `arm_elf'.
21296         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21297         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21298         don't define `arm' or `arm_elf'.
21299         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21300         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21301
21302 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21303
21304         * rtl.texi: Fix typo.
21305
21306 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21307
21308         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21309
21310 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21311
21312         * extend.texi (C++ Signatures): Remove node.
21313         * invoke.texi: Remove discussion of -fhandle-signatures,
21314         signature, sigof, __signature__, and __sigof__.
21315
21316 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21317
21318         * Makefile.in (JAVAGC): Removed.
21319
21320 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21321
21322         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21323
21324 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21325
21326         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21327
21328 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21329
21330         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21331         a register that is already known to be a pointer.
21332
21333 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21334
21335         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21336         * fixinc/inclhack.sh: Regenerated.
21337         * fixinc/fixincl.sh: Regenerated.
21338
21339 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21340
21341         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21342         Fix documentation of -ansi flag to describe its C++ behavior.
21343         Remove bogus reference to GCC 2.9.
21344
21345 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21346
21347         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21348         note if it is non-NULL.
21349
21350 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21351
21352         * except.h (eh_nesting_info): Add new structure defintion.
21353         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21354         (reachable_handlers, update_rethrow_references): Add function
21355         prototypes.
21356         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21357         a rethrow symbol instead of an integer exception region number.
21358         * flow.c (Make_edges): Use new exception nesting routines to determine
21359         which handlers are reachable from a CALL or asynchronous insn.
21360         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21361         goto receivers.
21362         (delete_eh_regions): Update rethrow labels, and don't delete
21363         regions which are the target of a rethrow.
21364         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21365         avoid overloading the SYMBOL_REF_USED flag.
21366         (rethrow_symbol_map): Use new rethrow_ref field.
21367         (rethrow_used): Use new rethrow_ref field.
21368         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21369         of an integer.  Fix formatting.
21370         (output_exception_table_entry): Use new rethrow_ref field.
21371         (can_throw): Check for EH_REGION_NOTE before deciding
21372         whether a CALL can throw or not.
21373         (scan_region): Call rethrow_used() instead of accessing data structure.
21374         (update_rethrow_references): New function to make sure only regions
21375         which are still targets of a rethrow are flagged as such.
21376         (process_nestinfo): New static function to initialize a handler
21377         list for a specific region.
21378         (init_eh_nesting_info): New function to allocate and initialize
21379         the list of all EH handlers reachable from all regions.
21380         (reachable_handlers): New function to retrieve the list of handlers
21381         reachable from a specific region and insn.
21382         (free_eh_nesting_info): New function to dispose of a list of
21383         reachable handlers.
21384
21385 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21386
21387         * flow.c (split_edge): Set JUMP_LABEL field.
21388         (commit_one_edge_insertion): Set head correctly for insert_before.
21389         When inserting insns, update insn block numbers if allocated.
21390
21391 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21392
21393         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21394         retry_incomplete_types): Add static prototype.
21395         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21396         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21397         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21398         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21399         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21400         Constify a char*.
21401
21402         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21403         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21404
21405 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21406
21407         * output.h (assemble_name): Constify a char*.
21408
21409         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21410         assemble_variable, assemble_name): Likewise.
21411
21412         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21413
21414         * arm/pe.c (arm_pe_unique_section): Likewise.
21415
21416         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21417
21418         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21419
21420         * i386/interix.c (i386_pe_unique_section): Likewise.
21421
21422         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21423
21424         * i386/winnt.c (i386_pe_unique_section): Likewise.
21425
21426         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21427
21428         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21429
21430         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21431
21432         * pa/pa.c (output_call): Likewise.
21433
21434         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21435
21436         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21437
21438         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21439         Likewise.
21440
21441         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21442         Likewise.
21443
21444         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21445
21446         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21447         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21448
21449         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21450
21451 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21452
21453         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21454
21455 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21456
21457         * tree.h (lang_identify): Constify a char*.
21458         (print_error_function): Add extern prototype.  Constify a char*.
21459
21460         * c-lang.c (lang_identify): Constify a char*.
21461
21462         * objc/objc-act.c (lang_identify): Constify a char*.
21463
21464 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21465
21466         * genpeep.c (main): Make generated file include "function.h".
21467         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21468
21469 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21470
21471         * Makefile.in: Update dependencies.
21472         * alias.c: Include "function.h"
21473         * c-decl.c: Likewise.
21474         * caller-save.c: Likewise.
21475         * calls.c: Likewise.
21476         * combine.c: Likewise.
21477         * cse.c: Likewise.
21478         * explow.c: Likewise.
21479         * final.c: Likewise.
21480         * global.c: Likewise.
21481         * graph.c: Likewise.
21482         * local-alloc.c: Likewise.
21483         * loop.c: Likewise.
21484         * optabs.c: Likewise.
21485         * profile.c: Likewise.
21486         * recog.c: Likewise.
21487         * regclass.c: Likewise.
21488         * regmove.c: Likewise.
21489         * reload.c: Likewise.
21490         * reorg.c: Likewise.
21491         * resource.c: Likewise.
21492         * sched.c: Likewise.
21493         * stupid.c: Likewise.
21494         * config/1750a/1750a.c: Likewise.
21495         * config/a29k/a29k.c: Likewise.
21496         * config/arc/arc.c: Likewise.
21497         * config/arm/arm.c: Likewise.
21498         * config/arm/thumb.c: Likewise.
21499         * config/c4x/c4x.c: Likewise.
21500         * config/clipper/clipper.c: Likewise.
21501         * config/convex/convex.c: Likewise.
21502         * config/fx80/fx80.c: Likewise.
21503         * config/i860/i860.c: Likewise.
21504         * config/m68k/m68k.c: Likewise.
21505         * config/m88k/m88k.c: Likewise.
21506         * config/mips/mips.c: Likewise.
21507         * config/pdp11/pdp11.c: Likewise.
21508         * config/pyr/pyr.c: Likewise.
21509         * config/romp/romp.c: Likewise.
21510         * config/sh/sh.c: Likewise.
21511         * config/tahoe/tahoe.c: Likewise.
21512         * config/vax/vax.c: Likewise.
21513         * config/we32k/we32k.c: Likewise.
21514         * config/sparc/sparc.c: Include "function.h".
21515         (mem_min_alignment): Test current_function rather than
21516         regno_pointer_align.
21517         * config/pa/pa.c: Likewise.
21518         (compute_frame_size): Delete declaration of
21519         current_function_outgoing_args_size.
21520         * config/arc/arc.h (current_function_varargs): Delete declaration.
21521         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21522         declaration.
21523         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21524         declaration.
21525         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21526         current_function_uses_pic_offset_table.
21527         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21528         of current_function_returns_pointer.
21529         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21530         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21531         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21532         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21533         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21534         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21535         * config/m88k/m88k.c: Include "function.h"
21536         (call_used_regs, current_function_pretend_args_size,
21537         current_function_outgoing_args_size, frame_pointer_needed): Delete
21538         declarations.
21539         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21540         declaration.
21541         * config/mips/mips.h (current_function_calls_alloca): Delete
21542         declaration.
21543         * config/mn10200/mn10200.h (current_function_needs_context,
21544         rtx_equal_function_value_matters): Delete declarations.
21545         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21546         flag_pic): Delete declarations.
21547         * config/pa/pa.h (current_function_pretend_args_size,
21548         current_function_decl): Delete declarations.
21549         * config/pa/som.h (current_function_varargs): Delete declaration.
21550         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21551         declaration.
21552         * config/pyr/pyr.h (current_function_pretend_args_size,
21553         current_function_args_size, current_function_calls_alloca): Delete
21554         declarations.
21555         * config/sh/sh.h (current_function_varargs): Delete declaration.
21556         * config/sparc/sparc.h (current_function_outgoing_args_size,
21557         current_function_calls_alloca, current_function_decl): Delete
21558         declarations.
21559         * config/spur/spur.h (current_function_pretend_args_size,
21560         current_function_calls_alloca): Delete declarations.
21561         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21562         declaration.
21563         * config/vax/vms.h (current_function_name): Delete declaration.
21564         * gcse.c: Include "function.h".
21565         (current_function_name, current_function_calls_setjmp): Delete
21566         declarations.
21567         * haifa-sched.c: Include "function.h".
21568         (forced_labels): Delete declaration.
21569         * jump.c: Likewise.
21570         * reg-stack.c: Likewise.
21571         * reload1.c: Likewise.
21572         * genemit.c (main): Make generated file include function.h.
21573         * genoutput.c (output_prologue): Likewise.
21574
21575         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21576         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21577         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21578         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21579         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21580         macros for some of them.
21581         (emit_filename, emit_lineno): Delete declarations.
21582         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21583         regno_pointer_* variables through current_function.
21584         (gen_inline_header_rtx): Delete function.
21585         (save_emit_status): Delete function.
21586         (set_new_last_label_num): New function.
21587         (clear_emit_caches): New function.
21588         (restore_emit_status): Just clear last_labelnum and call
21589         clear_emit_caches.
21590         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21591         through macro seq_stack.
21592         (add_insn_after): Likewise.
21593         (add_insn_before): Likewise.
21594         (remove_insn): Likewise.
21595         (pop_topmost_sequence): Likewise.
21596         (in_sequence_p): Likewise.
21597         (start_sequence_for_rtl_expr): Likewise.
21598         (start_sequence): Likewise, and likewise for
21599         sequence_rtl_expr/seq_rtl_expr.
21600         (push_topmost_sequence): Likewise.
21601         (end_sequence): Likewise.
21602         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21603         All callers changed.  Store into that pointer instead of globals.
21604         (init_emit): Allocate emit elt of current_function.
21605         Changes for sequence_rtl_expr/sequence_stack renaming.
21606         Call clear_emit_caches instead of doing it in-line.
21607         Access regno_pointer_* variables through current_function.
21608         (init_emit_once) Don't clear sequence_stack.
21609
21610         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21611         Delete variables.
21612         (arg_pointer_save_area): Delete declaration.
21613         (finish_expr_for_function): Renamed from init_queue; no longer static.
21614         (init_expr): Don't call init_queue.
21615         (save_expr_status, restore_expr_status): Delete functions.
21616         (expand_expr): Changes to reflect new layout of struct function.
21617         Don't access current_function_check_memory_usage when current_function
21618         is 0.
21619         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21620         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21621         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21622         current_function_uses_const_pool, function_call_count,
21623         current_function_uses_pic_offset_table, nonlocal_labels,
21624         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21625         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21626         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21627         declarations.
21628         (finish_expr_for_function): Declare.
21629         * flags.h (current_function_has_nonlocal_label,
21630         current_function_has_nonlocal_goto, current_function_is_thunk,
21631         current_function_has_computed_jump): Delete declarations.
21632         * flow.c (forced_labels): Delete declaration.
21633         * function.c (current_function_pops_args,
21634         current_function_returns_struct, current_function_returns_pcc_struct,
21635         current_function_needs_context, current_function_calls_setjmp,
21636         current_function_calls_longjmp, current_function_has_nonlocal_label,
21637         current_function_has_nonlocal_goto, current_function_is_thunk,
21638         current_function_has_computed_jump, current_function_calls_alloca,
21639         current_function_contains_functions, current_function_returns_pointer,
21640         current_function_epilogue_delay_list, current_function_args_size,
21641         current_function_pretend_args_size, current_function_arg_offset_rtx,
21642         current_function_outgoing_args_size, current_function_varargs,
21643         current_function_stdarg, current_function_args_info, cleanup_label,
21644         current_function_name, current_function_uses_const_pool,
21645         current_function_instrument_entry_exit, current_function_return_rtx,
21646         current_function_uses_pic_offset_table, nonlocal_labels,
21647         current_function_internal_arg_pointer, current_function_cannot_inline,
21648         current_function_check_memory_usage, function_call_count,
21649         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21650         nonlocal_goto_stack_level, return_label, save_expr_regs,
21651         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21652         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21653         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21654         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21655         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21656         Delete variables.
21657         (push_function_context_to): Don't save them.  Don't call
21658         save_storage_status, save_emit_status or save_expr_status.
21659         (pop_function_context_from): Don't restore them.  Don't call
21660         restore_storage_status or restore_expr_status.
21661         (get_func_frame_size): New function.
21662         (get_frame_size): Use it.
21663         (assign_outer_stack_local): Reflect some member name changes in struct
21664         function.
21665         (put_reg_into_stack): Likewise.
21666         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21667         seq_rtl_expr.
21668         (fixup_var_refs): Likewise.
21669         (fix_lexical_addr): Likewise.
21670         (trampoline_address): Likewise.
21671         (prepare_function_start): Clear field inlinable of current_function.
21672         (init_function_for_compilation): New function.
21673         (expand_dummy_function_end): New function.
21674         (expand_function_end): Call finish_expr_for_function.
21675         * function.h (struct emit_status): New; fields moved here from struct
21676         function and from global variables.  Add accessor macros for some of
21677         the fields.
21678         (struct expr_status): Likewise.
21679         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21680         (struct function): Add fields expr and emit, inlinable, inl_emit,
21681         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21682         inl_max_label_num.  Add many comments.
21683         Add accessor macros for all elts of struct function that no longer
21684         have a global variable.
21685         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21686         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21687         stack_slot_list): Delete declarations.
21688         (get_func_frame_size): Declare.
21689         (save_expr_status, restore_expr_status, save_emit_status,
21690         save_storage_status, restore_storage_status): Delete declarations.
21691         (init_virtual_regs): Declare.
21692         * output.h (current_function_pops_args,
21693         current_function_returns_struct, current_function_returns_pcc_struct,
21694         current_function_needs_context, current_function_calls_setjmp,
21695         current_function_calls_longjmp, current_function_calls_alloca,
21696         current_function_has_nonlocal_label, current_function_varargs,
21697         current_function_has_computed_jump, current_function_returns_pointer,
21698         current_function_contains_functions, current_function_args_size,
21699         current_function_pretend_args_size, current_function_stdarg,
21700         current_function_outgoing_args_size, current_function_args_info,
21701         current_function_name, current_function_return_rtx,
21702         current_function_epilogue_delay_list,
21703         current_function_uses_const_pool, current_function_cannot_inline):
21704         Delete declarations.
21705         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21706         regno_reg_rtx): Delete declaration.
21707         (REGNO_POINTER_FLAG): Delete macro.
21708         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21709         function were renamed.
21710         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21711         functions.
21712         * toplev.c: Include "function.h".
21713         (current_function_decl): Delete declaration.
21714         (compile_file): Call init_dummy_function_start and
21715         expand_dummy_function_end around some initializations that need to
21716         emit rtl.
21717         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21718         Call init_function_for_compilation.
21719         * unroll.c: Include "function.h"
21720         (unroll_loop): Access regno_pointer_* variables through
21721         current_function.
21722
21723         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21724         (DECL_SAVED_INSNS): use it.
21725         (expand_dummy_function_end): Declare.
21726         (init_function_for_compilation): Declare.
21727         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21728         that it's no longer an INLINE_HEADER.
21729         (expand_call): Likewise.
21730         * integrate.c (finish_inline): Delete function.
21731         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21732         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21733         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21734         vector.  All callers changed.
21735         (save_for_inline_copying):  Create a duplicate struct emit_status to
21736         hold the emit state for compiling the current function.  Use this and
21737         the other new fields in struct function that are for integration
21738         instead of an INLINE_HEADER.
21739         Use memcpy instead of bcopy.
21740         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21741         (save_for_inline_nocopy): Similar changes, except no new emit_status
21742         is needed here.
21743         (expand_inline_function): Get information from function structure,
21744         not from an inline header rtx.
21745         (output_inline_function): Lose code to extract the necessary
21746         information from an inline header; simply put back the function
21747         structure into current_function.  Clear its inlinable elt.
21748         * rtl.def (INLINE_HEADER): Delete.
21749         * rtl.h: Delete all accessors for an INLINE_HEADER.
21750         (gen_inline_header_rtx): Delete declaration.
21751         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21752         Delete declarations.
21753         (REGNO_POINTER_ALIGN): Delete.
21754         (clear_emit_caches): Declare.
21755         (set_new_last_label_num): Declare.
21756
21757 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21758
21759         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21760
21761         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21762         * stmt.c (is_eh_region): Make sure current_function is present, too.
21763
21764 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21765
21766         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21767         for 64bit PA targets.
21768
21769         * pa.h (SELECT_SECTION): Define.
21770         * som.h (SELECT_SECTION): Delete.
21771
21772 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21773
21774         * alias.c (init_alias_analysis): Wrap call to
21775         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21776
21777 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21778
21779         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21780         <sys/asm.h> contains an asm comment with an apostrophe
21781         * fixinc/inclhack.sh:  regen
21782         * fixinc/fixincl.x:  regen
21783
21784 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21785
21786         * function.c (init_function_start): Clear prologue & epilogue.
21787         (prologue_epilogue_contains): New function.
21788         * alias.c (init_alias_analysis): Use it.
21789         * rtl.h (prologue_epilogue_contains): Declare it.
21790
21791 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21792
21793         * jump.c (onlyjump_p): New function.
21794         * rtl.h: Declare it.
21795         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21796         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21797
21798 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21799
21800         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21801         to invert loops.  Simplify block scanning.
21802
21803 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21804
21805         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21806         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21807
21808 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21809
21810         * config/sparc/liteelf.h: New file to support sparclite-elf target
21811         * config/sparc/t-sp86x: New file to support sparc86x targets
21812         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21813         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21814         * configure.in: Support above target triplets
21815         * configure: Regenerated
21816
21817 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21818
21819         * fixinc/server.c (server_setup): Do not prefix function used as
21820         parameter with `&'.
21821
21822 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21823
21824         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21825         Remove fp reg alternatives.
21826
21827 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21828
21829         * Makefiin (TAROUTOPTS): Kill.
21830         (install-headers-tar): Use "xpf" for tar headerfile extraction
21831         * i370/x-oe (TAROUTOPTS): Delete.
21832         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21833         * m68k/x-hp320 (TAROUTOPTS): Delete.
21834         * m68k/x-hp320g (TAROUTOPTS): Delete.
21835         * gcc.texi: Update bug reporting text.
21836
21837 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21838
21839         * reg-stack.c (change_stack) Fixed problem with negative array index.
21840
21841 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21842
21843         * extend.texi, install.texi: Fix spelling mistakes.
21844
21845         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21846         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21847         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21848         PREMADE_ATTRTAB_MD.
21849         * mips/t-ecoff: Likewise.
21850         * mips/t-elf: Likewise.
21851         * mips/t-mips: Likewise.
21852         * mips/t-osfrose: Likewise.
21853         * mips/t-r3900: Likewise.
21854         * mips/t-svr3: Likewise.
21855         * mips/t-svr4: Likewise.
21856         * mips/t-ultrix: Likewise.
21857
21858         * gcc.texi: Document recommend means to provide software floating
21859         point libraries in libgcc.a
21860
21861 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21862
21863         * c-lex.c (yylex): We can have a number with no digits.
21864
21865 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21866
21867         * jump.c (delete_prior_computation): New function, broken
21868         out of delete_computation.  Check for side effects with
21869         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21870         multi-word hard registers.
21871         (delete_computation): Use it.  Check for side effects with
21872         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21873         missing REG_DEAD note for a register which is both set and
21874         used by an insn.
21875
21876 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21877
21878         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21879         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21880         (ASM_FILE_START): Import _mcount with the right type.
21881         (ASM_DECLARE_FUNCTION_NAME): Define.
21882         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21883         * pa.c (output_function_prologue): Always emit the function's label
21884         here.
21885         * pa.h (TEXT_SPACE_P): Define.
21886         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21887         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21888         * som.h (TEXT_SPACE_P): Delete.
21889         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21890         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21891
21892 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21893
21894         * expr.c (emit_group_load): Allow src to be a CONCAT.
21895
21896 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21897
21898         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21899         (___mulsi3): Use '!' comment character.
21900
21901 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21902
21903         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21904
21905 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21906
21907         * gcc.c: Update URLs and mail addresses.
21908         * gcc.texi: Likewise.
21909
21910 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21911
21912         * rs6000.c (current_file_function_operand): Return zero for
21913         weak functions.
21914         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21915         weak symbols.
21916         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21917         for weak symbols.
21918
21919 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21920
21921         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21922         allocate space in the stack frame for the PIC register.
21923
21924 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21925
21926         * m68k.md (xordi3, anddi3): These patterns are not available on
21927         the coldfire.
21928
21929 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21930
21931         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21932         (PUT_REAL): Likewise.
21933
21934 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21935
21936         * final.c (shorten_branches): Don't add an alignment for loops
21937         that have no label inside.
21938
21939 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21940
21941         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21942         prototypes in macro HAVE_cmpstrsi.
21943
21944         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21945
21946         * emit-rtl.c (operand_subword): Remove unused variable
21947         `bits_per_word'.
21948
21949         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21950
21951         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21952
21953 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21954
21955         * cpphash.c (macroexpand): Delete leading whitespace when arg
21956         is concatenated before.
21957         (unsafe_chars): Correct test for whether + and - can extend a
21958         token.
21959
21960         * cppinit.c (cpp_start_read): Do dependencies for
21961         -include/-imacros files also.
21962
21963         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21964         tokenizing non-directive lines.
21965         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21966         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21967         the input file.
21968
21969 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21970
21971         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21972
21973         * c-lex.c: Sync with C++ frontend.
21974         (linemode): New variable.
21975         (parse_float): imag, conversion_errno, and type are output only.
21976         (yylex): Adjust.  Move initial '.' case into main switch.
21977         Use linemode.
21978         (handle_generic_pragma): Just deal with tokens.
21979         (readescape): Use ISXDIGIT and ISGRAPH.
21980         * c-parse.in: Add END_OF_LINE token.
21981
21982         * c-lex.c (lang_init): Generalize.
21983         (nextchar): Remove.  Replace uses with UNGETC.
21984         (skip_white_space): Handle linemode here.  Optimize for cpplib.
21985         (skip_white_space_on_line): Remove.
21986         (extend_token_buffer_to): New fn.
21987         (extend_token_buffer): Use it.
21988         (read_line_number, check_newline): Just deal with tokens.
21989         (token_getch, token_put_back): New fns.
21990         (yylex): Use them.  More cpplib optimizations.  Simplify.
21991
21992 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21993                           Jason Merrill  <jason@yorick.cygnus.com>
21994
21995         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21996         (consume_string): Make this smart about USE_CPPLIB.
21997         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21998         (yylex): Rewrite to be intelligent about USE_CPPLIB.
21999         Also, clean up cases where we redundantly set token_buffer[0].
22000         (read_line_number): New fn.
22001         (ignore_escape_flag): New variable.
22002
22003 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
22004
22005         * a29k/t-a29kbare: Fix some comments.
22006         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22007         (FPBIT, DPBIT): Define.
22008         * a29k/t-vx29k: Likewise.
22009         * arc/t-arc: Likewise.
22010         * arm/t-arm-elf: Likewise.
22011         * arm/t-bare: Likewise.
22012         * arm/t-pe: Likewise.
22013         * arm/t-pe-thumb: Likewise.
22014         * arm/t-semi: Likewise.
22015         * arm/t-thumb: Likewise.
22016         * arm/t-thumb-elf: Likewise.
22017         * arm/t-thumb-linux: Likewise.
22018         * h8300/t-h8300: Likewise.
22019         * i960/t-i960: Likewise.
22020         * i960/t-vxworks960: Likewise.
22021         * m32r/t-m32r: Likewise.
22022         * mips/t-ecoff: Likewise.
22023         * mips/t-elf: Likewise.
22024         * mips/t-r3900: Likewise.
22025         * pa/t-pro: Likewise.
22026         * rs6000/t-aix43: Likewise.
22027         * rs6000/t-beos: Likewise.
22028         * rs6000/t-newas: Likewise.
22029         * rs6000/t-ppccomm: Likewise.
22030         * rs6000/t-rs6000: Likewise.
22031         * rs6000/t-winnt: Likewise.
22032         * rs6000/t-xnewas: Likewise.
22033         * rs6000/t-xrs6000: Likewise.
22034         * sh/t-sh: Likewise.
22035         * sparc/t-elf: Likewise.
22036         * sparc/t-sparcbare: Likewise.
22037         * sparc/t-sparclite: Likewise.
22038         * sparc/t-splet: Likewise.
22039         * v850/t-v850: Likewise.
22040         * mn10200/t-mn10200: Fix comments.
22041         * mn10300/t-mn10300: Likewise.
22042
22043         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22044         dummy operand.  Allocate a new pseudo for the dummy operand.
22045         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22046
22047         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22048
22049 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
22050
22051         * configure: Rebuilt.
22052         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22053
22054 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
22055
22056         * recog.c (preproces_constraints): Zero recog_op_alt before
22057         processing the constraints.
22058
22059         * arm.c (typedef minipool_node): Renamed from pool_node.
22060         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22061         (add_minipool_constant): New function.
22062         (dump_minipool): New function.
22063         (find_barrier): Remove special case for getting the insn size of
22064         an insn that references the constant pool.
22065         (minipool_fixup): New structure.
22066         (push_minipool_barrier): New function.
22067         (push_minipool_fix): New function.
22068         (note_invalid_constants): New function.
22069         (add_pool_constant, dump_table, fixit, broken_move): Delete.
22070         (arm_reorg): Rewrite code to fix up the constant pool into a
22071         series of mini-pools embedded in the insn stream.
22072         (arm_output_epilogue): New function, made mainly from the body
22073         of output_func_epilogue.
22074         (output_func_epilogue): Move insn generation part of epilogue code
22075         to arm_output_epilogue.
22076         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22077         * arm.md (pool_range): New attribute.
22078         (zero_extendqidi2): Add attribute pool_range.
22079         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22080         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22081         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22082         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22083         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22084         (epilogue): New expand.
22085         (epilogue_insn): New insn.  Call arm_output_epilogue.
22086
22087         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
22088         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22089
22090 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22091
22092         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22093
22094 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22095
22096         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
22097
22098 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
22099
22100         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22101
22102 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
22103
22104         * global.c: Fix comment.
22105
22106 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
22107
22108         * gcc.c (access_check): New static function.
22109         (find_a_file): Use it when searching a directory list.
22110         * collect2.c (find_a_file): Don't accept directories found when
22111         searching a directory list.
22112
22113 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
22114
22115         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22116         function parameters with `&'.
22117         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
22118
22119 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22120
22121         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
22122         or tidy_fallthru_edge if the last insn in the block is not
22123         an unconditional jump or a simple conditional jump.
22124
22125 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22126
22127         * Makefile.in (c-decl.o): Depends on defaults.h.
22128
22129 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
22130
22131         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
22132         PA1.1 and above.
22133         (CLASS_MAX_NREGS): Likewise.
22134
22135 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
22136
22137         * cse.c (cse_insn): Fix dumb thinko in last change.
22138
22139 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22140
22141         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
22142         "const char *".
22143
22144 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22145
22146         * dwarf2out.c (add_location_or_const_value_attribute): Correct
22147         test for sizes of passed and declared parameter types.
22148
22149 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22150
22151         * fixincludes: Fix the return type of bsearch, char* -> void*.
22152
22153         * fixinc/inclhack.def: Likewise.
22154
22155 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
22156
22157         * invoke.texi (-fdump-translation-unit): New option.
22158
22159 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
22160
22161         * expr.h (PROMOTE_PROTOTYPES): Move ...
22162         * defaults.h: ... to here.
22163         * c-decl.c: Include defaults.h instead of expr.h.
22164         * c-typeck.c: Include defaults.h.
22165
22166 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
22167
22168         * toplev.h (errorcount): Declare.
22169         (warningcount): Likewise.
22170         (sorrycount): Likewise.
22171         * c-lex.c (errorcount): Don't declare.
22172         * dwarf2out.c (errorcount): Don't declare.
22173
22174 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
22175
22176         * config/libgloss.h: Add a note discouraging use with ELF.
22177         * configure.in: Don't use libgloss.h for ELF targets.
22178         Always use_collect2 on a.out targets.
22179
22180 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
22181
22182         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22183         (force_to_mode, case ASHIFTRT): Add shiftrt label.
22184
22185 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22186
22187         * loop.c (strength_reduce): When doing biv->giv conversion, update
22188         reg note of NEXT->insn.
22189
22190 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22191
22192         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22193
22194 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22195
22196         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22197         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22198         Ensure expr.h is included.
22199         * c-typecheck.c (convert_arguments): Ditto.
22200
22201         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22202
22203         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22204         * config/convex/convex.h: Ditto.
22205         * config/dsp16xx/dsp16xx.h: Ditto.
22206         * config/fx80/fx80.h: Ditto.
22207         * config/gmicro/gmicro.h: Ditto.
22208         * config/i370/i370.h: Ditto.
22209         * config/i386/i386.h: Ditto.
22210         * config/m32r/m32r.h: Ditto.
22211         * config/m68k/m68k.h: Ditto.
22212         * config/m88k/m88k.h: Ditto.
22213         * config/mips/mips.h: Ditto.
22214         * config/pa/pa.h: Ditto.
22215         * config/pyr/pyr.h: Ditto.
22216         * config/tahoe/tahoe.h: Ditto.
22217         * config/we32k/we32k.h: Ditto.
22218
22219         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22220         based on arch size.
22221
22222         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22223
22224         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22225         from comment.
22226
22227         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22228
22229 1999-08-02  Richard Henderson  <rth@cygnus.com>
22230
22231         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22232         for the register spill block.
22233         (m32r_va_arg): New.
22234         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22235         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22236
22237         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22238         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22239         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22240
22241 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22242
22243         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22244         MAX_WCHAR_TYPE defined in sparc.h.
22245         * config/sparc/linuxaout.h: Likewise.
22246         * config/sparc/linux64.h: Likewise.
22247         Also default to -mvis if CPU is UltraSPARC.
22248
22249 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22250
22251         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22252         (RTX_OK_FOR_OLO10): Likewise.
22253         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22254         %lo(), allow it in addresses...
22255         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22256         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22257         does not make sense.
22258         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22259         (sparc_output_scratch_registers): New function.
22260         (output_function_prologue, sparc_flat_output_function_prologue): Use
22261         it.
22262         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22263         defined.
22264         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22265         * configure.in: Add check for .register pseudo-op support in as and
22266         check for offsetable %lo().
22267         * acconfig.h: Add templates for the above checks.
22268         * configure: Regenerate.
22269
22270 1999-08-02  Richard Henderson  <rth@cygnus.com>
22271
22272         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22273         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22274         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22275
22276 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22277
22278         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22279         reg_biv_class.
22280
22281 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22282
22283         * config/float-sparc.h: New file.
22284         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22285         sparc-*-linux-gnu and sparc64-*-linux*.
22286
22287 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22288
22289         * rs6000.c (rs6000_va_list): Type is an array.
22290         (rs6000_va_start): Don't doubly adjust for varargs.
22291         (rs6000_va_arg): Evaluate long long GPR adjustment.
22292
22293 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22294
22295         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22296         -maix64 and -maix32.
22297         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22298         LINK_SPEC): Change appropriately.
22299         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22300         (u_short_cint_operand): Likewise.
22301         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22302         for 64-bit hosts.
22303         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22304
22305         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22306
22307 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22308
22309         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22310         for type promotion.
22311         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22312         (non_add_cint_operand): Likewise.
22313         (logical_operand): Likewise.
22314         (non_logical_cint_operand): Likewise.
22315         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22316         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22317         (rs6000_select_rtx_section): Suppress warning.
22318         (small_data_operand): Suppress warning.
22319         (rs6000_got_register): Suppress warning.
22320         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22321         type, so `J' is generally the wrong constraint for a SImode value;
22322         use `L' instead.
22323         (andsi3_internal2): Likewise.
22324         (andsi3_internal3): Likewise.
22325         (iorsi3_internal1): Likewise.
22326         (xorsi3_internal1): Likewise.
22327         (movsi): Likewise.
22328         (movsf_softfloat): Likewise.
22329         (scc insns): Likewise.
22330         (movsi+2): Preserve sign bits of SImode constant.
22331         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22332         (movdf+1): Sign-extend properly.
22333         (movdi_32+1): Sign-extend properly.
22334         (scc insns): Sign-extend properly.
22335
22336         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22337         K, L, and T.
22338
22339 1999-08-02  Richard Henderson  <rth@cygnus.com>
22340
22341         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22342         -mcpu parsing code.
22343         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22344         * alpha.md (all fp insns): Likewise.
22345
22346 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22347
22348         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22349         already defined.
22350
22351 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22352
22353         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22354         pic_load_label generator directly.
22355         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22356         No longer a named pattern.
22357
22358 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22359
22360         * explow.c (force_reg): Call force_operand if X does not
22361         satisfy general_operand.
22362
22363 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22364
22365         * fix-header.c (main): When testing for CONTINUED, use string
22366         equality, not pointer equality.
22367
22368 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22369
22370         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22371
22372 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22373
22374         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22375         that has become an unconditional jump.
22376
22377         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22378         (output_function_epilogue): Similarly.
22379
22380 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22381
22382         * tree.h (init_dummy_function_start): Declare.
22383
22384 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22385
22386         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22387         last_expr_type, last_expr_value, block_start_count, block_stack,
22388         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22389         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22390         dynamically in stmt elt of struct function for each function.
22391         (struct nesting): Rename function_call_count elt to n_function_calls,
22392         target_temp_slot_level to block_target_temp_slot_level.  All users
22393         changed.
22394         (struct stmt_status): New structure definition.
22395         Add many accessor macros for stmt_status elements which previously
22396         were global variables.
22397         (init_stmt_for_function): Allocate stmt elt for current_function.
22398         Reflect that block_start_count was renamed to
22399         current_block_start_count.
22400         (save_stmt_status, restore_stmt_status): Delete functions.
22401         (preserve_subexpressions_p): Don't access loop_stack when outside
22402         a function.
22403         (expand_start_bindings): Reflect that block_start_count was renamed to
22404         current_block_start_count.
22405         (expand_fixup): Likewise.
22406         (expand_decl): Don't access block_stack when outside a function.
22407         (expand_decl_cleanup): Likewise.
22408         (expand_dcc_cleanup): Likewise.
22409         (expand_dhc_cleanup): Likewise.
22410         (expand_anon_union_decl): Likewise.
22411         (set_file_and_line_for_stmt): New function.
22412         (in_control_zone_p): New function.
22413
22414         * function.h (struct function): Add new elt stmt.
22415         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22416         case_stack, nesting_stack, nesting_depth, block_start_count,
22417         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22418         emit_lineno, goto_fixup_chain.
22419         (save_eh_status, restore_eh_status, save_stmt_status,
22420         restore_stmt_status): Delete declarations.
22421         * function.c (push_function_context_to): Don't call save_stmt_status.
22422         (pop_function_context_to): Don't call restore_stmt_status.
22423         * tree.h (in_control_zone_p): Declare.
22424         * rtl.h (set_file_and_line_for_stmt): Declare.
22425
22426         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22427         call set_file_and_line_for_stmt.
22428
22429 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22430
22431         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22432         Also update copyright.
22433
22434 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22435
22436         * c-pragma.c: Don't include "except.h".
22437         * emit-rtl.c: Likewise.
22438         * stor-layout.c: Likewise.
22439         * tree.c: Likewise.
22440         * varasm.c: Likewise.
22441
22442         * flow.c: Include "function.h".
22443         * tree.h (init_dummy_function_start): Declare new function.
22444
22445         * except.h (struct eh_status): New structure.
22446         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22447         been included.
22448         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22449         catch_clauses, false_label_stack, caught_return_label_stack,
22450         protect_list, current_function_ehc): Add accessor macros for the
22451         corresponding fields in current_function->eh; delete declarations
22452         for all items that used to be declared here.
22453         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22454         catch_clauses, false_label_stack, caught_return_label_stack,
22455         protect_list, current_function_ehc): Delete variables.
22456         (init_eh_for_function): Allocate current_function->eh.
22457         (save_eh_status, restore_eh_status): Delete functions.
22458
22459         * function.h (struct function): Add fields next_global and eh.
22460         Delete all exception handling related fields.
22461         * function.c (current_function): New variable.
22462         (all_functions): New variable.
22463         (push_function_context_to): Don't allocate a struct function,
22464         use current_function instead.  Call init_dummy_function_start when
22465         outside a function.  Clear current_function before returning.
22466         (pop_function_context_from): Restore current_function.
22467         Don't free the restored struct function.
22468         (prepare_function_start): New function.
22469         (init_dummy_function_start): New function.
22470         (init_function_start): Break out some code into prepare_function_start
22471         and call it here.
22472
22473         * stmt.c (save_stmt_status): Don't call save_eh_status.
22474         (restore_stmt_status): Don't call restore_eh_status.
22475
22476         * Makefile.in: Update dependencies.
22477
22478 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22479
22480         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22481         of depending on a magic constant value.  Update comments.
22482         (hppa_expand_prologue): Similarly.
22483
22484         * pa.md (reload_indi, reload_outdi): Allow any register for the
22485         original reload register.
22486
22487 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22488
22489         * cccp.c (print_help): Change marcos to macros.
22490
22491 1999-07-30  Richard Henderson  <rth@cygnus.com>
22492
22493         * c-typeck.c (initializer_constant_valid_p): Move ...
22494         * c-common.c (initializer_constant_valid_p): ... here.  Use
22495         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22496         of label addresses.
22497         * c-common.h (initializer_constant_valid_p): Declare.
22498         * c-tree.h (initializer_constant_valid_p): Remove.
22499
22500 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22501
22502         * config/i386/sol2-c1.asm: Align the stack.
22503         * config/i386/sol2-gc1.asm: Likewise.
22504
22505 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22506
22507         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22508         -Asparclite for sparc86x.
22509         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22510         sparc86x.
22511         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22512
22513 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22514
22515         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22516         the user if using the non-default arch size in BI_ARCH configuration.
22517         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22518
22519         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22520         Fix patterns so that they actually match.
22521         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22522         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22523         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22524         TARGET_HARD_MUL32.
22525         (mulsidi3): Reflect this in the expand.
22526         (smulsi3_highpart): Only on TARGET_ARCH32.
22527         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22528         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22529         (umulsidi3): Reflect this in the expand.
22530         (umulsi3_highpart): Only on TARGET_ARCH32.
22531         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22532         don't require g0 to be zero.
22533         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22534         ({,u}divsi3): New expands.
22535         ({,u}divsi3_sp64): New patterns.
22536         (after lshrdi3_v8plus): Four new patterns to help combiner
22537         optimizing nested mixed mode shifts.
22538
22539         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22540         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22541         speed things up. Don't use them by default on plain v9 in 64bit
22542         mode, according to what SPAMv9 sais.
22543
22544         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22545         top 32 bits of %[og][0-7] in signal handlers.
22546         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22547
22548 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22549
22550         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22551         (ashlsi3): Corresponding changes.
22552
22553         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22554
22555 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22556
22557         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22558
22559 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22560
22561         * arm.h (Hint): Delete macro.
22562         Substitute HOST_WIDE_INT for Hint in some prototypes.
22563         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22564
22565 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22566
22567         * builtins.c (expand_builtin_setjmp): Use force_operand to
22568         make sure that the buffer address is in a suitable form to be
22569         passed to force_reg.
22570
22571 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22572
22573         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22574         them here.
22575
22576 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22577
22578         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22579         proper mode in the condition string.
22580         (icacheflush, dcacheflush): Remove modes from match_operands.
22581
22582         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22583         proper mode before using it.
22584
22585         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22586         pair.
22587
22588         * pa.c (store_reg): Do not call add_high_const generator directly.
22589         (load_reg, set_reg_plus_d): Likewise.
22590         * pa.md (add_high_const): No longer a named pattern.
22591
22592         * pa.c (legitimize_address): Consistently use Pmode rather than
22593         SImode.  Do not call gen_pic2_highpart directly anymore.
22594         * pa.md (pic2_highpart): No longer a named pattern.
22595         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22596
22597         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22598         needed.
22599
22600         * README: Update.
22601
22602 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22603
22604         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22605
22606 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22607
22608         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22609         and tag the spill mems.
22610         (hppa_va_start): New.
22611         (hppa_va_arg): New.
22612         * pa.h (EXPAND_BUILTIN_VA_START): New.
22613         (EXPAND_BUILTIN_VA_ARG): New.
22614
22615 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22616
22617         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22618         and tag the spill mems.
22619         (mn10300_va_start): New.
22620         (mn10300_va_arg): New.
22621         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22622         (EXPAND_BUILTIN_VA_ARG): New.
22623
22624 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22625
22626         * mn10200.c (mn10200_va_arg): New.
22627         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22628
22629 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22630
22631         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22632         rather than play with TREE_INT_CST_LOW.
22633
22634 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22635
22636         * config/arm/telf.h: Include dbxelf.h.
22637         (CPP_PREDEFINES): Only define if not already defined.
22638         (ASM_IDENTIFY_GCC): Likewise.
22639         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22640         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22641         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22642         defined.
22643         (DBX_DEBUGGING_INFO): Don't define.
22644         * config/arm/linux-telf.h: New file.
22645         * config/arm/linux-tgas.h: New file.
22646         * config/arm/t-thumb-linux: New file.
22647         * config/arm/uclinux-elf.h: New file.
22648         * config/arm/uclinux-telf.h: New file.
22649         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22650         thumb-*-uclinux): New targets.
22651         * configure: Regenerate.
22652
22653 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22654
22655         * pa.md (post_store, pre_load): New expanders.
22656         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22657         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22658         need to directly generate RTL for them.
22659         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22660         changes.
22661
22662 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22663
22664         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22665         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22666         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22667         (secndary_reload_class): Make TARGET_ELF conditional compile.
22668         (print_operand_address): Similar.
22669         (output_toc): Print all values as hex.
22670         (get_issue_rate): Rearrange and add RS64A and PPC630.
22671         * rs6000.h (processor_type): Add RS64A and PPC630.
22672         (PROCESSOR_POWERPC64): New.
22673         (PROMOTE_MODE): Use word_mode.
22674         (RTX_COSTS): Add RS64A and PPC630.
22675         * rs6000.md (scheduling information): Add lmul and ldiv
22676         representing 64-bit integer multiply and divide.  Add rs64a and
22677         PPC630 information.
22678         (ashldi3): Add support for "rldic" instruction.
22679         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22680
22681 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22682
22683         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22684         instead of V8 for sparclite86x in cpu_table.
22685
22686 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22687
22688         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22689         output_file_directive.
22690
22691 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22692
22693         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22694         tree for op1, not the rtl.
22695
22696 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22697
22698         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22699         to m88k_va_start, leaving only the register spill.
22700         (m88k_build_va_list): New.
22701         (m88k_va_start): New.
22702         (m88k_va_arg): New.
22703         * m88k.h (BUILD_VA_LIST_TYPE): New.
22704         (EXPAND_BUILTIN_VA_START): New.
22705         (EXPAND_BUILTIN_VA_ARG): New.
22706
22707 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22708
22709         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22710         Rename from expand_builtin_saveregs.
22711         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22712
22713 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22714
22715         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22716         for the register spill block.
22717         (i960_build_va_list): New.
22718         (i960_va_start): New.
22719         (i960_va_arg): New.
22720         * i960.h (BUILD_VA_LIST_TYPE): New.
22721         (EXPAND_BUILTIN_VA_START): New.
22722         (EXPAND_BUILTIN_VA_ARG): New.
22723         * i960.md (store_multiple): Use change_address on individul mems.
22724
22725 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22726
22727         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22728         an ARRAY_TYPE.
22729         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22730         (expand_builtin_va_end): Evaluate arg for side effects.
22731         * c-common.c (c_common_nodes_and_builtins): Construct a
22732         va_list_arg_type_node to handle array decomposition to pointer.
22733
22734 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22735
22736         * except.c (st_dynamic_cleanup): Use force_operand on the
22737         buffer's address.
22738
22739 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22740
22741         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22742         * c4x.c (c4x_va_arg): New.
22743
22744 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22745
22746         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22747         has manual_pop set.
22748
22749 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22750
22751         * eh-common.h (__eh_matcher): Prototype correctly.
22752
22753 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22754
22755         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22756         (TARGET_SINGLE_PIC_BASE): Likewise.
22757         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22758         definitions.
22759         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22760         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22761         (TARGET_OPTIONS): Add -mpic-register=N.
22762         (OUTPUT_INT_ADDR_CONST): New macro.
22763         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22764         LEGITIMATE_PIC_OPERAND_P): Likewise.
22765         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22766         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22767         output_addr_const directly.
22768         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22769         ARM port.
22770         (thumb_pic_register, thumb_pic_register_string): Declare.
22771
22772         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22773         from arm.c.
22774         (label_mentioned_p): New function: Imported from arm.c.
22775         (legitimize_pic_address): New function: Imported from arm.c.
22776         (is_pic):New function: Imported from arm.c.
22777         (thumb_finalize_pic):New function: Imported from arm.c.
22778         (add_constant): Cope with PIC constants.
22779         (fixit): Cope with PIC constants.
22780         (output_return): Do not treat the PIC register as live if
22781         TARGET_SINGLE_PIC_BASE is true.
22782         (thumb_function_prologue): Do not treat the PIC register as live if
22783         TARGET_SINGLE_PIC_BASE is true.
22784         (thumb_expand_prologue): Do not treat the PIC register as live if
22785         TARGET_SINGLE_PIC_BASE is true.
22786         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22787         TARGET_SINGLE_PIC_BASE is true.
22788         (thumb_print_operand): Accept '|'.
22789         (thumb_override_options): Process PIC options.
22790
22791         * config/arm/thumb.md (movsi): Support PIC.
22792         (call_insn): Change "i" constraint to "X".
22793         (call_value_insn): Likewise.
22794         (consttable_4, consttable_8, consttable_end): Set and clear
22795         "making_const_table" as appropriate.
22796         (pic_load_addr, pic_add_dot_plus_four): New insns.
22797
22798         * invoke.texi (Thumb Options): Fix spelling.  Document new
22799         options -msingle-pic-base and -mpic-register=.
22800
22801 1999-07-26  Andrew Haley  <aph@cygnus.com>
22802
22803         * config/m32r/initfini.c (__init): Use a full word immediate for
22804         __fini: this allows it to be placed in any memory region.
22805
22806         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22807         -mmodel=medium.  This is OK for all memory models.
22808
22809 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22810
22811         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22812         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22813
22814 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22815
22816         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22817         defined.
22818
22819         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22820
22821 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22822
22823         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22824         (BUILD_VA_LIST_TYPE): New.
22825         (EXPAND_BUILTIN_VA_START): New.
22826         (EXPAND_BUILTIN_VA_ARG): New.
22827         * i860.c (output_delayed_branch): Disable.
22828         (output_delay_insn): Likewise.
22829         (i860_saveregs): New.
22830         (i860_build_va_list): New.
22831         (i860_va_start): New.
22832         (i860_va_arg): New.
22833         * i860.md: Disable all peepholes using output_delayed_branch.
22834         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22835
22836 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22837
22838         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22839         (BUILD_VA_LIST_TYPE): New.
22840         (EXPAND_BUILTIN_VA_START): New.
22841         (EXPAND_BUILTIN_VA_ARG): New.
22842         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22843         Return the address of the save area.
22844         (clipper_build_va_list): New.
22845         (clipper_va_start): New.
22846         (clipper_va_arg): New.
22847
22848 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22849
22850         * arc.h (EXPAND_BUILTIN_VA_START): New.
22851         (EXPAND_BUILTIN_VA_ARG): New.
22852         * arc.c (arc_setup_incoming_varargs): Set alias set of
22853         varargs save area.
22854         (arc_va_start): New.
22855         (arc_va_arg): New.
22856
22857 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22858
22859         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22860         (BUILD_VA_LIST_TYPE): New.
22861         (EXPAND_BUILTIN_VA_START): New.
22862         (EXPAND_BUILTIN_VA_ARG): New.
22863         * alpha.c (alpha_builtin_saveregs): Delete.
22864         (alpha_build_va_list): New.
22865         (alpha_va_start): New.
22866         (alpha_va_arg): New.
22867
22868 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22869
22870         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22871         column zero.
22872         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22873         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22874
22875         * gcc.texi: More changes related to list conversion.
22876         * invoke.texi: Likewise.
22877
22878 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22879
22880         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22881         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22882         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22883         (stabilize_va_list): New function.
22884         (std_expand_builtin_va_start): New function.
22885         (expand_builtin_va_start): New function.
22886         (get_varargs_alias_set): New function.
22887         (std_expand_builtin_va_arg): New function.
22888         (expand_builtin_va_arg): New function.
22889         (expand_builtin_va_end): New function.
22890         (expand_builtin_va_copy): New function.
22891         (expand_builtin): Call them.
22892         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22893         __builtin_{varargs_start,stdarg_start,end,copy}.
22894         (build_va_arg): New function.
22895         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22896         (build_va_arg): Declare.
22897         * c-decl.c (ptr_type_node, va_list_type_node): New.
22898         * c-parse.gperf (__builtin_va_arg): New.
22899         * c-parse.in (VA_ARG): New token.
22900         (unary_expr): Recognize it.
22901         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22902         * expr.h (std_expand_builtin_va_start): Declare.
22903         (std_expand_builtin_va_arg): Declare.
22904         (expand_builtin_va_arg): Declare.
22905         (get_varargs_alias_set): Declare.
22906         * tree.def (VA_ARG_EXPR): New.
22907         * tree.h (BUILT_IN_VARARGS_START): New.
22908         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22909         (ptr_type_node, va_list_type_node): Declare.
22910         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22911         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22912         * m88k.h, m88k.c: Likewise.
22913         * mn10300.h, mn10300.c: Likewise.
22914         * pa.h, pa.c: Likewise.
22915         * rs6000.h, rs6000.c: Likewise.
22916         * sh.h, sh.c: Likewise.
22917         * sparc.h, sparc.c: Likewise.
22918
22919         * emit-rtl.c (operand_subword): Copy alias set.
22920         (change_address): Likewise.
22921
22922 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22923
22924         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22925         not just the first one.
22926
22927 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22928
22929         * config/arm/arm.h (TARGET_SWITCHES): Add
22930         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22931         (TARGET_OPTIONS): Add -mpic-register=.
22932         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22933         (arm_pic_register_string): Declare.
22934         (NEED_PLT_GOT): Delete, replace with ...
22935         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22936         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22937         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22938         * config/arm/arm.c (arm_override_options): Add new option
22939         -mpic-register=N.
22940         (arm_pic_register_string): New variable.
22941         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22942         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22943         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22944         (output_return_instruction): Likewise.
22945         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22946         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22947         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22948
22949         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22950         mention of -msched-prolog.  Document new options -msingle-pic-base
22951         and -mpic-register=.
22952
22953 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22954
22955         * haifa-sched.c (reemit_notes): Tidy.
22956         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22957         haifa's routine.
22958
22959 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22960
22961         * explow.c (trunc_int_for_mode): New function.
22962         (plus_constant_wide): Use it.
22963         * combine.c (simplify_and_const_int): Likewise.
22964         (merge_outer_ops): Likewise.
22965         (simplify_shift_const): Likewise.
22966         * cse.c (simplify_unary_operation): Likewise.
22967         (simplify_binary_operation): Likewise.
22968         * emit-rtl.c (operand_subword): Likewise.
22969         * rtl.h: Declare it.
22970
22971 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22972
22973         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22974         (use NUM_REGS instead of NUM_INTS).
22975
22976 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22977
22978         * builtins.c: New file.
22979         * expr.c (saveregs_value, apply_args_value):  Delete definition,
22980         moved into builtins.c.
22981         (string_constant): No longer static.
22982         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22983         apply_args_size, apply_result_size, result_vector,
22984         expand_builtin_apply_args, expand_builtin_apply,
22985         expand_builtin_return): Delete functions, moved into builtins.c.
22986         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22987         * expr.h (saveregs_value, apply_args_value): Declare variables.
22988         (expand_builtin, string_constant): Declare functions.
22989         * Makefile.in: Update to build builtin.o.
22990
22991 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
22992
22993         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22994         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22995         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22996         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22997         false.
22998         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22999         Define to zero.
23000
23001 1999-07-21  Michael Meissner  <meissner@cygnus.com>
23002
23003         * print-rtl.c (print_rtx): Print the names of the virtual
23004         registers.
23005
23006 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
23007
23008         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23009         introduced in previous delta.
23010
23011 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23012
23013         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23014         to avoid name clash.
23015
23016 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23017
23018         * c-lex.c (yylex) : Correct the test for overflow when lexing
23019         integer literals.
23020
23021 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
23022
23023         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23024         (adjust_priority): Always call ADJUST_PRIORITY.
23025         (schedule_insn): Only put insns into the ready at cost 0.
23026         (schedule_block): Remove redundant initial sort.  Give clock_var
23027         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
23028         is not 0.
23029         * tm.texi (MD_SCHED_REORDER): Update docs.
23030
23031         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
23032         * sparc.c (ultra_reorder_called_this_block): Delete.
23033         (ultrasparc_sched_init): Don't set it.
23034         (ultrasparc_sched_reorder): Don't check it.
23035
23036 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
23037
23038         * rs6000.h (struct rs6000_args): Add sysv_gregno.
23039         * rs6000.c (init_cumulative_args): Init sysv_gregno.
23040         (function_arg_boundary): Align DFmode.
23041         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23042         to get fp reg and stack overflow correct.
23043         (function_arg): Likewise.
23044         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23045         (setup_incoming_varargs): Restructure for ABI_V4; use
23046         function_arg_advance to skip final named argument.
23047         (expand_builtin_saveregs): Properly unskip the last integer arg
23048         when doing varargs.  Adjust overflow location calculation.
23049
23050         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23051         explicitly unsigned.
23052         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23053         (__VA_GP_REGSAVE): Similarly.
23054         (__va_longlong_p): Delete.
23055         (__va_arg_type_violation): New declaration.
23056         (va_arg): Restructure.  Flag promotion errors.  Align double.
23057         TFmode passed by reference.
23058
23059         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23060         in the HOST_BITS_PER_WIDE_INT > 32 case.
23061
23062 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23063
23064         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23065
23066 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
23067
23068         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23069         * toplev.c (documented_lang_options): Add -fpreprocessed.
23070         * cpplib.h (struct cpp_buffer): Add preprocessed.
23071         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23072         (cpp_start_read): Don't expand macros or emit an initial #line
23073         directive if -fpreprocessed.
23074
23075 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23076
23077         * cpplib.h (struct cpp_buffer): Added manual_pop for
23078         better C++ tokenization.
23079         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23080         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23081         * c-common.c (cpp_token): Make non-static.
23082
23083 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23084
23085         * c-common.h: New file.
23086         * c-common.c (permanent_obstack): Delete unused declaration.
23087         (c_global_trees): New array.
23088         (c_common_nodes_and_builtins): New function; split off common code
23089         from init_decl_processing in both c-decl.c and cp/decl.c.
23090         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23091         c_global_trees and accessor macros defined in c-common.h.
23092         Include c-common.h.
23093         * c-decl.c: Delete definitions for tree nodes that were replaced by
23094         c_global_trees.
23095         (init_decl_processing): Build void_list_node.
23096         Call c_common_nodes_and_builtins; delete code to generate the common
23097         builtins here.
23098         * objc/objc-act.c (build_module_descriptor): Rename variable
23099         void_list_node to avoid clash with c-common.h.
23100
23101         * Makefile.in: Update dependencies.
23102         * objc/Make-lang.in: Likewise.
23103
23104 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
23105
23106         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23107         (UNIQUE_SECTION_P): Likewise.
23108         (UNIQUE_SECTION): Likewise.
23109
23110 1999-07-19  Linas Vepstas  <linas@linas.org>
23111
23112         * config/i370/README: New file.
23113         * config/i370/linux.h: New file.
23114         * config/i370/mvs.h: New file.
23115         * config/i370/oe.h: New file.
23116         * config/i370/t-linux: New file.
23117         * config/i370/t-mvs: New file.
23118         * config/i370/t-oe: New file.
23119         * config/i370/x-oe: New file.
23120         * config/i370/xm-linux.h: New file.
23121         * config/i370/xm-mvs.h: New file.
23122         * config/i370/xm-oe.h: New file.
23123
23124         * i370.c (label_node_t): Add first_ref_page, label_addr,
23125         label_first_ref, label_last_ref members.
23126         (mvs_need_base_reload): Renamed from mvs_label_emitted.
23127         (MAX_MVS_LABEL_SIZE): Define.
23128         (MAX_LONG_LABEL_SIZE): Define.
23129         (alias_node_t, alias_anchor, alias_number): New.
23130         (mvs_function_table): Reorder for EBCDIC.
23131         (ascebc, ebcasc): Unconditionally define.
23132         (i370_branch_dest, i370_branch_length): New functions.
23133         (i370_short_branch, i370_label_scan): New functions.
23134         (mvs_get_label): Renamed from mvs_add_label.  Search for
23135         an existing label before creating a new one.
23136         (mvs_add_label): New function.
23137         (mvs_get_label_page): New function.
23138         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
23139         over the entire list.
23140         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
23141         (mvs_check_page) [TARGET_ELF_ABI]: New function.
23142         (mvs_add_alias, mvs_need_alias): New functions.
23143         (mvs_get_alias, mvs_check_alias): New functions.
23144         (handle_pragma): New function.
23145         (mvs_function_check): New function.
23146         (unsigned_jump_follows_p): Search harder.
23147         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
23148         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23149         * i370.h (TARGET_VERSION): Delete.
23150         (CPP_SPEC, CPP_PREDEFINES): Delete.
23151         (mvs_label_emitted): Delete.
23152         (TARGET_EBCDIC): Delete.
23153         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23154         (HANDLE_PRAGMA): Define.
23155         (HARD_REGNO_NREGS): Handle complex modes.
23156         (HARD_REGNO_MODE_OK): Likewise.
23157         (CLASS_MAX_NREGS): Likewise.
23158         (RET_REG): Likewise.
23159         (EXTRA_CONSTRAINT): Define.
23160         (RETURN_IN_MEMORY): True for DImode.
23161         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23162         (FUNCTION_PROFILER): Delete.
23163         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23164         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23165         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23166         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23167         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23168         (ASM_FILE_START): Add "RMODE ANY".
23169         (ASM_OUTPUT_EXTERNAL): Check for aliases.
23170         (ASM_GLOBALIZE_LABEL): Likewise.
23171         (ASM_OUTPUT_LABELREF): Likewise.
23172         (ASM_OUTPUT_COMMON): Likewise.
23173         (PRINT_OPERAND): Handle 'K', 'W', default.
23174         (PRINT_OPERAND_ADDRESS): New.
23175         (Lots of defines): Add support for TARGET_ELF_ABI.
23176         * i370.md (attr length): New.  Define for all patterns.
23177         (*): Lots of tweeks to assembly output and constraints.
23178
23179 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
23180
23181         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23182         Disable patterns performing SImode comparisons with SImode values
23183         if TARGET_POWERPC64 and instruction does not sign-extend or does
23184         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23185         differ for signed quantities.
23186         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23187         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23188         (decrement_and_branch_on_count): Add 64-bit variant.
23189
23190 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23191
23192         * final.c (output_asm_insn): When searching for the matching string
23193         for a given dialect, don't run past the end of the list of
23194         alternatives if there are fewer alternatives in the template than
23195         dialects.
23196
23197 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23198
23199         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23200         Removed paragraph about compression of files and size limitation,
23201         duplicated in the FAQ.  Use gcc-patches for posting patches.
23202         * gcc.c (main): Updated URL with bug reporting instructions to
23203         gcc.gnu.org.  Removed e-mail address.
23204         * system.h (abort): Likewise.
23205
23206 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23207
23208         * Makefile.in (stmp-multilib-sub): Make the files extracted
23209         from $(LIBGCC1) writable.
23210
23211 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23212
23213         * config/arm/aout.h: Reformat for improved readability.
23214
23215         * config/arm/arm.h: Reformat for improved readability.
23216         Replace uses of fprintf with asm_fprintf where appropriate.
23217         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23218         function declaration assembler actions.
23219         (NUM_INTS): New macro: Convert from bytes to words.
23220         (NUM_REGS): New macro: Compute number of registers required to
23221         hold a quanitity of tyep MODE.
23222         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23223         types.
23224         (NUM_ARG_REGS): New macro: The number of argument registers
23225         available.
23226         (ARG_REGISTER): New macro: Compute the register number of the Nth
23227         argument register.
23228         (LAST_ARG_REGNUM): New macro: The number of the last argument
23229         register.
23230         (SP_REGNUM): New macro: Register number of the stack pointer.
23231         (FP_REGNUM): New macro: Register number of the frame pointer.
23232         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23233         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23234         CUMULATIVE_ARGS so that it counts registers not bytes.
23235
23236         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23237         TARGET_INTERWORK.
23238         Replace uses of fprintf with asm_fprintf where appropriate.
23239         (output_ascii_pseudo_op): Replace with version from thumb.c
23240
23241         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23242
23243         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23244         SUBTARGET_CPP_SPEC.
23245         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23246         (ASM_FILE_START): Emit ASM_APP_OFF.
23247
23248 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23249
23250         * pa.c (compute_frame_size): Round frame according to
23251         STACK_BOUNDARY rather than a hardwired value.
23252
23253         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23254
23255         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23256         of "1".
23257         * configure: Rebuilt.
23258
23259         * configure.in (hppa*-*-linux*): New configuration.
23260         * configure: Rebuilt.
23261         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23262         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23263         * pa/pa-linux.h: New file.
23264         * pa/t-linux: New file.
23265         * pa/xm-linux.h: New file.
23266
23267         * pa.c (hppa_legitimize_address): Change references from SImode to
23268         either Pmode or word_mode as appropriate.
23269         (emit_move_sequence, store_reg, load_reg): Likewise.
23270         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23271         (output_mul_insn): Likewise.
23272         * pa.h (PROMOTE_MODE): Likewise.
23273         (INITIALZE_TRAMPOLINE): Likewise.
23274         (Pmode): Define to word_mode.
23275
23276         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23277         value of 4.  Allocate 8 bytes for each FP register save.
23278         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23279         value of 4.
23280         (hppa_expand_prologue): Likewise.
23281         * pa.h (PROMOTE_MODE): Likewise.
23282         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23283         (FUNCTION_ARG_BOUNDARY): Likewise.
23284
23285         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23286
23287         * pa.c (out_of_line_prologue_epilogue): Delete.
23288         (override_options): Remove -mspace related code.
23289         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23290         (compute_frame_size): Only allocate space for register that
23291         actually need to be saved.
23292         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23293         (TARGET_SWITCHES): Remove -mspace, -mno-space
23294         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23295         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23296         * pa/ee.asm, pa/ee_fp.asm: Delete.
23297
23298         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23299
23300         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23301         directive in column zero.
23302
23303 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23304
23305         * m68k.c (output_function_prologue): Fix computation of save mask
23306         when generating PIC code.
23307
23308 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23309
23310         * tree.c (build_type_attribute_variant): Move current_obstack restore
23311         after build_qualified_type call.
23312
23313 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23314
23315         * configure.in: Use t-iris6, even with GNU LD.
23316         * config/mips/iris6gld.h: Fix typo in linker spec.
23317         * config/mips/t-iris6gld: Remove.
23318
23319 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23320
23321         * rs6000.md (insv, extzv): Remove SImode dependence in named
23322         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23323         operand is DImode.
23324         (insvdi): Reverse start and size in instruction template.
23325
23326 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23327
23328         * invoke.texi: Typo fixes.
23329
23330 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23331
23332         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23333         handle at this time instead of silently generating incorrect code.
23334         (gen_imagpart): Likewise.
23335
23336         * reload.c (find_reloads): Emit a USE for a pseudo register without
23337         a hard register if we could not create an optional reload for the
23338         pseudo.
23339
23340 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23341
23342         * c-typeck.c (output_init_element, process_init_element):
23343         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23344         check for nameless bit fields.
23345
23346 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23347
23348         * regclass.c (scan_one_insn): Notice subregs that change the
23349         size of their operand.
23350         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23351
23352 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23353
23354         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23355         * configure: Rebuilt.
23356         * alpha/t-ieee: New file.
23357
23358 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23359
23360         * rs6000.c (find_addr_reg): Do not select r0 as an address
23361         register.
23362
23363 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23364
23365         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23366
23367 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23368
23369         * rs6000.md (movsf): Do not force easy FP constants into memory.
23370
23371         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23372         immed_double_const to ensure they are properly truncated then
23373         sign extended.
23374
23375 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23376
23377         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23378         always unless NO_DEBUG is used.  Compile this code
23379         unconditionally.
23380         (replace_symbols_in_block): Compile it unconditionally.
23381
23382 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23383
23384         * configure.in (i?86-*-elf*): New target.
23385         * configure: Rebuilt.
23386         * i386/i386elf.h, i386/t-i386elf: New files.
23387
23388 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23389
23390         * toplev.c (main): Don't complain about saying -gdwarf.
23391         (rest_of_compilation): Remove redundant code.
23392
23393 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23394
23395         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23396
23397 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23398
23399         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23400         "Li960R:", to avoid name clash.
23401
23402 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23403
23404         * loop.c (check_dbra_loop): When reversing a loop, delete all
23405         REG_EQUAL notes referencing the reversed biv except those which are
23406         for a giv based on it.
23407
23408 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23409
23410         * version.c: Drop "gcc-" prefix from version #.
23411
23412 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23413
23414         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23415         the label if we're being verbose.
23416
23417 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23418
23419         * m68k.c (output_function_prologue): Add pic register to mask
23420         if live and flag_pic.
23421         (output_function_epilogue): Likewise.
23422
23423 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23424
23425         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23426         directives in column zero.
23427
23428         * pa/elf.h (ASM_FILE_START): Define.
23429         * pa/som.h (ASM_FILE_START): Include .level directives.
23430         * pa/hpux10.h (ASM_FILE_START): Delete.
23431         * pa/hpux11.h (ASM_FILE_START): Delete.
23432
23433         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23434
23435 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23436
23437         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23438         when reload_out equals reload_in.
23439
23440 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23441
23442         * invoke.texi (Spec Files): New node: Describe the contents of
23443         spec files.
23444
23445 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23446
23447         * invoke.texi (DEC Alpha Options): Put @end table at
23448         beginning of line, to avoid confusing texi2html.
23449
23450 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23451
23452         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23453         introduced in previous delta.
23454
23455 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23456
23457         * reload1.c (gen_reload): When synthesizing a 3 operand add
23458         sequence, improve test for when to reload OP1 into the reload
23459         register instead of OP0.
23460
23461 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23462
23463         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23464
23465 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23466
23467         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23468         string literal.
23469
23470 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23471
23472         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23473         (va_dcl): Use __builtin_va_alist_t.
23474
23475 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23476
23477         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23478         on the permanent_obstack.
23479         * dwarfout.c (output_type): Likewise.
23480
23481 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23482
23483         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23484         Merged from c-typeck.c and cp/typeck.c.
23485         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23486         Merged into c-common.
23487
23488 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23489
23490         * c-lex.c (errorcount): Declare it.
23491         (finish_parse): Update errorcount when using CPPLIB.
23492
23493 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23494
23495         * fixinc/inclhack.def(end_else_label): Double the backslash so
23496         sed gets a chance to see it.
23497         * fixinc/inclhack.sh: regen
23498         * fixinc/fixincl.x: regen
23499
23500 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23501
23502         Add framework to support armv5 architecture when it becomes
23503         available:
23504
23505         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23506         (arm_arch5): New variable.
23507         (all_architectures): Add armv5 line.
23508         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23509         -march=armv5 is specified on the command line.
23510         (arm_arch5): Export this variable.
23511         * invoke.texi: Document new string accepted by -march= switch for
23512         ARM ports.
23513
23514         * config/arm/arm.h: Replace use of constant 12 as a register
23515         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23516         * config/arm/arm.c: Replace use of constant 12 as a register
23517         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23518
23519         * config/arm/elf.h: Tidy up.
23520         * config/arm/coff.h: Tidy up.
23521
23522 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23523
23524         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23525         * gcc/config/mips/t-iris6gld: New file.
23526         * gcc/config/mips/iris6gld.h: Likewise.
23527
23528 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23529
23530         * c-decl.c (widest_integer_literal_type_node,
23531         widest_unsigned_literal_type) : New.
23532         (init_decl_processing): Handle/use the two new types.
23533         * c-common.c (type_for_size,type_for_mode) : Same.
23534         * c-lex.c (yylex) : Same.
23535         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23536         Same.
23537         * c-tree.h (widest_integer_literal_type_node,
23538         widest_unsigned_literal_type) : New.
23539
23540 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23541
23542         * dwarfout.c (field_byte_offset): Correctly compute the object's
23543         byte offset for the first bit of a field which crosses an alignment
23544         boundary on a !BYTES_BIG_ENDIAN target.
23545
23546 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23547
23548         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23549         ntohs.
23550
23551 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23552                           Jeff Law <law@cygnus.com>
23553
23554         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23555         __builtin_va_list.
23556
23557         * except.c: Include intl.h.
23558         (expand_eh_return): Set current_function_cannot_inline.
23559         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23560         * function.h (struct function): Add eh_return_stub_label.
23561         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23562         * Makefile.in (except.o): Depend on intl.h.
23563
23564 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23565
23566         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23567         same as offsettable in cases 1 and 2.
23568
23569 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23570
23571         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23572         (extlh, extwh): Likewise.
23573
23574 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23575
23576         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23577
23578 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23579
23580         * configure.in: Add arm-pe and thumb-pe targets.
23581         * configure: Regenerate.
23582
23583         * thumb.c (arm_naked_function_p): New function: Determines if
23584         a function is naked (has no gcc generated prologue/epilogue).
23585         (is_called_in_ARM_mode): Return true if the func has the
23586         interfacearm attribute.
23587         (output_return): Do not generate a return for naked functions.
23588         (thumb_function_prologue): Do not generate a prologue for
23589         naked functions.
23590         (thumb_expand_prologue): Do not generate a prologue for naked
23591         functions.
23592         (thumb_expand_epilogue): Do not generate an epilogue for naked
23593         functions.
23594         (arm_valid_machine_decl_attribute): New function, copied from
23595         arm.c:  Permit naked and interfacearm attributes.
23596
23597         * config/arm/pe.c: New file: Support code for arm-pe target.
23598         * config/arm/pe.h: New file: Header file for arm-pe target.
23599         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23600         * config/arm/t-thumb-pe: New file: Makefile fragment for
23601         thumb-pe target.
23602
23603 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23604
23605         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23606         -fPIC or -fpic is specified.
23607
23608 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23609
23610         * expr.c (emit_block_move): Use copy_to_mode_reg for
23611         !TARGET_MEM_FUNCTIONS case too.
23612
23613         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23614         appropriate.
23615         * configure: Rebuilt.
23616         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23617         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23618         definitions made redundant by dbxelf.h inclusion.  Delete
23619         lots of definitions related to assembly output that are
23620         specific to the SOM object format.
23621         * pa.c (output_function_prologue): Do not emit the function's
23622         name for OBJ_ELF.
23623         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23624         * pa-pro.h: Deleted.
23625         * som.h: New file with SOM specific definitions.
23626         * elf.h: New file with ELF specific definitions.
23627
23628         * elfos.h (const_section): Output a tab before assembler directives.
23629         (ctors_section, dtors_section): Likewise.
23630         (ASM_OUTPUT_SECTION_NAME): Likewise.
23631
23632         * pa/pa1.h: Delete unused file.
23633
23634 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23635
23636         * configure.in (hppa*-hp-hpux11*): New configuration.
23637         * configure: Rebuilt.
23638         * pa/pa-hpux11.h: New file.
23639         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23640         command line.
23641
23642         * mips.md (leasi, leadi): New patterns.
23643
23644         * expr.c (emit_block_move): Properly handle case where one of the
23645         block move arguments has a queued increment or decrement.
23646         (clear_storage): Similarly.  Fix formatting goof.
23647
23648 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23649
23650         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23651         semicolon from the BSD VA_LIST replacement expression.
23652
23653         * fixinc/inclhack.sh: regen
23654         * fixinc/fixincl.x: regen
23655
23656         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23657         now use the fixincl program.
23658
23659 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23660
23661         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23662         case.  Also make the PIC register call_used.
23663
23664         * m68k.h (FINALIZE_PIC): Delete.
23665         * m68k.c (finalize_pic): Delete.
23666
23667 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23668
23669         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23670         to memory.
23671
23672 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23673
23674         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23675
23676 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23677
23678         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23679
23680 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23681
23682         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23683
23684 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23685
23686         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23687
23688 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23689
23690         * rs6000.c (output_toc): Always use hex values for floating-point
23691         constants.  Store single-precision values in upper-half of TOC
23692         entry in 64-bit mode.
23693         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23694         to final constraints.
23695         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23696         (fctiwz): Improve accuracy of RTL for pattern.
23697
23698 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23699
23700         * expr.c (expand_expr): Allow RTL_EXPR's through the
23701         MAX_INTEGER_COMPUTATION_MODE checks.
23702
23703 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23704
23705         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23706         such that MASK_SUPPORT_ARCH is not negative.
23707
23708 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23709
23710         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23711         ADDR_DIFF_VEC insns that appear inside loops.
23712
23713 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23714                           Jeff Law <law@cygnus.com>
23715
23716         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23717         Handle LO_SUM the same as offsettable in cases 1 and 2.
23718         * rs6000.c (find_addr_reg): Revert previous patch.
23719
23720 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23721
23722         * system.h (strstr): New external function declaration.
23723         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23724         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23725         * config.in, configure: Rebuilt.
23726
23727 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23728
23729         * gcc.c (main): Read user-specified specs files after computing
23730         additional startfile_prefixes.
23731
23732 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23733
23734         Revert these two patches:
23735
23736         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23737         * loop.c (strength_reduce): When doing biv->giv conversion, update
23738         reg note of NEXT->insn.
23739
23740         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23741         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23742         reg_biv_class.
23743         (recombine_givs): Set ix field after sorting.
23744
23745 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23746
23747         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23748         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23749
23750 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23751
23752         *fixinc/inclhack.def:  Add fix development commentary
23753         (read_ret_type): reactivate and add selection clause
23754         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23755         *fixinc/{fixincl.x|inclhack.sh}: regen
23756
23757 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23758
23759         * expr.c (expand_expr): STRIP_NOPS before checking against
23760         MAX_INTEGER_COMPUTATION_MODE
23761         (check_max_integer_computation_mode): Likewise.
23762
23763 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23764
23765         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23766
23767 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23768
23769         * expr.c (store_expr): When target is a promoted subreg, return a
23770         promoted subreg as a result.
23771
23772 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23773
23774         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23775         coding standards.
23776         (dwarf2out_define): Mark unused parameters appropriately.
23777         (gen_unspecified_parameters_die): Ditto.
23778         (gen_subprogram_die): Fix signed/unsigned warnings.
23779         (gen_variable_die): Ditto.
23780
23781 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23782
23783         * fixinc/inclhack.def(end_else_label): combined else_label
23784         and endif_label and fixed the sed expression.
23785         *fixinc/{fixincl.x|inclhack.sh}: regen
23786
23787 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23788
23789         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23790         'x' when handling non-offsettable addresses
23791
23792 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23793
23794         * final.c (shorten_branches): Don't try to split an insn that has
23795         been deleted.
23796
23797 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23798
23799         * config/mips/mips.c (symbolic_expression_p): New function.
23800         (mips_select_rtx_section): Put symbolic expressions in the
23801         data section, not the read-only data section.
23802
23803 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23804
23805         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23806
23807 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23808
23809         * collect2.c (main): Log frame table count.
23810         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23811         (scan_prog_file) [COFF]: Handle frame tables.
23812
23813         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23814         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23815         * alpha/elf.h: Undef them again.
23816         * alpha/vms.h: Remove their definitions.
23817
23818 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23819
23820         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23821         remove the clobber of r0 and change the REG_UNUSED note to
23822         REG_INC.
23823
23824 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23825
23826         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23827         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23828         fits in HOST_WIDE_INT and one uses union to access a long constant
23829         as double.
23830
23831 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23832
23833         * sparc.c (sparc_override_options): Don't allow profiling for
23834         code models other than medlow.
23835         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23836         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23837         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23838         (sparc_block_profiler): Likewise.
23839         (sparc_function_block_profiler_exit): Likewise.
23840         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23841         (FUNCTION_BLOCK_PROFILER): Likewise.
23842         (BLOCK_PROFILER): Likewise.
23843         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23844         (MCOUNT_FUNCTION): New.
23845         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23846         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23847         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23848         (MCOUNT_FUNCTION): New.
23849         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23850         (BLOCK_PROFILER): Delete.
23851         (MCOUNT_FUNCTION): New.
23852
23853 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23854
23855         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23856
23857 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23858
23859         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23860         Add the macros.
23861
23862         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23863         Ditto.
23864
23865         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23866         Ditto.
23867
23868         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23869         Ditto.
23870
23871 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23872
23873         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23874         types.
23875
23876 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23877
23878         * i386/djgpp.h (LIB_SPEC): New.
23879         (STARTFILE_SPEC): New.
23880
23881         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23882
23883 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23884
23885         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23886         compiler flags.
23887
23888         * system.h (WSTOPSIG): New macro.
23889
23890 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23891
23892         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23893         4 bytes.
23894         (insert_pack_attributes): Take into account member natural
23895         alignment.
23896
23897         * i386/winnt.c (exports_head): New static variable.
23898         (i386_pe_record_exported_symbol): New function.
23899         (i386_pe_asm_file_end): Use.
23900         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23901         symbols to be emitted at end of assembly.
23902         (ASM_DECLARE_OBJECT_NAME): Likewise.
23903         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23904
23905         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23906         -iwithprefix.
23907
23908 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23909
23910         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23911         in last change.
23912
23913 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23914
23915         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23916         zapping reg_last_uses directly.
23917         (sched_analyze_2, sched_analyze_insn): Likewise.
23918         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23919
23920 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23921
23922         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23923         attributes for cases 1 and 2.
23924
23925 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23926
23927         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23928         instead of set.
23929
23930 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23931
23932         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23933
23934 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23935
23936         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23937         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23938         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23939         must be stacked if it is used for PIC accesses.
23940         * arm.c (use_return_insn): Handle PIC register specially.
23941         (output_return_instruction): Likewise.
23942         (output_func_{prologue,epilogue}): Likewise.
23943         (output_expand_prologue): Likewise.
23944
23945         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23946         (*strsi_predec): Renamed from *strqi_predec.
23947         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23948         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23949
23950         * arm.c (arm_override_options): Remove warning about PIC code
23951         not being supported.
23952
23953 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23954
23955         * rs6000.c (find_addr_reg): New function.
23956         * rs6000.h (find_addr_reg): Declare.
23957         (offsettable_addr_operand): Delete.
23958         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23959         from and stores to GPRs.
23960
23961 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23962
23963         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23964         gen_sequence as argument to emit_no_conflict_block.
23965
23966 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23967
23968         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23969         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23970         *fixinc/fixincl.x: regen
23971         *fixinc/inclhack.sh: regen
23972
23973 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
23974
23975         * added support for -mpcrel (PC relative addressing for m68k)
23976         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
23977         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23978         * m68k.c (print_operand_address): Handle 32-bit PIC case.
23979         (comments for general_src_operand): Add some explanation
23980         about EXTRA_CONSTRAINTS.
23981         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23982         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23983         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23984         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23985         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23986         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23987         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23988         if not already set.
23989         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23990         * m68k.h (TARGET_PCREL): New target flag.
23991         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23992         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23993         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23994         contains a SYMBOL_REF.  Relax this constraint during reload, since
23995         we want to use the predicates, not reload's built-in concept of a
23996         valid memory address, to control what insns need reloading.
23997         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23998         operands (essentially 'g', 'm', and 's' under normal circumstances).
23999         * m68k.c (print_operand): Cause printing of pc-relative addresses
24000         to include pc register.
24001         (print_operand_address): Ditto.
24002         (general_src_operand): Accept operands that are not only
24003         general_operands, but are also valid when used as a pc-relative
24004         source.
24005         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24006         (memory_src_operand): Similar, for memory_operands.
24007         (pcrel_address): New predicate to accept the special case of a
24008         pc-relative address.
24009         * m68k.md (many patterns): Rewrite common SImode, HImode, and
24010         QImode insns to accept *_src_operand instead of *_operand where
24011         pc-relative operands can fit.  For example, a pc-relative operand
24012         can be used as a memory source operand for addsi3, but not as a
24013         memory destination.
24014         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24015
24016 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
24017
24018         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24019         .thumb_set pseudo op to mark aliases of thumb functions.
24020
24021 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
24022
24023         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24024         preference to ASM_OUTPUT_DEF, if it is defined.
24025
24026         * tm.texi: Document new, optional target macro
24027         ASM_OUTPUT_DEF_FROM_DECLS.
24028
24029 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24030
24031         * fixincludes: ISCNTL patch
24032         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24033         (dgux_int_varargs): new for DG/UX
24034         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24035
24036 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
24037
24038         * invoke.texi (ia32 options): Fix typo.
24039
24040 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24041
24042         * loop.c (strength_reduce): When doing biv->giv conversion, update
24043         reg note of NEXT->insn.
24044
24045 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
24046
24047         * loop.c (move_movables): Note issues with replacing REGs with
24048         SUBREGs.
24049         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24050
24051 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
24052
24053         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24054
24055         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24056         the reference to `mcount' was not correct for the ELF on FreeBSD.
24057
24058 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24059
24060         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24061         reg_biv_class.
24062
24063         (recombine_givs): Set ix field after sorting.
24064
24065 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
24066
24067         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24068         to safe to extract a subword out of a REG.
24069
24070 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24071
24072         * sh.md (mulsi3): Don't add a no-op move at the end.
24073
24074 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24075
24076         * cse.c (cse_insn): Don't put hard register source into tables for
24077         the last insn of a libcall.
24078
24079 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24080
24081         * loop.c (strength_reduce): Insert sets of derived givs at every
24082         biv increment, even if it's the only one.
24083
24084 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
24085
24086         * dwarfout.c (add_incomplete_type): New fn.
24087         (output_type): Call it.
24088         (retry_incomplete_types): New fn.
24089         (dwarfout_finish): Call it.
24090
24091         From Eric Raskin <ehr@listworks.com>:
24092         (output_type): Output types for bases.
24093
24094 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24095
24096         * mips.c (mips_output_conditional_branch): Add `break'
24097         between `default' label and `close braces'.
24098
24099 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
24100
24101         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24102         specifications and make it realistic.
24103         (LIB_SPEC): Likewise.
24104
24105 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
24106
24107         * config/mips/mips.c (mips_secondary_reload_class): Check for
24108         (PLUS (SP) (REG)) and return appropriate register class.
24109         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24110         Handle (PLUS (SP) (REG)).
24111         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24112         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24113         of emit_insn for tablejump.
24114
24115 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
24116
24117         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
24118         asm_fprintf format string by itself.
24119         (output_function_profiler): Likewise.
24120
24121 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
24122
24123         * combine.c (simplify_logical, case AND): Only call
24124         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
24125         or the constant is positive.
24126
24127 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
24128
24129         * configure.in: Fix typo in rs6000-ibm-aix4 case.
24130         * configure: Regenerate.
24131
24132 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
24133
24134         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
24135         require a sub-version #.
24136         * configure: Rebuilt.
24137
24138 1999-06-14  Robert Lipe  (robertlipe@usa.net)
24139
24140         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
24141
24142 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
24143
24144         * c-typeck.c (process_init_element): Detect excess elements in
24145         char array initializer.
24146
24147 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24148
24149         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24150
24151 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24152
24153         * invoke.texi (Option Summary): Add -fpermissive flag.
24154
24155 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24156
24157         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24158         that require PIC code sequences.
24159
24160 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
24161
24162         * configure.in: Add new target: thumb-elf.
24163         * configure: Regenerate.
24164         * config/arm/t-thumb-elf: New file: Makefile fragment for
24165         thumb-elf build.
24166         * config/arm/telf.h: New file: Header file for thumb-elf
24167         build.
24168
24169 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
24170
24171         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24172         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24173         initializers is some circumstances.
24174
24175         * fixinc/inclhack.def (endif_label): Add additional selector for
24176         more bogus stuff after #endif statements.
24177         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24178
24179 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24180
24181         * i386/cygwin.h (SET_ASM_OP): Define.
24182
24183 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24184
24185         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24186
24187 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24188
24189         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24190         latter.
24191
24192         * sh.md (ic_invalidate_line_i): Remove second alternative.
24193
24194 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24195
24196         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24197         test for the presence of valid prototypes.  Delete bypass expr.
24198         (ioctl_fix_ctrl): Correct the selection expression.
24199         (no_double_slash): Correct quoting rules
24200         *fixinc/fixincl.x: regen
24201         *fixinc/inclhack.sh: regen
24202
24203 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24204
24205         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24206
24207 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24208
24209         * rs6000.md (movsi_got_internal_mem): Delete.
24210         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24211         (GOT_TOC_REGNUM): Delete.
24212         (PIC_OFFSET_TABLE_REGNUM): Define.
24213         (FINALIZE_PIC): Disable.
24214         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24215         (rs6000_replace_regno): Delete.
24216         (rs6000_finalize_pic): Likewise.
24217         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24218
24219 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24220
24221         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24222         is a note; use <= for the compare; advance P while it is
24223         a NOTE.
24224
24225 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24226
24227         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24228         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24229
24230         * varasm.c (remove_from_pending_weak_list): Verify t->name
24231         is non-NULL before passing it to strcmp.
24232
24233 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24234
24235         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24236         the typed arguments are not part of a comment
24237         (ioctl_fix_ctrl): Added a purpose comment
24238         *fixinc/fixincl.x: regenerate
24239         *fixinc/inclhack.sh: regenerate
24240
24241 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24242
24243         * invoke.texi: Add C4x invocation docs.
24244
24245 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24246
24247         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24248         Define new macros.
24249         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24250         TARGET_EXPOSE_LDP.
24251         (c4x_legitimize_reload_address): New function.
24252         * config/c4x/c4x.md: Update docs.
24253
24254 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24255
24256         * fixincludes: Avoid removing '.'.
24257         * fixinc/fixinc.svr4: Likewise.
24258         * fixinc/fixinc.winnt: Likewise.
24259         * fixinc/inclhack.tpl: Likewise.
24260         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24261
24262 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24263
24264         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24265         pattern.
24266         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24267
24268 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24269
24270         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24271         correctly.
24272
24273 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24274
24275         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24276         * configure: Regenerate.
24277
24278 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24279
24280         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24281         values.
24282
24283 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24284
24285         * fixinc/inclhack.def (avoid_bool): Also catch
24286         "typedef [unsigned] int bool".
24287         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24288
24289         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24290         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24291         * configure: Rebuilt.
24292
24293 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24294
24295         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24296         such that we can override its definitions if necessary.
24297         (CPP_SPEC): New define.  Support processor specific predefines via
24298         %(cpp_cpu).
24299         (CC1_SPEC): New define.  Support processor specific compiler
24300         options via %(cc1_cpu).
24301         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24302         -static.
24303
24304 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24305
24306         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24307         between sed's -e flag, and the open-quote following it.
24308         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24309
24310 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24311                           Jeffrey A Law  (law@cygnus.com)
24312
24313         * varasm.c (assemble_start_function): Remove the function
24314         from the pending weak decls list when we define a function.
24315         (assemble_variable): Similarly for variables.
24316         (weak_finish): Ignore items on the list with a NULL name.
24317         (remove_from_ending_weak_list); New function to "remove" an item
24318         from the pending weak declarations list.
24319
24320 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24321
24322         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24323
24324 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24325
24326         * c-lex.c (GETC): Redefine to call getch.
24327         (UNGETC): Redefine to call put_back.
24328         (putback_buffer): New structure type.
24329         (putback): New static structure.
24330         (getch): New function.
24331         (put_back): New function.
24332         (yylex): Replace unused bytes from bad multibyte character.
24333
24334 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24335
24336         * cpplib.c (do_define): Cast `alloca' return value.
24337         (do_include, do_undef, do_pragma): Likewise.
24338         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24339         values.
24340         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24341         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24342
24343 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24344
24345         * sparc.md (abstf2): This should be an expand.
24346         (split after abstf2_notv9): Fix mode.
24347         (abstf2_hq_v9): New pattern.
24348         (abstf2_v9): Only use when no hard quad.
24349         (absdf2_v9): Fix if target is not the same as source.
24350         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24351         Add correct output constraints.
24352
24353 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24354
24355         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24356         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24357
24358 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24359
24360         * mips.h (mips_output_conditional_branch): New function.
24361         (mips_adjust_insn_length): Likewise.
24362         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24363         (ADJUST_INSN_LENGTH): Likewise.
24364         * mips.c (print_operand): Add `F' and `W' for floating-point
24365         comparison opcodes.
24366         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24367         are now in bytes.
24368         (mips_adjust_insn_length): New function.
24369         (mips_output_conditional_branch): New function.
24370         * mips.md (length): Adjust attribute definition to handle
24371         conditional branches.  Change lengths to bytes, rather than
24372         instructions throughout.  Remove length attribute from
24373         instructions whose length is four bytes, and rely on the default
24374         instead.
24375         (dslot): Fix typo in comment.
24376         Reword conditional branch patterns to use
24377         mips_output_conditional_branch.
24378
24379 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24380
24381         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24382         (LIB_SPEC): Likewise.
24383         Link with -lprof1_r for -g/-pg.
24384
24385 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24386
24387         * loop.c (check_dbra_loop): Fix change of Jan 19.
24388
24389 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24390
24391         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24392         (STARTFILE_SPEC):  Define, override the svr4.h version.
24393         (ENDFILE_SPEC):  Likewise.
24394
24395 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24396
24397         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24398         * fixinc/fixincl.x: Regenerated.
24399         * fixinc/inclhack.sh: Regenerated.
24400
24401 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24402
24403         * sh.c (barrier_align): Don't return early for normal branch/barrier
24404         when optimizing for SH2.
24405
24406 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24407
24408         * i386/udk.h (LINK_SPEC): Correct linker search path for
24409         system libraries.
24410
24411 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24412
24413         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24414         (braf_label_ref_operand): Delete.
24415         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24416         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24417         label_ref, and has no predicate.
24418         The patten has a predicate to guard against invalid substitutions.
24419         (dummy_jump): Delete.
24420         (casesi): Update use of casesi_jump_2.
24421
24422 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24423
24424         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24425         *fixinc/fixincl.x: regenerate
24426         *fixinc/inclhack.sh: regenerate
24427
24428 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24429
24430         * dwarf2out.c (add_incomplete_type): New fn.
24431         (gen_struct_or_union_type_die): Call it.
24432         (retry_incomplete_types): New fn.
24433         (dwarf2out_finish): Call it.
24434
24435 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24436
24437         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24438         current block starts with a CODE_LABEL and ends with a CALL and
24439         we can not find all the argument setup instructions for the CALL.
24440
24441 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24442
24443         Revert this change:
24444         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24445         something is a candidate for optimize_bit_field_compare.
24446
24447 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24448
24449         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24450
24451 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24452
24453         * alpha.c (override_options): Thinko in last patch.
24454
24455         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24456         (LIB_SPEC): Recognize -pthread.
24457
24458 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24459
24460         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24461         definition in config/arm/coff.h
24462         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24463
24464 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24465
24466         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24467         fixes that need "file=xxx\n" prepended before invocation
24468         (start_fixer - new): starting the fixer process is complex enough
24469         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24470         (process): uses the new routine; omit usage of putenv()
24471         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24472         * fixinc/fixincl.x: regenerate
24473
24474 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24475
24476         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24477         and version #s (1.1 -> 2.96) as needed.
24478         * README.g77: Kill way out of date file in the toplevel directory.
24479
24480 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24481
24482         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24483         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24484         * configure: Rebuilt.
24485         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24486         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24487         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24488         (SWITCH_TAKES_ARG): Likewise.
24489         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24490         * config/t-freebsd: Moved from config/i386/ so it can used for all
24491         FreeBSD targets.
24492
24493 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24494
24495         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24496
24497 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24498
24499         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24500         * configure: Rebuilt.
24501
24502 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24503
24504         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24505         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24506         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24507         (rs6000_output_load_toc_table): Same.
24508         (output_prolog, output_mi_thunk): Same.
24509         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24510         (ASM_GLOBALIZE_LABEL): Use putc.
24511
24512 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24513
24514         * alpha.md (reload_*_help): New patterns and splitters.
24515         (reload_*): Use them.
24516         (mov[qh]i): Likewise.
24517
24518 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24519
24520         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24521         strings correctly.
24522
24523 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24524
24525         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24526
24527 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24528
24529         * flow.c (mark_regs_live_at_end, insn_dead_p,
24530         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24531         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24532         hasn't run or the frame pointer is needed.
24533         * haifa-sched.c (attach_deaths): Likewise.
24534         * sched.c (attach_deaths): Likewise.
24535
24536 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24537
24538         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24539         calculate_can_reach_end returns nonzero.
24540
24541         * configure.in (native gas tests): Search for an assembler in the
24542         same manner that the installed compiler will.
24543         * configure: Rebuilt.
24544         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24545
24546         * alias.c (find_base_term): Improve handling of addresses
24547         constructed from binary operations.
24548
24549 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24550
24551         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24552
24553 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24554
24555         * function.h (cleanup_label, frame_offset): Declare.
24556         (tail_recursion_label, tail_recursion_reentry): Likewise.
24557         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24558         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24559         (tail_recursion_label, tail_recursion_reentry): Likewise.
24560         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24561
24562 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24563
24564         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24565         defined.
24566         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24567         (MAX_OFILE_ALIGNMENT): Define.
24568
24569 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24570
24571         * fixincl.c: Replace local include scheme with #includes of
24572         gansidecl.h and system.h.
24573         * procopen.c:  Likewise.
24574         * server.c:  Likewise.
24575
24576 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24577
24578         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24579         (crti.o): Add build rule and dependencies.
24580         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24581
24582 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24583
24584         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24585         (LIB_LINUX_SPEC): Likewise.
24586         (LIB_LINUX_SPEC): Add support for -pthread
24587         (CPP_OS_LINUX_SPEC): Likewise.
24588         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24589         specified.
24590
24591 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24592
24593         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24594         conditional move.
24595         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24596         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24597         for IEEE math and CC_FCOMI.
24598         (put_jump_code): No IEEE if CC_FCOMI is set.
24599
24600 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24601
24602         * fold-const.c (fold_truthop): Make the field reference unsigned
24603         when converting a single bit compare.
24604
24605 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24606
24607         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24608
24609 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24610
24611         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24612         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24613         version did.
24614
24615         * reload.c (push_reload): Do not call remove_address_replacements
24616         when presented with identical optional reloads.
24617
24618 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24619
24620         * alpha.h (MASK_FIX, TARGET_FIX): New.
24621         (MASK_*): Reorganize constants.
24622         (CPP_AM_FIX_SPEC): New.
24623         (TARGET_SWITCHES): Add FIX.
24624         (EXTRA_SPECS): Likewise.
24625         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24626         (SECONDARY_MEMORY_NEEDED): Likewise.
24627         (REGISTER_MOVE_COST): Likewise.
24628         * alpha.c (override_options): Add FIX support.  Always use
24629         ALPHA_TP_PROG for ev6.
24630         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24631         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24632         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24633
24634 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24635
24636         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24637         something is a candidate for optimize_bit_field_compare.
24638
24639 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24640
24641         * gcc.texi (Passes): Document branch-shortening.
24642         * invoke.texi (Debugging Options): Document the fact that `-dp'
24643         outputs length information for instructions.
24644
24645 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24646
24647         * flow.c: Revert previous delta.
24648
24649 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24650
24651         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24652         FRAME_POINTER_REGNUM.
24653         (mark_set_1): Ditto.
24654         (mark_used_regs): Ditto.
24655
24656 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24657
24658         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24659         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24660         * arm/elf.h (GOT_PCREL): Define to 0.
24661         * arm.c (arm_finalize_pic): Take into account the setting of
24662         GOT_PCREL.
24663
24664 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24665
24666         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24667         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24668
24669         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24670         store elimination candidates.
24671
24672 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24673
24674         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24675         TARGET_GAS.
24676
24677 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24678
24679         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24680         Add use of x-aix41-gld.
24681
24682 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24683
24684         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24685         (ASM_OUTPUT_DESTRUCTOR): Define.
24686
24687 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24688
24689         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24690         last CODE_LABEL in a loop if we have previously passed a jump
24691         to the top of the loop.
24692
24693 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24694
24695         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24696         applying Philip's patch.
24697
24698 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24699
24700         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24701         are not VAR_DECLs.
24702
24703 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24704
24705         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24706
24707 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24708
24709         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24710         Also remove a useless comment.
24711
24712 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24713
24714         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24715
24716 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24717
24718         * collect2.c (main): Only generate import or export file and add
24719         to link arguments if non-empty.  Use xmalloc not alloca.
24720         (write_{export,import}_file): Delete.
24721         (write_aix_file): New function.
24722         (locatelib): Use xmalloc not malloc.
24723         (GCC_OK_SYMBOL): Do not check type if aix64.
24724
24725 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24726
24727         Based on patch by Scott Bambrough and Pat Beirne:
24728         * config/arm/arm.c (making_const_table): New variable.
24729         * config/arm/arm.h (making_const_table): Declare.
24730         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24731         appropriate.
24732         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24733         Keep track of when we are building the constant table.
24734
24735 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24736
24737         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24738         message.
24739
24740 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24741
24742         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24743         defined.
24744
24745 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24746
24747         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24748         in a PARALLEL.
24749
24750 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24751
24752         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24753
24754 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24755
24756         * rs6000.c (output_mi_thunk): Enable full support again.
24757
24758 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24759
24760         * sh.h (BRANCH_COST): Define.
24761
24762 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24763
24764         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24765
24766 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24767
24768         * function.c (assign_stack_local): Align stack slot propertly.
24769         (assign_outer_stack_local): Likewise.
24770
24771 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24772
24773         * expr.h (lang_expand_constant): Declare.
24774         * toplev.c (lang_expand_constant): Define it.
24775         * varasm.c (output_constant): Use it.
24776
24777 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24778
24779         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24780         Change function definitions to K&R style.
24781
24782 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24783
24784         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24785
24786 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24787
24788         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24789         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24790         (several places): omit static initialization
24791         (process): use single fd, since only the read fd is used
24792         * fixinc/gnu-regex.c: define 'const' away, if not supported
24793         * fixinc/procopen.c(several places): omit static initialization
24794         * fixinc/server.c: define 'volitile' away, if not supported
24795
24796 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24797
24798         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24799         asm_fprintf and %L to generate the label name.
24800         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24801         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24802
24803 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24804
24805         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24806         insn for a conditional jump can not be found.
24807
24808 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24809
24810         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24811         on variables in specific sections other than .sbss and .sdata.
24812
24813 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24814
24815         * stmt.c (expand_return): Call start_cleanup_deferral and
24816         end_cleanup_deferral around conditional code.
24817
24818 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24819
24820         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24821         filename lists.  Utilizes new "krstr" AutoGen function.
24822         * fixinc/fixincl.x: Rebuilt.
24823
24824 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24825
24826         * i386.c (output_float_compare): Avoid GNU-C extensions.
24827
24828 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24829
24830         * version.c: Bump to distinguish mainline tree from the
24831         gcc-2.95 branch.
24832
24833 See ChangeLog.1 for earlier changes.
24834
24835